# International Logistics Management System Based on Cloud Computing Technology

Authors: Ming Fan
Journal: Wireless Communications and Mobile Computing
 (2022)

---

## Abstract

In order to solve the problems of slow matching between supply and demand, information authenticity and security, and lack of trust in traditional logistics platforms, the author proposes an international logistics management system based on cloud computing technology. The system uses blockchain as the underlying technology, combined with related technologies such as smart contracts and NSGA-II algorithms, matches the supply and demand sides of cross-border logistics resources, writes the important information generated in the platform transaction into the blockchain, and carries out network-wide broadcast and consensus, so as to realize the intelligence of the transaction and the nontampering and traceability of the information. The experiment found that in the case set by this example,maxZ1=57.139, and maxZ2=54.679, meaning that the final matching result is as follows: P2, the cross-border logistics provider, is matched with U5, the consignor; P3 matches U9, P8 matches U4, P9 matches U3, P1 matches U6, P5 matches U1, P7 matches U2, P4 matches U7, P10 matches U8, and P8 matches U10. Satisfactory matching results show that the algorithm is effective. Experimental results show that the system can increase the transparency and sharing of cross-border logistics information, help to reduce forged data information, improve the level of automation and intelligence, and provide a reference for the application of blockchain technology in the field of cross-border logistics.


---

## Body

## 1. Introduction

With the development of information technology, the development of science and technology has been greatly promoted, and complex problems may have taken decades or even longer to be solved before; now, it only takes a few minutes or even seconds to complete, using the system simulation technology of the computer, and it can also simulate and reproduce various scenarios in reality and before, so that people can verify various scientific hypotheses in advance [1]. With the development of information technology, the integration stage of computer information technology and all walks of life has appeared, so many emerging industries have also emerged, such as the combination of man and machine, through the control of computer and artificial intelligence, the combination of modern business and information technology, and the emergence of e-commerce; information technology has greatly improved production efficiency and promoted the rapid development of various industries; at the same time, all walks of life have also undergone earth-shaking changes, and the “myth” that people could not imagine before has become a reality.The development of information technology has not only promoted the development of science but also changed people’s production and lifestyle; people can know the world’s affairs without leaving home and handle various businesses that could only be done on-site before; it can realize online consultation, online learning, online conference, online shopping, online business talk, online entertainment, etc.; the Internet provides 24-hour uninterrupted service; it has greatly improved work efficiency and quality of life and enriched people’s lives; the world is no longer square, and the world has become a global village; through the connection of network technology, people who have gathered thousands of miles can meet in front of the screen. The development of information technology has greatly improved production efficiency and quality of life [2, 3], and with the in-depth development of information technology, people have put forward higher requirements for information technology; people want efficiency, quality, service, and convenience; this also puts forward better requirements for us in the information technology industry.


## 2. Literature Review

Zhao, X. et al. pointed out that, as an important part of e-commerce, logistics realizes the commodity distribution link of e-commerce transactions, so that the entire e-commerce transaction can be completed [4]. Chen et al. believe that for the new business activity of e-commerce, the logistics industry should provide new service items, and at the same time, with the improvement of information transmission speed, the distribution speed is also accelerated [5]. Bradha et al. believe that e-commerce logistics is the future development trend of logistics; the author integrates logistics services and e-commerce application services based on integration theory, proposes the concept of e-commerce logistics, and studies the development direction of international logistics enterprises [6]. Le et al. believe that how to minimize the cost of reverse logistics and help enterprises to obtain more profits has become the most important issue in e-commerce, at home and abroad, more and more attention has been paid to the problem of reverse logistics in e-commerce. The author proposes a new plan to solve the problem of reverse logistics by integrating supply chain resources to build an authorization center [7]. Zhu et al. pointed out that due to the importance of commodity circulation, modern logistics has become the focus of government and enterprises; at the same time, as e-commerce has had a significant impact on the traditional circulation of goods with its brand-new style of business activities, e-commerce has become an important concern of production and distribution enterprises [8]. Rosa et al. believe that e-commerce is closely related to logistics. On the one hand, e-commerce has a huge impact on logistics, so that logistics in the environment of e-commerce needs to adopt a new development strategy. On the other hand, the impact of logistics on e-commerce cannot be ignored. Therefore, the logistics management in the e-commerce environment needs special research [9]. Nie et al. pointed out that logistics is an important and main part of e-commerce activities and the last link in e-commerce activities. They also pointed out that logistics is also an important guarantee for the realization of the entire e-commerce activities [10]. Liu et al. believe that regardless of whether the transaction occurs in the traditional transaction mode, or in the e-commerce environment with information technology as the backbone, in addition to the information commodities that can be transmitted through the Internet (such as electronic publications and software), the smooth progress of commodity trading activities needs to be supported by various logistics activities. Logistics is an integral part [11].By summarizing the views and research results of the previous scholars and analyzing the current development status of cross-border logistics in my country, the author builds a cross-border logistics platform based on blockchain technology. In the research and construction of this platform, blockchain technology will be used as the underlying technology of the platform, and corresponding smart contracts will be written for the order generation and settlement process, so as to realize the nontampering and decentralization of the whole process of cross-border logistics transactions, realize data recording and calling through corresponding interfaces and scripts, write important information such as user matching and orders in the cross-border logistics process into the blocks of the blockchain, and store other information in the database of the platform server. The author uses the Ethereum application platform as the basic platform; on the basis of realizing cross-border logistics transaction matching and information storage, the author makes use of the characteristics of nontampering, decentralized storage, and full traceability in blockchain technology; it can effectively solve the problem of using traditional cross-border logistics platforms.


