Cold chain transportation management method and system based on Internet of Things, and storage medium

By adopting the Internet of Things-based blockchain technology and QR code identity binding method in cold chain transportation, the problem of goods being replaced during transportation is solved, and the authenticity verification of the goods and the safety and reliability of the transportation process are realized.

CN120198044AInactive Publication Date: 2025-06-24BEIJING DUSHI DIGITAL TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510324584.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-03-19
Publication Date
2025-06-24
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

The existing cold chain transportation management methods are difficult to ensure the authenticity of goods, which can easily lead to the replacement of goods during transportation.

Method used

The cold chain transportation management method based on the Internet of Things is adopted to obtain the identity data information of the target cargo, generate the initial cargo record information, and write a new block in the blockchain network. The initial cargo record information is encrypted using a preset encryption algorithm, a QR code is generated and bound to the cargo. During transportation, transportation status information is obtained in real time and written to the blockchain, based on this information, the authenticity of the goods is verified, and the verification results are stored in the blockchain.

Benefits of technology

Through the application of blockchain technology, the untampered recording of cargo data is realized, preventing data forgery or tampering, ensuring the safety and reliability of the cargo transportation process, and improving the anti-counterfeiting ability of cold chain transportation. At the same time, through the combination of QR code and the Internet of Things, real-time verification and traceability of goods are achieved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120198044A_ABST
    Figure CN120198044A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of supply chain management, and provides a cold chain transportation management method and system based on the Internet of Things, and a storage medium, and the method comprises the steps: obtaining the identity data information of a target cargo, and generating initial cargo record information based on the identity data information; generating a new block in the block chain network, and writing the initial cargo record information into the new block; encrypting the initial cargo record information based on a preset encryption algorithm to obtain encrypted initial cargo record information, generating a two-dimensional code corresponding to the encrypted initial cargo record information, and binding the two-dimensional code with the target cargo; when the authenticity of the target goods needs to be verified; and verifying the authenticity of the target cargo based on the initial cargo record information and the two-dimensional code, and storing verification result information to the new block. According to the method, the authenticity of the target goods in the transportation process can be effectively verified by combining a block chain technology and two-dimensional code identity binding.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the technical field of supply chain management, and particularly to a cold chain transportation management method, system and storage medium based on the Internet of Things. Background Art

[0002] With the rapid development of the global economy and the continuous growth of consumers' demand for high-quality goods such as food and medicine, the importance of the cold chain transportation industry has become increasingly prominent. Cold chain transportation refers to a logistics method that ensures the freshness and safety of goods within a specific temperature range through constant temperature control technology during transportation. It is widely used in fields such as food, medicine, and biological products. Especially in the transportation of vaccines, fresh food, and high-end medicine, the quality of cold chain transportation is directly related to the safety and effectiveness of goods. However, the existing cold chain transportation management methods are difficult to guarantee the authenticity of goods and are prone to the replacement of goods during transportation. Summary of the Invention

[0003] This application provides a cold chain transportation management method, system and storage medium based on the Internet of Things to solve the problems raised in the above background art.

[0004] In a first aspect, this application provides a cold chain transportation management method based on the Internet of Things, including: Obtain the identity data information of the target goods and generate initial goods record information based on the identity data information; Generate a new block in the blockchain network and write the initial goods record information into the new block; Perform encryption processing on the initial goods record information based on a preset encryption algorithm to obtain encrypted initial goods record information, generate a two-dimensional code corresponding to the encrypted initial goods record information, and bind the two-dimensional code to the target goods; During the transportation of the target goods, obtain the transportation status information in real time, write the transportation status information into the new block, and determine whether to verify the authenticity of the target goods based on the transportation status information; If so, verify the authenticity of the target goods based on the initial goods record information and the two-dimensional code, and store the verification result information into the new block; the initial goods record information, the transportation status information, and the verification result information constitute the target goods record information.

