Cold chain data processing method and device, equipment, cold chain transportation information system

By binding blockchain account addresses and unique identification codes to industrial control computers and information collection devices in cold chain mobile warehouses, and using the blockchain network for data on-chain processing, the problem of cold chain data being tampered with during transportation is solved, enabling reliable data transmission and storage, and improving data credibility and traceability.

CN116187879BActive Publication Date: 2026-07-21TENCENT TECHNOLOGY (SHENZHEN) CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
TENCENT TECHNOLOGY (SHENZHEN) CO LTD
Filing Date
2021-11-25
Publication Date
2026-07-21

AI Technical Summary

Technical Problem

Cold chain data is easily tampered with during transportation, resulting in low credibility of the data provided by information platforms.

Method used

By configuring a unique blockchain account address on the industrial control computer in the cold chain mobile warehouse and binding the unique identification code of the information collection device, the data is processed on the blockchain network to ensure the immutability of cold chain data from the physical end to the blockchain end, thereby improving data credibility.

Benefits of technology

It enables trusted transmission and storage of cold chain data, ensuring the reliability of the data source, the absence of human intervention or tampering in the middle, and the immutability of data stored on the blockchain, thereby improving data credibility and traceability and resolving data ownership issues.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116187879B_ABST
    Figure CN116187879B_ABST
Patent Text Reader

Abstract

Embodiments of the present application disclose a cold chain data processing method and device, equipment and cold chain transportation information system. The method comprises: acquiring cold chain data collected by an information collection device electrically connected to the industrial computer, the cold chain data being associated with a unique identity code of the corresponding information collection device, and the unique identity code being bound to a blockchain account address of the industrial computer; sending a data chaining request to a blockchain network, the data chaining request carrying the cold chain data, the data chaining request being used to request the blockchain network to perform chaining processing on the cold chain data to store the cold chain data on the blockchain; and acquiring a transaction hash returned by the blockchain network for the data chaining request. Embodiments of the present application can ensure that the source of cold chain data is credible.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of cold chain transportation technology, specifically to a cold chain data processing method and apparatus, and also to a cold chain transportation information system. Background Technology

[0002] Cold chain refers to a systematic project that ensures refrigerated and frozen goods are kept in a specified low-temperature environment throughout all stages of production, storage, transportation, sales, and consumption to guarantee the quality and performance of the goods. A cold chain mobile warehouse is a container used to hold the transported goods during cold chain transportation, typically consisting of storage boxes, smart locks, sensors, alarms, and other equipment. To monitor the transportation process of cold chain mobile warehouses, existing technologies report relevant data to an information platform for data users to retrieve. However, the data reported to the information platform is easily tampered with, resulting in low reliability of the data provided by the platform. Summary of the Invention

[0003] To address the aforementioned technical problems, embodiments of this application provide a cold chain data processing method, a cold chain data processing apparatus, a cold chain data processing device, a computer-readable storage medium, and a computer program product, as well as a cold chain transportation information system.

[0004] According to one aspect of the embodiments of this application, a cold chain data processing method is provided. The method is applied to an industrial control computer installed on a cold chain mobile warehouse. The industrial control computer is configured with a unique blockchain account address. The method includes: acquiring cold chain data collected by an information acquisition device electrically connected to the industrial control computer, wherein the cold chain data is associated with a unique identification code of the information acquisition device, and the unique identification code is bound to the blockchain account address of the industrial control computer; sending a data upload request to a blockchain network, wherein the data upload request carries the cold chain data, and the data upload request is used to request the blockchain network to perform on-chain processing on the cold chain data to store the cold chain data on the blockchain; and acquiring a transaction hash returned by the blockchain network in response to the data upload request.

[0005] According to one aspect of the embodiments of this application, a cold chain data processing apparatus is provided. The apparatus is applied to an industrial control computer installed on a cold chain mobile warehouse. The industrial control computer is configured with a unique blockchain account address. The apparatus includes: a data acquisition module configured to acquire cold chain data collected by an information acquisition device electrically connected to the industrial control computer, wherein the cold chain data is associated with a unique identification code of the corresponding information acquisition device, and the unique identification code is bound to the blockchain account address of the industrial control computer; a data uploading module configured to send a data uploading request to a blockchain network, wherein the data uploading request carries the cold chain data and is used to request the blockchain network to perform on-chain processing on the cold chain data to store the cold chain data on the blockchain; and a result acquisition module configured to acquire the transaction hash returned by the blockchain network in response to the data uploading request.

[0006] According to one aspect of the embodiments of this application, a cold chain transportation information system is provided, comprising: a cold chain mobile warehouse, which is equipped with an industrial control computer and an information collection device electrically connected to each other, the industrial control computer being configured with a unique blockchain account address, the information collection device being used to collect cold chain data, the cold chain data being associated with a unique identification code of the information collection device, and the unique identification code being bound to the blockchain account address of the industrial control computer; and a blockchain network, used to receive data upload requests sent by the industrial control computer, and to perform upload processing on the cold chain data carried in the data upload request to store the cold chain data on the blockchain, and to return a transaction hash to the industrial control computer.

[0007] According to one aspect of the embodiments of this application, a cold chain data processing device is provided, comprising: one or more processors; and a storage device for storing one or more programs, wherein when the one or more programs are executed by the one or more processors, the cold chain data processing device enables the cold chain data processing method as described above.

[0008] According to one aspect of the embodiments of this application, a computer-readable storage medium is provided, on which computer-readable instructions are stored, which, when executed by a computer's processor, cause the computer to perform the cold chain data processing method as described above.

[0009] According to one aspect of the embodiments of this application, a computer program product is also provided, including a computer program that, when executed by a processor, implements the steps in the cold chain data processing method as described above.

[0010] In the technical solution provided by the embodiments of this application, since the information collection equipment in the cold chain mobile warehouse is connected to the industrial control computer, the industrial control computer can directly obtain the cold chain data collected by the information collection equipment. In addition, by binding the industrial control computer to a unique blockchain account, every piece of cold chain data in the transportation process of the cold chain mobile warehouse is directly generated by the information collection equipment set up on the cold chain mobile warehouse, and is accompanied by a trusted blockchain account address and a unique identification code. This ensures that the cold chain data generated in the cold chain mobile warehouse is not subject to human manipulation or tampering from the physical end to the blockchain end, thereby guaranteeing the trustworthiness of the data source. At the same time, the embodiments of this application store the trusted cold chain data on the blockchain. Based on the immutability of the blockchain, the trustworthiness of the cold chain data stored in the blockchain is further improved.

[0011] It should be understood that the above general description and the following detailed description are exemplary and explanatory only, and do not limit this application. Attached Figure Description

[0012] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this application and, together with the description, serve to explain the principles of this application. It is obvious that the drawings described below are merely some embodiments of this application, and those skilled in the art can obtain other drawings based on these drawings without any inventive effort. In the drawings:

[0013] Figure 1 This is a schematic diagram illustrating the structure of a blockchain network in an exemplary embodiment;

[0014] Figure 2 This is a schematic diagram illustrating the structure of a cold chain mobile warehouse, as shown in an exemplary embodiment.

[0015] Figure 3 This is a schematic diagram illustrating the deployment relationship between an industrial control computer and information collection equipment in a cold chain mobile warehouse, as shown in an exemplary embodiment.

[0016] Figure 4 This is a flowchart illustrating an exemplary embodiment of the present application of creating a blockchain account corresponding to an industrial control computer;

[0017] Figure 5 This is a schematic diagram illustrating a cold chain transportation information system as shown in an exemplary embodiment of this application;

[0018] Figure 6 This is a flowchart illustrating a cold chain data processing method in an exemplary embodiment of this application;

[0019] Figure 7This is a schematic diagram of a cold chain transportation information system illustrated in another exemplary embodiment of this application;

[0020] Figure 8 This is a block diagram illustrating a cold chain data processing apparatus as shown in an exemplary embodiment of this application;

[0021] Figure 9 A schematic diagram of the structure of a computer system suitable for implementing the cold chain data processing equipment of the present application is shown. Detailed Implementation

[0022] Exemplary embodiments will now be described in detail, examples of which are illustrated in the accompanying drawings. When the following description relates to the drawings, unless otherwise indicated, the same numbers in different drawings denote the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this application. Rather, they are merely examples of apparatuses and methods consistent with some aspects of this application as detailed in the appended claims.