## 3. Research Methods

### 3.1. Blockchain Principle and Related Technologies

The blockchain is essentially a chained ledger database composed of a distributed peer-to-peer network, which is composed of multiple completely peer-to-peer nodes, and through the corresponding consensus algorithm to ensure the consistency of block data and transaction data. As shown in Figure1, a complete blockchain system structure is a chained data structure that connects data information blocks in sequence according to time series, and the integrity and authenticity of the data are verified through a hash consensus algorithm. In order to establish trust between each node, the blockchain adopts a consensus mechanism to check the consistency of the data. In addition, smart contracts consisting of automated script code without human involvement provide an unprecedented distributed infrastructure and computing paradigm for blockchain technology [12].Figure 1
Comparison of storage methods.In the underlying network model of blockchain technology, due to the use of distributed data storage to ensure the efficiency and stability of the network model between nodes and using asymmetric encryption cryptography technology for digital signature authentication, the information of each account is highly encrypted, and this ensures the security and privacy of data during transmission and access. At the same time, the distributed storage party replaces the third-party intermediary platform organization, providing relevant underlying technical support for the secure storage of transaction information and user trust. In the blockchain system, the smart contract packages the data generated by the participants into a data block, and each data block will be superimposed and arranged in chronological order, a chain database consisting of a data block is formed, and each node on the blockchain jointly participates in the data verification, storage, and maintenance of the main chain.


#### 3.1.1. Ethereum

Ethereum is a decentralized application platform with open source technology and capable of running smart contracts, and it runs deployed smart contracts through its virtual machine and has a built-in Turing-complete scripting programming language. At the same time, Ethereum also has the characteristics of blockchain decentralization, and multiple nodes jointly maintain and update the main chain data, so that the data blocks stored in it cannot be tampered with. The core concepts in Ethereum mainly include nodes, accounts, Ethereum virtual machines, data packaging, gas, and transactions.An Ethereum transaction is a signed packet that stores a message; in the process of sending from one account to another, the data packet contains information such as recipient, account balance, sender’s digital signature, and sent data [13]. In the process of transaction, it includes the state transition of the Ethereum system, and the state of the Ethereum system is composed of information and value transfer between two accounts; in the process of each transaction, Ethereum will ensure that the contract account and the external account have the same rights, so that anyone can participate in the operation of Ethereum.


#### 3.1.2. Smart Contract

