Logistics data transmission method for blockchain, and trusted internet-of-things system

Through the combination of blockchain technology and the Internet of Things, the problems of opaque data storage and low security in the logistics system are solved, the high credibility and security of the Internet of Things data are achieved, and the low power consumption requirements of logistics and transportation equipment are met. , establishing new ways of data sharing and trust.

WO2024187811A1PCT designated stage expired Publication Date: 2024-09-19SHENZHEN CIMC INTELLIGENT TECHNOLOGY CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2023/132707
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-03-14
Filing Date
2023-11-20
Publication Date
2024-09-19

AI Technical Summary

Technical Problem

The centralization of the logistics system has led to problems such as opaque data storage, low data acquisition security, low data security, and incomplete data, making it difficult to achieve data sharing and trust between enterprises.

Method used

Using blockchain technology combined with the Internet of Things, through the encrypted data transmission of the Internet of Things terminal and the validity verification of the blockchain electronic contract, the security and integrity of the data are ensured, and trust is established in a decentralized environment to achieve Reliable delivery of data.

Benefits of technology

It improves the credibility and security of IoT data, solves the problems of opacity, low security and integrity of data storage, meets the use scenarios of low power consumption, low computing power and low storage capacity of logistics and transportation equipment, and realizes data reliable delivery and trust.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2023132707_19092024_PF_FP_ABST
    Figure CN2023132707_19092024_PF_FP_ABST
Patent Text Reader

Abstract

The present application relates to a logistics data transmission method for a blockchain, and a trusted Internet-of-Things system. The method comprises: after transportation starts, receiving encrypted Internet-of-Things data from an Internet-of-Things terminal, and decrypting the encrypted Internet-of-Things data to obtain decrypted Internet-of-Things data; performing validity verification on the decrypted Internet-of-Things data on the basis of a blockchain electronic contract; and once the decrypted Internet-of-Things data passes validity verification, adding to a blockchain a block to which the decrypted Internet-of-Things data belongs. The present application has the effect of improving data security and credibility during logistics data transmission.
Need to check novelty before this filing date? Find Prior Art

Description

Blockchain-based logistics data transmission method and trusted Internet of Things system

[0001] manual Technical Field

[0002] The present application relates to the field of logistics and transportation technology, and more specifically to a blockchain logistics data transmission method and a trusted Internet of Things system. Background Art

[0003] There are many links in the logistics and transportation process, and the chain is very long, involving many enterprises. These enterprises generally have their own transportation management systems. To facilitate management and keep data confidential, these systems are generally designed to be centralized and independent of other enterprises. Different enterprises have different rules and regulations on data management, which makes data sharing between enterprises difficult.

[0004] In related technologies, logistics systems generally use the Internet of Things plus the Internet to improve the efficiency of goods circulation and achieve efficient supervision of goods during transportation. However, this method cannot solve the centralization problem of logistics systems. The centralization of logistics systems has problems such as opaque data storage, low data acquisition security, low data security, and incomplete data.

[0005] Summary of the Invention

[0006] The present application is proposed to solve at least one of the above problems. According to one aspect of the present application, a blockchain logistics data transmission method is provided, which is applied to an Internet of Things platform, the method comprising: receiving heartbeat data from an Internet of Things terminal; determining whether the Internet of Things terminal requires authentication based on the heartbeat data; authenticating the Internet of Things terminal when it is determined that the Internet of Things terminal requires authentication; when it is determined that the Internet of Things terminal does not require authentication or after the Internet of Things terminal has passed authentication, after the start of transportation, receiving Internet of Things encrypted data from the Internet of Things terminal, and decrypting the Internet of Things encrypted data to obtain Internet of Things decrypted data; verifying the validity of the Internet of Things decrypted data based on a blockchain electronic contract; when the Internet of Things decrypted data passes the validity verification, adding the block to which the Internet of Things decrypted data belongs to the blockchain; wherein, the Internet of Things encrypted data is obtained by the Internet of Things terminal encrypting the Internet of Things data with a terminal private key; the Internet of Things decrypted data is obtained by the Internet of Things platform decrypting the Internet of Things encrypted data with a terminal public key; the terminal private key and the terminal public key are assigned to the Internet of Things terminal by the Internet of Things platform before the Internet of Things terminal leaves the factory.

[0007] In one embodiment of the present application, the authentication of the Internet of Things terminal includes: receiving an authentication request from the Internet of Things terminal, the authentication request being accompanied by an encrypted identity identification ciphertext; decrypting the identity identification ciphertext based on the blockchain electronic contract to obtain an identity identification number; judging whether the identity identification number already exists in the Internet of Things platform; if so, the authentication request is passed; if not, the authentication request is not passed; if the identity identification ciphertext cannot be decrypted, the identity identification number is empty, and the authentication request is not passed; wherein, the identity identification ciphertext is obtained by the Internet of Things terminal encrypting the terminal identity with the terminal private key; the identity identification number is obtained by the Internet of Things platform decrypting the identity identification ciphertext with the terminal public key; the terminal identity is assigned to the Internet of Things terminal by the Internet of Things platform before the Internet of Things terminal leaves the factory.