[0023] The block diagrams shown in the accompanying drawings are merely functional entities and do not necessarily correspond to physically independent entities. That is, these functional entities can be implemented in software, in one or more hardware modules or integrated circuits, or in different network and / or processor devices and / or microcontroller devices.

[0024] The flowcharts shown in the accompanying drawings are merely illustrative and do not necessarily include all content and operations / steps, nor do they necessarily have to be performed in the described order. For example, some operations / steps can be broken down, while others can be combined or partially combined; therefore, the actual execution order may change depending on the specific circumstances.

[0025] In this application, "multiple" refers to two or more. "And / or" describes the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A alone, A and B simultaneously, or B alone. The character " / " generally indicates that the preceding and following related objects have an "or" relationship.

[0026] First, it should be noted that the embodiments of this application involve blockchain technology. Blockchain technology is a novel distributed infrastructure and computing method that utilizes a block-chain data structure to verify and store data, uses distributed node consensus algorithms to generate and update data, uses cryptography to ensure the security of data transmission and access, and uses smart contracts composed of automated script code to program and manipulate data. Blockchain refers to a decentralized infrastructure with distributed storage characteristics. Specifically, it is a data structure that organizes data blocks in chronological order using a linked list-like manner, enabling secure storage of sequentially related data that can be verified within the system, and using cryptography to ensure that the data is immutable and unforgeable. Simply put, blockchain is a decentralized distributed ledger, with each chain acting as an independent ledger.

[0027] Figure 1 This is a schematic diagram illustrating the structure of a blockchain network as shown in an exemplary embodiment. Figure 1 The blockchain network 100 shown may include node devices 10a, 10b, 10c, and 10d. Node devices 10a, 10b, 10c, and 10d are all... Figure 1 The blockchain nodes (referred to as nodes) in the blockchain network 100 shown can be any form of computing device connected to the blockchain network 100, such as servers, user terminals, etc. Figure 1 The node devices 10a, 10b, 10c, and 10d shown can also be connected to form a blockchain network 100 through network communication.

[0028] It should be understood that Figure 1 The nodes in the illustrated blockchain network architecture can form a peer-to-peer (P2P) network. The P2P protocol here can be an application layer protocol running on top of the Transmission Control Protocol (TCP). In the network architecture corresponding to blockchain network 100, any machine, such as a server or terminal, can join and become a node. A node can specifically include a hardware layer, a middleware layer, an operating system layer, and an application layer.