Smart contract refers to the use of computer language, a series of commitments, defined in digital form, without the need for human intervention, and a computer protocol that can be automatically executed in the Ethereum system when preset conditions are met. Although the relevant principles have long been mature, it was not widely promoted until the emergence of blockchain technology and Ethereum [14]. Blockchain technology provides the operating environment and database for smart contracts, and Ethereum provides a complete basic operating system for the writing and implementation of smart contracts. The Ethereum smart contract integrates software engineering, compound verification methods, and the systematic and large-scale development process of computing laws. Its architecture is shown in Figure 2.Figure 2
Smart contract architecture.The Ethereum smart contract is similar to the contract system, but it is different from the general contract we know. First of all, smart contracts are implemented by programming computer code, which can be applied in a wider range, but only require a lower cost. Secondly, the “intelligence” in smart contracts is mainly reflected in the fact that it can automatically identify the external operating environment and at the same time can automatically control the operating process without manual intervention, which can greatly reduce human factors and external environment interference and increase the accuracy of processing and operation in the operational process. Finally, the intelligence of smart contracts can further simplify the process and reduce input costs; on the one hand, it realizes the seamless connection between various links in the operation process, and at the same time, it also reduces other variable costs such as labor.The premise of the smooth execution of the Ethereum smart contract must be that the content of the compiled contract cannot be changed, and the process of execution must be open and transparent, and the whole process can be traced [15]. Combined with the features of decentralization, immutability, common maintenance, and traceability in blockchain technology, it forms a natural symbiotic environment with smart contracts. When Ethereum and smart contract technology began to be closely integrated, the scenarios and scope of application of blockchain technology were greatly increased. In Ethereum, a smart contract that has been created can be automatically executed by the internal program of Ethereum, and its operation cannot be terminated before the end of the operation.The smart contract also has its own contract public key address in the blockchain system; it can trigger the node to execute the contract code by creating a new contract and broadcast the account message to the contract account of all nodes in the entire network to execute the new contract. When the contract account receives the signed transaction information, it will immediately trigger the code in the contract account; this code can read and write the internal commands of the Ethereum system, send the transaction amount to another account in the Ethereum network, or to another contract account, and get network-wide broadcast and consensus.


### 3.2. Construction and Design of Cross-Border Logistics Platform Based on Blockchain

Logistics platform refers to a public organizational structure for interaction between logistics enterprises and related departments and uses information technology and communication technology to carry out cross-organizational logistics operations, and its ultimate purpose is to improve the coordination mechanism between various organizations, thereby improving the operational efficiency of logistics operations. In recent years, with the gradual promotion of the cloud service model in the logistics industry, some logistics platform companies use the logistics platform to provide corresponding logistics services to the society, which are gradually being accepted and used by more and more logistics industry players. At the same time, with the increasingly diversified and specialized requirements of the society for logistics services, the logistics platform market has become more and more refined and targeted, product functions have been continuously improved, and logistics services have been continuously improved [16].


#### 3.2.1. System Model Analysis of Cross-Border Logistics Platform

The cross-border logistics information platform is not only limited to the provision of transportation services but also has information on the shipper, including credit level, transportation progress tracking, vehicle and cargo matching, and other services. The shipper interacts, and user information management is set up at the back end, and the platform database is used to store and use general data [17]. By constructing the system structure diagram of the cross-border logistics information platform based on blockchain, the system functions of the platform are analyzed, as shown in Figure 3.Figure 3
System function model diagram.The information model of cross-border logistics information platform based on blockchain technology is to use information and information flow to reflect the relationship network between various components in the logistics system and to describe abstract logistics by using information, information flow, data processing, system, and its essential characteristics [18]. In the whole cross-border logistics activities, the various elements and the relationship between them are relatively complex. By using logistics information technology to construct a cross-border logistics information platform, the information collection, sharing, and use of various elements can be realized. This section builds the information model of the cross-border logistics information platform based on blockchain technology, which connects different subjects in the cross-border logistics process to carry out coordinated logistics activities.


#### 3.2.2. Analysis on the System Architecture of Cross-Border Logistics Platform

The author builds a cross-border logistics platform based on the blockchain technology architecture, which has a positive impact on promoting ecological collaboration among various entities on the chain and establishing and improving the value chain. This platform is based on blockchain technology. Through blockchain technology, it exchanges and transmits real-time information with multiple entities on the chain. In the platform, transactions are carried out according to the corresponding consensus mechanism to realize intelligent integration, quality certification, and other applications; ultimately, the service capability and customer satisfaction of the cross-border logistics platform will be improved. Therefore, the author divides the blockchain-based cross-border logistics platform into five dimensions: data layer, contract layer, network layer, consensus layer, and application layer; the author will use this model to run the blockchain-based cross-border logistics platform; the interaction between each link in the process is described.The functional modules of the cross-border logistics platform are mainly divided into three parts, which are the information management module, the system management module, and the underlying decentralized application module based on blockchain technology [19].


#### 3.2.3. Database Design

