Heat preservation box data printing system, heat preservation box data printing method and related equipment

By adjusting the sampling frequency in the insulated box data printing system to reduce the amount of data, the problem of insufficient paper volume due to increased transportation time is solved, and complete printing and instant acquisition of data is achieved.

CN120096214AActive Publication Date: 2025-06-06GENSHU (GUANGDONG) TECH CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202510575928.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-05-06
Publication Date
2025-06-06
Estimated Expiration
2045-05-06

AI Technical Summary

Technical Problem

Due to the increase in transportation time, the remaining paper volume is insufficient to print all data, resulting in paper shortage problems, which affects the immediate acquisition of paper data.

Method used

By analyzing the transportation time and changing the sampling frequency of the sensing data when the transportation time exceeds the planned time, reducing the amount of data recorded, so that the remaining paper amount can satisfy the printing of all sensing data.

Benefits of technology

Avoid paper shortage, ensure that all data can be printed, and the instant acquisition of paper data is smoothly achieved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120096214A_ABST
    Figure CN120096214A_ABST
Patent Text Reader

Abstract

The invention provides a thermal insulation box data printing system, a thermal insulation box data printing method and related equipment, and relates to the technical field of thermal insulation box data printing. The system comprises a heat preservation box and an all-in-one machine installed on the heat preservation box, the all-in-one machine is integrated with a sensor and a printer, and the all-in-one machine is used for executing the following steps that the total required paper amount for printing all sensing data is calculated according to the actual transportation duration and the initial sampling frequency; adjusting the initial sampling frequency by comparing the total required paper amount with the residual paper amount of the printer to obtain a target sampling frequency; and after the sensing data is recorded according to the target sampling frequency, controlling a printer to print the sensing data on paper. According to the thermal insulation box data printing system, the problem that the remaining paper amount is insufficient to print all data due to the increase of the transportation time is solved, the situation of paper shortage is avoided, it is guaranteed that all the data are smoothly printed, and paper data are obtained in real time.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of thermal insulation box data printing, and in particular to an thermal insulation box data printing system, a thermal insulation box data printing method and related equipment. Background Art

[0002] There is an existing incubator, on which an all-in-one machine is installed. The all-in-one machine is integrated with a temperature and humidity sensor. The temperature and humidity sensor is used to measure the internal temperature and humidity of the incubator. The measured temperature and humidity data will be recorded at a fixed sampling frequency. In order to obtain paper data in real time to facilitate user signature confirmation, the all-in-one machine is also integrated with a printer. The user can print out all the temperature and humidity data recorded during the entire transportation process through the printer. However, in actual application, the amount of paper pre-installed in the printer is prepared according to the estimated duration of the entire transportation process (the amount of data required to be recorded can be calculated according to the estimated duration and the sampling frequency, that is, the amount of data required to be printed, thereby estimating the amount of paper used). In the actual transportation process, due to traffic jams, vehicle failures and other reasons, the transportation is delayed, so that the final duration of the entire transportation process is greater than the estimated duration, which makes the amount of data required to be recorded increase, that is, the amount of data required to be printed is increased, resulting in the pre-installed paper amount being insufficient to print all the data, resulting in a paper shortage problem, which in turn affects the instant acquisition of paper data.

[0003] There is currently no effective technical solution to the above problems. Summary of the invention

[0004] The purpose of the present invention is to provide an insulated box data printing system, an insulated box data printing method and related equipment, which solves the problem that the remaining paper is insufficient to print all data due to the increase in transportation time, avoids paper shortage, ensures that all data can be printed, and realizes the instant acquisition of paper data.

[0005] In a first aspect, the present invention provides an incubator data printing system, comprising an incubator and an all-in-one machine installed on the incubator, wherein the all-in-one machine is integrated with a sensor and a printer, wherein the sensor is used to measure a specified parameter of the incubator, wherein the specified parameter is recorded as sensor data according to a preset initial sampling frequency, and the printer is used to print the sensor data on paper; The integrated machine is used to perform the following steps: S1. Obtain the actual transportation time; S2. Compare the actual transport time with the preset planned transport time, and when the actual transport time is longer than the planned transport time, calculate the total amount of paper required to print all sensor data according to the actual transport time and the initial sampling frequency; S3. Compare the total required paper amount and the remaining paper amount of the printer, and when the total required paper amount is greater than the remaining paper amount, issue an alarm and wait for a frequency reduction instruction, otherwise maintain the initial sampling frequency unchanged and use it as the target sampling frequency, or wait for a frequency increase instruction; S4. After receiving the frequency reduction instruction, reduce the initial sampling frequency and use the reduced frequency as the target sampling frequency; S5. After receiving the frequency increase instruction, the initial sampling frequency is increased and the increased frequency is used as the target sampling frequency; S6. After the sensor data is recorded according to the target sampling frequency, control the printer to print the sensor data on paper.

[0006] The incubator data printing system of the present invention reduces the amount of data increased due to transportation delays by lowering the sampling frequency, ensuring that the remaining paper can print all sensor data, avoiding data loss and paper shortage problems, and smoothly achieving instant acquisition of paper data.

[0007] Furthermore, when the all-in-one machine is used to execute step S2, it executes: S21. Acquire the specified parameters of the incubator in real time, and constantly detect whether the change rate of the specified parameters exceeds the preset threshold. If the change rate of the specified parameters exceeds the preset threshold, it is determined that there is an abnormal fluctuation, and the relevant abnormal data is recorded; the abnormal data includes the time point when the abnormal fluctuation occurs and the corresponding specified parameter value; S22. Calculate the amount of paper required to print all sensor data based on the actual transport time and the initial sampling frequency; S23. Based on the preset abnormal data printing priority, calculate the additional amount of paper required to print the abnormal data according to the recorded abnormal data; S24. Add the basic required paper amount and the additional required paper amount to obtain the total required paper amount for printing all sensor data.

[0008] The calculation of the total required paper quantity not only takes into account the situation of transportation delays, but also the situation of abnormal temperature fluctuations during transportation, making the paper quantity estimation more accurate.

[0009] Furthermore, when the all-in-one machine is used to execute step S21, it executes: S211. Acquire the specified parameters of the incubator in real time, and calculate the difference between the specified parameters of two adjacent sampling points with the same specified parameters; S212. Divide the specified parameter difference by the sampling time interval to obtain the specified parameter change rate; S213. Determine whether the absolute value of the change rate of the specified parameter exceeds a preset threshold value, and if so, determine that there is an abnormal fluctuation; S214. If it is determined that an abnormal fluctuation exists, relevant abnormal data is recorded, and the abnormal data includes the time point when the abnormal fluctuation occurs, the corresponding specified parameter value, the duration of the abnormal fluctuation obtained by multiplying the number of continuous sampling points exceeding the preset threshold by the sampling time interval, and the maximum specified parameter difference during the abnormal fluctuation period.

[0010] The detection sensitivity of abnormal fluctuations can be flexibly adjusted according to different transportation needs, so that the recording of abnormal data can better meet the needs of actual applications.

[0011] Furthermore, when the all-in-one machine is used to execute step S3, it executes: S31. Compare the total required paper amount and the remaining paper amount of the printer. If the total required paper amount is greater than the remaining paper amount, execute step S32, otherwise maintain the initial sampling frequency unchanged and use it as the target sampling frequency, or wait for a frequency increase instruction; S32. Determine whether the difference between the total required paper amount and the remaining paper amount exceeds a preset alarm threshold. If it exceeds the preset alarm threshold, issue an alarm and wait for a frequency reduction instruction. Otherwise, execute step S33. S33. Increase the printing density and recalculate the total required paper amount based on the increased printing density. If the recalculated total required paper amount is less than or equal to the remaining paper amount, the current printing density is used as the target printing density; otherwise, an alarm is issued and a frequency reduction instruction is waited for; the target printing density is used to control the printer to print the sensor data measured by the sensor on paper according to the target printing density when executing step S6.