[0029] Each node in blockchain network 100 can be used to maintain the same blockchain ledger (i.e. Figure 1The blockchain ledger 10e shown can be used to pre-deploy multiple smart contracts. For example, it can pre-deploy agent contracts, permission management contracts, data contracts, agent management contracts, and other smart contracts with different data processing functions. It should be understood that a smart contract is also a computerized protocol that can execute the terms of a contract. This is achieved through code deployed on the blockchain ledger that executes when certain conditions are met, and the code is used to automate transactions based on actual business needs.

[0030] Understandably, in Figure 1 The blockchain network architecture shown includes three main types of blockchains: public blockchains, private blockchains, and consortium blockchains. The type of blockchain used may vary depending on the specific application scenario. A public blockchain is one that is publicly accessible, allowing anyone to join and access it. Blocks on a public blockchain can be viewed by anyone, and anyone can initiate transactions and participate in the consensus process. A private blockchain is used within a private organization, where read / write permissions and participation in record-keeping are determined according to the organization's rules; it is typically used for internal data management and auditing. A consortium blockchain allows members to define their read / write permissions and participation in record-keeping according to the consortium's rules; it is generally used for inter-institutional transactions, settlements, and clearing.

[0031] The embodiments of this application also relate to cold chain transportation technology. Here, cold chain refers to a systematic project that ensures refrigerated and frozen goods are kept at a specified low temperature throughout all stages from production, storage, transportation, and sales to consumption, in order to guarantee the quality and performance of the goods. Cold chain transportation means maintaining a certain temperature throughout the entire transportation process, including loading and unloading, changes in transportation methods, and replacement of packaging equipment. Cold chain transportation methods can include road transportation, water transportation, rail transportation, and air transportation, or a combination of multiple modes of transportation. Currently, cold chain transportation has gradually expanded from medical cold chain to the transportation of food, fresh produce, and other goods.

[0032] The cold chain transportation mentioned in the embodiments of this application is specifically based on cold chain mobile warehouse transportation, wherein the cold chain mobile warehouse is a container used to hold the transported goods during the cold chain transportation process. Figure 2 This is a schematic diagram illustrating the structure of a cold chain mobile warehouse, as shown in an exemplary embodiment. Figure 2As shown, the cold chain mobile warehouse 200 mainly consists of a storage box 210, an industrial control computer 220, and an information acquisition device 230. The storage box 210 provides space for goods. The industrial control computer 220 and the information acquisition device 230 can both be installed on the storage box 210, for example, including but not limited to being installed on the outer surface, inner surface, door, or internal space of the storage box 210. The installation can be configured according to actual transportation needs, and this embodiment does not impose any limitations on this.

[0033] The industrial control computer 220 provides data processing and communication functions. Specifically, it is a terminal device with certain data processing and communication capabilities. For example, the industrial control computer 220 is used to assemble and report cold chain data collected by the information collection device 230 during the use of the cold chain mobile warehouse 200. It should also be noted that the industrial control computer 220 and the information collection device 230 can establish an electrical connection via wireless or wired means, allowing the cold chain data collected in real time by the information collection device 230 to be transmitted to the industrial control computer 220 for processing.

[0034] The information acquisition device 230 is used to collect relevant information about the cold chain mobile warehouse 200. For example, the information acquisition device 230 may include a smart lock, a positioning device, various sensors, and various alarms. The smart lock is used to lock the door of the storage container 210 to ensure the security of the storage space inside. For example, the smart lock can record its own closing or opening events in real time, and based on this event information, the safety of the transportation process of the cold chain mobile warehouse 200 can be assessed. Various sensors include, for example, temperature sensors and humidity sensors, which can collect data related to the transportation environment of the cold chain mobile warehouse 200 in real time. Various alarms include, for example, power failure alarms and smoke alarms. If the transportation environment of the cold chain mobile warehouse 200 triggers an alarm, the alarm will generate corresponding alarm data. The positioning device is used to obtain the location information of the cold chain mobile warehouse. The positioning device may be, for example, a GPS (Global Positioning System) positioning module or a functional module that communicates with a mobile network. The selection and setting can be based on the specific positioning method, and this embodiment does not limit this.

[0035] It should be understood that, Figure 2 This only provides a structural example of a cold chain mobile warehouse. In practical applications, cold chain mobile warehouses can be configured with more... Figure 2 The embodiments of this application do not limit the number of devices or modules contained in the cold chain mobile warehouse shown.

[0036] Figure 3 This is a schematic diagram illustrating the deployment relationship between an industrial control computer and information collection equipment in a cold chain mobile warehouse, as shown in an exemplary embodiment. It is important to understand that... Figure 3 The trusted hardware terminal shown here is a general description of the industrial control computer (ICC) installed on the cold chain mobile warehouse and the information acquisition terminal electrically connected to the ICC. In other words, the entirety of the ICC and its electrically connected information acquisition equipment is referred to as the trusted hardware terminal. The principle is as follows: Firstly, based on the electrical connection between the information acquisition equipment and the ICC, the ICC can obtain cold chain data collected in real time by the information acquisition equipment. Furthermore, since the ICC has prior knowledge of the unique identification code of the information acquisition equipment it is electrically connected to, it can determine whether the cold chain data it obtains comes from a legitimate information acquisition equipment, meaning the source of the cold chain data is trusted. Secondly, based on the unique blockchain account address pre-configured on the ICC, the data processing of cold chain data by the ICC using this blockchain account address is also trusted. At least based on these aspects, the data source of the cold chain data generated by the cold chain mobile warehouse is trusted; therefore, the entirety of the electrically connected ICC and information acquisition equipment is called the trusted hardware terminal.

[0037] like Figure 3 As shown, a single cold chain mobile warehouse can have N sets of trusted hardware terminals. Each set of trusted hardware terminals includes one industrial control computer and at least one information acquisition device. Each industrial control computer can be electrically connected to M information acquisition devices, where N and M are both integers greater than 1. Different industrial control computers have different blockchain addresses; that is, the trusted hardware terminals in the cold chain mobile warehouse create blockchain accounts with unique blockchain account addresses on a per-industry basis. In practical application scenarios, the number of industrial control computers and information acquisition devices set up in the cold chain mobile warehouse can be selected according to actual needs and is not limited here.

[0038] It should also be noted that, in order to address the technical problem of low reliability of cold chain data in existing technologies, the embodiments of this application have made special arrangements for the industrial control computer and information collection equipment installed on the cold chain mobile warehouse.

[0039] Specifically, on the one hand, before the cold chain mobile warehouse is put into use, a blockchain account is created based on the industrial control computer. Each industrial control computer corresponds to a different and unique blockchain account, and each blockchain account is marked with a unique blockchain account address. The blockchain account and blockchain account address corresponding to each industrial control computer cannot be tampered with, which is equivalent to binding trusted information in the industrial control computer, making the industrial control computer trustworthy, and the cold chain data sent through the industrial control computer also trustworthy.

[0040] Please see Figure 4 , Figure 4 This is an exemplary implementation of the present application.

[0041] This is an example of a flowchart for creating a blockchain account corresponding to an industrial control computer. For example... Figure 4 As shown, a unique blockchain address can be created for the industrial control computer through at least the processes shown in steps S410 to S450, detailed below:

[0042] Step S410: Obtain the unique identification code of the information acquisition device connected to the industrial control electromechanical system.

[0043] Since the industrial control computer and the information acquisition equipment are electrically connected, and this electrical connection is usually a short-distance wired connection, it is equivalent to the industrial control computer and the information acquisition equipment being pre-bound. Based on this binding relationship, the information acquisition equipment electrically connected to the industrial control computer can be identified, thereby determining the unique identification code corresponding to these information acquisition devices.

[0044] Before creating a unique blockchain address for the industrial control computer (ICC), the ICC is fully assembled in the cold chain mobile warehouse, thereby establishing electrical connections with various information collection devices. The ICC sends identification code collection commands to each information collection device electrically connected to it. The information collection devices respond to the identification code collection commands, read their own unique identification codes, and send them to the ICC. This is equivalent to determining the various information collection devices electrically connected to the ICC before creating a unique blockchain address for it, so as to ensure that the unique identification codes bound to the blockchain account address of the ICC generated later are accurate.

[0045] For example, a distributed control network can be established between the industrial control computer and various information acquisition devices deployed on a cold chain mobile warehouse, with the industrial control computer acting as the master control node and each information acquisition device as a controlled node. Based on this distributed control network architecture, different information acquisition devices can receive the same control commands almost simultaneously; that is, the identification code acquisition command sent by the industrial control computer can be transmitted to each information acquisition device simultaneously. Of course, under this distributed control network architecture, the industrial control computer can also send control commands to one or more information acquisition devices individually; this is not a limitation here.

[0046] Step S430: The obtained unique identification code is sent to the blockchain network so that the blockchain network creates a unique blockchain account corresponding to the industrial control computer and binds the blockchain account address corresponding to the blockchain account with the received unique identification code.

[0047] The industrial control computer sends the set of unique identification codes it obtains to the blockchain node in the blockchain network, so that the blockchain node creates a blockchain account that is uniquely corresponding to the industrial control computer, and binds the blockchain account address corresponding to the blockchain account to each unique identification code received, thereby realizing the corresponding association between the blockchain account address and the information collection device.

[0048] For example, a blockchain node first obtains the relevant algorithms on the blockchain that involve the use of accounts and generates an algorithm combination. For instance, this algorithm combination may include the asymmetric encryption algorithm required to generate the key, the calculation method for the public key when converting the public key to a blockchain address, the algorithm for assembling the blockchain account address, and the hash algorithm required for signing and verification. No restrictions are imposed here. Then, the algorithm combination is numbered, and a key pair is generated according to the asymmetric encryption algorithm in the algorithm combination, that is, a public key and private key corresponding to the blockchain account of the industrial control computer are generated. Then, the generated public key is calculated according to the calculation method for converting the public key to a blockchain address in the algorithm combination, and the calculation result is assembled with the number of the algorithm combination to form the blockchain account address corresponding to the industrial control computer.

[0049] When a blockchain account signs data to be uploaded to the chain, it uses the hash algorithm from the algorithm combination to perform a hash operation on the data. Then, it uses the industrial control computer's private key and the asymmetric encryption algorithm from the algorithm combination to sign the hash result. Other blockchain nodes, when verifying the signature, can obtain the algorithm combination number from the blockchain account address. Based on this number, they can determine the algorithm combination on the blockchain and then use the relevant algorithms within the combination to verify the signature. Therefore, the generated blockchain account address is guaranteed to be unique, satisfying the uniqueness requirement of the industrial control computer's blockchain account address.

[0050] After obtaining the blockchain account address, the blockchain account address can be bound to the unique identifier of the information collection device. This binding process is the association between the blockchain account address of the industrial control computer stored on the blockchain node and the unique identifier corresponding to the information collection device electrically connected to the industrial control computer.

[0051] Step S450: Receive the blockchain account address returned by the blockchain network.

[0052] After creating a blockchain account for the industrial control computer, the blockchain network returns the corresponding blockchain account address to the industrial control computer. Based on... Figure 4 The provided process enables the blockchain network to create different blockchain accounts for different industrial control computers as the basic unit, and the blockchain account address is bound to the unique identification code of different information collection devices, thereby improving the credibility of cold chain data.

[0053] On the other hand, each information collection device possesses a unique identification code, which is bound to the blockchain account address of the industrial control computer (ICC) electrically connected to the corresponding information collection device. Since the information collection device is electrically connected to the ICC, the data received by the ICC from the information collection device is associated with the unique identification code of that device. Subsequently, during the on-chain processing of cold chain data, the blockchain uses the unique identification code associated with the cold chain data to determine the legitimacy of the data based on the unique identification code and the unique identification code bound to the ICC's blockchain account address. Therefore, the unique identification code associated with the cold chain data also ensures the credibility of the cold chain data. These two aspects are also... Figure 3 The reason why the entire assembly consisting of the electrically connected industrial control computer and the information acquisition equipment in the illustrated embodiment is called a trusted hardware device.

[0054] On the other hand, based on the characteristics of blockchain such as "unforgeable", "fully traceable", "transparent", and "collectively maintained", the cold chain data stored on the blockchain is not easy to tamper with. Therefore, the credibility of the cold chain data stored on the blockchain is also high, enabling data users to obtain reliable cold chain data from the blockchain.

[0055] Through the above-mentioned special settings, cold chain data can be transferred from the physical end to the blockchain without any room for human manipulation or tampering, thus fully ensuring the credibility of the source of cold chain data and improving its reliability, thereby solving the problems in existing technologies.

[0056] Based on the special settings made above, embodiments of this application propose a cold chain data processing method, a cold chain data processing device, a cold chain data processing equipment, a computer-readable storage medium, and a computer program product, and also propose a cold chain transportation information system. These embodiments will be described in detail below.

[0057] Please see Figure 5 , Figure 5This is a schematic diagram illustrating a cold chain transportation information system as an exemplary embodiment of this application. The cold chain transportation information system includes a mobile cold chain warehouse and a blockchain network. For the detailed structure of the mobile cold chain warehouse, please refer to the description in the foregoing embodiments. It is equipped with an industrial control computer and an information collection device electrically connected to each other. The industrial control computer is configured with a unique blockchain account address. The information collection device is used to collect cold chain data. The collected cold chain data is associated with a unique identification code of the corresponding information collection device, and the unique identification code of the information collection device is bound to the blockchain account address of the industrial control computer to which it is electrically connected. The blockchain network is used to receive data upload requests sent by the industrial control computer, process the cold chain data carried in the data upload request to upload the cold chain data to the blockchain, and return the corresponding transaction hash to the industrial control computer. It should also be noted that… Figure 5 The cold chain data generated by the cold chain mobile warehouse shown may include door opening and closing alarm information, smoke alarm information, power failure alarm information, temperature / humidity information, refrigeration unit operation information, etc., without any restrictions.

[0058] Please see Figure 6 , Figure 6 This is a flowchart illustrating a cold chain data processing method in an exemplary embodiment of this application. This cold chain data processing method is applicable to... Figure 5 The cold chain transportation information system shown is specifically applied to cold chain mobile warehouses and is executed by industrial control computers installed on the cold chain mobile warehouses.

[0059] like Figure 6 As shown, in an exemplary embodiment, the cold chain data processing method includes at least steps S610 to S650, which are described in detail below:

[0060] Step S610: Obtain cold chain data collected by the information acquisition device connected to the industrial control computer. The cold chain data is associated with the unique identification code of the corresponding information acquisition device, and the unique identification code of the information acquisition device is bound to the blockchain account address of the industrial control computer.

[0061] First, it should be noted that the fundamental conditions for data application should be authenticity, reliability, and tamper-proof nature. Only when data possesses authenticity can its elementalization, assetization, and value creation be meaningful. In this embodiment, to fully ensure the reliability of the source of cold chain data, the industrial control computer set up in the cold chain mobile warehouse is pre-bound to a blockchain account, giving the industrial control computer a unique blockchain account address. For detailed procedures on binding the industrial control computer to the blockchain account, please refer to [link to documentation]. Figure 4The process shown will not be elaborated upon here. Meanwhile, this embodiment binds the unique identification code of the information collection device installed on the cold chain mobile warehouse to the blockchain account address corresponding to the industrial control computer electrically connected to the information collection device. This ensures that the cold chain data collected by the information collection device can also be uniquely associated with the industrial control computer. Based on the above settings, cold chain data can be transferred from the physical end to the blockchain without any human intervention or tampering, thus guaranteeing the credibility of the data source. For further details, please refer to the subsequent description.

[0062] Specifically, the information collection devices installed on the cold chain mobile warehouse are used to collect cold chain data in real time. Cold chain data can be divided into abnormal data and batch data. Abnormal data includes, for example, power failure alarm information, smoke alarm information, door lock alarm information, etc. After being collected by the information collection devices, this abnormal data is sent to the industrial control computer in real time. Batch data includes, for example, chiller operation data, temperature information, humidity information, location information, etc. The cold chain data collected by the information collection devices at regular intervals is sent to the industrial control computer. The industrial control computer packages this data every specific cycle and processes it on the blockchain or sends it to other devices, such as the data service platform described in the following embodiments.

[0063] It should be understood that the cold chain data collected by the information acquisition devices may differ in different application scenarios. If the industrial control computer (ICC) does not acquire the cold chain data collected by the information acquisition devices within a preset time period, it will generate a heartbeat packet every specific operating cycle and send the heartbeat packet as cold chain data to each information acquisition device. This heartbeat packet is a custom command between the ICC and the information acquisition devices to periodically notify each other of their own status. It is sent at certain intervals. In this embodiment, the heartbeat packet sent by the ICC is actually an empty data packet to confirm whether the information acquisition device is operating normally. If the information acquisition device successfully receives the heartbeat packet, it will return a feedback message to the ICC. The ICC determines that the information acquisition device is working normally based on this feedback message. If the ICC does not receive a feedback message, it determines that the information acquisition device is abnormal. It marks the information acquisition device without feedback according to the unique identifier of the abnormal information acquisition device and generates an alarm message to indicate the abnormality of the information acquisition device. For example, alarm information can be sent to relevant personnel, or to the data service platform described in subsequent embodiments, or an alarm can be triggered in the mobile warehouse based on the alarm information to remind transportation personnel to inspect the information equipment to ensure the subsequent transportation process. Specific settings can be made according to actual needs, and this embodiment does not limit this.

[0064] The cold chain data collected by the data acquisition equipment is transmitted to the industrial control computer in real time. This cold chain data is associated with a unique identification code of the corresponding data acquisition equipment. Because the unique identification code of the data acquisition equipment is pre-bound to the industrial control computer it is electrically connected to, the industrial control computer, after receiving the cold chain data transmitted by the data acquisition equipment, can determine the trustworthiness of the data based on the unique identification code associated with it. In other words, it uses the unique identification code associated with the cold chain data to determine whether the source of the cold chain data is a trustworthy data acquisition equipment. Typically, the cold chain data transmitted to the industrial control computer is directly transmitted from the data acquisition equipment electrically connected to the industrial control computer. Since this cold chain data is associated with a trustworthy unique identification code, the cold chain data obtained by the industrial control computer is trustworthy.

[0065] It should be understood that the unique identification code of the information collection device is information used to uniquely identify the information collection device. It can be information of the information collection device itself, such as a hardware identification code, or information set by the industrial control computer for the information collection device, such as the number configured by the industrial control computer for multiple information collection devices electrically connected to it. There are no restrictions here.

[0066] Step S630: Send a data upload request to the blockchain network. The data upload request carries cold chain data and is used to request the blockchain network to process the cold chain data for upload to the blockchain.

[0067] After receiving the cold chain data, the industrial control computer carries the cold chain data in a data upload request and sends the data upload request to the blockchain network to request the blockchain network to process the cold chain data for upload, thereby storing the cold chain data on the blockchain.

[0068] It should be understood that a blockchain network is a peer-to-peer communication network composed of several blockchain nodes. The industrial control computer (ICC) communicates with at least one blockchain node in the network beforehand. Therefore, the trusted hardware specifically sends the data upload request to the corresponding blockchain node. After receiving the data upload request, the blockchain node uses the private key uniquely associated with the ICC's blockchain account address to sign the cold chain data carried in the data upload request, obtaining signed data. Based on the signed data, it initiates the data upload process for the cold chain data within the blockchain network. It should be noted that in the blockchain network, each blockchain account has a unique public-private key pair. Therefore, the private key uniquely associated with the ICC's blockchain account address should also be unique, ensuring the uniqueness and trustworthiness of the data signature. This achieves the immutability of cold chain data from the physical end to the blockchain end, guaranteeing the trustworthiness of the data source.

[0069] In some exemplary embodiments, after receiving a data upload request, the blockchain node also searches its local storage for a set of unique identifiers bound to the blockchain account address of the industrial control computer, and determines whether the unique identifier associated with the cold chain data carried in the upload request exists in this set of unique identifiers. If it does, it means that the industrial control computer's request to upload this cold chain data is a legitimate request, and then executes the process of using the private key uniquely associated with the blockchain account address of the industrial control computer to sign the cold chain data carried in the data upload request, which can improve the security of uploading cold chain data to the blockchain to a certain extent.

[0070] Blockchain networks typically employ consensus mechanisms or smart contracts for data on-chain processing. A consensus mechanism refers to the rapid verification and confirmation of transactions through voting by specific nodes. For a given transaction, if several nodes with unrelated interests can reach a consensus, the entire blockchain network is considered to have reached a consensus on the transaction, thus storing it across the entire network and ensuring the consistency and validity of the blockchain data stored by each node. A smart contract is a computer protocol designed to disseminate, verify, or execute contracts in an informational manner. A smart contract is a set of commitments defined in data form. By setting smart contracts on each blockchain, the data stored on each blockchain is verified or executed by the same smart contract, thereby guaranteeing the consistency and validity of the data stored on each blockchain. This embodiment can choose the specific form of the data on-chain processing flow according to actual needs, and is not limited thereto.

[0071] Alternatively, in another embodiment, after receiving the signature data, the blockchain node performs a hash operation on the merged data formed by combining the signature data and the corresponding cold chain data to obtain an encrypted string, also known as a transaction hash. Based on this transaction hash, the blockchain node initiates the on-chain processing of the cold chain data. It can be seen that this embodiment is equivalent to encrypting the cold chain data twice before initiating the on-chain process, improving the immutability of the cold chain data during the on-chain process and thus further enhancing the credibility of the cold chain data.

[0072] Alternatively, in another embodiment, after obtaining the transaction hash, the blockchain node encapsulates the transaction hash into the metadata of the blockchain transaction body. That is, it writes the transaction hash into the metadata of the blockchain transaction body, so that the encapsulated blockchain transaction can be processed on the blockchain network later. It can be seen that this embodiment encapsulates the transaction before it is uploaded to the blockchain, which can also improve data security to a certain extent.

[0073] Step S650: Obtain the transaction hash returned by the blockchain network in response to the data upload request.

[0074] After the blockchain network stores cold chain data on the blockchain, it returns a corresponding transaction hash to the industrial control computer (ICSC) to indicate that the cold chain data has been successfully stored on the blockchain. The ICCC then stores the transaction hash returned by the blockchain network as evidence. It should be understood that the transaction hash, also known as the transaction number, is generated when a blockchain node signs the transaction data using the private key associated with the ICCC's blockchain account address. This signature data is then merged with the transaction data, and finally, a hash operation is performed to obtain the transaction hash. After obtaining the transaction hash, the blockchain node broadcasts it to the blockchain network. If the transaction is successful, the corresponding transaction hash can be found on the blockchain network. It should be understood that storing cold chain data on the blockchain is the process of a blockchain transaction.

[0075] The method provided in this embodiment has at least the following beneficial effects:

[0076] First, this embodiment ensures the credibility of data not only during the cold chain data collection stage, but also during the cold chain data uploading stage, realizing that cold chain data is credible from the physical device end to the blockchain end, with no room for human manipulation or tampering in between, which can fully guarantee the credibility of the data source.

[0077] Secondly, since the data stored on the blockchain cannot be easily tampered with, the credibility of the cold chain data stored on the blockchain is further guaranteed. If cold chain data is obtained from the blockchain as the data source for the transportation monitoring process of the cold chain mobile warehouse, the credibility of the data can be fully guaranteed. The data user does not need to worry about the data provider tampering with the cold chain data it provides. Each piece of cold chain data is directly generated by physical equipment and is accompanied by the blockchain account address of the hardware device. All cold chain data is traceable and verifiable.

[0078] Third, this embodiment can also solve the data ownership problem and achieve strong consistency of data sovereignty. After all the trusted data is collected and stored, the information of the cold chain mobile warehouse to which the data belongs can be obtained through the blockchain account in the stored data. This solves the problem that data sovereignty is difficult to confirm or cannot be confirmed as unique due to the ease of data copying and dissemination in the Internet environment.

[0079] Fourth, this embodiment writes the trusted data of the cold chain mobile warehouse into the blockchain network, which allows all participants in the cold chain ecosystem (such as intermodal transport companies, fleets, cargo owners, regulators, cold chain commodity buyers, etc.) to query, track, and trace the various data source information of the cold chain mobile warehouse at low cost.

[0080] Please see Figure 7 , Figure 7This is a schematic diagram illustrating a cold chain transportation information system, as shown in another exemplary embodiment of this application. The cold chain transportation system... Figure 5 Based on the illustrated embodiment, a data service platform is further included.

[0081] A data service platform can be understood as a system architecture consisting of data servers and user terminals. In this architecture, the data server typically acts as the data backend, while the user terminal acts as the frontend, providing the user transaction interface. Specifically, the data service platform receives and stores cold chain data sent by industrial control computers, and synchronously stores cold chain data collected by information acquisition devices. Figure 7 As shown, the cold chain data stored on the data service platform can be further used for collection, alerting, statistics, analysis, and other processing to achieve corresponding data service functions. In addition, the data service platform also supports verification of cold chain data from the blockchain network; please refer to the following section for a detailed verification process.

[0082] based on Figure 7 The cold chain transportation information system shown in the figure has an industrial control computer that, after acquiring the cold chain data transmitted by the information acquisition device, initiates the uploading and storage of the cold chain data on the data chain. On the other hand, according to the preset transmission protocol between the industrial control computer and the data service platform, it also sends the acquired cold chain data to the data service platform for synchronous storage in the data service platform.

[0083] For example, the preset transmission protocol between the industrial control computer and the data service platform can be the MQTT (Message Queuing Telemetry Transport) protocol, which is a client-server based message publish / subscribe transmission protocol. Based on this protocol, a publisher-subscriber relationship is established between the industrial control computer and the data service platform, and the publisher transmits cold chain data to the data service platform as a subscriber in real time.

[0084] The industrial control computer (ICC) can also send acquired cold chain data to the data service platform via the LTE (Long Term Evolution) protocol. LTE is a wireless data communication technology standard based on OFDM (Orthogonal Frequency Division Multiplexing) technology, combined with design concepts such as multi-antenna and fast packet scheduling, forming a new air interface technology for next-generation mobile communication systems. It features enhanced signal coverage, high mobility, and optimized latency, thus perfectly meeting the requirements for sending cold chain data to the data service platform in the mobile cold chain scenario described in this application. In the mobile cold chain scenario described in this application, data transmission between the ICC and the data service platform can be achieved by pre-deploying an LTE network or by leveraging the LTE functionality of an existing communication network.

[0085] It should be noted that, since each industrial control computer (ICC) in a mobile cold chain scenario possesses a unique blockchain account identity across the entire network, this blockchain account identity can also be used for LTE protocol data authentication. For example, the data service platform pre-stores multiple blockchain account addresses. When an ICC transmits cold chain data to the data service platform via the LTE protocol, it carries its own blockchain account address in the LTE protocol data. The data service platform verifies whether the unique identifier associated with the received cold chain data matches the blockchain account address of the ICC transmitting the cold chain data, or verifies whether the blockchain account address sending the cold chain data is legitimate. If it does, the ICC's identity is legitimate, and the platform proceeds with further processing of the cold chain data sent by the ICC; otherwise, the cold chain data is deleted.

[0086] In another exemplary embodiment, after obtaining the transaction hash returned by the blockchain network, the industrial control computer also sends the obtained transaction hash to the data service platform, so that the data service platform associates and stores the received transaction hash with the corresponding cold chain data. When the data service platform receives a data verification request, it verifies the cold chain data to be verified based on the transaction hash associated with the cold chain data to be verified. The specific data verification process may include: the data service platform performs a preset hash operation on the cold chain data to be verified, compares the calculated verification hash with the transaction hash associated with the cold chain data to be verified, and if they are the same, it means that the cold chain data to be verified is consistent with the cold chain data stored on the blockchain, and the cold chain data to be verified has not been tampered with, thus determining that the cold chain data to be verified has passed verification. Here, the preset hash operation is a calculation process corresponding to the way the blockchain network obtains the transaction hash, thereby ensuring that the calculated hash value is comparable to the transaction hash.

[0087] In another embodiment, before transportation begins, the goods transported in the cold chain mobile warehouse are stored on a blockchain used to store information about the goods (hereinafter referred to as the goods blockchain). The identification information of the cold chain mobile warehouse (such as a blockchain account address) acquired during transportation is also associated and stored on the goods blockchain. Based on this, the data service platform also supports a goods query function. When the data service platform receives a goods information query request from a client, it queries the identification information of the associated mobile cold chain warehouse from the goods blockchain based on the goods identifier carried in the query request. Then, based on the queried identification information, it queries the relevant cold chain data from the blockchain used to store cold chain data (hereinafter referred to as the cold chain blockchain). The queried cold chain data can characterize the transportation information of the goods during transportation, such as the starting point, transit points, and destination, and whether there have been any operations or events that affect the safety of the goods, such as unauthorized opening of smart locks or transportation environment temperatures exceeding the expected temperature. This makes the transportation information of the goods transparent and ensures the safety of the goods.

[0088] Alternatively, in some embodiments, if the transportation blockchain and the cargo blockchain are independent, the industrial control computer can store the received cold chain data on both the transportation and cargo blockchains. This allows all transportation information related to the cargo to be queried and retrieved through the cargo blockchain, thus ensuring cargo security. It should be noted that in this scenario, the industrial control computer has a corresponding blockchain account address on each blockchain, for example, it can be set according to... Figure 4 In the illustrated embodiment, the blockchain account address of the industrial control computer is generated on the goods blockchain, and this blockchain account address is also bound to the goods information corresponding to the goods loaded in the cold chain mobile warehouse. Based on this binding relationship, the cold chain data from the industrial control computer stored on the goods blockchain can automatically establish an association with the goods loaded in the cold chain mobile warehouse, facilitating subsequent queries of transportation information related to the goods from the goods blockchain.

[0089] In another exemplary embodiment, the location information collected by the information collection device specifically includes LBS (Location Based Services) location information. LBS utilizes various types of positioning technologies to obtain the current location of the positioning device and provides information resources and basic services to the positioning device via the mobile internet. For cold chain mobile warehouses, they can obtain their own location information, such as geographic coordinates or geodetic coordinates, through the radio communication networks of telecommunications and mobile operators or GPS positioning methods, and simultaneously provide themselves with location information services with the support of a GIS (Geographic Information System) platform.

[0090] For example, the starting and ending points of transportation for mobile cold chain warehouses, as well as the quarantine locations that need to be stopped during transportation, are generally fixed. Opening or closing smart locks at these locations is usually a legal operation. Therefore, in some embodiments, when a smart lock detects an opening or closing event, it reports a first door lock alarm information to the industrial control computer. After receiving the first door lock alarm information, the industrial control computer requests the positioning module to obtain the LBS location information of the mobile cold chain warehouse.

[0091] When the LBS base station receives the positioning command from the positioning module, it returns the LBS location information of the mobile cold chain warehouse to the positioning module. This causes the positioning module to report the received LBS location information to the industrial control computer. As a result, the cold chain data obtained by the industrial control computer includes the first door lock alarm information and the LBS location information of the mobile cold chain warehouse. The industrial control computer then sends this cold chain data to a blockchain network or data service platform. Through the functional deployment on the blockchain network or data service platform, security monitoring of the entire transportation process of the mobile cold chain warehouse can be achieved.

[0092] On the other hand, the LBS base station also sends the LBS location information of the mobile cold chain warehouse to the GIS platform. The GIS platform then determines whether the location of the mobile cold chain warehouse is within the error range of a preset location (such as the transportation start point, destination, quarantine point, etc.). If the determination is not correct, it indicates that the opening or closing operation of the smart lock is not a legitimate operation, and a preset alarm strategy is executed. For example, the preset alarm strategy includes sending alarm notifications to relevant personnel to alert them to security issues during the transportation of the mobile cold chain warehouse. Alternatively, the preset alarm strategy includes returning an alarm command to the positioning module. The positioning module forwards the alarm command to the industrial control computer, which then triggers the alarm device installed on the mobile cold chain warehouse to issue an alarm, thereby improving the security of the mobile cold chain warehouse during transportation.

[0093] In another exemplary embodiment, to further ensure the security of opening the smart lock, after the industrial control computer sends cold chain data containing the second door lock alarm information and the LBS location information of the cold chain mobile warehouse to the blockchain network, the blockchain network performs consensus on the cold chain data. It should be noted that the second door lock alarm information is generated when the smart lock detects an intention to open the smart lock. This intention to open the smart lock could be, for example, detecting that an unlocking control on the smart lock is triggered, or detecting a related instruction to open the smart lock; no limitations are imposed here.

[0094] During the consensus process for cold chain data in the blockchain network, consensus nodes extract LBS location information from the cold chain data and determine whether the mobile cold chain warehouse is within the error range of a preset location (e.g., including the origin, destination, and quarantine location). If the determination is correct, it indicates that the intention to open the smart lock represented by the second door lock alarm information carried by the cold chain data is a legitimate event. This is equivalent to the cold chain data to be uploaded to the blockchain having passed the relevant verification at the consensus node. Therefore, the consensus node initiates a broadcast message to indicate that it has passed the verification of the cold chain data to be uploaded to the blockchain. If the broadcast messages issued by multiple consensus nodes determine that the cold chain data to be uploaded to the blockchain has passed consensus among multiple consensus nodes, then the cold chain data can be uploaded to the blockchain for storage.

[0095] After the cold chain data is stored on the blockchain, the blockchain network returns the transaction hash corresponding to the cold chain data to the industrial control computer. Therefore, the transaction hash can also represent that the intention to open the smart lock is a legitimate event. Based on the received transaction hash, the industrial control computer issues a first control command to the smart lock, causing the smart lock to perform the unlocking operation based on the received first control command.

[0096] If the cold chain data fails to pass consensus, the blockchain network will return an error notification message to the industrial control computer. Based on the received notification message, the industrial control computer will issue a second control command to the smart lock, causing the smart lock to prevent itself from opening based on the received second control command. Therefore, this embodiment combines the consensus process of the blockchain network to strictly control whether the smart lock opens, further ensuring the security of the mobile cold chain warehouse during transportation.

[0097] In another exemplary embodiment, the positioning module can periodically request the location information of the mobile cold chain warehouse from the LBS base station. The LBS base station returns the LBS location information of the mobile cold chain warehouse to the positioning module and simultaneously sends it to the GIS platform. The GIS platform generates a real-time transportation path for the mobile cold chain warehouse based on the continuously transmitted LBS location information from the LBS base station. It then compares this real-time transportation path with a preset reference transportation path. If the path error is within a reasonable range, the transportation path is considered normal; otherwise, it indicates an abnormal path, triggering a preset alarm strategy to further enhance the safety of the mobile cold chain warehouse during transportation.

[0098] The preset reference transportation routes for cold chain warehouses are obtained based on relevant transportation locations during the transportation process. These may include, in addition to the origin and destination, transit points (such as quarantine points), without limitation. The number of preset reference transportation routes for cold chain warehouses must be at least one, for example, at least one transportation route obtained through map services based on route planning of relevant transportation locations during the transportation process.

[0099] In an exemplary embodiment, the path error between the real-time transportation path of the mobile cold chain warehouse and the preset reference transportation path can be obtained through the following process:

[0100] Using the LBS location information continuously transmitted by the LBS base station as the first path point, a second path point with the same LBS location information as the first path point is located in the reference transportation path to obtain a number of second path points. If the ratio between the number of second path points and the number of first path points is less than a preset threshold, it indicates that the path error between the real-time transportation path and the reference transportation path is large, thus determining that there is an anomaly in the transportation path of the cold chain mobile warehouse. If there are multiple reference transportation paths, there are usually the same road segments among them. Therefore, in the process of locating the second path point, if the corresponding second path point is located in a certain reference transportation path, the locating of the second path point in other reference transportation paths will not continue. If the corresponding second path point is not located in a certain reference transportation path, other reference transportation paths will be traversed until the corresponding second path point is obtained. If the second path point cannot be located in all reference transportation paths, the process of locating the corresponding second path point for the current first path point ends.

[0101] As can be seen from the above, this embodiment uses LBS positioning service technology to monitor the real-time path of the mobile cold chain warehouse, which can further improve the safety of the mobile cold chain warehouse during transportation.

[0102] The embodiments of this application will be further understood below using an exemplary mobile cold chain warehouse in a transportation scenario:

[0103] First, before the mobile cold chain warehouse begins transportation, the industrial control computer follows... Figure 4The embodiment shown provides a pre-configured unique blockchain account address. During the configuration of this blockchain account address, the blockchain network associates it with the unique identifiers of each information collection device installed on the mobile cold chain warehouse. This binds the industrial control computer's blockchain account address with the unique identifiers of each information collection device on the mobile cold chain warehouse. It should also be understood that before the mobile cold chain warehouse begins transportation, the items to be transported should be loaded into the warehouse. After necessary operations such as inventorying the items are completed, the containers should be locked with smart locks to prevent items from being maliciously opened during transportation and resulting in loss. Furthermore, after the items are loaded into the mobile cold chain warehouse, the refrigeration unit should be started to cool the warehouse and ensure the quality and safety of the goods during transportation.

[0104] When the mobile cold chain warehouse begins transportation, the industrial control computer and various information collection devices installed on the mobile cold chain warehouse are activated to begin monitoring the entire transportation process.

[0105] During transportation in mobile cold chain warehouses, information collection devices report the collected cold chain data to an industrial control computer (ICC). The ICC then initiates on-chain processing of the received cold chain data and simultaneously sends it to a data service platform. For example, cold chain data includes abnormal data such as power outage alarms, smoke alarms, and door lock alarms. This abnormal data is collected by the information collection devices and sent to the ICC in real time, whereby the ICC initiates on-chain processing. Alternatively, cold chain data may include batch data such as refrigeration unit operating data, temperature information, humidity information, and location information. The information collection devices periodically collect this cold chain data and send it to the ICC. The ICC packages this data at specific operating cycles, processes it for on-chain processing, and sends it to the data service platform. After processing the on-chain cold chain data initiated by the ICC, the blockchain network also returns the corresponding transaction hash to the ICC.

[0106] During the transportation of mobile cold chain warehouses, LBS location services can be used to monitor the safety of the mobile cold chain warehouses during transportation. For details of the monitoring process, please refer to the content described in the aforementioned embodiments.

[0107] As can be seen from the above process, the cold chain data generated during the transportation process of the cold chain mobile warehouse is transmitted from the physical end to the blockchain without any possibility of human manipulation or tampering. This ensures the trustworthiness of the data source and guarantees the reliability of subsequent processing based on the cold chain data. For example, based on this trustworthy cold chain data, the transportation process of the cold chain mobile warehouse can be reliably monitored, providing the most basic data reliability guarantee for data processing in the cold chain field.

[0108] Furthermore, based on the various cargo transportation information recorded on the industrial control computers, users can obtain all the information about the goods during transportation by querying online (by entering the tracking number or scanning a QR code, etc.). For example, the information such as when the goods were loaded onto a transport vehicle at a certain dock at a certain time, and the temperature, transfer, humidity, and geographical location information collected by the industrial control computers inside the vehicle throughout the transportation process, can all be fully displayed to users and merchants, allowing them to understand whether the goods are being transported safely and in compliance with requirements. If, at a certain location, the transport vehicle's doors are left open for too long during unloading, causing the interior temperature to become too high, this information will be recorded on the cargo blockchain. Users can then use this information to request a return or exchange from the merchant. Because the data of the entire chain is automatically uploaded to the blockchain, there is no possibility of tampering. Both merchants and users can view the records, thus making transactions more transparent and traceable.

[0109] Figure 8 This is a block diagram illustrating a cold chain data processing apparatus according to an exemplary embodiment of this application. The apparatus is applied to an industrial control computer installed on a cold chain mobile warehouse, and the industrial control computer is configured with a unique blockchain account address. For detailed information regarding the cold chain mobile warehouse and the industrial control computer, please refer to the descriptions in the foregoing embodiments. Figure 8 As shown, the cold chain data processing device includes:

[0110] The data acquisition module 810 is configured to acquire cold chain data collected by information acquisition equipment connected to the industrial control computer. The cold chain data is associated with a unique identification code of the corresponding information acquisition equipment, and the unique identification code is bound to the blockchain account address of the industrial control computer. The data upload module 830 is configured to send a data upload request to the blockchain network. The data upload request carries the cold chain data and is used to request the blockchain network to perform on-chain processing of the cold chain data so as to store the cold chain data on the blockchain. The result acquisition module 850 is configured to acquire the transaction hash returned by the blockchain network in response to the data upload request.

[0111] In this device, because the information collection equipment in the cold chain mobile warehouse is connected to the industrial control computer, the industrial control computer can directly obtain the cold chain data collected by the information collection equipment. In addition, by binding the industrial control computer to a unique blockchain account, every piece of cold chain data during the transportation process of the cold chain mobile warehouse is directly generated by the information collection equipment set up on the cold chain mobile warehouse, and is accompanied by a trusted blockchain account address and a unique identification code. This ensures that the cold chain data generated in the cold chain mobile warehouse is not subject to human manipulation or tampering from the physical end to the blockchain end, thus guaranteeing the trustworthiness of the data source. At the same time, the embodiments of this application store trusted cold chain data on the blockchain. Based on the immutability of the blockchain, the trustworthiness of the cold chain data stored on the blockchain is further improved.

[0112] In another exemplary embodiment, the device further includes:

[0113] The data synchronization module is configured to send the acquired cold chain data to the data service platform according to the preset transmission protocol between the industrial control computer and the data service platform, so as to synchronously store the cold chain data on the data service platform.

[0114] In another exemplary embodiment, the device further includes:

[0115] The hash synchronization module is configured to send the acquired transaction hash to the data service platform, so that the data service platform can associate and store the received transaction hash with the corresponding cold chain data. When the data service platform receives a data verification request, it verifies the cold chain data to be verified based on the transaction hash associated with the cold chain data to be verified.

[0116] In another exemplary embodiment, the device further includes:

[0117] The identity acquisition module is configured to acquire the unique identity code of the information acquisition device connected to the industrial control computer; the identity upload module is configured to send the acquired unique identity code to the blockchain network so that the blockchain network can create a blockchain account uniquely corresponding to the industrial control computer and bind the blockchain account address corresponding to the blockchain account with the received unique identity code; the account address receiving module is configured to receive the blockchain account address returned by the blockchain network.

[0118] In another exemplary embodiment, the data upload module 830 is configured to send a data upload request to a blockchain node in the blockchain network, so that the blockchain node uses a private key uniquely associated with the blockchain chain account address of the industrial control computer to sign the cold chain data carried in the data upload request, and obtains signed data, so as to initiate the upload process of the cold chain data in the blockchain network based on the signed data.

[0119] It should be noted that the cold chain data processing device and the cold chain data processing method provided in the above embodiments belong to the same concept. The specific ways in which each module and unit performs operations have been described in detail in the method embodiments and will not be repeated here. In practical applications, the cold chain data processing device provided in the above embodiments can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above. This is not a limitation here.

[0120] Embodiments of this application also provide a cold chain data processing device, including: one or more processors; and a storage device for storing one or more programs, wherein when the one or more programs are executed by the one or more processors, the cold chain data processing device implements the cold chain data processing methods provided in the above embodiments.

[0121] Figure 9 A schematic diagram of a computer system suitable for implementing the cold chain data processing equipment of the embodiments of this application is shown. It should be noted that... Figure 9 The computer system 900 of the cold chain data processing equipment shown is merely an example and should not impose any limitation on the functionality and scope of use of the embodiments of this application.

[0122] like Figure 9 As shown, the computer system 900 includes a Central Processing Unit (CPU) 901, which can perform various appropriate actions and processes based on programs stored in Read-Only Memory (ROM) 902 or programs loaded from storage portion 908 into Random Access Memory (RAM) 903, such as performing the methods described in the above embodiments. The RAM 903 also stores various programs and data required for system operation. The CPU 901, ROM 902, and RAM 903 are interconnected via a bus 904. An Input / Output (I / O) interface 905 is also connected to the bus 904.

[0123] The following components are connected to I / O interface 905: an input section 906 including a keyboard, mouse, etc.; an output section 907 including a cathode ray tube (CRT), liquid crystal display (LCD), etc., and speakers, etc.; a storage section 908 including a hard disk, etc.; and a communication section 909 including a network interface card such as a LAN (Local Area Network) card, modem, etc. The communication section 909 performs communication processing via a network such as the Internet. A drive 910 is also connected to I / O interface 905 as needed. Removable media 911, such as a disk, optical disk, magneto-optical disk, semiconductor memory, etc., are installed on drive 910 as needed so that computer programs read from them can be installed into storage section 908 as needed.

[0124] Specifically, according to embodiments of this application, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, embodiments of this application include a computer program product comprising a computer program carried on a computer-readable medium, the computer program including a computer program for performing the methods shown in the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network via communication section 909, and / or installed from removable medium 911. When the computer program is executed by central processing unit (CPU) 901, it performs various functions defined in the system of this application.

[0125] It should be noted that the computer-readable medium shown in the embodiments of this application can be a computer-readable signal medium or a computer-readable storage medium, or any combination of the two. A computer-readable storage medium can be, for example, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples of a computer-readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer disk, a hard disk, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM), flash memory, optical fiber, portable compact disc read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination thereof. In this application, a computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, carrying a computer-readable computer program. Such propagated data signals can take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. Computer-readable signal media can also be any computer-readable medium other than computer-readable storage media, which can send, propagate, or transmit a program for use by or in connection with an instruction execution system, apparatus, or device. The computer program contained on the computer-readable medium can be transmitted using any suitable medium, including but not limited to wireless, wired, etc., or any suitable combination thereof.