[0008] In one embodiment of the present application, the validity verification of the IoT decrypted data based on the blockchain electronic contract includes: performing legitimacy verification on the status data contained in the IoT decrypted data in combination with the user order information corresponding to the identity identification number; if the legitimacy verification passes, the IoT decrypted data is verified to be valid; otherwise, the IoT decrypted data is verified to be invalid.

[0009] In one embodiment of the present application, the method further includes: displaying the status data and / or the user order information.

[0010] According to another aspect of the present application, an Internet of Things platform is provided, which includes a memory and a processor, wherein the memory stores a computer program run by the processor, and when the computer program is run by the processor, the processor executes the above-mentioned blockchain logistics data transmission method.

[0011] According to another aspect of the present application, a blockchain logistics data transmission method is provided, which is applied to an Internet of Things terminal, the method comprising: sending heartbeat data to the Internet of Things platform; receiving a first prompt message or a second prompt message from the Internet of Things platform, the first prompt message prompting the Internet of Things terminal that authentication is required, and the second prompt message prompting the Internet of Things terminal that data can be sent without authentication; upon receiving the first prompt message, sending an authentication request to the Internet of Things platform; after receiving the second prompt message or the message prompting that authentication is passed, after transportation begins, sending encrypted Internet of Things encrypted data to the Internet of Things platform, so that the Internet of Things platform decrypts the Internet of Things encrypted data to obtain Internet of Things decrypted data, and verifies the validity of the Internet of Things decrypted data based on the blockchain electronic contract; when the Internet of Things decrypted data passes the validity verification, the block to which the Internet of Things decrypted data belongs is added to the blockchain; wherein the Internet of Things encrypted data is obtained by the Internet of Things terminal encrypting the Internet of Things data with a terminal private key; the Internet of Things decrypted data is obtained by the Internet of Things platform decrypting the Internet of Things encrypted data with a terminal public key; the terminal private key and the terminal public key are allocated to the Internet of Things terminal by the Internet of Things platform before the Internet of Things terminal leaves the factory.

[0012] In one embodiment of the present application, the authentication request is accompanied by an encrypted identity identification ciphertext, so that the Internet of Things platform decrypts the identity identification ciphertext based on the blockchain electronic contract to obtain an identity identification number, and determines whether the authentication request is passed based on the identity identification number; wherein, the identity identification ciphertext is obtained by the Internet of Things terminal encrypting the terminal identity identification with the terminal private key; the identity identification number is obtained by the Internet of Things platform decrypting the identity identification ciphertext with the terminal public key; the terminal identity identification is assigned to the Internet of Things terminal by the Internet of Things platform before the Internet of Things terminal leaves the factory.

[0013] In one embodiment of the present application, the IoT data includes positioning data and logistics status data.

[0014] According to another aspect of the present application, an Internet of Things terminal is provided, which includes a memory and a processor, wherein the memory stores a computer program run by the processor, and when the computer program is run by the processor, the processor executes the above-mentioned blockchain logistics data transmission method.

[0015] According to another aspect of the present application, a trusted Internet of Things system for blockchain logistics data transmission is provided, and the system includes the above-mentioned Internet of Things platform and the above-mentioned Internet of Things terminal.

[0016] The blockchain logistics data transmission method and trusted IoT system of this application utilizes blockchain electronic contracts to authenticate the validity of IoT data on IoT terminals after decrypting IoT data. Once the validation passes, the data is uploaded to the blockchain, improving the credibility and security of IoT data. Furthermore, this method eliminates the need for IoT terminals to serve as blockchain nodes, nor does it require additional equipment, meeting the requirements for low-power, low-computing, and low-storage logistics and transportation equipment. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] The above and other purposes, features, and advantages of the present application will become more apparent through a more detailed description of the embodiments of the present application in conjunction with the accompanying drawings. The accompanying drawings are intended to provide a further understanding of the embodiments of the present application and constitute a part of the specification. Together with the embodiments of the present application, they are used to explain the present application and do not constitute a limitation of the present application. In the drawings, the same reference numerals generally represent the same components or steps.

[0018] FIG1 shows a flow chart of a logistics data transmission method of a blockchain applied to an Internet of Things platform in an embodiment of the present application.

[0019] FIG2 shows a flow chart of an IoT terminal authentication process applied to an IoT platform in an embodiment of the present application.

[0020] FIG3 shows a flowchart of the IoT terminal authentication process in an embodiment of the present application.

[0021] FIG4 shows a flowchart of a logistics data transmission method of a blockchain in an embodiment of the present application.

[0022] Figure 5 shows a flowchart of a logistics data transmission method of a blockchain applied to an Internet of Things terminal in an embodiment of the present application.

[0023] Figure 6 shows a structural block diagram of a trusted Internet of Things system for logistics data transmission based on blockchain in an embodiment of the present application. DETAILED DESCRIPTION

[0024] In order to make the purpose, technical solutions and advantages of the present application more apparent, example embodiments according to the present application will be described in detail below with reference to the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present application, rather than all the embodiments of the present application, and it should be understood that the present application is not limited to the example embodiments described herein. Based on the embodiments of the present application described in this application, all other embodiments obtained by those skilled in the art without creative work should fall within the scope of protection of this application.

