Method, medium, IoT device, blockchain platform and IoT system for recording transportation data of an object
By burning the private key in the IoT device and using the blockchain platform to verify the data, the problem of temperature data tampering and untrustworthiness in cold chain transportation is solved, and accurate and secure recording of cargo transportation data is achieved.
Patent Information
- Application Number
- CN201711483635.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2017-12-29
- Publication Date
- 2024-10-15
- Estimated Expiration
- 2037-12-29
AI Technical Summary
During the cold chain transportation process, the temperature detection equipment lacks an identification number, which makes the temperature data easily tampered with, and the temperature of the goods itself cannot be detected in real time. The data is also easily tampered with and deleted during the transmission process, affecting the credibility of the transportation data. .
An IoT device is designed. By burning the private key in one-time software during the production process, combined with the sensor and processor, a data package containing a unique identification number and signature is generated, which is verified and stored through the blockchain platform. Ensure data accuracy and security.
It achieves accurate detection and recording of cargo transportation data, prevents data tampering, and ensures the authenticity and credibility of temperature and other environmental data during transportation.
Smart Images

Figure CN108073829B_ABST
Abstract
Description
Technical Field
[0001] The present disclosure generally relates to the field of Things of Internet (IoT), and more specifically, to a method for recording transportation data of an object, a computer-readable medium, an IoT device, a blockchain platform, and an IoT system. Background Art
[0002] At present, with the increasing demand for various goods and the development of logistics and transportation networks, cold chain transportation has become a common mode of transportation, especially for many goods that could not or were inconvenient to transport over long distances before. For example, various fresh foods such as vegetables, fruits, and meat, and various frozen foods and processed foods such as dairy products can be delivered from production sites thousands of kilometers away to local supermarkets or consumers' homes through cold chain transportation. In addition, some medicines and medical devices that require low-temperature refrigeration also need to be transferred from one place to another through cold chain transportation. The cold chain transportation method can be any of road transportation, water transportation, rail transportation, and air transportation, or it can be a comprehensive transportation method composed of multiple transportation methods. During the entire transportation process, whether it is loading and unloading, changing the mode of transportation, changing the packaging equipment, etc., it is necessary to keep the transported object at a certain temperature at all times.
[0003] In the current cold chain transportation process, temperature detection equipment is used to detect and record the temperature of various locations, such as production warehouses, transportation vehicles (such as refrigerated trucks) and destinations (such as supermarket stores or logistics distribution points). Summary of the invention
[0004] However, since the current temperature detection equipment uses a universal temperature sensor without an identification number, the temperature data provided may have been tampered with. For example, in many refrigerated trucks, the temperature detection equipment is fixed in the compartment and powered by the vehicle itself. During long-distance transportation, the driver may turn off the power supply of the refrigerated compartment to save power but keep the reading of the temperature detection equipment unchanged. In this way, when the goods arrive at the destination, a series of constant and qualified temperature values are obtained from the temperature detection equipment, but in fact the goods are not always kept at this temperature value during transportation.
[0005] In addition, in the current temperature detection and recording process, usually only the ambient temperature of a specific point in various locations (such as warehouses, transportation vehicles and destinations) can be detected, and the temperature of the goods themselves cannot be detected at close range.
[0006] Furthermore, in the current cold chain transportation process, temperature data is read from the temperature detection device after arriving at the destination and transmitted to a centralized database. The data in this database is easily tampered with and deleted, making the data unreliable.
[0007] In addition to cold chain transportation, for the transportation of some other special goods, such as fragile items, it is also necessary to continuously record various data during the transportation process to ensure that the transportation conditions meet the requirements.
[0008] In order to solve at least one of the above problems, the present disclosure provides a method capable of recording transportation data of an object, an Internet of Things device, and an Internet of Things system including such an Internet of Things device.
[0009] According to a first aspect of the present disclosure, an Internet of Things device for recording transportation data of an object is provided. The Internet of Things device is once-software-burned with a private key during the production process. The Internet of Things device includes: at least one sensor configured to sense external environmental data of the object during transportation; and a processor configured to receive the data from the sensor, and generate a data packet based on the data using the private key, the data packet including a unique identification number of the Internet of Things device, the data, and a signature generated based on the unique identification number and the data.
[0010] According to a second aspect of the present disclosure, a method for recording transportation data of an object is provided. The method comprises: receiving external environment data of the object during transportation sensed by at least one sensor of an Internet of Things device, wherein the Internet of Things device is once-programmed with a private key during the production process; and generating a data packet based on the data using the private key, wherein the data packet includes a unique identification number of the Internet of Things device, the data, and a signature generated based on the unique identification number and the data.
[0011] According to a third aspect of the present disclosure, a non-volatile computer-readable medium for recording transportation data of an object is provided. The non-volatile computer-readable medium includes: a computer program code for receiving external environment data of the object during transportation sensed by at least one sensor of an Internet of Things device, wherein the Internet of Things device is once-software-burned with a private key during the production process; and a computer program code for generating a data packet based on the data using the private key, wherein the data packet includes a unique identification number of the Internet of Things device, the data, and a signature generated based on the unique identification number and the data.
[0012] According to a fourth aspect of the present disclosure, a blockchain platform for recording transportation data of an object is provided. The blockchain platform includes: an underlying blockchain; and an application server or a smart contract entity, which is configured to receive a data packet from an IoT device, verify the data packet based on a public key of the IoT device, and store the data in the data packet to the underlying blockchain when the verification is successful.
[0013] According to a fifth aspect of the present disclosure, a method for recording transportation data of an object is provided. The method comprises: receiving a data packet from an IoT device; verifying the data packet based on a public key of the IoT device; and storing the data in the data packet to an underlying blockchain when the verification is successful.
[0014] According to a sixth aspect of the present disclosure, a non-volatile computer-readable medium for recording transportation data of an object is provided. The non-volatile computer-readable medium includes: computer program code for receiving a data packet from an Internet of Things device; computer program code for verifying the data packet based on a public key of the Internet of Things device; and computer program code for storing the data in the data packet to an underlying blockchain when the verification is successful.
[0015] Compared with conventional IoT devices and systems for recording cargo transportation data, the solution disclosed in the present invention can ensure accurate detection and recording of cargo transportation data and can prevent data from being tampered with. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] 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:
[0017] Figure 1 A block diagram of the structure of an Internet of Things device for recording transportation data of an object according to the present disclosure is shown;
[0018] Figure 2 A block diagram showing a method 100 for recording transportation data of an object according to an application of the present disclosure;
[0019] Figure 3 A schematic diagram of an Internet of Things system for recording transportation data of an object according to the present disclosure is shown;
[0020] Figure 4A A block diagram of a blockchain platform according to an embodiment of the present disclosure is shown;
[0021] Figure 4B A block diagram showing a blockchain platform according to another embodiment of the present disclosure; and
[0022] Figure 5 A flow chart of a method for recording transportation data of an object according to the present disclosure is shown. DETAILED DESCRIPTION
[0023] 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.
[0024] Figure 1 FIG. 1 shows a block diagram of an Internet of Things device 10 for recording transportation data of an object according to the present disclosure. Figure 1 As shown in FIG, the IoT device 10 includes at least one sensor 12 and a processor 14. The sensor 12 is configured to sense external environment data of an object during transportation.
[0025] The sensor 12 may be a combination of one or more of an environmental sensor, a motion sensor, a gas sensor, and a position sensor as described below.
[0026] In one implementation, the sensor 12 may be an environmental sensor such as a temperature sensor, a humidity sensor, or an air pressure sensor. For example, in the cold chain transportation described in the background technology section of the present disclosure, when transporting fresh foods such as vegetables, fruits, meat, and fresh dairy products, the temperature and humidity during transportation are extremely important for maintaining the quality of the goods. Therefore, the sensor 12 may use a temperature sensor and / or a humidity sensor to monitor the temperature and / or humidity of the goods during transportation. For another example, the transportation of certain goods may require a specific air pressure, such as low air pressure or high air pressure. In this case, the sensor 12 may use an air pressure sensor to monitor the air pressure of the goods during transportation.
[0027] In another implementation, the sensor 12 may be a motion sensor (also referred to as an inertial sensor) such as a gyroscope, an acceleration sensor, or a compass. For example, for some fragile items, it is necessary to monitor acceleration or impact during transportation, so in this case the sensor 12 may be an acceleration sensor.
[0028] In another implementation, the gas sensor includes a sensor capable of detecting various gases, such as a sensor for detecting carbon monoxide (CO), carbon dioxide (CO2), formaldehyde gas, etc., which can be a gas sensor using various principles. For example, when transporting goods that are sensitive to certain gases, the sensor 12 can use a gas sensor for monitoring the concentration of such a gas.
[0029] In addition, the sensor 12 may also be a location sensor such as a global positioning system (GPS) for monitoring the location trajectory of the cargo during transportation.
[0030] Figure 2FIG. 1 is a block diagram of a method 100 for recording transportation data of an object according to an application of the present disclosure. The method 100 is, for example, Figure 1 The processor 14 in the IoT device shown in FIG. Figure 1 and Figure 2 The method 100 is described.
[0031] The processor 14 is configured to receive the sensed external environment data from the sensor 12 (step 102). Different from conventional IoT devices, the IoT device 10 according to the present disclosure has a unique identification number and is associated with a public-private key pair specific to the IoT device 10. In addition, the processor 14 is configured to process the data received from the sensor 12 using the private key in the public-private key pair to generate a data packet (step 106). The private key can be burned into the IoT device 10 by one-time software (OTP) during the production process of the IoT device 10, for example Figure 1 In the memory 17 of the Internet of Things device 10 shown in . Here, one-time software burning refers to programming data into a non-volatile memory, in which the setting of each bit is locked by a fuse or an antifuse. The memory that executes OTP is a read-only memory (ROM), and data can only be burned once on this memory. Therefore, the data on this memory is permanently immutable. By burning the private key once onto the Internet of Things device 10 during the production process of the Internet of Things device 10, the private key of the Internet of Things device 10 will not change during the entire life cycle of the Internet of Things device 10, thereby ensuring the security of the private key and the security of the data acquired by the sensor 12. The data packet contains at least the unique identification number of the Internet of Things device 10, the data received from the sensor 12, and the signature generated based on the unique identification number and the data.
[0032] In one implementation, the processor 14 may use the public key in the public-private key pair as the unique identification number of the IoT device 10. By reusing the public key as the unique identification number of the IoT device 10, the signaling required for the blockchain platform 20 to identify the IoT device 10 is reduced. In this case, the IoT device 10 registers its unique identification number with the blockchain platform so that the blockchain platform can know its unique identification number and public key at the same time.
[0033] In another implementation, the unique identification number of the IoT device 10 is generated by the processor 14 based on the public key in the public-private key pair. For example, the processor 14 may perform an encrypted hash operation on the public key and use the operation result as the unique identification number of the IoT device 10. By separately setting the unique identification number and public key of the IoT device 10, the public key of the IoT device 10 can also be protected and if the same hash operation is used, the unique identification numbers of all IoT devices provided by a provider can have the same length. In this case, the IoT device 10 can send its public key to the blockchain platform through the registration process, and inform the blockchain platform of the hash operation used, such as the two preset in advance or inform the blockchain platform through a separate signaling. It will be understood by those skilled in the art that the present disclosure is not limited to this, and the unique identification number of the IoT device 10 can be obtained or assigned by any other known or future developed method, as long as the unique identification number can globally and uniquely identify the IoT device 10.
[0034] In one implementation, the process of the processor 14 generating a data packet in step 104 may include the following sub-steps. First, the processor 14 performs a hash operation on the combination of the unique identification number of the IoT device 10 and the data received from the sensor 12 (sub-step 1042). Unlike only performing a hash operation on the sensed data, by performing a hash operation on both the sensed data and the unique identification number, both the unique identification number and the sensed data can be protected. Then, the processor 14 uses the private key in the public-private key pair to asymmetrically encrypt the result of the hash operation to generate a signature (sub-step 1044). The hash operation here can be any one of the conventional MD4, MD5, SHA-1, SHA-2, SHA-3, BLAKE2 and other algorithms. In addition, it should be noted that the hash operation performed by the processor 14 on the unique identification number and the data can be the same or different from the hash operation for generating the unique identification number of the IoT device 10 as described above. Finally, the processor 14 packages the unique identification number of the IoT device 10, the data received from the sensor 12 and the generated signature into a data packet (sub-step 1046).
[0035] In one example, the content of the data packet generated by the processor 14 includes the unique identification number of the IoT device 10, the data received from the sensor 12, and the signature generated by the processor 14, and the format of the data packet may be fixed or variable, which will be described in detail below.
[0036] In addition, the processor 14 is also configured to send the generated data packet to the blockchain platform (such as Figure 310) for storage (step 106). To this end, the IoT device 10 may further include a communication module 16 configured to receive a data packet from the processor 14 and send the data packet to the blockchain platform for storage. Before sending the data packet, the communication module 16 is also configured to, for example, under the control of the processor 14, register the unique identification number of the IoT device 10 with the blockchain platform.
[0037] In some cases, it may be desirable to centrally read out all data during the transportation of an object at the destination, and for this purpose, an offline communication function may be configured for the IoT device 10. In these cases, the communication module 16 may include an offline communication interface, which communicates with the scanner via short-range communication to send a data packet generated by the processor 14 to the scanner, which is in turn forwarded by the scanner to the blockchain platform. Here, short-range communication may include near field communication (NFC), radio frequency identification (RFID) communication, or any other short-range communication method known in the art or developed in the future, such as any one or more of WiFi, Bluetooth, ZIGBEE, etc.
[0038] In some cases, it may be desirable to monitor all data during the transportation of an object in real time or substantially in real time, and for this purpose, an online communication function may be configured for the IoT device 10. In these cases, the communication module 16 may include an online communication interface that is directly connected to a wireless access network and sends the data packets generated by the processor 14 to the blockchain platform through the wireless access network. Here, the online communication function of the communication module 16 may be implemented by any wireless access technology (RAT) known in the art or developed in the future.
[0039] Those skilled in the art will appreciate that whether the communication module 16 is configured to support online communication or offline communication or both may depend on various factors, such as production cost and the condition of the goods to be monitored.
[0040] In addition to the above-mentioned wireless communication function, the communication module 16 of the IoT device 10 may also support a wired communication function. In this case, the communication module 16 includes a wired communication interface (e.g., a universal serial bus (USB) interface), which directly or indirectly sends the data packet generated by the processor 14 to the blockchain platform via a data cable (e.g., a USB cable).
[0041] In addition, the IoT device 10 may also include a power supply component 18, which is used to power itself. The power supply component 18 may be a battery, etc. Unlike the detection device in the conventional technology that is powered by an external power supply, by using the power supply component contained in itself for self-power supply, the data obtained by the sensor 12 can be further prevented from being tampered with.
[0042] It is understandable that the IoT device 10 according to the present disclosure may also include other components related to or unrelated to the solution of the present disclosure, such as a memory, a transceiver, and an antenna, etc., which will not be described in detail here.
[0043] Figure 3 FIG. 1 is a schematic diagram of an Internet of Things system 1 for recording cargo transportation data according to the present disclosure. Figure 2 As shown in FIG. 1 , the Internet of Things system 1 combines the above Figure 1 In addition to the described IoT device 10, a blockchain platform 20 is also included. The blockchain platform 20 is configured to receive a data packet generated by the processor 14 from the IoT device 10, verify the data packet based on the public key of the IoT device 10, and store the data in the data packet when the verification is successful.
[0044] As described above, the format of the data packet can be fixed or variable. In one implementation, a data packet with a fixed format is used. Table 1 below shows an exemplary fixed format of a data packet:
[0045] Table 1
[0046] Unique identification number data sign
[0047] The unique identification number field indicates the unique identification number of the IoT device 10, the data field indicates the data sensed by the sensor 12, and the signature field indicates the signature generated by the processor 14 according to the unique identification number of the IoT device 10 and the data sensed by the sensor 12. Those skilled in the art can understand that the fixed format of the data packet is not limited to the specific order or form shown in Table 1, but can adopt various other forms that can be conceived by those skilled in the art.
[0048] In the case of using a fixed format data packet, the fixed format can be pre-configured in the IoT device 10 and the blockchain platform 20. For example, the length value and arrangement order of the unique identification number field, the data field, and the signature field can be pre-configured.
[0049] Figure 4A FIG. 2 shows a block diagram of a blockchain platform 20 according to an embodiment of the present disclosure. Figure 4A As shown, the blockchain platform 20 includes an underlying blockchain 22 and an application server 24 that interfaces with the underlying blockchain 22, such as an application server of a provider of a recording service for the transportation data described in the present disclosure.
[0050] Figure 4B FIG. 2 shows a block diagram of a blockchain platform 20 according to another embodiment of the present disclosure. Figure 4BAs shown, the blockchain platform 20 includes an underlying blockchain 22, which in turn includes a plurality of blockchain nodes 26. In this implementation, a smart contract dedicated to the recording of transportation data (such as Figure 4B ), and publish the smart contract to the blockchain platform 20, for example, to multiple blockchain nodes 26. At this time, the blockchain node 26 is the host of the smart contract 28, also referred to as the smart contract entity 28 in this disclosure. The smart contract 28 can be developed by the developer of the system 1 or other providers, and can be considered as part of the system 1.
[0051] Here, the underlying blockchain 22 can be any blockchain known in the art or developed in the future, including a public chain, a consortium chain, or a private chain, etc., which will not be described in detail in this disclosure.
[0052] Figure 5 A flow chart of a method 200 for recording transportation data of an object according to the present disclosure is shown. The method 200 is implemented, for example, by a blockchain platform 20. Figure 4A-4B and Figure 5 The method 200 is described.
[0053] In step 202, the blockchain platform 20 receives a data packet from the IoT device 10. It is understood that the data packet should be accompanied by the unique identification number of the IoT device 10. Next, the blockchain platform 20 determines whether the unique identification number has been registered (step 204). If the unique identification number has been registered (step 204 is judged as "yes"), the blockchain platform 20 extracts the combination of the unique identification number of the IoT device 10 and the data sensed by the sensor 12 from the data packet (step 206), and extracts the signature from the data packet (step 208). Then, the blockchain platform 20 performs the same hash operation on the combination of the unique identification number and the data as performed by the processor 14 when generating the data packet (step 210), and uses the public key of the IoT device 10 to decrypt the signature (step 212). Next, the blockchain platform 20 compares the result of the hash operation with the result of the decryption (step 214) to determine whether the two are the same (step 216). If the two are the same (step 216 is judged as "yes"), it indicates that the verification of the data packet has passed, so that the data in the data packet is stored on the underlying blockchain 22. If the judgment of step 204 or step 216 is no, the operation of method 200 ends (step 220). Due to the tamper-proof characteristics of the blockchain itself, the data stored on the blockchain 22 can be stored securely.
[0054] Depending on the implementation of the blockchain platform 20, the various steps of the method 200 may be implemented by the application server 24 or the smart contract entity 28 or a combination thereof. For example, steps 202 to 216 of the above method 200 may be completely implemented in Figure 4A The application server 24 shown or Figure 4B The smart contract entity 28 is shown in FIG. 2 and then the data is stored in the underlying blockchain 22 in step 218. Alternatively, steps 202, 204, 208 and 212 of the above method can be performed by the server 24, and the other steps can be performed by the smart contract entity 28. In this case, the blockchain platform 20 can be implemented as Figure 4A and Figure 4B Combination of blockchain platforms shown.
[0055] In the case where the communication module 16 includes an offline communication interface, the IoT system 1 further includes a scanner 30, which is used to receive a data packet from the IoT device 10 and forward the data packet to the blockchain platform 20. Depending on the short-range communication method supported by the IoT device 10, the scanner 30 should support the same short-range communication method.
[0056] According to the scheme disclosed in the present invention, at the beginning of cargo transportation, the IoT device 10 can be powered on and placed together with the cargo (for example, in the cargo packaging box), and at various locations during the cargo transportation process (such as warehouses, various means of transportation, and destinations), each data packet generated by the IoT device 10 during the transportation process is periodically or non-periodically transmitted to the blockchain platform 20 (for the case where the IoT device 10 supports online communication functions), or when the cargo arrives at the destination, all data packets generated during the transportation process are obtained from the IoT device 10 at one time and transmitted to the blockchain platform 20 (for the case where the IoT device 10 supports offline communication functions).
[0057] By assigning a unique identification number to the IoT device 10 , it is possible to prevent the sensor 12 from being copied and false data from being obtained from the copied sensor.
[0058] By using the burning software to burn the private key into the IoT device 10 once and using the private key to encrypt the data acquired by the sensor 12 and having the blockchain platform 20 decrypt it using the corresponding public key, the security of data transmission can be guaranteed.
[0059] In addition, by uploading data to the blockchain platform and having the blockchain platform verify and store the data, the security of data storage can be further improved.
[0060] In one or more exemplary designs, the functions described in 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 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 present disclosure is intended to enable any person of ordinary skill in the art to implement or use the present disclosure. Various modifications of the present disclosure are obvious to those of ordinary skill in the art, and the general principles defined herein may 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 scope of the principles and novel features disclosed herein.
Claims
1. An IoT device for recording transportation data of an object, wherein the IoT device is programmed with a private key in a one-time software during the production process, and the IoT device comprises: at least one sensor configured to sense external environment data of the object during transportation; as well as A processor configured to receive the data from the sensor and generate a data packet based on the data using the private key, the data packet including a unique identification number of the IoT device, the data, and a signature generated according to the unique identification number and the data; The processor is further configured to: Generating the unique identification number using the public key corresponding to the private key; performing a hash operation on a combination of the unique identification number and the data; Asymmetrically encrypting the combination of the unique identification number and the data after the hash operation using the private key to generate the signature; as well as The unique identification number of the Internet of Things device, the data and the signature are packaged into the data packet.
2. The IoT device of claim 1, wherein the processor is further configured to: A hash operation is performed on the public key and a result of the hash operation is used as the unique identity identification number.
3. The IoT device of claim 1, wherein the processor is further configured to: The public key corresponding to the private key is used as the unique identity identification number.
4. The IoT device of claim 1, wherein the processor is further configured to: Register the unique identification number of the IoT device to the blockchain platform.
5. The IoT device of claim 1, wherein the processor is further configured to: The data packet is sent to the blockchain platform.
6. The IoT device according to claim 5, further comprising: A communication module is configured to receive the data packet from the processor and send the data packet to the blockchain platform for storage.
7. The Internet of Things device as claimed in claim 6, wherein the communication module includes an online communication interface, which is directly connected to a wireless access network and sends the data packet to the blockchain platform through the wireless access network.
8. The IoT device of claim 6, wherein the communication module comprises an offline communication interface, which communicates with a scanner via short-range communication to send the data packet to the scanner, which is in turn forwarded by the scanner to the blockchain platform.
9. The Internet of Things device as claimed in claim 8, wherein the short-range communication comprises at least one of near field communication (NFC), radio frequency identification (RFID) communication, WiFi communication, Bluetooth communication, and ZIGBEE communication.
10. The Internet of Things device as claimed in claim 6, wherein the communication module includes a wired communication interface, which directly or indirectly sends the data packet to the blockchain platform via a data cable.
11. The Internet of Things device of claim 1, wherein the sensor comprises at least one of an environmental sensor, a motion sensor, a gas sensor, and a position sensor.
12. The IoT device of claim 1, further comprising a power supply component for supplying power to the IoT device.
13. A method for recording transportation data of an object, comprising: Receiving external environment data of the object during transportation sensed by at least one sensor of an IoT device, wherein the IoT device is once-burned with a private key during production; and Generate a data packet based on the data using the private key, the data packet including a unique identification number of the IoT device, the data, and a signature generated based on the unique identification number and the data; The method further comprises: Generating the unique identification number using the public key corresponding to the private key; performing a hash operation on a combination of the unique identification number and the data; asymmetrically encrypting the hashed unique identification number and the data using the private key to generate the signature; and The unique identification number of the Internet of Things device, the data and the signature are packaged into the data packet.
14. A non-transitory computer readable medium for recording transport data of an object, having program code stored thereon, the program code being executed to cause a processor to: Receiving external environment data of the object during transportation sensed by at least one sensor of the IoT device, wherein the IoT device is once-programmed with a private key during production, and generating a data packet based on the data using the private key, wherein the data packet includes a unique identification number of the IoT device, the data, and a signature generated according to the unique identification number and the data; Generating the unique identification number using the public key corresponding to the private key; performing a hash operation on a combination of the unique identification number and the data; Asymmetrically encrypting the combination of the unique identification number and the data after the hash operation using the private key to generate the signature; as well as The unique identification number of the Internet of Things device, the data and the signature are packaged into the data packet.
15. A blockchain platform for recording transportation data of an object, comprising: The underlying blockchain; as well as An application server or smart contract entity configured to receive a data packet from an IoT device, verify the data packet based on a public key of the IoT device, and store the data in the data packet to the underlying blockchain upon successful verification; The data packet includes the unique identification number of the IoT device, the data, and a signature generated based on the unique identification number and the data; The application server or smart contract entity is also configured to: Extracting the unique identification number of the IoT device, the combination of the data and the signature from the data packet respectively; performing a hash operation on the combination of the unique identification number and the data, the hash operation being the same as that performed by a processor of the IoT device on the combination of the unique identification number and the data; Decrypting the signature using the public key of the IoT device; Comparing the decrypted result with the result of hashing the combination; If the decrypted result is the same as the result of the hash operation on the combination, the data is stored in the underlying blockchain.
16. The blockchain platform of claim 15, wherein the application server or smart contract entity is further configured to: The data packet is received from a scanner in communication with the IoT device.
17. A method for recording transportation data of an object, comprising: Receive data packets from IoT devices; Verifying the data packet based on the public key of the IoT device; as well as Upon successful verification, storing the data in the data packet into the underlying blockchain; The data packet includes the unique identification number of the IoT device, the data, and a signature generated based on the unique identification number and the data; The method further comprises: Extracting the unique identification number of the IoT device, the combination of the data and the signature from the data packet respectively; performing a hash operation on the combination of the unique identification number and the data, the hash operation being the same as that performed by a processor of the IoT device on the combination of the unique identification number and the data; Decrypting the signature using the public key of the IoT device; Comparing the decrypted result with the result of hashing the combination; If the decrypted result is the same as the result of the hash operation on the combination, the data is stored in the underlying blockchain.
18. A non-transitory computer readable medium for recording transport data of an object, having program code stored thereon, the program code being executed to cause a processor to: Receive a data packet from an IoT device, verify the data packet based on a public key of the IoT device, and store the data in the data packet to an underlying blockchain when verification succeeds; The data packet includes the unique identification number of the IoT device, the data, and a signature generated based on the unique identification number and the data; The program code is further executed to cause the processor to: Extracting the unique identification number of the IoT device, the combination of the data and the signature from the data packet respectively; performing a hash operation on the combination of the unique identification number and the data, the hash operation being the same as that performed by a processor of the IoT device on the combination of the unique identification number and the data; Decrypting the signature using the public key of the IoT device; Comparing the decrypted result with the result of hashing the combination; If the decrypted result is the same as the result of the hash operation on the combination, the data is stored in the underlying blockchain.
19. An Internet of Things system for recording transportation data of an object, comprising: The Internet of Things device as claimed in claim 1; as well as The blockchain platform of claim 15.
Citation Information
Patent Citations
Data access method, system and device
CN106991334A
A thing networking systems for commodity circulation information service
CN206542452U
Establishing unique key during chip manufacturing
EP2506176A1
Environmental information recording system, environmental information recording server, environmental information recording method and environmental information recording program
JP2006176295A
BLOCK CHAIN BASED IoT DEVICE IDENTITY VERIFICATION AND ANOMALY DETECTION
US20170302663A1