[0126] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of this application. Each block in a flowchart or block diagram may represent a module, segment, or portion of code, which contains one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions indicated in the blocks may occur in a different order than those indicated in the drawings. For example, two consecutively indicated blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in a block diagram or flowchart, and combinations of blocks in a block diagram or flowchart, can be implemented using a dedicated hardware-based system that performs the specified function or operation, or using a combination of dedicated hardware and computer instructions.

[0127] The units described in the embodiments of this application can be implemented in software or hardware, and the described units can also be located in a processor. The names of these units do not necessarily limit the specific unit itself.

[0128] Another aspect of this application provides a computer-readable storage medium storing a computer program thereon, which, when executed by a processor, implements the cold chain data processing method as described above. This computer-readable storage medium may be included in the cold chain data processing apparatus described in the above embodiments, or it may exist independently and not assembled into the cold chain data processing apparatus.

[0129] Another aspect of this application provides a computer program product or computer program including computer instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the computer device to perform the cold chain data processing method provided in the various embodiments described above.

[0130] The above description is merely a preferred exemplary embodiment of this application and is not intended to limit the implementation of this application. Those skilled in the art can easily make corresponding modifications or alterations based on the main concept and spirit of this application. Therefore, the scope of protection of this application should be determined by the scope of protection claimed in the claims.