[0025] Currently, the logistics systems of enterprises generally use the Internet of Things and Internet technology to improve the efficiency of goods circulation and achieve efficient supervision of goods during transportation. However, this approach cannot solve the problem of centralization of logistics systems. The problems of centralization of logistics systems are as follows:

[0026] (1) Data storage is not transparent. Currently, logistics data is mostly stored in the centralized databases of carriers and warehousing companies. Some businesses, for their own interests, will not display all the comprehensive data to customers.

[0027] (2) Data acquisition is not secure. Data from all logistics links are obtained from a centralized database. Once the centralized database crashes, errors will occur in all logistics links.

[0028] (3) Low data security. In the logistics and transportation links, there are data credibility issues, and data is often adjusted to reduce logistics costs. In order to avoid responsibility, carriers will use one set of data internally and another set of data externally. Customers will receive incorrect data and make incorrect judgments, which will cause the data to lose third-party fairness.

[0029] (4) Incomplete data. For cold chain logistics, when imported containers arrive at the port, supervision is carried out by extracting the refrigerated container temperature sensor to test whether the temperature sensor is working properly, thereby determining whether the temperature record data of the refrigerated container is true and assessing whether the refrigerated container is in a full cold chain state. Relying solely on the carrier's cold chain data is not enough to determine whether the entire cold chain logistics is in a full cold chain state.

[0030] (5) Data uncertainty. Container logistics is an open system. Uncertainty exists among the container owners, carriers, logistics companies, and terminals involved in the logistics process from shipper to consignee. Therefore, using traditional database technology based on user role definition to develop a framework-based, user-defined system introduces data uncertainty.

[0031] The emergence of blockchain-based trusted IoT technology offers new possibilities for resolving these issues. Blockchain technology is a complex multidisciplinary approach encompassing cryptography, distributed ledgers, and computer science. Blockchain is a distributed ledger maintained by multiple parties, where data cannot be modified. It boasts decentralization, shared maintenance, immutability, and cryptographic security. Blockchain technology's decentralized nature addresses the issue of opaque data storage; shared maintenance and cryptographic security address data security; and its immutability addresses data security, integrity, and determinism.

[0032] Blockchain technology enables mutual trust among participants and reliable data transmission without centralized institutions. This advantage is well-suited to addressing data trust and resource sharing issues currently faced in logistics management systems. Blockchain can address data sharing and trust issues in distributed environments and is a key technical approach to addressing data security and trustworthiness in the IoT (Internet of Things) for container logistics and transportation. This application integrates blockchain and IoT technologies to propose a solution specifically for container logistics and transportation scenarios. This is described below with reference to the accompanying figures.

[0033] As shown in FIG1 , an embodiment of the present application provides a blockchain logistics data transmission method, which is applied to an Internet of Things platform. The method includes the following steps:

[0034] S11. After the transportation starts, the IoT encrypted data is received from the IoT terminal, and the IoT encrypted data is decrypted to obtain IoT decrypted data.

[0035] S12. Verify the validity of IoT decrypted data based on blockchain electronic contracts.

[0036] S13. After the IoT decrypted data passes the validity verification, the block to which the IoT decrypted data belongs is added to the blockchain.

[0037] In the blockchain logistics data transmission method of the present embodiment, an IoT terminal transmits IoT data to an IoT platform in an encrypted manner. After decrypting the IoT data, the IoT platform uses a blockchain electronic contract to verify the data validity of the IoT terminal. Once the validity verification is passed, the block is uploaded to the blockchain, thereby improving the credibility and security of the IoT data. Furthermore, since the blockchain node is located on the server side, there is no need for an IoT terminal to serve as a blockchain node, nor is there any need for additional equipment, meeting the requirements for low-power, low-computing, and low-storage logistics and transportation equipment.

[0038] Exemplarily, as shown in FIG2 , before receiving the IoT encrypted data from the IoT terminal, the method further includes:

[0039] S21. Receive an authentication request from an IoT terminal, where the authentication request includes an encrypted identity ciphertext.

[0040] S22. Decrypt the identity identification ciphertext based on the blockchain electronic contract to obtain the identity identification number.

[0041] S23. Determine whether the authentication request is passed based on the identity identification number.

[0042] Before the IoT platform receives IoT encrypted data from an IoT terminal, it must first authenticate the IoT terminal. Once authentication is successful, the IoT platform can then receive the IoT encrypted data from the IoT terminal. This approach of prioritizing authentication before transmitting data improves data transmission security.

[0043] Typically, before a container logistics and transportation smart IoT terminal leaves the factory, the IoT platform assigns it an identity number (ID), a private key, and a public key. The private key is stored in the terminal device, while the public key is stored in the IoT platform. The terminal ID is stored on both the terminal device and the IoT platform. This container logistics and transportation smart IoT terminal device can complete identity authentication through blockchain electronic contracts.

[0044] Figure 3 shows a flowchart of the IoT terminal authentication process. The IoT platform receives an authentication request from an IoT terminal, which includes an encrypted identity ciphertext. The identity ciphertext is generated by encrypting the terminal's identity using the terminal's private key.

[0045] For example, the encryption process is as follows: RD = Fe (ID, Sk,)

