Freezing unit cargo safety management method and system and readable storage medium
By employing identity verification and heartbeat mechanisms, the problem of unauthorized changes to the cold storage operation mode was solved, enabling secure management of the cold storage and timely response to abnormal events, thereby reducing operating costs and cargo loss.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-10-31
- Publication Date
- 2026-03-13
Smart Images

Figure CN121659293A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of refrigeration and freezing equipment control technology, specifically to a method for managing the safety of goods in refrigeration and freezing units, a safety management system for goods in refrigeration and freezing units using this method, and a readable storage medium using this method. Background Technology
[0002] With the modernization of agriculture and the development of cold chain logistics systems, heat pump refrigeration and freezing units that combine refrigeration and heating functions have been widely used for the preservation and storage of agricultural products, especially vegetables and fruits, due to their advantages such as high efficiency, energy saving, and strong environmental adaptability.
[0003] In frigid regions during winter (such as Northeast and Northwest China), ambient temperatures can drop below -30°C. Traditional cold storage facilities with only refrigeration mode, even when not in operation, will cause fruit cells like apples, pears, and grapes to freeze due to the extremely low ambient temperature. After thawing, these fruits will soften and rot. Cold storage facilities with a heating mode, however, can achieve heating through reverse operation of a heat pump or auxiliary electric heating. This allows for slight heating when the storage temperature is too low, maintaining a suitable preservation temperature and humidity of 0-4°C, effectively preventing frost damage to fruits and vegetables and significantly extending their shelf life. Therefore, heat pump technology with both refrigeration and heating modes is a core component of modern cold storage facilities (especially for fruits and vegetables), and it has broad market application prospects in off-season sales, pre-cooling at production sites, and cold chain transit.
[0004] However, existing dual-mode (refrigeration and heating) cold storage facilities pose the following risks in actual use: Operating modes are easily manipulated or altered by unauthorized personnel, potentially causing irreversible damage to goods. For example, in the hot summer months, if the refrigeration mode is mistakenly switched to heating mode, the storage temperature will rise rapidly in a short time, causing fruits and vegetables to thaw quickly, spoil, and rot. Similarly, in the cold winter months, if the heating mode is mistakenly turned off, the storage temperature will continue to drop, causing frost damage to fruits and vegetables, rendering them unmarketable. Furthermore, in rural areas or unattended cold storage facilities, children or other people often come into contact with the equipment, posing a high risk of accidental contact. In addition, while some existing units support remote communication interfaces (such as RS485, Wi-Fi, 4G, 5G, etc.), they lack access control, making it possible for parameters to be illegally tampered with remotely. Moreover, the reporting of abnormal events relies on periodic polling, resulting in delayed responses and hindering timely intervention.
[0005] Although the probability of the above-mentioned events is low, because agricultural products such as fruits and vegetables have concentrated value and long storage periods, once a pattern error occurs, it often results in the scrapping of the entire warehouse of goods, causing significant economic losses to farmers. Summary of the Invention
[0006] To address the aforementioned problems, the primary objective of this invention is to provide a highly secure and cost-effective method for managing the safety of goods in refrigerated and frozen food units.
[0007] The second objective of this invention is to provide a cargo safety management system for refrigerated and frozen units that is highly secure and has low operating costs.
[0008] A third objective of this invention is to provide a readable storage medium for implementing the above-described method for managing the safety of goods in refrigerated and frozen units.
[0009] To achieve the first objective of this invention, the present invention provides a method for cargo safety management in refrigerated and frozen units, comprising: acquiring a modification instruction sent by a requesting terminal; authenticating the requesting terminal, and if the authentication is successful, receiving the modification instruction and writing the execution parameters in the modification instruction into a FLASH storage unit; controlling the refrigerated and frozen unit according to the execution parameters; periodically sending heartbeat packets to a server, and if an abnormal event is detected, embedding an abnormal flag bit in the next heartbeat packet; acquiring a data query request sent by the server and reporting the operating data to the server.
[0010] As can be seen from the above, adopting an authentication mechanism for requesting terminals can effectively prevent other personnel or children from arbitrarily changing the operating mode and temperature of refrigeration and freezing units, avoiding thawing and spoilage of goods such as fruits, vegetables, and meat due to abnormal warehouse temperatures. In addition, by periodically sending heartbeat packets to the server to maintain the TCP connection, and by embedding an abnormal flag in the heartbeat packet when an abnormal event is detected, the abnormal event can be reported in a timely manner, which facilitates the server to query detailed information about the abnormal event and promptly push alarm notifications to relevant personnel.
[0011] A preferred approach is to include the following steps for authenticating the requesting terminal: obtaining a verification password, determining whether the verification password is correct, and if the verification password is correct, receiving a modification instruction; if the verification password is entered incorrectly a preset number of times, locking the operation interface of the requesting terminal for a preset duration.
[0012] As can be seen from the above, using password verification for identity authentication can ensure the safety and reliability of the refrigeration and freezing unit cargo safety management system, and also reduce the cost of the refrigeration and freezing unit cargo safety management system. Furthermore, setting an upper limit on the number of incorrect identity authentication attempts provides double protection, better ensuring security, and facilitating the reporting of abnormal events so that relevant personnel can handle and respond in a timely manner.
[0013] Another preferred embodiment is that the cargo safety management method for refrigerated and frozen units further includes: when the cargo safety management system of the refrigerated and frozen unit loses power, writing the final operating parameters of the cargo safety management system of the refrigerated and frozen unit into the FLASH storage unit; when the cargo safety management system of the refrigerated and frozen unit regains power, obtaining the final operating parameters, and controlling the refrigerated and frozen unit according to the final operating parameters.
[0014] As can be seen from the above, this design enables the timely writing of key information such as the current mode, temperature data, and timestamps into the FLASH storage unit when a power outage occurs. This allows the system to automatically load the operating data from before the power outage and resume operation promptly after power is restored, thus better protecting the goods.
[0015] A further approach is to determine whether there are any abnormalities in the final operating parameters of the refrigeration and freezing unit before controlling it, and if so, to enter a safe mode.
[0016] As can be seen from the above, after power is restored, the final operating parameters are first self-checked to better determine whether the final operating parameters meet the current refrigeration / heating conditions of the warehouse, and if the refrigeration / heating conditions are met, the warehouse enters a safety mode to avoid damage to the goods.
[0017] Another preferred approach is to use a 1-byte encoding for the exception flag.
[0018] As can be seen from the above, this design can efficiently report abnormal events without increasing the consumption of regular traffic, and can achieve timely reporting of abnormal events (within 2 minutes at the latest), which is far superior to traditional polling systems.
[0019] A further solution is to include abnormal events such as temperature exceeding limits, mode modification, continuous password errors, power outages / returns, and communication interruption recovery.
[0020] As can be seen from the above, the abnormal events cover a variety of events, and can basically provide comprehensive feedback on any abnormal situations that may be encountered in the operation of the cargo safety management system of refrigeration and freezing units. It can also classify and accurately report abnormal events.
[0021] A further step is to have the heartbeat packet sending cycle between 30 and 120 seconds; the cargo safety management method for refrigerated and frozen units also includes: obtaining server feedback instructions, sending complete operating parameters to the server, and the server querying complete operating parameters every 5 to 15 minutes.
[0022] As can be seen from the above, the periodic design of the heartbeat packet enables near real-time reporting of abnormal events, allowing relevant personnel to handle abnormal situations more promptly and reduce cargo losses. By designing the server polling cycle in conjunction with the heartbeat packet, abnormal events can be handled in a timely manner, reducing the operating traffic of the refrigeration and freezing unit cargo safety management system and lowering operating costs.
[0023] To achieve the second objective of this invention, the present invention provides a cargo safety management system for refrigerated and frozen units, comprising a refrigerated and frozen unit, a wired controller, a FLASH storage unit, a main controller, a communication module, an interface module, a server, and an alarm module; the refrigerated and frozen unit and the wired controller are electrically connected to the main controller; the communication module is used to establish communication between the main controller and the server; the interface module is used to establish communication between the refrigerated and frozen unit and the main controller; the alarm module is used to push alarm information to the user terminal when an anomaly occurs; the FLASH storage unit stores a computer program, which, when executed by the main controller, implements the aforementioned cargo safety management method for refrigerated and frozen units.
[0024] As can be seen from the above, the design of the refrigeration and freezing unit cargo safety management system can effectively prevent unauthorized personnel or children from arbitrarily changing the operating mode and temperature of the refrigeration and freezing unit, avoiding thawing and spoilage of goods such as fruits, vegetables, and meat due to abnormal warehouse temperatures. In addition, when abnormal events occur, the refrigeration and freezing unit cargo safety management system can promptly notify relevant personnel for timely handling, reducing cargo losses. Furthermore, it can also reduce the operating costs of the refrigeration and freezing unit cargo safety management system.
[0025] A further option is to have two or more refrigeration and freezing units; the cargo safety management system for the refrigeration and freezing units also includes a backup power module, which is electrically connected to the main controller.
[0026] As can be seen from the above, by designing the number of refrigeration and freezing units, energy efficiency can be effectively improved and equipment wear can be reduced; while configuring a backup power module can ensure that the main controller can write key information such as the current mode, temperature data and timestamps into the FLASH storage unit in a timely manner when power is lost, so that cooling / heating can be quickly and efficiently restored after power is restored, reducing cargo loss.
[0027] To achieve the third objective of the present invention, the present invention provides a readable storage medium having a computer program stored thereon, wherein the computer program, when executed by a controller, implements the steps of the above-described method for managing the safety of goods in a refrigerated and frozen unit. Attached Figure Description
[0028] Figure 1 This is an overall architecture block diagram of an embodiment of the cargo safety management system for refrigerated and frozen units of the present invention.
[0029] Figure 2 This is a flowchart of an embodiment of the cargo safety management method for refrigerated and frozen units of the present invention.
[0030] Figure 3 This is a sequence diagram of the heartbeat package and anomaly reporting in an embodiment of the cargo safety management method for refrigerated and frozen units of the present invention.
[0031] Figure 4 This is a comparison diagram of the message formats of normal heartbeat packets and abnormal heartbeat packets in an embodiment of the cargo safety management method for refrigerated and frozen units of the present invention.
[0032] Figure 5 This is a multi-unit linkage control architecture diagram of an embodiment of the cargo safety management method for refrigeration and freezing units of the present invention.
[0033] The present invention will be further described below with reference to the accompanying drawings and embodiments. Detailed Implementation
[0034] Example of a cargo safety management system for refrigerated and frozen units Reference Figure 1 The cargo safety management system for refrigerated and frozen units includes a main controller 1, a FLASH storage unit, a wired controller 2, a refrigerated and frozen unit 3, a server 4, a temperature and humidity sensor 5, and a backup power module, etc.
[0035] The main controller 1 is used to control the refrigeration unit 3 to switch between operating modes such as cooling, heating, and defrosting (ice). It also controls the cooling / heating temperature and fan speed of the refrigeration unit 3. The main controller 1 has a first communication interface (including at least one of a 4G communication module, a 5G communication module, and a Wi-Fi module) to enable communication between the main controller 1 and the wired controller 2, the user terminal, and the server 4. Furthermore, the main controller 1 also has a second communication interface (including at least one of an RS485 interface and a CAN interface) to enable communication between the main controller 1 and the refrigeration unit 3, thereby allowing the main controller 1 to control the refrigeration unit 3 to perform relevant operations.
[0036] The FLASH storage unit is connected to the main controller 1. The FLASH storage unit can be integrated into the main controller 1 or externally located outside the main controller 1. The FLASH storage unit stores a computer program. When the computer program is executed by the main controller 1, it implements the refrigeration unit cargo safety management method described in the following embodiments. Furthermore, the FLASH storage unit is also used for persistent storage of operating modes, temperature setpoints, and operation logs.
[0037] The wired controller 2 is electrically connected to the main controller 1 to establish communication between them. As an optional communication method, the wired controller 2 includes a communication module, allowing the main controller 1 to receive commands sent by the wired controller 2. Alternatively, the wired controller 2 and the main controller 1 can be connected via a communication cable to establish communication. It is understood that the wired controller 2 and the main controller 1 can simultaneously utilize both communication modules and communication cables for communication.
[0038] Temperature and humidity sensor 5 is installed inside the warehouse to collect the temperature and humidity inside the warehouse in real time. Temperature and humidity sensor 5 is electrically connected to main controller 1 so that main controller 1 can understand the temperature and humidity inside the warehouse in real time through temperature and humidity sensor 5, thereby facilitating decision-making by main controller 1 and controlling refrigeration unit 3 to perform relevant operations.
[0039] The alarm module 51 is used to push alarm information to the user terminal when an abnormality occurs. Preferably, the alarm module 51 is set in the server 4 so that when an abnormal event occurs in the cargo safety management system of the refrigeration and freezing unit, alarm information is pushed to the management personnel via WeChat and / or SMS, so as to facilitate the management personnel to handle the abnormal event in a timely manner and reduce the loss of goods (such as fruits, vegetables, meat, etc.) caused by the abnormal event.
[0040] In addition, the number of refrigeration and freezing units 3 is preferably two or more. On the one hand, this can effectively improve energy utilization efficiency, on the other hand, reduce equipment wear and tear, and further enhance the response capability of the refrigeration and freezing unit cargo safety management system after a single refrigeration and freezing unit 3 fails, thereby helping to reduce cargo loss.
[0041] The backup power module is electrically connected to the main controller 1 to supply power to the main controller 1. This design ensures that when the refrigeration and freezing unit cargo safety management system experiences a power outage, the main controller 1 can promptly write key information such as the operating mode, temperature data, and timestamps of the refrigeration and freezing unit cargo safety management system before the power outage into the FLASH storage unit. This allows the refrigeration and freezing unit cargo safety management system to quickly and efficiently resume refrigeration / heating after power is restored, reducing cargo loss.
[0042] When a modification command is sent from the wired controller 2 to the main controller 1 to adjust the operating parameters of the refrigeration and freezing unit 3, the wired controller 2 needs to be authenticated to ensure the safety of the goods. Only after the authentication is successful can the main controller 1 receive the modification command and control the refrigeration and freezing unit 3 according to the execution parameters in the modification command.
[0043] When a modification command is sent to the main controller 1 via the user terminal and communication module to adjust the operating parameters of the refrigeration and freezing unit 3, the user terminal needs to be authenticated in order to ensure the safety of the goods. Only after the authentication is successful can the main controller 1 receive the modification command and control the refrigeration and freezing unit 3 according to the execution parameters in the modification command.
[0044] In this embodiment, a verification password is preferably used for identity verification of the requesting terminal (such as wired controller 2, user terminal). On the one hand, this can ensure the safety and reliability of the refrigeration and freezing unit cargo safety management system. On the other hand, it can also reduce the cost of the refrigeration and freezing unit cargo safety management system. For example, it does not require the configuration of cameras and the writing of corresponding biometric recognition algorithms as in facial recognition, or the configuration of fingerprint readers and the writing of corresponding biometric recognition algorithms as in fingerprint recognition.
[0045] Furthermore, when the number of consecutive incorrect password entries reaches a preset number, the main controller 1 will lock the terminal's operating interface for a preset duration. This provides dual protection for adjusting the operating parameters of the refrigeration unit 3, improving the security of parameter adjustments and facilitating the reporting of abnormal events so that relevant personnel can handle and respond promptly. The execution parameters in the modification instructions are written to the FLASH storage unit, preserving the traceability of parameter modifications.
[0046] Furthermore, since the refrigerated and frozen unit cargo safety management system needs to periodically send heartbeat packets to server 4 via the communication module to maintain communication between main controller 1 and server 4, when main controller 1 detects an abnormal event, it can embed the corresponding abnormal flag bit into the heartbeat packet of the next cycle, enabling server 4 to promptly and quickly become aware of the abnormal event in the refrigerated and frozen unit cargo safety management system. This triggers alarm module 51 of server 4 to push alarm information to the user terminal and causes server 4 to immediately initiate a data query to main controller 1 to understand the current operating status of refrigerated and frozen unit 3. Abnormal events include temperature exceeding limits, mode modification, continuous password errors, power outages / restorations, and communication interruption recovery. Therefore, abnormal events can cover a variety of different events, essentially providing comprehensive feedback on possible abnormal situations encountered during the operation of the refrigerated and frozen unit cargo safety management system, and allowing for accurate classification and reporting of abnormal events.
[0047] The exception flag is encoded in 1-byte code. By embedding the exception flag in the heartbeat packet, abnormal events can be efficiently reported without increasing regular traffic consumption, thus reducing operating costs. Typically, the heartbeat packet sending cycle is between 30 and 120 seconds, while the query cycle for complete operating parameters of the refrigerated and frozen unit cargo safety management system by server 4 is typically between 5 and 15 minutes. Therefore, embedding the exception flag in the heartbeat packet also enables timely reporting of abnormal events (within 2 minutes at the latest), which is far more timely than server 4's polling of the refrigerated and frozen unit cargo safety management system. Thus, based on the heartbeat packet sending cycle, near real-time reporting of abnormal events can be achieved, allowing relevant personnel to handle abnormal situations more promptly and reduce cargo loss. Furthermore, by designing the polling cycle of server 4 in conjunction with the heartbeat packet, timely handling of abnormal events can be achieved, reducing the operating traffic of the refrigerated and frozen unit cargo safety management system and lowering operating costs.
[0048] In summary, the design of the refrigeration and freezing unit cargo safety management system can effectively prevent unauthorized personnel or children from arbitrarily changing the operating mode and temperature of the refrigeration and freezing unit, avoiding thawing and spoilage of goods such as fruits, vegetables, and meat due to abnormal warehouse temperatures. In addition, when abnormal events occur, the refrigeration and freezing unit cargo safety management system can promptly notify relevant personnel for timely handling, reducing cargo losses. Furthermore, it can also reduce the operating costs of the refrigeration and freezing unit cargo safety management system.
[0049] Example of cargo safety management method for refrigerated and frozen units This cargo safety management method for refrigerated and frozen units is applied to the aforementioned cargo safety management system for refrigerated and frozen units. It can improve the safety of adjusting the parameters of the refrigerated and frozen units within the cargo safety management system, preventing unauthorized personnel and / or children from incorrectly adjusting the operating parameters, thereby improving the safety of the cargo safety management system and reducing the probability of cargo damage. Simultaneously, it enables timely (near real-time) reporting of abnormal events in the cargo safety management system, allowing managers to handle these events promptly without increasing operating costs.
[0050] The cargo safety management method for refrigerated and frozen units in this embodiment is executed by the cargo safety management system for refrigerated and frozen units. Combined with... Figure 2 First, step S1 is executed to obtain the modification instruction sent by the requesting terminal. The modification instruction is obtained by the operator through the requesting terminal (such as wired controller 2, user terminal) and sent to the main controller 1.
[0051] For example, operators can operate the refrigeration unit 3 through the wired controller 2 located outside the warehouse. The operators can send the relevant execution parameters they want to operate to the main controller 1 through the operation interface of the wired controller 2, such as switching the operating mode of the refrigeration unit 3 (including refrigeration mode, heating mode, defrosting (ice) mode, etc.), operating temperature, and selecting the operating unit.
[0052] For example, operators can remotely operate the refrigeration unit 3 through user terminals [such as mobile user terminals (e.g., mobile apps like WeChat, dedicated mobile software for the refrigeration unit cargo safety management system, etc.), PC user terminals (e.g., dedicated PC software for the refrigeration unit cargo safety management system), hardware user terminals (e.g., smart control systems similar to smart homes, etc.)], so that operators can remotely send the relevant execution parameters they expect the refrigeration unit 3 to operate to the main controller 1 through the user terminal's operation interface.
[0053] Upon receiving the modification instruction sent by the requesting terminal, step S2 is executed to authenticate the requesting terminal. Because cold storage warehouses typically experience high personnel turnover and are often poorly managed (especially in poorly managed rural cold chain facilities), there is a risk of the refrigeration unit 3's operating parameters being mistakenly modified (e.g., children mishandling the wired controller 2's interface) or unauthorized personnel maliciously modifying the refrigeration unit 3's operating parameters. Therefore, to ensure the safety of goods stored in the warehouse, access control is implemented for modifying the refrigeration unit 3's operating parameters, addressing the issue of unrestricted parameter settings in traditional refrigeration unit 3 systems.
[0054] Next, step S3 is executed to determine whether the authentication is successful. In this embodiment, the authentication of the requesting terminal preferably uses a password verification method. For example, when an operator sends a modification command to the main controller 1 through the wired controller 2, the main controller 1 can display a password verification input box on the operation interface of the wired controller 2 through the communication module or interface module, allowing the operator to enter a password with modification authority; or, for example, when an operator sends a modification command to the main controller 1 through the user terminal, the main controller 1 can display a password verification input box on the user terminal's operation interface through the communication module or server 4, allowing the operator to enter a password with modification authority.
[0055] Upon successful authentication, step S4 is executed, writing the execution parameters from the modification instruction to the FLASH storage unit. The main controller 1 will only receive the modification instruction after successful authentication. Upon receiving the modification instruction, the main controller 1 will write the relevant execution parameters (including operating mode, operating temperature, operating fan speed, etc.) from the modification instruction to the FLASH storage unit for querying by the requesting terminal and server 4, as well as for post-event auditing and accountability. The FLASH storage unit will also automatically generate an operation log for each password verification, including the operation time, operation type (e.g., mode modification), original mode, new mode, and operation result (success / failure).
[0056] Subsequently, step S5 is executed, controlling the refrigeration unit 3 according to the execution parameters. For example, when the operator selects "Change Mode" on the wired controller 2 connected to the main controller 1, the system will display a password input interface. Assuming the initial verification password is "123456," it is understood that the verification password allows the user to modify it as needed. The modified password is kept safe by the user and known only to the user, further enhancing security. After the user enters the correct verification password, the system compares it with the hash value stored in the FLASH storage unit. If the verification passes, the user is allowed to change the operating mode, and the new mode configuration is written to the FLASH storage unit. The main controller 1 executes according to the execution parameters stored in the FLASH storage unit; no other means can bypass this security mechanism.
[0057] When authentication fails, step S6 is executed, incrementing the consecutive incorrect password count by 1. Next, step S7 is executed to determine if the consecutive incorrect password input count has reached a preset number; if so, step S8 is executed to lock the request terminal's operating interface, thereby prohibiting any unauthorized changes to operating parameters. This design ensures that the main controller 1 of the refrigerated and frozen unit's cargo safety management system will refuse to execute commands, whether a child accidentally touches the wired controller 2 or someone attempts to remotely modify it, thus preventing damage to the goods. Preferably, the request terminal's operating interface is locked for a preset duration, during which the main controller 1 does not accept any parameter modification instructions from the request terminal. Furthermore, when an administrator enters the correct verification password through the request terminal, the lock on the request terminal's operating interface can be released early. For example, an administrator can enter the correct verification password through the administrator interface of the request terminal to unlock the request terminal's operating interface in advance.
[0058] Subsequently, step S9 is executed to report the abnormal event. When the number of consecutive incorrect password entries reaches a preset number, the main controller 1 will obtain the abnormal event information and embed an abnormal flag bit in the heartbeat packet of the next cycle according to the type of abnormal event, thereby providing timely / near real-time feedback to the server 4 through the heartbeat packet.
[0059] If the number of consecutive incorrect password entries has not reached the preset limit, the process returns to step S2 to re-authenticate the requesting terminal. Authentication via password ensures the security and reliability of the refrigerated and frozen goods safety management system, while also reducing its cost. Furthermore, setting a limit on the number of incorrect authentication attempts provides dual protection, better guaranteeing security and facilitating the reporting of abnormal events, enabling relevant personnel to handle and respond promptly.
[0060] The following is a brief description of how the main controller 1 and server 4 handle abnormal events: Combination Figure 3 Because the refrigerated and frozen unit cargo safety management system needs to periodically send heartbeat packets to server 4 via the communication module to maintain communication between main controller 1 and server 4, when main controller 1 detects an abnormal event, it can embed the abnormal flag corresponding to the abnormal event into the heartbeat packet of the next cycle, enabling server 4 to promptly and quickly know that there is an abnormal event in the refrigerated and frozen unit cargo safety management system. This triggers alarm module 51 of server 4 to push alarm information to the user terminal, and server 4 immediately initiates a data query to main controller 1 to understand the current operating status of refrigerated and frozen unit 3. At the same time, server 4 also sends alarm information to the user terminal through alarm module 51 to promptly notify management personnel to handle abnormal events.
[0061] like Figure 4 As shown, a normal heartbeat packet includes a device ID (4 bytes), a timestamp (4 bytes), and a checksum (2 bytes); while an abnormal heartbeat packet includes a device ID (4 bytes), a timestamp (4 bytes), an abnormal flag (1 byte), and a checksum (2 bytes).
[0062] Typically, abnormal events include exceeding temperature limits, mode modification, consecutive password errors, power outages / returns, and communication interruption recovery. For example, when the main controller 1 receives feedback from the temperature and humidity sensor 5 that the warehouse temperature exceeds the set upper / lower limit, it is marked as an abnormal event, and the abnormal flag code corresponding to this abnormal event is "0X01"; as another example, when the operating mode of the refrigeration and freezing unit 3 is modified, it is also marked as an abnormal event so that the management personnel know that the operating mode of the refrigeration and freezing unit 3 has been modified, and the abnormal flag code corresponding to this abnormal event is "0X02"; as yet another example, when the main controller 1 detects that the number of consecutive incorrect password inputs has reached a preset number, it is marked as an abnormal event, and the abnormal flag code corresponding to this abnormal event is "0X03"; as yet another example, when the refrigeration and freezing unit cargo safety management system experiences a power outage / restoration, it is marked as an abnormal event, and the abnormal flag code corresponding to this abnormal event is "0X04"; as yet another example, when communication is interrupted and then restored, it is marked as an abnormal event, and the abnormal flag code corresponding to this abnormal event is "0X05", and so on. The abnormal events can basically reflect a variety of different events, and thus provide a more comprehensive feedback on the abnormal situations that may be encountered in the operation of the cargo safety management system of refrigeration and freezing units. It can also classify and accurately report abnormal events.
[0063] As can be seen, the exception flag only occupies 1 byte of encoding, but by embedding the exception flag, abnormal events can be efficiently reported without increasing regular traffic consumption, thus reducing usage costs. The heartbeat packet sending cycle is between 30 and 120 seconds, while the query cycle for the complete operating parameters of the refrigerated and frozen unit cargo safety management system by server 4 is between 5 and 15 minutes. Therefore, embedding the exception flag in the heartbeat packet can also achieve timely reporting of abnormal events (within 2 minutes at the latest), and its timeliness of abnormal event reporting is far superior to the polling of the refrigerated and frozen unit cargo safety management system by server 4.
[0064] Let's illustrate an abnormal event with an example. Suppose that when the main controller 1 detects an abnormal situation of temperature exceeding the limit, it will immediately embed the corresponding abnormal flag bit (e.g., "0x01" for temperature exceeding the limit) into the next heartbeat packet. When the server 4 receives the heartbeat packet with the abnormal flag, it can quickly reverse query to obtain detailed information and push alarm notifications to designated personnel via WeChat or other means.
[0065] Furthermore, considering the potential instability of power supply, the refrigeration unit's cargo safety management system is equipped with a backup power module. In the event of a power outage, the backup power supply will automatically take over the power supply task, enabling the main controller 1 to promptly write key information such as the current mode, temperature data, and timestamps of the refrigeration unit 3 into the FLASH storage unit. When power is restored, the main controller 1 will automatically load this data and check for any anomalies.
[0066] If data anomalies are detected, the system will enter a preset safe refrigeration mode to prevent damage to goods. For example, after power is restored, the main controller 1 will automatically load the operating mode and set temperature information saved during the power outage, and then obtain the average operating mode and set temperature from the server 4 for the days prior to the power outage. If the saved set temperature deviation is greater than the average value plus a preset difference (e.g., 10℃, though other values can be used), the average value will be used as the set temperature. For another example, if the set temperature obtained from the server 4 has consistently been above 0℃, and the temperature value saved on the main controller 1 during the power outage was set to below zero, to prevent goods from freezing, it will be considered an anomaly without exceeding the preset difference, and the system will operate at the average set temperature. Furthermore, the server 4 will push alarm messages to the user terminal during both power outages and power restorations in the refrigeration unit's cargo safety management system, such as "Equipment power outage" and "Equipment power restored, current machine operating status (including power on / off, set mode, set temperature, etc.)" to alert management personnel.
[0067] In addition, combined Figure 5 Since the cargo safety management system for refrigerated and frozen units typically includes two or more refrigerated and frozen units 3, the main controller 1 can be networked with each refrigerated and frozen unit 3 via a second communication interface or interface module (such as RS485 or CAN bus) to achieve coordinated control between multiple units. Based on this, multiple refrigerated and frozen units 3 can achieve one-to-many standby (e.g., one refrigerated and frozen unit 3 is in operation while the others are in standby mode), thereby effectively improving energy efficiency and reducing equipment wear. It is worth noting that any operation involving adjusting the operating mode requires administrator password verification to prevent risks from accidental operation. Furthermore, after receiving a modification command and passing authentication, the main controller 1 can use the same modification command to uniformly modify the operating mode, temperature, fan speed, etc., of multiple refrigerated and frozen units 3; of course, it can also individually modify the operating parameters of each refrigerated and frozen unit 3.
[0068] Based on the design of two or more refrigeration and freezing units 3, the refrigeration and freezing unit cargo safety management system can be applied as follows: Assume that in a distributed cold storage facility of a fresh food supermarket, three refrigeration and freezing units 3 are deployed. The main control unit is configured with an "energy-saving mode": when the total load is below 30%, only one refrigeration and freezing unit 3 is started; when the load exceeds 70%, all three refrigeration and freezing units 3 are started; when the total load is between 30% and 70%, all two refrigeration and freezing units 3 are started. It should be noted that all switching of operating mode strategies requires administrator password verification, and an abnormal embedded heartbeat mechanism can be used to report the operating status of each unit in real time, ensuring the secure execution of the energy-saving strategy.
[0069] Furthermore, an example is provided illustrating how the cargo safety management methods of refrigerated and frozen units are applied to cargo preservation in heating mode: In response to the low temperatures characteristic of winter in Northeast China, for example, in an apple cold storage application case, the refrigeration and freezing unit's cargo safety management system is configured to simultaneously operate in both cooling and heating modes. Assuming that cooling is activated when the outdoor ambient temperature is above 0℃ and the internal temperature is above 4℃, and mild heating is activated when both the outdoor ambient temperature and the internal temperature are below 0℃, maintaining the temperature between 2 and 3℃. The heating mode requires password protection by management personnel to prevent accidental shutdown that could cause apple cells to freeze, leading to softening and rotting after thawing. This dual-mode design, coupled with strict safety measures, ensures the proper preservation of apples throughout the winter. After identity verification, management personnel can configure the refrigeration and freezing unit 3 to automatically activate the heating mode based on conditions during winter, achieving automated heating and ensuring timely operation for better cargo protection. Simultaneously, conditions for exiting the heating mode are limited; for example, if the ambient temperature exceeds a preset temperature for several consecutive days, the heating mode will be deactivated.
[0070] Furthermore, the refrigeration unit 3 also features a single-cooling mode and a single-heating mode. The following example illustrates how to control the refrigeration unit 3 in single-cooling mode: Assume the refrigeration unit's cargo safety management system is used by strawberry growers. The administrator, through authentication, locks the refrigeration unit 3 in single-cooling mode and stores the relevant operating parameters in a FLASH memory unit. This effectively prevents unauthorized changes to the operating parameters, ensuring that the main controller 1 refuses to execute commands if a child accidentally touches the wired controller 2 or if someone attempts to remotely modify it. Simultaneously, the communication module reports heartbeat packets according to a preset cycle. Once it detects an attempt to modify the operating mode of the refrigeration unit 3 or an excessive temperature, it immediately embeds an abnormal flag in the heartbeat packet to trigger the alarm module 51 to send an alarm message to the user terminal. This mechanism effectively prevents the entire storage of strawberries from spoiling due to misoperation, protecting the farmers' economic benefits. In single-cooling / single-heating mode, after requesting authentication from the terminal, the administrator can still modify the cooling / heating temperature.
[0071] The cargo safety management method for refrigerated and frozen units of the present invention can give the cargo safety management system of refrigerated and frozen units the following advantages: First, it offers high security. Through authentication and remote interface locking mechanisms, it provides dual protection against accidental operations and unauthorized tampering.
[0072] Second, it boasts high reliability. It features power failure memory and a safety mechanism to ensure the refrigerated and frozen unit's cargo safety management system automatically recovers after a power outage.
[0073] Third, timely response. By embedding a heartbeat packet mechanism using an exception flag bit, it can achieve quasi-real-time reporting of exception events (within 2 minutes at the latest) without increasing the consumption of regular traffic, which is far better than traditional polling systems.
[0074] Fourth, low cost. Compared with high-frequency reporting or independent alarm channels, the method for managing the safety of goods in this refrigeration and freezing unit can minimize the communication overhead of the safety management system for goods in refrigeration and freezing units, making it suitable for large-scale deployment.
[0075] Fifth, good manageability. It supports operation log recording, WeChat / SMS push, and multi-unit linkage control, and is suitable for unattended scenarios.
[0076] Sixth, strong scene adaptability. It is especially suitable for scenarios such as fruit and vegetable preservation in high-cold areas in winter and rural cold storages in production areas that require the use of a heating mode, effectively preventing frost damage or high-temperature deterioration of goods caused by incorrect opening or closing of heating.
[0077] Seventh, outstanding technical synergy. Based on identity authentication, FLASH solidification, embedding a heartbeat packet with an exception flag bit, multi-unit linkage, etc., it forms a dual safety closed-loop for local anti-misoperation and remote fast response.
[0078] Embodiment of computer-readable storage medium [[ID=ID=19]]The method for managing the safety of goods in a refrigeration and freezing unit described in the above embodiment can be stored in a computer-readable storage medium in the form of a computer program. When the computer program is executed, the steps of the above method for managing the safety of goods in a refrigeration and freezing unit can be completed. The computer-readable medium can be a computer-readable signal medium or a computer-readable storage medium. The computer-readable storage medium can be, for example, but not limited to: an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the above. More specific examples (non-exhaustive list) of the computer-readable storage medium include: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above.
[0079] Finally, it should be emphasized that the above are only the preferred embodiments of the present invention and are not used to limit the present invention. For those skilled in the art, the present invention can have various changes and modifications. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principle of the present invention shall be included within the protection scope of the present invention.
Claims
1. A method for managing the safety of goods in refrigerated and frozen units, characterized in that, include: Obtain the modification instructions sent by the requesting terminal; The requesting terminal is authenticated. If the authentication is successful, the modification instruction is received, and the execution parameters in the modification instruction are written into the FLASH storage unit. Control the refrigeration and freezing unit according to the aforementioned execution parameters; It periodically sends heartbeat packets to the server. If an abnormal event is detected, an abnormal flag is embedded in the next heartbeat packet. Obtain the data query request sent by the server and report the running data to the server.
2. The method for cargo safety management in refrigerated and frozen units according to claim 1, characterized in that: The steps for authenticating the requesting terminal include: Obtain the verification password, determine whether the verification password is correct, and if the verification password is correct, receive the modification instruction; If the number of consecutive incorrect password entries reaches a preset number, the operation interface of the requesting terminal will be locked for a preset duration.
3. The method for cargo safety management in refrigerated and frozen units according to claim 1, characterized in that: The cargo safety management method for refrigeration and freezing units also includes: When the cargo safety management system of the refrigeration and freezing unit loses power, the final operating parameters of the cargo safety management system of the refrigeration and freezing unit are written to the FLASH storage unit. When the cargo safety management system of the refrigeration and freezing unit restores power, it acquires the final operating parameters and controls the refrigeration and freezing unit according to the final operating parameters.
4. The method for managing cargo safety in refrigerated and frozen units according to claim 3, characterized in that: Before controlling the refrigeration and freezing unit based on the final operating parameters, it is determined whether the final operating parameters are abnormal. If so, the unit enters a safe mode.
5. The method for managing cargo safety in refrigerated and frozen units according to claim 1, characterized in that: The exception flag is a 1-byte encoding.
6. The method for managing cargo safety in refrigerated and frozen units according to claim 5, characterized in that: The abnormal events include temperature exceeding limits, mode modification, continuous password errors, power outage / reinstatement, and communication interruption recovery.
7. The method for cargo safety management of refrigerated and frozen units according to any one of claims 1 to 6, characterized in that: The heartbeat packet transmission period is between 30 seconds and 120 seconds; The cargo safety management method for refrigeration and freezing units also includes: Obtain the server feedback instruction and send complete operating parameters to the server. The server queries the complete operating parameters every 5 to 15 minutes.
8. A cargo safety management system for refrigerated and frozen units, characterized in that: It includes refrigeration and freezing units, wired controllers, FLASH storage units, main controllers, communication modules, interface modules, servers, and alarm modules; The refrigeration and freezing unit and the wired controller are electrically connected to the main controller. The communication module is used to establish communication between the main controller and the server. The interface module is used to establish communication between the refrigeration and freezing unit and the main controller. The alarm module is used to push alarm information to the user terminal when an abnormality occurs. The FLASH storage unit stores a computer program, which, when executed by the main controller, implements the cargo safety management method for refrigeration and freezing units as described in any one of claims 1 to 7.
9. The cargo safety management system for refrigerated and frozen units according to claim 8, characterized in that: The number of refrigeration and freezing units is two or more; The cargo safety management system of the refrigeration and freezing unit also includes a backup power module, which is electrically connected to the main controller.
10. A readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by the controller, it implements the steps of the cargo safety management method for refrigerated and frozen units as described in any one of claims 1 to 7.