Hygrothermograph and system thereof

By distinguishing the working process of the thermohumidifier into a detection state and a standby state, and generating a control signal in a standby state, the problem that the existing thermohumidifier cannot directly adjust external equipment is solved, and automatic temperature and humidity adjustment and battery service time are achieved.

CN119509619APending Publication Date: 2025-02-25WUHAN LINPTECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411655177.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-19
Publication Date
2025-02-25

AI Technical Summary

Technical Problem

Existing thermometers cannot generate control signals, resulting in limited functions to information display and direct adjustment of external devices such as air conditioners or humidifiers.

Method used

Design a thermometer, whose working process is divided into detection state and standby state. In standby state, the thermometer can efficiently respond to trigger events and generate control signals to activate or operate external devices.

Benefits of technology

It realizes that the thermohumidity meter can not only perform passive monitoring, but also intelligently link with external controlled devices to automatically adjust the temperature and humidity. At the same time, by reducing the working burden of the control unit, the battery life time is extended.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119509619A_ABST
    Figure CN119509619A_ABST
Patent Text Reader

Abstract

The invention provides a hygrothermograph and a system thereof, and the hygrothermograph comprises a detection assembly which is used for obtaining environment parameters and generating a driving signal, and the environment parameters are used for determining the environment temperature and / or humidity; the screen is electrically connected with the detection assembly and displays a temperature and / or humidity value based on the driving signal; the trigger assembly is electrically connected with the detection assembly and is used for receiving an external operation instruction and generating a trigger event; wherein the hygrothermograph is powered by a battery, and the hygrothermograph is configured to alternately work between a detection state and a standby state: in the detection state, environment parameters are acquired, and a driving signal is updated; in the standby state, if a trigger event is received, a corresponding control signal is generated, and acquisition of the environmental parameters and updating of the driving signal are stopped during the period; in each alternating period, the detection state lasts for a first time width, the standby state lasts for a second time width, and the second time width is greater than the first time width.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of temperature and humidity detection, and in particular to a temperature and humidity meter and a system thereof. Background Art

[0002] A thermo-hygrometer is a device used to measure ambient temperature and / or humidity.

[0003] Thermometers and hygrometers in the prior art are usually powered by batteries. Due to the limitations of battery capacity, in order to extend the battery life of the device, they are usually only designed to have the function of detecting and displaying ambient temperature and / or humidity.

[0004] However, such devices cannot generate control signals, which means that their functions are limited to information display rather than direct control capabilities. For example, when it is necessary to adjust the air conditioner temperature or control the operation of a humidifier, users must rely on additional control devices, which increases the inconvenience of use. Summary of the invention

[0005] An object of the present invention is to provide a thermometer and hygrometer and a system thereof, wherein the working process of the thermometer and hygrometer is divided into two states, wherein a standby state is specially set to efficiently respond to a trigger event of a trigger component. In the standby state, the detection component can perform environmental parameter acquisition and drive signal update, and only triggers the stop of environmental parameter acquisition and drive signal update after receiving a trigger event, so as to ensure the high priority of the trigger event in the standby state.

[0006] Another object of the present invention is to provide a thermohygrometer and a system thereof, wherein the control signal of the thermohygrometer can be used to activate or operate an external device, such as an air conditioner or a humidifier, to help achieve automatic temperature and humidity regulation. This makes the thermohygrometer not only a passive monitoring tool, but also capable of intelligent linkage with external controlled devices.

[0007] Another object of the present invention is to provide a thermometer and a system thereof, wherein the thermometer, in the standby state, if an input signal is received, does not need to obtain new environmental parameters, but directly generates a control signal to achieve control of external devices. At the same time, the present invention significantly reduces the situation where the control unit performs multiple tasks (generating control signals and updating drive signals) at the same time by setting the duration of the standby state to be greater than the duration of the detection state. This is particularly critical for battery-powered devices. Due to the limitation of battery power, it is impossible for the detection component to use a processor with strong computing power but high power consumption. In the case of limited processing power, the priority of the trigger event response can be improved through the scheme of this embodiment, and the thermometer can remain in standby for a long time to ensure that the trigger event can be quickly responded to at a critical moment. In addition, in the case of infrequent detection of environmental parameters, this design can also greatly extend the battery life, thereby improving the endurance of the thermometer.

[0008] Another object of the present invention is to provide a thermohygrometer and a system thereof, wherein the temperature and humidity detection function is ensured not by setting the thermohygrometer to be in the detection state most of the time, but by setting the thermohygrometer to be in the standby state most of the time and in the detection state very rarely. By limiting the upper limit of the alternating cycle, not only the normal operation of the temperature and humidity detection function is ensured, but also the thermohygrometer is ensured to respond to the trigger event in time most of the time.

[0009] Another object of the present invention is to provide a thermometer and hygrometer and a system thereof, wherein the combination of the low power consumption mode of the thermometer and the trigger event response mechanism enables the thermometer to save energy while maintaining efficient response, thereby improving the overall user experience and system reliability.

[0010] Another object of the present invention is to provide a thermometer and hygrometer and a system thereof, wherein the thermometer and hygrometer, by introducing a third time width (i.e., the time for delaying the emission of a control signal) and setting it to be longer than the first time width, can ensure that when a trigger event of pressing a key and a task of updating a drive signal arrive at the same time, the detection component can complete the update of the drive signal before processing the control signal. This not only ensures the high priority of updating the temperature / humidity in the detection state, but also ensures the response to the trigger event.

[0011] Another object of the present invention is to provide a thermometer and hygrometer and a system thereof, wherein the alternating working mechanism of dynamic and static display of the thermometer and hygrometer ensures that the thermometer and hygrometer can provide real-time monitoring data and effectively extend the battery life under the limitation of battery power supply.

[0012] Another object of the present invention is to provide a thermometer and hygrometer and a system thereof, wherein when the thermometer and hygrometer switches from the dynamic display stage to the static display stage, it means that the thermometer and hygrometer no longer updates data in real time, enters a standby state, and no longer frequently acquires and displays new environmental parameters. In this process, the display manager will enter a low-power mode before the processor. This means that the display manager will stop working first, keep the screen display content unchanged, and keep the currently displayed temperature and humidity information without consuming additional energy to update the display. This sequential design helps to further save electricity. The display manager first stops data transmission and maintains the screen content, and the processor then enters a low-power mode and gradually shuts down the data acquisition and processing functions.

[0013] Another object of the present invention is to provide a thermometer and hygrometer and a system thereof, wherein the display manager of the thermometer and hygrometer enters and exits the low power consumption mode not through a timer but through the control of a processor, so as to realize the different timing control of the processor and the display manager in the process of entering the low power consumption process and the wake-up process in the above-mentioned embodiment.

[0014] Another object of the present invention is to provide a thermometer and hygrometer and a system thereof, wherein when a trigger event is detected, the processor is awakened to start processing the corresponding task, and the display manager is not awakened immediately. Compared with the method of waking up the processor and the display manager at the same time based on a timer, the "local wake-up" method of this embodiment can reduce the total power consumption of the thermometer and hygrometer and effectively extend the battery life.

[0015] Another object of the present invention is to provide a thermometer and hygrometer and a system thereof, wherein through the design of a "hold port", after entering a low power consumption mode, the display manager will not be completely shut down, but will continue to maintain the output of the driving signal through the holding port. This continuous output in low power consumption mode ensures that the screen display will not be interrupted, and the display manager only maintains necessary hardware operations, such as peripheral parts (such as display driving circuits), without the need for entire activation.

[0016] To achieve at least one of the above purposes, according to a first aspect of the present invention, a thermometer and hygrometer is provided, comprising: a detection component, for acquiring environmental parameters and generating a drive signal, wherein the environmental parameters are used to determine the ambient temperature and / or humidity; a screen, electrically connected to the detection component, and displaying the temperature and / or humidity value based on the drive signal; a trigger component, electrically connected to the detection component, for receiving an external operation instruction and generating a trigger event; wherein the thermometer and hygrometer is powered by a battery and configured to operate alternately between a detection state and a standby state: in the detection state, the environmental parameters are acquired and the drive signal is updated; in the standby state, if a trigger event is received, a corresponding control signal is generated, and during this period, the acquisition of the environmental parameters and the updating of the drive signal are stopped; in each alternating cycle, the detection state lasts for a first time width, the standby state lasts for a second time width, and the second time width is greater than the first time width.

[0017] According to an embodiment of the present invention, the trigger component includes at least one button, and the button is configured to have a first controlled mode; in the first controlled mode, after the detection component detects the trigger event of the button being pressed, it delays for a third time width and then wirelessly transmits the control signal to the outside, and the third time width is greater than the first time width.

[0018] According to an embodiment of the present invention, the button is also configured to have a second controlled mode; in the second controlled mode, the detection component immediately transmits the control signal wirelessly after detecting the trigger event of the button being pressed; wherein the detection component is capable of switching the button between the first controlled mode and the second controlled mode.

[0019] According to an embodiment of the present invention, in the standby state, if the detection component does not receive a trigger event, it remains in a low power consumption mode.

[0020] According to an embodiment of the present invention, the alternating period is set within 20 seconds, and the ratio of the second time width to the first time width is greater than 50 and less than 2000.

[0021] According to an embodiment of the present invention, the detection component includes: a sensing unit for detecting environmental parameters to determine the ambient temperature and / or humidity; a control unit electrically connected to the sensing unit, for acquiring environmental parameters and generating a drive signal; wherein the screen is provided with a parameter display area for displaying temperature and / or humidity values; in the detection state, the control unit is awakened and acquires environmental parameters through the sensing unit, updates the drive signal to refresh the content of the parameter display area, and forms a dynamic display stage; in the standby state, the control unit stops acquiring environmental parameters and enters a low power consumption mode, waiting for a trigger event to occur, at which time the drive signal is not updated and the original drive signal is continuously output to maintain the display content of the parameter display area, and forms a static display stage.

[0022] According to an embodiment of the present invention, the sensing unit includes a temperature and humidity sensor, which is used to obtain environmental parameters including temperature parameters and humidity parameters; the control unit includes: a processor, electrically connected to the temperature and humidity sensor, used to obtain the temperature parameters and the humidity parameters, and generate corresponding drive instructions; a display manager, arranged between the processor and the screen, controlled by the drive instructions, and outputting a drive signal to drive the screen display.

[0023] According to an embodiment of the present invention, the screen adopts a liquid crystal screen. In standby mode, both the processor and the display manager enter a low power consumption mode. When a trigger event is detected in the static display stage, the processor is awakened and the display manager keeps working in the low power consumption mode to achieve local awakening.

[0024] According to an embodiment of the present invention, the display manager has a hold port for maintaining the existing drive signal output when the processor stops sending drive instructions; the display manager continuously outputs the drive signal through the hold port in low power consumption mode to maintain the display content of the parameter display area.

[0025] According to an embodiment of the present invention, when switching from the dynamic display stage to the static display stage, the display manager enters the low power consumption mode before the processor; when switching from the static display stage to the dynamic display stage, the display manager is awakened later than the processor.

[0026] To achieve at least one of the above purposes, according to the second aspect of the present invention, a temperature and humidity detection system is provided, comprising: a controlled device; and the thermometer and hygrometer as provided in the first aspect above; wherein the control signal generated by the thermometer and hygrometer is used to directly or indirectly control the controlled device.

[0027] It should be understood that the above general description and the following detailed description are only exemplary and explanatory and cannot limit the present invention. The above invention contents can be combined arbitrarily, and these and other purposes of the present invention will be fully reflected through the following detailed description and drawings.

[0028] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the invention. BRIEF DESCRIPTION OF THE DRAWINGS

[0029] In order to more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings required for use in the embodiments or the prior art descriptions are briefly introduced below. The drawings herein are incorporated into the specification and constitute a part of the specification, showing embodiments consistent with the present application, and are used together with the specification to explain the principles of the present application. Obviously, the drawings described below are only some embodiments of the present invention, and for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.

[0030] Figure 1 It is a schematic diagram of the module structure of a thermometer and hygrometer in one embodiment of the present invention;

[0031] Figure 2 is a timing diagram of the alternating cycle of the thermometer and hygrometer in one embodiment of the present invention;

[0032] Figure 3 is a schematic diagram of a detailed module structure of a detection component in one embodiment of the present invention;

[0033] Figure 4 is a schematic diagram of a further detailed module structure of a detection component in one embodiment of the present invention;

[0034] Figure 5 It is a schematic diagram of the display state of a thermometer and hygrometer in one embodiment of the present invention;

[0035] Figure 6 It is a circuit structure diagram of a thermometer and hygrometer in one embodiment of the present invention;

[0036] Figure 7 It is a schematic diagram of the module structure of a temperature and humidity detection system in one embodiment of the present invention;

[0037] Figure 8 is an exploded diagram of a thermohygrometer according to an embodiment of the present invention;

[0038] Fig. 9 is a schematic diagram of the mechanical structure of a thermometer and hygrometer according to an embodiment of the present invention;

[0039] Fig.10 It is a schematic diagram of the assembly of a bottom shell, a key shell and a circuit board according to an embodiment of the present invention;

[0040] Fig.11 is a schematic structural diagram of a bottom shell according to an embodiment of the present invention;

[0041] Fig.12 It is a schematic structural diagram of a thermometer and hygrometer according to an embodiment of the present invention;

[0042] Fig.13 is a top view of a thermometer and hygrometer according to an embodiment of the present invention;

[0043] Fig.14 yes Fig.13 AA section view in;

[0044] Fig.15 yes Fig.14 The enlarged view of the D part in FIG.

[0045] Fig.16 is a simplified schematic diagram of the structure of a thermometer and hygrometer according to an embodiment of the present invention;

[0046] Fig.17 yes Fig.13 BB section view in;

[0047] Fig.18 yes Fig.13 CC section view in;

[0048] Fig.19 It is a structural schematic diagram of a key housing and a circuit board according to an embodiment of the present invention;

[0049] Fig. 20 This is a schematic diagram of the connection between a circuit board and a key housing according to an embodiment of the present invention;

[0050] Fig.21 It is a schematic diagram of the assembly of a circuit board and a button battery according to an embodiment of the present invention;

[0051] Fig. 22 is a schematic diagram of the assembly of a screen and a button housing according to an embodiment of the present invention;

[0052] Fig.23 It is a connection diagram of a screen, a circuit board, a signal transmission member and a filling member according to an embodiment of the present invention;

[0053] Fig.24 is a schematic structural diagram of a circuit board according to an embodiment of the present invention;

[0054] Fig.25 is a top view of a screen and a circuit board according to an embodiment of the present invention;

[0055] Fig.26 is a schematic diagram of the structure of a board-mounted antenna according to an embodiment of the present invention;

[0056] Fig. 27 is a schematic structural diagram of a bottom shell and a key shell of another embodiment of the present invention;

[0057] Fig.28 It is a cross-sectional view of a thermometer and hygrometer according to another embodiment of the present invention. DETAILED DESCRIPTION

[0058] The embodiments of the present invention will be described in detail below. When the following description refers to the drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. Obviously, the described embodiments are only some embodiments of the present invention, not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present invention.

[0059] It should be understood that in the description of all embodiments of the present invention, the terms "upper", "lower", "left", "right" and the like indicate the orientation or positional relationship based on the orientation or positional relationship shown in the accompanying drawings, which is only for the convenience of describing the present invention and simplifying the description, and does not indicate or imply that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as limiting the present invention. The terms "first" and "second" are only used for descriptive purposes, and cannot be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Therefore, the features defined as "first" and "second" may explicitly or implicitly include one or more of the features. The terms "coupled" and "connected" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral body; it can be a mechanical connection, an electrical connection, or can communicate with each other; it can be directly connected, or indirectly connected through an intermediate medium to form a linkage relationship, it can be the internal connection of two elements or the interaction relationship between two elements. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.

