Temperature and humidity detection system based on block chain intelligent contract logistics transportation
Through the blockchain smart contract combined with the temperature and humidity detection terminal system, the real-time and accuracy of temperature and humidity detection in cold chain transportation is solved, and the intelligent management of the transportation environment is realized and losses are reduced.
Patent Information
- Application Number
- CN202422408196.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-30
- Publication Date
- 2025-08-12
- Estimated Expiration
- 2034-09-30
AI Technical Summary
Traditional temperature and humidity detection systems are difficult to achieve real-time and accuracy in cold chain transportation, and cannot adjust the transportation environment in time to reduce losses.
The temperature and humidity detection system based on blockchain smart contracts is adopted, and the temperature and humidity detection terminal is combined with the blockchain network to realize instant data storage and comparison, and the transportation environment is automatically adjusted using smart contracts.
It improves the accuracy and real-time nature of temperature and humidity detection, reduces losses during transportation, and realizes intelligent management of the transportation environment.
Smart Images

Figure CN223219106U_ABST
Abstract
Description
Technical Field
[0001] The utility model belongs to the technical field of cold chain transportation monitoring, and in particular relates to a temperature and humidity detection system based on blockchain smart contract logistics transportation. Background Art
[0002] During long-distance transportation of frozen or refrigerated foods, the ambient temperature and humidity of the logistics transport environment are difficult to control, especially for agricultural products. Traditional monitoring methods use temperature and humidity recorders to measure and record the temperature and humidity of the entire vehicle compartment. Specifically, each cold chain transport vehicle is equipped with one or more temperature and humidity recorders to measure and record the temperature and humidity within the compartment during transportation. Traditional temperature and humidity recorders require wired connections and manual intervention to export and record temperature and humidity data only during unloading. Since goods stored in refrigerated compartments must maintain a relatively stable temperature and humidity environment, transporters struggle to adjust the temperature and humidity within the compartment based on optimal data to ensure optimal transportation conditions and minimize losses during transportation. Therefore, ensuring that goods remain within the specified temperature and humidity conditions during unloading is crucial to enhance safety during frozen or refrigerated transportation. Traditional monitoring methods struggle to accurately and timely monitor temperature and humidity within refrigerated compartments, failing to meet the temperature and humidity monitoring requirements of the modern cold chain transportation industry. In view of the above technical defects, it is necessary to study an economical and practical temperature and humidity detection system for logistics transportation that integrates automation, immediacy and intelligence to meet the requirements of temperature and humidity detection in the modern cold chain transportation industry. Utility Model Content
[0003] The purpose of this utility model is to provide a temperature and humidity detection system for logistics and transportation based on blockchain smart contracts. The temperature and humidity detection system of this utility model solves the problem that the temperature and humidity of the transportation environment cannot be accurately measured during the logistics and transportation process, and the transporter cannot adjust the temperature and humidity of the environment in a timely manner, thereby reducing the losses caused by the temperature and humidity of the environment during the logistics and transportation process. In order to achieve the above purpose, this utility model adopts the following technical solutions:
[0004] According to one aspect of the present invention, a temperature and humidity detection system based on blockchain smart contract logistics transportation is provided, which is characterized in that: the temperature and humidity detection system includes a supervision server and one or more temperature and humidity detection terminals arranged in each logistics compartment, and the temperature and humidity detection terminals in each logistics compartment form a temperature and humidity detection network through network terminals. The temperature and humidity detection network is connected to at least one blockchain network, and the blockchain network contains a smart contract module for storing temperature and humidity data on the chain; the temperature and humidity detection terminal calls and executes the smart contract when receiving a trigger signal to store the detection data in the blockchain network, and the supervision server is used to obtain temperature and humidity data from the network terminal through each blockchain network.
[0005] In the above solution, the temperature and humidity detection system further includes a blockchain module connected to the blockchain network, and the blockchain module is interactively connected to the storage input terminal of the network terminal. The blockchain module includes a data interaction module, a blockchain communication interface, and an external network communication interface. The data interaction module exchanges data with nodes in the blockchain network through the blockchain communication interface.
[0006] The above scheme is preferred, the temperature and humidity detection terminal includes a temperature and humidity sensor module, a host controller and a master radio frequency identification communication module, the network terminal includes a slave controller and a slave radio frequency identification communication module, a wireless transmission module and a liquid crystal display respectively connected to the slave controller, the temperature and humidity sensor module is arranged in each logistics compartment, the acquisition output end of the temperature and humidity sensor module is connected to the host controller, the communication end of the host controller is connected to the communication end of the slave controller through the master radio frequency identification communication module and the slave radio frequency identification communication module, and the host controller is communicated with the supervision server through the wireless transmission module.
[0007] Preferably, the above solution comprises: the network terminal further comprising an audible and visual alarm module and a positioning module, and the audible and visual alarm module and the positioning module are respectively connected to the slave controller.
[0008] Preferably, the master RFID communication module and the slave RFID communication module respectively adopt nRF24L01 wireless RF communication modules.
[0009] Preferably, the temperature and humidity detection terminal further comprises a power supply module, the power supply module comprises a power adapter and a voltage conversion circuit, the power adapter is a DC24V to DC9V power adapter, and the voltage conversion circuit is a DC9V to DC5V voltage conversion circuit.
[0010] Preferably, the host controller and the slave controller use TMS320F280049 chips.
[0011] Preferably, the above solution further comprises one or more user terminals, and the user terminals are used to obtain temperature and humidity data from the network terminal through each blockchain network.
[0012] In summary, since the present invention adopts the above technical solution, the present invention has the following technical effects:
[0013] (1) The utility model adopts radio frequency wireless communication technology to transmit the temperature and humidity sensor data collected by the host controller to the slave controller, which has many advantages such as convenient reading, intuitive display, diverse functions, low cost, accurate measurement of ambient temperature and humidity, and is not prone to errors.
[0014] (2) This utility model combines radio frequency wireless communication technology to accurately detect the ambient temperature and humidity during the logistics and transportation process, so as to improve the environment that adapts to the transportation of goods. By using blockchain and smart contracts, the temperature and humidity data of the logistics and transportation process can be completely saved, and the level of information management can be improved. Compared with the traditional logistics and transportation environment temperature and humidity, the traditional thermometer has poor measurement accuracy, non-intuitive display, and cannot accurately set the measurement range. This temperature and humidity control system has the advantages of accurate temperature measurement, low cost, and can reduce the losses caused by the ambient temperature and humidity during the logistics and transportation process.
[0015] (3) The use of blockchain technology can store real-time data on ambient temperature and humidity and call the optimal transportation environment temperature and humidity data in the blockchain for comparison. Transporters can adjust the real-time ambient temperature and humidity in a timely manner according to the optimal data to ensure the optimal transportation environment. Regulatory agencies can also use blockchain technology for tracking and tracing to reduce losses during logistics transportation. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] Figure 1 This is the overall block diagram of a temperature and humidity detection system based on blockchain smart contract logistics transportation in this utility model;
[0017] Figure 2 This is a schematic diagram of the system principle of a temperature and humidity detection system based on blockchain smart contract logistics transportation in this utility model;
[0018] Figure 3 This is a schematic diagram of the detection process of a temperature and humidity detection system based on blockchain smart contract logistics transportation in the utility model;
[0019] Figure 4 This is a schematic diagram of the circuit structure of the temperature and humidity sensor module of the present utility model;
[0020] Figure 5 This is a schematic diagram of the circuit structure of the DC9V to DC5V voltage conversion circuit of the utility model; DETAILED DESCRIPTION
[0021] To make the objectives, technical solutions, and advantages of the present invention more clearly understood, the present invention is further described in detail below with reference to the accompanying drawings and preferred embodiments. However, it should be noted that many of the details listed in this specification are merely provided to help readers gain a thorough understanding of one or more aspects of the present invention, and these aspects of the present invention can be implemented even without these specific details.
[0022] like Figure 1 and Figure 2 As shown, according to a temperature and humidity detection system based on blockchain smart contract logistics transportation provided by the present invention, the temperature and humidity detection system includes a supervision server and one or more temperature and humidity detection terminals arranged in each logistics compartment. The temperature and humidity detection terminals in each logistics compartment form a temperature and humidity detection network through a network terminal and the supervision server. At least one blockchain network is set in the temperature and humidity detection network, and the blockchain network contains a smart contract module for storing temperature and humidity data on the chain; when the temperature and humidity detection terminal receives a trigger signal, it calls and executes the smart contract to store the detection data in the blockchain network, and the supervision server is used to obtain temperature and humidity data from the network terminal through each blockchain network; in the present invention, the temperature and humidity detection system also includes The system comprises one or more user terminals, which are smart mobile terminals or mobile phone terminals. The user terminals are used to obtain temperature and humidity data from network terminals through each blockchain network. The temperature and humidity detection system also includes a blockchain module connected to the blockchain network, which is interactively connected to the storage input terminal of the network terminal. The blockchain module includes a data interaction module, a blockchain communication interface, and an external network communication interface. The data interaction module interacts with nodes in the blockchain network through the blockchain communication interface. The external network communication interface includes one or more of a network interface, a serial interface, a USB interface, an input / output device interface, and a display device interface, which facilitates connection with external devices to realize data interaction such as data display, data analysis, and data storage, thereby expanding applications. The data interaction module interacts with data stored in the blockchain network through the blockchain communication interface, which can improve the security of data stored in the blockchain network.
[0023] like Figure 1 、 Figure 2 、 Figure 3As shown, the temperature and humidity detection terminal includes a temperature and humidity sensor module, a host controller and a master radio frequency identification communication module, the network terminal includes a slave controller and a slave radio frequency identification communication module, a wireless transmission module and a liquid crystal display respectively connected to the slave controller, the temperature and humidity sensor module is arranged in each logistics compartment, the acquisition output end of the temperature and humidity sensor module is connected to the host controller, the communication end of the host controller is connected to the communication end of the slave controller through the master radio frequency identification communication module and the slave radio frequency identification communication module, the host controller is connected to the supervision server through the wireless transmission module, and the wireless transmission module is a GPRS communication module or a 4G / 5G communication module; the slave controller and each slave radio frequency identification communication module distribution node form a blockchain network to realize the temperature and humidity sensor data collected by the host controller to be sent to the slave controller, the slave controller is respectively connected to the liquid crystal display and the sound and light alarm module as the output end, and the slave controller transmits the data to the smart contract module. After the smart contract module contract is generated, it is respectively connected to the blockchain module storing the contract, the supervision server and the supply chain system (module) installed in the user terminal.
[0024] like Figure 1 、 Figure 2 、 Figure 3 As shown, a smart contract is a transaction agreement processed by a computer system that can execute the contract terms. The overall goal is to meet the established conditions of the agreement. Smart contracts are divided into two submodules: contract generation and contract execution. Contract generation stores the smart contract in the blockchain module, while contract execution executes the smart contract code in the blockchain and calls data from the blockchain module. The smart contract module in this utility model uses smart contracts based on blockchain technology. The smart contract platform is the currently mainstream Ethereum public blockchain platform. The logistics temperature and humidity detection system of this utility model uses the Solidity language specifically for Ethereum. Solidity can implement various types of smart contracts, such as supply chain, product traceability, and logistics transportation. The contract generation submodule is responsible for storing the smart contract code in the blockchain module. The smart contract code is jointly developed by the various entities in the supply chain system (module) and is formatted into two parts: a structure and a function. The structure records product information and relevant data from various entities in the supply chain system, while the function provides interface code for external operations, such as storage and query interfaces. The business process of the contract execution submodule is as follows: the supply chain system (module) executes the smart contract generated in the contract generation submodule through Ethereum; at the same time, other nodes will also execute this smart contract, and the execution of the smart contract by each node is independent of each other; when each node completes the execution, it will verify whether the results are consistent with each other; after the verification is passed, the system will return the execution result to the supply chain system (module) and store the result in the blockchain of each node.
[0025] In the present invention, the blockchain module is the core part of the system. The blockchain has the characteristics of decentralization, joint maintenance, data transparency, non-tamperability, timestamps, and the principle of eventual consistency, and realizes the functions of storing smart contract code, storing data according to the smart contract program, and querying data. More specifically, the blockchain module includes a block header and a block body. The block header in the blockchain module uses a hash value as the unique identifier of the block, which is stored in the "Hash value of the previous block header" field of the block header of the next block. By recording the hash value of the block header, a data chain is formed from the latest block to the first block, ensuring that the supply chain system (module) can trace back to the data of each entity at each time stage. In addition, the "Hash value of data" field of the block body records the hash value of each data of each entity during the time period of this block, ensuring that each data of each entity in the supply chain system can be traced. Through these two parts of the blockchain, the temperature and humidity data of the logistics and transportation environment can be traced, facilitating accountability and supervision. Furthermore, the point where blockchain enters the supply chain is logistics. The supply chain system (module) serves as a system for supervising servers in the regulatory agency. The supply chain system (module) always monitors the environmental temperature and humidity during the logistics transportation process as a scheduling tool for the most suitable logistics transportation environment.
[0026] In this utility model, if Figure 1 、 Figure 2 As shown, the host controller and slave controller use TMS320F280049 chips, and the master and slave RFID communication modules each use nRF24L01 wireless RF communication modules. The host controller is connected to the slave controller RFID communication module. The nRF24L01 wireless RF communication module has built-in functional modules such as frequency synthesizer, power amplifier, crystal oscillator, modulator, etc., and the supply voltage is 1.9V to 3.6V. The nRF24L01 has low power consumption, with an operating current of 9mA when transmitting at a power of -6dBm. The LCD display uses an LCD1602 display module, which controls its display area by voltage. The LCD1602 display module has a 32-line character display with a 5×7 dot matrix. More specifically, the LCD1602 uses a standard 16-pin backlight interface. VO is the LCD contrast adjustment terminal. A 3K ohm resistor is connected in series from the VO pin to GND. When the VO pin is connected to the positive terminal of the power supply, the contrast is the lowest, and when it is grounded, the contrast is the highest. In this utility model, the temperature and humidity sensor module adopts the DHT11 sensor. Figure 4As shown, the supply voltage is 3-5.5V. A 100nF capacitor C0 is added between the power pins for decoupling and filtering. The DHT11 digital temperature and humidity sensor is a composite temperature and humidity sensor with a calibrated digital output. It includes a resistive humidity sensor and an NTC temperature measuring element. The collected and output temperature and humidity sensor data is connected to the high-performance TMS320F280049 chip via interface J. This product offers excellent quality, ultra-fast response, strong anti-interference capabilities, and a very cost-effective price. Upon receiving a signal, the DHT11 digital temperature and humidity sensor switches from low-power mode to high-speed mode. After waiting for a start signal from the host controller, the DHT11 digital temperature and humidity sensor sends a response signal, transmits 40 bits of data, and triggers a signal acquisition. Receiving a start signal triggers a temperature and humidity acquisition. If it does not receive a start signal from the host controller, the DHT11 digital temperature and humidity sensor does not actively acquire temperature and humidity data and switches back to low-speed mode after acquiring data.
[0027] In this utility model, if Figure 1 、 Figure 2 、 Figure 3 As shown, the network terminal also includes an audible and visual alarm module and a positioning module, which are respectively connected to the slave controller; the positioning module is a Beidou positioning module, which can be used to obtain the location of the logistics freight vehicle in real time, and remotely feed the temperature and humidity data detected by the temperature and humidity sensor and the positioning data of the positioning module to the slave controller, the supervision server and / or the user terminal through the radio frequency identification communication module. The supervision server is the staff of the supervision unit or the transportation company, and the user terminal is the staff of the shipping unit or the harvesting unit. The staff of the supervision server and / or the user terminal view the temperature and humidity data and the positioning data in real time, thereby realizing "transparent" detection and supervision of the entire logistics transportation.
[0028] In this utility model, if Figure 2 、 Figure 3 As shown, the temperature and humidity detection terminal also includes a power supply module, which includes a power adapter and a voltage conversion circuit. The power adapter is a DC24V to DC9V power adapter, and the voltage conversion circuit is a DC9V to DC5V voltage conversion circuit. The core component of the voltage conversion circuit adopts a three-terminal voltage regulator integrated circuit L7805 chip, as shown in FIG. Figure 5As shown in the figure, the 24V power supply voltage output by the freight truck is converted into a 9V DC voltage through the power adapter. This DC voltage is stabilized by the L7805 chip and filtered by two 100uF capacitors in parallel, and a 5V DC output voltage with high precision and good stability is generated at the output end of the voltage stabilizer. The L7805 three-terminal voltage regulator chip is suitable for currents above several hundred milliamperes. The advantage of using a transformer chip is that the circuit is simple and the cost is low.
[0029] Combine Figure 1 、 Figure 2 and Figure 3 As shown, the working principle of the temperature and humidity detection system based on blockchain smart contract logistics transportation of the utility model is further explained. During the logistics transportation process, the host controller uses radio frequency wireless communication technology to realize that the host controller sends the temperature and humidity sensing data collected by the temperature and humidity sensor module to the slave controller. The temperature and humidity sensing data received by the slave controller will be displayed on the LCD display and the temperature and humidity sensing data will be compared with the optimal environmental temperature and humidity stored in the smart contract. When the ambient temperature and humidity are not within the optimal transportation environment temperature and humidity range specified by the smart contract, the smart contract module outputs various signals according to the written smart contract program, driving the sound and light alarm module to send an sound and light alarm signal. The red light bulb of the sound and light alarm module will light up, prompting the logistics transporter that the transportation environment has exceeded the optimal transportation environment. Please adjust the ambient temperature and humidity in time, otherwise it may cause the goods to deteriorate. The data generated by sending the alarm signal is stored in the blockchain. At the same time, the staff of the regulatory agency will also receive the alarm signal through the regulatory server, playing a dual role in supervising the transportation environment. When the ambient temperature and humidity tend to be within the optimal range, the temperature and humidity sensor continuously transmits normal signals to the smart contract, and the smart contract outputs normal signals to the sound and light alarm, driving the green light bulb to light up, indicating that the entire system is now within the optimal logistics and transportation environment temperature and humidity range.
[0030] The above is only a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present invention. These improvements and modifications should also be regarded as within the scope of protection of the present invention.
Claims
1. A temperature and humidity detection system based on blockchain smart contract logistics transportation, characterized by: The temperature and humidity detection system includes a supervision server and one or more temperature and humidity detection terminals installed in each logistics compartment. The temperature and humidity detection terminals in each logistics compartment form a temperature and humidity detection network through network terminals. The temperature and humidity detection network is connected to at least one blockchain network, and the blockchain network includes a smart contract module for storing temperature and humidity data on the blockchain. The temperature and humidity detection terminal calls and executes the smart contract upon receiving a trigger signal to store the detection data in the blockchain network, and the supervision server is used to obtain the temperature and humidity data from the network terminal through each blockchain network.
2. A temperature and humidity detection system based on blockchain smart contract logistics transportation according to claim 1, characterized in that: The temperature and humidity detection system also includes a blockchain module connected to the blockchain network, the blockchain module is interactively connected to the storage input end of the network terminal, the blockchain module includes a data interaction module, a blockchain communication interface and an external network communication interface, and the data interaction module interacts with the nodes in the blockchain network through the blockchain communication interface.
3. A temperature and humidity detection system based on blockchain smart contract logistics transportation according to claim 1 or 2, characterized in that: The temperature and humidity detection terminal includes a temperature and humidity sensor module, a host controller and a master radio frequency identification communication module. The network terminal includes a slave controller and a slave radio frequency identification communication module, a wireless transmission module and a liquid crystal display respectively connected to the slave controller. The temperature and humidity sensor module is arranged in each logistics compartment. The acquisition output end of the temperature and humidity sensor module is connected to the host controller. The communication end of the host controller is connected to the communication end of the slave controller through the master radio frequency identification communication module and the slave radio frequency identification communication module. The host controller is connected to the supervision server through a wireless transmission module.
4. A temperature and humidity detection system based on blockchain smart contract logistics transportation according to claim 2, characterized in that: The network terminal further comprises an audible and visual alarm module and a positioning module, and the audible and visual alarm module and the positioning module are respectively connected to the slave controller.
5. A temperature and humidity detection system based on blockchain smart contract logistics transportation according to claim 3, characterized in that: The master radio frequency identification communication module and the slave radio frequency identification communication module respectively adopt nRF24L01 wireless radio frequency communication modules.
6. A temperature and humidity detection system based on blockchain smart contract logistics transportation according to claim 3, characterized in that: The temperature and humidity detection terminal also includes a power supply module, which includes a power adapter and a voltage conversion circuit. The power adapter is a DC24V to DC9V power adapter, and the voltage conversion circuit is a DC9V to DC5V voltage conversion circuit.
7. A temperature and humidity detection system based on blockchain smart contract logistics transportation according to claim 2, characterized in that: The host controller and slave controller use TMS320F280049 chip.
8. A temperature and humidity detection system based on blockchain smart contract logistics transportation according to claim 1 or 2, characterized in that: The temperature and humidity detection system also includes one or more user terminals, which are used to obtain temperature and humidity data from the network terminal through each blockchain network.