A numerical display method and device, computer equipment and air purifier

CN117329648BActive Publication Date: 2026-10-30GREE ELECTRIC APPLIANCE INC OF ZHUHAI
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202311248363.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-09-26
Publication Date
2026-10-30
Estimated Expiration
2043-09-26

AI Technical Summary

Technical Problem

[0004]为解决现有的电化学传感器显示数值跳变的问题,本申请提供一种数值显示方法、装置、计算机设备及空气净化器,能够基于检测数据进行数值显示,避免数值跳变

Benefits of technology

[0045]另一方面,提供了一种计算机程序产品或计算机程序,该计算机程序产权或计算机程序包括计算机程序指令,该计算机程序指令存储于计算机可读存储介质中。处理器从计算机可读存储介质读取该计算机指令,并执行还计算机指令,使得该计算机设备执行上述实施例中任一所述的数值显示方法。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117329648B_ABST
    Figure CN117329648B_ABST
Patent Text Reader

Abstract

The application provides a numerical display method and device, computer equipment and an air purifier. The method comprises the following steps: receiving a start-up instruction, obtaining standby time and a standby numerical value before standby; calculating a maximum numerical value based on the standby time and the standby numerical value; obtaining a current detection numerical value, judging the size relationship between the current detection numerical value and the maximum numerical value; and displaying the maximum numerical value if the current detection numerical value is greater than the maximum numerical value. The method provided by the application can display numerical values based on detection data, avoid numerical value jump, and improve user experience.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of data processing technology, and in particular to a numerical display method, apparatus, computer equipment, and air purifier. Background Technology

[0002] Electrochemical sensors are commonly used in fields such as atmospheric environmental monitoring, indoor air quality monitoring, and healthcare, and can detect various gases including formaldehyde, ammonia, hydrogen sulfide, and sulfur dioxide. However, due to the long warm-up time required and the complex environments in which they are used, these sensors are prone to inaccurate detection, large fluctuations in detection values, and high failure rates.

[0003] When an electrochemical sensor has not been powered on and activated for a long time, the readings are prone to being too high when it is powered on again, and it usually takes a long time to return to normal. On the other hand, it is difficult to guarantee that the detection results are consistent with the detection values ​​before the power failure when the sensor is powered on again, resulting in large detection errors and low accuracy. Summary of the Invention

[0004] To address the problem of abrupt changes in displayed values ​​in existing electrochemical sensors, this application provides a numerical display method, apparatus, computer equipment, and air purifier that can display values ​​based on detection data, thus avoiding abrupt changes in values.

[0005] On the one hand, a numerical display method is provided, the method comprising:

[0006] Receive power-on command and obtain standby time and standby value before standby;

[0007] The maximum value is calculated based on the standby time and standby value;

[0008] Obtain the current detection value and determine the relationship between the current detection value and the maximum value;

[0009] If the current detected value is greater than the maximum value, then the maximum value is displayed.

[0010] In some embodiments, calculating the maximum value based on the standby time and the standby value includes:

[0011] The maximum value is calculated based on Dmax = Dend + AX, where Dmax is the maximum value, Dend is the standby value, A is a constant coefficient, and X is the standby time.

[0012] In some embodiments, obtaining the current detection value and determining the relationship between the current detection value and the maximum value; if the current detection value is greater than the maximum value, then displaying the maximum value includes:

[0013] Within a preset startup duration, the current detection value is obtained in a loop, and the relationship between the current detection value and the maximum value is determined.

[0014] If the current detected value is greater than the maximum value, then the maximum value is displayed;

[0015] If the current detected value is less than or equal to the maximum value, then the current detected value is displayed;

[0016] Until the preset startup time is reached.

[0017] In some embodiments, displaying the current detection value if the current detection value is less than or equal to the maximum value includes:

[0018] Obtain the average value of the detected values ​​within the first preset time period;

[0019] If the average value of the detected values ​​is less than the pre-stored first threshold, the step of judging the relationship between the current detected value and the maximum value will not be executed, and the current detected value will be displayed directly.