[0005] In a possible implementation manner, the generating of the initial goods record information based on the identity data information includes: Generate an identifier of the target goods based on the identity data information; Send the identifier to each authorized party so that each authorized party generates a signature; Obtain the signatures sent by each of the said authorizing parties and verify each of the said signatures; After each of the said signatures passes the verification, sign the said identifier based on each of the said signatures to obtain the initial goods record information.

[0006] In a possible implementation manner, the encrypting and processing the initial goods record information based on a preset encryption algorithm to obtain the encrypted initial goods record information includes: Randomly generate a set of elliptic curve parameters; Draw an elliptic curve based on the said elliptic curve parameters; Sequentially and randomly determine a first base point, a second base point, a third base point, and a fourth base point on the said elliptic curve in the clockwise direction; Generate a public key and a private key based on the said first base point, the said second base point, the said third base point, and the said fourth base point; Encrypt the initial goods record information based on the said private key to obtain the encrypted initial goods record information, and write the public key into the said new block.

[0007] In a possible implementation manner, the generating a public key and a private key based on the said first base point, the said second base point, the said third base point, and the said fourth base point includes: Sequentially connect the said first base point, the said second base point, the said third base point, the said fourth base point, and the said first base point by straight lines to obtain a first line segment, a second line segment, a third line segment, and a fourth line segment; the area enclosed by the said first line segment, the said second line segment, the said third line segment, and the said fourth line segment is the target area; Solve the straight-line equations corresponding to the said first line segment, the said second line segment, the said third line segment, and the said fourth line segment respectively to obtain a first straight-line equation, a second straight-line equation, a third straight-line equation, and a fourth straight-line equation; Determine a target coordinate point within the said target area; the coordinate values of the said target coordinate point are all integers; Generate a public key based on the said first straight-line equation, the said second straight-line equation, the said third straight-line equation, and the said fourth straight-line equation; Generate the said private key based on each of the said target coordinate points.

[0008] In a possible implementation manner, the generating a public key based on the said first straight-line equation, the said second straight-line equation, the said third straight-line equation, and the said fourth straight-line equation includes: Arrange the slopes of the first linear equation, the second linear equation, the third linear equation, and the fourth linear equation in sequence to obtain a slope sequence, and arrange the intercepts of the first linear equation, the second linear equation, the third linear equation, and the fourth linear equation in sequence to obtain an intercept sequence; Calculate a first hash value of the slope sequence based on a preset hash algorithm, and calculate a second hash value of the intercept sequence based on the hash algorithm; Delete a first target character from the first hash value to obtain a first character sequence; the first target character is a number, and the value corresponding to the sequence of the first target character in the first hash value is a prime number; Delete a second target character from the second hash value to obtain a second character sequence; the second target character is a number, and the value corresponding to the sequence of the second target character in the second hash value is a composite number; Place the second character sequence after the first character sequence to obtain the public key.

[0009] In a possible implementation manner, generating the private key based on each of the target coordinate points includes: For each of the target coordinate points, add the abscissa and the ordinate of the target coordinate point to obtain a value corresponding to the target coordinate point; Based on the positions of each of the target coordinate points, arrange the values corresponding to each of the target coordinate points in sequence to obtain a value sequence; Calculate a third hash value corresponding to the value sequence based on a preset hash algorithm; the third hash value is the private key.

[0010] In a possible implementation manner, verifying the authenticity of the target goods based on the initial goods record information and the two-dimensional code includes: Scan the two-dimensional code based on a preset code scanning device, and determine whether encrypted information is obtained after scanning the two-dimensional code; If not obtained, the verification fails; If obtained, decrypt the encrypted information based on the public key corresponding to the target goods; If the decryption is unsuccessful, the verification fails; If the decryption is successful, determine whether the decrypted information is consistent with the initial goods record information; If consistent, the verification is successful; If inconsistent, the verification fails.