Depending on the type of data, the cross-border logistics platform stores important transaction information and general information in the blockchain block and platform database, respectively. Among them, the order information in the cross-border logistics transaction process, such as the blockchain addresses of both parties, matching information, time stamps, transaction fees, logistics process information, and order status, is stored in the data blocks of the blockchain by deploying smart contracts. It enables the blockchain to record the detailed information of the entire cross-border logistics process and effectively ensure that the whole process of logistics transaction information is traceable and cannot be tampered with, which improves security. The platform database mainly stores basic information, such as user personal information, contacts, contact numbers, contact addresses, and storage resource information; the platform database is used for writing, storing, reading, and other functions, and important information is stored separately from ordinary information; it is beneficial to reduce the pressure of blockchain storage and improve work efficiency. The author will describe in detail the data type information stored in the platform database and the blockchain block and analyze the main users of the cross-border logistics information platform database from the perspective of the entity and business functions of the logistics platform, which are mainly divided into user data tables and logistics resource information tables, warehousing resource table, cargo information table, blockchain block data table, etc.


### 3.3. Based on Ethereum Smart Contract Design

The author mainly studies the writing of the order contract and the settlement contract into the blockchain, and the design is written in the Solidity language, so that the logistics supplier and the shipper can interact and trade using the blockchain smart contract at the bottom of the platform web page. In terms of design ideas, the smart contract mainly stores different shippers on the cross-border logistics information platform in the contract through a structure and mapping organization and connects different shippers to realize the decentralization of the entire cross-border logistics transaction process and improve the overall transaction efficiency of cross-border logistics. The smart contract interaction diagram is shown in Figure4.Figure 4
Smart contract interaction diagram.The author will write and design smart contracts from two different aspects according to the platform and smart contract characteristics. On the one hand, it is designed for the state of smart contracts, and research and design are carried out according to the different states of the shipper in the platform. On the other hand, for smart contract function design, order contract and settlement contract are written, respectively, for order function and settlement function, which mainly include operations such as creating orders, obtaining order information, settlement, and payment, and using web3.js interface for cross-border logistics platform and cross-border logistics platform. In addition, web3.js interface is used for the interaction between cross-border logistics platform and Ethereum smart contract.


## 3.1. Blockchain Principle and Related Technologies

The blockchain is essentially a chained ledger database composed of a distributed peer-to-peer network, which is composed of multiple completely peer-to-peer nodes, and through the corresponding consensus algorithm to ensure the consistency of block data and transaction data. As shown in Figure1, a complete blockchain system structure is a chained data structure that connects data information blocks in sequence according to time series, and the integrity and authenticity of the data are verified through a hash consensus algorithm. In order to establish trust between each node, the blockchain adopts a consensus mechanism to check the consistency of the data. In addition, smart contracts consisting of automated script code without human involvement provide an unprecedented distributed infrastructure and computing paradigm for blockchain technology [12].Figure 1
Comparison of storage methods.In the underlying network model of blockchain technology, due to the use of distributed data storage to ensure the efficiency and stability of the network model between nodes and using asymmetric encryption cryptography technology for digital signature authentication, the information of each account is highly encrypted, and this ensures the security and privacy of data during transmission and access. At the same time, the distributed storage party replaces the third-party intermediary platform organization, providing relevant underlying technical support for the secure storage of transaction information and user trust. In the blockchain system, the smart contract packages the data generated by the participants into a data block, and each data block will be superimposed and arranged in chronological order, a chain database consisting of a data block is formed, and each node on the blockchain jointly participates in the data verification, storage, and maintenance of the main chain.


### 3.1.1. Ethereum

Ethereum is a decentralized application platform with open source technology and capable of running smart contracts, and it runs deployed smart contracts through its virtual machine and has a built-in Turing-complete scripting programming language. At the same time, Ethereum also has the characteristics of blockchain decentralization, and multiple nodes jointly maintain and update the main chain data, so that the data blocks stored in it cannot be tampered with. The core concepts in Ethereum mainly include nodes, accounts, Ethereum virtual machines, data packaging, gas, and transactions.An Ethereum transaction is a signed packet that stores a message; in the process of sending from one account to another, the data packet contains information such as recipient, account balance, sender’s digital signature, and sent data [13]. In the process of transaction, it includes the state transition of the Ethereum system, and the state of the Ethereum system is composed of information and value transfer between two accounts; in the process of each transaction, Ethereum will ensure that the contract account and the external account have the same rights, so that anyone can participate in the operation of Ethereum.


### 3.1.2. Smart Contract