[0020] In some embodiments, the method further includes:

[0021] The numerical values ​​are displayed according to a preset frequency;

[0022] The currently displayed value satisfies Dn+1≤Dn+Kn and Dn+1≥Dn-Jn and is always greater than zero, where Dn is the previous displayed value, Dn+1 is the current displayed value, Kn is a random number within the first preset interval, and Jn is a random number within the second preset interval.

[0023] On the other hand, a numerical display device is provided, the device comprising:

[0024] The standby data acquisition module is used to receive the power-on command and acquire the standby time and the standby value before standby.

[0025] The maximum value calculation module is used to calculate the maximum value based on the standby time and the standby value;

[0026] The numerical judgment module is used to obtain the current detected value and determine the relationship between the current detected value and the maximum value.

[0027] The numerical display module is used to display the maximum value if the current detected value is greater than the maximum value.

[0028] In some embodiments, the maximum value calculation module is specifically used for:

[0029] The maximum value is calculated based on Dmax = Dend + AX, where Dmax is the maximum value, Dend is the standby value, A is a constant coefficient, and X is the standby time.

[0030] In some embodiments, the numerical judgment module and the numerical display module are specifically used for:

[0031] Within a preset startup duration, the current detection value is obtained in a loop, and the relationship between the current detection value and the maximum value is determined.

[0032] If the current detected value is greater than the maximum value, then the maximum value is displayed;

[0033] If the current detected value is less than or equal to the maximum value, then the current detected value is displayed;

[0034] Until the preset startup time is reached.

[0035] In some embodiments, the numerical display module is specifically used for:

[0036] Obtain the average value of the detected values ​​within the first preset time period;

[0037] If the average value of the detected values ​​is less than a pre-stored first threshold, the step of determining the relationship between the current detected value and the maximum value is skipped, and the current detected value is displayed directly.

[0038] In some embodiments, the device is further configured to:

[0039] The numerical values ​​are displayed according to a preset frequency;

[0040] The currently displayed value satisfies Dn+1≤Dn+Kn and Dn+1≥Dn-Jn and is always greater than zero, where Dn is the previous displayed value, Dn+1 is the current displayed value, Kn is a random number within the first preset interval, and Jn is a random number within the second preset interval.

[0041] On the other hand, a computer device is provided, which includes a processor and a memory. The memory stores at least one instruction, at least one program, code set, or instruction set. The processor can load and execute at least one instruction, at least one program, code set, or instruction set to implement the numerical display method provided in the above-mentioned embodiments.

[0042] On the other hand, an electrochemical sensor system is provided, including an electrochemical sensor, a display device, and a computer device as described above.

[0043] On the other hand, an air purifier is provided, including the electrochemical sensor system described above.

[0044] On the other hand, a computer-readable storage medium is provided, which stores at least one instruction, at least one program, code set, or instruction set. A processor can load and execute at least one instruction, at least one program, code set, or instruction set to implement the numerical display method provided in the embodiments of this application.

[0045] On the other hand, a computer program product or computer program is provided, which includes computer program instructions stored in a computer-readable storage medium. A processor reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the computer device to perform any of the numerical display methods described in the above embodiments.

[0046] The beneficial effects of the technical solution provided in this application include at least the following: Embodiments of the present invention provide a numerical display method, apparatus, computer device, and air purifier. The method includes receiving a power-on command, obtaining a standby time and a standby value before standby; calculating a maximum value based on the standby time and the standby value; obtaining a current detected value, determining the relationship between the current detected value and the maximum value; and displaying the maximum value if the current detected value is greater than the maximum value. The method provided by embodiments of the present invention can display numerical values ​​based on detection data, avoiding abrupt changes in displayed values ​​and improving the user experience. Attached Figure Description

[0047] To more clearly illustrate the technical solutions in the embodiments of this application, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0048] Figure 1 A schematic diagram illustrating the implementation flow of a numerical display method provided in an exemplary embodiment of this application is shown;