[0011] In a second aspect, the present application provides an Internet of Things-based cold chain transportation management system, including: An acquisition module, configured to acquire identity data information of a target good and generate initial good record information based on the identity data information; A generation module, configured to generate a new block in a blockchain network and write the initial good record information into the new block; An encryption processing module, configured to perform encryption processing on the initial good record information based on a preset encryption algorithm to obtain encrypted initial good record information, generate a two-dimensional code corresponding to the encrypted initial good record information, and bind the two-dimensional code to the target good; A judgment module, configured to, during the transportation of the target good, acquire transportation status information in real time, write the transportation status information into the new block, and judge whether to verify the authenticity of the target good based on the transportation status information; A verification module, configured to, when determining to verify the authenticity of the target good, verify the authenticity of the target good based on the initial good record information and the two-dimensional code, and store verification result information into the new block; the initial good record information, the transportation status information, and the verification result information constitute target good record information.

[0012] The present application provides a cold chain transportation management method, system, and storage medium based on the Internet of Things. The method includes: acquiring identity data information of a target good and generating initial good record information based on the identity data information; generating a new block in a blockchain network and writing the initial good record information into the new block; performing encryption processing on the initial good record information based on a preset encryption algorithm to obtain encrypted initial good record information, generating a two-dimensional code corresponding to the encrypted initial good record information, and binding the two-dimensional code to the target good; during the transportation of the target good, acquiring transportation status information in real time, writing the transportation status information into the new block, and judging whether to verify the authenticity of the target good based on the transportation status information; if so, verifying the authenticity of the target good based on the initial good record information and the two-dimensional code, and storing verification result information into the new block; the initial good record information, the transportation status information, and the verification result information constitute target good record information. On the one hand, by combining blockchain technology and two-dimensional code identity binding, the authenticity of the target good during transportation can be effectively verified. On the other hand, the application of blockchain technology can record all data of the good in an immutable manner, effectively preventing data forgery or tampering, ensuring the safety and reliability of the good transportation process. This immutability improves the anti-counterfeiting ability of cold chain transportation. On the other hand, by writing the transportation status information and the verification result information into the new block, detailed transportation status tracking and good verification information can be provided for the authorized party, which helps to trace the target good when the target good is replaced. BRIEF DESCRIPTION OF THE DRAWINGS

[0013] To more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for the description of the embodiments will be briefly introduced below. Obviously, the drawings in the following description are some embodiments of the present invention. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative efforts.

[0014] Figure 1 It is a schematic flowchart of the cold chain transportation management method based on the Internet of Things provided by the embodiments of the present application; Figure 2 It is a schematic block diagram of the structure of the cold chain transportation management system based on the Internet of Things provided by the embodiments of the present application; Figure 3 It is a schematic block diagram of the structure of the terminal device provided by the embodiments of the present application.

[0015] The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention. Obviously, the described embodiments are some, but not all, of the embodiments of the present invention. All other embodiments obtained by those of ordinary skill in the art based on the embodiments of the present invention without creative efforts fall within the protection scope of the present invention.

[0016] The flowchart shown in the drawings is only an example, and does not necessarily include all contents and operations / steps, nor does it necessarily need to be executed in the described order. For example, some operations / steps can be decomposed, combined, or partially merged, so the actual execution order may change according to the actual situation.

[0017] It should also be understood that the terms used in the specification of the present application are only for the purpose of describing specific embodiments and are not intended to limit the present application. As used in the specification of the present application and the appended claims, unless the context clearly indicates otherwise, the singular forms "a", "an", and "the" are intended to include the plural forms.

[0018] It should be further understood that the term "and / or" used in the specification of the present application and the appended claims refers to any combination and all possible combinations of one or more of the related listed items, and includes these combinations.

[0019] The following will describe in detail some real-time modes of the present application with reference to the drawings. Without conflict, the features in the following embodiments and the embodiments can be combined with each other.