Smart contract refers to the use of computer language, a series of commitments, defined in digital form, without the need for human intervention, and a computer protocol that can be automatically executed in the Ethereum system when preset conditions are met. Although the relevant principles have long been mature, it was not widely promoted until the emergence of blockchain technology and Ethereum [14]. Blockchain technology provides the operating environment and database for smart contracts, and Ethereum provides a complete basic operating system for the writing and implementation of smart contracts. The Ethereum smart contract integrates software engineering, compound verification methods, and the systematic and large-scale development process of computing laws. Its architecture is shown in Figure 2.Figure 2
Smart contract architecture.The Ethereum smart contract is similar to the contract system, but it is different from the general contract we know. First of all, smart contracts are implemented by programming computer code, which can be applied in a wider range, but only require a lower cost. Secondly, the “intelligence” in smart contracts is mainly reflected in the fact that it can automatically identify the external operating environment and at the same time can automatically control the operating process without manual intervention, which can greatly reduce human factors and external environment interference and increase the accuracy of processing and operation in the operational process. Finally, the intelligence of smart contracts can further simplify the process and reduce input costs; on the one hand, it realizes the seamless connection between various links in the operation process, and at the same time, it also reduces other variable costs such as labor.The premise of the smooth execution of the Ethereum smart contract must be that the content of the compiled contract cannot be changed, and the process of execution must be open and transparent, and the whole process can be traced [15]. Combined with the features of decentralization, immutability, common maintenance, and traceability in blockchain technology, it forms a natural symbiotic environment with smart contracts. When Ethereum and smart contract technology began to be closely integrated, the scenarios and scope of application of blockchain technology were greatly increased. In Ethereum, a smart contract that has been created can be automatically executed by the internal program of Ethereum, and its operation cannot be terminated before the end of the operation.The smart contract also has its own contract public key address in the blockchain system; it can trigger the node to execute the contract code by creating a new contract and broadcast the account message to the contract account of all nodes in the entire network to execute the new contract. When the contract account receives the signed transaction information, it will immediately trigger the code in the contract account; this code can read and write the internal commands of the Ethereum system, send the transaction amount to another account in the Ethereum network, or to another contract account, and get network-wide broadcast and consensus.


## 3.1.1. Ethereum

Ethereum is a decentralized application platform with open source technology and capable of running smart contracts, and it runs deployed smart contracts through its virtual machine and has a built-in Turing-complete scripting programming language. At the same time, Ethereum also has the characteristics of blockchain decentralization, and multiple nodes jointly maintain and update the main chain data, so that the data blocks stored in it cannot be tampered with. The core concepts in Ethereum mainly include nodes, accounts, Ethereum virtual machines, data packaging, gas, and transactions.An Ethereum transaction is a signed packet that stores a message; in the process of sending from one account to another, the data packet contains information such as recipient, account balance, sender’s digital signature, and sent data [13]. In the process of transaction, it includes the state transition of the Ethereum system, and the state of the Ethereum system is composed of information and value transfer between two accounts; in the process of each transaction, Ethereum will ensure that the contract account and the external account have the same rights, so that anyone can participate in the operation of Ethereum.


## 3.1.2. Smart Contract

Smart contract refers to the use of computer language, a series of commitments, defined in digital form, without the need for human intervention, and a computer protocol that can be automatically executed in the Ethereum system when preset conditions are met. Although the relevant principles have long been mature, it was not widely promoted until the emergence of blockchain technology and Ethereum [14]. Blockchain technology provides the operating environment and database for smart contracts, and Ethereum provides a complete basic operating system for the writing and implementation of smart contracts. The Ethereum smart contract integrates software engineering, compound verification methods, and the systematic and large-scale development process of computing laws. Its architecture is shown in Figure 2.Figure 2
Smart contract architecture.The Ethereum smart contract is similar to the contract system, but it is different from the general contract we know. First of all, smart contracts are implemented by programming computer code, which can be applied in a wider range, but only require a lower cost. Secondly, the “intelligence” in smart contracts is mainly reflected in the fact that it can automatically identify the external operating environment and at the same time can automatically control the operating process without manual intervention, which can greatly reduce human factors and external environment interference and increase the accuracy of processing and operation in the operational process. Finally, the intelligence of smart contracts can further simplify the process and reduce input costs; on the one hand, it realizes the seamless connection between various links in the operation process, and at the same time, it also reduces other variable costs such as labor.The premise of the smooth execution of the Ethereum smart contract must be that the content of the compiled contract cannot be changed, and the process of execution must be open and transparent, and the whole process can be traced [15]. Combined with the features of decentralization, immutability, common maintenance, and traceability in blockchain technology, it forms a natural symbiotic environment with smart contracts. When Ethereum and smart contract technology began to be closely integrated, the scenarios and scope of application of blockchain technology were greatly increased. In Ethereum, a smart contract that has been created can be automatically executed by the internal program of Ethereum, and its operation cannot be terminated before the end of the operation.The smart contract also has its own contract public key address in the blockchain system; it can trigger the node to execute the contract code by creating a new contract and broadcast the account message to the contract account of all nodes in the entire network to execute the new contract. When the contract account receives the signed transaction information, it will immediately trigger the code in the contract account; this code can read and write the internal commands of the Ethereum system, send the transaction amount to another account in the Ethereum network, or to another contract account, and get network-wide broadcast and consensus.


