Logistics monitoring method and device
By building an alliance blockchain in the logistics industry, the security, traceability and sharing of logistics information are solved, the security sharing and traceability of information are realized, and the security and user experience of the logistics industry are improved.
Patent Information
- Application Number
- CN202210394059.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-04-15
- Publication Date
- 2025-02-18
- Estimated Expiration
- 2042-04-15
AI Technical Summary
The security, traceability and sharing of logistics information are low, resulting in the easy intercept or tampering of logistics information during transmission, and the information cannot be effectively shared and traced between the nodes of each participant.
By building an alliance blockchain jointly managed by buyers, suppliers and logistics companies, logistics information is preserved, so that it can be shared among all parties, and ensure the security and traceability of information through the immutable characteristics of the blockchain. .
It realizes the security, traceability and sharing of logistics information, protects logistics information from being tampered with, improves user experience, and reduces the security risks of the logistics industry.
Smart Images

Figure CN114841638B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of logistics monitoring, and in particular to a logistics monitoring method and device. Background Art
[0002] Logistics refers to the whole process of planning, implementing and managing the transportation, storage and distribution of raw materials, semi-finished products, finished products or related information from the place of production to the place of consumption of goods in order to meet the needs of customers. Modern logistics is a product of economic globalization and an important service industry that promotes economic globalization. Although China's logistics industry started late, the rapid development of the e-commerce market has promoted the rapid growth of China's logistics industry, the continuous improvement of the logistics system, and the increasingly mature and standardized operation of the industry.
[0003] At present, the most common way to manage logistics information is through the Internet of Things technology or the Internet technology. However, whether it is the Internet of Things technology or the Internet technology, its application process will inevitably face technical security issues. Among them, due to the openness of the network information interaction channel itself, logistics information is easily intercepted or tampered during transmission, which can easily cause the leakage of customer information or corporate information, and ultimately affect the healthy development of the logistics industry. In addition, the information of logistics information at each participant node cannot be shared and traceable, resulting in some participants not being able to know the cause and location of the problem after the goods have problems, reducing the customer experience. Summary of the invention
[0004] The embodiments of the present application provide a logistics monitoring method and device for solving the following technical problems: the security, traceability and sharing of logistics information are all low.
[0005] The present application embodiment adopts the following technical solutions:
[0006] On the one hand, an embodiment of the present application provides a logistics monitoring method, the method comprising: when a supplier node initiates a cargo transportation request to a buyer node through a logistics company, the buyer node and the supplier node, after being authorized by the logistics company, join the alliance blockchain of the logistics company as member nodes; wherein the member nodes of the alliance blockchain also include the logistics company node; the supplier node uploads the logistics information of the cargo to the block of the alliance blockchain; wherein the logistics information of the cargo includes at least one or more of the following: cargo logistics order number, cargo quantity, cargo shipping address, cargo recipient address, and the node where the cargo is currently located; The logistics company node monitors the collection node where the goods are currently located in real time, wherein the collection node is in the alliance blockchain as an ordinary node; the collection node updates the logistics information of the goods on the alliance blockchain based on the goods logistics order number; the purchaser node confirms the received goods and updates the transportation status of the goods on the alliance blockchain; after the transportation process of the goods is completed, the designated node in the alliance blockchain converts the purchaser node and the supplier node into ordinary nodes until the purchaser node or the supplier node transports goods again, and then converts the purchaser node or the supplier node into a member node.
[0007] The embodiment of the present application constructs a consortium blockchain jointly managed by purchasers, suppliers and logistics companies to store logistics information between purchasers and suppliers, so that logistics information can be shared among purchasers, suppliers and logistics companies, and the logistics information can be stored on the blockchain to make the logistics information traceable and tamper-proof, thus protecting the security of logistics information to a great extent. After a logistics is completed, the purchaser node and supplier node participating in the logistics will change from member nodes to ordinary nodes, and lose the authority to change and download the logistics information on the consortium blockchain, but can still query the logistics information related to themselves, which not only ensures the security of the information on the chain, but also ensures that users can query their own logistics information on the chain.
[0008] In a feasible implementation manner, before the logistics company node monitors the collection node where the goods are currently located in real time, the method also includes: the purchaser, the supplier and the logistics company jointly deploy a first smart contract and a second smart contract of the alliance blockchain; wherein the content of the first smart contract is that the purchaser node and the supplier node tacitly agree that the logistics company node will add the collection node to the alliance blockchain; the content of the second smart contract is that when more than half of the member nodes in the alliance blockchain agree to change the logistics information in the alliance blockchain, the alliance blockchain agrees to change the logistics information.
[0009] The embodiment of the present application constructs two smart contracts to constrain the logistics company node to obtain the consent of the supplier node and the buyer node before making any changes to the alliance blockchain. The alliance blockchain is automatically managed through smart contracts, which not only protects the management rights of suppliers and buyers over the alliance blockchain, but also reduces the time and energy of supplier nodes and buyer nodes in managing the alliance blockchain.
[0010] In a feasible implementation, the logistics company node monitors the collection node where the goods are currently located in real time, and adds the collection node as a temporary node to the alliance blockchain, specifically including: after the logistics company node determines the collection node where the goods are currently located, obtaining the information of the collection node; wherein the information of the collection node includes at least one or more of the following: the address of the collection node, the time when the collection node receives the goods, and the time when the collection node is expected to send out the goods; when the collection node is not in the alliance blockchain, the logistics company node adds the collection node to the alliance blockchain based on the first smart contract; when the collection node is in the alliance blockchain, the logistics company node uploads the information of the collection node to the block corresponding to the goods logistics order number.
[0011] The embodiment of the present application adds the collection node as a common node to the blockchain, so that the collection node can upload the new logistics information of the goods to the blockchain, while preventing the collection node from changing the existing information on the blockchain, thereby protecting the security of the logistics information.
[0012] In a feasible implementation manner, before the collecting node updates the logistics information of the goods on the alliance blockchain based on the goods logistics order number, the method further includes: the purchaser node, the supplier node and the logistics company node respectively vote on the operation of the collecting node to update the logistics information; based on the voting result and the second smart contract, it is determined whether the collecting node has the authority to update the logistics information of the goods on the alliance blockchain.
[0013] In a feasible implementation, the collecting node updates the logistics information of the goods on the alliance blockchain based on the goods logistics order number, specifically including: the collecting node where the goods are currently located searches for the corresponding block in the alliance blockchain based on the goods logistics order number; the collecting node where the goods are currently located updates its node name to the node where the goods are currently located; and stores the status information of the goods in the corresponding block; wherein the status information of the goods includes at least one or more of the following: the transportation status of the goods, and the information of the next collecting node to which the goods are to be sent.
[0014] In a feasible implementation, the buyer node and the supplier node, with the authorization of the logistics company, join the alliance blockchain of the logistics company as member nodes, specifically including: when the buyer node or the supplier node is not in the alliance blockchain of the logistics company, the buyer node or the supplier node initiates a request to the logistics company to join the alliance blockchain; after the logistics company node reviews the identity information of the buyer node or the supplier node, it authorizes the buyer node or the supplier node to join the alliance blockchain; when the buyer node or the supplier node is an ordinary node in the alliance blockchain of the logistics company, the logistics company node converts the buyer node or the supplier node into a member node; when the number of ordinary nodes in the alliance blockchain exceeds a preset threshold, the alliance blockchain clears the ordinary nodes that have not carried out any cargo transportation within a preset time.
[0015] The embodiment of the present application reduces the number of nodes on the alliance blockchain by clearing out ordinary nodes that have not carried out any cargo transportation within a certain period of time, thereby saving storage space of the alliance blockchain and providing more node space for nodes that frequently carry out logistics transportation.
[0016] In a feasible implementation, the buyer node, the supplier node, and the collection node all digitally sign the uploaded logistics information of the goods through their respective public keys; the buyer node verifies the logistics information uploaded by the buyer node through the private key of the buyer node; and the supplier node verifies the logistics information uploaded by the supplier node through the private key of the supplier node; and the collection node verifies the logistics information uploaded by the collection node through the private key of the collection node.
[0017] In a feasible implementation manner, the permissions of the member node include any one or more of the following: uploading logistics information to the alliance blockchain, modifying the logistics information corresponding to the cargo logistics order number on the alliance blockchain, querying the logistics information corresponding to the cargo logistics order number on the alliance blockchain, and downloading the logistics information corresponding to the cargo logistics order number on the alliance blockchain; the permissions of the ordinary node include any one or more of the following: uploading logistics information to the alliance blockchain, and querying the logistics information corresponding to the cargo logistics order number on the alliance blockchain.
[0018] The embodiment of the present application sets up two different nodes and grants different permissions to the two different nodes to ensure that the node that is carrying out logistics transportation has absolute management rights over the logistics information, thereby ensuring the security of the logistics information.
[0019] In a feasible implementation, after the collection node updates the logistics information of the goods on the alliance blockchain based on the goods logistics order number, the method further includes: the collection node predicts the predicted time when the goods will arrive at the next collection node, and sends the node information of the next collection node and the predicted time to the logistics company node; when the time exceeding the predicted time is greater than a preset threshold and the next collection node has not updated the logistics information of the goods, the logistics company node issues a prompt to the next collection node and issues an alarm to the person in charge of the goods.
[0020] On the other hand, an embodiment of the present application provides a logistics monitoring device, comprising: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute a logistics monitoring method as described in any of the above embodiments.
[0021] At least one of the above technical solutions adopted in the embodiments of the present application can achieve the following beneficial effects:
[0022] Blockchain technology has the characteristics of being tamper-proof, data transparent, and traceable. This application stores logistics information in the blockchain to ensure that the logistics information is not tampered with. After a problem occurs with the goods, the supplier or purchaser can trace all the logistics information of the goods in the blockchain, which is convenient for users to find the cause of the problem with the goods and improve the user's logistics experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0023] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the prior art, the drawings required for use in the embodiments or the prior art descriptions are briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative labor.
[0024] In the figure:
[0025] Figure 1 A flow chart of a logistics monitoring method provided in an embodiment of the present application;
[0026] Figure 2 A schematic diagram of the structure of a logistics monitoring system provided in an embodiment of the present application;
[0027] Figure 3 A schematic diagram of the structure of a logistics monitoring device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0028] The embodiments of the present application provide a logistics monitoring method and device.
[0029] In order to enable those skilled in the art to better understand the technical solutions in this application, the technical solutions in the embodiments of this application will be clearly and completely described below in conjunction with the drawings in the embodiments of this application. Obviously, the described embodiments are only part of the embodiments of this application, not all of them. Based on the embodiments of this specification, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of this application.
[0030] Figure 1 A flow chart of a logistics monitoring method provided in an embodiment of the present application is as follows: Figure 1 As shown, the logistics monitoring method may specifically include S101-S106:
[0031] S101. The supplier node initiates a cargo transportation request to the buyer node through the logistics company. The buyer node and the supplier node are authorized by the logistics company and join the alliance blockchain of the logistics company as member nodes.
[0032] Specifically, when the supplier node initiates a cargo transportation request to the buyer node through a logistics company, if the buyer node or supplier node is not in the alliance blockchain of the logistics company, the buyer node or supplier node initiates a request to join the alliance blockchain to the logistics company. The logistics company will review the identity information of the buyer node or supplier node, and after the review is passed, authorize the buyer node or supplier node to join their alliance blockchain as a member node. The member nodes of the alliance blockchain also include the nodes of the logistics company.
[0033] It should be noted that the buyer node and the supplier node can only manage the logistics orders initiated by themselves. The buyer node or the supplier node has no right to manage the logistics orders initiated by other nodes.
[0034] Furthermore, in the case where the buyer node or the supplier node itself is an ordinary node in the alliance blockchain of the logistics company, the logistics company node converts the buyer node or the supplier node into a member node.
[0035] In one embodiment, supplier node A initiates a cargo transportation request to buyer node C through logistics company B, and generates cargo logistics order number 001. Assume that A is in the alliance blockchain of company B, but C is not in the alliance blockchain of company B. At this time, A applies to company B to join the alliance blockchain. After reviewing A's information, company B authorizes it to join the company's alliance blockchain as a member node, and converts C from a normal node to a member node.
[0036] S102. The supplier node uploads the logistics information of the goods to the block of the alliance blockchain.
[0037] Specifically, the supplier node uses its own public key to digitally sign the logistics information of the goods it sends, and uploads the digitally signed logistics information of the goods to the block of the alliance blockchain. The logistics information of the goods includes at least one or more of the following: the logistics order number of the goods, the quantity of the goods, the address of the goods sent, the address of the recipient of the goods, and the node where the goods are currently located. At this time, the node where the goods are currently located is the supplier node.
[0038] Furthermore, the alliance blockchain verifies the logistics information uploaded by the supplier node through the private key of the supplier node. After successful verification, the block of the alliance blockchain adds a timestamp to the successfully verified logistics information to indicate the time when this logistics information was received.
[0039] S103. The logistics company node monitors the collection node where the goods are currently located in real time, and adds the collection node to the alliance blockchain as an ordinary node.
[0040] Specifically, after becoming member nodes, buyers and suppliers will jointly deploy the first smart contract and the second smart contract of the alliance blockchain with the logistics company. The content of the first smart contract is that the buyer node and the supplier node agree by default that the logistics company node will add the collection node to the alliance blockchain. The content of the second smart contract is that when more than half of the nodes in the alliance blockchain agree to change the logistics information in the alliance blockchain, the alliance blockchain agrees to change the logistics information.
[0041] Furthermore, the logistics company monitors in real time which collection node the goods are currently arriving at, and after monitoring the collection node where the goods are currently located, determines the information of the collection node. The information of the collection node includes at least the address of the collection node, the time when the collection node receives the goods, and the time when the collection node is expected to send out the goods.
[0042] Furthermore, the collection node sends a request to the logistics company to join the alliance blockchain. The logistics company sends the information of the collection node to the alliance blockchain. Based on the information of the collection node and the first smart contract, the alliance blockchain agrees to add the collection node to the alliance blockchain.
[0043] As a feasible implementation method, the permissions of the member nodes in the alliance blockchain include uploading logistics information to the alliance blockchain, modifying the logistics information corresponding to the cargo logistics order number on the alliance blockchain, querying the logistics information corresponding to the cargo logistics order number on the alliance blockchain, and downloading the logistics information corresponding to the cargo logistics order number on the alliance blockchain. The permissions of ordinary nodes include uploading logistics information to the alliance blockchain and querying the logistics information corresponding to the cargo logistics order number on the alliance blockchain. Therefore, after the collection node joins the alliance blockchain as an ordinary node, it only has the permission to upload and query information, and cannot change the information in the blockchain or download the information in the blockchain.
[0044] As a feasible implementation method, if the collecting node itself is an ordinary node in the alliance blockchain, this step is not necessary.
[0045] S104. The collection node updates the logistics information of the goods on the alliance blockchain based on the goods logistics order number.
[0046] Specifically, the collection node uses the cargo logistics order number as a voucher to apply to each member node corresponding to the cargo logistics order number in the alliance blockchain to upload logistics information to the block. The buyer node, supplier node, and logistics company node vote on the application respectively. Based on the voting results and the second smart contract, it is determined whether the collection node has the authority to update the logistics information of the cargo on the alliance blockchain.
[0047] In one embodiment, if the collecting node D applies to the buyer node, supplier node and logistics company node corresponding to the cargo logistics order number 001 to upload the logistics information of 001 to the block, the three nodes vote on the application. If two or more of the three nodes agree to the application, the alliance blockchain automatically agrees to the data upload operation of the collecting node D.
[0048] Furthermore, the collection node obtains the logistics information of the goods stored in the logistics company node, and updates its own node name to the node where the goods are currently located in the logistics information of the goods. Then the status information of the goods is stored in the block of the alliance blockchain. Among them, the status information of the goods at least includes the transportation status of the goods, the next collection node to which the goods will be sent, etc.
[0049] It should be noted that in the existing logistics information in the block, the node where the goods are currently located will be marked with a timestamp. The "update" mentioned above actually means that the collection node stamps its own node name with the current timestamp and uploads it to the block as the current node where the goods are currently located at the current moment, rather than modifying the current node where the goods are currently located with other timestamps in the block. In this way, the nodes where the goods are located at each moment can be displayed.
[0050] Furthermore, after the collection node updates the logistics information of the goods on the alliance blockchain, the collection node will predict the predicted time when the goods will arrive at the next collection node, and send the node information of the next collection node and the predicted time to the logistics company node. If the time that has exceeded the predicted time is greater than the preset threshold, and the next collection node has not updated the logistics information of the goods at this time, the logistics company node will issue a prompt to the next collection node and issue an alarm to the person in charge of the goods.
[0051] In one embodiment, if the preset threshold is 1 hour, and the current time has exceeded the predicted time by 1 hour, and the next collection node has not updated the logistics information of the goods, the logistics company node will send a prompt to the next collection node to update the logistics information, and send an alarm to the person in charge of the goods to prompt the person in charge to check the status of the goods.
[0052] S105. The purchaser node confirms the received goods and modifies the transportation status of the goods on the alliance blockchain.
[0053] Specifically, after the buyer node receives the goods and signs for them, the buyer node changes the goods transportation status on the alliance blockchain to "signed for", which means that the transportation process of the goods is completed.
[0054] S106. After the cargo transportation process is completed, the alliance blockchain converts the buyer and supplier into ordinary nodes until the buyer node or supplier node transports cargo again, and then converts the buyer node or supplier node into a member node.
[0055] Specifically, after the cargo transportation process is completed, the supplier node and the buyer node will be converted into ordinary nodes by the logistics company node until the supplier node or the buyer node transports cargo again, at which time the logistics company node will convert them into member nodes. When the number of ordinary nodes in the alliance blockchain exceeds the preset threshold, the logistics company node will clear the ordinary nodes that have not transported any cargo within the preset time.
[0056] In addition, the embodiments of the present application can be implemented through a logistics monitoring system, such as Figure 2 As shown, the logistics monitoring system 200 includes a logistics company node 210, several purchaser nodes, several supplier nodes, several collection nodes and a consortium blockchain 250. For the convenience of description, the following explanation is given by taking the purchaser node 220, the supplier node 230 and the collection node 240 as an example.
[0057] Among them, the logistics company node 210 is used to authorize the supplier node and the buyer node to join the alliance blockchain, and to monitor the collection node where the goods are currently located in real time, and add the collection node to the alliance blockchain. The supplier node 230 is used to initiate a cargo transportation request to the buyer node and store the logistics information of the goods on the alliance blockchain. The buyer node 220 is used to confirm the received goods and modify the transportation status of the goods on the alliance blockchain. The collection node 240 is used to update the logistics information of the goods on the alliance blockchain based on the cargo logistics order number. The alliance blockchain 250 is used to store the logistics information of the goods.
[0058] Finally, the present application also provides a logistics monitoring device, such as Figure 3 As shown, the logistics monitoring device 300 includes: at least one processor 301; and a memory 302 communicatively connected to the at least one processor 301; wherein the memory 302 stores instructions executable by the at least one processor 301, and the instructions are executed by the at least one processor 301 so that the at least one processor 301 can perform any of the above steps.
[0059] Each embodiment in this application is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the device, equipment, and non-volatile computer storage medium embodiments, since they are basically similar to the method embodiments, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.
[0060] The above describes specific embodiments of the present application. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recorded in the claims can be performed in an order different from that in the embodiments and still achieve the desired results. In addition, the processes depicted in the accompanying drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.
[0061] The above is only an embodiment of the present application and is not intended to limit the present application. For those skilled in the art, the embodiments of the present application may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the embodiments of the present application should be included in the scope of the claims of the present application.
Claims
1. A logistics monitoring method, characterized in that: The method comprises: In the case where the supplier node initiates a cargo transportation request to the purchaser node through the logistics company, the purchaser node and the supplier node are authorized by the logistics company to join the alliance blockchain of the logistics company as member nodes; wherein the member nodes of the alliance blockchain also include the logistics company node, and the permissions of the member nodes include: uploading logistics information to the alliance blockchain, modifying the logistics information corresponding to the cargo logistics order number on the alliance blockchain, querying the logistics information corresponding to the cargo logistics order number on the alliance blockchain, and downloading the logistics information corresponding to the cargo logistics order number on the alliance blockchain; The supplier node uploads the logistics information of the goods to the block of the alliance blockchain; wherein the logistics information of the goods includes at least one or more of the following: the goods logistics order number, the quantity of goods, the goods shipping address, the goods recipient address, and the current node information of the goods; The logistics company node monitors the collection node where the goods are currently located in real time; wherein the collection node is in the alliance blockchain as an ordinary node, and the authority of the ordinary node includes uploading logistics information to the alliance blockchain and querying the logistics information corresponding to the goods logistics order number on the alliance blockchain; The collection node updates the logistics information of the goods on the alliance blockchain based on the goods logistics order number; The buyer node confirms the received goods and updates the transportation status of the goods on the alliance blockchain; After the cargo transportation process is completed, the logistics company node in the alliance blockchain converts the buyer node and the supplier node into ordinary nodes until the buyer node or the supplier node transports cargo again, and then converts the buyer node or the supplier node into a member node.
2. A logistics monitoring method according to claim 1, characterized in that: Before the logistics company node monitors the collection node where the goods are currently located in real time, the method further includes: The purchaser, the supplier and the logistics company jointly deploy the first smart contract and the second smart contract of the alliance blockchain; The content of the first smart contract is that the buyer node and the supplier node agree by default that the logistics company node will add the collection node to the alliance blockchain; The content of the second smart contract is that when more than half of the member nodes in the alliance blockchain agree to change the logistics information in the alliance blockchain, the alliance blockchain agrees to change the logistics information.
3. A logistics monitoring method according to claim 2, characterized in that: The logistics company node monitors the collection node where the goods are currently located in real time, and adds the collection node as a temporary node to the alliance blockchain, specifically including: After the logistics company node determines the collection node where the goods are currently located, the information of the collection node is obtained; wherein the information of the collection node includes at least one or more of the following: the address of the collection node, the time when the collection node receives the goods, and the time when the collection node is expected to send out the goods; In the case where the collection node is not in the alliance blockchain, the logistics company node adds the collection node to the alliance blockchain based on the first smart contract; When the collecting node is in the alliance blockchain, the logistics company node uploads the information of the collecting node to the block corresponding to the cargo logistics order number.
4. A logistics monitoring method according to claim 2, characterized in that: Before the collection node updates the logistics information of the goods on the alliance blockchain based on the goods logistics order number, the method further includes: The buyer node, the supplier node and the logistics company node vote respectively on the operation of the collection node to update the logistics information; Based on the voting result and the second smart contract, it is determined whether the collection node has the authority to update the logistics information of the goods on the alliance blockchain.
5. A logistics monitoring method according to claim 1, characterized in that: The collection node updates the logistics information of the goods on the alliance blockchain based on the goods logistics order number, specifically including: The collection node where the goods are currently located searches for the corresponding block in the alliance blockchain based on the goods logistics order number; The collection node where the goods are currently located updates its node name to the node where the goods are currently located; and stores the status information of the goods in the corresponding block; wherein the status information of the goods includes at least one or more of the following: the transportation status of the goods, and the next collection node information to which the goods are to be sent.
6. A logistics monitoring method according to claim 1, characterized in that: The buyer node and the supplier node are authorized by the logistics company to join the alliance blockchain of the logistics company as member nodes, which specifically includes: In the case where the buyer node or the supplier node is not in the alliance blockchain of the logistics company, the buyer node or the supplier node initiates a request to the logistics company to join the alliance blockchain; After the logistics company node reviews the identity information of the buyer node or the supplier node, the logistics company node authorizes the buyer node or the supplier node to join the alliance blockchain; In the case where the buyer node or the supplier node is a common node in the alliance blockchain of the logistics company, the logistics company node converts the buyer node or the supplier node into a member node; When the number of ordinary nodes in the alliance blockchain exceeds a preset threshold, the alliance blockchain clears the ordinary nodes that have not performed any cargo transportation within a preset time.
7. A logistics monitoring method according to claim 1, characterized in that: The method further comprises: The buyer node, the supplier node, and the collection node all digitally sign the uploaded logistics information of the goods through their respective public keys; The buyer node verifies the logistics information uploaded by the buyer node through the private key of the buyer node; and the supplier node verifies the logistics information uploaded by the supplier node through the private key of the supplier node; and the collection node verifies the logistics information uploaded by the collection node through the private key of the collection node.
8. A logistics monitoring method according to claim 1, characterized in that: The permissions of the member node include any one or more of the following: uploading logistics information to the alliance blockchain, modifying the logistics information corresponding to the cargo logistics order number on the alliance blockchain, querying the logistics information corresponding to the cargo logistics order number on the alliance blockchain, and downloading the logistics information corresponding to the cargo logistics order number on the alliance blockchain; The permissions of the ordinary node include any one or more of the following: uploading logistics information to the alliance blockchain, and querying the logistics information corresponding to the cargo logistics order number on the alliance blockchain.
9. A logistics monitoring method according to claim 1, characterized in that: After the collection node updates the logistics information of the goods on the alliance blockchain based on the goods logistics order number, the method further includes: The collection node predicts the predicted time when the goods arrive at the next collection node, and sends the node information of the next collection node and the predicted time to the logistics company node; When the time exceeding the predicted time is greater than a preset threshold and the next collection node has not updated the logistics information of the goods, the logistics company node sends a prompt to the next collection node and sends an alarm to the person in charge of the goods.
10. A logistics monitoring device, characterized in that: The device comprises: at least one processor; and, a memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute a logistics monitoring method as described in any one of claims 1-9.
Citation Information
Patent Citations
A cargo tracking method based on a block chain technology
CN109583820A
Consensus method and system for block chain and Internet of Things fusion scene
CN112163856A