[0020] Please refer to Figure 1 , Figure 1Schematic flowchart of the cold chain transportation management method based on the Internet of Things provided by the embodiments of the present application, as Figure 1 shown, the cold chain transportation management method based on the Internet of Things provided by the embodiments of the present application includes steps S1 to S5.

[0021] Step S1: Obtain the identity data information of the target goods, and generate initial goods record information based on the identity data information.

[0022] Step S2: Generate a new block in the blockchain network, and write the initial goods record information into the new block.

[0023] Step S3: Encrypt the initial goods record information based on a preset encryption algorithm to obtain encrypted initial goods record information, generate a two-dimensional code corresponding to the encrypted initial goods record information, and bind the two-dimensional code to the target goods.

[0024] Step S4: During the transportation of the target goods, real-time obtain the transportation status information, write the transportation status information into the new block, and determine whether to verify the authenticity of the target goods based on the transportation status information.

[0025] Step S5: If so, verify the authenticity of the target goods based on the initial goods record information and the two-dimensional code, and store the verification result information in the new block; the initial goods record information, the transportation status information, and the verification result information constitute the target goods record information.

[0026] In this embodiment, it specifically includes: In the above step S1, first, obtain the identity data information of the target goods; wherein, the identity data information includes but is not limited to information such as production batch, production date, production location, ingredient list, and material composition list, and then generate initial goods record information based on the identity data information.

[0027] In the above step S2, generate a new block in the blockchain network, and write the initial goods record information into the new block.

[0028] In the above step S3, first, encrypt the initial goods record information based on a preset encryption algorithm to obtain encrypted initial goods record information, and then generate a two-dimensional code corresponding to the encrypted initial goods record information, and stick the two-dimensional code on the target goods to bind the two-dimensional code to the target goods.

[0029] In the above step S4, during the transportation of the target goods, the transportation status information is obtained in real time, and the transportation status information is written into the new block, and it is determined whether to verify the authenticity of the target goods based on the transportation status information. Among them, the transportation status information includes the address, vehicle speed, and timestamp. The determination of whether to verify the authenticity of the target goods based on the transportation status information includes: determining whether the vehicle speed is 0. If the vehicle speed is 0, it is determined to verify the authenticity of the target goods. If the vehicle speed is not 0, it is determined not to verify the authenticity of the target goods. It can be understood that when the vehicle speed is 0, the cold chain transportation vehicle is in a stationary state. In order to prevent the target goods from being replaced in the stationary state, the authenticity of the target goods is verified in the stationary state.

[0030] In the above step S5, if it is determined to verify the authenticity of the target goods, the authenticity of the target goods is verified based on the initial goods record information and the two-dimensional code, and the verification result information is stored in the new block; among them, the verification result information includes a mark of "verification passed" or "verification failed", the address and timestamp during verification, and the initial goods record information, the transportation status information, and the verification result information constitute the target goods record information.

[0031] The method provided in this embodiment, on the one hand, can effectively verify the authenticity of the target goods during transportation by combining blockchain technology and two-dimensional code identity binding. On the other hand, the application of blockchain technology can record all data of the goods in an immutable manner, effectively preventing data forgery or tampering, ensuring the safety and reliability of the goods transportation process. This immutability improves the anti-counterfeiting ability of cold chain transportation. On the other hand, by writing the transportation status information and verification result information into the new block, it can provide detailed transportation status tracking and goods verification information for the authorized party, and help to trace the target goods when the target goods are replaced.

[0032] In some embodiments, the generation of the initial goods record information based on the identity data information includes the following steps: Generate an identifier for the target goods based on the identity data information; specifically, encode the identity data information into an identifier through RFID technology; Send the identifier to each authorized party so that each authorized party generates a signature; the authorized parties include manufacturers, transporters, and customers; each authorized party generates its corresponding signature based on its own private key; Obtain the signatures sent by each authorized party and verify each signature; specifically, for each authorized party, verify the signature of the authorized party based on the public key of the authorized party; After each of the signatures is verified, the identifier is signed based on each of the signatures to obtain the initial goods record information.