[0060] In the embodiments of the present invention, the symbol " / " means that it has two functions at the same time. The symbol "A and / or B" indicates that the combination of the preceding and following objects connected by the symbol includes three situations: "A", "B", and "A and B".

[0061] A thermometer and hygrometer is a device used to measure ambient temperature and / or humidity. Thermometers and hygrometers in the prior art are usually powered by batteries. Due to the battery capacity, in order to extend the battery life of the device, they are usually only designed to detect and display ambient temperature and / or humidity. However, this type of device cannot generate control signals, resulting in its function being limited to information display without direct control capabilities. For example, when it is necessary to adjust the air conditioner temperature or control the operation of a humidifier, the user must rely on additional control devices, which increases the inconvenience of use.

[0062] The present invention aims to solve this problem and provides a thermometer and hygrometer. Figure 1-Figure 6 ,based on Figure 1-Figure 6 , a thermohygrometer 100 proposed by the present invention is specifically explained. It should be noted that, in the Figure 7In the working environment shown, Figure 7 The figure shows a temperature and humidity detection system. The control signal emitted by the thermometer and hygrometer 100 can be a signal used to directly or indirectly (e.g., through a gateway and the cloud) control the controlled device 500 in the system. For example, the control signal can be used to instruct to turn off the controlled device 500, turn on the controlled device 500, or adjust the working mode of the controlled device 500. In the case where the controlled device 500 includes an air conditioner, the control signal can also be used to instruct to adjust the temperature of the air conditioner. For another example, in the case where the controlled device 500 includes a humidifier, the control signal can also be used to instruct to adjust the humidity of the humidifier.

[0063] Specific as Figure 1 As shown, a schematic diagram of the module structure of a thermometer and hygrometer 100 proposed in an embodiment of the present invention is shown. It can be seen that the thermometer and hygrometer 100 at least includes: a detection component 20, a screen 3 and a trigger component 10. Among them, the detection component is used to obtain environmental parameters and generate a driving signal, and the environmental parameters are used to determine the ambient temperature and / or humidity.

[0064] The environment here can be understood as the target environment to be detected, or as the environment where the thermometer and hygrometer 100 is installed, such as an indoor living room, an outdoor vegetable greenhouse, etc.

[0065] The main function of the detection component 20 is to obtain environmental parameters, which are usually used to determine temperature and / or humidity values. The detection component 20 can sense environmental changes in real time through built-in temperature sensors and / or humidity sensors, and convert these changes into electronic signals (i.e., environmental parameters) that can be processed by the device. These signals will then be processed and converted into drive signals for controlling the screen 3 to display the current temperature and humidity values.

[0066] When the thermometer and hygrometer 100 has the functions of detecting both temperature and humidity, the temperature sensor and humidity sensor therein can be integrated into one component (i.e., a temperature and humidity sensor). This temperature and humidity sensor includes a sensor module specifically used to detect ambient temperature and humidity. The temperature module usually relies on some physical principle (such as resistance change, thermoelectric effect, etc.) to sense changes in ambient temperature, while the humidity module senses the humidity in the air through capacitive, impedance or other methods. According to changes in the environment, a corresponding electronic signal is generated to reflect the current temperature and humidity levels.

[0067] Once the environmental parameters are detected, the detection component 20 processes the data and generates a drive signal, which is used to trigger the screen 3 to display the temperature / humidity value. The process of generating the drive signal involves signal processing, such as digital processing of analog signals, noise filtering and data calibration. The drive signal is a digital output signal that controls the display of the screen 3 so that the user can see the current temperature / humidity value.

[0068] The screen 3 is used to display various parameters of the thermometer and hygrometer 100. It is electrically connected to the detection component 20 and displays the temperature and / or humidity value based on the driving signal.

[0069] The trigger component 10 is electrically connected to the detection component 20 and is used to receive external operation instructions and generate a trigger event.

[0070] Here, the external operation instruction can be understood as a trigger source input by a user or an external device, indicating an external operation action or signal. The trigger event can be understood as a response signal or logic generated internally by the thermometer and hygrometer after receiving the external operation instruction, which is used to control its own operating state or perform corresponding functions (such as generating a control signal). Furthermore, the external operation instruction is used as input, and the trigger event is used as a response mechanism to generate and trigger subsequent operations after receiving the instruction.

[0071] The trigger component 10 is a component in the thermohygrometer 100 for receiving external operation instructions and generating trigger events. It is electrically connected to the detection component 20. When the user performs an operation (such as pressing a button), the trigger component 10 captures the operation and generates a corresponding signal, starts the control signal generation or other functions, and improves the interactivity of the device.

[0072] The thermometer and hygrometer 100 is powered by a battery 40. In order to match the corresponding control signal generation function, the thermometer and hygrometer 100 provided in this embodiment is configured to work alternately between a detection state and a standby state. In the detection state, environmental parameters are acquired and the drive signal is updated. In the standby state, if a trigger event is received, a corresponding control signal is generated, and the acquisition of environmental parameters and the updating of the drive signal are stopped during this period, so that in the standby state, the detection component 20 can only perform the task of generating a control signal when a trigger event is received.

[0073] Specifically, this embodiment divides the working process of the thermometer and hygrometer 100 into two states: a detection state and a standby state. The standby state is specifically used to efficiently respond to the trigger event of the trigger component 10 to achieve rapid generation of control signals. The detection state is mainly used to implement the temperature and humidity detection update function. In this state, the detection component 20 will regularly collect environmental parameters to ensure that the displayed content is the latest. The standby state is dedicated to responding to trigger events, or waiting for trigger events.

[0074] When the user triggers the trigger component 10 in standby mode, the detection component 20 can quickly generate a control signal based on the trigger event. These control signals can be used to activate or operate external devices, such as air conditioners or humidifiers, to help achieve automatic adjustment of temperature and humidity. This makes the thermometer 100 not only a passive monitoring tool, but also can be intelligently linked with the external controlled device 500. For example, when the temperature or humidity exceeds the set range, the detection component 20 will generate a control signal in time to start the external control device to ensure that the environmental conditions are always maintained within the set standards. For example, if the humidity is too low, the device can trigger the humidifier to work; if the temperature is too high, it can trigger the air conditioner to cool down.

[0075] It is worth noting that in the standby state, if the detection component 20 receives a trigger event, it will not perform the collection of environmental parameters and the update of the driving signal. For example, there are two possible implementation methods:

[0076] In the first mode, in the standby state, the detection component 20 performs the acquisition of environmental parameters and the update of the driving signal, and only stops the acquisition of environmental parameters and the update of the driving signal after receiving a trigger event to ensure the high priority of the trigger event in the standby state.

[0077] In the second mode, the detection component 20 does not acquire environmental parameters and update driving signals during the entire standby state, so as to be able to respond to trigger events at any time and further improve the generation speed of control signals.

[0078] Regardless of the above methods, the calculation and processing burden of the detection component 20 in the standby state can be reduced, so that when a trigger event is received from the outside, the detection component 20 can respond quickly and generate a control signal, thereby activating or controlling the external controlled device 500 more quickly. This is especially important for some scenarios that require quick response. For example, when the temperature or humidity changes rapidly, the external controlled device 500 needs to be started or shut down immediately to maintain the stability of the environment. The system can complete the response action in a very short time to ensure the efficient operation of the environmental conditioning equipment.

[0079] In some embodiments, Figure 2 As shown, in each alternating period T, the detection state lasts for a first time width t1, the standby state lasts for a second time width t2, and the second time width t2 is greater than the first time width t1.

[0080] Specifically, in this embodiment, the operation of the thermohygrometer 100 is performed based on an alternating cycle T cycle, and each alternating cycle T includes a detection state and a standby state that occur continuously.

[0081] The first time width t1 is the duration of the thermohygrometer 100 in the detection state in each alternating cycle T. The first time width t1 is used to ensure that the thermohygrometer 100 can complete one environmental parameter acquisition and generate an updated driving signal to display the latest temperature and humidity data.

[0082] The second time width t2 is the duration of the thermometer and hygrometer 100 in the standby state in each alternating cycle T. During the second time width t2, the thermometer and hygrometer 100 no longer obtains environmental parameters or updates the driving signal, but waits for an external trigger event. If a trigger event is received, a corresponding control signal will be generated.

[0083] In this embodiment, the second time width t2 is greater than the first time width t1, which means that during the operation of the thermometer and hygrometer 100, the standby state time is greater than the detection state time. This design is intended to make the thermometer and hygrometer 100 spend most of its working time waiting for a trigger event to occur, so that it can respond immediately when the user inputs a trigger event.

[0084] Based on the above technical solution, the thermometer and hygrometer 100 provided in the embodiment of the present invention, in the standby state, if an input signal is received, does not need to obtain new environmental parameters, but directly generates a control signal to control the external device.

[0085] At the same time, if the thermometer and hygrometer still ensure the response to the trigger event in the detection state, that is, in the detection state, if the detection component 20 detects the trigger event, it still responds and generates a control signal. Then this solution significantly reduces the situation where the control unit 271 performs multiple tasks (generating control signals and updating drive signals) at the same time by setting the duration of the standby state to be greater than the duration of the detection state. That is, the probability of the detection component 20 performing the tasks of generating control signals and updating drive signals at the same time is reduced. This is particularly critical for devices powered by the battery 40 of the present invention. Due to the limitation of the power supply of the battery 40, the detection component 20 generally does not use a processor with strong computing power (large power consumption). In the case of limited processing power, the priority of the trigger event response can be improved through the solution of this embodiment, and the thermometer and hygrometer 100 can maintain a standby state for a long time to ensure that the trigger event can be quickly responded to at a critical moment. In addition, in the case of infrequent detection of environmental parameters, this design can also greatly extend the use time of the battery 40, thereby improving the endurance of the thermometer and hygrometer 100.

[0086] Further, the alternating period can be set within 20 seconds (for example, 6020 ms), and the ratio of the second time width t2 to the first time width t1 is set to be greater than 50 and less than 2000. In a specific example, the first time width t1 is set between 1 ms and 20 ms (for example, 12 ms), and the second time is between 1 second and 10 seconds (for example, 6 seconds).

[0087] Specifically, in this embodiment, the ratio of the second time width t2 to the first time width t1 is greater than 50, which means that in an alternating period T, the duration of the standby state is much longer than the duration of the detection state (the duration of the standby state is at least 50 times that of the detection state. For example, if the detection state lasts for 0.3 seconds, the standby state lasts at least 15 seconds).

[0088] Furthermore, the thermometer 100 can be set with an alternating cycle T of 15.3 seconds. In each cycle, the detection component 20 will briefly enter (for example, for 0.3 seconds) the detection state to collect the current environmental parameters, generate corresponding drive signals, and update the screen 3 display. After the collection is completed, it will enter and continue in the standby state for a period of time (for example, for 15 seconds), stop collecting environmental parameters and updating the content of the screen 3 in the standby state, during which time, it can cooperate with the trigger component 10 to generate a control signal. If the ratio of t2 to t1 is less than 2000, it can limit the thermometer 100 from being in an excessive standby state and ignoring the temperature / humidity detection function.

[0089] In this embodiment, the ratio between the standby time t2 and the detection time t1 in an alternating cycle T is set to be above 50, breaking through the technical limitation that the conventional thermohygrometer 100 is in the detection state most of the time. In this way, the thermohygrometer 100 provided in this embodiment is in the standby state for more than about 98% of the time, waiting for the trigger event of the trigger component 10. At the same time, by limiting the alternating cycle T) to within 20 seconds and setting the upper limit of the ratio of t2 to t1 to 2000, it is ensured that the thermohygrometer 100 can refresh the temperature and humidity values ​​at least once in 20 seconds, thereby ensuring the temperature and humidity detection function while achieving efficient trigger event management.

[0090] In other words, the solution provided in this embodiment does not ensure the temperature and humidity detection function by setting the thermohygrometer 100 to be in the detection state most of the time, but by setting the thermohygrometer 100 to be in the standby state most of the time and in the detection state very rarely. By limiting the upper limit of the alternating cycle, not only the normal operation of the temperature and humidity detection function is guaranteed, but also the thermohygrometer 100 can respond to the trigger event in time most of the time.

[0091] Furthermore, the control unit 271 is also configured to receive a setting instruction from the external terminal 300 to adjust the second time width t2, so that the user can flexibly adjust the event of the thermometer and hygrometer 100 being in the standby state according to actual usage requirements.

[0092] Specifically, the terminal 300 can be a smart device such as a mobile phone or a tablet computer, which runs an application that matches the thermometer and hygrometer. Based on the setting options provided by the human-computer interaction interface provided by the application, the user can easily select the duration of the standby state (for example, any option between 1 and 20 seconds). After the user completes the selection through the setting option, for example, 3 seconds is selected, the terminal 300 sends the parameter to the thermometer and hygrometer (for example, through a Bluetooth direct connection), so that the thermometer and hygrometer can update the second time width to 3 seconds in a timely manner.

[0093] In some embodiments, in the standby state, if the detection component 20 does not receive a trigger event, it remains in a low power consumption mode to reduce the overall power consumption of the thermometer and hygrometer 100 and improve battery life while ensuring the response speed of the trigger event.

[0094] Among them, the low power mode is a technical strategy that reduces unnecessary power consumption to reduce energy consumption of the detection component 20. In this mode, the detection component 20 usually shuts down or suspends certain modules or functions, only keeps the most basic maintenance functions, runs in a standby state, and is awakened only when necessary, and enters the normal working mode after awakening. In the normal working mode, all functions of the detection component 20 are fully activated.

[0095] Furthermore, if no triggering event occurs in the standby state, the detection component 20 will remain in the low power consumption mode. This means that the main part of the thermohygrometer 100 almost stops running, maintaining extremely low power consumption, ensuring that the thermohygrometer 100 saves power to the maximum extent when not performing tasks.

[0096] The combination of low power consumption mode and trigger event response mechanism enables the thermometer and hygrometer 100 to save energy while maintaining efficient response, thereby improving the overall user experience and system reliability.

[0097] In some embodiments, the trigger component 10 includes at least one button. The button can be understood as an electronic component or a combination of components that can generate an electrical signal that can trigger the detection component 20 based on external operation, such as a pot-type electronic detection switch, or a micro switch. The user can operate the thermometer 100 by pressing the button.

[0098] The key is constructed to be able to act in response to the external operation instruction, wherein the external operation instruction includes at least one press instruction and at least one release instruction, and the key forms at least one press action and at least one rebound action accordingly; the key is electrically connected to the detection component 20, and the detection component 20 can identify the press action and rebound action of the key based on the corresponding electrical signal transmitted by the key.

[0099] Furthermore, the button has multiple controlled modes; wherein, between each controlled mode, the interval time and / or the number of presses that the button can recognize between the pressing action and the rebound action are different. That is, different controlled modes mean that the button is in different specific configurations. After the pressing action, the detection component 20 will execute the response of the triggering event according to the response rules pre-defined by the corresponding controlled mode. The setting of different controlled modes can optimize the response of the button, reduce misoperation, or realize different button functions according to different application scenarios, enriching the diversity of the control of the thermometer and hygrometer 100.

[0100] Furthermore, among the multiple controlled modes, there is at least a first controlled mode. The button is configured to have a first controlled mode; in the first controlled mode, after the detection component 20 detects a trigger event of button pressing, it delays a third time width t3 and then transmits the control signal wirelessly, and the third time width t3 is greater than the first time width t1.

[0101] Specifically, when the user applies a press command to a key (for example Figure 2 , a press action is detected at time a in the standby state), the detection component 20 of the thermohygrometer 100 first detects the trigger event of the key press action. After that, the detection component 20 does not immediately transmit the control signal, but delays for a specified period of time (i.e., the third time width t3) before transmitting (for example Figure 2 , and the control signal is only emitted at time b).