[0049] Figure 2 This illustration shows another implementation flow diagram of a numerical display method provided in an exemplary embodiment of this application;

[0050] Figure 3 This illustration shows a further implementation flow diagram of a numerical display method provided in an exemplary embodiment of this application;

[0051] Figure 4 This invention provides a structural diagram of a numerical display device according to an exemplary embodiment of the present application.

[0052] Figure 5This illustration shows a schematic diagram of a computer device corresponding to a numerical display method provided in an exemplary embodiment of this application. Detailed Implementation

[0053] To make the objectives, technical solutions, and advantages of this application clearer, the embodiments of this application will be described in further detail below with reference to the accompanying drawings.

[0054] The numerical display method provided in this application can display numerical values ​​based on detection data, avoiding numerical jumps and improving the user experience.

[0055] Example 1

[0056] Many electrochemical sensors require a certain activation period, such as 24 hours, after initial use or restart after a power outage before they can accurately detect data. During normal use after activation, a 2-minute warm-up is needed for accurate data detection. If users activate the device at long intervals or for less than 24 hours each time, the sensor may operate in an incompletely activated state, resulting in initially higher values. It may take 2-3 minutes to detect and display the true electrochemical value. Even for devices that can quickly display electrochemical values, the sensor data during startup is unstable, sometimes showing values ​​that are too low or too high.

[0057] Figure 1 The diagram illustrates the implementation flow of a numerical display method provided by an embodiment of the present invention.

[0058] See Figure 1 The numerical display method provided in this embodiment of the invention may include steps 101 to 102.

[0059] Step 101: Receive the power-on command and obtain the standby time and the standby value before standby.

[0060] In some embodiments, step 101 includes:

[0061] When the electrochemical sensor is powered on, acquire the last displayed value Dend recorded during standby.

[0062] Step 102: Calculate the maximum value based on the standby time and standby value.

[0063] In some embodiments, step 102 includes:

[0064] The maximum value is calculated based on Dmax = Dend + AX, where Dmax is the maximum value, Dend is the standby value, A is a constant coefficient, and X is the standby time.

[0065] In a specific example, using time period T as the counting unit, the duration of this standby is counted as xT, and the displayed value does not exceed Dmax = Dend + ax, where a is a constant. That is, X = xT, A = a / T.

[0066] Optionally, T is set to 20 seconds and a is set to 0.001.

[0067] Step 103: Obtain the current detection value and determine the relationship between the current detection value and the maximum value.

[0068] Step 104: If the current detected value is greater than the maximum value, then display the maximum value.

[0069] In some embodiments, steps 103 and 104 include:

[0070] Within a preset startup duration, the current detection value is obtained in a loop, and the relationship between the current detection value and the maximum value is determined.

[0071] If the current detected value is greater than the maximum value, then the maximum value is displayed;

[0072] If the current detected value is less than or equal to the maximum value, then the current detected value is displayed;

[0073] Until the preset startup time is reached.

[0074] In some embodiments, the preset startup duration T0 is set to 2 minutes.

[0075] In some embodiments, displaying the current detection value if the current detection value is less than or equal to the maximum value includes:

[0076] Obtain the average value of the detected values ​​within the first preset time period;

[0077] If the average value of the detected values ​​is less than the pre-stored first threshold, the step of judging the relationship between the current detected value and the maximum value will not be executed, and the current detected value will be displayed directly.

[0078] In the method provided by this embodiment of the invention, if the average value of the detected values ​​within a first preset time period is less than a first threshold, it indicates that the current detected values ​​are generally small and will not reach the preset maximum value. Therefore, it is not necessary to continue to judge the relationship between the detected values ​​and the maximum value to avoid displaying values ​​that are too large.

[0079] In a specific example, if the mean of consecutive detections is small enough during the T0 time period, such as the mean being less than 0.04 within 10 seconds, then numerical constraints will no longer be applied using Dmax.