[0033] For the method provided in this embodiment, on the one hand, by using RFID technology to encode the identity data information of the target goods into an identifier, it can ensure that each good has a unique and non-repeating identity identifier throughout the transportation chain. On the other hand, the multi-party signature mechanism in this embodiment can effectively guarantee the accuracy and reliability of the goods information during the entire transportation process. The signature of each participating party can provide guarantee for the authenticity of the goods, ensuring the transparency and credibility of the goods record.

[0034] In some embodiments, the encrypting the initial goods record information based on a preset encryption algorithm to obtain the encrypted initial goods record information includes the following steps: Randomly generate a set of elliptic curve parameters; Draw an elliptic curve based on the elliptic curve parameters; Sequentially and randomly determine a first base point, a second base point, a third base point, and a fourth base point on the elliptic curve in the clockwise direction; Generate a public key and a private key based on the first base point, the second base point, the third base point, and the fourth base point; Encrypt the initial goods record information based on the private key to obtain the encrypted initial goods record information, and write the public key into the new block.

[0035] For the method provided in this embodiment, during the encryption process, the generation process of the public key and the private key is based on elliptic curve parameters and randomized base points, ensuring the independence and unpredictability of each pair of public-private keys.

[0036] Wherein, the generating the public key and the private key based on the first base point, the second base point, the third base point, and the fourth base point includes the following steps: Sequentially connect the first base point, the second base point, the third base point, the fourth base point, and the first base point in a straight line to obtain a first line segment, a second line segment, a third line segment, and a fourth line segment; the region enclosed by the first line segment, the second line segment, the third line segment, and the fourth line segment is the target region; Solve the straight line equations corresponding to the first line segment, the second line segment, the third line segment, and the fourth line segment respectively to obtain a first straight line equation, a second straight line equation, a third straight line equation, and a fourth straight line equation; wherein, the first straight line equation is the straight line equation corresponding to the first line segment, the second straight line equation is the straight line equation corresponding to the second line segment, the third straight line equation is the straight line equation corresponding to the third line segment, and the fourth straight line equation is the straight line equation corresponding to the fourth line segment; Determine target coordinate points within the target area; the coordinate values of the target coordinate points are all integers; Generate a public key based on the first linear equation, the second linear equation, the third linear equation, and the fourth linear equation; Generate the private key based on each of the target coordinate points.

[0037] Among them, the generating of the public key based on the first linear equation, the second linear equation, the third linear equation, and the fourth linear equation includes the following steps: Arrange the slopes of the first linear equation, the second linear equation, the third linear equation, and the fourth linear equation in sequence to obtain a slope sequence, and arrange the intercepts of the first linear equation, the second linear equation, the third linear equation, and the fourth linear equation in sequence to obtain an intercept sequence; Calculate a first hash value of the slope sequence based on a preset hash algorithm, and calculate a second hash value of the intercept sequence based on the hash algorithm; Delete a first target character from the first hash value to obtain a first character sequence; the first target character is a number, and the value corresponding to the sequence of the first target character in the first hash value is a prime number; Delete a second target character from the second hash value to obtain a second character sequence; the second target character is a number, and the value corresponding to the sequence of the second target character in the second hash value is a composite number; Place the second character sequence after the first character sequence to obtain the public key.

[0038] Among them, the generating of the private key based on each of the target coordinate points includes the following steps: For each of the target coordinate points, add the abscissa and the ordinate of the target coordinate point to obtain a value corresponding to the target coordinate point; Based on the positions of each of the target coordinate points, arrange the values corresponding to each of the target coordinate points in sequence to obtain a value sequence; Calculate a third hash value corresponding to the value sequence based on a preset hash algorithm; the third hash value is the private key.