[0046] In the above formula, RD is the encrypted identity ciphertext, Fe is the encryption algorithm function, ID is the terminal identity, and Sk is the terminal private key. The terminal identity is assigned to the IoT terminal by the IoT platform before the device leaves the factory.

[0047] The IoT platform receives the authentication request and the aforementioned ciphertext, and decrypts it based on the blockchain electronic contract to obtain an identity number. The identity number is obtained by decrypting the ciphertext using the terminal's public key. The private key is stored in the IoT terminal, the public key is stored in the IoT platform, and the terminal identity is stored in both the IoT terminal and the IoT platform.

[0048] Exemplarily, the decryption process is as follows: ID = Fd (RD, Pk)

[0049] In the above formula, ID is the decrypted identity identification number (if decryption is impossible, ID is empty), Fd is the decryption function, RD is the encrypted identity identification ciphertext, and Pk is the terminal public key. After obtaining the decrypted identity identification number, the Internet of Things platform determines whether the authentication request is passed based on the identity identification number. Exemplarily, the authentication process is: determine whether the identity identification number already exists in the Internet of Things platform. If so, the authentication request is passed. If not, the authentication request is not passed. In addition, it also includes the case where the identity identification ciphertext cannot be decrypted. If the identity identification ciphertext cannot be decrypted, the identity identification number is empty, and the above-mentioned authentication request cannot be passed. The process of transmitting encrypted data of the Internet of Things will only be carried out after the authentication request of the Internet of Things terminal is passed. Authentication before data transmission can effectively improve the security of data transmission.

[0050] Based on the above-mentioned authentication process, the IoT platform needs to first determine whether the IoT terminal needs to be authenticated and send a message to the IoT terminal indicating whether authentication is required. When authentication is required, the IoT terminal will send an authentication request, where the situations where authentication is required include when the IoT terminal has not yet been authenticated or the authentication has expired. For example, before receiving the authentication request from the IoT terminal, the method further includes: receiving heartbeat data from the IoT terminal, determining whether the IoT terminal has passed the authentication and whether the authentication has expired based on the heartbeat data, and generating a first prompt message to send to the IoT terminal. The first prompt message includes a message indicating that the IoT terminal has not yet been authenticated or the authentication has expired. When the IoT terminal receives the first prompt message, it will know that authentication is required and will send an authentication request to the IoT platform. Among them, heartbeat data refers to a small data packet sent by the IoT terminal to the IoT platform at fixed intervals. The heartbeat data can be used to confirm that the communication link between the IoT terminal and the IoT platform is maintained.

[0051] For example, after determining whether the authentication request is successful based on the identity identification number, the IoT platform sends a second prompt message to the IoT terminal. The second prompt message includes a message prompting the IoT terminal that the authentication is successful or a message prompting the IoT terminal that the authentication is unsuccessful. After receiving the second prompt message, the IoT terminal learns whether the authentication is successful. If the identity authentication is successful, the IoT terminal enters the IoT data transmission process, encrypts the IoT data, and sends it to the IoT platform. If the identity authentication fails, the IoT data is not transmitted.

[0052] Figure 4 shows a flowchart of the encrypted IoT data transmission process. After the authentication request is approved, the IoT terminal completes identity authentication, and the blockchain electronic contract marks the IoT terminal device as authenticated. Upon completion of authentication, the block to which the IoT data to be transmitted belongs is generated. The validity of the IoT data is then used to determine whether the block can be added to the blockchain (the process of adding the block to the blockchain is also known as on-chaining).

[0053] When transmitting IoT data, the IoT terminal encrypts the IoT data with the terminal private key to obtain IoT encrypted data, and the IoT platform receives the IoT encrypted data. For example, the encryption process of IoT data is as follows: Es = Fe (data, Sk)

[0054] In the above formula, Es represents IoT encrypted data, Fe represents encryption algorithm, Sk represents terminal private key, and data represents IoT data.

[0055] After the IoT platform receives the IoT encrypted data from the IoT terminal, it decrypts the IoT encrypted data with the terminal public key to obtain the IoT decrypted data. The decryption process is expressed as follows: data = Fd(Es, Pk)

[0056] In the above formula, data is the decrypted IoT decrypted data, Fd is the decryption function, Es is the IoT encrypted data, and Pk is the terminal public key.

[0057] After the IoT platform decrypts the IoT encrypted data to obtain the IoT decrypted data, it verifies the validity of the IoT data based on the blockchain electronic contract. The verification process is expressed as follows: b = f(data, ID)

[0058] In the above formula, b represents whether the verification is successful, data is the IoT decrypted data, and ID is the identity identification number. f is a verification function, and the verification process of this function is: the legitimacy is judged by combining the time, location, temperature, humidity and other status data in the IoT data data with the user order status and order start time. That is, the legitimacy of the status data contained in the IoT decrypted data is verified in combination with the user order information corresponding to the identity identification number. If the legitimacy verification is successful, the IoT decrypted data is verified to be valid. Otherwise, the IoT decrypted data is verified to be invalid. Exemplarily, the method also includes: the IoT platform displays the above-mentioned status data and / or user order information. Displaying the status data and user order information will facilitate users to observe and monitor data in the logistics data transmission process such as cold chain data.

