Logistics tracking and tracing method, application server, blockchain node and medium
By using the public key of the Internet of Things device as a unique identity identification number in the logistics system and storing the information hash value in the blockchain and distributed database, the problem of replacement and tampering of logistics information is solved, and the uniqueness of items is achieved The security verification and secure storage of information improve the reliability and security of logistics tracking.
Patent Information
- Application Number
- CN201810157282.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2018-02-24
- Publication Date
- 2024-12-10
- Estimated Expiration
- 2038-02-24
AI Technical Summary
In the existing logistics tracking system, barcodes or QR codes are easily copied and tampered, and logistics information is centrally stored on the central server, which poses the risk of leakage and tampering.
The public key of the Internet of Things device is used as the unique identity number of the item, and the logistics information is stored in the blockchain platform and distributed database through hashing operations to ensure that the information is irreplaceable and tampered with.
It realizes unique verification of items during transportation and secure storage of information, avoids information leakage and tampering, and improves the reliability and security of logistics tracking.
Smart Images

Figure CN110197346B_ABST
Abstract
Description
Technical Field
[0001] The present disclosure generally relates to the field of Internet of Things (IoT), and more specifically, to a method, an application server, a blockchain node, and a computer-readable storage medium for logistics tracking and tracing of an object. Background Art
[0002] Currently, with the development of logistics and transportation networks, more and more items are transported between different locations thousands or even tens of thousands of kilometers through logistics and transportation networks. Usually, when an item begins to be transported, the logistics company assigns a barcode or QR code number to the item as an identification of the item during the logistics and transportation process. At each intermediate transfer node of the logistics company, logistics information such as the entry and exit status of the item is recorded, so that users at the destination of the item can obtain the logistics information of the item or trace the source of the item by querying the transportation record of the item.
[0003] However, in the above scheme, numbers such as barcodes or QR codes can be easily copied and attached to other items, and all logistics information is stored on the central server of the logistics company, which is easy to be tampered with or leaked. Summary of the invention
[0004] Embodiments of the present disclosure provide a method, an application server, a blockchain node, and a computer-readable storage medium for logistics tracking and tracing of an object.
[0005] According to the first aspect of the present disclosure, an application server for logistics tracking and tracing of an object is provided. The application server includes: a memory and a processor, the memory stores machine executable instructions, and when the machine executable instructions are executed by the processor, the application server performs operations, including: receiving a storage request from at least one node in the logistics process of the object, the storage request includes a unique identification number of the object and information of the object at the at least one node, the unique identification number of the object is a public key of an Internet of Things device that is inseparable from the object in the logistics process; performing a hash operation on the information to obtain a hash value of the information; sending the hash value of the information and the information to a distributed database for storage; and sending the unique identification number of the object and the hash value of the information to a blockchain platform for storage.
[0006] According to a second aspect of the present disclosure, a method for tracking and tracing the logistics of an object is provided. The method includes: receiving a storage request from at least one node in the logistics process of the object, the storage request including the unique identification number of the object and the information of the object at the at least one node, the unique identification number of the object being the public key of an IoT device that is inseparable from the object in the logistics process; performing a hash operation on the information to obtain a hash value of the information; sending the hash value of the information and the information to a distributed database for storage; and sending the unique identification number of the object and the hash value of the information to a blockchain platform for storage.
[0007] According to a third aspect of the present disclosure, a non-volatile computer-readable storage medium for logistics tracking and tracing of an object is provided. The non-volatile computer-readable storage medium contains machine-executable instructions, which, when executed by a machine, are suitable for causing the machine to execute the method described in the second aspect above.
[0008] According to a fourth aspect of the present disclosure, a blockchain node for logistics tracking and tracing of an object is provided. The blockchain node includes: a memory and a processor, wherein the memory stores machine executable instructions, and when the machine executable instructions are executed by the processor, the blockchain node performs operations, including: receiving a storage request from an application server, the storage request including a unique identification number of the object and a hash value of information of the object at at least one node in the logistics process of the object, wherein the unique identification number of the object is a public key of an Internet of Things device that is inseparable from the object in the logistics process; and publishing the unique identification number of the object and the hash value of the information to one or more other blockchain nodes using a smart contract.
[0009] According to a fifth aspect of the present disclosure, a method for tracking and tracing the logistics of an object is provided. The method comprises: receiving a storage request from an application server, the storage request comprising a unique identification number of the object and a hash value of information of the object at at least one node in the logistics process of the object, wherein the unique identification number of the object is a public key of an IoT device that is inseparable from the object in the logistics process; and publishing the unique identification number of the object and the hash value of the information to one or more other blockchain nodes using a smart contract.
[0010] According to a sixth aspect of the present disclosure, a non-volatile computer-readable storage medium for logistics tracking and tracing of an object is provided. The non-volatile computer-readable storage medium contains machine-executable instructions, which, when executed by a machine, are suitable for causing the machine to execute the method described in the fifth aspect above. BRIEF DESCRIPTION OF THE DRAWINGS
[0011] The present disclosure will be better understood, and other objects, details, features and advantages of the present disclosure will become more apparent through the description of specific embodiments of the present disclosure given with reference to the following drawings, in which:
[0012] Figure 1 A structural block diagram of an Internet of Things device for recording transportation data of an object according to an embodiment of the present disclosure is shown;
[0013] Figure 2 A flow chart of a method for logistics tracking and tracing of an object implemented in an application server according to an embodiment of the present disclosure is shown;
[0014] Figure 3 A flowchart of a method for logistics tracking and tracing of an object implemented in a blockchain node according to an embodiment of the present disclosure is shown;
[0015] Figure 4A A schematic diagram showing a storage format of object information in a blockchain platform according to an embodiment of the present disclosure;
[0016] Figure 4B A schematic diagram showing a storage format of object information in a distributed database according to an embodiment of the present disclosure; and
[0017] Figure 5 A structural block diagram of an Internet of Things device for logistics tracking and tracing of an object according to an embodiment of the present disclosure is shown. DETAILED DESCRIPTION
[0018] The preferred embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although the preferred embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be limited by the embodiments described herein. On the contrary, these embodiments are provided to make the present disclosure more thorough and complete, and to fully convey the scope of the present disclosure to those skilled in the art.
[0019] As mentioned above, in applications that use barcodes or QR codes to track the logistics information or origin of items, numbers such as barcodes or QR codes can be easily copied and attached to other items, making it impossible to guarantee that the recipient receives the desired item. In addition, all information in the logistics process is stored on the central server of the logistics center, which is also easy to be tampered with or leaked.
[0020] In view of this, an embodiment of the present disclosure proposes a solution that utilizes the public key of an IoT device that is inseparable from an object to be transported during the logistics process as the unique identification number of the object, and stores the information of the object on a blockchain with the unique identification number, thereby ensuring that not only the item received by the recipient of the object is not replaced, but also the information of the object is not leaked or tampered with.
[0021] Figure 1 FIG. 1 is a schematic diagram of a system 100 for tracking and tracing logistics of an object according to the present disclosure. Figure 1 As shown in FIG. 1 , the system 100 includes an application server 20, which includes a transceiver 22, a processor 24, and a memory 26. In one implementation, the memory 26 stores computer program code, which, when executed by the processor 24, performs the following combined Figure 2 The method 200 described herein. The processor 24 is configured to interact with at least one node in the logistics process of the object in a wired or wireless manner through the transceiver 22. The at least one node, for example, includes a first node 10 and one or more second nodes 401, ... 40 N (hereinafter collectively referred to as the second node 40). The first node 10 may be, for example, a source node of the logistics process of the object, and the second node 40 may be, for example, an intermediate node of the logistics process of the object. In addition, the processor 24 is further configured to interact with the user terminal 50 in a wired or wireless manner through the transceiver 22. The user terminal 50 may be, for example, located at a destination node of the logistics process, and used by the user to track or trace the information of the logistics process of the object.
[0022] The system 100 may also include a blockchain platform 30, which includes one or more blockchain nodes 32. Each blockchain node 32 includes a processor 322 and a memory 324. In one implementation, the memory 324 stores computer program code, which, when executed by the processor 322, performs the following combination: Figure 3 The method 300 described herein. The application server 20 can communicate with each blockchain node 32 of the blockchain platform 30 via a blockchain application interface (not shown) via a wired or wireless network 70, for example.
[0023] In addition, the system 100 may further include a distributed database 60, which is coupled to the application server 20. The distributed database 60 may be a part of the application server 20, or may be independent of the application server 20 and distributed in multiple network nodes.
[0024] Figure 2 FIG. 2 is a flow chart of a method 200 for logistics tracking and tracing of an object implemented in an application server according to an embodiment of the present disclosure. The method 200 may be implemented in Figure 1The application server 20 shown in FIG.
[0025] In block 202, the application server 20 receives a storage request from at least one node in the logistics process of an object. The storage request includes a unique identification number (ID) of the object and information of the object at the at least one node.
[0026] In the present disclosure, the unique identification number of an object is the public key of an IoT device that is inseparable from the object during the logistics process of the object. At the beginning of the logistics transportation, the IoT device is inseparably combined with the object to be transported. This combination is usually physical, so that the IoT device and the object cannot be separated without violence during the logistics process. At the end of the logistics, the recipient of the object can determine whether the transported object has been replaced by checking the integrity of the IoT device and the object. The IoT device is configured with a pair of public and private keys, and the public key is directly used as the unique identification number of the object in the logistics process, and the private key is used to perform identity verification of each node. More details about the IoT device will be described below with reference to the IoT device 80 in Figure 4.
[0027] In one implementation, the at least one node includes a first node 10. The first node 10 can be, for example, a source node or a starting node of a logistics process of an object, such as a sender of an object. The information of the object at the first node 10 includes basic information of the object, which does not change during the entire logistics period of the object. For example, the basic information of the object includes at least one of the name, quantity, picture, video, producer, and place of production of the object. This information indicates the self-information of the item sent by the sender, and can be used by the user / recipient to check whether the transported items are correct after arriving at the destination, for example, by comparing them with the order previously placed by the user.
[0028] In another implementation, the at least one node includes one or more second nodes 40. The second node 40 may be, for example, an intermediate node of the logistics process of the object, and is used to record dynamic information of the object at each second node 40. The dynamic information includes operation information of the object at each second node 40 and a timestamp corresponding to the operation information. For example, the dynamic information may include at least one of the identifier of the second node 40, the arrival time of the object at the second node 40, the departure time of the object from the second node 40, the operation performed by the second node 40 on the object, and the location information of the second node 40. This information indicates the information generated by the transfer of items at various logistics intermediate nodes, and different second nodes 40 will have different dynamic information.
[0029] In an actual implementation, the application server 20 will receive corresponding basic information and dynamic information from the first node 10 and the second node 40 in chronological order as the logistics process progresses.
[0030] It can be understood that the information of the object at each node received by the application server 20 from the node can be encrypted using the private key of the Internet of Things device.
[0031] Next, in block 204, the application server 20 performs a hash operation on the information contained in the storage request to obtain a hash value of the information. A hash operation is a cryptographic operation that can convert data of different lengths into data of equal lengths, thereby facilitating data management and call, etc. The hash operation described herein may be any hash operation known in the art or developed in the future, and the present disclosure is not intended to limit the type of hash operation.
[0032] In block 206, the application server 20 sends the hash value of the information and the information to the distributed database 60 for storage, and in block 208, the unique identification number of the object and the hash value of the information are sent to the blockchain platform 30 for storage. It is understood that blocks 206 and 208 are not limited to the order shown in the figure and described herein, but can be executed in other orders, such as executing block 206 simultaneously or executing block 206 during the execution of block 208.
[0033] According to an embodiment of the present disclosure, information received from a node may be stored in a variety of ways and / or formats. Figure 4A A schematic diagram showing the storage format of object information in the blockchain platform 30 according to an embodiment of the present disclosure. Figure 4B A schematic diagram showing a storage format of object information in a distributed database 60 according to an embodiment of the present disclosure.
[0034] like Figure 4A As shown in FIG. 1 , a corresponding relationship list of a unique identification number (ID) 402 of an object and a hash value 404 of the information of the object at a node is stored on the blockchain platform 30. It can be understood that for the same object, multiple IDs can be stored on the blockchain platform 30. Figure 4A , each of which contains a unique ID 402 of the object and a hash value 404 of the information of the object at a node. Alternatively, the blockchain platform 30 may also store only one Figure 4AThe entry shown contains the unique ID 402 of the object as an index and a list of hash values 404 of the information of the object at multiple nodes. The hash values 404 of the information of the object at multiple nodes can be arranged in the order of the hash value 404 of the information of the first node 10 first, and then the hash values 404 of the information of the multiple second nodes 40, and the hash values 404 of the information of the multiple second nodes 40 can be arranged in the order of the timestamps contained in the information. The present disclosure is not limited to this, and the hash values 404 can also be arranged in other orders without affecting the scope of the present disclosure.
[0035] like Figure 4B As shown, in the distributed database 60, a corresponding relationship list of information 406 of an object at a node and a hash value 404 of the information 406 of the object at the node is stored. For the same object, the distributed database 60 may store multiple Figure 4B 406, each of which contains a hash value 404 of the information of the object at a node as an index and the information 406 itself. Alternatively, the distributed database 60 may also store only one Figure 4B The entry shown contains a hash value 404 of the information of the object at multiple nodes as a list and a list of information 406 of the object at multiple nodes. Similarly, the information 406 of the object at multiple nodes can be arranged in the order of information 406 of the first node 10 first, and then information 406 of multiple second nodes 40, and the information 406 of multiple second nodes 40 can be arranged in the order of timestamps contained in the information. The present disclosure is not limited to this, and each information 406 can also be arranged in other orders without affecting the scope of the present disclosure.
[0036] Since the information received by the application server 20 may have a relatively large amount of data, by storing only the hash value of the information on the blockchain platform and storing the information itself in a distributed database, the storage cost can be reduced while achieving secure storage.
[0037] The above method steps 202 to 208 describe the process in which the application server 20 receives information about the object from each logistics node and stores it in the blockchain during the logistics process of the object. This information indicates the source information (basic information) and logistics tracking information of the object. By storing this information on the blockchain, it is guaranteed that this information cannot be tampered with. In addition, the storage of this information in the logistics process does not require manual intervention, thereby avoiding the insecurity caused by manual operation.
[0038] In some embodiments, when the object arrives at the destination, the method 200 may also optionally include a process in which the user obtains this information through the application server 20 .
[0039] For example, in block 210, the application server 20 receives a query request from a user terminal 50, the query request including the unique identification number of the object. The user terminal 50 may be, for example, a user terminal of the recipient of the object. When the object arrives at its destination, the recipient may use its user terminal 50 to read the public key of the IoT device bound to the object, i.e., the unique identification number of the object, and request basic information of the object and / or dynamic information at each intermediate node 40 in the logistics process by sending a query request to the application server 20.
[0040] In response to the query request from the user terminal 50, in block 212, the application server 20 obtains the hash value of the information of the object at at least one node in the logistics process from the blockchain platform 30 according to the unique identification number of the object. For example, the application server 20 can use the unique identification number 402 of the object as an index to directly obtain the hash value of the information of the object at at least one node in the logistics process from the blockchain platform 30. Figure 4A Alternatively, the application server 20 may send the query request to the blockchain node 32 of the blockchain platform 30, and the blockchain node 32 may use, for example, a smart contract to use the unique identification number 402 of the object as an index to obtain the hash value 404 of the information of the object at at least one node. Figure 4A The hash value of the information of the object at at least one node in the logistics process is obtained from the corresponding relationship list stored in the blockchain platform 30 shown.
[0041] As described above, the query request may be for basic information only or dynamic information only, or for both. If the query request is for basic information at the first node 10 only or dynamic information at one or more second nodes 40, the query request may also include an identifier of the first node 10 or one or more second nodes 40.
[0042] In block 214, the application server 20 extracts information 406 of the object from the distributed database 60 according to the hash value 404 of the information of the object at at least one node obtained from the blockchain platform 30. For example, the application server 20 can use the hash value 404 as an index to obtain information 406 of the object from the distributed database 60. Figure 4B The information 406 of the object at at least one node is obtained from the corresponding relationship list stored in the distributed database 60 shown.
[0043] Next at block 216 , the application server 20 transmits the extracted object information 406 to the user terminal 50 .
[0044] In this way, the recipient of the object can obtain information about the object at at least one node in the logistics process through the application server 20, including basic information about the object and dynamic information about the object at each intermediate node.
[0045] Figure 3 1 shows a flow chart of a method 300 for logistics tracking and tracing of an object implemented at a blockchain node according to an embodiment of the present disclosure. The method 300 may be, for example, Figure 1 Executed by a blockchain node 32 in the blockchain platform 30 shown in FIG.
[0046] In block 302 , a blockchain node 32 in the blockchain platform 30 receives a storage request from the application server 20 , where the storage request includes a unique identification number of the object and a hash value of information of the object at at least one node in the logistics process.
[0047] In block 304, the blockchain node 32 uses a smart contract to publish the unique identification number of the object and the hash value of the information to other blockchain nodes 32 in the blockchain platform 30. Here, each blockchain node 32 is the host of the smart contract, also referred to as a smart contract entity in this disclosure. The smart contract can be developed by the developer of the system 100 or other providers, and can be published to all or part of the blockchain nodes 32 in the blockchain platform 30. By using the smart contract on the blockchain platform 30 to realize the chain of information, a secure and reliable third-party security guarantee is provided.
[0048] In one implementation, the at least one node includes the first node 10 as described above. In this case, the smart contract can be a first smart contract that is dedicated to sending basic information of the object to other blockchain nodes 32 in the blockchain platform 30.
[0049] In another implementation, the at least one node includes one or more second nodes 40 as described above. In this case, the smart contract can be a second smart contract that is dedicated to sending dynamic information of the object from the second node 40 to other blockchain nodes 32 in the blockchain platform 30.
[0050] In another implementation, a smart contract (not shown in the figure) can also be used to implement the functions of the first smart contract and the second smart contract mentioned above.
[0051] For example, at block 306 , the blockchain node 32 receives a query request from the application server 20 , the query request including a unique identification number of the object.
[0052] In block 308, the blockchain node 32 responds to the query request and uses a smart contract to provide the application server 20 with a hash value of the information of the object at at least one node. The blockchain node 32 can, for example, use a smart contract to use the unique identification number 402 of the object as an index, such as Figure 4A The hash value of the information of the object at at least one node in the logistics process is obtained from the corresponding relationship list stored in the blockchain platform 30 shown.
[0053] In this way, when the application server 20 receives a query from a user (such as the recipient of the transported object), it can use the unique identification number of the object to access the blockchain platform 30, obtain the hash value of the information of the object in the logistics process from the blockchain platform 30, and then obtain the information itself in the logistics process of the object.
[0054] Figure 5 FIG. 8 is a block diagram showing a structure of an Internet of Things device 80 for logistics tracking and tracing of an object according to an embodiment of the present disclosure. Figure 5 As shown in FIG. 8 , the IoT device 80 includes a readable memory 82 and an unreadable memory 84. A pair of public and private keys can be configured for the IoT device 80, and the public key is stored in the readable memory 82, and the private key is stored in the unreadable memory 84. In this way, it is ensured that only the IoT device 80 itself can use the private key, and other entities (such as Figure 1 The application server 20, the first node 10, the second node 40 and the user terminal 50 shown in the figure can obtain the public key of the Internet of Things device 80 from the readable memory 86, so that the identity of the first node 10, the second node 40 and / or the user terminal 50 can be verified by using the pair of public keys and private keys at each node or destination in the logistics process.
[0055] The pair of public key and private key in the IoT device 80 may be generated in various ways. In one implementation, the IoT device 80 further includes a processor 86, such as Figure 5 In this case, the processor 86 can generate a pair of public keys and private keys according to a known key generation algorithm, and store the generated public key in the readable memory 82 and the generated private key in the unreadable memory 84.
[0056] In another implementation, the pair of public and private keys may be generated by the application server 20 or other entity of the provider of the system 100, and the generated public and private keys are sent to the IoT device 80 to be stored in the readable memory 82 and the non-readable memory 84, respectively. In this case, the generator of the public and private keys, such as the application server 20, should discard the private key and only save the public key after sending the generated public and private keys to the IoT device 80. In this way, it can also be ensured that only the IoT device 80 itself can use the private key.
[0057] The IoT device 80 may be provided by a provider of the system 100, for example, and is inseparably bound to the object (such as an article) before it is transported. Unless violently destroyed, the IoT device 80 and the object to be transported will not be separated. Therefore, the public key of the IoT device 80 may be used as the unique identification number of the object in the logistics process.
[0058] In addition, at the first node 10 and / or each second node 40, a device such as a scanner can be used to interact with the IoT device 80 to verify the identity of each node. Specifically, at each node, the application server 20 can obtain a random number and send the random number to the IoT device 80, for example, via an application at the node or other means. The application server 20 can then receive from the IoT device 80 a random number signed using the private key of the IoT device 80 and a public key of the IoT device 80. The application server 20 decrypts the signed random number using the public key of the IoT device 80 and compares the decryption result with the random number itself. If the comparison result indicates that the two are the same, the application server 20 can receive information from the node. It can be understood that the verification process of the node can be performed in Figure 2 The illustrated method 200 is performed before block 202 .
[0059] Similarly, at the recipient of the object, a device such as the user terminal 50 may interact with the IoT device 80 to verify the identity of the user terminal 50. It is understood that the verification process of the user terminal 50 may be performed at Figure 2 The illustrated method 200 is performed before block 210 .
[0060] In one or more exemplary designs, the functions described in the embodiments of the present disclosure may be implemented using hardware, software, firmware, or any combination thereof. For example, if implemented using software, the functions may be stored as one or more instructions or codes on a computer-readable medium, or transmitted as one or more instructions or codes on a computer-readable medium.
[0061] The various units of the apparatus disclosed herein may be implemented using discrete hardware components or may be integrated on a hardware component, such as a processor. For example, the various exemplary logic blocks, modules, and circuits described in conjunction with the embodiments of the present disclosure may be implemented or executed using a general-purpose processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic device, discrete gate or transistor logic, discrete hardware components, or any combination thereof for performing the functions described herein.
[0062] Those skilled in the art should also understand that the various illustrative logical blocks, modules, circuits, and algorithm steps described in conjunction with the embodiments of the present disclosure may be implemented as electronic hardware, computer software, or a combination of the two.
[0063] The above description of the embodiments of the present disclosure is used to enable any person of ordinary skill in the art to implement or use the present disclosure. For those of ordinary skill in the art, various modifications of the embodiments of the present disclosure are obvious, and the general principles defined herein can also be applied to other variations without departing from the spirit and scope of the present disclosure. Therefore, the present disclosure is not limited to the examples and designs described herein, but is consistent with the broadest range of principles and novel features disclosed herein.
Claims
1. An application server for logistics tracking and tracing of an object, the application server comprising: A memory and a processor, wherein the memory stores machine executable instructions, and when the machine executable instructions are executed by the processor, the application server performs operations, including: receiving a storage request from at least one node in the logistics process of the object, the storage request including a unique identification number of the object and information of the object at the at least one node, the unique identification number of the object being a public key of an Internet of Things device that is inseparable from the object in the logistics process; Performing a hash operation on the information to obtain a hash value of the information, wherein the hash value of the information is used to call the information; sending a hash value of the information and the information to a distributed database for storage; and The unique identification number of the object and the hash value of the information are sent to the blockchain platform for storage.
2. The application server of claim 1, wherein the operation further comprises: Receiving a query request from a user terminal, the query request including a unique identification number of the object; In response to the query request, obtaining from the blockchain platform a hash value of information of the object at at least one node in the logistics process of the object according to the unique identification number of the object; Extracting information of the object at at least one node of the logistics process of the object from the distributed database according to a hash value of the information of the object at at least one node of the logistics process of the object; as well as The information is transmitted to the user terminal.
3. An application server as described in claim 1 or 2, wherein the at least one node includes a first node, and the information of the object at the at least one node includes basic information of the object, and the basic information does not change during the entire logistics of the object. 4 . The application server according to claim 3 , wherein the basic information of the object comprises at least one of the following items: the name, quantity, picture, video, producer, and production place of the object.
5. An application server as described in claim 1 or 2, wherein the at least one node includes one or more second nodes, and the information of the object at the at least one node includes dynamic information of the object at each of the one or more second nodes, and the dynamic information includes operation information of the object at the second node and a timestamp of the operation information.
6. An application server as described in claim 5, wherein the dynamic information of the object includes at least one of the following items: an identifier of the second node, an arrival time of the object at the second node, a departure time of the object from the second node, an operation performed by the second node on the object, and location information of the second node.
7. A method for tracking and tracing the logistics of an object, comprising: receiving a storage request from at least one node in the logistics process of the object, the storage request including a unique identification number of the object and information of the object at the at least one node, the unique identification number of the object being a public key of an Internet of Things device that is inseparable from the object in the logistics process; Performing a hash operation on the information to obtain a hash value of the information, wherein the hash value of the information is used to call the information; sending a hash value of the information and the information to a distributed database for storage; as well as The unique identification number of the object and the hash value of the information are sent to the blockchain platform for storage.
8. The method of claim 7, further comprising: Receiving a query request from a user terminal, the query request including a unique identification number of the object; In response to the query request, obtaining from the blockchain platform a hash value of information of the object at at least one node in the logistics process of the object according to the unique identification number of the object; Extracting information of the object at at least one node of the logistics process of the object from the distributed database according to a hash value of the information of the object at at least one node of the logistics process of the object; as well as The information is transmitted to the user terminal.
9. The method of claim 7 or 8, wherein the at least one node comprises a first node, and the information of the object at the at least one node comprises basic information of the object, and the basic information does not change during the entire logistics of the object. 10 . The method according to claim 9 , wherein the basic information of the object comprises at least one of the following items: the name, quantity, picture, video, producer, and production place of the object.
11. A method as claimed in claim 7 or 8, wherein the at least one node includes one or more second nodes, and the information of the object at the at least one node includes dynamic information of the object at each of the one or more second nodes, and the dynamic information includes operation information of the object at the second node and a timestamp of the operation information.
12. A method as claimed in claim 11, wherein the dynamic information of the object includes at least one of the following: an identifier of the second node, an arrival time of the object at the second node, a departure time of the object from the second node, an operation performed by the second node on the object, and location information of the second node.
13. A non-volatile computer-readable storage medium for logistic tracking and tracing of an object, comprising machine-executable instructions, which, when executed by a machine, are suitable for causing the machine to execute the method according to claims 7-12.
14. A blockchain node for logistics tracking and tracing of an object, comprising: A memory and a processor, wherein the memory stores machine executable instructions, and when the machine executable instructions are executed by the processor, the blockchain node performs operations, including: receiving a storage request from an application server, the storage request comprising a unique identification number of the object and a hash value of information of the object at at least one node in a logistics process of the object, wherein the unique identification number of the object is a public key of an IoT device that is inseparable from the object in the logistics process, and wherein the hash value of the information is used to call the information; and The unique identification number of the object and the hash value of the information are published to one or more other blockchain nodes using a smart contract.
15. The blockchain node of claim 14, wherein the operations further comprise: receiving a query request from the application server, wherein the query request includes a unique identification number of the object; as well as In response to the query request, the smart contract is used to provide the application server with a hash value of information of the object at at least one node in the logistics process.
16. A blockchain node as described in claim 14 or 15, wherein the at least one node includes a first node, the information of the object at the at least one node includes basic information of the object, the basic information does not change during the entire logistics period of the object, and wherein the smart contract includes a first smart contract.
17. The blockchain node as described in claim 16, wherein the basic information of the object includes at least one of the following items: the name, quantity, picture, video, producer, and production place of the object.
18. A blockchain node as described in claim 14 or 15, wherein the at least one node includes one or more second nodes, the information of the object at the at least one node includes dynamic information of the object at each of the one or more second nodes, the dynamic information includes operation information of the object at the second node and a timestamp of the operation information, and wherein the smart contract includes a second smart contract.
19. The blockchain node as described in claim 18, wherein the dynamic information of the object includes at least one of the following: an identifier of the second node, an arrival time of the object at the second node, a departure time of the object leaving the second node, an operation performed by the second node on the object, and location information of the second node.
20. A method for tracking and tracing the logistics of an object, comprising: receiving a storage request from an application server, the storage request comprising a unique identification number of the object and a hash value of information of the object at at least one node in a logistics process of the object, wherein the unique identification number of the object is a public key of an Internet of Things device that is inseparable from the object in the logistics process, and wherein the hash value of the information is used to call the information; as well as The unique identification number of the object and the hash value of the information are published to one or more other blockchain nodes using a smart contract.
21. The method of claim 20, further comprising: receiving a query request from the application server, wherein the query request includes a unique identification number of the object; as well as In response to the query request, the smart contract is used to provide the application server with a hash value of information of the object at at least one node in the logistics process.
22. A method as claimed in claim 20 or 21, wherein the at least one node includes a first node, the information of the object at the at least one node includes basic information of the object, the basic information does not change during the entire logistics period of the object, and wherein the smart contract includes a first smart contract.
23. The method of claim 22, wherein the basic information of the object comprises at least one of the following: the name, quantity, picture, video, producer, and production place of the object.
24. A method as claimed in claim 20 or 21, wherein the at least one node includes one or more second nodes, the information of the object at the at least one node includes dynamic information of the object at each of the one or more second nodes, the dynamic information includes operation information of the object at the second node and a timestamp of the operation information, and wherein the smart contract includes a second smart contract.
25. A method as claimed in claim 24, wherein the dynamic information of the object includes at least one of the following: an identifier of the second node, an arrival time of the object at the second node, a departure time of the object from the second node, an operation performed by the second node on the object, and location information of the second node.
26. A non-volatile computer-readable storage medium for logistic tracking and tracing of an object, comprising machine-executable instructions, which, when executed by a machine, are adapted to cause the machine to perform the method of claims 20-25.