[0039] In some embodiments, the verifying the authenticity of the target goods based on the initial goods record information and the two-dimensional code includes the following steps: Scan the two-dimensional code based on a preset code scanning device, and determine whether encrypted information is obtained after scanning the two-dimensional code; If not obtained, the verification fails; Understandably, if the encrypted information is not obtained, it indicates that the target goods may have been replaced or the code scanning device is not aligned with the two-dimensional code. If obtained, decrypt the encrypted information based on the public key corresponding to the target goods. If the decryption is unsuccessful, the verification fails; Understandably, if the decryption is unsuccessful, it indicates that the target goods may have been replaced. If the decryption is successful, determine whether the decrypted information is consistent with the initial goods record information. If they are consistent, the verification is successful. If they are inconsistent, the verification fails; Understandably, if the verification is unsuccessful, it indicates that the target goods may have been replaced.

[0040] Please refer to Figure 2 , Figure 2 which is a schematic block diagram of the cold chain transportation management system 100 based on the Internet of Things provided by the embodiments of the present application. As Figure 2 shown, the cold chain transportation management system 100 based on the Internet of Things provided by the embodiments of the present application includes: An acquisition module 110, configured to acquire identity data information of target goods and generate initial goods record information based on the identity data information.

[0041] A generation module 120, configured to generate a new block in the blockchain network and write the initial goods record information into the new block. An encryption processing module 130, configured to encrypt the initial goods record information based on a preset encryption algorithm to obtain encrypted initial goods record information, generate a two-dimensional code corresponding to the encrypted initial goods record information, and bind the two-dimensional code to the target goods.

[0042] A judgment module 140, configured to, during the transportation of the target goods, acquire transportation status information in real time, write the transportation status information into the new block, and determine whether to verify the authenticity of the target goods based on the transportation status information.

[0043] A verification module 150, configured to, when determining to verify the authenticity of the target goods, verify the authenticity of the target goods based on the initial goods record information and the two-dimensional code, and store the verification result information into the new block; the initial goods record information, the transportation status information, and the verification result information constitute target goods record information.

[0044] It should be noted that those skilled in the art can clearly understand that for the convenience and conciseness of description, the specific working processes of the above-described system and each module can refer to the processes in the foregoing embodiments of the cold chain transportation management method based on the Internet of Things, and will not be elaborated herein.

[0045] The cold chain transportation management system 100 based on the Internet of Things provided by the above embodiment can be implemented in the form of a computer program, and this computer program can run on a terminal device 200 as shown in Figure 3 the figure.

[0046] Please refer to Figure 3 , Figure 3 which is a schematic block diagram of the structure of the terminal device 200 provided by the embodiment of the present application. The terminal device 200 includes a processor 201 and a memory 202. The processor 201 and the memory 202 are connected through a device bus 203. Among them, the memory 202 can include a non-volatile storage medium and an internal memory.

[0047] The non-volatile storage medium can store a computer program. This computer program includes program instructions. When the program instructions are executed by the processor 201, the processor 201 can be enabled to execute any of the above cold chain transportation management methods based on the Internet of Things.

[0048] The processor 201 is used to provide computing and control capabilities to support the operation of the entire terminal device 200.

[0049] The internal memory provides an environment for the operation of the computer program in the non-volatile storage medium. When the computer program is executed by the processor 201, the processor 201 can be enabled to execute any of the above cold chain transportation management methods based on the Internet of Things.

[0050] Those skilled in the art can understand that Figure 3 the structure shown in the figure is only a block diagram of some structures related to the solution of the present application, and does not constitute a limitation on the terminal device 200 involved in the solution of the present application. The specific terminal device 200 can include more or fewer components than those shown in the figure, or combine some components, or have different component arrangements.

[0051] It should be understood that the processor 201 can be a Central Processing Unit (CPU), and the processor 201 can also be other general-purpose processors, Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), Field-Programmable Gate Arrays (FPGAs) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. Among them, the general-purpose processor can be a microprocessor or the processor can also be any conventional processor, etc.