[0059] For example, during a logistics transport process using this method for data transmission, before transport begins, the IoT platform receives a start request from the IoT terminal and initiates a blockchain electronic contract. During transport, the IoT platform periodically receives status data such as location, temperature, and humidity from the IoT terminal. Based on the blockchain electronic contract, the platform determines whether the data meets the requirements for on-chain upload. If the IoT terminal has permission and the IoT data is valid, the data is uploaded to the blockchain. At the end of the transport, the IoT platform receives a stop request from the IoT terminal, causing the blockchain electronic contract to cease operation.

[0060] An embodiment of the present application also provides an Internet of Things (IoT) platform comprising a memory and a processor. The memory stores a computer program executed by the processor. When executed by the processor, the computer program causes the processor to execute the aforementioned blockchain logistics data transmission method. After transportation begins, the IoT platform's processor receives IoT encrypted data from the IoT terminal and decrypts the IoT encrypted data to obtain IoT decrypted data. The IoT platform's processor then verifies the validity of the IoT decrypted data based on the blockchain electronic contract. Once the IoT decrypted data passes the validity verification, the block to which the IoT decrypted data belongs is added to the blockchain, completing the data transmission and block chaining. The IoT platform for container logistics and transportation supervision may include functions such as displaying transportation orders and container location status data. This may include a blockchain system, which has functions such as a consensus algorithm, block generation, block chaining, and electronic contracts.

[0061] According to the blockchain logistics data transmission method and IoT platform of the embodiments of the present application, the IoT terminal transmits the IoT data to the IoT platform in an encrypted manner. After decrypting the IoT data, the IoT platform uses a blockchain electronic contract to authenticate the data validity of the IoT terminal, thereby improving the credibility and security of the IoT data. Before data transmission, the identity of the IoT terminal is authenticated. Only after the identity authentication is passed can data transmission be performed, which reduces the possibility of data transmission errors and further improves the security and accuracy of data transmission. In addition, the blockchain node is on the server side, and there is no need for the IoT terminal to serve as a blockchain node, nor is there any need for additional equipment, which meets the use scenario of low power consumption, low computing power, and low storage capacity of logistics transportation equipment.

[0062] As shown in FIG5 , an embodiment of the present application further provides a blockchain logistics data transmission method, which is applied to an Internet of Things terminal. The method includes:

[0063] S51. After the transportation starts, the encrypted IoT encrypted data is sent to the IoT platform, so that the IoT platform decrypts the IoT encrypted data to obtain IoT decrypted data, and verifies the validity of the IoT decrypted data based on the blockchain electronic contract.

[0064] S52. After the IoT decrypted data passes the validity verification, the block to which the IoT decrypted data belongs is added to the blockchain.

[0065] Exemplarily, before sending the encrypted IoT encrypted data to the IoT platform, the method further includes: sending an authentication request to the IoT platform, with the authentication request accompanied by an encrypted identity identification ciphertext, so that the IoT platform decrypts the identity identification ciphertext based on the blockchain electronic contract to obtain an identity identification number, and determines whether the authentication request is passed based on the identity identification number.

[0066] Through the aforementioned logistics and transportation method, IoT terminals transmit IoT data to the IoT platform in an encrypted manner. After decrypting the IoT data, the IoT platform uses blockchain electronic contracts to verify the data validity of the IoT terminal, thereby enhancing the credibility and security of the IoT data. Prior to data transmission, the IoT terminal's identity is authenticated, and only after successful authentication can data be transmitted. This reduces the possibility of data transmission errors and further improves the security and accuracy of data transmission. Furthermore, since the blockchain node is located on the server side, there is no need for the IoT terminal to serve as a blockchain node, nor is there any need for additional equipment, meeting the requirements for low-power, low-computing, and low-storage logistics and transportation equipment.

[0067] Exemplarily, before sending an authentication request to the IoT platform, the method further includes: first sending heartbeat data to the IoT platform, and receiving a first prompt message from the IoT platform, the first prompt message including a message indicating that the IoT terminal has not yet been authenticated or that the authentication has expired. When the IoT terminal receives the first prompt message, it will know that authentication is required and will send an authentication request to the IoT platform. After sending the authentication request to the IoT platform, the IoT terminal receives a second prompt message from the IoT platform, the second prompt message including a message indicating that the IoT terminal has passed the authentication or a message indicating that the IoT terminal has failed the authentication. After receiving the second prompt message, the IoT terminal can know whether the authentication request has been passed, and the IoT data will be transmitted only after the authentication request has been passed.

[0068] Figure 3 shows a flowchart of the IoT identity authentication process. The IoT terminal sends an authentication request to the IoT platform. This request includes an encrypted identity ciphertext. The identity ciphertext is obtained by encrypting the terminal's identity using the terminal's private key.

[0069] For example, the encryption process is as follows: RD = Fe (ID, Sk)

[0070] In the above formula, RD is the encrypted identity ciphertext, Fe is the encryption algorithm function, ID is the terminal identity, and Sk is the terminal private key.

[0071] The Internet of Things platform receives the authentication request and the above-mentioned identity identification ciphertext, and decrypts the identity identification ciphertext based on the blockchain electronic contract to obtain the identity identification number, wherein the identity identification number is obtained by the Internet of Things platform by decrypting the identity identification ciphertext using the terminal public key.