Claims

1. A cold chain data processing method, characterized in that, The method is applied to an industrial control computer installed in a cold chain mobile warehouse, and the method includes: Before the mobile cold chain warehouse begins transportation, obtain the unique identification code of the information collection device connected to the industrial control electromechanical system; The obtained unique identification code is sent to the blockchain network so that the blockchain network creates a blockchain account that uniquely corresponds to the industrial control computer, and the blockchain account address corresponding to the blockchain account is bound to the received unique identification code; Receive the blockchain account address returned by the blockchain network; During the transportation process of the mobile cold chain warehouse, cold chain data is acquired by the information acquisition device connected to the industrial control electromechanical system, and the cold chain data is associated with the unique identification code of the information acquisition device; The trustworthiness of the cold chain data is determined based on the unique identifier associated with it. If the cold chain data is trustworthy, a data upload request is sent to the blockchain node. The data upload request carries the cold chain data and is used to request the blockchain network to perform on-chain processing of the cold chain data to store the cold chain data on the blockchain. After receiving the data upload request, the blockchain node searches its local storage for a set of unique identifiers bound to the blockchain account address of the industrial control machine, and determines whether the unique identifier information associated with the cold chain data carried in the data upload request exists in this set of unique identifiers. If it does, the private key uniquely associated with the blockchain account address of the industrial control machine is used to sign the cold chain data carried in the data upload request to obtain signature data. The signature data is then used to initiate the on-chain processing of the cold chain data in the blockchain network. Obtain the transaction hash returned by the blockchain network in response to the data upload request.