## 3.2. Construction and Design of Cross-Border Logistics Platform Based on Blockchain

Logistics platform refers to a public organizational structure for interaction between logistics enterprises and related departments and uses information technology and communication technology to carry out cross-organizational logistics operations, and its ultimate purpose is to improve the coordination mechanism between various organizations, thereby improving the operational efficiency of logistics operations. In recent years, with the gradual promotion of the cloud service model in the logistics industry, some logistics platform companies use the logistics platform to provide corresponding logistics services to the society, which are gradually being accepted and used by more and more logistics industry players. At the same time, with the increasingly diversified and specialized requirements of the society for logistics services, the logistics platform market has become more and more refined and targeted, product functions have been continuously improved, and logistics services have been continuously improved [16].


### 3.2.1. System Model Analysis of Cross-Border Logistics Platform

The cross-border logistics information platform is not only limited to the provision of transportation services but also has information on the shipper, including credit level, transportation progress tracking, vehicle and cargo matching, and other services. The shipper interacts, and user information management is set up at the back end, and the platform database is used to store and use general data [17]. By constructing the system structure diagram of the cross-border logistics information platform based on blockchain, the system functions of the platform are analyzed, as shown in Figure 3.Figure 3
System function model diagram.The information model of cross-border logistics information platform based on blockchain technology is to use information and information flow to reflect the relationship network between various components in the logistics system and to describe abstract logistics by using information, information flow, data processing, system, and its essential characteristics [18]. In the whole cross-border logistics activities, the various elements and the relationship between them are relatively complex. By using logistics information technology to construct a cross-border logistics information platform, the information collection, sharing, and use of various elements can be realized. This section builds the information model of the cross-border logistics information platform based on blockchain technology, which connects different subjects in the cross-border logistics process to carry out coordinated logistics activities.


### 3.2.2. Analysis on the System Architecture of Cross-Border Logistics Platform

The author builds a cross-border logistics platform based on the blockchain technology architecture, which has a positive impact on promoting ecological collaboration among various entities on the chain and establishing and improving the value chain. This platform is based on blockchain technology. Through blockchain technology, it exchanges and transmits real-time information with multiple entities on the chain. In the platform, transactions are carried out according to the corresponding consensus mechanism to realize intelligent integration, quality certification, and other applications; ultimately, the service capability and customer satisfaction of the cross-border logistics platform will be improved. Therefore, the author divides the blockchain-based cross-border logistics platform into five dimensions: data layer, contract layer, network layer, consensus layer, and application layer; the author will use this model to run the blockchain-based cross-border logistics platform; the interaction between each link in the process is described.The functional modules of the cross-border logistics platform are mainly divided into three parts, which are the information management module, the system management module, and the underlying decentralized application module based on blockchain technology [19].


### 3.2.3. Database Design

Depending on the type of data, the cross-border logistics platform stores important transaction information and general information in the blockchain block and platform database, respectively. Among them, the order information in the cross-border logistics transaction process, such as the blockchain addresses of both parties, matching information, time stamps, transaction fees, logistics process information, and order status, is stored in the data blocks of the blockchain by deploying smart contracts. It enables the blockchain to record the detailed information of the entire cross-border logistics process and effectively ensure that the whole process of logistics transaction information is traceable and cannot be tampered with, which improves security. The platform database mainly stores basic information, such as user personal information, contacts, contact numbers, contact addresses, and storage resource information; the platform database is used for writing, storing, reading, and other functions, and important information is stored separately from ordinary information; it is beneficial to reduce the pressure of blockchain storage and improve work efficiency. The author will describe in detail the data type information stored in the platform database and the blockchain block and analyze the main users of the cross-border logistics information platform database from the perspective of the entity and business functions of the logistics platform, which are mainly divided into user data tables and logistics resource information tables, warehousing resource table, cargo information table, blockchain block data table, etc.


## 3.2.1. System Model Analysis of Cross-Border Logistics Platform