[0012] This avoids the problem of frequent alarms due to a single alarm judgment method, which reduces the user experience. At the same time, by increasing the printing density, printing needs are met and key data loss is avoided.

[0013] In a second aspect, the present invention provides an incubator data printing method, which is applied to an incubator data printing system, wherein the incubator data printing system comprises an incubator and an all-in-one machine installed on the incubator, wherein the all-in-one machine is integrated with a sensor and a printer, wherein the sensor is used to measure a specified parameter of the incubator, wherein the specified parameter is recorded as sensor data according to a preset initial sampling frequency, and the printer is used to print the sensor data on paper; The incubator data printing method comprises the following steps: S1. Obtain the actual transportation time; S2. Compare the actual transport time with the preset planned transport time, and when the actual transport time is longer than the planned transport time, calculate the total amount of paper required to print all sensor data according to the actual transport time and the initial sampling frequency; S3. Compare the total required paper amount and the remaining paper amount of the printer, and when the total required paper amount is greater than the remaining paper amount, issue an alarm and wait for a frequency reduction instruction, otherwise maintain the initial sampling frequency unchanged and use it as the target sampling frequency, or wait for a frequency increase instruction; S4. After receiving the frequency reduction instruction, reduce the initial sampling frequency and use the reduced frequency as the target sampling frequency; S5. After receiving the frequency increase instruction, the initial sampling frequency is increased and the increased frequency is used as the target sampling frequency; S6. After the sensor data is recorded according to the target sampling frequency, control the printer to print the sensor data on paper.

[0014] By adjusting the sampling frequency, the system can save printing paper as much as possible while ensuring data integrity, especially when the actual transportation time exceeds the planned transportation time, it can effectively avoid the problem of data printing interruption due to insufficient paper.

[0015] Furthermore, the specific steps in step S2 include: S21. Acquire the specified parameters of the incubator in real time, and constantly detect whether the change rate of the specified parameters exceeds the preset threshold. If the change rate of the specified parameters exceeds the preset threshold, it is determined that there is an abnormal fluctuation, and the relevant abnormal data is recorded; the abnormal data includes the time point when the abnormal fluctuation occurs and the corresponding specified parameter value; S22. Calculate the amount of paper required to print all sensor data based on the actual transport time and the initial sampling frequency; S23. Based on the preset abnormal data printing priority, calculate the additional amount of paper required to print the abnormal data according to the recorded abnormal data; S24. Add the basic required paper amount and the additional required paper amount to obtain the total required paper amount for printing all sensor data.

[0016] Furthermore, the specific steps in step S21 include: S211. Acquire the specified parameters of the incubator in real time, and calculate the difference between the specified parameters of two adjacent sampling points with the same specified parameters; S212. Divide the specified parameter difference by the sampling time interval to obtain the specified parameter change rate; S213. Determine whether the absolute value of the change rate of the specified parameter exceeds a preset threshold value, and if so, determine that there is an abnormal fluctuation; S214. If it is determined that an abnormal fluctuation exists, relevant abnormal data is recorded, and the abnormal data includes the time point when the abnormal fluctuation occurs, the corresponding specified parameter value, the duration of the abnormal fluctuation obtained by multiplying the number of continuous sampling points exceeding the preset threshold by the sampling time interval, and the maximum specified parameter difference during the abnormal fluctuation period.

[0017] In a third aspect, the present invention provides an incubator data printing device, which is applied to an incubator data printing system, wherein the incubator data printing system comprises an incubator and an all-in-one machine installed on the incubator, wherein the all-in-one machine is integrated with a sensor and a printer, wherein the sensor is used to measure a specified parameter of the incubator, wherein the specified parameter is recorded as sensor data according to a preset initial sampling frequency, and the printer is used to print the sensor data on paper; The incubator data printing device comprises: The acquisition module is used to obtain the actual transportation time; a calculation module, used for comparing the actual transportation time with a preset planned transportation time, and when the actual transportation time is greater than the planned transportation time, calculating the total amount of paper required for printing all sensor data according to the actual transportation time and the initial sampling frequency; A control module, used for comparing the total required paper amount with the remaining paper amount of the printer, and when the total required paper amount is greater than the remaining paper amount, issuing an alarm and waiting for a frequency reduction instruction, otherwise maintaining the initial sampling frequency unchanged and serving as a target sampling frequency, or waiting for a frequency increase instruction; A frequency reduction module, configured to reduce the initial sampling frequency and use the reduced frequency as the target sampling frequency after receiving the frequency reduction instruction; A frequency increase module, configured to increase the initial sampling frequency and use the increased frequency as the target sampling frequency after receiving the frequency increase instruction; The printing module is used to control the printer to print the sensor data on paper after the sensor data is recorded and obtained according to the target sampling frequency.

[0018] The insulated box data printing device provided by the present invention can still successfully print out a complete temperature record of the transportation process when there is limited paper remaining, avoiding the problem of data printing interruption due to insufficient paper and ensuring the traceability of temperature data in the cold chain transportation process.

[0019] In a fourth aspect, the present invention provides an electronic device comprising a processor and a memory, wherein the memory stores computer-readable instructions, and when the computer-readable instructions are executed by the processor, the steps in the incubator data printing method provided in the second aspect are executed.

[0020] In a fifth aspect, the present invention provides a computer-readable storage medium having a computer program stored thereon, wherein when the computer program is executed by a processor, the steps in the incubator data printing method provided in the second aspect are executed.

[0021] From the above, it can be seen that the insulated box data printing system provided by the present invention analyzes the transportation time and when the transportation time exceeds the planned time, it reduces the amount of recorded data by changing the sampling frequency of the sensor data, so that the remaining paper amount can meet the printing of all sensor data and avoid the problem of paper shortage, thereby ensuring that all data can be printed and realizing the instant acquisition of paper data.

[0022] Other features and advantages of the present invention will be described in the following description, and partly become apparent from the description, or be understood by implementing the embodiments of the present invention. The purpose and other advantages of the present invention can be realized and obtained by the structures particularly pointed out in the written description and the drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0023] Figure 1 It is a schematic structural diagram of an incubator box equipped with an all-in-one machine in an embodiment of the present invention.

[0024] Figure 2 Schematic diagram of the structure of the all-in-one machine in an embodiment of the present invention.

[0025] Figure 3 A flow chart of a method for printing data of an incubator provided in an embodiment of the present invention.

[0026] Figure 4 A schematic structural diagram of an incubator data printing device provided in an embodiment of the present invention.

[0027] Figure 5 A schematic diagram of the structure of an electronic device provided by an embodiment of the present invention.

[0028] Description of labels: 1. Incubator; 2. All-in-one machine; 100. Acquisition module; 200. Calculation module; 300. Control module; 400. Frequency reduction module; 500. Frequency increase module; 600. Printing module; 13. Electronic device; 1301. Processor; 1302. Memory; 1303. Communication bus. DETAILED DESCRIPTION

[0029] The technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, rather than all the embodiments. The components of the embodiments of the present invention generally described and shown in the drawings here can be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of the present invention provided in the drawings is not intended to limit the scope of the claimed invention, but merely represents the selected embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without making creative work belong to the scope of protection of the present invention.

[0030] It should be noted that similar reference numerals and letters represent similar items in the following drawings, so once an item is defined in one drawing, it does not need to be further defined and explained in the subsequent drawings. At the same time, in the description of the present invention, the terms "first", "second", etc. are only used to distinguish the description and cannot be understood as indicating or implying relative importance.