[0102] The detection component 20 has a wireless communication module 291 for controlled transmission of the control signal. This means that the thermometer 100 has wireless communication capabilities and can directly or indirectly transmit control signals to an external controlled device 500 through wireless technology. Wireless protocols that can be used by the wireless communication module 291 include but are not limited to Bluetooth, Wi-Fi, ZigBee, etc. The advantage of wireless transmission is that no physical connection is required, which enables convenient remote control. It may be used to interact with other devices, such as home automation systems, smart air conditioners, humidifiers and other controlled devices 500.

[0103] It is worth mentioning that, under the detection state, the main task of the detection component 20 is to collect environmental parameters and generate an updated drive signal to update the temperature and humidity display on the screen 3. If the emission of the control signal needs to be processed in the same time period, it may cause insufficient allocation of resources or confusion in task scheduling, thereby affecting the overall operating efficiency. The present embodiment introduces the third time width t3 (i.e., the time for delaying the emission of the control signal) and sets it to be longer than the first time width t1, so that when the trigger event pressed under the key and the task of updating the drive signal arrive at the same time, the detection component 20 can update the drive signal after the completion, and then process the control signal to further reduce the probability of executing the tasks of generating the control signal and updating the drive signal at the same time. In this way, not only the high priority of updating the temperature / humidity under the detection state is guaranteed, but also the response to the trigger event can be guaranteed.

[0104] For example, the first time width t1 is set within 100ms. The detection component 20 is configured to delay at least 100ms before transmitting the control signal after detecting the trigger event in the first controlled mode. For further example, the first time width t1 is set to 20ms, and the detection component 20 is configured to delay 100ms before transmitting the control signal after detecting the trigger event in the first controlled mode.

[0105] In addition, the design of delaying the emission of the control signal also gives the detection component 20 the ability to detect more types of external operation instructions, thereby generating more types of trigger events. For example, within the third time width, if a trigger event caused by a press action is detected again, it can be identified as a double-click trigger event, and then a control signal corresponding to the double-click trigger event is issued. If the interval between two press actions exceeds a certain time, it can be identified as a long-press trigger event, and then a control signal corresponding to the long-press trigger event is issued. In the first controlled mode, the button can detect multiple trigger events such as a single-click trigger event (continuous press and rebound actions), a double-click trigger event (continuous press, rebound, press, rebound actions), and a long-press trigger event (continuous press and rebound actions, with an interval of at least 3 seconds between the two).

[0106] Furthermore, the button is also configured to have a second controlled mode; in the second controlled mode, the detection component 20 immediately transmits the control signal wirelessly after detecting a triggering event of button pressing.

[0107] It can be seen that in the second controlled mode, the trigger event of the key press will immediately trigger the transmission of the control signal. This means that when the user presses the key, the detection component 20 no longer waits, but immediately transmits the control signal wirelessly (for example, transmitting at least two frames of communication data corresponding to the control signal within 100ms after detecting the initial key press event). This design can ensure a faster response speed in the standby state.

[0108] When the key has both the first controlled mode and the second controlled mode, the detection component 20 selects one mode to detect the trigger event, that is, the detection component 20 can switch the first controlled mode and the second controlled mode of the key. This dual-mode design brings higher practicality and customizability to the device, allowing users to flexibly choose the appropriate operation mode according to actual usage. The switchable mechanism provides additional flexibility, allowing users to switch the controlled mode according to different usage scenarios, which can significantly improve the adaptability of the device.

[0109] For example, the first controlled mode and the second controlled mode can be switched based on a switching instruction; the switching instruction originates from an application. For example, the APP of a mobile phone can trigger the switching instruction. The controlled mode of the buttons of the thermometer and hygrometer 100 is not limited to the above examples. At the same time, the detection component 20 can mark the current controlled mode through a corresponding mark, or it can not mark it. Regardless of whether it is marked or not, as long as different processing is implemented based on the above controlled mode, it can be understood that the thermometer and hygrometer have achieved the switching of the controlled mode.

[0110] In some embodiments, Figure 3 As shown, the detection component 20 includes a sensing unit 270 and a control unit 271 .

[0111] The sensing unit 270 is used to detect environmental parameters to determine the ambient temperature and / or humidity. Specifically, the sensing unit 270 is mainly responsible for directly interacting with the external environment to detect environmental parameters. The sensing unit 270 measures physical quantities in the environment through various sensors, such as temperature sensors and humidity sensors, and converts these physical quantities into electrical signals or other data forms to obtain environmental parameters.

[0112] The control unit 271 is electrically connected to the sensor unit 270, and is used to obtain environmental parameters and generate a driving signal; wherein the screen 3 is provided with a parameter display area 31, which is used to display temperature and / or humidity values ​​(such as Figure 5As shown). Specifically, as the core processing and command module, the control unit 271 receives data from the sensing unit 270 and generates a drive signal based on the data. The drive signal is an instruction for controlling the screen 3, instructing the screen 3 to update or maintain the currently displayed temperature / humidity value. The control unit 271 is not only responsible for data processing, but also responsible for managing the overall operation mode of the thermohygrometer 100 (switching between the detection state and the standby state).

[0113] Screen 3 is the main interface for interaction with the user, and is provided with a dedicated parameter display area 31 for displaying the detected temperature and / or humidity values. The display content of screen 3 is determined by the drive signal generated by the control unit 271. In addition, in some embodiments, the screen 3 also has an instruction display area 32 for displaying the corresponding action instructions when the button receives an external operation instruction. For example Figure 5 As shown, the instruction display area 32 in the figure shows an action indication when a key operation is performed through a WIFI logo. When the key is not pressed, the WIFI logo is not displayed. When the key is pressed, the WIFI logo flashes.

[0114] In the detection state, the control unit 271 is awakened and obtains environmental parameters through the sensor unit 270, updates the drive signal to refresh the content of the parameter display area 31, and forms a dynamic display stage. Specifically, in the detection state, the thermometer and hygrometer 100 continuously collects environmental parameter data, such as temperature and humidity, through the sensor unit 270. The control unit 271 is awakened, processes the data transmitted by the sensor unit 270 and generates corresponding drive signals. These drive signals are used to update the temperature / humidity values ​​displayed on the screen 3 to achieve the purpose of real-time reflection of environmental changes. Therefore, in the detection state, the thermometer and hygrometer 100 presents a dynamic display. If the temperature / humidity value changes compared to the last detection (for example, the temperature changes by 0.1°C or the humidity changes by more than 1%), the content of the parameter display area 31 will change with the update of the drive signal, forming a dynamic display stage.

[0115] In the standby state, the control unit 271 stops acquiring environmental parameters and enters a low power consumption mode, waiting for the occurrence of a triggering event. At this time, the drive signal is not updated and the original drive signal is kept continuously output to maintain the display content of the parameter display area 31, forming a static display stage. Specifically, in the standby state, the control unit 271 will enter a low power consumption mode, stop controlling the sensing unit 270, and thus suspend the update of the drive signal. At this time, the thermometer and hygrometer 100 no longer collects new environmental parameters, nor generates a new drive signal, but maintains the existing drive signal output. This means that the temperature / humidity value displayed on the screen 3 no longer changes, but remains static, forming a static display stage.

[0116] It is worth noting that in the dynamic display stage, the thermometer and hygrometer 100 actively works, and the screen 3 will be updated in real time as the environment changes. In the static display stage, the thermometer and hygrometer 100 enters a low-power mode. Even if the thermometer and hygrometer 100 stops updating the temperature and humidity data in the standby mode, the screen 3 will continue to display the temperature / humidity value of the last detection, and the control unit 271 will maintain the output of the previously generated drive signal, and will not clear the content of the screen 3 due to entering the low-power mode. This design ensures that when the user views the screen 3, they will not see blank or invalid data due to entering the standby mode. In addition, when an external trigger event (such as a user pressing a button) occurs, the control unit 271 will be immediately awakened and respond.

[0117] Furthermore, in the standby state, if the control unit 271 is awakened by a trigger event, it only performs the task of generating a control signal, and does not perform the task of updating the drive signal. The control unit 271 in the standby state only processes trigger events and control signals, optimizing task priority. Because the update of temperature and humidity is suspended, the generation of control signals is given priority, thereby significantly improving the response speed. This alternating working mechanism of dynamic and static display ensures that the thermometer 100 can provide real-time monitoring data and effectively extend the service life of the battery 40 under the power supply limitation of the battery 40.

[0118] In a specific implementation of the above standby state, the sensor unit 270 does not enter the low power mode, and only the control unit 271 enters the low power mode. Correspondingly, when entering the detection state, only the control unit 271 needs to be awakened to immediately obtain the environmental parameters of the sensor unit 270.

[0119] In a specific implementation of the above standby state, the sensing unit 270 and the control unit 271 both enter a low power consumption mode to form a low power consumption mode of the detection component 20. Correspondingly, in the detection state, the sensing unit 270 and the control unit 271 both need to be awakened to realize the detection and acquisition of environmental parameters.

[0120] Furthermore, if Figure 4 As shown, the sensing unit includes a temperature and humidity sensor 27, which is used to obtain environmental parameters including temperature parameters and humidity parameters. The temperature parameter reflects the temperature condition of the environment and is usually measured by electronic temperature sensors such as thermistors, thermocouples and other devices. The humidity parameter reflects the humidity level in the air and is usually obtained by capacitive or resistive humidity sensors. These two types of parameters form the basis for subsequent temperature and humidity value processing and display.

[0121] The control unit 271 includes a processor 2711 and a display manager 2712 .

[0122] The processor 2711 is electrically connected to the temperature and humidity sensor 27 to obtain the temperature parameter and the humidity parameter and generate corresponding driving instructions.

[0123] Specifically, the processor 2711 is not only responsible for receiving the temperature parameter and humidity parameter data collected by the temperature and humidity sensor 27, but also further processes the data. For example, it may be necessary to filter, calibrate or otherwise process the data to ensure that the data provided by the temperature and humidity sensor 27 accurately reflects the environmental conditions. After processing the data, the processor 2711 generates corresponding drive instructions, which are used to determine the content displayed on the screen 3.

[0124] The display manager 2712 is arranged between the processor 2711 and the screen 3, and is controlled by the driving instruction to output a driving signal to drive the screen 3 to display.

[0125] Specifically, the function of the display manager 2712 is similar to a bridge for data transmission. It receives the driving instructions sent by the processor 2711 and converts them into driving signals that can directly control the screen 3. The display manager 2712 does not work autonomously, and its functions are completely dependent on the driving instructions generated by the processor 2711. According to the content of the instructions, the display manager 2712 will output different driving signals to ensure that the screen 3 can display the temperature / humidity values ​​in real time and accurately. The display manager 2712 converts the driving instructions into actual driving signals to control the display behavior of the screen 3. The driving signal includes instructions to refresh the display of the screen 3 to ensure that the content on the screen 3 can be consistent with the current ambient temperature / humidity.

[0126] For example, Figure 5 As shown, the current ambient temperature is 25.1°C and the humidity is 60%. The temperature / humidity sensor 27 detects these parameters and transmits them to the processor 2711. After receiving the temperature and humidity parameters, the processor 2711 generates corresponding driving instructions, such as "display 25.1°C temperature and 60% humidity". At this time, the display manager 2712 receives this instruction, processes and generates a specific driving signal, which can directly control the display unit on the screen 3 to ensure that the screen 3 correctly displays the two values ​​of 25.1°C and 60%.

[0127] In a specific implementation of the control unit 271 entering the low power mode, the display manager 2712 does not enter the low power mode, and only the processor 2711 enters the low power mode. Correspondingly, when exiting the low power mode, it is only necessary to wake up the processor 2711, and then the environmental parameters of the sensor unit 270 can be immediately obtained to update the drive signal. This scheme of entering the low power mode can be used to wake up the processor 2711 regularly through a timer to achieve the alternating switching between the standby state and the detection state.

[0128] In another specific implementation of the control unit 271 entering the low power mode, the display manager 2712 and the processor 2711 both enter the low power mode, so that the control unit 271 enters the low power mode. Correspondingly, when exiting the low power mode, the display manager 2712 and the processor 2711 both need to be awakened to achieve the acquisition of environmental parameters and the update of driving signals.

[0129] On this basis, in this embodiment, when the dynamic display stage switches to the static display stage, the display manager 2712 enters the low power mode before the processor 2711. Specifically, when switching from the dynamic display stage to the static display stage, it means that the thermometer 100 no longer updates the data in real time, enters the standby state, and no longer frequently acquires and displays new environmental parameters. In this process, the display manager 2712 will enter the low power mode before the processor 2711. This means that the display manager 2712 will stop working first, keep the display content of screen 3 unchanged, and keep the currently displayed temperature and humidity information without consuming additional energy to update the display. This sequential design helps to further save electricity. The display manager 2712 first stops data transmission and keeps the content of screen 3. The processor 2711 then enters the low power mode and gradually shuts down the data acquisition and processing functions.

[0130] When switching from the static display stage to the dynamic display stage, the display manager 2712 is awakened later than the processor 2711. Specifically, when the device switches from the static display stage back to the dynamic display stage, the processor 2711 needs to be awakened first, restarts to obtain sensor data, and generates a new drive signal. However, at this time, the display manager 2712 is still in a low power consumption state and does not update the screen 3 display temporarily.

[0131] In a specific implementation, the display manager 2712 can be controlled by the processor 2711 to enter and exit the low power consumption mode (for example, controlled by the level signal of the IO port as described later). In other words, the display manager 2712 enters and exits the low power consumption mode not by means of a timer, but is instead controlled by the processor 2711, so as to realize the different timing control of the processor 2711 and the display manager 2712 in the above-mentioned embodiments during the process of entering the low power consumption and the process of waking up.

[0132] For example, the display manager 2712 is not awakened by the processor 2711 until the processor 2711 completes data collection and signal processing. This sequential design ensures that the display manager 2712 is awakened and the content on the screen 3 is updated only after the processor 2711 completes the collection and processing of temperature and humidity data. If the display manager 2712 is awakened too early, it may consume unnecessary energy when the processor 2711 data is not ready.

[0133] Furthermore, the screen 3 adopts a liquid crystal screen. In the standby state, the processor 2711 and the display manager 2712 both enter a low power consumption mode; when a trigger event is detected in the static display stage, the processor 2711 is awakened, and the display manager 2712 continues to work in the low power consumption mode, thereby realizing partial awakening.

[0134] Specifically, in the standby state, the processor 2711 and the display manager 2712 both enter a low power consumption mode and do not perform temperature / humidity update or processing tasks, thereby minimizing energy consumption. The processor 2711 stops collecting data from the temperature and humidity sensor 27, and the temperature and humidity sensor 27 also stops collecting data. The display manager 2712 also suspends the update operation of driving the LCD screen, and the LCD screen maintains the same display content and enters the static display stage. In this stage, only the necessary low power consumption operation is maintained, waiting for the trigger event to occur.

[0135] If a trigger event is detected (such as a button being pressed or other operation), the thermometer 100 needs to switch from the standby state back to the working state. However, at this time, the display manager 2712 remains in the low power mode, and only the processor 2711 is awakened. This design realizes the partial awakening of the thermometer 100, that is, only the processor 2711 is responsible for processing the trigger event, and the display manager 2712 still maintains low power consumption until it is awakened when the display content needs to be updated. This reduces unnecessary startup of the display manager 2712 and helps to further save power.

[0136] It can be seen that the "partial wake-up" proposed in the embodiment of the present disclosure is a way to intelligently control power consumption when only some components of the thermometer and hygrometer 100 need to resume working. In this embodiment, when a trigger event is detected, the processor 2711 is awakened to start processing the corresponding task, while the display manager 2712 is not awakened immediately. Compared with the method of waking up the processor 2711 and the display manager 2712 at the same time based on the timer, the "partial wake-up" method of this embodiment can reduce the total power consumption of the thermometer and hygrometer 100 and effectively extend the battery life.