2. The method according to claim 1, characterized in that, The method further includes: According to the preset transmission protocol between the industrial control computer and the data service platform, the acquired cold chain data is sent to the data service platform for synchronous storage.

3. The method according to claim 2, characterized in that, The method further includes: The obtained transaction hash is sent to the data service platform so that the data service platform can associate and store the received transaction hash with the corresponding cold chain data. When the data service platform receives a data verification request, it verifies the cold chain data to be verified based on the transaction hash associated with the cold chain data to be verified.

4. The method according to claim 3, characterized in that, The data service platform performs a preset hash operation on the cold chain data to be verified, and compares the resulting verification hash with the transaction hash associated with the cold chain data. If the two are the same, the cold chain data to be verified is determined to have passed verification. The preset hash operation corresponds to the method by which the blockchain network obtains the transaction hash.

5. The method according to claim 1, characterized in that, Before creating a unique blockchain account address corresponding to the industrial control computer, the blockchain network also assembles the received unique identification code to create a blockchain account corresponding to the industrial control computer based on the assembled information.

6. The method according to claim 1, characterized in that, After obtaining the signature data, the blockchain node performs a hash operation on the merged data formed by the cold chain data and the signature data to obtain a transaction hash, and initiates the on-chain processing of the cold chain data in the blockchain network based on the transaction hash.

