Artificial intelligence block chain port logistics distribution method

By building a port logistics distribution blockchain cluster and dynamic management data storage, the problem of safe flow of port logistics information is solved, and the secure storage and route optimization of port logistics distribution information is realized.

CN120471545APending Publication Date: 2025-08-12ZHEJIANG WANLI UNIV
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510586753.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-05-08
Publication Date
2025-08-12

AI Technical Summary

Technical Problem

How to ensure the effective and safe circulation and storage of port logistics information during port logistics distribution, and ensure the normal operation of the entire port logistics distribution.

Method used

By building a port logistics distribution blockchain cluster for the port logistics management center, determining logistics companies and target nodes, formulating initial sequences of logistics outlets and initial routes for port logistics distribution, forming an initial blockchain for port logistics distribution information, and adjusting and optimizing routes in real time, dynamically managing data storage, and ensuring data security.

Benefits of technology

It realizes the secure storage and tamper-proof of port logistics information on the blockchain, optimizes the logistics distribution route, and improves data storage efficiency and security.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120471545A_ABST
    Figure CN120471545A_ABST
Patent Text Reader

Abstract

The invention relates to an artificial intelligence block chain port logistics distribution method, and the method comprises the steps: enabling a port logistics management center to determine a logistics company matched with the port logistics sending information issued by the port logistics management center and a corresponding target node through a pre-constructed port logistics distribution block chain cluster; the target node formulates a logistics branch initial sequence and a port logistics distribution initial route matched with the current port logistics distribution information according to the port logistics distribution information, and forms a port logistics distribution information initial block chain matched with data processing of the current port logistics distribution initial route; and enabling each participant in the port logistics distribution information initial block chain to publish data which is processed by the participant and is related to the current port logistics distribution information to the port logistics distribution information initial block chain, thereby realizing automatic matching according to the port logistics distribution information to form the port logistics distribution information initial block chain corresponding to the port logistics distribution information. And the port logistics distribution information (data) is ensured to be safely stored and tampered-proof on the block chain.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of logistics, and in particular to an artificial intelligence blockchain port logistics distribution method. Background Art

[0002] As a specialized form of modern logistics, port logistics plays a crucial role in logistics activities. Port logistics refers to central port cities leveraging their port advantages, relying on advanced hardware and software environments, to strengthen their influence on surrounding logistics activities. This approach emphasizes the port's expertise in cargo collection, storage, and distribution. Based on port-related industries and supported by information technology, it aims to optimize the integration of port resources and develop a comprehensive port service system encompassing all links in the logistics industry chain. Port logistics is a specialized integrated logistics system and an irreplaceable and crucial node in the logistics process.

[0003] Because port logistics typically involves numerous parties involved in cargo transportation, port logistics information (or port logistics data) is constantly generated throughout the cargo transportation process. For example, new logistics information is constantly generated during the transportation process at different logistics points. Ensuring the effective and secure flow and storage of port logistics information throughout the port logistics distribution process, and ensuring the normal operation of the entire port logistics distribution process, has become a pressing technical issue in the current port logistics and distribution field. Summary of the Invention

[0004] The technical problem to be solved by the present invention is to provide an artificial intelligence blockchain port logistics distribution method that enhances the security of port logistics information in response to the above-mentioned existing technologies.

[0005] The technical solution adopted by the present invention to solve the above technical problems is: an artificial intelligence blockchain port logistics distribution method, which is characterized by comprising the following steps:

[0006] Step 1: pre-form a port logistics distribution blockchain cluster based on the port logistics management center; wherein the port logistics distribution blockchain cluster includes multiple port logistics distribution sub-initial blockchains, each of which includes the port logistics distribution sub-initial blockchain, the port logistics management center, the logistics company management center, and multiple logistics outlets managed by the logistics company management center. The logistics company management center is connected to the port logistics management center and each logistics outlet, and all port logistics distribution sub-initial blockchains share the same port logistics management center.

[0007] Step 2: The port logistics management center determines a logistics company that matches the port logistics delivery information based on the port logistics delivery information, and uses the logistics company management center of the determined logistics company as the target node;