[0031] Reference Figure 1 and attached Figure 2 The present invention provides an incubator data printing system, comprising an incubator 1 and an all-in-one machine 2 installed on the incubator 1, wherein the all-in-one machine 2 is integrated with a sensor and a printer, wherein the sensor is used to measure a specified parameter of the incubator, wherein the specified parameter is recorded as sensor data according to a preset initial sampling frequency, and the printer is used to print the sensor data on paper; The all-in-one is used to perform the following steps: S1. Obtain the actual transportation time; S2. Compare the actual transportation time with the preset planned transportation time, and when the actual transportation time is longer than the planned transportation time, calculate the total amount of paper required to print all sensor data based on the actual transportation time and the initial sampling frequency; S3. Compare the total required paper amount and the remaining paper amount of the printer, and when the total required paper amount is greater than the remaining paper amount, issue an alarm and wait for a frequency reduction instruction, otherwise maintain the initial sampling frequency unchanged and use it as the target sampling frequency, or wait for a frequency increase instruction; S4. After receiving the frequency reduction instruction, the initial sampling frequency is reduced and the reduced frequency is used as the target sampling frequency; S5. After receiving the frequency increase instruction, the initial sampling frequency is increased and the increased frequency is used as the target sampling frequency; S6. After the sensor data is recorded according to the target sampling frequency, the printer is controlled to print the sensor data on paper.

[0032] In step S1, the actual transportation time is obtained. The actual transportation time can be automatically recorded by the system (refer to the existing delivery time acquisition method in the express delivery industry or transportation industry), or manually input by the user.

[0033] In step S2, the actual transportation time is compared with the planned transportation time. If the actual transportation time is longer than the planned transportation time (the planned transportation time can be calculated by subtracting the current transportation time from the estimated transportation time of the entire transportation process), it indicates that the transportation is delayed. At this time, the system will calculate the total amount of paper required to print all subsequent sensor data based on the actual transportation time and the initial sampling frequency, that is, the total required paper amount (it should be noted that the paper amount required for the entire transportation process is different from the paper amount required for the entire transportation process. The paper amount required for the entire transportation process = the paper amount required to print the recorded sensor data + the paper amount required to print the sensor data that needs to be recorded later. For example, the current transportation time is 2 hours, and the sensor data in these 2 hours have been recorded according to the initial sampling frequency. Therefore, the paper amount required for its printing can be calculated, that is, the paper amount required for printing the sensor data that has been recorded. At this time, it is necessary to continue transportation for 8 hours, that is, the actual transportation time is 8 hours. If the sensor data in these 8 hours is recorded according to the initial sampling frequency, the paper amount required for its printing can also be calculated, that is, the paper amount required for printing the sensor data that needs to be recorded later; in addition, the paper amount required for the entire transportation process should be less than or equal to the amount of paper pre-installed in the printer in order to print all data). The purpose of calculating the total required paper amount is to estimate the subsequent consumption of paper, so as to prepare for the subsequent judgment of the remaining paper.

[0034] In step S3, the total required amount of paper is compared with the remaining amount of paper in the printer. The remaining amount of paper in the printer (i.e., the remaining amount of paper) can be calculated by subtracting the amount of paper required to print the recorded sensor data from the amount of paper pre-installed before transportation. If the total required amount of paper is greater than the remaining amount of paper, it means that the paper in the printer may not be enough to complete the printing of all subsequent data. In this case, the system will issue an alarm signal to prompt the user that the paper may be insufficient and wait for receiving a frequency reduction instruction. The alarm method can be a sound alarm or an indicator light alarm. If the total required amount of paper is less than or equal to the remaining amount of paper, it means that there is enough paper, and the system will maintain the initial sampling frequency unchanged and use it as the target sampling frequency, or wait for receiving a frequency increase instruction. The frequency increase instruction and the frequency reduction instruction can be manually issued by the user according to the actual situation (realized by remote control). For example, the user can decide whether to adjust the sampling frequency based on the value of the transported goods or the requirements for data accuracy.

[0035] Steps S4 and S5 are frequency adjustment steps. After receiving the frequency reduction instruction, the system will reduce the initial sampling frequency and set the reduced frequency as the target sampling frequency. Reducing the sampling frequency means that fewer data points are recorded in the same time, thereby reducing the amount of data to be printed and achieving the purpose of saving paper. Conversely, after receiving the frequency increase instruction, the system will increase the initial sampling frequency and set the increased frequency as the target sampling frequency to increase the density of data recording.

[0036] Finally, in step S6, the system will record the sensor data according to the target sampling frequency (it should be noted that the sensor data recorded according to the initial sampling frequency is retained, and the subsequent sensor data is recorded according to the target sampling frequency). The target sampling frequency is the sampling frequency adjusted by step S3, S4 or S5. After recording the sensor data, the system will control the printer to print the sensor data on paper. By adjusting the sampling frequency, the system can save printing paper as much as possible while ensuring data integrity, especially when the actual transportation time exceeds the planned transportation time, it can effectively avoid the problem of data printing interruption due to insufficient paper.

[0037] It should be noted that the actual transportation time may change multiple times, and each change in the actual transportation time may cause the sampling frequency to be adjusted. At this time, the total required amount of paper will be calculated multiple times during the entire transportation process. The steps for calculating the total required amount of paper each time are the same and will not be repeated here. At this time, the required amount of paper for the entire transportation process is expressed as: the required amount of paper for the entire transportation process = the required amount of paper for printing the sensor data that has been recorded according to the initial sampling frequency + the required amount of paper for printing the sensor data recorded according to the target sampling frequency obtained by the first adjustment +·····……+ the required amount of paper for printing the sensor data recorded according to the target sampling frequency obtained by the Nth adjustment.

[0038] Specifically, it works as follows: After the system is started, the actual transportation time is obtained first. The actual transportation time can be obtained by the system's automatic timing or manually input by the user. At the same time, the system calculates the planned transportation time and presets the initial sampling frequency. The initial sampling frequency determines the density of data recording. The higher the frequency, the more data points are recorded, the more detailed the data is, but at the same time, more paper is required for printing.

[0039] After obtaining the actual transportation time, the system will compare the actual transportation time with the planned transportation time. If the actual transportation time is equal to or less than the planned transportation time, the system will collect and print data normally according to the initial sampling frequency, and there is no need to adjust the frequency.

[0040] When the actual transportation time is longer than the planned transportation time, the system will determine that the transportation is delayed. At this time, the system will calculate the total amount of paper required if the data is recorded according to the initial sampling frequency and all subsequent data is printed, i.e. the total required paper quantity, based on the actual transportation time and the initial sampling frequency. Calculations related to the paper quantity can be estimated based on pre-set parameters such as the number of data lines that can be printed per page and the length of paper occupied by each line of data.

[0041] After calculating the total required paper quantity, the system will compare the total required paper quantity with the current remaining paper quantity of the printer. The remaining paper quantity of the printer can be obtained by manually inputting the number of pre-installed papers in the printer by the user during system initialization, and calculating the paper quantity required to print the currently recorded sensor data in a decremental manner.

[0042] If the total required paper volume is less than or equal to the remaining paper volume of the printer, it indicates that there is enough paper for printing, and the system maintains the current initial sampling frequency as the target sampling frequency and continues data collection and printing operations. At this time, the system can also choose to wait for the frequency increase instruction. If the user wants to increase the data sampling density, he can send the frequency increase instruction, and the system will increase the sampling frequency according to the frequency increase instruction.

[0043] If the total required paper quantity is greater than the remaining paper quantity of the printer, it indicates that the printing paper may be insufficient according to the current sampling frequency and the actual transportation time. At this time, the system will issue an alarm to remind the user that the paper may not be enough. The purpose of the alarm is to remind the user to pay attention to the remaining paper quantity and consider whether the sampling frequency needs to be adjusted to save paper. After the alarm is issued, the system will wait for a frequency reduction instruction. If the user thinks that the paper shortage problem is serious or does not require high data accuracy, a frequency reduction instruction can be sent. After receiving the frequency reduction instruction, the system will reduce the current sampling frequency and use the reduced frequency as the target sampling frequency. After reducing the sampling frequency, the density of data recording will be reduced, thereby reducing the amount of paper required for subsequent printing.