[0137] For example, a user owns the thermometer and hygrometer 100 and installs it indoors. In the static display stage, the temperature and humidity information has been displayed on the LCD screen, and the thermometer and hygrometer 100 is in standby mode with very low power consumption. At this time, the user presses a button to trigger an operation, such as requesting wireless transmission of the current temperature. When the user presses a button, the processor 2711 is immediately awakened, processes the trigger event of the button press, and executes the control signal transmission task. However, since it is not time to update the temperature and humidity information, the display manager 2712 will not be awakened immediately, and will continue to maintain a low power consumption state and will not update the LCD screen content. This design not only ensures the response speed of user operations, but also saves battery power to the maximum extent while maintaining the display effect.

[0138] Furthermore, the display manager 2712 has a holding port for maintaining the existing drive signal output when the processor 2711 stops sending drive instructions, so that the LCD screen keeps the display content of the parameter display area 31 unchanged in the standby state, forming a static display stage; the display manager 2712 continuously outputs the drive signal through the holding port in the low power consumption mode to maintain the display content of the parameter display area 31.

[0139] The hold port is used to continue to maintain and output the current drive signal when the processor 2711 stops sending drive instructions. The function of this hold port is to "maintain" the current display state when entering a low-power state to ensure that the content of the LCD screen will not be updated or cleared. In the application of the thermometer and hygrometer 100, the hold port can ensure that the temperature and humidity data on the LCD screen are continuously displayed without the continuous participation of the processor 2711. The hold port is equivalent to an independent circuit that can maintain the stable output of the existing drive signal without waking up the processor 2711.

[0140] Specifically, the display manager 2712 has a control circuit and a peripheral circuit, the control circuit is used to receive the display data sent by the processor 2711, and the peripheral circuit implements the above-mentioned holding port. The control circuit controls the holding port of the peripheral circuit based on the display data to output a signal for display to the LCD screen; in the standby state, the control unit enters a low power consumption mode, and the peripheral circuit maintains the output drive signal. In the detection state, the control circuit enters a normal working mode and receives the display data sent by the processor 2711; the display data is obtained according to the environmental parameters detected by the temperature and humidity sensor 27.

[0141] In addition, the above control circuit and peripheral circuit can be integrated together, that is, the peripheral circuit and the control circuit can form an integrated circuit, and the integrated circuit can also be regarded as a display manager 2712. As long as the functions implemented are the same or similar to those in the embodiment of the present invention, whether the circuit is discrete, integrated or formed in other ways, it does not depart from the scope of the embodiment of the present invention.

[0142] Furthermore, in this embodiment, through the design of the "hold port", after entering the low power consumption mode, the display manager 2712 will not be completely shut down, but will continue to maintain the output of the driving signal by holding the port. This continuous output in low power consumption mode ensures that the display of the screen 3 will not be interrupted. The display manager 2712 only keeps the necessary hardware working, such as the peripheral driving circuit, without the need for entire activation.

[0143] Furthermore, the LCD screen used in this embodiment is structured to have multiple segments, and each segment can be controlled to display independently. Each segment can be understood as a display unit of the LCD screen, which may be a part of a digital tube, a component of a letter or symbol, or a component of a more complex graphic.