[0008] Step 3: The target node extracts the shipping address information from the current port logistics shipping information, selects a matching initial sequence of logistics outlets based on the address information, and formulates an initial port logistics delivery route that matches the current port logistics shipping information based on the initial sequence of logistics outlets.

[0009] Step 4: The port logistics management center requests the target node to have all logistics outlets in the initial sequence of logistics outlets participate in the blockchain layout to form an initial blockchain of port logistics distribution information that matches the current port logistics distribution initial route data processing;

[0010] Step 5: Instruct each participant in the port logistics and delivery information initial blockchain to publish the data processed by itself and related to the current port logistics delivery information to the port logistics and delivery information initial blockchain.

[0011] Improved, in this invention, the artificial intelligence blockchain port logistics distribution method further includes:

[0012] The target node obtains the logistics load status of each logistics network point in the initial blockchain of the port logistics distribution information in real time, and adjusts and optimizes the currently executed port logistics distribution initial route to achieve the shortest transportation time based on all the obtained logistics load status, and obtains the adjusted and optimized port logistics distribution route and the adjusted and optimized logistics network point sequence;

[0013] The target node selects all logistics outlets removed from the initial sequence of logistics outlets based on the initial port logistics distribution route and the adjusted and optimized port logistics distribution route; wherein, relative to the logistics outlets in the initial sequence of logistics outlets, the newly added logistics outlets in the adjusted and optimized logistics outlet sequence correspond one-to-one with the logistics outlets removed from the logistics outlet sequence and form a replacement relationship;

[0014] The target node causes all removed logistics outlets to exit the current port logistics distribution information initial blockchain, and causes each removed logistics outlet to uniformly send the blockchain data processed on the current port logistics distribution information initial blockchain to the target node for storage;

[0015] The target node instructs all removed logistics outlets to transfer the permissions and key data on the initial blockchain of the current port logistics distribution information to their corresponding newly added logistics outlets;

[0016] The port logistics management center, the target node and all logistics outlets in the adjusted and optimized logistics outlet sequence together form a port logistics distribution information preferred blockchain that replaces the port logistics distribution information initial blockchain.

[0017] As a further improvement, in this invention, the artificial intelligence blockchain port logistics distribution method also includes: each participant on the port logistics distribution preferred blockchain performs a dynamic storage and management process of the on-chain data uploaded to the port logistics distribution preferred blockchain.

[0018] Furthermore, in the artificial intelligence blockchain port logistics distribution method, the dynamic storage and management process of the on-chain data includes the following steps:

[0019] Step a1: the target node numbers each logistics outlet in the adjusted and optimized logistics outlet sequence according to the order of delivery;

[0020] In step a2, the target node assigns corresponding data upload priorities to each logistics network point in the adjusted and optimized logistics network point sequence according to its network point number; logistics network points with earlier network point numbers have higher data upload priorities than logistics network points with later network point numbers;

[0021] In step a3, the port logistics distribution information is preferentially stored and managed by each participant on the blockchain for the data uploaded by the logistics outlets with higher data on-chain priority.

[0022] Further improved, in the artificial intelligence blockchain port logistics distribution method, the dynamic storage and management process of the on-chain data further includes the following steps:

[0023] In step a4, the target node uses each of the removed logistics outlets as an edge node on the current port logistics distribution information preferred blockchain;

[0024] Step a5: Each edge node sends its own data storage capacity to the target node in real time;

[0025] Step a6: The target node obtains the current port logistics and distribution information directly or indirectly, and optimizes the real-time storage capacity of the on-chain data of each logistics network on the blockchain;

[0026] Step a7: The target node makes a judgment based on the real-time storage capacity of the on-chain data obtained from each logistics network:

[0027] When the real-time storage capacity of the on-chain data of any logistics network is lower than the real-time reference value of data storage capacity, proceed to step a8; otherwise, proceed to step a6;

[0028] Step a8: The target node marks any logistics network point as an abnormal logistics network point, and selects the target edge node from all edge nodes as an auxiliary data storage node to replace the abnormal logistics network point in the chain data storage operation;

[0029] In step a9, the selected auxiliary data storage node replaces the abnormal logistics network point to perform the on-chain data storage operation.