[0052] Among them, in some embodiments, the processor 201 is used to run a computer program stored in the memory to implement the following steps: Obtain the identity data information of the target goods, and generate initial goods record information based on the identity data information; Generate a new block in the blockchain network, and write the initial goods record information into the new block; Perform encryption processing on the initial goods record information based on a preset encryption algorithm to obtain encrypted initial goods record information, generate a two-dimensional code corresponding to the encrypted initial goods record information, and bind the two-dimensional code to the target goods; During the transportation of the target goods, obtain the transportation status information in real time, write the transportation status information into the new block, and determine whether to verify the authenticity of the target goods based on the transportation status information; If so, verify the authenticity of the target goods based on the initial goods record information and the two-dimensional code, and store the verification result information in the new block; the initial goods record information, the transportation status information, and the verification result information constitute the target goods record information.

[0053] It should be noted that those skilled in the art can clearly understand that for the convenience and brevity of description, the specific working process of the above-described terminal device 200 can refer to the process of the foregoing cold chain transportation management method based on the Internet of Things, which will not be elaborated here.

[0054] The embodiment of the present application further provides a computer-readable storage medium. The computer-readable storage medium stores a computer program, and when the computer program is executed by one or more processors, the one or more processors are enabled to implement the cold chain transportation management method based on the Internet of Things provided by the embodiment of the present application.

[0055] Among them, the computer-readable storage medium can be an internal storage unit of the terminal device 200 in the foregoing embodiment, such as the hard disk or memory of the terminal device 200. The computer-readable storage medium can also be an external storage device of the terminal device 200, such as a plug-in hard disk equipped with the terminal device 200, a Smart Media Card (SMC), a Secure Digital (SD) card, a Flash Card, etc.

[0056] As described above, the foregoing is only a specific implementation manner of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art within the technical scope disclosed by the present application can easily think of various equivalent modifications or substitutions, and these modifications or substitutions should be covered within the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims

1. A cold chain transportation management method based on the Internet of Things, characterized in that: include: Acquire identity data information of target goods, and generate initial goods record information based on the identity data information; Generate a new block in the blockchain network, and write the initial cargo record information into the new block; Encrypting the initial cargo record information based on a preset encryption algorithm to obtain encrypted initial cargo record information, generating a QR code corresponding to the encrypted initial cargo record information, and binding the QR code to the target cargo; During the transportation of the target goods, obtaining transportation status information in real time, writing the transportation status information into the new block, and determining whether to verify the authenticity of the target goods based on the transportation status information; If so, the authenticity of the target cargo is verified based on the initial cargo record information and the QR code, and the verification result information is stored in the new block; the initial cargo record information, the transportation status information and the verification result information constitute the target cargo record information.

2. The cold chain transportation management method based on the Internet of Things according to claim 2 is characterized in that: The generating of initial cargo record information based on the identity data information comprises: generating an identifier of the target cargo based on the identity data information; Sending the identifier to each authorized party so that each authorized party generates a signature; Obtaining signatures sent by each of the authorized parties and verifying each of the signatures; After each of the signatures is verified, the identifier is signed based on each of the signatures to obtain the initial cargo record information.

3. The cold chain transportation management method based on the Internet of Things according to claim 1 is characterized in that: The encrypting the initial cargo record information based on a preset encryption algorithm to obtain the encrypted initial cargo record information includes: Randomly generate a set of elliptic curve parameters; Draw an elliptic curve based on the elliptic curve parameters; Randomly determine a first base point, a second base point, a third base point and a fourth base point in sequence on the elliptic curve in a clockwise direction; Generate a public key and a private key based on the first base point, the second base point, the third base point, and the fourth base point; The initial cargo record information is encrypted based on the private key to obtain the encrypted initial cargo record information, and the public key is written into the new block.