7. The method according to claim 6, characterized in that, After obtaining the transaction hash, the blockchain node also encapsulates the transaction hash into metadata of the blockchain transaction body, so as to initiate the on-chain processing of the encapsulated blockchain transaction in the blockchain network.

8. A cold chain transportation information system, characterized in that, include: A mobile cold chain warehouse is equipped with an industrial control computer and information collection devices electrically connected to each other. The industrial control computer is configured with a unique blockchain account address, and the information collection devices are used to collect cold chain data. The cold chain data is associated with a unique identification code of the corresponding information collection device, and the unique identification code is bound to the blockchain account address of the industrial control computer. Specifically, before the mobile cold chain warehouse begins transportation, the industrial control computer obtains the unique identification code of the information collection device electrically connected to it; it then sends the obtained unique identification code to the blockchain network, so that the blockchain network creates a blockchain account uniquely corresponding to the industrial control computer and records the corresponding blockchain account. The system binds the user address to the received unique identification code; receives the blockchain account address returned by the blockchain network; during transportation in the mobile cold chain warehouse, acquires cold chain data collected by the information collection device connected to the industrial control electromechanical system, and associates the cold chain data with the unique identification code of the information collection device; performs a credibility judgment based on the unique identification code associated with the cold chain data, and if the cold chain data is credible, sends a data upload request to the blockchain node, the data upload request carrying the cold chain data, and the data upload request is used to request the blockchain network to perform on-chain processing of the cold chain data so as to store the cold chain data on the blockchain; The blockchain network is used to receive data upload requests sent by the industrial control computer, search for a set of unique identifiers bound to the blockchain account address of the industrial control computer from local storage, and determine whether the unique identifier information associated with the cold chain data carried in the data upload request exists in this set of unique identifiers. If it does, the private key uniquely associated with the blockchain account address of the industrial control computer is used to sign the cold chain data carried in the data upload request to obtain signature data. Based on the signature data, the network initiates the data upload process for the cold chain data to store the cold chain data on the blockchain and returns a transaction hash to the industrial control computer.