[0080] Specifically, the methods for calculating the mean include, but are not limited to, directly calculating the mean of multiple data points over a continuous period of time; calculating the mean of multiple data points after removing the maximum and minimum values ​​over a continuous period of time; and calculating the mean of multiple data points over a continuous period of time and then using that mean as a benchmark to calculate the mean of the value and the mean of two values ​​before and after that period of time.

[0081] Based on the above average calculations, the method provided by this embodiment of the invention can quickly and accurately display detection data to users, thereby improving the user experience.

[0082] Furthermore, if the standby time is long, such as more than one hour, then the value will not be limited by Dmax.

[0083] In some embodiments, the method provided by the present invention further includes:

[0084] The numerical values ​​are displayed according to a preset frequency;

[0085] The currently displayed value satisfies Dn+1≤Dn+Kn and Dn+1≥Dn-Jn and is always greater than zero, where Dn is the previous displayed value, Dn+1 is the current displayed value, Kn is a random number within the first preset interval, and Jn is a random number within the second preset interval.

[0086] In a specific example, the displayed values ​​are updated at a preset frequency, which can be selected as once every 3 seconds. To avoid sudden data changes during each update, the range of the new data is the range calculated based on the previous data.

[0087] In some embodiments, Dn+1 ≤ Dn+Kn, and Dn+1 ≥ Dn-Jn; where Kn and Jn are random numbers limited by the maximum change value. For example, if the maximum change value is 10, then Kn is a random number between 5 and 10, and Jn is a random number between 7 and 10. Furthermore, the displayed value Dn should be greater than zero at any given time.

[0088] Optionally, this method can be applied in devices such as air purifiers to improve the speed and accuracy of numerical display.

[0089] The method provided in this invention addresses the problem of large data fluctuations in electrochemical sensors during the preheating stage by calculating the average data over a continuous period to improve the speed and accuracy of displayed values.

[0090] Furthermore, this embodiment of the invention provides a fault recovery method for an electrochemical sensor, wherein a continuous period without data upload or where data upload fails verification is identified as a fault stage. Verification refers to the main control program verifying the sensor data by checking the frame header, frame length, command word, checksum, and frame tail.

[0091] Post-fault recovery primarily involves the main control program sending reset commands to the sensors at intervals until the sensors respond to the reset command. While waiting for a reset response, the program checks the data uploaded by the sensors to determine if it's a reset response. If not, it checks if the data is being uploaded normally, continuing this process until the fault is resolved.

[0092] The method provided in this invention is for sensors that operate outdoors for extended periods or are installed in air purifiers, and can ensure the normal operation of such devices during the fault recovery phase.

[0093] The method provided in this invention can solve the calibration and fault recovery problems of electrochemical sensor detection values ​​through auxiliary algorithms, improving the effectiveness, stability, and detection speed of the detection values. It limits the range of variation of the displayed values ​​of the electrochemical sensor under specific application conditions, achieving consistency and smoothness in the display of detection values, avoiding abnormal abrupt changes in display due to power outages or EFT interference, and improving the user experience.

[0094] Example 2

[0095] Figure 2 This diagram illustrates another implementation flow of the numerical display method provided in an embodiment of the present invention.

[0096] See Figure 2 In a specific example, the numerical display method provided by the embodiment of the present invention is implemented as follows.

[0097] After the electrochemical sensor is powered on, determine the time interval between power-off and power-on.

[0098] The upper limit of the display within a short period of time is calculated based on the displayed value when the computer is off and the shutdown time.

[0099] The data acquired each time, for example, every three seconds, must not differ too much from the previously displayed data. The specific sampled value is displayed under this constraint.

[0100] Traditional electrochemical sensors exhibit significant numerical fluctuations during the power-on phase. For example, if a sensor performs a test and displays the result every three seconds after power-on, and the initial reading is 0.050, but the reading changes to 0.100 after three seconds, the result will be a noticeable jump, giving users a negative impression.

[0101] Traditional electrochemical sensors also exhibit a tendency for the displayed value to jump after being powered on for an extended period of standby. For example, if the sensor is powered off or in standby mode when the displayed value is 0.050, and then powered on again, the displayed value may show 0.100, with a noticeable jump in the value.