[0044] After setting the target sampling frequency, the system will continuously collect the specified parameters of the incubator at the target sampling frequency and store the collected sensor data. When the transportation process is completed, or when the user needs to print the data, the system will control the printer to print the stored sensor data on paper. Since the system reduces the amount of data by lowering the sampling frequency when there may be insufficient paper, it can effectively avoid the problem of insufficient paper caused by the actual transportation time exceeding the plan, and ensure that the complete incubator data record can be successfully printed under various transportation conditions.

[0045] In some specific embodiments, the incubator data printing system is applied to cold chain transportation scenarios. The incubator is used to load temperature-sensitive medicines or foods. The all-in-one machine is installed on the outside of the incubator, or integrated on the body of the incubator. The sensor is a high-precision temperature sensor, which is used to monitor the temperature changes inside the incubator in real time. The initial sampling frequency is preset to sample once per minute, that is, one temperature data is recorded every minute. The printer is a thermal printer, using roll thermal paper.

[0046] In a transportation task, the initial sampling frequency is once per minute. The estimated duration of the entire transportation process is set to 10 hours. Based on the estimated duration, the system pre-installed enough thermal paper to print 10 hours of data before transportation. After 3 hours of transportation, the planned transportation duration is calculated to be 10-3=7 hours, that is, the current remaining paper is only enough to print 7 hours of data. However, during the actual transportation process, due to traffic congestion, the actual transportation time was extended to 12 hours (that is, the final duration of the entire transportation process is 12+3=15 hours). At this time, the transportation time was extended by 12-7=5 hours, and the system obviously could not print the extra 5 hours of data.

[0047] When the system compares the actual transportation time with the planned transportation time and finds that the actual transportation time is longer than the planned transportation time, the system calculates the amount of data that needs to be recorded and printed based on the 12-hour transportation time and the initial sampling frequency (once per minute), and estimates the total amount of paper required to print these data. The system compares the total amount of paper required with the amount of paper remaining in the printer. If the amount of paper remaining in the printer is not enough to print all the data, the system will issue an audible and visual alarm to indicate that the paper may be insufficient.

[0048] After receiving the alarm, the user evaluates that the data sampling density can be appropriately reduced to save paper. The user can send a frequency reduction instruction to the all-in-one machine through remote control, or operate directly on the all-in-one machine. After receiving the frequency reduction instruction, the system reduces the sampling frequency from once per minute to once every two minutes, and uses the new sampling frequency as the target sampling frequency. The system continues to record temperature data at a frequency of once every two minutes. After the transportation task is completed, the system controls the printer to print out all temperature data recorded according to the target sampling frequency. Since the sampling frequency is reduced, the total amount of data is reduced, which ensures that the complete temperature record of the transportation process can still be successfully printed when the paper balance is limited, avoiding the problem of data printing interruption due to insufficient paper, and ensuring the traceability of temperature data during the cold chain transportation process.

[0049] In some embodiments, when the all-in-one machine is used to perform step S2, it performs: S21. Obtain the specified parameters of the incubator in real time, and always detect whether the change rate of the specified parameters exceeds the preset threshold. If the change rate of the specified parameters exceeds the preset threshold, it is determined that there is an abnormal fluctuation and the relevant abnormal data is recorded; the abnormal data includes the time point when the abnormal fluctuation occurs and the corresponding specified parameter value; S22. Calculate the basic amount of paper required to print all sensor data based on the actual transportation time and the initial sampling frequency; S23. Based on the preset abnormal data printing priority, calculate the additional amount of paper required to print the abnormal data according to the recorded abnormal data; S24. Add the basic required paper amount and the additional required paper amount to obtain the total required paper amount for printing all sensor data.

[0050] In step S21, the detection of the change rate of the specified parameter can be achieved in the following way: the processor in the all-in-one machine periodically reads the specified parameter value measured by the sensor. The processor calculates the difference between the specified parameter between the current sampling point and the previous sampling point, and then divides the difference by the sampling time interval to obtain the change rate of the specified parameter. The preset threshold is stored in the memory of the all-in-one machine and can be adjusted according to actual application requirements. When the absolute value of the calculated change rate of the specified parameter exceeds this threshold, the system determines that there is an abnormal fluctuation. When an abnormal fluctuation is detected, the system records the time point when the abnormal fluctuation occurs and the specified parameter value at this time. The time point can be obtained by the real-time clock of the all-in-one machine, and the specified parameter value is directly read from the sensor.

[0051] In step S23, the preset abnormal data printing priority determines the amount of abnormal data occupied on the paper. For example, different priorities can be set for different levels of abnormal fluctuations, and abnormal data with high priority may need to print more context information or use a higher printing density to highlight it. The calculation of the additional required amount of paper can be completed based on the number of abnormal data, the priority, and the preset paper occupancy parameters. For example, each abnormal data record can be estimated to occupy a fixed number of lines of paper, and abnormal data records with high priority occupy more lines.

[0052] Specifically, in the scenario where valuables are transported in an incubator, the stability of the temperature inside the incubator is crucial. This embodiment aims to solve the problem that the required amount of paper calculated based solely on the actual transportation time and the initial sampling frequency may not be able to cope with emergencies, resulting in the important abnormal data being ignored due to subsequent frequency reduction. The all-in-one machine monitors the internal temperature of the incubator in real time, and the initial sampling frequency is set to sample once per minute. For example, the planned transportation time is 8 hours (it can also be days, such as 1 day, 3 days or 7 days). During the actual transportation process, if traffic congestion occurs, the actual transportation time is extended to 10 hours. After the all-in-one machine obtains the actual transportation time of 10 hours in step S1, it compares the planned transportation time of 8 hours and determines that the actual transportation time is greater than the planned transportation time. Entering step S2, the all-in-one machine begins to refine the calculation of the total required amount of paper. In step S21, the all-in-one machine monitors the temperature change rate in real time. For example, the preset threshold is set to 0.5°C / minute. In the 5th hour of transportation, due to the sudden change in the external ambient temperature, the internal temperature of the incubator changed by 3°C in 5 minutes, and the calculated temperature change rate was 0.6°C / minute, which exceeded the preset threshold. The system determines that an abnormal fluctuation occurs at this time and records the abnormal data, including the time point of the abnormal occurrence and the temperature value at that time (the preset threshold is set by the user according to the storage temperature during transportation in the incubator. In actual application, these temperature-related thresholds are also used to trigger an alarm, for example, when the temperature change rate exceeds the preset threshold or the temperature in the incubator exceeds the preset temperature range, an alarm is issued). Step S22 calculates the basic required paper volume based on the actual transportation time of 10 hours and the initial sampling frequency of once per minute. Assuming that 5 cm of paper is required for data printing per hour, the basic required paper volume is 50 cm. Step S23 calculates the additional required paper volume based on the preset abnormal data printing priority. Assuming that each abnormal data record requires an additional 5 cm of paper to be printed, and one abnormal data is recorded this time, the additional required paper volume is 5 cm. Step S24 adds the basic required paper volume of 50 cm and the additional required paper volume of 5 cm to obtain a total required paper volume of 55 cm. Therefore, the calculation of the total required paper volume not only takes into account the situation of transportation delay, but also takes into account the situation of abnormal temperature fluctuations during transportation, making the paper volume estimation more accurate.