9. The system according to claim 8, characterized in that, The system also includes: The data service platform is used to receive and store the cold chain data sent by the industrial control computer, so as to synchronously store the cold chain data collected by the information acquisition device.

10. A cold chain data processing device, characterized in that, The device is applied to an industrial control computer installed in a cold chain mobile warehouse, and the device includes: The identity acquisition module is configured to acquire the unique identity code of the information collection device connected to the industrial control electromechanical system before the mobile cold chain warehouse starts transportation. The identity upload module is configured to send the obtained unique identity code to the blockchain network, so that the blockchain network creates a blockchain account that uniquely corresponds to the industrial control computer, and binds the blockchain account address corresponding to the blockchain account with the received unique identity code; The account address receiving module is configured to receive the blockchain account address returned by the blockchain network; The data acquisition module is configured to acquire cold chain data collected by the information acquisition device connected to the industrial control electromechanical system during the transportation process of the mobile cold chain warehouse, wherein the cold chain data is associated with the unique identification code of the information acquisition device; The data upload module is configured to determine the trustworthiness of the cold chain data based on the unique identifier associated with it. If the cold chain data is trustworthy, a data upload request is sent to the blockchain node. The data upload request carries the cold chain data and is used to request the blockchain network to perform on-chain processing on the cold chain data to store the cold chain data on the blockchain. After receiving the data upload request, the blockchain node searches its local storage for a set of unique identifiers bound to the blockchain account address of the industrial control machine, and determines whether the unique identifier information associated with the cold chain data carried in the data upload request exists in this set of unique identifiers. If it does, the private key uniquely associated with the blockchain account address of the industrial control machine is used to sign the cold chain data carried in the data upload request to obtain signature data. The signature data is then used to initiate the on-chain processing of the cold chain data in the blockchain network. The result acquisition module is configured to acquire the transaction hash returned by the blockchain network in response to the data upload request.

11. A cold chain data processing device, characterized in that, include: One or more processors; A storage device for storing one or more programs, which, when executed by the one or more processors, cause the cold chain data processing device to implement the cold chain data processing method as described in any one of claims 1 to 7.

12. A computer-readable storage medium, characterized in that, It stores computer-readable instructions that, when executed by the processor of a computer, cause the computer to perform the cold chain data processing method according to any one of claims 1 to 7.

13. A computer program product, comprising a computer program, characterized in that, When executed by a processor, the computer program implements the cold chain data processing method according to any one of claims 1 to 7.