[0030] Furthermore, in the artificial intelligence blockchain port logistics distribution method, the real-time reference value of data storage capacity is the average of the real-time storage capacity of on-chain data of all logistics outlets on the port logistics distribution information preferred blockchain; wherein, the real-time storage capacity of on-chain data of the logistics outlet is the remaining proportion of the initial storage space of the logistics outlet data.

[0031] Improved, in the artificial intelligence blockchain port logistics distribution method, the target node makes a matching selection based on the close correlation between each logistics outlet on the preferred blockchain of the port logistics distribution information and each edge node, so as to select an auxiliary data storage node to replace the corresponding abnormal logistics.

[0032] Compared with the existing technology, the advantages of the present invention are: the artificial intelligence blockchain port logistics distribution method of the invention is based on a pre-built port logistics distribution blockchain cluster, and the port logistics management center determines the logistics company and the corresponding target node that matches the port logistics delivery information it publishes. The target node then formulates an initial sequence of logistics outlets and an initial port logistics distribution route that matches the current port logistics delivery information based on the port logistics delivery information, and further forms an initial port logistics distribution information blockchain that matches the data processed by the current port logistics delivery initial route. Then, each participant in the initial port logistics distribution information blockchain publishes the data processed by itself and related to the current port logistics delivery information to the initial port logistics distribution information blockchain, thereby realizing automatic matching according to the port logistics delivery information to form the corresponding initial port logistics distribution information blockchain, so as to ensure that the port logistics distribution information (data) can be securely stored and tamper-proof on the blockchain. BRIEF DESCRIPTION OF THE DRAWINGS

[0033] Figure 1 This is a schematic diagram of the port logistics and distribution blockchain cluster in an embodiment of the present invention;

[0034] Figure 2 This is a flow chart of the artificial intelligence blockchain port logistics distribution method in an embodiment of the present invention. DETAILED DESCRIPTION

[0035] The present invention will be described in further detail below with reference to the accompanying drawings and embodiments.

[0036] This embodiment provides an artificial intelligence blockchain port logistics distribution method. Specifically, the artificial intelligence blockchain port logistics distribution method in this embodiment includes the following steps:

[0037] Step 1: pre-form a port logistics distribution blockchain cluster based on the port logistics management center; Figure 1 As shown, the port logistics distribution blockchain cluster includes multiple port logistics distribution sub-initial blockchains, each of which includes a port logistics management center, a logistics company management center, and multiple logistics outlets managed by the logistics company management center. The logistics company management center is connected to the port logistics management center and each logistics outlet, and all port logistics distribution sub-initial blockchains share the same port logistics management center. For example, the port logistics distribution blockchain cluster of this embodiment includes port logistics management center 1, logistics company management center A, and logistics company management center B. Logistics company management center A and logistics company management center B each include multiple logistics outlets managed by each of them.

[0038] Step 2: The port logistics management center determines a logistics company that matches the port logistics delivery information based on the port logistics delivery information, and uses the logistics company management center of the determined logistics company as the target node;

[0039] For example, in this embodiment, the port logistics management center may determine the logistics company that matches the port logistics delivery information in the following manner:

[0040] First, the port logistics management center extracts the shipping address and receiving address information from the port logistics delivery information. Then, the port logistics management center uses the shipping address and receiving address as endpoints to form a straight line connecting the two endpoints. Then, based on the distribution of logistics outlets managed by the management centers of each logistics company, the center determines the logistics company with the most logistics outlets along the straight line. This determined logistics company is then used as the logistics company that matches the port logistics delivery information.

[0041] Step 3: The target node extracts the shipping address information from the current port logistics shipping information, selects a matching initial sequence of logistics outlets based on the address information, and formulates an initial port logistics delivery route that matches the current port logistics shipping information based on the initial sequence of logistics outlets.

[0042] In step 4, the port logistics management center requests the target node to have all logistics outlets in the initial sequence of logistics outlets participate in the blockchain deployment, so as to form an initial blockchain of port logistics distribution information that matches the current port logistics distribution initial route data processing; in this embodiment, the relevant blockchain code sections can be referred to as follows:

[0043] import hashlib as hasher

[0044] classBlock:

[0045] define(self,index,timestamp,data,previous hash):

[0046] self.index = index

[0047] self.timestamp = timestamp

[0048] self.data = data