[0102] Figure 3 This diagram illustrates another implementation flow of the numerical display method provided in an embodiment of the present invention.

[0103] See Figure 3 Taking formaldehyde detection as an example, the numerical display method provided in this embodiment of the invention is implemented as follows.

[0104] After powering on, check if it's the first power-on within one hour. If not, revert to the last displayed value Dend before the last power-off. Calculate the standby time xT between the last power-off and the current power-on, and use Dend and xT to calculate the current display limit Dmax.

[0105] In a specific example, using time period T as the counting unit, the duration of this standby is counted as xT, and the displayed value does not exceed Dmax = Dend + ax, where a is a constant. Optionally, T is set to 20 seconds, and a is set to 0.001.

[0106] If it is determined to be the first power-on within one hour, the sensor's detection data will be displayed directly, and the current display limit Dmax will be set to infinity.

[0107] The current formaldehyde value Dn is obtained from the sensor, and it is determined whether Dn exceeds Dmax. If Dn exceeds Dmax, then Dn = Dmax; otherwise, the value of Dn is not changed.

[0108] Dn is provided to the display module for display.

[0109] Furthermore, it is determined whether Dn is less than or equal to Dn-1 + Kn-1. If so, Dn is displayed directly; otherwise, Dn is set to Dn-1 + Kn-1 before being displayed. Here, Dn is the currently detected formaldehyde value, Dn-1 is the previous detected formaldehyde value, and Kn-1 is a random number limited by the maximum change value. For example, if the maximum change value is 10, then Kn-1 is a random number between 5 and 10. This random number is used to display the range of change between the current and previous formaldehyde values, thus avoiding abrupt changes in the displayed data.

[0110] Repeat the above steps until the boot time exceeds T0.

[0111] In summary, the numerical display method provided by the embodiments of the present invention can reduce the jump in the displayed value when the electrochemical sensor is powered on, avoid obvious abnormalities in the displayed value caused by interference factors, and avoid the problem of data inconsistency before and after power-on.

[0112] Example 3

[0113] Figure 4 A schematic diagram of the structure of the numerical display device provided in an embodiment of the present invention is shown.

[0114] See Figure 4 The numerical display device provided in this embodiment of the invention may include:

[0115] The standby data acquisition module 201 is used to receive the power-on command and acquire the standby time and the standby value before standby.

[0116] The maximum value calculation module 202 is used to calculate the maximum value based on the standby time and the standby value;

[0117] The numerical judgment module 203 is used to obtain the current detected value and judge the relationship between the current detected value and the maximum value;

[0118] The numerical display module 204 is used to display the maximum value if the current detected value is greater than the maximum value.

[0119] In some embodiments, the maximum value calculation module 202 is specifically used for:

[0120] The maximum value is calculated based on Dmax = Dend + AX, where Dmax is the maximum value, Dend is the standby value, A is a constant coefficient, and X is the standby time.

[0121] In some embodiments, the numerical judgment module 230 and the numerical display module 204 are specifically used for:

[0122] Within a preset startup duration, the current detection value is obtained in a loop, and the relationship between the current detection value and the maximum value is determined.

[0123] If the current detected value is greater than the maximum value, then the maximum value is displayed;

[0124] If the current detected value is less than or equal to the maximum value, then the current detected value is displayed;

[0125] Until the preset startup time is reached.

[0126] In some embodiments, the numerical display module 204 is specifically used for:

[0127] Obtain the average value of the detected values ​​within the first preset time period;

[0128] If the average value of the detected values ​​is less than a pre-stored first threshold, the step of determining the relationship between the current detected value and the maximum value is skipped, and the current detected value is displayed directly.

[0129] In some embodiments, the device is further configured to:

[0130] The numerical values ​​are displayed according to a preset frequency;

[0131] The currently displayed value satisfies Dn+1≤Dn+Kn and Dn+1≥Dn-Jn and is always greater than zero, where Dn is the previous displayed value, Dn+1 is the current displayed value, Kn is a random number within the first preset interval, and Jn is a random number within the second preset interval.