[0053] In some specific embodiments, the preset threshold can be adjusted according to the transportation requirements of different types of items. For example, for the transportation of medicines that are very sensitive to temperature fluctuations, the preset threshold can be set lower, such as 0.2°C / minute, so that abnormal temperature fluctuations can be detected and recorded more sensitively. The printing priority of abnormal data can also be set in a hierarchical manner, for example, divided into three levels of "high", "medium" and "low", and different levels correspond to different paper occupancy. High-priority abnormal data may require detailed printing of the temperature change curve before and after the abnormality occurs, medium-priority abnormal data can only print the time point and temperature value when the abnormality occurs, and low-priority abnormal data can only be recorded but not printed immediately. In the case of very tight paper, it can be considered to omit the printing of low-priority abnormal data. Through these flexible parameter settings, the paper usage strategy can be adjusted according to actual needs, while ensuring that important data is recorded and printed, saving paper as much as possible. Therefore, when the actual transportation time exceeds the planned transportation time and abnormal fluctuations of the specified parameters occur during transportation, the required amount of paper can be calculated more accurately to ensure that important abnormal data is recorded and printed, avoiding data loss problems caused by insufficient paper.

[0054] In some embodiments, when the all-in-one machine is used to execute step S21, it executes: S211. Obtain the specified parameters of the incubator in real time, and calculate the difference between the specified parameters of two adjacent sampling points with the same specified parameters; S212. Divide the specified parameter difference by the sampling time interval to obtain the specified parameter change rate; S213. Determine whether the absolute value of the change rate of the specified parameter exceeds a preset threshold value, and if so, determine that there is an abnormal fluctuation; S214. If it is determined that an abnormal fluctuation exists, relevant abnormal data is recorded, including the time point when the abnormal fluctuation occurs, the corresponding specified parameter value, the duration of the abnormal fluctuation obtained by multiplying the number of continuous sampling points exceeding the preset threshold by the sampling time interval, and the maximum specified parameter difference during the abnormal fluctuation period.

[0055] In step S211, the integrated device receives the specified parameter measurement value sent by the sensor in real time. As a method, the specified parameter measurement value measured by the sensor is periodically recorded at a preset initial sampling frequency or a target sampling frequency. After the specified parameter measurement value of the current sampling point is recorded, the specified parameter measurement value of the previous sampling point is obtained, and then the difference between the specified parameter values ​​of the two adjacent sampling points is calculated, thereby obtaining the specified parameter difference.

[0056] In step S212, the sampling time interval refers to the time interval between two adjacent sampling points, which is determined by a preset sampling frequency. After the specified parameter difference is divided by the sampling time interval, the change amount of the specified parameter per unit time, that is, the specified parameter change rate, can be obtained.

[0057] In step S213, the preset threshold is a pre-set critical value for determining whether the change of the specified parameter is abnormal. By determining whether the absolute value of the change rate of the specified parameter exceeds the preset threshold, it is possible to effectively identify whether the specified parameter has changed dramatically, thereby determining whether there is an abnormal fluctuation.

[0058] In step S214, when it is determined that an abnormal fluctuation exists, the all-in-one machine will record a series of data related to the abnormal fluctuation for subsequent analysis and tracing. The time point when the abnormal fluctuation occurs is the sampling time point when the change rate of the specified parameter is first detected to exceed the preset threshold. The corresponding specified parameter value is the value of the specified parameter measured by the sensor at this time point. The duration of the abnormal fluctuation is calculated by counting the number of sampling points that continuously exceed the preset threshold and multiplying it by the sampling time interval. By comparing the specified parameter difference between two adjacent sampling points in all abnormal data, the maximum value obtained is the maximum specified parameter difference.

[0059] Specifically, this embodiment aims to solve the problem that abnormal fluctuations with long duration and large amplitude may have a greater impact on the quality of goods, and the existing recording method cannot distinguish the degree of impact of abnormal fluctuations on the quality of goods. During the actual operation of the incubator data printing system, sensors such as temperature sensors will monitor the internal temperature of the incubator in real time. The all-in-one receives temperature data sent by the temperature sensor at a set initial sampling frequency or target sampling frequency, such as once per minute. After each new temperature data is received, the all-in-one calculates the difference between the current temperature value and the temperature value of the previous minute to obtain the temperature difference. Then, divide this temperature difference by the sampling time interval, that is, 1 minute, to obtain the temperature change rate. The system presets a temperature change rate threshold, such as 0.5°C / minute. If the absolute value of the calculated temperature change rate exceeds 0.5°C / minute, it is determined that the temperature has fluctuated abnormally. Once an abnormal fluctuation is determined, the all-in-one device will record: the time when the abnormal fluctuation occurred, such as 10:30 in the morning; the temperature value at that time, such as -5°C; the duration of the abnormal fluctuation, such as if the temperature change rate of the subsequent three consecutive sampling points exceeds the threshold, then the duration is 3 minutes; and the maximum temperature difference during the abnormal fluctuation, such as the maximum temperature difference between adjacent sampling points within 3 minutes is 0.8°C.

[0060] In some specific embodiments, the preset threshold can be adjusted according to the actual application scenario and the requirements for the stability of the specified parameters. For example, for the transportation of medicines or vaccines with extremely high temperature stability requirements, the preset threshold can be set relatively low to more sensitively detect slight temperature fluctuations. Conversely, for the transportation of ordinary items with relatively low temperature stability requirements, the preset threshold can be appropriately increased. Thus, the detection sensitivity of abnormal fluctuations can be flexibly adjusted according to different transportation requirements, so that the recording of abnormal data is more in line with the needs of actual applications.

[0061] In some embodiments, when the all-in-one machine is used to perform step S3, it performs: S31. Compare the total required paper amount and the remaining paper amount of the printer. If the total required paper amount is greater than the remaining paper amount, execute step S32. Otherwise, maintain the initial sampling frequency unchanged and use it as the target sampling frequency, or wait for the frequency increase instruction. S32. Determine whether the difference between the total required paper amount and the remaining paper amount exceeds the preset alarm threshold. If it exceeds the preset alarm threshold, an alarm is issued and waits for a frequency reduction instruction, otherwise, execute step S33; S33. Increase the printing density and recalculate the total required paper amount based on the increased printing density. If the recalculated total required paper amount is less than or equal to the remaining paper amount, the current printing density is used as the target printing density. Otherwise, an alarm is issued and a frequency reduction instruction is waited for. The target printing density is used to control the printer to print the sensor data measured by the sensor on paper according to the target printing density when executing step S6.

[0062] In step S31, the all-in-one machine first performs a comparison operation between the total required paper amount and the remaining paper amount of the printer. If the total required paper amount is less than or equal to the remaining paper amount of the printer, the system determines that the paper amount is sufficient, maintains the initial sampling frequency, or responds to the frequency increase instruction to increase the sampling frequency. On the contrary, if the total required paper amount is greater than the remaining paper amount of the printer, the system enters step S32 to further process the insufficient paper amount.

[0063] In step S32, the system determines whether the difference between the total required paper amount and the remaining paper amount exceeds the preset alarm threshold. The preset alarm threshold is a preset upper limit of the paper amount difference, which is used to distinguish the degree of insufficient paper. If the paper amount difference exceeds the preset alarm threshold, it indicates that the paper amount is seriously insufficient. At this time, the system sends an alarm signal to prompt the user that the current amount of paper cannot complete the printing task, and waits to receive a frequency reduction instruction in order to reduce the amount of data by reducing the sampling frequency, thereby reducing paper consumption. If the paper amount difference does not exceed the preset alarm threshold, it indicates that the paper amount is insufficient but there is still a certain amount of surplus. The system attempts to actively solve the problem of insufficient paper by executing step S33.