The cross-border logistics information platform is not only limited to the provision of transportation services but also has information on the shipper, including credit level, transportation progress tracking, vehicle and cargo matching, and other services. The shipper interacts, and user information management is set up at the back end, and the platform database is used to store and use general data [17]. By constructing the system structure diagram of the cross-border logistics information platform based on blockchain, the system functions of the platform are analyzed, as shown in Figure 3.Figure 3
System function model diagram.The information model of cross-border logistics information platform based on blockchain technology is to use information and information flow to reflect the relationship network between various components in the logistics system and to describe abstract logistics by using information, information flow, data processing, system, and its essential characteristics [18]. In the whole cross-border logistics activities, the various elements and the relationship between them are relatively complex. By using logistics information technology to construct a cross-border logistics information platform, the information collection, sharing, and use of various elements can be realized. This section builds the information model of the cross-border logistics information platform based on blockchain technology, which connects different subjects in the cross-border logistics process to carry out coordinated logistics activities.


## 3.2.2. Analysis on the System Architecture of Cross-Border Logistics Platform

The author builds a cross-border logistics platform based on the blockchain technology architecture, which has a positive impact on promoting ecological collaboration among various entities on the chain and establishing and improving the value chain. This platform is based on blockchain technology. Through blockchain technology, it exchanges and transmits real-time information with multiple entities on the chain. In the platform, transactions are carried out according to the corresponding consensus mechanism to realize intelligent integration, quality certification, and other applications; ultimately, the service capability and customer satisfaction of the cross-border logistics platform will be improved. Therefore, the author divides the blockchain-based cross-border logistics platform into five dimensions: data layer, contract layer, network layer, consensus layer, and application layer; the author will use this model to run the blockchain-based cross-border logistics platform; the interaction between each link in the process is described.The functional modules of the cross-border logistics platform are mainly divided into three parts, which are the information management module, the system management module, and the underlying decentralized application module based on blockchain technology [19].


## 3.2.3. Database Design

Depending on the type of data, the cross-border logistics platform stores important transaction information and general information in the blockchain block and platform database, respectively. Among them, the order information in the cross-border logistics transaction process, such as the blockchain addresses of both parties, matching information, time stamps, transaction fees, logistics process information, and order status, is stored in the data blocks of the blockchain by deploying smart contracts. It enables the blockchain to record the detailed information of the entire cross-border logistics process and effectively ensure that the whole process of logistics transaction information is traceable and cannot be tampered with, which improves security. The platform database mainly stores basic information, such as user personal information, contacts, contact numbers, contact addresses, and storage resource information; the platform database is used for writing, storing, reading, and other functions, and important information is stored separately from ordinary information; it is beneficial to reduce the pressure of blockchain storage and improve work efficiency. The author will describe in detail the data type information stored in the platform database and the blockchain block and analyze the main users of the cross-border logistics information platform database from the perspective of the entity and business functions of the logistics platform, which are mainly divided into user data tables and logistics resource information tables, warehousing resource table, cargo information table, blockchain block data table, etc.


## 3.3. Based on Ethereum Smart Contract Design

The author mainly studies the writing of the order contract and the settlement contract into the blockchain, and the design is written in the Solidity language, so that the logistics supplier and the shipper can interact and trade using the blockchain smart contract at the bottom of the platform web page. In terms of design ideas, the smart contract mainly stores different shippers on the cross-border logistics information platform in the contract through a structure and mapping organization and connects different shippers to realize the decentralization of the entire cross-border logistics transaction process and improve the overall transaction efficiency of cross-border logistics. The smart contract interaction diagram is shown in Figure4.Figure 4
Smart contract interaction diagram.The author will write and design smart contracts from two different aspects according to the platform and smart contract characteristics. On the one hand, it is designed for the state of smart contracts, and research and design are carried out according to the different states of the shipper in the platform. On the other hand, for smart contract function design, order contract and settlement contract are written, respectively, for order function and settlement function, which mainly include operations such as creating orders, obtaining order information, settlement, and payment, and using web3.js interface for cross-border logistics platform and cross-border logistics platform. In addition, web3.js interface is used for the interaction between cross-border logistics platform and Ethereum smart contract.


## 4. Analysis of Results