4. The cold chain transportation management method based on the Internet of Things according to claim 3 is characterized in that: The generating of the public key and the private key based on the first base point, the second base point, the third base point and the fourth base point comprises: The first base point, the second base point, the third base point, the fourth base point and the first base point are connected in sequence with straight lines to obtain a first line segment, a second line segment, a third line segment and a fourth line segment; the area enclosed by the first line segment, the second line segment, the third line segment and the fourth line segment is the target area; Solving the straight line equations corresponding to the first line segment, the second line segment, the third line segment, and the fourth line segment respectively to obtain a first straight line equation, a second straight line equation, a third straight line equation, and a fourth straight line equation; Determine a target coordinate point in the target area; the coordinate values ​​of the target coordinate point are all integers; generating a public key based on the first straight line equation, the second straight line equation, the third straight line equation, and the fourth straight line equation; The private key is generated based on each of the target coordinate points.

5. The cold chain transportation management method based on the Internet of Things according to claim 4 is characterized in that: The generating a public key based on the first straight line equation, the second straight line equation, the third straight line equation and the fourth straight line equation comprises: Arrange the slopes of the first straight line equation, the second straight line equation, the third straight line equation, and the fourth straight line equation in sequence to obtain a slope sequence, and arrange the intercepts of the first straight line equation, the second straight line equation, the third straight line equation, and the fourth straight line equation in sequence to obtain an intercept sequence; Calculating a first Hash value of the slope sequence based on a preset Hash algorithm, and calculating a second Hash value of the intercept sequence based on the Hash algorithm; Deleting a first target character from the first Hash value to obtain a first character sequence; the first target character is a number, and a value corresponding to the sequence of the first target character in the first Hash value is a prime number; Deleting a second target character from the second Hash value to obtain a second character sequence; the second target character is a number, and a numerical value corresponding to the sequence of the second target character in the second Hash value is a composite number; The second character sequence is placed after the first character sequence to obtain the public key.

6. The cold chain transportation management method based on the Internet of Things according to claim 4 is characterized in that: Generating the private key based on each of the target coordinate points includes: For each of the target coordinate points, add the abscissa and ordinate of the target coordinate point to obtain a value corresponding to the target coordinate point; Based on the positions of the target coordinate points, the numerical values ​​corresponding to the target coordinate points are arranged in order to obtain a numerical sequence; A third Hash value corresponding to the numerical sequence is calculated based on a preset Hash algorithm; the third Hash value is the private key.

7. The cold chain transportation management method based on the Internet of Things according to claim 1 is characterized in that: The verifying the authenticity of the target goods based on the initial goods record information and the two-dimensional code includes: Scanning the two-dimensional code based on a preset code scanning device, and determining whether encrypted information is obtained after scanning the two-dimensional code; If not obtained, verification fails; If obtained, the encrypted information is decrypted based on the public key corresponding to the target goods; If decryption fails, verification fails; If the decryption is successful, determine whether the decrypted information is consistent with the initial cargo record information; If they are consistent, the verification is successful; If they are inconsistent, verification fails.

8. A cold chain transportation management system based on the Internet of Things, characterized in that: include: An acquisition module, used to acquire identity data information of target goods and generate initial goods record information based on the identity data information; A generation module, used to generate a new block in the blockchain network and write the initial cargo record information into the new block; An encryption processing module, used to encrypt the initial cargo record information based on a preset encryption algorithm to obtain encrypted initial cargo record information, generate a QR code corresponding to the encrypted initial cargo record information, and bind the QR code to the target cargo; A judgment module, used for acquiring transportation status information in real time during the transportation of the target goods, writing the transportation status information into the new block, and judging whether to verify the authenticity of the target goods based on the transportation status information; A verification module is used to verify the authenticity of the target goods based on the initial goods record information and the QR code when determining to verify the authenticity of the target goods, and store the verification result information in the new block; the initial goods record information, the transportation status information and the verification result information constitute the target goods record information.

9. A computer-readable storage medium, characterized in that: A computer program is stored on the computer-readable storage medium, wherein when the computer program is executed by the processor, the cold chain transportation management method based on the Internet of Things as described in any one of claims 1 to 7 is implemented.