[0064] In step S33, the system saves paper by increasing the print density and the print content per unit paper area. After the print density is increased, the system recalculates the total required paper volume. If the recalculated total required paper volume is less than or equal to the remaining paper volume of the printer, the system determines that the current print density meets the paper volume requirement and sets the current print density as the target print density for subsequent data printing. If the total required paper volume is still greater than the remaining paper volume even after the print density is increased, indicating that the paper volume is seriously insufficient, the system issues an alarm and waits for a frequency reduction instruction to prompt the user that the paper volume can no longer meet the minimum printing requirement.

[0065] Specifically, in view of the problem that the incubator data printing system in the prior art may have insufficient printing paper when the transportation time is extended, this solution provides a more refined paper shortage processing mechanism by executing step S3 in the all-in-one machine. This avoids the problem of frequent alarms due to a single alarm judgment method, which reduces the user experience. At the same time, the printing demand is met by increasing the printing density to avoid the loss of key data.

[0066] First, in step S31, the system pre-evaluates the total amount of paper required for the printing task and the current remaining amount of paper in the printer. If the paper amount is initially determined to be insufficient, the system does not immediately issue an alarm, but enters the subsequent optimization process.

[0067] Next, in step S32, the system introduces an alarm threshold to grade the degree of paper shortage. If the paper shortage is slight, the system will automatically execute step S33 to try to solve the problem.

[0068] Then, in step S33, the system further increases the printing density, and saves paper more effectively by increasing the amount of information printed on the paper. By adjusting the printing density, the system prioritizes self-optimization when the amount of paper is insufficient, and strives to complete the printing task without completely sacrificing data integrity.

[0069] Only when the paper supply is seriously insufficient and cannot meet the printing demand even after reducing the frequency and adjusting the density, the system will issue an alarm to remind the user to add paper or take other measures. This processing method avoids frequent alarms and improves the intelligence of the system and user experience. By setting the target printing density, it is ensured that the printer can still work and complete the data printing task as much as possible when the paper supply is limited, while avoiding the loss of key data.

[0070] In some specific implementations, the preset alarm threshold can be set to a fixed value of the difference between the total required paper amount and the remaining paper amount, such as 10 cm. In step S32, when the calculated paper amount difference is greater than 10 cm, the system issues a paper amount alarm; otherwise, if the paper amount difference is less than or equal to 10 cm, the system automatically executes step S33.

[0071] The increase in printing density can be achieved by increasing the number of characters per line or reducing the spacing between printing lines. For example, the initial printing density is 40 characters per line, and the increased printing density can be 50 characters per line.

[0072] In step S33, when the total required paper quantity is still greater than the remaining paper quantity after the printing density is increased, the system can issue a high-level paper quantity alarm again, such as an audible and visual alarm, to attract the user's attention and force the user to intervene, such as replenishing paper. Through the above-mentioned specific parameter settings and processing flow, the problem of insufficient paper quantity that may occur during the incubator data printing process can be effectively dealt with to ensure the continuity and integrity of data printing.

[0073] Reference Figure 3 The present invention provides an incubator data printing method, which is applied to an incubator data printing system. The incubator data printing system includes an incubator and an all-in-one machine installed on the incubator. The all-in-one machine is integrated with a sensor and a printer. The sensor is used to measure a specified parameter of the incubator. The specified parameter is recorded as sensor data according to a preset initial sampling frequency. The printer is used to print the sensor data on paper. The method for printing data of the incubator comprises the following steps: S1. Obtain the actual transportation time; S2. Compare the actual transportation time with the preset planned transportation time, and when the actual transportation time is longer than the planned transportation time, calculate the total amount of paper required to print all sensor data based on the actual transportation time and the initial sampling frequency; S3. Compare the total required paper amount and the remaining paper amount of the printer, and when the total required paper amount is greater than the remaining paper amount, issue an alarm and wait for a frequency reduction instruction, otherwise maintain the initial sampling frequency unchanged and use it as the target sampling frequency, or wait for a frequency increase instruction; S4. After receiving the frequency reduction instruction, the initial sampling frequency is reduced and the reduced frequency is used as the target sampling frequency; S5. After receiving the frequency increase instruction, the initial sampling frequency is increased and the increased frequency is used as the target sampling frequency; S6. After the sensor data is recorded according to the target sampling frequency, the printer is controlled to print the sensor data on paper.

[0074] In some embodiments, the specific steps in step S2 include: S21. Obtain the specified parameters of the incubator in real time, and always detect whether the change rate of the specified parameters exceeds the preset threshold. If the change rate of the specified parameters exceeds the preset threshold, it is determined that there is an abnormal fluctuation and the relevant abnormal data is recorded; the abnormal data includes the time point when the abnormal fluctuation occurs and the corresponding specified parameter value; S22. Calculate the basic amount of paper required to print all sensor data based on the actual transportation time and the initial sampling frequency; S23. Based on the preset abnormal data printing priority, calculate the additional amount of paper required to print the abnormal data according to the recorded abnormal data; S24. Add the basic required paper amount and the additional required paper amount to obtain the total required paper amount for printing all sensor data.

[0075] In some embodiments, the specific steps in step S21 include: S211. Obtain the specified parameters of the incubator in real time, and calculate the difference between the specified parameters of two adjacent sampling points with the same specified parameters; S212. Divide the specified parameter difference by the sampling time interval to obtain the specified parameter change rate; S213. Determine whether the absolute value of the change rate of the specified parameter exceeds a preset threshold value, and if so, determine that there is an abnormal fluctuation; S214. If it is determined that an abnormal fluctuation exists, relevant abnormal data is recorded, including the time point when the abnormal fluctuation occurs, the corresponding specified parameter value, the duration of the abnormal fluctuation obtained by multiplying the number of continuous sampling points exceeding the preset threshold by the sampling time interval, and the maximum specified parameter difference during the abnormal fluctuation period.

[0076] In some embodiments, the specific steps in step S3 include: S31. Compare the total required paper amount and the remaining paper amount of the printer. If the total required paper amount is greater than the remaining paper amount, execute step S32. Otherwise, maintain the initial sampling frequency unchanged and use it as the target sampling frequency, or wait for the frequency increase instruction. S32. Determine whether the difference between the total required paper amount and the remaining paper amount exceeds the preset alarm threshold. If it exceeds the preset alarm threshold, an alarm is issued and waits for a frequency reduction instruction, otherwise, execute step S33; S33. Increase the printing density and recalculate the total required paper amount based on the increased printing density. If the recalculated total required paper amount is less than or equal to the remaining paper amount, the current printing density is used as the target printing density. Otherwise, an alarm is issued and a frequency reduction instruction is waited for. The target printing density is used to control the printer to print the sensor data measured by the sensor on paper according to the target printing density when executing step S6.

[0077] Please refer to Figure 4 , Figure 4An incubator data printing device in some embodiments of the present invention is applied to an incubator data printing system. The incubator data printing device is integrated in a back-end control device in the form of a computer program. The incubator data printing system includes an incubator and an all-in-one machine installed on the incubator. The all-in-one machine is integrated with a sensor and a printer. The sensor is used to measure a specified parameter of the incubator. The specified parameter is recorded as sensor data according to a preset initial sampling frequency. The printer is used to print the sensor data on paper. The incubator data printing device includes: An acquisition module 100 is used to acquire actual transportation time; A calculation module 200 is used to compare the actual transportation time with the preset planned transportation time, and when the actual transportation time is longer than the planned transportation time, calculate the total amount of paper required to print all sensor data according to the actual transportation time and the initial sampling frequency; The control module 300 is used to compare the total required paper amount with the remaining paper amount of the printer, and when the total required paper amount is greater than the remaining paper amount, issue an alarm and wait for a frequency reduction instruction, otherwise maintain the initial sampling frequency unchanged and use it as the target sampling frequency, or wait for a frequency increase instruction; The frequency reduction module 400 is used to reduce the initial sampling frequency and use the reduced frequency as the target sampling frequency after receiving the frequency reduction instruction; The frequency increase module 500 is used to increase the initial sampling frequency and use the increased frequency as the target sampling frequency after receiving the frequency increase instruction; The printing module 600 is used to control the printer to print the sensor data on paper after the sensor data is recorded according to the target sampling frequency.