[0144] The drive signal includes high and low level signals (such as Figure 6 The LCD screen can display characters and / or symbols corresponding to temperature and humidity parameters by controlling specific segments. This feature makes the LCD screen display more flexible. By controlling each segment individually, the required characters or symbols can be accurately combined. For example, if the current temperature and humidity do not need to be updated, only the necessary segments will be activated and displayed, and the other segments can remain off or not displayed, thus saving power.

[0145] The drive signal controls the display of the LCD segment through high and low level signals. A high level means that the display segment is activated (displaying content), and a low level means that the display segment is turned off or remains non-displaying.

[0146] Through high and low level signals, specific segments can be selectively controlled to display the corresponding temperature and humidity parameters. For example, a digital character may require a combination of multiple segments to form, such as the number "8" may require 7 segments to light up, while the number "1" only needs to light up 2 segments. This design allows the thermometer 100 to flexibly adjust the display content according to the current environmental parameters, ensuring the best balance between display accuracy and power consumption.

[0147] In addition to numbers, some symbols may be displayed through the control segment, such as ℃ for temperature, % for humidity, and even other graphical symbols may be displayed to indicate the status of the thermometer and hygrometer 100 .

[0148] In a further example, the liquid crystal screen may be an LCD segmented screen having at least 20 pixels.

[0149] like Figure 6As shown, in a specific example, the whole machine is powered by a button battery 4 (such as CR2032), which outputs a 3V power supply VDD. The button transmits the trigger event by triggering the electronic switch 21 electrically connected to the processor 2711. The temperature and humidity sensor 27 adopts the temperature and humidity sensor chip of Nanochip Micro with the model NSHT30. The LCD screen adopts an LCD intermittent screen. The display manager 2712 adopts a low-power MCU (normal display power consumption is about 5uA) for the LCD drive peripheral circuit (for example, a driver management chip of Shanghai Xinsheng with the model HC18P233L). The processor 2711 adopts a single-chip microcomputer (for example, Tailing's TLSR8250 Bluetooth chip). The TLSR8250 Bluetooth chip is used as the main processor 2711, and controls the HC18P233L to wake up and enter low power consumption through an I / O as the INT wake-up pin. After entering the detection state, first wake up the NSHT30 temperature and humidity sensor chip in the low power state, and obtain the temperature and humidity of the environment through the NSHT30 temperature and humidity sensor chip (after the acquisition is completed, the temperature and humidity sensor chip enters the low power mode again and waits for the next wake-up), then lower the INT pin level to wake up the HC18P233L, and after processing the acquired data, send it to the HC18P233L through the IIC interface. The HC18P233L will generate a new drive signal based on this to drive the LCD screen to display the latest temperature and humidity. After sending, the TLSR8250 Bluetooth chip will pull up the INT pin level to trigger the HC18P233L to enter the low power mode again and wait for the next wake-up. Subsequently, the TLSR8250 Bluetooth chip will also enter the low power mode and put the whole machine into the standby state, waiting for the arrival of the next detection state (the TLSR8250 Bluetooth chip can be regularly awakened to enter the detection state through the internal timer).

[0150] If the electronic switch 21 is detected to be triggered in the standby state, the TLSR8250 Bluetooth chip is awakened in response to the trigger event. At this time, the TLSR8250 Bluetooth chip generates a corresponding control signal and maintains the low power consumption mode of the temperature and humidity sensor chips of HC18P233L and NSHT30. In the low power consumption mode of HC18P233L, it maintains the drive signal output to the LCD screen through the LCD peripherals to realize the constant display of the LCD screen. Based on this, when choosing a solution using Bluetooth as a communication means, the power consumption of the thermometer 100 in the standby state can be controlled within 10μA, and the power consumption in the detection state can be controlled above 200μA.

[0151] In some embodiments, the processor 2711 is further configured to:

[0152] Acquire parameter data (temperature and / or humidity) representing environmental conditions and form associated local records;

[0153] Store parameter data to form a local historical data set;

[0154] Sending local record information to a display device so that the display device combines the local record with a reference time obtained online to determine a specific historical time corresponding to the historical data set; and,

[0155] Send the historical data set so that the display device can display the various parameter data in the data set at the corresponding historical time.

[0156] Specifically, local records mainly refer to the associated information generated by the device when collecting parameter data of environmental status, which is used to mark and describe these data. This information can include, for example, the time point when the data was collected (or characteristic parameters related to time), and can also include the order of the data, the cumulative duration since the device started working, etc., so that each set of data can be uniquely and clearly identified and located. Through these local records, the device can save data in an orderly manner even when it is offline, ensuring that each piece of data has a specific identifier and has independent historical reference significance.

[0157] Once stored, each parameter data is formed into a historical record, and multiple historical records form a local historical data set. That is, the historical data set is used to save multiple sets of parameter data within a certain period to support subsequent data query and analysis, and facilitate trend analysis, anomaly detection, event tracing, etc. This historical data set combines local time records and online reference time to ultimately achieve mapping of the real timeline, making the display and application of parameter data more intuitive and easy to understand.

[0158] The thermometer and hygrometer itself can be offline. It does not have real-time online time information. When collecting parameter data, it can only record the relative time inside the device, such as "the cumulative time since the device started" or "the time interval of the most recent collection." Therefore, through local recording, we can determine the relative position of each set of data inside the device (such as the collection order, interval, etc.). Therefore, local recording and displaying the reference time obtained by the device online belong to the mapping method of different time dimensions. The combination of the two is to align or synchronize the time points of parameter data.

[0159] The historical time can be understood as the specific moment or time period corresponding to the historical data set (including multiple parameter data records) stored in the device, calculated by the display device based on the local record information and the reference time obtained online.

[0160] Specifically, historical time is not real time, but an identifier time calculated by combining local recorded information with external reference time. This calculated historical time is used to identify the moment when the data record was generated, so that the display device can accurately display the records in the historical data set.

[0161] In other words, when the display device displays these parameter data, it is necessary to know the real and accurate time point (i.e., the historical time) when these parameter data occur. Therefore, according to this embodiment, the display device needs to use the reference time obtained online as a reference standard, such as Beijing time obtained by the display device from the network. In this way, the display device can calculate the accurate time corresponding to the historical data set by combining the data relative time in the local record (such as the cumulative running time of the device) and the online reference time to obtain the historical time.

[0162] Furthermore, the solution provided by the embodiments of the present disclosure can ensure the historical timeliness of data storage in offline or real-time calibration-limited devices, and provide an accurate timeline for future reference and analysis. In particular, in environmental data monitoring, the reference time obtained by the online display device is used in combination with local record information to ensure that accurate historical backtracking can be achieved even if the device itself does not have accurate clock synchronization. In addition, the display device can present these precisely marked data points in chronological order, providing high-quality time and data references for data analysis.

[0163] In addition, before sending the historical data set to the display device, it is also used to perform data compression or encoding operations on the historical data set to reduce the bandwidth required during data transmission and improve data transmission efficiency.

[0164] Among them, local record information and historical data sets can be sent synchronously or in steps.

[0165] For example, when the amount of parameter data in the local historical data set is small, the local record information and the parameter data in the historical data set can be loaded into the same data frame for transmission to achieve synchronous transmission. For another example, the two can also be loaded into different data frames for transmission to achieve step-by-step transmission.

[0166] Furthermore, the local record information and historical data set can be sent through point-to-point communication. For example, before sending the local record information, a dedicated data channel is first established with the display device to achieve point-to-point communication between the two. The thermometer and hygrometer receives the data acquisition request sent by the display device through a specific data channel; in response to the data acquisition request, the local record information and historical data set are first sent to the display device.

[0167] In addition, historical data sets usually contain a large amount of parameter data, and sending them all at once will create the risk of excessive data load or unstable transmission. Therefore, splitting the data into multiple ordered data frames and pointing and identifying each frame with specific information can ensure that the receiving device can completely and accurately reconstruct the data set in terms of sequence and content.

[0168] Specifically, the processor sends historical data sets specifically for:

[0169] Obtain the number of parameter data corresponding to the current data frame and the sorting information of the starting parameter data;

[0170] According to the number information and the sorting information, all parameter data that should be carried in the data frame are obtained;

[0171] Generate a corresponding data frame according to the number information, the sorting information and all the parameter data. The data frame includes: a frame pointing field and a load part, the number information and the sorting information constitute the frame pointing field, and the first part of each parameter data in all the parameter data constitutes the load part; and

[0172] All data frames are sent sequentially to achieve complete transmission of the historical data set.

[0173] According to an embodiment of the present disclosure, the number information indicates the number of parameter data included in the data frame; the sorting information indicates the position order of the data in the data frame. When a historical data set includes multiple parameter data, it may be necessary to send the historical data set in multiple data frames. The currently sent data frame may be one of the multiple data frames. Depending on the order in which the data frame is sent, the number of parameter data it carries and the specific parameter data it carries are different. This embodiment loads this information into the data frame so that both the sender and the receiver can find the specific position of the parameter data in each data frame, ensuring that the data order is consistent.

[0174] According to the embodiment of the present disclosure, the parameter data to be carried by each data frame is determined according to the number information and the sorting information to ensure that the parameter data contained in the data frame is correct. In this way, data can be sent in frames to avoid data loss or delay caused by transmitting a large amount of data at one time.

[0175] For example, there are 20 parameter data in the historical data set, and it is stipulated that each data frame can carry a maximum of 15 parameter data. Then these 20 parameter data need to be sent in two data frames, where the number of parameter data corresponding to the first data frame is 15, and the sorting information of the starting parameter data is 1; the number of parameter data corresponding to the second data frame is 5, and the sorting information of the starting parameter data is 16, that is, the first data frame is responsible for transmitting the 1st to 15th parameter data, and the second data frame is responsible for transmitting the 16th to 20th parameter data.

[0176] According to the embodiment of the present disclosure, each parameter data includes a data part and an identification part, wherein the data part represents the parameter value of the environmental state recorded by the parameter data, and the identification part represents the corresponding identifier. Then, in the payload part of the data frame, only the data part of each parameter data (i.e., the first part) is carried, and the data part of each parameter data is sequentially loaded into the payload part according to the corresponding identifier.

[0177] For example, a parameter data is obtained every hour, and there are 2160 parameter data in the historical data set (i.e., 3 months of offline data). Each parameter data includes a data part and an identification part, wherein the data part records the highest temperature value, the lowest temperature value, the highest humidity value and the lowest humidity value in the corresponding time period, and the identification part records the order of the parameter data. A data frame is used to carry 10 parameter data starting from the 416th parameter data, so the content of the data frame can be, for example: 0a a00117019d ff6201…. Among them, "0a" means that 10 parameter data are included, "a001" means starting from the 416th parameter data, "1701" means that the maximum temperature recorded in the data part of the 416th parameter data is 27.7°C, "9d ff" means that the minimum temperature recorded in the data part of the 416th parameter data is -9.9°C, "62" means that the maximum humidity recorded in the data part of the 416th parameter data is 98, "01" means that the minimum humidity recorded in the data part of the 416th parameter data is 01; "..." means that there are 417 to 425 parameter data in the subsequent data part. Of course, in some examples, in addition to the frame pointing field and the payload part mentioned above, the data frame also includes some conventional inherent structures, such as the check part of the frame header and the frame tail.

[0178] According to the embodiment of the present disclosure, a method for sending a historical data set in segments based on a data frame is provided, wherein complete transmission and accurate matching of data are achieved through the structure and content design of the data frame. Each data frame contains clear number and sorting information, and the receiver can use this information to determine whether the data frame is received in sequence and in full, ensuring that no data is missed. Even if data is missed, the missing parameter data can be quickly located according to the frame pointing field, and then resent to reduce the risk of packet loss.

[0179] In addition, the historical data set is divided into data frames and sent in batches, which avoids the transmission burden caused by large amounts of data and improves the stability of transmission. The sorting information in the frame pointing field enables the display device to perform sequential verification on the received frame content, ensuring that the parameter data is arranged according to historical time, thereby supporting correct display and data reconstruction.

[0180] In a further example, data can be sent to the display device via Bluetooth direct connection. For example, a point-to-point dedicated data channel is established between the thermometer and the display device via Bluetooth direct connection; local record information is sent first, and then all parameter data is sent to the dedicated data channel at one time or multiple times according to the number of parameter data in the historical data set, so that the display device monitoring the dedicated data channel can receive all data.

[0181] In some embodiments, before sending the local record information, it is necessary to first receive a data acquisition request sent by the display device, so as to send the local record information in response to the data acquisition request.

[0182] Furthermore, the thermometer and hygrometer will initiate the data transmission process in a timely manner based on the data acquisition request, allowing the thermometer and hygrometer to respond dynamically according to the needs of the display device instead of automatically and continuously sending data.

[0183] In a specific implementation, in response to a data acquisition request, the quantity identifier, the first time in the local record, and the second time are first sent to the dedicated data channel; then, according to the number of parameter data in the historical data set, all parameter data are sent to the dedicated data channel at one time or multiple times. That is, data transmission is triggered by the data acquisition request of the display device. When the display device needs to obtain data, it will first send a data acquisition request to the local thermometer and hygrometer. After receiving the request, the thermometer and hygrometer will start sending local record information according to the needs of the display device, and then enter the step of sending the historical data set.

[0184] It can be seen that by introducing the request mechanism of the display device, the electronic device is more targeted in data transmission, avoiding unnecessary data push and reducing the power consumption of the device, which is especially suitable for resource-constrained IoT devices or other low-power application scenarios.

[0185] In some embodiments, the local record includes a specific identifier carried by each parameter data (such as the identifier mentioned in the above embodiment), and there is a pattern between the identifiers, so that the display device can match the specific time point of each parameter data according to the identifier pattern based on the determined historical time end point.

[0186] Specifically, each parameter data is attached with an identifier to distinguish different parameter data, and these identifiers are not randomly assigned, but have certain rules or patterns. This rule can be understood as the identifiers increasing or decreasing in a certain order, or arranged according to a certain logical relationship. These identifiers are used to help determine the order, generation time and / or relative position of the parameter data. For example, every time a temperature / humidity value is collected by the thermometer and hygrometer, an identifier is generated to record the time and order of acquisition of this data value.

[0187] In a specific example, the allocation of identifiers follows an incremental rule. For example, identifiers can be generated in an incremental manner, similar to the increase of timestamps or the self-increment of numbers. This regularity ensures that when the display device receives the historical data set, it can correctly arrange the data according to the order of the identifiers and accurately display the specific time of each data and its changing trend.

[0188] In a further example, the identifiers may be arranged in the order of 1, 2, 3, 4, etc. A parameter for recording the identifier is set, and each time new data is collected, the parameter is automatically increased by 1. An upper limit value is set for the parameter, and when the upper limit value is reached, the newly recorded parameter data overwrites the earliest parameter data to achieve circular recording, so as to prevent excessive local space from being occupied.

[0189] According to the embodiments of the present disclosure, by matching the reference time (e.g. Beijing time at a certain moment) with the relative time recorded locally, the actual occurrence time point of each set of parameter data can be calculated. Then, according to the regularity of the identifier, the relative time corresponding to the identifier of each parameter data is converted into a specific timestamp, thereby achieving accurate display.

[0190] Local records do not need to store the specific local time of each parameter data, only the identifier needs to be recorded, which significantly saves local storage space and enables the device to store offline data for a longer period of time. The regularity between identifiers ensures the order, matching and integrity of the parameter data, ensuring that the display device can synchronize, sort and accurately display each parameter data by time when displaying historical data sets, so as to present the corresponding environmental data at the correct time point.

[0191] In some embodiments, the local record is used to record local time information and includes a first time and a second time, wherein the first time is used to mark the recording time (local time) of the latest parameter data, and the second time is used to mark the accumulated time since the device started working.

[0192] Here, local time information can be understood as the time data recorded by the device itself in an offline environment. These data are usually not real standard time (such as Beijing time), but a time mark recorded by the device based on the internal clock, such as relative time or running time. Its main function is to provide a time basis in an offline environment, so that the data acquisition device can independently record and mark the time sequence or interval of each parameter data, and can still complete the recording even without networking or precise synchronization.

[0193] In this context, the reference time obtained by the display device online is the standard time obtained from the network, such as Beijing time. The online reference time has higher accuracy and global consistency and can be used as the benchmark time for data processing. When the display device combines the local time information with the online reference time, it can convert the offline local time information into the actual time and obtain a more accurate timestamp.

[0194] When used together, local time information provides a relative time record of parameter data in an offline state, while reference time provides an actual time base for these data. The display device can calculate the actual acquisition time of the historical data set by matching the reference time with the local time information. This combination avoids the defect of being unable to record in an offline state, and can restore the accurate timeline when displaying data, ensuring the accuracy and timeliness of historical data.

[0195] Based on this, in this embodiment, when the processor sends the local record to the display device, it can be specifically used to:

[0196] The first time and the second time are sent so that the display device can use the current reference time T minus the cumulative running time T2 of the device to trace back to the actual time when the device starts working (the start of work here can be understood as the start of the device being offline or the start of the device being powered on), and on this basis, the local time T1 of the latest parameter data record is added to obtain the exact time point of the latest parameter data in the historical data set, which is the historical time end point tn of the historical data set. In other words, when the first time T1 and the second time T2 are known, the historical time end point tn can be calculated according to the formula tn=T-T2+T1, where T is the reference time obtained by the display device online, so that the display device can calculate the specific end time of the offline historical data set in combination with the external reference time, so that the end timestamp of the historical data set can be restored.

[0197] In this example, the current time T is 12:00 on January 1, 2024. The accumulated operation time T2 of the thermometer and hygrometer is 10 hours. The local recording time T1 of the latest parameter data is collected 8 hours after the thermometer and hygrometer is started. Substitute into the formula for calculation:

[0198] tn = 12:00-10 hours + 8 hours = 10:00 on January 1, 2024;

[0199] This means that the latest data was collected at 10:00 on the same day. The display device can use 10:00 on the same day as the end time of the historical data set and display the latest parameter data in the historical data set at this time point, thereby accurately displaying the collection history of the device.

[0200] Furthermore, this embodiment provides a specific historical time end determination scheme, in which the historical time end tn refers to the actual time point of the latest parameter data in the historical data set (i.e., the last parameter data obtained). This time point is not directly recorded in the thermometer and hygrometer, but is calculated by the display device to determine the exact time when the last set of parameter data collected by the thermometer and hygrometer when offline occurred, thereby helping the display device to accurately display the historical data set.

[0201] Through the dual recording mechanism of the first time and the second time, the historical data set can accurately present the real historical time after the online time calibration of the display device, making the time tracing of the data more accurate. The display device can display each data point based on the calculated historical time end point tn, so that users can obtain an accurate timeline reference when tracing back.

[0202] Further, the identifier is used to indicate the order of the parameter data in the historical data set, and there is a specified time interval between two adjacent parameter data;

[0203] When storing parameter data, the corresponding identifier is stored together, so that the display device can match the specific time point of each parameter data based on the historical time end point, the identifier sequence and the specified interval.

[0204] According to this embodiment, the display device calculates and matches the specific time point of each parameter data by the sequence of the identifiers and the specified time interval. Furthermore, without storing the exact collection time of each parameter data locally, the specific time point corresponding to each data is calculated by the identifier and the time interval.

[0205] For example, the historical time end tn is 10:00 on January 1, 2024;

[0206] The specified time interval Δt is 60 minutes; The order of identifiers: Each parameter data has a unique identifier, which is numbered sequentially starting from 1 (for example: 1, 2, 3...); The current number of records: The historical data set received by the display device contains a total of 5 parameter data, and the identifier sequence is 1 to 5; The parameter data represents the average temperature within the specified time interval, where:

[0207] Parameter data 1: temperature 21°C; parameter data 2: temperature 23°C; parameter data 3: temperature 22°C; parameter data 4: temperature 25°C; parameter data 5: temperature 27°C.

[0208] On the display device, based on the identifier order and time interval, the specific collection time points of the five parameter data can be matched in sequence: parameter data 1: 6:00 on January 1, 2024; parameter data 2: 7:00 on January 1, 2024; parameter data 3: 8:00 on January 1, 2024; parameter data 4: 9:00 on January 1, 2024; parameter data 5: 10:00 on January 1, 2024.

[0209] This method enables the display device to calculate and match the specific collection time point of each parameter data one by one through the identifier sequence and fixed interval when the end time point of the historical time is obtained. This not only simplifies the local storage requirements, but also ensures the accuracy of each parameter data displayed in the historical time series.

[0210] In some embodiments, the processor is further configured to: send a quantity identifier representing the total number of parameter data in the historical data set, so that the display device can verify the integrity of the historical data set.

[0211] Here, the quantity identifier is used to record the total number of parameter data stored in the historical data set. Through the quantity identifier, the display device can verify whether the historical data set sent by the device is complete. For example, check whether the number of parameter data received is consistent with the quantity identifier N. If they are consistent, the data set is complete; if they are inconsistent, it means that the data set is incomplete and may be missing. For another example, each parameter data has a continuous identifier, and the display device can check the continuity and sequence of these identifiers to further verify the integrity of the data.

[0212] If the data is found to be complete, it is displayed directly.

[0213] If the verification finds that the data is incomplete, the display device can identify the missing data range or specific identifier based on the missing identifier or the difference in the quantity identification. The display device can then send a command to the thermometer and hygrometer to request the reissue of the parameter data corresponding to the specific identifier to fill the missing part. This mechanism of requesting reissue ensures the integrity of the historical data set on the display device and avoids inaccurate display due to data loss.

[0214] In specific implementation, the reissue mechanism may include the following steps:

[0215] Receiving a reissue request: the thermometer and hygrometer receives a reissue request including a missing identifier range or a specific identifier sent by the display device through a communication method such as Bluetooth;

[0216] In response to the reissue request, the corresponding parameter data is retrieved from the memory;

[0217] Data resending: Resend the lost data to the display device to complete the supplement of the historical data set.

[0218] In addition, after completing the resend, the display device can also verify the received historical data set again to ensure its integrity.

[0219] In this way, by combining the rules of quantity identification, historical time end points and identifiers, the display device can achieve effective management of the time range, data integrity and accurate display of historical data sets.

[0220] In addition, the quantity identifier is also used to display the device and combine it with the end point of the historical time to deduce the starting point of the historical time, thereby determining the time period covered by the entire historical data set.

[0221] Specifically, after having the historical time end point and the total amount of data represented by the quantity identifier, the time start point of the historical data set can be further calculated. If data collection is performed at a specified time interval (for example, once every 60 minutes), the calculation formula for the start time t0 can be derived as follows:

[0222] t0=tn-(N-1)×Δt

[0223] Among them: N is a quantity identifier, indicating the total number of parameter data contained in the data set; Δt is the specified time interval for collecting parameter data. This formula determines the starting time t0 of the historical data set by gradually tracing back N-1 time intervals, thereby obtaining the time period corresponding to the entire historical data set.

[0224] For example, when the historical time end tn is 10:00:00 on January 1, 2024, if the quantity identifier N=5, it means that the historical data set contains 5 parameter data; the collection time interval Δt=60 minutes. According to these settings, the formula will be used to calculate the starting time t0 of the historical data set. According to the above formula, t0=10:00:00 on January 1, 2024-(5-1)×60 minutes=6:00:00 on January 1, 2024. Therefore, the starting time t0 of the historical data set is 6:00:00 on January 1, 2024.

[0225] In this example, the first parameter data is collected starting at 6:00, and 5 data are collected at 60-minute intervals until 10:00, forming a complete historical data set from 6:00 to 10:00. In this way, the time range of the historical data set can be accurately calculated.

[0226] Furthermore, by introducing the quantity identifier, the display device can verify the integrity of the historical data set immediately after receiving the data to ensure that the displayed data is complete. And according to the historical time end point corresponding to the historical data set, the historical time start point can be calculated in combination with the total number of parameter data reflected by the quantity identifier, and then the historical time corresponding to the historical data set can be determined.

[0227] In some embodiments, the processor is further configured to: when the device is restarted, clear all parameter data in the historical data set and reset the quantity identifier to zero.

[0228] Specifically, a parameter such as NUM can be set. This parameter is used to record the quantity identifier, that is, the number of parameter data. The initial value of this parameter is 0. Before, after, or synchronously recording each parameter data, NUM is increased by one. This parameter has a maximum value. For example, if the interval for obtaining parameter data is 60 minutes, the maximum value of NUM can be set to 2160, that is, up to 3 months of offline data in local time can be stored. The local time of the device is based on the countdown time of the internal clock, that is, the local time can only record the number of seconds when each parameter data is recorded. At the same time, the cumulative time from the start of the device to the current time is also expressed in seconds.

[0229] When the device is restarted, for example, restarted after power failure, NUM is reset to 0, and all parameter data stored in the second memory (see below) is cleared.

[0230] In some embodiments, the process of the processor obtaining parameter data specifically includes:

[0231] Detect the first environmental parameter. The first environmental parameter is the initially collected environmental data, which can reflect the current environmental state. In a specific example, the first environmental parameter can be, for example, the temperature parameter and humidity parameter mentioned in the above embodiment.

[0232] The second environmental parameter is generated by processing the first environmental parameter at at least two different recording moments, and the second environmental parameter is stored as parameter data. The second environmental parameter is generated by processing the multiple sampling data of the first environmental parameter, and is used to simplify storage or more accurately reflect the environmental state within a period of time.

[0233] Specifically, in this solution, by summarizing and calculating the first environmental parameters to generate the second environmental parameters, the amount of data storage can be significantly reduced, and the change trend of the environmental data can be retained to a certain extent. For example, the second environmental parameter representing a longer period of time can be generated by taking the average, maximum or minimum values ​​of multiple groups of first environmental parameters, so as to store data in a more economical way.

[0234] For example, the first environmental parameter is collected every 10 minutes, and a second environmental parameter is generated every 60 minutes. Among the six groups of first environmental parameters in each hour, the average value, the maximum value or the minimum value is selected as a representative to generate the second environmental parameter.

[0235] For example, six real-time temperature parameters of 20°C, 21°C, 22°C, 21°C, 23°C and 20°C are recorded in sequence at 600 seconds, 1200 seconds, 1800 seconds, 2400 seconds, 3000 seconds and 3600 seconds after the equipment starts working. The second environmental parameter can take the average value of these six temperature parameters as 21.1°C. The second environmental parameter can represent that the average temperature from the start of work to 3600 seconds is 21.1°C.

[0236] Through this processing method, storing one second environmental parameter every hour can replace the original storage of the first environmental parameter every 10 minutes, reducing the storage volume by 6 times. At the same time, the second environmental parameter can also indicate the environmental change trend within an hour, providing a simplified data set for subsequent data analysis.

[0237] This method effectively retains the characteristics of the environmental state while ensuring less storage, making the historical data set more efficient and able to accurately and reasonably display the time series on the display device.

[0238] In some embodiments, the first environmental parameter is stored in a first memory suitable for frequent data updates; the second environmental parameter is stored as parameter data in a second memory suitable for long-term data storage. For example, the first memory is a memory with no limit on the number of erase and write times but data will be lost when power is off, and the second memory is a memory with limited erase and write times but data will not be lost when power is off.

[0239] In a further example, the first memory may be, for example, RAM, and the second memory may be, for example, FLASH.

[0240] It can be seen that in this embodiment, the hierarchical storage architecture of the first memory (RAM) + the second memory (FLASH) realizes efficient data storage and can effectively extend the service life of the device.

[0241] In some embodiments, a possible implementation of the mechanical structure of the thermohygrometer 100 is provided. Figure 8-Figure 28

[0242] Compared with the solution provided in the previously described embodiment, the focus of this embodiment is to provide a creative and applicable thermometer and hygrometer structural solution to the aforementioned embodiment. This embodiment can not only be regarded as an extension and enrichment of the previous embodiment, but also can be improved or integrated with it to jointly construct a more comprehensive and flexible thermometer and hygrometer implementation plan. Of course, the thermometer and hygrometer of this embodiment also has the possibility of independent implementation without relying on other embodiments. For those features, principles and operating mechanisms shared with the previous embodiments, this embodiment will not be repeated to avoid repetition. On the contrary, this embodiment focuses on revealing the uniqueness of this embodiment.

[0243] like Fig.10 and Fig.14 As shown, compared with the previous embodiment, the thermometer and hygrometer 100 provided in this embodiment further includes a bottom shell 5, a button shell 1, and a circuit board 2.

[0244] The detection component 20 is disposed on the circuit board 2 ; the button housing 1 is movably connected to the bottom housing 5 , and a movable cavity formed therebetween is used to accommodate the circuit board 2 carrying the detection component 20 and the battery 40 .

[0245] Specifically, the circuit board 2 is installed on the back of the button housing 1; the screen 3 is limited by the circuit board 2 and the button housing 1, and the button housing 1 is provided with a display window 11 at a position corresponding to the screen 3; the electronic switch 21 is arranged on a side of the circuit board 2 facing the bottom shell 5.

[0246] At this time, the button involved in the above embodiment can be understood as a press trigger structure composed of the button housing 1 and the electronic switch 21.

[0247] When the button housing 1 moves based on the bottom shell 5 in response to the pressing force, the circuit board 2, the screen 3 and the electronic switch 21 move integrally with the button housing 1. The electronic switch 21 presses against the bottom shell 5 during the movement so that the electronic switch 21 is triggered. The electronic switch 21 switches the on and off states, thereby generating a corresponding electrical signal to represent the triggering event.

[0248] The integrated movement can be understood as synchronous movement in an integrated manner. The movable connection can be understood as a connection mode that can generate relative movement, such as a pivot connection, a sliding connection, a ball joint connection, etc.

[0249] The button housing 1 is pivotally connected to the bottom housing 5, and the button housing 1 pivots based on the bottom housing 5 in response to the pressing force; the display window 11 may be a through hole or a transparent area, and the display content of the screen 3 is displayed to the outside through the display window 11. The screen 3 is limited by the circuit board 2 and the button housing 1, which can be understood as the circuit board 2 and the button housing 1 can directly abut against the upper and lower surfaces of the screen 3 to clamp the screen 3, or indirectly abut against the upper and lower surfaces of the screen 3 through other parts to limit the screen 3. In a specific embodiment, the circuit board 2 abuts against the lower surface of the screen 3 through the signal transmission member 22 and the filling member 23.

[0250] In the embodiment of the present invention, the screen 3 is limited by the circuit board 2 and the button housing 1, which simplifies the limiting structure of the screen 3 and reduces the number of parts; and the button housing 1 is pivotally connected to the bottom shell 5, so that the connection structure between the button housing 1 and the bottom shell 5 is simpler, and there is no need to design multiple elastic support members to suspend and support the button housing 1, so that the number of parts is further reduced.

[0251] It is worth mentioning that the screen 3 and the circuit board 2 move integrally with the button housing 1, and the weight of the screen 3 and the circuit board 2 is added to the button housing 1, which increases the inertia of the button housing 1 and makes the button housing 1 feel heavier when pressed.

[0252] Furthermore, if Fig.15 and Figure 19-22 As shown, Figure 19-22 This is a view of the thermometer and hygrometer 100 after being turned upside down. An isolation structure 12 is provided on the back of the button housing 1. The isolation structure 12 protrudes from the lower surface of the screen 3 and abuts against the circuit board 2 to isolate the circuit board 2 from the screen 3 by a predetermined distance. When the button housing 1 is pressed, the pressing force is transmitted to the circuit board 2 through the isolation structure 12, and then transmitted to the electronic switch 21 through the circuit board 2, so that the electronic switch 21 presses against the bottom shell 5; wherein, the circuit board 2 and the screen 3 are isolated by a predetermined distance, so that the transmission path of the pressing force does not pass through the screen 3, thereby preventing the screen 3 from being crushed. At the same time, the isolation structure 12 rigidly supports the circuit board 2, making the circuit board 2 more stable.

[0253] In addition, in order to prevent the predetermined distance from being too large and causing the screen 3 and the key housing 1 to be loose, in this embodiment, Fig.14 and Fig.23 As shown, an elastic signal transmission member 22 and an elastic filling member 23 are provided between the circuit board 2 and the screen 3. The signal transmission member 22 is provided at the end of the screen 3. The screen 3 is connected to the circuit board 2 through the signal transmission member 22. The elastic force of the filling member 23 acts on the screen 3 so that the screen 3 and the button housing 1 are kept in contact with each other to avoid the screen 3 being unstable. The signal transmission member 22 can be conductive rubber, metal springs or other elastic materials with conductive properties. When the circuit board 2 is locked to the button housing 1, the signal transmission member 22 is squeezed by the circuit board 2 and the screen 3, so that the conduction between the screen 3, the signal transmission member 22 and the circuit board 2 is stable. The filling member 23 can be foam, rubber, silicone or other elastic materials.

[0254] To sum up, compared with the rigid limit, the present embodiment adopts an elastic signal transmission component 22 and an elastic filling component 23 to provide an elastic limit force, which not only makes the screen 3 stably limited between the circuit board 2 and the button housing 1, but also ensures the stable conduction between the screen 3 and the circuit board 2; in addition, the cooperation with the isolation structure 12 not only provides a stable support for the circuit board 2, but also prevents the screen 3 from being crushed.

[0255] Furthermore, if Fig. 22 As shown, the isolation structure 12 abuts against the side of the screen 3 to position the screen 3 circumferentially, and the screen 3 is limited to the inner side of the isolation structure 12, and no other limiting structures are required, so that the structure is simplified. Furthermore, the isolation structure 12 includes a plurality of isolation walls 121 arranged around the screen 3, and positioning ribs 122 arranged on the isolation walls 121, the positioning ribs 122 abut against the side of the screen 3 to limit the horizontal degree of freedom of the screen 3, the signal transmission member 22 and the filling member 23 abut against the lower surface of the screen 3, and the button housing 1 abuts against the upper surface of the screen 3 to limit the vertical degree of freedom of the screen 3, thereby limiting all degrees of freedom of the screen 3, and no other limiting structures are required to limit the screen 3, so that the structure is further simplified.

[0256] In some embodiments, Fig.23 As shown, the signal transmission member 22 is a conductive rubber strip, and the filler 23 is constructed as a strip structure. The filler 23 is located at one end of the screen 3 away from the signal transmission member 22, and the filler 23 and the signal transmission member 22 are arranged in parallel to support the screen 3 stably, so that the screen 3 and the key housing 1 are well abutted. Among them, the parallel arrangement can be understood as a parallel arrangement or an angle between the two is less than 30°. In this embodiment, the signal transmission member 22 and the filler 23 are arranged in parallel at both ends of the screen 3. Further, the filler 23 is attached to the circuit board 2.

[0257] Furthermore, if Fig.23 As shown, the conductive rubber strip is a three-layer structure, including a conductive layer 221 located in the center and insulating layers 222 located on both sides of the conductive layer 221, and the insulating layers 222 are attached to the conductive layer 221. The screen 3 is provided with a first conductive portion 31 at a position corresponding to the conductive rubber strip, and the first conductive portion 31 is composed of a plurality of conductive contacts arranged, such as Fig.24 As shown, the circuit board 2 is provided with a second conductive portion 24 at a position corresponding to the conductive rubber strip. The second conductive portion 24 is composed of a plurality of metal contacts arranged therein. The metal contacts are connected to the conductive contacts through the conductive rubber strip to realize signal transmission between the screen 3 and the circuit board 2.

[0258] In some embodiments, Fig.17 and Fig.19 As shown, one end of the circuit board 2 away from the signal transmission member 22 is clamped to the button housing 1, and one end of the circuit board 2 close to the signal transmission member 22 is locked to the button housing 1 by a locking member 25. The circuit board 2 squeezes the signal transmission member 22 under the locking action of the locking member 25, so that the connection between the circuit board 2, the signal transmission member 22 and the screen 3 is stable to ensure stable signal transmission. In addition, one end of the circuit board 2 is clamped to the button housing 1, and the other end is locked with the locking member 25, which can simplify the assembly steps and improve the assembly efficiency. Among them, the locking member 25 can be understood as a part that can lock the circuit board 2 to the button housing 1, such as a screw, a rotating lock or a press lock.

[0259] Furthermore, if Fig. 20 As shown, the locking member 25 is set as two connecting screws, the button housing 1 is provided with a connecting column 13 at the position corresponding to the connecting screw, and the circuit board 2 is provided with a positioning hole 251 at the position corresponding to the connecting column 13, and the positioning hole 251 is positioned and matched with the connecting column 13, and the connecting screw is locked to the connecting column 13, so that the circuit board 2 is locked to the button housing 1. The connecting column 13 not only positions the circuit board 2, but also plays the role of locking the circuit board 2, making the structure more compact. Among them, the connecting column 13 extends from the button housing 1 toward the circuit board 2, and the end of the connecting column 13 is provided with a threaded connection hole adapted to the connecting screw, and the arrangement direction of the two connecting columns 13 is parallel to the extension direction of the conductive rubber strip; the connecting column 13 is located at the edge of the circuit board 2, and the positioning hole 251 of the circuit board 2 is semicircular, and its diameter is adapted to the diameter of the connecting column 13. When the circuit board 2 is installed in the button housing 1, the connecting column 13 is embedded in the positioning hole 251 to achieve positioning between the two. The height of the connecting column 13 is adapted to the thickness of the circuit board 2 , so that when the connecting screw is locked on the connecting column 13 , the circuit board 2 can be locked on the key housing 1 .

[0260] Furthermore, if Fig.19 As shown, the button housing 1 is provided with two first clips 14 at one end away from the signal transmission member 22, and the first clips 14 are used to clip the circuit board 2, and the circuit board 2 is provided with a positioning portion 26 between the two first clips 14, and the width of the positioning portion 26 is adapted to the spacing between the two first clips 14, so that the positioning portion 26 is positioned between the two first clips 14; wherein, the first clips 14 extend downward from the top wall of the button housing 1, and the arrangement direction of the two first clips 14 is parallel to the extension direction of the conductive rubber strip.

[0261] Furthermore, the positioning portion 26 and the circuit board 2 are formed integrally.

[0262] The button housing 1 of this embodiment uses the connecting column 13 and the first buckle 14 to position the two ends of the circuit board 2, without setting up a special positioning structure to position the circuit board 2. This ensures the relative position accuracy between the circuit board 2 and the button housing 1 and simplifies the structure of the button housing 1.

[0263] Furthermore, if Fig.14 and Fig.10 As shown, the bottom shell 5 has a third end close to the signal transmission member 22 and a fourth end away from the signal transmission member 22, and the pivot shaft 511 of the pivotal connection is arranged in the area of ​​the bottom shell 5 close to the third end, so that the pivot shaft 511 is close to the signal transmission member 22, thereby allowing the signal transmission member 22 to have a smaller movement amplitude during the key pressing process, thereby ensuring stable signal transmission. Among them, the area close to the third end can be understood as the area near the third end. The pivot connection can be a shaft-hole connection, a rotatable clamping connection, or other connection methods that can pivotally move. The pivot shaft 511 can be understood as the rotation center axis of the pivot connection, or can also be understood as a physical axis. In a specific embodiment, as Fig.11 As shown, the pivot shaft 511 is a convex shaft.

[0264] The circuit board 2 has a first end close to the pivot axis 511 and a second end away from the pivot axis 511. The electronic switch 21 is arranged in a region of the circuit board 2 close to the second end. According to the lever principle, the closer the electronic switch 21 is to the second end, the shorter the pressing stroke of the key housing 1 to trigger the electronic switch 21. Shortening the movable stroke of the key housing 1 can make the bottom space of the key housing 1 smaller, so that the side of the key housing 1 covers more of the bottom shell 5, thereby improving the overall sense of the thermohygrometer 100. Among them, the region close to the second end can be understood as the region near the second end.

[0265] Furthermore, if Fig.11 As shown, the bottom shell 5 is provided with two pivot arms 51 extending from the area near the third end, the two pivot arms 51 are respectively located on both sides of the bottom shell 5, and the ends of the two pivot arms 51 are respectively provided with the pivot shafts 511 protruding therefrom, and the two pivot shafts 511 are arranged opposite to each other. Fig.18 and Fig.19 The button housing 1 is pivotally connected to the bottom housing 5 by an axial-hole connection. The button housing 1 is provided with connecting plates 15 on the inner sides of the two pivot arms 51 , respectively. The connecting plates 15 are provided with pivot holes 151 . The pivot shaft 511 is inserted into the pivot hole 151 , and the pivot shaft 511 can rotate in the pivot hole 151 .

[0266] Furthermore, if Fig.19 and Fig.17As shown, the first buckle 14 is provided with a buckle hole 141, and the bottom shell 5 is provided with a second buckle 52 at a position corresponding to the buckle hole 141, and the second buckle 52 is buckled in the buckle hole 141, that is, the second buckle 52 is buckled in the first buckle 14, so that the structure is more compact, which is conducive to reducing the thickness of the thermometer 100. Further, the first buckle 14 includes a first arm extending from the button housing 1 and a first hook provided at the end of the first arm, the first hook is engaged with the circuit board 2, and the buckle hole 141 is provided in the first arm.

[0267] In some embodiments, Fig.14 As shown, the trigger part of the electronic switch 21 is elastic. When the pressing force is removed, the button housing 1, screen 3 and circuit board 2 are reset under the elastic force of the electronic switch 21, so that the thermometer and hygrometer 100 does not need to be equipped with a separate reset mechanism, the number of parts is reduced, and the structure is simpler. At the same time, since the pressing resistance only comes from the elastic force of the electronic switch 21, the trigger feedback of the electronic switch 21 can be more clearly transmitted to the button housing 1, and the pressing feel is better. The trigger part can be understood as the part where the electronic switch 21 is pressed. In a preferred embodiment, the electronic switch 21 is a touch switch, and the trigger part of the touch switch is made of silicone. Furthermore, as Fig.10 and Fig.14 As shown, the bottom shell 5 is provided with a trigger protrusion 53 at a position corresponding to the trigger part of the electronic switch 21, and the trigger protrusion 53 is used to accurately trigger the trigger part. Furthermore, when the button housing 1 does not receive a pressing force, the trigger protrusion 53 still presses the trigger part, so that the trigger part is in a slightly compressed state, so that the trigger part can provide a pre-tightening force when the button housing 1 is not pressed, thereby preventing the button housing 1 from being loose.

[0268] In the existing thermometer and hygrometer with a screen, the pressing panel is fixed to the movable part. The pressing panel pushes down to drive the movable part to move downward. The position of the middle shell is fixed, and the pressing panel moves relative to the middle shell. A pressing gap needs to be reserved between the pressing panel and the middle shell. This gap makes the dust and splash resistance of the thermometer poor and destroys the integrity of the shell. To solve this problem, in this embodiment, if Figure 8-Figure 12 As shown, in this embodiment, thanks to the fact that the circuit board 2, the screen 3 and the electronic switch 21 are all fixedly connected to the key housing 1, and no reset mechanism is required, the key housing 1 can cover more area of ​​the bottom housing 5, thereby improving the integrity of the housing and improving the dustproof and splashproof performance. The key housing 1 includes a key top wall and a key side wall 16 extending downward from the four sides of the key top wall. The key housing 1 is covered on the bottom housing 5, and the key side wall 16 surrounds the bottom housing 5.

[0269] Furthermore, if Fig.14 As shown, the button housing 1 is provided with the display window 11 at a position directly opposite to the display area of ​​the screen 3. The display window 11 is constructed as a through hole penetrating the button housing 1. Thanks to the elastic supporting force provided by the filling member 23 and the signal transmission member 22, the upper surface of the screen 3 can fit tightly to the inner wall of the button housing 1 to eliminate the gap between the screen 3 and the display window 11, thereby improving the dustproof and water splashproof performance.

[0270] Furthermore, if Fig. 9 As shown, a pressing mark 17 is provided on the upper surface of the button housing 1 at one end away from the display window 11, and the pressing mark 17 is used to indicate the correct pressing area so that the user can trigger the electronic switch 21 more effortlessly. The pressing mark 17 is constructed as an arc-shaped depression.

[0271] Furthermore, if Figure 14-15 As shown, Fig.14 for Fig.13 AA section view, Fig.15 for Fig.14 In the enlarged view of the D part, a temperature and humidity sensor 27 is provided on the side of the circuit board 2 facing the bottom shell 5, and the detection result of the temperature and humidity sensor 27 is displayed through the screen 3; the temperature and humidity sensor 27 is provided at the edge of the circuit board 2, and the temperature and humidity sensor 27 moves in response to the pivoting movement of the key housing 1. Among them, the temperature and humidity sensor 27 is provided at the edge of the circuit board 2, so that when the key housing 1 is pressed, the temperature and humidity sensor 27 moves up and down with a larger amplitude, which is conducive to improving the sensing accuracy of the temperature and humidity sensor 27. In addition, the temperature and humidity sensor 27 is provided on the lower surface of the circuit board 2. When the key housing 1 is pressed, the distance between the circuit board 2 and the bottom shell 5 changes, thereby disturbing the air flow between the circuit board 2 and the bottom shell 5, further improving the sensing accuracy of the temperature and humidity sensor.

[0272] like Fig.15 and Figure 10-12As shown, the button side wall 16 is provided with a first air vent 161 at a position corresponding to the temperature and humidity sensor 27, the bottom shell 5 includes a bottom shell 5 side wall, a bottom shell 5 bottom wall, a first partition wall 541, a second partition wall 542 and a third partition wall 543, the bottom shell 5 side wall, the bottom shell 5 bottom wall, the first partition wall 541, the second partition wall 542 and the third partition wall 543 are mutually surrounded to form an air flow groove 544, the circuit board 2 is covered on the air flow groove 544, and the temperature and humidity sensor 27 is at least partially accommodated in the air flow groove 544; the bottom shell 5 bottom wall is provided with a second air vent 545 at the position where the air flow groove 544 is located. In this embodiment, the air flow groove 544 is connected to the outside through the first air vent 161 and the second air vent 545. When the button housing 1 is pressed, the button housing 1 and the circuit board 2 move relative to the bottom shell 5, driving the external air to enter the air flow groove 544 through the first air vent 161 and / or the second air vent 545, thereby improving the accuracy of the temperature and humidity sensor 27 in detecting the ambient temperature and humidity. It is worth mentioning that the first air vent 161 and the second air vent 545 are respectively opened on the side and the bottom, which increases the air circulation. In addition, the first partition wall 541, the second partition wall 542 and the third partition wall 543 can also reduce the influence of the heating of other electronic components on the accuracy of the temperature and humidity sensor 27.

[0273] In this embodiment, the air flow groove 544 is arranged on the bottom shell 5 , and the air flow groove 544 always remains in a stationary state. When the button housing 1 moves, the circuit board 2 and the temperature and humidity sensor 27 produce relative movement relative to the air flow groove 544 , thereby enhancing the air circulation in the air flow groove 544 .

[0274] Furthermore, if Fig.14 and Fig.16 As shown, Fig.16 This is a simplified schematic diagram of the structure of the thermometer 100. The temperature and humidity sensor 27 generates a vertical motion component in response to the movement of the circuit board 2, so that the air near the temperature and humidity sensor 27 can circulate, thereby improving the accuracy of the temperature and humidity sensor 27 in detecting the ambient temperature and humidity.

[0275] like Fig.16As shown, the key housing 1 is pivotally connected to the bottom housing 5, the circuit board 2 includes a first end close to the pivot axis 511 and a second end away from the pivot axis 511, the temperature and humidity sensor 27 is arranged at the first end of the circuit board 2, and the electronic switch 21 is arranged in the area close to the second end of the circuit board 2, so as to avoid the conflict between the installation positions of the electronic switch 21 and the temperature and humidity sensor 27, and facilitate the electronic switch 21 and the temperature and humidity sensor 27 to be arranged at the middle position of the two ends of the circuit board 2, thereby improving the pressing feel of the key housing 1 and facilitating the arrangement of the air flow groove 544, the first air vent 161 and the second air vent 545. In addition, the electronic switch 21 and the temperature and humidity sensor 27 are arranged on the left and right sides of the pivot axis 511 respectively. When the electronic switch 21 moves downward in response to the pressing force, the temperature and humidity sensor 27 tilts upward. When the electronic switch 21 is reset, the temperature and humidity sensor 27 returns to the initial position downward. The up and down movement of the electronic switch 21 can drive the temperature and humidity sensor 27 to move up and down, thereby improving the detection accuracy of the temperature and humidity sensor 27.

[0276] Furthermore, the temperature and humidity sensor 27 and the electronic switch 21 are arranged on the same side of the circuit board 2, so that there is enough space on the side of the circuit board 2 opposite to the electronic switch 21 to arrange the screen 3. Furthermore, the signal transmission element 22 and the temperature and humidity sensor 27 are arranged on the same end of the circuit board 2, but are arranged on the upper and lower sides of the circuit board 2.

[0277] Furthermore, if Fig.11 As shown, the first partition wall 541, the second partition wall 542 and the third partition wall 543 are integrally formed on the bottom shell 5, and the air flow groove 544 is constructed as a square groove body. Fig.12 As shown, the bottom wall of the bottom shell 5 is provided with three small holes at the bottom of the air flow groove 544, and the three small holes form the second air holes 545. The first air holes 161 are configured as long strip holes placed horizontally, such as Fig.15 As shown, the height of the first air hole 161 is slightly lower than the height of the temperature and humidity sensor 27 , which is conducive to the external air entering the air flow groove 544 from the first air hole 161 and quickly reaching the temperature and humidity sensor 27 .

[0278] Furthermore, if Fig.15 and Fig.11 As shown, a communication port 546 is formed on the side wall of the bottom shell 5 at a position directly opposite to the first air hole 161, and the communication port 546 connects the first air hole 161 with the air flow groove 544, which is conducive to the unimpeded entry of external air into the air flow groove 544 from the first air hole 161, so as to improve the detection accuracy of the temperature and humidity sensor 27. Further, the communication port 546 is formed by the top of the side wall of the bottom shell 5 being recessed downward.

[0279] Furthermore, if Fig.16 As shown, the distance between the temperature and humidity sensor 27 and the pivot axis 511 in the horizontal direction is set to L1, and the distance between the electronic switch 21 and the pivot axis 511 in the horizontal direction is set to L2. If L1 / L2 is too small, the movement amplitude of the temperature and humidity sensor 27 during the pressing process of the key housing 1 is small, and the air circulation in the air flow groove 544 is slow, which affects the accuracy of the detection of the temperature and humidity sensor 27. If L1 / L2 is too large, when the right end of the key housing 1 is pressed, the left end of the key housing 1 tilts up to a large extent, which will cause a wide gap between the key housing 1 and the bottom shell 5, affecting the integrity of the shell. For this reason, in this embodiment, L1 and L2 satisfy the relationship: 0.25≤L1 / L2≤0.7, so that the movement amplitude of the left end of the key housing 1 reaches an appropriate range, while ensuring the accuracy of the detection of the temperature and humidity sensor 27, avoiding too large a gap between the key housing 1 and the bottom shell 5.

[0280] Furthermore, if Fig.12 As shown, a double-sided adhesive tape 55 is provided on one side of the bottom shell 5 away from the button housing 1, and the bottom shell 5 is mounted externally through the double-sided adhesive tape 55, and the second air vent 545 is not covered by the double-sided adhesive tape 55. Further, the double-sided adhesive tape 55 is circular and is pasted on the center of the bottom surface of the bottom shell 5, and the lower surface of the double-sided adhesive tape 55 protrudes from the lower surface of the bottom shell 5, so that when the bottom shell 5 is pasted on the mounting surface, the second air vent 545 does not fit the mounting surface, thereby preventing the second air vent 545 from being blocked.

[0281] Furthermore, the screen 3 adopts a broken code screen, and the battery 40 adopts a button battery 4. The circuit board 2 is provided with the button battery 4, and the circuit board 2 is powered by the button battery 4. In a specific embodiment, the button battery 4 adopts a CR2032 battery, and the broken code screen adopts a 1.4-inch LCD broken code screen, and the broken code screen always displays information without turning off the screen. When the broken code screen is always working, the detection component 20 adopts a working mode of alternating between the detection state and the standby state, and the battery life can reach more than one year.

[0282] Furthermore, the button battery 4 moves synchronously with the circuit board 2, which is equivalent to adding the weight of the button battery 4 to the key housing 1. Since the button battery 4 is heavier, the inertia of the key housing 1 is increased, making the pressing feel of the key housing 1 heavier, so that the key housing 1 made of plastic can also have a pressing texture similar to that of metal.

[0283] Furthermore, the circuit board 2, screen 3, button battery 4 and electronic switch 21 move integrally with the key housing 1, that is, the weight of the screen 3, circuit board 2 and button battery 4 are all added to the key housing 1, further increasing the inertia of the key housing 1, making the pressing feel of the key housing 1 heavier.

[0284] Furthermore, if Fig.10 As shown, the button battery 4 is arranged on the side of the circuit board 2 facing the bottom shell 5, so as to facilitate battery replacement. Specifically, one end of the bottom shell 5 is connected to the key housing 1 through the pivot shaft 511, and the other end is clamped to the key housing 1 through the second buckle 52. The end of the bottom shell 5 close to the second buckle 52 is provided with a gripping part 57, which is recessed in the side of the bottom shell 5, and a force step is provided at the bottom of the gripping part 57. When the key housing 1 is buckled with the bottom shell 5, the force step at the bottom of the gripping part 57 is exposed under the key housing 1. The user can use the fingernail to pull the force step downward to disengage the second buckle 52 from the key housing 1, and then pry the bottom shell 5 downward to disengage the pivot shaft 511 from the pivot hole 151, so as to remove the bottom shell 5 from the key housing 1.

[0285] like Fig.11 and Fig.18 As shown, the pivot shaft 511 is arranged at the end of the pivot arm 51. The pivot shaft 511 is constructed as a short convex shaft, and the end of the pivot shaft 511 is provided with a rounded corner, so that the pivot shaft 511 can be inserted into / disengaged from the pivot hole 151. Meanwhile, the pivot arm 51 of the bottom shell 5 is relatively long and easy to deform, which further facilitates the pivot shaft 511 to be inserted into / disengaged from the pivot hole 151, thereby facilitating the bottom shell 5 to be detached from the key housing 1. It is worth noting that there is no need to worry about the pivot shaft 511 being disengaged from the pivot hole 151 during normal use, because the key housing 1 is generally subjected to pressure during normal use, such as Fig.18 As shown, the top of the pivot arm 51 abuts against the inner wall of the key housing 1 to support the key housing 1 when the key housing 1 is pressed, thereby preventing the pivot shaft 511 from disengaging downward from the pivot hole 151. In addition, the bottom housing 5 is not provided with a finger-like structure at one end close to the pivot shaft 511, so it is difficult for the user to disengage the end during normal use, thereby preventing the pivot shaft 511 from disengaging from the pivot hole 151 during normal use.

[0286] Furthermore, if Fig.21 As shown, the circuit board 2 is provided with a conductive clamp 28, the button battery 4 is clamped and limited by the conductive clamp 28, and the button battery 4 is connected to the circuit board 2 through the conductive clamp 28. The button battery 4 is limited by the conductive clamp 28, which avoids the need for the key housing 1 to provide other limiting structures to limit the button battery 4, thereby simplifying the structure.

[0287] Furthermore, if Fig.21 and Fig. 20 As shown, it should be noted that Fig. 20 and Fig.21 The viewing angle is the viewing angle after the thermohygrometer 100 is turned upside down. The conductive clamping member 28 includes a horizontally arranged conductive clamping wall 281 and conductive side walls 282 extending on both sides of the conductive clamping wall 281. The conductive side walls 282 are welded to the circuit board 2. The button battery 4 is clamped between the conductive clamping wall 281 and the circuit board 2. Fig.21 In the figure, the lower surface of the button battery 4 is the negative electrode, and the side and upper surface are the positive electrode. The circuit board 2 is provided with a conductive area (not shown) at the corresponding position of the button battery 4, the lower surface of the button battery 4 abuts against the conductive area, and the upper surface of the button battery 4 abuts against the conductive clamping wall 281. Among them, the circuit board 2 is provided with a large circular pad in the conductive area, and the negative electrode of the button battery 4 abuts against the circular pad to conduct the circuit board 2. Further, the conductive clamping member 28 is formed by cutting and bending a metal sheet.

[0288] Furthermore, the conductive clamping wall 281 is cut to form two inclined elastic arms 283, and the elastic arms 283 are inclined toward the button battery 4. When the button battery 4 is loaded into the conductive clamping member 28, the button battery 4 squeezes the elastic arms 283 to cause elastic deformation, which not only enhances the conductive stability but also increases the clamping force of the elastic arms 283 to clamp the button battery 4, thereby preventing the button battery 4 from falling out.

[0289] Furthermore, if Fig.21 and Fig. 20 As shown, the conductive clamp 28 has a loading end and a limiting end, the loading end is open, and the button battery 4 can be loaded horizontally into the conductive clamp 28 from the loading end; the conductive clamp 28 is provided with two vertical limiting blocks 284 at the limiting end, the limiting blocks 284 are bent at the conductive clamp wall 281, and the two limiting blocks 284 are located on both sides of the button battery 4 and are inclined to the loading direction of the button battery 4. The limiting blocks 284 not only have the function of preventing the button battery 4 from escaping, but also have the function of indicating the correct installation position, that is, when the button battery 4 abuts against the limiting blocks 284, it indicates that the button battery 4 has been installed in place.

[0290] Furthermore, if Fig.24 and Fig.25 As shown, the circuit board 2 is provided with an onboard antenna 292 of the wireless communication module 291. The onboard antenna 292 and the button battery 4 are respectively located on two sides of the circuit board 2. The onboard antenna 292 is arranged at one end of the circuit board 2 away from the button battery 4. The onboard antenna 292 is laid on the circuit board 2 in a winding manner using a metal strip. Fig.25is a top view of the circuit board 2, and the screen 3 is projected on the circuit board 2 to form a first projection pattern (the first projection pattern is Fig.25 The onboard antenna 292 is at least partially located outside the first projection pattern to prevent the signal of the onboard antenna 292 from being shielded by the screen 3. Further, at least 80% of the area of ​​the onboard antenna 292 is located outside the first projection pattern.

[0291] Furthermore, if Fig.26 As shown in FIG. 2 , it is a schematic diagram of the structure of the onboard antenna 292. Fig.26 Marked with a thick solid line. The onboard antenna 292 includes a grounding strip and a feeding strip extending in the vertical direction. The upper end of the grounding strip is grounded, the upper end of the feeding strip is electrically connected to the wireless communication module 291, and the lower end of the grounding strip is connected to the lower end of the feeding strip. The grounding strip is spaced on the left side of the feeding strip, and the distance D1 between the grounding strip and the feeding strip is 1.4mm. A bending strip extends to the right from the lower end of the feeding strip. The bending strip first extends to the right and then bends upward to form two "J"-shaped ridges. The tail end of the bending strip is tilted upward, and the tilting height L5 is 0.4mm. The feeding strip, the grounding strip and the bending strip are integrally formed. The width W2 of the grounding strip is 0.9mm, the width W1 of the broken strip is 0.5mm, the width of the bending strip is 0.5mm, the distance D2 between the broken strip and the "J"-shaped ridge is 1.7mm, the distance D3 between two "J"-shaped ridges is 1.7mm, the width L6 of the "J"-shaped ridge is 3mm, the width L4 of the bending strip in the vertical direction is 3.14mm, and the distance D4 between the raised part of the tail end of the bending strip and the "J"-shaped ridge is 1.7mm. The sum of the lengths of the broken strip and the bending strip is 27.96mm, where the sum of the lengths of the broken strip and the bending strip is Fig.26 The length of the neutral wire.

[0292] Furthermore, if Fig.24 As shown, the wireless communication module 291 is disposed between the screen 3 and the circuit board 2. A driving chip 293 is disposed at one end of the circuit board 2 away from the screen 3. The driving chip 293 is used to drive the screen 3. The driving chip 293 is disposed outside the first projection pattern. Fig.14 As shown, the driving chip 293 and the electronic switch 21 are arranged on both sides of the circuit board 2 and at the same end to improve the space utilization inside the key housing 1. Furthermore, a part of the pins of the driving chip 293 are welded to the positioning part 26 of the circuit board 2 to save the space of the circuit board 2.

[0293] In one embodiment of the present invention, Fig. 27 and Fig.28As shown, a structural scheme of a thermometer and hygrometer is also provided. This embodiment will focus on the differences from the structural scheme provided in the above embodiment, and the remaining structural features can be understood by referring to the description of the above embodiment.

[0294] Specifically, the structural scheme of this embodiment differs from that of the above-mentioned embodiment in that a locking portion 58 is provided at the end of the bottom shell 5 away from the pivot connection, and the locking portion 58 includes a locking protrusion 581 and an unlocking protrusion 582. When the bottom shell 5 is buckled into the button housing 1, the locking protrusion 581 is engaged with the button housing 1, and the unlocking protrusion 582 is not blocked by the button side wall 16. The unlocking protrusion 582 can be pressed to drive the locking protrusion 581 to disengage, and the unlocking protrusion 582 can drive the locking protrusion 581 to resume engagement when the pressure is removed.

[0295] In this embodiment, the locking protrusion 581 restricts the bottom shell 5 from being separated from the button housing 1. The user needs to press the unlocking protrusion 582 and pry the bottom shell 5 downwards to remove the bottom shell 5 from the button housing 1, which increases the difficulty of removing the bottom shell 5, prevents the button battery 4 from being pulled out by children, and eliminates safety hazards.

[0296] Furthermore, if Fig. 27 and Fig.28 As shown, the locking portion 58 further includes a support beam 583 and an elastic beam 584, the bottom of the support beam 583 is connected to the bottom shell 5, the top of the support beam 583 is connected to the top of the elastic beam 584, the locking protrusion 581 and the unlocking protrusion 582 are arranged on the elastic beam 584 from top to bottom, the unlocking protrusion 582 is pressed to deform the elastic beam 584, and the elastic beam 584 drives the locking protrusion 581 to produce a horizontal displacement, so that the locking protrusion 581 is disengaged from the key housing 1, so that the bottom shell 5 can be detached from the key housing 1. There are two support beams 583, which are respectively arranged on both sides of the elastic beam 584, and the tops of the two support beams 583 are respectively connected to the tops of the elastic beam 584, and the two support beams 583 and the elastic beam 584 are constructed in a similar "M" shape to enhance the deformation ability of the elastic beam 584. The support beam 583, the elastic beam 584, the locking protrusion 581, the unlocking protrusion 582 and the bottom shell 5 are integrally formed. An operation notch 162 is provided at the bottom of the button side wall 16 at a position corresponding to the unlocking protrusion 582. The operation notch 162 exposes the unlocking protrusion 582, which is convenient for the user to press the unlocking protrusion 582. The button side wall 16 is provided with a third buckle 163 protruding toward the inside and adapted to the locking protrusion 581. The locking protrusion 581 is clamped to the third buckle 163 to prevent the bottom shell 5 from being separated from the button housing 1.

[0297] Furthermore, the support beam 583 also has deformation capability to ensure that the locking protrusion 581 can be smoothly separated from the third buckle 163 .

[0298] Furthermore, if Fig.28 As shown, there is a gap between the right end of the circuit board 2 and the side wall of the bottom shell 5 to provide space for the elastic beam 584 and the support beam 583 to deform to the left, so that the locking protrusion 581 can be displaced to the left and then smoothly disengaged from the third buckle 163.

[0299] Furthermore, if Fig. 27 As shown, the pivot arm 51 and the second buckle 52 are both provided with reinforcing ribs for improving the strength and rigidity of the pivot arm 51 and the second buckle 52. Furthermore, an avoidance notch is provided at the upper corner of the airflow cavity 544, and the avoidance notch is used to avoid electronic components on the circuit board 2 to avoid interference.

[0300] In some embodiments, a temperature and humidity detection system including the above-mentioned thermometer and hygrometer 100 is also provided. Figure 7 As shown, the system includes a controlled device 500 and a thermometer and hygrometer 100 as provided in the above embodiments. The control signal generated by the thermometer and hygrometer 100 is used to directly or indirectly control the controlled device 500.

[0301] like Figure 7 In the figure, only one thermometer and hygrometer 100 and one controlled device 500 are illustrated. In an actual system, the number of thermometers and hygrometers 100 and controlled devices 500 can be multiple. At the same time, wireless signal transmission can be achieved between the thermometer and hygrometer 100 and the controlled device 500. The wireless signal can be, for example, Bluetooth, radio frequency, Wifi, etc.

[0302] The controlled device 500 can be any controlled device that can be directly or indirectly controlled by the control signal. For example, it can be an air conditioning device, an air conditioner, a humidifier, etc. The control it receives can be, for example, but not limited to:

[0303] Turn off the air conditioner, turn on the air conditioner, and adjust the air conditioner temperature; for example, single-click to increase the temperature, double-click to lower the temperature, and long press to turn off / on the air conditioner.

[0304] Turn off the humidifier, turn on the humidifier, and adjust the humidity value of the humidifier.

[0305] In other examples, the controlled device 500 may also be other non-air conditioning equipment, such as a wall switch, an electronic doorbell, a light, an automatic curtain, a fan, etc. The control it accepts may be, for example, but not limited to:

[0306] Enter a certain state; for example, turn on or off a wall switch, turn on or off a light, ring a doorbell, control a fan to start or stop, automatically open or close curtains, turn on or off a specified function of the receiver, etc.

[0307] Switch between two states; for example, flip (switch) the on / off state of a wall switch, flip (switch) the on / off state of a light, flip (switch) the on / off state of a fan, flip (switch) the on / off state of an automatic curtain, flip (switch) the on / off state of a specified function of the receiving end, etc.;

[0308] Control the receiving end or the device it is connected to to change the working parameters; for example, adjust the brightness of the light, adjust the size of the fan air volume, adjust the degree of opening of the curtains, etc.

[0309] In some schemes, such as Figure 7 As shown, the system further includes a cloud 400 , a gateway 200 and a terminal 300 .

[0310] The terminal 300 may be, for example, a mobile phone, a tablet computer, a computer, a car computer, a smart home appliance, etc. The terminal 300 may be, for example, a mobile phone, a tablet computer, a computer, a smart home appliance, etc. Figure 7 The terminal 300 can interact with the cloud 400 as shown, and can also interact with the cloud 400 via a WIFI network, or can interact with the gateway 200 using Bluetooth. In a specific example, the terminal 300 can interact with the cloud 400 using a mobile network.

[0311] The gateway 200 may be any device that can communicate with the cloud 400 and the thermometer 100, for example, a gateway 200 device dedicated to data interaction and processing, such as a Bluetooth gateway (or Zigbee gateway), etc. In addition, the gateway 200 may be configured with a separate Bluetooth communication module, or may be configured with a Bluetooth communication module (Zigbee communication module) and a WIFI communication module at the same time to form a dual-mode gateway.

[0312] The cloud 400 may be any device or combination of devices that has data storage and data processing capabilities and can interact with the gateway 200, and may specifically be, for example, a server in which the required programs may be deployed.

[0313] Among them, the thermometer 100 can access the target network through the network configuration operation, which is used to trigger the thermometer 100 to enter the network configuration mode. In the network configuration mode, the thermometer 100 sends out network configuration messages, which carry at least information characterizing the thermometer 100, so that the terminal 300, the gateway 200 and other external devices can scan the thermometer 100 in the network configuration state based on the network configuration message, and then guide the thermometer 100 to join the target network based on the preset network configuration method to complete the network configuration of the thermometer 100. After the network configuration is completed, the thermometer 100 can communicate with the gateway 200, the terminal 300, and the cloud 400 through the target network.

[0314] Furthermore, after completing the network configuration, the thermometer 100 can report the detection results (temperature / humidity values) and control signals to the cloud 400 through the gateway 200, and the terminal 300 can obtain these detection results from the cloud 400 and display them to the user.

[0315] A typical scenario is as follows: The thermometer 100 can enter the network configuration mode through local triggering (for example, double-clicking and long pressing the button), and then broadcast the Bluetooth network configuration message to the outside, so that the mobile phone can search for the thermometer 100, and after establishing a direct connection with the thermometer 100, guide the thermometer 100 to access the target network formed by the Bluetooth gateway 200. The thermometer 100 first establishes a communication connection with the Bluetooth gateway 200 through the low-power Bluetooth (BLE) protocol, and then uses the Bluetooth gateway 200 to access the wireless network (Wi-Fi) of the router of the home or enterprise to achieve seamless connection with the Internet. After the network is successfully connected, the thermometer 100 can report its monitoring results - including but not limited to the current temperature, humidity, control signals and other information - to the cloud 400. These data are not only the basis for the triggering of smart scenes, but also the basis for remote monitoring and management of users. Users can view the status of the thermometer 100 in real time through the application of the terminal 300 (mobile device or PC), or preset a series of smart scenes according to personal needs and preferences.

[0316] Each smart scene can define a trigger relationship between at least one scene condition and at least one scene result, so that when the scene condition is met, the corresponding scene result can be matched and executed.

[0317] Each scene condition includes at least one of the following: a temperature value greater than a preset value, a temperature value less than a preset value, a humidity value greater than a preset value, a humidity value less than a preset value, a button single-click event, a button double-click event, and a button long-press event.

[0318] Each scenario result includes at least one executable function of at least one controlled device 500 connected to the same gateway 200 .

[0319] These smart scenes are freely defined by the user through the terminal 300 and then stored in the cloud 400 (can also be stored in the gateway 200). After the thermometer and hygrometer 100 reports the detection results (temperature, humidity values ​​and control signals) to the cloud 400, the cloud 400 matches the corresponding smart scene according to the trigger event represented by the current temperature and humidity values ​​or the control signal, and controls the scene results defined by the matched smart scene to be executed.

[0320] Furthermore, the thermometer and hygrometer 100 immediately reports the detection result each time when the environmental parameters detected each time meet the predetermined change conditions compared with the last time; otherwise, the detection results corresponding to the environmental parameters are periodically reported according to the predetermined reporting period. The predetermined change conditions may be, for example, a temperature change of more than 1°C or a humidity change of more than 1%. The reporting period may be, for example, 10 minutes. Furthermore, the thermometer and hygrometer 100 immediately reports the result when the temperature value or humidity value detected this time changes by 1°C or 1% compared with the last time; otherwise, the detection results will be periodically reported at a frequency of every 10 minutes.

[0321] In addition, the thermometer and hygrometer can enter the direct connection mode through specific instructions, and then establish a point-to-point direct connection relationship with the terminal in the direct connection mode. For example, after the terminal enters a specific page, it will prompt to press and hold the thermometer button for more than 5 seconds to trigger it to enter the direct connection mode. After the thermometer enters the direct connection mode by pressing and holding for more than 5 seconds, the thermometer and hygrometer can establish a point-to-point Bluetooth direct connection relationship with the mobile phone. After establishing the direct connection, the terminal can set the controlled mode of the button and the display format of the temperature.

[0322] In the description of this specification, the description with reference to the terms "some embodiments", "a specific implementation", "a specific implementation process", "an example", etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the specific features, structures, materials or characteristics described in the schematic expressions of the above terms can be combined in any one or more embodiments or examples in a suitable manner.

[0323] It should also be noted that the above-mentioned embodiments can be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments, that is, the technical solutions disclosed in the later (order of sequence recorded in the text) embodiments should include the technical solutions recorded in the embodiment and the technical solutions recorded in all embodiments before the embodiment.

[0324] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein with equivalents. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present invention.

Claims

1. A thermometer and hygrometer, characterized in that: include: A detection component, used to obtain environmental parameters and generate a drive signal, wherein the environmental parameters are used to determine the ambient temperature and / or humidity; a screen, electrically connected to the detection component, and displaying the temperature and / or humidity value based on the drive signal; A trigger component, electrically connected to the detection component, for receiving an external operation instruction and generating a trigger event; The thermometer and hygrometer is powered by a battery and is configured to work alternately between a detection state and a standby state: In the detection state, environmental parameters are obtained and the driving signal is updated; In the standby state, if a trigger event is received, a corresponding control signal is generated, and during this period, the acquisition of environmental parameters and the update of drive signals are stopped; In each alternating cycle, the detection state lasts for a first time width, the standby state lasts for a second time width, and the second time width is greater than the first time width.

2. The thermometer and hygrometer according to claim 1, characterized in that: The trigger component includes at least one button, and the button is configured to have a first controlled mode; in the first controlled mode, after the detection component detects the trigger event of button pressing, it delays for a third time width and then transmits the control signal wirelessly, and the third time width is greater than the first time width.

3. The thermometer and hygrometer according to claim 2, characterized in that: The button is further configured to have a second controlled mode; in the second controlled mode, the detection component immediately transmits the control signal wirelessly after detecting a triggering event of button pressing; The detection component is capable of switching the key between a first controlled mode and a second controlled mode.

4. The thermometer and hygrometer according to claim 1, characterized in that: In the standby state, if the detection component does not receive a trigger event, it remains in a low power consumption mode.

5. The thermometer and hygrometer according to claim 1, characterized in that: The alternating period is set within 20 seconds, and the ratio of the second time width to the first time width is greater than 50 and less than 2000.

6. The thermometer and hygrometer according to any one of claims 1 to 5, characterized in that: The detection component comprises: A sensing unit for detecting environmental parameters to determine ambient temperature and / or humidity; A control unit, electrically connected to the sensing unit, for acquiring environmental parameters and generating a driving signal; wherein the screen is provided with a parameter display area for displaying temperature and / or humidity values; In the detection state, the control unit is awakened and obtains environmental parameters through the sensing unit, and updates the driving signal to refresh the content of the parameter display area, forming a dynamic display stage; In the standby state, the control unit stops acquiring environmental parameters and enters low power consumption mode, waiting for the occurrence of a trigger event. At this time, the drive signal is not updated and the original drive signal is continuously output to maintain the display content of the parameter display area, forming a static display stage.

7. The thermometer and hygrometer according to claim 6, characterized in that: The sensing unit includes a temperature and humidity sensor, which is used to obtain environmental parameters including temperature parameters and humidity parameters; The control unit comprises: A processor, electrically connected to the temperature and humidity sensor, configured to obtain the temperature parameter and the humidity parameter, and generate corresponding driving instructions; The display manager is set between the processor and the screen, is controlled by the driving instructions, and outputs driving signals to drive the screen display.

8. The thermometer and hygrometer according to claim 7, characterized in that: The screen adopts a liquid crystal screen. In the standby state, the processor and the display manager both enter a low power consumption mode; when a trigger event is detected in the static display stage, the processor is awakened and the display manager keeps working in the low power consumption mode to realize partial awakening.

9. The thermometer and hygrometer according to claim 8, characterized in that: The display manager has a holding port for maintaining the output of the existing drive signal when the processor stops sending the drive instruction; the display manager continuously outputs the drive signal through the holding port in the low power consumption mode to maintain the display content of the parameter display area.

10. The thermometer and hygrometer according to claim 7, characterized in that: When switching from the dynamic display stage to the static display stage, the display manager enters the low power consumption mode before the processor; when switching from the static display stage to the dynamic display stage, the display manager is awakened later than the processor.

11. A temperature and humidity detection system, characterized in that: include: Controlled equipment; and, A thermohygrometer as claimed in any one of claims 1 to 10; The control signal generated by the thermometer and hygrometer is used to directly or indirectly control the controlled device.