[0132] In summary, the device provided in this embodiment of the invention can reduce the jump in the displayed value when the electrochemical sensor is powered on, avoid obvious abnormalities in the displayed value caused by interference factors, and avoid the problem of inconsistent data before and after power-on.

[0133] Example 4

[0134] Figure 5 This application shows a schematic diagram of the structure of a computer device provided in an exemplary embodiment, the computer device comprising:

[0135] The processor 301 includes one or more processing cores. The processor 301 executes various functional applications and data processing by running software programs and modules.

[0136] The receiver 302 and transmitter 303 can be implemented as a communication component, which can be a communication chip. Optionally, this communication component can include signal transmission functionality. That is, the transmitter 303 can be used to transmit control signals to the image acquisition device and the scanning device, and the receiver 302 can be used to receive corresponding feedback commands.

[0137] The memory 304 is connected to the processor 301 via the bus 305.

[0138] The memory 304 can be used to store at least one instruction, and the processor 301 is used to execute the at least one instruction to implement steps 101 to 102 in the above control method embodiment.

[0139] Those skilled in the art will understand that Figure 4 This is merely an example of a computer device and does not constitute a limitation on the computer device. It may include more or fewer components than shown, or combine certain components, or different components. For example, the computer device may also include network access devices, etc.

[0140] The processor 301 may be a Central Processing Unit (CPU), or other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor.

[0141] The memory 304 can be an internal storage unit of the computer device, such as a hard drive or RAM. The memory 304 can also be an external storage device of the computer device, such as a plug-in hard drive, Smart Media Card (SMC), Secure Digital (SD) card, or Flash Card. Furthermore, the memory 304 can include both internal and external storage units. The memory 304 is used to store the computer program and other programs and data required by the terminal device. The memory 304 can also be used to temporarily store data that has been output or will be output.

[0142] Example 5

[0143] This application also provides an electrochemical sensor system, including an electrochemical sensor, a display device, and a computer device as described above.

[0144] Example 6

[0145] This application also provides an air purifier, including the electrochemical sensor system described above.

[0146] Example 7

[0147] This application also provides a computer-readable storage medium storing at least one instruction, at least one program, code set, or instruction set, which can be loaded and executed by a processor to implement the above-described numerical display method.

[0148] Optionally, the computer-readable storage medium may include: read-only memory (ROM), random access memory (RAM), solid-state drives (SSDs), or optical discs, etc. The random access memory may include resistive random access memory (ReRAM) and dynamic random access memory (DRAM).

[0149] Example 8

[0150] This application also provides a computer program product or computer program that includes computer instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the computer device to perform any of the numerical display methods described in the above embodiments.

[0151] The sequence numbers of the embodiments in this application are for descriptive purposes only and do not represent the superiority or inferiority of the implementation.

[0152] Those skilled in the art will understand that all or part of the steps of the above embodiments can be implemented by hardware, or by a program instructing related hardware. The program can be stored in a computer-readable storage medium, such as a read-only memory, a disk, or an optical disk. Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the above-described division of functional units and modules is used as an example. In practical applications, the above functions can be assigned to different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiments can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit. Furthermore, the specific names of the functional units and modules are only for easy differentiation and are not intended to limit the scope of protection of this application. The specific working process of the units and modules in the above system can be referred to the corresponding process in the foregoing method embodiments, and will not be repeated here.

[0153] In the above embodiments, the descriptions of each embodiment have different focuses. For parts that are not described in detail or recorded in a certain embodiment, please refer to the relevant descriptions of other embodiments.

[0154] Those skilled in the art will recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementations should not be considered beyond the scope of this invention.