[0078] In some embodiments, the calculation module 200 is used to compare the actual transportation time with the preset planned transportation time, and when the actual transportation time is greater than the planned transportation time, calculate the total amount of paper required to print all sensor data according to the actual transportation time and the initial sampling frequency, and executes: S21. Obtain the specified parameters of the incubator in real time, and always detect whether the change rate of the specified parameters exceeds the preset threshold. If the change rate of the specified parameters exceeds the preset threshold, it is determined that there is an abnormal fluctuation, and the relevant abnormal data is recorded. The abnormal data includes the time point when the abnormal fluctuation occurs and the corresponding specified parameter value; S22. Calculate the basic amount of paper required to print all sensor data based on the actual transportation time and the initial sampling frequency; S23. Based on the preset abnormal data printing priority, calculate the additional amount of paper required to print the abnormal data according to the recorded abnormal data; S24. Add the basic required paper amount and the additional required paper amount to obtain the total required paper amount for printing all sensor data.

[0079] In some embodiments, the calculation module 200 is used to obtain the specified parameters of the incubator in real time, and constantly detect whether the change rate of the specified parameters exceeds the preset threshold. If the change rate of the specified parameters exceeds the preset threshold, it is determined that there is an abnormal fluctuation, and the relevant abnormal data is recorded when executing: S211. Obtain the specified parameters of the incubator in real time, and calculate the difference between the specified parameters of two adjacent sampling points with the same specified parameters; S212. Divide the specified parameter difference by the sampling time interval to obtain the specified parameter change rate; S213. Determine whether the absolute value of the change rate of the specified parameter exceeds a preset threshold value, and if so, determine that there is an abnormal fluctuation; S214. If it is determined that an abnormal fluctuation exists, relevant abnormal data is recorded, including the time point when the abnormal fluctuation occurs, the corresponding specified parameter value, the duration of the abnormal fluctuation obtained by multiplying the number of continuous sampling points exceeding the preset threshold by the sampling time interval, and the maximum specified parameter difference during the abnormal fluctuation period.

[0080] In some embodiments, the control module 300 is used to compare the total required paper amount with the remaining paper amount of the printer, and when the total required paper amount is greater than the remaining paper amount, issues an alarm and waits for a frequency reduction instruction, otherwise maintains the initial sampling frequency unchanged and uses it as the target sampling frequency, or waits for a frequency increase instruction to execute: S31. Compare the total required paper amount and the remaining paper amount of the printer. If the total required paper amount is greater than the remaining paper amount, execute step S32. Otherwise, maintain the initial sampling frequency unchanged and use it as the target sampling frequency, or wait for the frequency increase instruction. S32. Determine whether the difference between the total required paper amount and the remaining paper amount exceeds the preset alarm threshold. If it exceeds the preset alarm threshold, an alarm is issued and waits for a frequency reduction instruction, otherwise, execute step S33; S33. Increase the printing density and recalculate the total required paper amount based on the increased printing density. If the recalculated total required paper amount is less than or equal to the remaining paper amount, the current printing density is used as the target printing density. Otherwise, an alarm is issued and a frequency reduction instruction is waited for. The target printing density is used to control the printer to print the sensor data measured by the sensor on paper according to the target printing density when executing step S6.

[0081] Please refer to Figure 5 , Figure 5The present invention provides a structural schematic diagram of an electronic device provided in an embodiment of the present invention. The present invention provides an electronic device 13, including: a processor 1301 and a memory 1302. The processor 1301 and the memory 1302 are interconnected and communicate with each other through a communication bus 1303 and / or other forms of connection mechanisms (not shown). The memory 1302 stores computer-readable instructions executable by the processor 1301. When the electronic device is running, the processor 1301 executes the computer-readable instructions to execute the incubator data printing method in any optional implementation of the above embodiment to achieve the following functions: obtaining the actual transportation time; comparing the actual transportation time with the preset planned transportation time. When the actual transportation time is longer than the planned transportation time, the total amount of paper required to print all the sensor data is calculated according to the actual transportation time and the initial sampling frequency; the total amount of paper required is compared with the remaining amount of paper in the printer, and when the total amount of paper required is greater than the remaining amount of paper, an alarm is issued and a frequency reduction instruction is waited for, otherwise the initial sampling frequency is maintained unchanged and used as the target sampling frequency, or a frequency increase instruction is waited for; after receiving the frequency reduction instruction, the initial sampling frequency is reduced and the reduced frequency is used as the target sampling frequency; after receiving the frequency increase instruction, the initial sampling frequency is increased and the increased frequency is used as the target sampling frequency; after recording the sensor data according to the target sampling frequency, the printer is controlled to print the sensor data on paper.

[0082] An embodiment of the present invention provides a computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, the thermal insulation box data printing method in any optional implementation of the above-mentioned embodiment is executed to achieve the following functions: obtaining the actual transportation time; comparing the actual transportation time with the preset planned transportation time, and when the actual transportation time is greater than the planned transportation time, calculating the total amount of paper required to print all sensor data according to the actual transportation time and the initial sampling frequency; comparing the total amount of paper required with the remaining amount of paper of the printer, and when the total amount of paper required is greater than the remaining amount of paper, issuing an alarm and waiting for a frequency reduction instruction, otherwise maintaining the initial sampling frequency unchanged and using it as the target sampling frequency, or waiting for a frequency increase instruction; after receiving the frequency reduction instruction, reducing the initial sampling frequency and using the reduced frequency as the target sampling frequency; after receiving the frequency increase instruction, increasing the initial sampling frequency and using the increased frequency as the target sampling frequency; after recording the sensor data according to the target sampling frequency, controlling the printer to print the sensor data on paper.

[0083] Among them, the computer-readable storage medium can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable red-only memory (PROM), read-only memory (ROM), magnetic storage, flash memory, magnetic disk or optical disk.

[0084] In the embodiments provided by the present invention, it should be understood that the disclosed devices and methods can be implemented in other ways. The device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some communication interfaces, and the indirect coupling or communication connection of devices or units can be electrical, mechanical or other forms.

[0085] In addition, the units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0086] Furthermore, the functional modules in the various embodiments of the present invention may be integrated together to form an independent part, or each module may exist independently, or two or more modules may be integrated to form an independent part.

[0087] In this document, relational terms such as first and second, etc. are used merely to distinguish one entity or operation from another entity or operation, but do not necessarily require or imply any such actual relationship or order between these entities or operations.

[0088] The above description is only an embodiment of the present invention and is not intended to limit the protection scope of the present invention. For those skilled in the art, the present invention may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.

Claims

1. An incubator data printing system, characterized in that: The device comprises an incubator and an all-in-one machine installed on the incubator, wherein the all-in-one machine is integrated with a sensor and a printer, wherein the sensor is used to measure a specified parameter of the incubator, the specified parameter is recorded as sensor data according to a preset initial sampling frequency, and the printer is used to print the sensor data on paper; The integrated machine is used to perform the following steps: S1. Obtain the actual transportation time; S2. Compare the actual transport time with the preset planned transport time, and when the actual transport time is longer than the planned transport time, calculate the total amount of paper required to print all sensor data according to the actual transport time and the initial sampling frequency; S3. Compare the total required paper amount and the remaining paper amount of the printer, and when the total required paper amount is greater than the remaining paper amount, issue an alarm and wait for a frequency reduction instruction, otherwise maintain the initial sampling frequency unchanged and use it as the target sampling frequency, or wait for a frequency increase instruction; S4. After receiving the frequency reduction instruction, reduce the initial sampling frequency and use the reduced frequency as the target sampling frequency; S5. After receiving the frequency increase instruction, the initial sampling frequency is increased and the increased frequency is used as the target sampling frequency; S6. After the sensor data is recorded according to the target sampling frequency, control the printer to print the sensor data on paper.