[0072] Exemplarily, the decryption process is as follows: ID = Fd (RD, Pk)

[0073] In the above formula, ID is the decrypted identity number (if it cannot be decrypted, the ID is empty), Fd is the decryption function, RD is the encrypted identity ciphertext, and Pk is the terminal public key. After obtaining the decrypted identity number, the IoT platform determines whether the authentication request is passed based on the identity number. Exemplarily, the authentication process is as follows: determine whether the identity number already exists in the IoT platform. If so, the authentication request is passed. If not, the authentication request is not passed. In addition, if the identity ciphertext cannot be decrypted, the identity number is empty, and the above-mentioned authentication request cannot be passed. After the authentication of the IoT terminal is completed, the IoT terminal will receive a second prompt message from the IoT platform, and will be informed that its authentication request has passed. Only then will the IoT encrypted data transmission process be carried out. Authentication before data transmission can effectively improve the security of data transmission.

[0074] Figure 4 shows a flowchart of the encrypted IoT data transmission process. After the authentication request is approved, the IoT terminal completes identity authentication, and the blockchain electronic contract marks the IoT terminal device as authenticated. Upon completion of authentication, the block to which the IoT data to be transmitted belongs is generated. The validity of the IoT data is then used to determine whether the block can be added to the blockchain (the process of adding the block to the blockchain is also called on-chaining).

[0075] When transmitting IoT data, the IoT terminal encrypts the IoT data with the terminal private key to obtain IoT encrypted data, and the IoT platform receives the IoT encrypted data. For example, the encryption process of IoT data is as follows: Es = Fe (data, Sk)

[0076] In the above formula, Es represents IoT encrypted data, Fe represents encryption algorithm, Sk represents terminal private key, and data represents IoT data.

[0077] After the IoT platform receives the IoT encrypted data from the IoT terminal, it decrypts the IoT encrypted data with the terminal public key to obtain the IoT decrypted data. The decryption process is expressed as follows: data = Fd(Es, Pk)

[0078] In the above formula, data is the decrypted IoT decrypted data, Fd is the decryption function, Es is the IoT encrypted data, and Pk is the terminal public key.

[0079] After the IoT platform decrypts the IoT encrypted data to obtain the IoT decrypted data, it verifies the validity of the IoT data based on the blockchain electronic contract. The verification process is expressed as follows: b = f(data, ID)

[0080] In the above formula, b represents whether the verification is successful, data represents the IoT decrypted data, and ID represents the identification number. f represents the verification function, which verifies the validity of the IoT data by combining the time, location, temperature, humidity, and other status data contained in data with the user's order status and order start time. In other words, the validity of the status data contained in the IoT decrypted data is verified against the user order information corresponding to the identification number. If the validity verification passes, the IoT decrypted data is considered valid. Otherwise, the IoT decrypted data is considered invalid.

[0081] Exemplarily, the method further includes: before transportation begins, the IoT terminal sends a start request to the IoT platform, causing the IoT platform to initiate the blockchain electronic contract. During transportation, the IoT terminal periodically sends location, temperature, humidity, and other status data to the IoT platform. Based on the blockchain electronic contract, the IoT terminal determines whether the data meets the conditions for on-chain upload. If the IoT terminal has permission and the IoT data is valid, the data can be uploaded to the blockchain. At the end of transportation, the IoT terminal sends a stop request to the IoT platform, causing the blockchain electronic contract to cease operation.

[0082] An embodiment of the present application also provides an Internet of Things terminal, which includes a memory and a processor. The memory stores a computer program run by the processor. When the computer program is run by the processor, the processor executes the above-mentioned blockchain logistics data transmission method.

[0083] After transportation begins, the IoT terminal sends encrypted IoT data to the IoT platform, which decrypts the data and verifies its validity based on the blockchain electronic contract. Once the IoT decrypted data passes validation, the block containing the IoT decrypted data is added to the blockchain, completing the block chaining. Smart IoT terminals used for container logistics can include positioning capabilities and the collection and reporting of status data such as temperature and humidity.

[0084] According to the blockchain logistics data transmission method and IoT terminal of the embodiment of the present application, IoT data is transmitted to the IoT platform in an encrypted manner. After decrypting the IoT data, the IoT platform uses a blockchain electronic contract to authenticate the data validity of the IoT terminal, thereby improving the credibility and security of the IoT data. Before data transmission, the identity of the IoT terminal is authenticated. Only after the identity authentication is passed will data transmission be carried out, reducing the possibility of data transmission errors and further improving the security and accuracy of data transmission. In addition, the blockchain node is on the server side, and there is no need for the IoT terminal to serve as a blockchain node, nor is there any need for additional equipment, which meets the use scenario of low power consumption, low computing power, and low storage capacity of logistics transportation equipment.