[0049] self.previous hash=previous hash

[0050] self.hash = self.hash block()

[0051] def hash block(self):

[0052] sha=hasher.sha256()

[0053] sha.update(str(self.index)+

[0054] str(self.timestamp)+

[0055] str(self.data)+

[0056] Step 5: Instruct each participant in the port logistics and delivery information initial blockchain to publish the data processed by itself and related to the current port logistics delivery information to the port logistics and delivery information initial blockchain.

[0057] Considering that each logistics network along the initial port logistics distribution route may experience abnormal changes in logistics carrying capacity, the artificial intelligence blockchain port logistics distribution method of this embodiment also adopts the following improvement measures to deal with the situation where a logistics network is unable to continue to carry logistics transportation due to abnormal changes in its own logistics carrying capacity. For example, the improvement measures here specifically include the following steps S1 to S5:

[0058] In step S1, the target node obtains the logistics load status of each logistics network point in the initial blockchain of the port logistics distribution information in real time, and adjusts and optimizes the currently executed port logistics distribution initial route to achieve the shortest transportation time based on all the obtained logistics load status, thereby obtaining the adjusted and optimized port logistics distribution route and the adjusted and optimized logistics network point sequence. It should be noted that in this embodiment, existing mature path planning methods can be adopted to complete the adjustment and optimization for the shortest transportation time, which will not be repeated here.

[0059] Step S2: The target node selects all logistics outlets that have been removed from the initial sequence of logistics outlets based on the initial port logistics distribution route and the adjusted and optimized port logistics distribution route; wherein, relative to the logistics outlets in the initial sequence of logistics outlets, the newly added logistics outlets in the adjusted and optimized logistics outlet sequence correspond one-to-one with the logistics outlets removed from the logistics outlet sequence, forming a replacement relationship;

[0060] Step S3: The target node causes all removed logistics outlets to exit the current port logistics distribution information initial blockchain, and causes each removed logistics outlet to send the blockchain data processed on the current port logistics distribution information initial blockchain to the target node for storage;

[0061] In step S4, the target node instructs all removed logistics outlets to transfer the permissions and key data on the initial blockchain of the current port logistics distribution information to their corresponding newly added logistics outlets; the key data is the private key; the code for encrypting the relevant data using the hash algorithm can be referenced as follows:

[0062]

[0063]

[0064] In step S5, the port logistics management center, the target node, and all logistics outlets in the adjusted and optimized logistics outlet sequence together form a port logistics distribution information optimization blockchain that replaces the initial port logistics distribution information blockchain.

[0065] Considering that as the logistics and distribution process progresses, more and more logistics and distribution data will be uploaded to the initial blockchain of the port logistics and distribution information by the various participants in the blockchain (mainly logistics outlets), which will put pressure on data storage. To this end, the artificial intelligence blockchain port logistics and distribution method of this embodiment also includes: each participant on the port logistics and distribution preferred blockchain performs a dynamic storage management process for the data uploaded to the port logistics and distribution preferred blockchain. Specifically, the dynamic storage management process for the data on the blockchain here includes the following steps a1 to a9:

[0066] Step a1: The target node numbers each logistics outlet in the adjusted and optimized logistics outlet sequence in the order of their distribution responsibilities. Within the adjusted and optimized logistics outlet sequence, the first logistics outlet responsible for performing a distribution task is numbered 1, the second logistics outlet responsible for performing a distribution task is numbered 2, and the rest of the logistics outlets are numbered accordingly.

[0067] In step a2, the target node assigns corresponding data on-chain priorities to each logistics network point in the adjusted and optimized logistics network point sequence based on its network point number. Logistics networks with earlier network point numbers have higher data on-chain priorities than those with later network point numbers.

[0068] Step a3: Each participant on the port logistics distribution information priority blockchain stores and manages the data uploaded by the logistics outlets with higher data on-chain priority.

[0069] In order to further reduce the data storage pressure on the port logistics and delivery information preferred blockchain and improve the data processing capabilities of each participant (logistics network) on the port logistics and delivery information preferred blockchain, the on-chain data dynamic storage management process of this embodiment further includes the following steps:

[0070] Step a4: The target node uses the removed logistics outlets as edge nodes on the current port logistics distribution information optimization blockchain;

[0071] Step a5: Each edge node sends its own data storage capacity to the target node in real time;

[0072] Step a6: The target node obtains the current port logistics and distribution information directly or indirectly, and optimizes the real-time storage capacity of the on-chain data of each logistics network on the blockchain;

[0073] Step a7: The target node makes a judgment based on the real-time storage capacity of the on-chain data obtained from each logistics network:

[0074] When the real-time storage capacity of on-chain data of any logistics network is lower than the real-time reference value of data storage capacity, proceed to step a8; otherwise, proceed to step a6; wherein the real-time reference value of data storage capacity is the average of the real-time storage capacity of on-chain data of all logistics networks on the port logistics distribution information preferred blockchain; the real-time storage capacity of on-chain data of a logistics network is the remaining percentage of the initial storage space of the logistics network data;

[0075] Specifically, the real-time storage capacity of on-chain data at logistics outlets is calculated as follows: n =C n,剩余 / C n,初始 ; where μ n The real-time storage capacity of the data on the chain of the nth logistics network point on the blockchain is optimized for the current port logistics distribution information. n,剩余 is the remaining data storage space of the nth logistics network point, C n,初始 The initial storage space for the logistics network data of the nth logistics network;

[0076] Step a8: The target node marks any logistics network point as an abnormal logistics network point, and selects the target edge node from all edge nodes as an auxiliary data storage node to replace the abnormal logistics network point in the chain data storage operation;

[0077] In step a9, the selected auxiliary data storage node replaces the abnormal logistics network point to perform the on-chain data storage operation.

[0078] It should be noted that in this embodiment of the AI-powered blockchain port logistics distribution method, the target node selects a matching node based on the affinity between each logistics node and each edge node on the port logistics distribution information blockchain to replace the auxiliary data storage node corresponding to the abnormal logistics. The process of the target node selecting a matching node based on the affinity to replace the auxiliary data storage node corresponding to the abnormal logistics includes the following steps b1 to b4:

[0079] Step b1: The target node obtains the address data of each logistics outlet on the port logistics distribution information optimization blockchain;

[0080] Step b2: The target node obtains edge node address data of each edge node;

[0081] In step b3, the target node calculates the straight-line distance between each logistics network and each edge node on the port logistics distribution information optimization blockchain based on the acquired address data of all network nodes and all edge node addresses;

[0082] In step b4, the target node calculates the closeness relationship between each logistics network point and each edge node based on each straight-line distance. The closeness relationship between the logistics network point and the edge node is calculated as follows:

[0083]

[0084] in, is the close correlation between the nth logistics outlet on the port logistics distribution information optimization blockchain and the mth edge node among all edge nodes, N is the total number of logistics outlets on the port logistics distribution information optimization blockchain, and M is the total number of all edge nodes.

[0085] Although the preferred embodiments of the present invention have been described in detail above, it should be clearly understood that various modifications and variations are possible for those skilled in the art. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention are intended to be included within the scope of protection of the present invention.

Claims

1. Artificial intelligence blockchain port logistics distribution method, characterized by: The steps include: Step 1: pre-form a port logistics distribution blockchain cluster based on the port logistics management center; wherein the port logistics distribution blockchain cluster includes multiple port logistics distribution sub-initial blockchains, each of which includes the port logistics distribution sub-initial blockchain, the port logistics management center, the logistics company management center, and multiple logistics outlets managed by the logistics company management center. The logistics company management center is connected to the port logistics management center and each logistics outlet, and all port logistics distribution sub-initial blockchains share the same port logistics management center. Step 2: The port logistics management center determines a logistics company that matches the port logistics delivery information based on the port logistics delivery information, and uses the logistics company management center of the determined logistics company as the target node; Step 3: The target node extracts the shipping address information from the current port logistics shipping information, selects a matching initial sequence of logistics outlets based on the address information, and formulates an initial port logistics delivery route that matches the current port logistics shipping information based on the initial sequence of logistics outlets. Step 4: The port logistics management center requests the target node to have all logistics outlets in the initial sequence of logistics outlets participate in the blockchain layout to form an initial blockchain of port logistics distribution information that matches the current port logistics distribution initial route data processing; Step 5: Instruct each participant in the port logistics and delivery information initial blockchain to publish the data processed by itself and related to the current port logistics delivery information to the port logistics and delivery information initial blockchain.

2. The artificial intelligence blockchain port logistics distribution method according to claim 1 is characterized in that: Also includes: The target node obtains the logistics load status of each logistics network point in the initial blockchain of the port logistics distribution information in real time, and adjusts and optimizes the currently executed port logistics distribution initial route to achieve the shortest transportation time based on all the obtained logistics load status, and obtains the adjusted and optimized port logistics distribution route and the adjusted and optimized logistics network point sequence; The target node selects all logistics outlets removed from the initial sequence of logistics outlets based on the initial port logistics distribution route and the adjusted and optimized port logistics distribution route; wherein, relative to the logistics outlets in the initial sequence of logistics outlets, the newly added logistics outlets in the adjusted and optimized logistics outlet sequence correspond one-to-one with the logistics outlets removed from the logistics outlet sequence and form a replacement relationship; The target node causes all removed logistics outlets to exit the current port logistics distribution information initial blockchain, and causes each removed logistics outlet to uniformly send the blockchain data processed on the current port logistics distribution information initial blockchain to the target node for storage; The target node instructs all removed logistics outlets to transfer the permissions and key data on the initial blockchain of the current port logistics distribution information to their corresponding newly added logistics outlets; The port logistics management center, the target node and all logistics outlets in the adjusted and optimized logistics outlet sequence together form a port logistics distribution information preferred blockchain that replaces the port logistics distribution information initial blockchain.

3. The artificial intelligence blockchain port logistics distribution method according to claim 2 is characterized in that: Also includes: Each participant on the port logistics and distribution preferred blockchain performs a dynamic storage and management process for the data uploaded to the port logistics and distribution preferred blockchain.

4. The artificial intelligence blockchain port logistics distribution method according to claim 3 is characterized in that: The dynamic storage management process of on-chain data includes the following steps: Step a1: the target node numbers each logistics outlet in the adjusted and optimized logistics outlet sequence according to the order of delivery; In step a2, the target node assigns corresponding data upload priorities to each logistics network point in the adjusted and optimized logistics network point sequence according to its network point number; logistics network points with earlier network point numbers have higher data upload priorities than logistics network points with later network point numbers; In step a3, the port logistics distribution information is preferentially stored and managed by each participant on the blockchain for the data uploaded by the logistics outlets with higher data on-chain priority.

5. The artificial intelligence blockchain port logistics distribution method according to claim 4 is characterized in that: The dynamic storage management process of the on-chain data also includes the following steps: In step a4, the target node uses each of the removed logistics outlets as an edge node on the current port logistics distribution information preferred blockchain; Step a5: Each edge node sends its own data storage capacity to the target node in real time; Step a6: The target node obtains the current port logistics and distribution information directly or indirectly, and optimizes the real-time storage capacity of the on-chain data of each logistics network on the blockchain; Step a7: The target node makes a judgment based on the real-time storage capacity of the on-chain data obtained from each logistics network: When the real-time storage capacity of the on-chain data of any logistics network is lower than the real-time reference value of the data storage capacity, proceed to step a8; Otherwise, go to step a6; Step a8: The target node marks any logistics network point as an abnormal logistics network point, and selects the target edge node from all edge nodes as an auxiliary data storage node to replace the abnormal logistics network point in the chain data storage operation; In step a9, the selected auxiliary data storage node replaces the abnormal logistics network point to perform the on-chain data storage operation.

6. The artificial intelligence blockchain port logistics distribution method according to claim 5 is characterized in that: The real-time reference value of data storage capacity is the average of the real-time storage capacity of on-chain data of all logistics outlets on the port logistics distribution information preferred blockchain; wherein, the real-time storage capacity of on-chain data of a logistics outlet is the remaining proportion of the initial storage space of the logistics outlet data.

7. The artificial intelligence blockchain port logistics distribution method according to claim 5 is characterized in that: The target node makes a matching selection based on the close association between each logistics outlet on the preferred blockchain of the port logistics distribution information and each edge node, so as to select an auxiliary data storage node to replace the corresponding abnormal logistics.