[0155] The computer program includes computer program code, which can be in the form of source code, object code, executable file, or some intermediate form. The computer-readable medium can include any entity or device capable of carrying the computer program code, recording media, USB flash drive, portable hard drive, magnetic disk, optical disk, computer memory, read-only memory (ROM), random access memory (RAM), electrical carrier signals, telecommunication signals, and software distribution media, etc. It should be noted that the content included in the computer-readable medium can be appropriately added or removed according to the requirements of legislation and patent practice in the jurisdiction. For example, in some jurisdictions, according to legislation and patent practice, computer-readable media do not include electrical carrier signals and telecommunication signals.

[0156] The above-described embodiments are only used to illustrate the technical solutions of the present invention, and are not intended to limit it. Although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present invention, and should all be included within the protection scope of the present invention.

Claims

1. A numerical display method, characterized in that, The method includes: Receive power-on command, obtain standby time and standby value before standby, wherein the standby value before standby is the last displayed value recorded during standby when the electrochemical sensor is powered on; The maximum value is calculated based on the standby time and standby value; Obtain the current detection value and determine the relationship between the current detection value and the maximum value; If the current detected value is greater than the maximum value, then the maximum value is displayed; The calculation of the maximum value based on the standby time and standby value includes: The maximum value is calculated based on Dmax = Dend + AX, where Dmax is the maximum value, Dend is the standby value, A is a constant coefficient, and X is the standby time.

2. The method according to claim 1, characterized in that, The step involves obtaining the current detection value and determining the relationship between the current detection value and the maximum value. If the current detected value is greater than the maximum value, then the maximum value is displayed, including: Within a preset startup duration, the current detection value is obtained in a loop, and the relationship between the current detection value and the maximum value is determined. If the current detected value is greater than the maximum value, then the maximum value is displayed; If the current detected value is less than or equal to the maximum value, then the current detected value is displayed; Until the preset startup time is reached.

3. The method according to claim 2, characterized in that, The step of displaying the current detection value if the current detection value is less than or equal to the maximum value includes: Obtain the average value of the detected values ​​within the first preset time period; If the average value of the detected values ​​is less than the pre-stored first threshold, the step of determining the relationship between the current detected value and the maximum value will not be executed, and the current detected value will be displayed directly.

4. The method according to any one of claims 1 to 3, characterized in that, The method further includes: The numerical values ​​are displayed according to a preset frequency; The currently displayed value satisfies Dn+1≤Dn+Kn and Dn+1≥Dn-Jn and is always greater than zero, where Dn is the previous displayed value, Dn+1 is the current displayed value, Kn is a random number within the first preset interval, and Jn is a random number within the second preset interval.

5. A numerical display device for implementing the numerical display method according to any one of claims 1-4, characterized in that, The device includes: The standby data acquisition module is used to receive the power-on command, acquire the standby time and the standby value before standby, wherein the standby value before standby is the last displayed value recorded during standby when the electrochemical sensor is powered on. The maximum value calculation module is used to calculate the maximum value based on the standby time and the standby value; The numerical judgment module is used to obtain the current detected value and determine the relationship between the current detected value and the maximum value. The numerical display module is used to display the maximum value if the current detected value is greater than the maximum value.

6. A computer device, characterized in that, The computer device includes a processor and a memory, the memory storing at least one instruction, at least one program, code set, or instruction set, the at least one instruction, at least one program, code set, or instruction set being loaded and executed by the processor to implement the numerical display method as described in any one of claims 1 to 4.

7. An electrochemical sensor system, comprising an electrochemical sensor, a display device, and a computer device as described in claim 6.

8. An air purifier, characterized in that, Including the electrochemical sensor system as described in claim 7.

9. A computer-readable storage medium, characterized in that, The readable storage medium stores at least one instruction, at least one program, code set, or instruction set, wherein the at least one instruction, at least one program, code set, or instruction set is loaded and executed by a processor to implement the numerical display method as described in any one of claims 1 to 4.

Citation Information

Patent Citations

  • Dehumidifier humidity display method capable of avoiding jumping

    CN113606752A

  • Detection method and device and fresh air conditioner

    CN115523632A

  • Oxygen Sensor with a Microporous Electrolyte Layer and Partially Open Cover Membrane

    US20120168322A1