[0085] The embodiment of the present application also provides a trusted Internet of Things system for the transmission of logistics data of the blockchain, which includes the above-mentioned Internet of Things platform and Internet of Things terminal. For example, as shown in Figure 6, the Internet of Things platform is used to receive and process various data, and the user terminal provides order business data to the Internet of Things platform. During the transportation process, the Internet of Things terminal regularly sends status data such as positioning, temperature, and humidity to the Internet of Things platform. After receiving the data, the Internet of Things platform performs data analysis, data display, business management, and authority management. The Internet of Things platform and the blockchain platform establish communication, and the blockchain platform provides the Internet of Things platform with identity authentication electronic contracts and data chain electronic contracts. The blockchain platform has functions such as consensus algorithm, block generation, data chain, and electronic contracts. For example, the blockchain can be a public chain or a consortium chain, and the blockchain can adopt a lightweight blockchain architecture to achieve fast, efficient and stable operation.

[0086] According to the blockchain logistics data transmission method, IoT terminal, IoT platform, and trusted IoT system for blockchain logistics data transmission in the embodiments of the present application, the IoT terminal transmits the IoT data to the IoT platform in an encrypted manner. After decrypting the IoT data, the IoT platform uses a blockchain electronic contract to authenticate the data validity of the IoT terminal, thereby improving the credibility and security of the IoT data. Before data transmission, the identity authentication of the IoT terminal is performed first. Only after the identity authentication is passed will data transmission be performed, reducing the possibility of data transmission errors and further improving the security and accuracy of data transmission. In addition, the blockchain node is on the server side, and there is no need for the IoT terminal to serve as a blockchain node, nor is there any need for additional equipment. This meets the use scenarios of low power consumption, low computing power, and low storage capacity of logistics transportation equipment, and can operate more quickly and efficiently.

[0087] Although example embodiments have been described herein with reference to the accompanying drawings, it should be understood that the above example embodiments are merely illustrative and are not intended to limit the scope of the present application. Various changes and modifications may be made therein by those skilled in the art without departing from the scope and spirit of the present application. All such changes and modifications are intended to be included within the scope of the present application as required by the appended claims.

[0088] Those skilled in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.

[0089] In the several embodiments provided in this application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are merely illustrative. For example, the division of the units described is merely a logical function division. In actual implementation, other division methods may be used, such as combining or integrating multiple units or components into another device, or ignoring or not performing some features.

[0090] In the description provided herein, a large number of specific details are described. However, it is understood that the embodiments of the present application can be practiced without these specific details. In some instances, well-known methods, structures, and techniques are not shown in detail so as not to obscure the understanding of this description.

[0091] Similarly, it should be understood that in order to streamline the present application and aid in understanding one or more of the various inventive aspects, in the description of the exemplary embodiments of the present application, the various features of the present application are sometimes grouped together into a single embodiment, figure, or description thereof. However, this approach of the present application should not be interpreted as reflecting the intention that the application claimed for protection requires more features than those explicitly recited in each claim. More precisely, as reflected in the corresponding claims, the inventive point is that the corresponding technical problem can be solved with fewer features than all the features of a single disclosed embodiment. Therefore, the claims following the detailed description are hereby expressly incorporated into the detailed description, with each claim itself serving as a separate embodiment of the present application.

[0092] It will be understood by those skilled in the art that, except where mutually exclusive, all features disclosed in this specification (including the accompanying claims, abstract, and drawings) and all processes or units of any method or apparatus disclosed herein may be combined in any combination. Unless expressly stated otherwise, each feature disclosed in this specification (including the accompanying claims, abstract, and drawings) may be replaced by an alternative feature providing the same, equivalent, or similar purpose.

[0093] Furthermore, those skilled in the art will appreciate that although some embodiments described herein include certain features included in other embodiments but not other features, combinations of features from different embodiments are intended to be within the scope of this application and to form different embodiments. For example, in the claims, any of the claimed embodiments may be used in any combination.

[0094] The various component embodiments of the present application can be implemented in hardware, or in a software module running on one or more processors, or in a combination thereof. Those skilled in the art will appreciate that a microprocessor or digital signal processor can be used in practice to implement some or all of the functions of some modules according to the embodiments of the present application. The application can also be implemented as a part or all of a device program (for example, a computer program and a computer program product) for performing the method described herein. Such a program realizing the present application can be stored on a computer-readable medium, or can have the form of one or more signals. Such a signal can be downloaded from an Internet website, or provided on a carrier signal, or provided in any other form.

[0095] It should be noted that the above embodiments illustrate rather than limit the present application, and that those skilled in the art may devise alternative embodiments without departing from the scope of the appended claims. In the claims, any reference signs placed between brackets should not be construed as limiting the claims. The word "comprising" does not exclude the presence of elements or steps not listed in the claims. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The present application may be implemented by means of hardware comprising several different elements and by means of suitably programmed computers. In a unit claim enumerating several means, several of these means may be embodied by the same item of hardware. The use of the words first, second, and third etc. does not indicate any order. These words may be interpreted as names.

[0096] The above description is merely a specific embodiment or illustration of a specific embodiment of the present application, and the scope of protection of the present application is not limited thereto. Any changes or substitutions that can be easily conceived by a person skilled in the art within the technical scope disclosed in the present application should be included in the scope of protection of the present application. The scope of protection of the present application should be based on the scope of protection of the claims.

Claims