2. The incubator data printing system according to claim 1, characterized in that: When the all-in-one machine is used to execute step S2, it executes: S21. Acquire the specified parameters of the incubator in real time, and constantly detect whether the change rate of the specified parameters exceeds the preset threshold. If the change rate of the specified parameters exceeds the preset threshold, it is determined that there is an abnormal fluctuation, and the relevant abnormal data is recorded; the abnormal data includes the time point when the abnormal fluctuation occurs and the corresponding specified parameter value; S22. Calculate the amount of paper required to print all sensor data based on the actual transport time and the initial sampling frequency; S23. Based on the preset abnormal data printing priority, calculate the additional amount of paper required to print the abnormal data according to the recorded abnormal data; S24. Add the basic required paper amount and the additional required paper amount to obtain the total required paper amount for printing all sensor data.

3. The incubator data printing system according to claim 2, characterized in that: When the all-in-one machine is used to execute step S21, it executes: S211. Acquire the specified parameters of the incubator in real time, and calculate the difference between the specified parameters of two adjacent sampling points with the same specified parameters; S212. Divide the specified parameter difference by the sampling time interval to obtain the specified parameter change rate; S213. Determine whether the absolute value of the change rate of the specified parameter exceeds a preset threshold value, and if so, determine that there is an abnormal fluctuation; S214. If it is determined that an abnormal fluctuation exists, relevant abnormal data is recorded, and the abnormal data includes the time point when the abnormal fluctuation occurs, the corresponding specified parameter value, the duration of the abnormal fluctuation obtained by multiplying the number of continuous sampling points exceeding the preset threshold by the sampling time interval, and the maximum specified parameter difference during the abnormal fluctuation period.

4. The incubator data printing system according to claim 1, characterized in that: When the all-in-one machine is used to execute step S3, it executes: S31. Compare the total required paper amount and the remaining paper amount of the printer. If the total required paper amount is greater than the remaining paper amount, execute step S32, otherwise maintain the initial sampling frequency unchanged and use it as the target sampling frequency, or wait for a frequency increase instruction; S32. Determine whether the difference between the total required paper amount and the remaining paper amount exceeds a preset alarm threshold. If it exceeds the preset alarm threshold, issue an alarm and wait for a frequency reduction instruction. Otherwise, execute step S33. S33. Increase the printing density and recalculate the total required paper amount based on the increased printing density. If the recalculated total required paper amount is less than or equal to the remaining paper amount, the current printing density is used as the target printing density; otherwise, an alarm is issued and a frequency reduction instruction is waited for; the target printing density is used to control the printer to print the sensor data measured by the sensor on paper according to the target printing density when executing step S6.

5. A method for printing data of an incubator, applied to an incubator data printing system, characterized in that: The incubator data printing system comprises an incubator and an all-in-one machine installed on the incubator, wherein the all-in-one machine is integrated with a sensor and a printer, wherein the sensor is used to measure a specified parameter of the incubator, wherein the specified parameter is recorded as sensor data according to a preset initial sampling frequency, and the printer is used to print the sensor data on paper; The incubator data printing method comprises the following steps: S1. Obtain the actual transportation time; S2. Compare the actual transport time with the preset planned transport time, and when the actual transport time is longer than the planned transport time, calculate the total amount of paper required to print all sensor data according to the actual transport time and the initial sampling frequency; S3. Compare the total required paper amount and the remaining paper amount of the printer, and when the total required paper amount is greater than the remaining paper amount, issue an alarm and wait for a frequency reduction instruction, otherwise maintain the initial sampling frequency unchanged and use it as the target sampling frequency, or wait for a frequency increase instruction; S4. After receiving the frequency reduction instruction, reduce the initial sampling frequency and use the reduced frequency as the target sampling frequency; S5. After receiving the frequency increase instruction, the initial sampling frequency is increased and the increased frequency is used as the target sampling frequency; S6. After the sensor data is recorded according to the target sampling frequency, control the printer to print the sensor data on paper.

6. The method for printing data of an incubator according to claim 5, characterized in that: The specific steps in step S2 include: S21. Acquire the specified parameters of the incubator in real time, and constantly detect whether the change rate of the specified parameters exceeds the preset threshold. If the change rate of the specified parameters exceeds the preset threshold, it is determined that there is an abnormal fluctuation, and the relevant abnormal data is recorded; the abnormal data includes the time point when the abnormal fluctuation occurs and the corresponding specified parameter value; S22. Calculate the amount of paper required to print all sensor data based on the actual transport time and the initial sampling frequency; S23. Based on the preset abnormal data printing priority, calculate the additional amount of paper required to print the abnormal data according to the recorded abnormal data; S24. Add the basic required paper amount and the additional required paper amount to obtain the total required paper amount for printing all sensor data.

7. The method for printing data of an incubator according to claim 6, characterized in that: The specific steps in step S21 include: S211. Acquire the specified parameters of the incubator in real time, and calculate the difference between the specified parameters of two adjacent sampling points with the same specified parameters; S212. Divide the specified parameter difference by the sampling time interval to obtain the specified parameter change rate; S213. Determine whether the absolute value of the change rate of the specified parameter exceeds a preset threshold value, and if so, determine that there is an abnormal fluctuation; S214. If it is determined that an abnormal fluctuation exists, relevant abnormal data is recorded, and the abnormal data includes the time point when the abnormal fluctuation occurs, the corresponding specified parameter value, the duration of the abnormal fluctuation obtained by multiplying the number of continuous sampling points exceeding the preset threshold by the sampling time interval, and the maximum specified parameter difference during the abnormal fluctuation period.

8. An incubator data printing device, applied to an incubator data printing system, characterized in that: The incubator data printing system comprises an incubator and an all-in-one machine installed on the incubator, wherein the all-in-one machine is integrated with a sensor and a printer, wherein the sensor is used to measure a specified parameter of the incubator, wherein the specified parameter is recorded as sensor data according to a preset initial sampling frequency, and the printer is used to print the sensor data on paper; The incubator data printing device comprises: The acquisition module is used to obtain the actual transportation time; a calculation module, used for comparing the actual transportation time with a preset planned transportation time, and when the actual transportation time is greater than the planned transportation time, calculating the total amount of paper required for printing all sensor data according to the actual transportation time and the initial sampling frequency; A control module, used for comparing the total required paper amount with the remaining paper amount of the printer, and when the total required paper amount is greater than the remaining paper amount, issuing an alarm and waiting for a frequency reduction instruction, otherwise maintaining the initial sampling frequency unchanged and serving as a target sampling frequency, or waiting for a frequency increase instruction; A frequency reduction module, configured to reduce the initial sampling frequency and use the reduced frequency as the target sampling frequency after receiving the frequency reduction instruction; A frequency increase module, configured to increase the initial sampling frequency and use the increased frequency as the target sampling frequency after receiving the frequency increase instruction; The printing module is used to control the printer to print the sensor data on paper after the sensor data is recorded and obtained according to the target sampling frequency.

9. An electronic device, characterized in that: It comprises a processor and a memory, wherein the memory stores computer-readable instructions. When the computer-readable instructions are executed by the processor, the steps in the incubator data printing method as described in any one of claims 5 to 7 are executed.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the incubator data printing method as described in any one of claims 5 to 7 are executed.

Citation Information

Patent Citations

  • Printer paper amount monitoring method applied to self-service terminal

    CN109353130A

  • Adaptive sampling

    CN111417525A

  • Paper pitch adjustment method, image forming apparatus, and computer readable storage medium

    CN116442656A