The author uses the Solidity programming language to write the smart contract program and deploys the NSGA-II algorithm program of the matching link in the smart contract to the Ethereum DApp, providing algorithms for matching transactions of cross-border logistics platforms based on blockchain technology [20]. Through the operation of the program, the rationality and scientificity of the NSGA-II cross-border logistics supply and demand matching algorithm based on blockchain technology researched and constructed by the author is proved. Table 1 shows the operating environment of the NSGA-II algorithm program.Table 1
Program operating environment.
SurroundingsHardware and software nameParameterHardware environmentCPUi5-4210U@2.40GHzMemory8.00GSystem environmentVirtual machineVMware Workstation ProOperating systemLinux Ubuntu 16.04Development languageMATLAB, SolidityBlockchain simulation platformRemixThe calculation example used by the author is not a special calculation example; after selecting the classic calculation example through the research and reference of the actual situation, the author’s calculation example is reasonably randomly generated. The number of selected cross-border logistics providers is 10, which is represented byP1,P2,P3⋯P10, and the number of shippers is 10, which is represented by U1,U2,U3⋯U10. The blockchain account addresses of the cross-border logistics provider and the shipper are used for consensus verification on the blockchain. In addition, the actual level of cross-border logistics providers and shippers needs to be measured.In this example, a one-to-one matching example will be used to describe in detail. Letθj=1,φi=1, which means a shipper and a cross-border logistics provider for transaction matching. Similarly, the case of one-to-many matching and many-to-many matching is similar to the principle of one-to-one matching, which only need to change the value of θj,φi, as shown in the following formulas:
(1)maxZ1=∑i=1m∑j=1n10.865−IUi,Pjxij,(2)maxZ2=∑j=1n∑i=1m12.292−IPj,Uixij,(3)s.t.∑i=1mxij≤1,j=1,2,⋯,n,(4)∑j=1nxij≤1,j=1,2,⋯,m,(5)xij=0,1,i=1,2,⋯,m,j=1,2,⋯,n.Let the number of chromosomes be 100, the crossover probability is 0.9, the mutation probability is 0.1, and the maximum number of iterations isNC=200. Use the NSGA-II algorithm to solve it, and the solution results are shown in Figure 5.Figure 5
Solution result of cross-border logistics transaction matching scheme based on blockchain technology.It can be concluded from Figure5 that in the setting of this example, maxZ1=57.139 and maxZ2=54.678, it means that the final matching result is that the cross-border logistics provider P2 matches the shipper U5, P3 matches U9, P8 matches U4, P9 matches U3, P1 matches U6, P5 matches U1, and P7 matches U2, P4 matches U7, P10 matches U8, and P8 matches U10. From the final matching result, first from the perspective of the cross-border logistics provider, the cross-border logistics provider 2 and the consignor party 5 carry out, and it can be concluded that the information values of the cross-border logistics provider 2 and the consignor party 5 are both very low and ranked third, and compared with the difference between the first and second satisfaction, the gap is very small, indicating that it is closer to the optimal solution. The information value of shipper 9 and cross-border logistics provider 3 is 2.785, ranking second, and the difference compared with the first information value is also small. The cross-border logistics provider 8 and the consignor 4 have the lowest information values, and the cross-border logistics provider 9 and the consignor 3 have the lowest transaction information values. In addition, cross-border logistics provider 1 is matched with shipper 6, cross-border logistics provider 5 is matched with shipper 1, cross-border logistics provider 7 is matched with shipper 2, and cross-border logistics provider 4 is matched with shipper 7 is matched, and the information values of the cross-border logistics provider 10 and the shipper 8 for matching are relatively low. In the same way, for the shipper, the information value of the matched cross-border logistics provider is relatively low. The information value has been explained above, and the low level of the information value means that the satisfaction is high. It can be seen that the author’s multiobjective optimization model of cross-border logistics supply and demand transaction matching in the cross-border logistics platform based on blockchain technology can have relatively satisfactory matching results, indicating that the algorithm used is effective.


## 5. Conclusion

Through the analysis of the existing traditional cross-border logistics platform, a cross-border logistics platform framework based on blockchain technology is constructed, so that users can publish their own needs or resources online, and the platform will automatically match the supply and demand sides according to the conditions, thereby improving transportation, resource utilization, and reduction of shippers’ search time, in order to maximize the benefits of social logistics resources; it can effectively solve the problems of information asymmetry between the two sides of the traditional cross-border logistics platform transaction, difficulty in tracing logistics information, confusion of industry standards, and lack of trust foundation. When comparing the cross-border logistics platform based on blockchain technology with the traditional cross-border logistics platform, it is concluded that it has certain advantages in terms of cost, information, customs clearance, safety, and efficiency. In addition, combining blockchain technology with a cross-border logistics platform to improve the efficiency of cross-border logistics can not only solve some difficulties in the traditional cross-border logistics trading platform but also realize technological innovation.



---

*Source: 4317578-2022-07-25.xml*