1. A blockchain logistics data transmission method, applied to the Internet of Things platform, characterized in that: The method comprises: Receive heartbeat data from IoT terminals; Determining whether the IoT terminal needs authentication based on the heartbeat data; When it is determined that the Internet of Things terminal needs authentication, authenticating the Internet of Things terminal; When it is determined that the IoT terminal does not need authentication or the IoT terminal is authenticated, after transportation begins, receiving IoT encrypted data from the IoT terminal, and decrypting the IoT encrypted data to obtain IoT decrypted data; Verify the validity of the IoT decrypted data based on the blockchain electronic contract; When the IoT decrypted data passes the validity verification, the block to which the IoT decrypted data belongs is added to the blockchain; Among them, the IoT encrypted data is obtained by the IoT terminal encrypting the IoT data with the terminal private key; the IoT decrypted data is obtained by the IoT platform decrypting the IoT encrypted data with the terminal public key; the terminal private key and the terminal public key are allocated to the IoT terminal by the IoT platform before the IoT terminal leaves the factory.

2. The method according to claim 1, characterized in that: The authenticating the IoT terminal includes: Receiving an authentication request from the IoT terminal, wherein the authentication request includes an encrypted identity ciphertext; Decrypting the identity identification ciphertext based on the blockchain electronic contract to obtain an identity identification number; Determine whether the identity identification number already exists in the Internet of Things platform; If yes, the authentication request is passed; If not, the authentication request is not approved; If the identity identification ciphertext cannot be decrypted, the identity identification number is empty and the authentication request is rejected; The identity ciphertext is obtained by encrypting the terminal identity with the terminal private key of the IoT terminal; the identity number is obtained by encrypting the terminal identity with the terminal public key of the IoT platform. The terminal identity is assigned by the Internet of Things platform to the Internet of Things terminal before the Internet of Things terminal leaves the factory.

3. The method according to claim 1, characterized in that: The validity verification of the IoT decrypted data based on the blockchain electronic contract includes: Verify the legitimacy of the status data contained in the IoT decrypted data in combination with the user order information; If the legitimacy verification passes, the IoT decrypted data is verified to be valid; otherwise, the IoT decrypted data is verified to be invalid.

4. The method according to claim 3, characterized in that The method further comprises: Display the status data and / or the user order information.

5. An Internet of Things platform, characterized in that: The Internet of Things platform includes a memory and a processor, wherein the memory stores a computer program executed by the processor, and when the computer program is executed by the processor, the processor executes the blockchain logistics data transmission method described in any one of claims 1-4.

6. A blockchain logistics data transmission method, applied to an Internet of Things terminal, characterized in that: The method comprises: Sending heartbeat data to the IoT platform; Receiving a first prompt message or a second prompt message from the Internet of Things platform, wherein the first prompt message prompts that the Internet of Things terminal needs authentication, and the second prompt message prompts that the Internet of Things terminal can send data without authentication; Upon receiving the first prompt information, sending an authentication request to the Internet of Things platform; After receiving the second prompt information or the information indicating that the authentication is passed, after the transportation starts, the encrypted IoT encrypted data is sent to the IoT platform, so that the IoT platform decrypts the IoT encrypted data to obtain IoT decrypted data, and verifies the validity of the IoT decrypted data based on the blockchain electronic contract; When the IoT decrypted data passes the validity verification, the block to which the IoT decrypted data belongs is added to the blockchain; The IoT encrypted data is obtained by the IoT terminal encrypting the IoT data with the terminal private key; the IoT decrypted data is obtained by the IoT platform decrypting the IoT encrypted data with the terminal public key; the terminal private key and the terminal public key are The Internet of Things platform is allocated to the Internet of Things terminal before the Internet of Things terminal leaves the factory.

7. The method according to claim 6, characterized in that The authentication request is accompanied by an encrypted identity identification ciphertext, so that the Internet of Things platform decrypts the identity identification ciphertext based on the blockchain electronic contract to obtain an identity identification number, and determines whether the authentication request is passed based on the identity identification number; Among them, the identity identification ciphertext is obtained by the Internet of Things terminal encrypting the terminal identity identification with the terminal private key; the identity identification number is obtained by the Internet of Things platform decrypting the identity identification ciphertext with the terminal public key; the terminal identity identification is assigned to the Internet of Things terminal by the Internet of Things platform before the Internet of Things terminal leaves the factory.

8. The method according to claim 6, characterized in that The IoT data includes positioning data and logistics status data.

9. An Internet of Things terminal, characterized in that: The Internet of Things terminal includes a memory and a processor, and the memory stores a computer program run by the processor. When the computer program is run by the processor, the processor executes the blockchain logistics data transmission method described in any one of claims 6-8.

10. A trusted Internet of Things system for blockchain logistics data transmission, characterized in that: The system comprises the Internet of Things platform described in claim 5 and the Internet of Things terminal described in claim 9.

Citation Information

Patent Citations

  • Network access system and network access method

    CN111343286A

  • Internet-of-Things information recording method and system

    CN112073440A

  • Internet of Things data access control method and system based on block chain and IBE algorithm

    CN113783836A

  • Logistics data transmission method of block chain and credible Internet of Things system

    CN115914316A

  • Spacer for a hollow slab tube and hollow slab having the same

    KR102423432B1