Environmental monitoring device, control method and system

By coordinating the main control module and the reset output module, and using wireless acquisition of reset commands and wired transmission of signals, remote restart of the environmental monitoring device is achieved, solving the problem of high labor costs when the network is not working, and thus reducing labor costs.

CN115801754BActive Publication Date: 2025-10-28ZHUHAI GREE INTELLIGENT EQUIP CO LTD +1
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202211426970.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-11-15
Publication Date
2025-10-28
Estimated Expiration
2042-11-15

AI Technical Summary

Technical Problem

Existing environmental monitoring devices require manual on-site restart when network connectivity is malfunctioning, resulting in high labor costs.

Method used

By cooperating with the main control module and the reset output module, the system can obtain reset commands wirelessly and output restart signals to remotely restart environmental monitoring devices with network malfunctions, while using wired connections for signal transmission.

Benefits of technology

It enables remote restarting of network-connected abnormal environment monitoring devices, reducing labor costs and avoiding the need for on-site restarts.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115801754B_ABST
    Figure CN115801754B_ABST
Patent Text Reader

Abstract

This invention discloses an environmental monitoring device, control method, and system. The control method for the environmental monitoring device includes: identifying a first environmental monitoring device experiencing a network connection failure from a plurality of environmental monitoring devices; identifying a second environmental monitoring device from the plurality of environmental monitoring devices; and wirelessly sending a reset command to the second environmental monitoring device, causing the second environmental monitoring device to control the restart of the first environmental monitoring device according to the reset command. The second environmental monitoring device is used to control the restart of the first environmental monitoring device, and the second environmental monitoring device is wiredly connected to the first environmental monitoring device. This invention solves the technical problem of high labor costs caused by relying on manual on-site restarting of environmental monitoring devices when network connection problems occur in existing technologies.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of signal control, and more specifically, to an environmental monitoring device, control method, and system. Background Technology

[0002] Existing environmental monitoring primarily relies on multi-point device deployment and communication base stations to perform localized environmental monitoring and upload relevant environmental parameters. The location of these devices depends on the coverage of the on-site network. However, in the initial stages of factory operation, the internal environment is often cluttered, making it impossible to install more sophisticated environmental monitoring devices to monitor air pollution and other environmental parameters within the building itself, and timely on-site maintenance is also lacking. Currently, a smart IoT environmental monitoring system is typically used to enable timely environmental monitoring and cloud-based control when initial infrastructure is insufficient, ensuring the factory's rapid operation.

[0003] However, due to the chaotic factory environment, several environmental monitoring devices often fail to connect to the network and transmit data, requiring restarts. In such cases, the only solution is to manually restart the environmental monitoring devices on-site, resulting in high labor costs.

[0004] There is currently no effective solution to the above problems. Summary of the Invention

[0005] This invention provides an environmental monitoring device, control method, and system to at least solve the technical problem of high labor costs caused by relying on manual on-site restart of the environmental monitoring device when a network problem occurs in the prior art.

[0006] According to one aspect of the present invention, an environmental monitoring device is provided, comprising: a main control module connected to a reset output module, configured to wirelessly acquire a reset command for restarting a target environmental monitoring device, and output a reset signal to the reset output module according to the reset command, wherein the target environmental monitoring device is an environmental monitoring device with a network malfunction; and a reset output module wired to the target environmental monitoring device, configured to output a first restart signal to the target environmental monitoring device based on the reset signal to restart the target environmental monitoring device.

[0007] Furthermore, the environmental monitoring device also includes: a first reset receiving module, connected to the main control module, used to receive a second restart signal output by other environmental monitoring devices, and output a third restart signal to the main control module based on the second restart signal; the main control module is also used to acquire the third restart signal, and determine whether to restart the current environmental monitoring device based on the third restart signal.

[0008] Furthermore, the reset output module includes a target transistor for receiving a reset signal and determining a first restart signal based on the reset signal. The base of the target transistor is connected to the reset signal output terminal of the main control module, the emitter of the target transistor is connected to ground, and the collector of the target transistor is connected to the first voltage terminal and the restart signal input terminal of the target environmental monitoring device.

[0009] Furthermore, the first reset receiving module includes a target MOS transistor for acquiring a second reset signal and determining a third reset signal based on the second reset signal. The gate of the target MOS transistor is connected to the collector of a target transistor in another environmental monitoring device, the source of the target MOS transistor is connected to ground, and the drain of the target MOS transistor is connected to a second voltage terminal and the reset signal input terminal of the main control module.

[0010] Furthermore, the environmental monitoring device also includes: a second reset receiving module, the second reset receiving module including a first button, one end of the first button being connected to the ground wire, and the other end of the first button being connected to the restart signal input terminal of the main control module, the first button being used to control the current environmental monitoring device to restart.

[0011] Furthermore, the environmental monitoring device also includes: a wireless communication module, which is electrically connected to the main control module and communicates with the main control module via serial port. The wireless communication module is used to obtain reset commands.

[0012] According to another aspect of the present invention, a control method for an environmental monitoring device is also provided, applied to a target device, comprising: determining a first environmental monitoring device that has experienced a network connection abnormality from a plurality of environmental monitoring devices; determining a second environmental monitoring device from the plurality of environmental monitoring devices, wherein the second environmental monitoring device is used to control the first environmental monitoring device to restart, and the second environmental monitoring device is wiredly connected to the first environmental monitoring device; and sending a reset command to the second environmental monitoring device wirelessly, so that the second environmental monitoring device controls the first environmental monitoring device to restart according to the reset command.

[0013] According to another aspect of the present invention, a control method for an environmental monitoring device is also provided, applied to the aforementioned environmental monitoring device, comprising: acquiring a reset command sent wirelessly by a target device; and outputting a first restart signal to the target environmental monitoring device based on the reset command to restart the target environmental monitoring device, wherein the target environmental monitoring device is an environmental monitoring device with a network malfunction, and the current environmental monitoring device is wiredly connected to the target environmental monitoring device.

[0014] Furthermore, the control method for the environmental monitoring device also includes: receiving a second restart signal output by other environmental monitoring devices, processing the second restart signal to obtain a third restart signal; and determining whether to restart the current environmental monitoring device based on the third restart signal.

[0015] According to another aspect of the present invention, an environmental monitoring system is also provided, including at least one group of environmental monitoring devices, wherein each group of environmental monitoring devices includes the aforementioned environmental monitoring devices, and in each group of environmental monitoring devices, a target environmental monitoring device is connected to a first reset receiving module of other environmental monitoring devices in the current environmental monitoring device group, and the target environmental monitoring device is any one of the environmental monitoring devices in the current environmental monitoring device group.

[0016] According to another aspect of the present invention, a control device for an environmental monitoring device is also provided, comprising: a first determining module, configured to determine a first environmental monitoring device that has experienced a network connection abnormality from a plurality of environmental monitoring devices; a second determining module, configured to determine a second environmental monitoring device from the plurality of environmental monitoring devices, wherein the second environmental monitoring device is configured to control the first environmental monitoring device to restart, and the second environmental monitoring device is wiredly connected to the first environmental monitoring device; and a sending module, configured to send a reset command to the second environmental monitoring device wirelessly, so that the second environmental monitoring device controls the first environmental monitoring device to restart according to the reset command.

[0017] According to another aspect of the present invention, a computer-readable storage medium is also provided, wherein a computer program is stored in the computer-readable storage medium, and the computer program is configured to execute the control method of the above-described environmental monitoring device when it is run.

[0018] According to another aspect of the present invention, an electronic device is also provided, the electronic device including one or more processors; a memory for storing one or more programs, wherein when the one or more programs are executed by the one or more processors, the one or more processors are configured to run the programs, wherein the programs are configured to execute the control method of the above-described environmental monitoring device during runtime.

[0019] It is worth noting that in the above process, since the current environmental monitoring device is connected to other network-malfunctioning environmental monitoring devices via a wired connection, the current environmental monitoring device can wirelessly obtain a reset command, and then restart the other network-malfunctioning environmental monitoring devices based on the reset command. This achieves effective control of the network-malfunctioning environmental monitoring devices using the normally functioning environmental monitoring devices, realizing the effect of remote control, reducing labor costs, and avoiding the problem of high labor costs caused by the inability to control network-malfunctioning environmental monitoring devices wirelessly, which requires relevant personnel to restart them on-site.

[0020] Therefore, the solution provided in this application achieves the goal of remotely controlling the restart of environmental monitoring devices with network malfunctions, thereby reducing labor costs and solving the problem of high labor costs caused by relying on manual on-site restart of environmental monitoring devices when network problems occur in existing technologies. Attached Figure Description

[0021] The accompanying drawings, which are included to provide a further understanding of the invention and form part of this application, illustrate exemplary embodiments of the invention and, together with their description, serve to explain the invention and do not constitute an undue limitation thereof. In the drawings:

[0022] Figure 1 This is a schematic diagram of an optional main control module according to an embodiment of the present invention;

[0023] Figure 2 This is a schematic diagram of an optional reset output module according to an embodiment of the present invention;

[0024] Figure 3 This is a schematic diagram of an optional first reset receiving module according to an embodiment of the present invention;

[0025] Figure 4 This is a schematic diagram of an optional wireless communication module according to an embodiment of the present invention;

[0026] Figure 5 This is a schematic diagram of an optional serial communication module according to an embodiment of the present invention;

[0027] Figure 6 This is a schematic diagram of an optional second reset receiving module according to an embodiment of the present invention;

[0028] Figure 7 This is a schematic diagram of an optional light detection module according to an embodiment of the present invention;

[0029] Figure 8 This is a schematic diagram of an optional temperature and humidity detection module according to an embodiment of the present invention;

[0030] Figure 9 This is a schematic diagram of an optional CO2 and TOVC detection module according to an embodiment of the present invention;

[0031] Figure 10 This is a schematic diagram of an optional smoke detection module according to an embodiment of the present invention;

[0032] Figure 11 This is a schematic diagram of an optional alarm module according to an embodiment of the present invention;

[0033] Figure 12 This is a schematic diagram of an optional display module according to an embodiment of the present invention;

[0034] Figure 13 This is a schematic diagram of an optional motor drive module according to an embodiment of the present invention;

[0035] Figure 14 This is a schematic diagram of an optional first button circuit according to an embodiment of the present invention;

[0036] Figure 15 This is a schematic diagram of an optional second button circuit according to an embodiment of the present invention;

[0037] Figure 16 This is a schematic diagram of an optional third button circuit according to an embodiment of the present invention;

[0038] Figure 17 This is a schematic diagram of an optional power supply module according to an embodiment of the present invention;

[0039] Figure 18 This is a schematic diagram of an optional power supply module according to an embodiment of the present invention;

[0040] Figure 19 This is a schematic diagram of an optional power supply switch according to an embodiment of the present invention;

[0041] Figure 20 This is a schematic diagram of an optional voltage measurement module according to an embodiment of the present invention;

[0042] Figure 21 This is a schematic diagram of the operation of an optional environmental monitoring device according to an embodiment of the present invention;

[0043] Figure 22 This is a schematic diagram of an optional mobile phone management page according to an embodiment of the present invention;

[0044] Figure 23 This is a schematic diagram of a control method for an optional environmental monitoring device according to an embodiment of the present invention;

[0045] Figure 24 This is a schematic diagram of a control method for an optional environmental monitoring device according to an embodiment of the present invention;

[0046] Figure 25 This is a schematic diagram of the control device of an optional environmental monitoring device according to an embodiment of the present invention. Detailed Implementation

[0047] To enable those skilled in the art to better understand the present invention, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings of the embodiments of the present invention. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort should fall within the scope of protection of the present invention.

[0048] It should be noted that the terms "first," "second," etc., in the specification, claims, and accompanying drawings of this invention are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of the invention described herein can be implemented in orders other than those illustrated or described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover a non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.

[0049] Example 1

[0050] According to an embodiment of the present invention, an embodiment of an environmental monitoring device is provided. The environmental monitoring device includes:

[0051] The main control module, connected to the reset output module, is used to wirelessly acquire the reset command for restarting the target environmental monitoring device and output a reset signal to the reset output module according to the reset command. The target environmental monitoring device is an environmental monitoring device with network malfunction.

[0052] Optional, Figure 1 This is a schematic diagram of an optional main control module according to an embodiment of the present invention. In this embodiment, refer to... Figure 1 A specific embodiment of the main control module will be described. Specifically, as follows: Figure 1As shown, the main control module can be an STM32 core board. Pin A3 on the main control module is the first data transmitting terminal, and pin A4 is the first data receiving terminal. Pins A3 and A4 of the main control module are used to connect to a wireless communication module to wirelessly acquire the reset command for restarting the controlled environmental monitoring device. The aforementioned reset command is issued by a remote electronic device, which includes a reset / restart flag. The aforementioned electronic device can be a mobile phone, computer, tablet, smart wearable device, etc., and the environmental monitoring device that receives the reset command is considered the current environmental monitoring device. The target environmental monitoring device is a device other than the current environmental monitoring device. It should be noted that the aforementioned main control module can also be other processors capable of performing the corresponding functions.

[0053] Furthermore, such as Figure 1 As shown, pin B5 on the main control module is the reset signal output terminal, and pin B5 of the main control module is connected to the reset output module. When the main control module receives a reset command, it can output a reset signal to the reset output module through the aforementioned pin B5.

[0054] The reset output module is wired to the target environment monitoring device and is used to output a first restart signal to the target environment monitoring device based on the reset signal, so as to restart the target environment monitoring device.

[0055] Optionally, the reset output module is used to acquire the reset signal sent from the reset signal output terminal (B5 pin) on the main control module, and determine the first restart signal based on the reset signal, thereby outputting the first restart signal to the target environmental monitoring device, so that the target environmental monitoring device acquires the first restart signal and restarts according to the first restart signal. It should be noted that the reset output module can be connected to multiple environmental monitoring devices, so that when the reset output module outputs the first restart signal, multiple environmental monitoring devices connected to the reset output module can be restarted simultaneously.

[0056] It is worth noting that in the above process, since the current environmental monitoring device is connected to other network-malfunctioning environmental monitoring devices via a wired connection, the current environmental monitoring device can wirelessly obtain a reset command, and then restart the other network-malfunctioning environmental monitoring devices based on the reset command. This achieves effective control of the network-malfunctioning environmental monitoring devices using the normally functioning environmental monitoring devices, realizing the effect of remote control, reducing labor costs, and avoiding the problem of high labor costs caused by the inability to control network-malfunctioning environmental monitoring devices wirelessly, which requires relevant personnel to restart them on-site.

[0057] Therefore, the solution provided in this application achieves the goal of remotely controlling the restart of environmental monitoring devices with network malfunctions, thereby reducing labor costs and solving the problem of high labor costs caused by relying on manual on-site restart of environmental monitoring devices when network problems occur in existing technologies.

[0058] In one optional embodiment, the reset output module includes a target transistor for receiving a reset signal and determining a first restart signal based on the reset signal. The base of the target transistor is connected to the reset signal output terminal of the main control module, the emitter of the target transistor is connected to ground, and the collector of the target transistor is connected to a first voltage terminal and the restart signal input terminal of the target environmental monitoring device.

[0059] Optional, Figure 2 This is a schematic diagram of an optional reset output module according to an embodiment of the present invention. In this embodiment, refer to... Figure 2 A specific embodiment of the reset output module will be described. Specifically, as follows: Figure 2 As shown, the reset output module includes a target transistor U5. The base of the target transistor U5 is connected to the reset signal output terminal (B5 pin) of the main control module. The emitter of the target transistor U5 is connected to the ground wire. The collector of the target transistor U5 is connected to the first voltage terminal through the first resistor R1. The collector of the target transistor U5 is also connected to the restart signal input terminal of the target environmental monitoring device. The aforementioned first voltage terminal is used to provide a 5V voltage.

[0060] Furthermore, such as Figure 2 As shown, the collector of the target transistor U5 can be connected to the restart signal input terminals of multiple environmental monitoring devices via the first connector H2, for example, in Figure 2 In this configuration, the collector of the target transistor U5 can be connected to the restart signal input terminals of four environmental monitoring devices.

[0061] It should be noted that by setting the target transistor in the reset output module, the reset signal can be effectively processed, thereby enabling effective control of the target environmental monitoring device.

[0062] In one optional embodiment, the environmental monitoring device further includes a first reset receiving module. The first reset receiving module is connected to the main control module and is used to receive a second restart signal output by other environmental monitoring devices, and based on the second restart signal, output a third restart signal to the main control module. The main control module is also used to acquire the third restart signal and, based on the third restart signal, determine whether to restart the current environmental monitoring device.

[0063] Optional, such as Figure 1As shown, pin A1 on the main control module is the reset signal input terminal. Pin A1 of the main control module is connected to the first reset receiving module, which is also connected to the reset output modules of other environmental monitoring devices. When the current environmental monitoring device experiences a network connection failure, the first reset receiving module obtains the second reset signal output by the reset output modules of other environmental monitoring devices, processes the second reset signal to obtain the third reset signal, and then sends the third reset signal to the main control module in the current environmental monitoring device.

[0064] Furthermore, the main control module can determine whether to restart the current environmental monitoring device based on the third restart signal.

[0065] It should be noted that by setting up the first reset receiving module, when the current environmental monitoring device experiences a network connection failure, it can effectively acquire restart signals sent by other environmental monitoring devices.

[0066] In one optional embodiment, the first reset receiving module includes a target MOS transistor, which is used to acquire a second reset signal and determine a third reset signal based on the second reset signal. The gate of the target MOS transistor is connected to the collector of a target transistor in another environmental monitoring device, the source of the target MOS transistor is connected to ground, and the drain of the target MOS transistor is connected to a second voltage terminal and the reset signal input terminal of the main control module.

[0067] Optional, Figure 3 This is a schematic diagram of an optional first reset receiving module according to an embodiment of the present invention. In this embodiment, refer to... Figure 3 A specific embodiment of the first reset receiving module will be described. Specifically, as follows: Figure 3 As shown, the first reset receiving module includes a target MOSFET Q1. The gate of the target MOSFET Q1 is connected to the collector of the target transistor in the first reset receiving module of the other environmental monitoring device. The source of the target MOSFET Q1 is connected to ground. The drain of the target MOSFET Q1 is connected to a second voltage terminal through a second resistor R2, and the drain of the target MOSFET Q1 is connected to the restart signal input terminal (A1 pin) of the main control module. The aforementioned second voltage terminal is used to provide a 3.3V voltage. It should be emphasized that the aforementioned other environmental monitoring devices can be the aforementioned target environmental monitoring device, that is, the current environmental monitoring device can mutually control the restart of the target environmental monitoring device. The aforementioned other environmental monitoring devices can also be devices other than the current environmental monitoring device and the target environmental monitoring device. In addition, the first reset receiving module of the current environmental monitoring device can be connected to the reset output modules of multiple environmental monitoring devices simultaneously, that is, the current environmental monitoring device can be controlled to restart by multiple environmental monitoring devices.

[0068] Optional, such as Figure 3As shown, the gate of the target MOS transistor Q1 is connected to the first reset receiving module corresponding to other environmental monitoring devices through the J1 terminal.

[0069] It should be noted that by setting the target MOS transistor Q1 in the first reset receiving module, the main control module can obtain an accurate restart signal, thereby achieving effective control of the current environmental monitoring device.

[0070] Optionally, the process of restarting an environmental monitoring device with a faulty network connection controlled by a normally functioning environmental monitoring device will be described using an optional embodiment. In this embodiment, the first environmental monitoring device is described as a normally functioning environmental monitoring device, and the second environmental monitoring device is described as an abnormally functioning environmental monitoring device.

[0071] Specifically, when no abnormality occurs in the second environmental monitoring device, the reset signal output terminal (B5 pin) of the main control module in the first environmental monitoring device outputs a high level. At this time, the target transistor U5 in the first environmental monitoring device is turned on, and the collector of the target transistor U5 in the first environmental monitoring device is at a low level. Further, since the collector of the target transistor U5 in the first environmental monitoring device is connected to the gate of the target MOS transistor Q1 in the second environmental monitoring device, the gate of the target MOS transistor Q1 in the second environmental monitoring device receives a low level (equivalent to the aforementioned second restart signal), the target MOS transistor Q1 in the second environmental monitoring device is turned off, and the drain of the target MOS transistor Q1 in the second environmental monitoring device is at a high level. At this time, the restart signal input terminal (A1 pin) of the main control module in the second environmental monitoring device receives a high level (equivalent to the aforementioned third restart signal), confirming that the third restart signal has not generated a falling edge, thereby maintaining the current working state.

[0072] Specifically, when the second environmental monitoring device malfunctions, the main control module in the first environmental monitoring device receives a reset command for the second environmental monitoring device. The reset signal output terminal (pin B5) of the main control module in the first environmental monitoring device outputs a low level (i.e., the aforementioned reset signal). At this time, the target transistor U5 in the first environmental monitoring device is cut off, and the collector terminal of the target transistor U5 in the first environmental monitoring device is at a high level (equivalent to the aforementioned first restart signal). The gate of the target MOSFET Q1 in the second environmental monitoring device receives a high level (equivalent to the aforementioned second restart signal), and the target MOSFET Q1 in the second environmental monitoring device is turned on. The drain terminal of the target MOSFET Q1 in the second environmental monitoring device is at a low level. At this time, the restart signal input terminal (pin A1) of the main control module in the second environmental monitoring device receives a low level (equivalent to the aforementioned third restart signal), confirming that the third restart signal has a falling edge. Thus, the second environmental monitoring device is restarted by executing the corresponding interrupt function within the main control module.

[0073] In this application, the reset receiving module uses the target MOS transistor to pull up the restart signal input terminal (A1 pin) of the main control module, so that the main control module can enable an interrupt restart of the entire environmental monitoring device based on whether a falling edge is generated at the restart signal input terminal (A1 pin). It should be noted that in this embodiment, by combining the reset output module and the first reset receiving module, the transmission of reset commands from one environmental monitoring device to another is realized. This avoids the problem of the restart signal not being correctly transmitted to the device due to excessive distance when the two environmental monitoring devices are directly connected by a line, thus preventing effective restart.

[0074] In one optional embodiment, the environmental monitoring device further includes a wireless communication module, which is electrically connected to the main control module and communicates with the main control module via serial communication. The wireless communication module is used to obtain reset commands.

[0075] Specifically, such as Figure 4 As shown, the wireless communication module is ESP8266. The TXD pin of the wireless communication module is connected to the first data receiving terminal (A4 pin) on the main control module, the RXD pin of the wireless communication module is connected to the first data transmitting terminal (A3 pin) on the main control module, and the RST pin of the wireless communication module is connected to the B4 pin on the main control module.

[0076] Furthermore, the environmental monitoring device also includes a serial communication module, such as... Figure 5 As shown, the TX pin of the serial communication module is connected to the second data receiving terminal (A10 pin) on the main control module, and the RX pin of the serial communication module is connected to the second data receiving terminal (A10 pin) on the main control module.

[0077] Optionally, the wireless communication module communicates with the main control module via the serial communication module. The wireless communication module is used at least to obtain reset commands and also to send relevant data from the main control module to the Gizwits server according to the Gizwits protocol.

[0078] It should be noted that by setting up a wireless communication module, the reset command can be effectively acquired.

[0079] In one optional embodiment, the environmental monitoring device further includes a second reset receiving module. The second reset receiving module includes a first button, one end of which is connected to a ground wire, and the other end of which is connected to the restart signal input terminal of the main control module. The first button is used to control the current environmental monitoring device to restart.

[0080] Specifically, such as Figure 6As shown, one end of the first button KEY3 is connected to the ground wire, and the other end of the first button KEY3 is connected to the restart signal input terminal (A1 pin) of the main control module. Specifically, when the current environmental monitoring device is not malfunctioning, the first button KEY3 is in the pop-up state, and the restart signal input terminal (A1 pin) of the main control module receives a high level. Conversely, when the current environmental monitoring device malfunctions, relevant personnel can press the first button KEY3 on-site, so that the circuit between the restart signal input terminal (A1 pin) and the ground wire is connected, and the restart signal input terminal (A1 pin) of the main control module receives a low level, thereby restarting.

[0081] It should be noted that by setting up a second reset receiving module, the restart methods for the environmental monitoring device in this application are enriched, thereby improving the applicability of this application.

[0082] In one optional embodiment, the environmental monitoring device further includes a light detection module, a temperature and humidity detection module, a CO2 and TOVC detection module, and a smoke detection module. Wherein, as Figure 7 As shown, the illumination detection module includes a photoresistor sensor. The AO pin of the illumination detection module is connected to the A5 pin of the main control module. The illumination detection module is used to detect illumination and send the detection data to the main control module. Figure 8 As shown, the DATA pin of the temperature and humidity detection module is connected to the B10 pin of the main control module. The temperature and humidity detection module is used to detect temperature and humidity and send the detection data to the main control module. Figure 9 As shown, the SDA pin of the CO2 and TOVC detection module is connected to the B7 pin of the main control module, and the SCL pin of the CO2 and TOVC detection module is connected to the B6 pin of the main control module. The CO2 and TOVC detection module is used to detect the concentrations of CO2 and TOVC and send the detection data to the main control module. Figure 10 As shown, the AO pin of the smoke detection module is connected to the A6 pin of the main control module. The smoke detection module is used to detect the smoke concentration and send the detection data to the main control module.

[0083] In one optional embodiment, the environmental monitoring device further includes an alarm module. For example... Figure 11 As shown, the alarm module includes a buzzer, whose IO pin is connected to pin A8 of the main control module. Optionally, the main control module can determine the smoke concentration or TVOC concentration based on the detection data, and control the alarm module to sound an alarm when the smoke concentration or TVOC exceeds a set threshold.

[0084] In one optional embodiment, the environmental monitoring device further includes a display module, such as... Figure 12As shown, the SCL pin of the display module is connected to the B6 pin of the main control module, and the SDA pin of the display module is connected to the B7 pin of the main control module. The display module is used to receive relevant detection data or other data sent by the main control module and display it. Optionally, when the smoke concentration or TVOC exceeds a set threshold, the main control module can control the display module to display a fire alarm. Optionally, the display module can be a 0.96-inch OLED screen under IIC communication, with a resolution of 128*64.

[0085] In one alternative embodiment, the environmental monitoring device further includes a motor drive module. For example... Figure 13 As shown, the motor drive module can use the L9910S chip. The INB pin of the motor drive module is connected to the BO pin of the main control module, and the INA pin of the motor drive module is connected to the A7 pin of the main control module. The motor drive module is used to drive the fan or other cooling equipment. Optionally, when the smoke concentration or TVOC exceeds the set threshold, the main control module can control the motor drive module through the PWM output between the two pins, thereby driving the fan blades to rotate in reverse for smoke exhaust.

[0086] In one optional embodiment, the environmental monitoring device further includes a first button circuit, a second button circuit, and a third button circuit. Optionally, such as... Figure 14 As shown, the first button circuit includes a second button KEY1, which is used to control the display content in the display module to page up. Specifically, one end of the second button KEY1 is connected to ground, and the other end is connected to pin B15 of the main control module. When the second button KEY1 is pressed, pin B15 of the main control module receives a low level, and the main control module controls the display content in the display module to page up.

[0087] Optional, such as Figure 15 As shown, the second button circuit includes a third button KEY2, which is used to control the display content in the display module to scroll down. Specifically, one end of the third button KEY2 is connected to ground, and the other end is connected to pin B9 of the main control module. When the third button KEY2 is pressed, pin B9 of the main control module receives a low level, and the main control module controls the display content in the display module to scroll down.

[0088] Optional, such as Figure 16As shown, the third button circuit includes a fourth button KEY4, which is used to control the network reconnection of the wireless communication module. Specifically, one end of the fourth button KEY4 is connected to ground, and the other end is connected to the A12 pin of the main control module. When the fourth button KEY4 is pressed, the A12 pin of the main control module receives a low level, and the main control module controls the wireless communication module to reconnect. That is, the second reset receiving module, the first button circuit, the second button circuit, and the third button circuit provided in this application all use a falling edge-triggered interrupt method to achieve the corresponding control effect.

[0089] In one alternative embodiment, the environmental monitoring device further includes a power supply module and a power switch. Figure 17 as well as Figure 18 This is a schematic diagram of an optional power supply module according to an embodiment of the present invention, such as... Figure 17 As shown, the power supply module is connected to an external 12V DC power supply via a DC power plug, such as... Figure 18 As shown, the power supply module connects to the step-down module U1 via... Figure 19 The power switch shown is connected to output a 5V voltage to power the various modules in the environmental monitoring device. To ensure voltage stability, electrolytic capacitors can be added for filtering. Furthermore, as... Figure 20 As shown, the environmental monitoring device also includes a voltage measurement module.

[0090] Optionally, an optional working process of the environmental monitoring device provided in this embodiment during application will be described. For example... Figure 21As shown, after the environmental monitoring device is powered on, the main control module initializes its internal components and the aforementioned detection modules, executes the main function configured within the main control module, configures all parameters, and checks whether each function is working properly. Upon entering the work loop, the main control module uses the acquisition function configured within it to periodically collect environmental parameters of the environment where the environmental monitoring device is located using the aforementioned detection modules. The collected data (i.e., the aforementioned detection data) is placed into a structure, and then the data from the structure is displayed on the display module using the display function. Next, using the action function configured within the main control module, the preset temperature and humidity thresholds and carbon dioxide content thresholds are compared with the current values ​​to obtain the comparison results. Then, combined with the measured values ​​of smoke and TVOC, the PWM signal for controlling the motor drive module is determined and output. Furthermore, using the reporting function configured within the main control module, the data in the aforementioned structure can be periodically transmitted to the wireless communication module, thereby transmitting the data to the cloud for display on relevant electronic devices. Optionally, the main control module also includes a receiving function. This function uses an interrupt-driven approach to receive data transmitted from the cloud. Upon receiving a threshold update command for the detection data from the cloud, it modifies the temperature, humidity, and carbon dioxide thresholds set in the structure. Furthermore, the receiving function also receives reset commands, enabling the main control function to perform a remote reset operation based on the reset command, thus causing the target environmental monitoring device to receive the command and restart.

[0091] Optionally, in this application, staff can manage the environmental monitoring device through a mobile app. Specifically, upon first use of the environmental monitoring device, the app can be used to set the corresponding SSID and password for the Wi-Fi network. The KEY4 button on the third button circuit is then used to trigger the network reconnection function of the wireless communication module. The Wi-Fi name and password to be connected are then entered into the corresponding input fields on the mobile app's network configuration interface. After confirmation, the Wi-Fi configuration data is broadcast via the mobile app, allowing the environmental monitoring device to successfully receive and complete the Wi-Fi connection configuration. After the initial input, the environmental monitoring device can automatically connect to the network based on the original configuration upon subsequent use. The aforementioned mobile app can be used to interact with the environmental monitoring device via the wireless communication module, for example, by obtaining detection data sent by the environmental monitoring device, or by sending detection data threshold update or reset commands to the environmental monitoring device. It should be noted that, if... Figure 22As shown, the mobile app displays a management page corresponding to each environmental monitoring device. Each monitoring device corresponds to a specific management page. This page displays the corresponding detection data, detection data threshold settings, and a remote reset button. The remote reset button is used to restart devices that can be restarted by the currently displayed environmental monitoring device. When the environmental monitoring device has a normal network connection, the mobile app can access the display interface corresponding to that device. When the environmental monitoring device has a network connection problem, the mobile app cannot access the display interface corresponding to that device and automatically displays a pop-up window indicating that the network connection to that device has failed.

[0092] Therefore, the solution provided in this application achieves the goal of remotely controlling the restart of environmental monitoring devices with network malfunctions, thereby reducing labor costs and solving the problem of high labor costs caused by relying on manual on-site restart of environmental monitoring devices when network problems occur in existing technologies.

[0093] Example 2

[0094] According to an embodiment of the present invention, an embodiment of a control method for an environmental monitoring device is provided. It should be noted that the steps shown in the flowchart in the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions. Furthermore, although a logical order is shown in the flowchart, in some cases, the steps shown or described may be executed in a different order than that shown here.

[0095] Figure 23 This is a schematic diagram of a control method for an optional environmental monitoring device according to an embodiment of the present invention, such as... Figure 23 As shown, this method is applied to the target device and includes the following steps:

[0096] Step S2301: Identify the first environmental monitoring device that has experienced a network connection anomaly from among multiple environmental monitoring devices.

[0097] Optionally, the aforementioned target device is an electronic device, which may be a mobile phone, computer, tablet, smart wearable device, etc. In step S2301, the target device can determine the first environmental monitoring device that has experienced a network connection abnormality from among multiple environmental monitoring devices based on the communication status of its wireless communication with each environmental monitoring device. The target device communicates with multiple environmental monitoring devices in real time.

[0098] Step S2302: Determine a second environmental monitoring device from among multiple environmental monitoring devices, wherein the second environmental monitoring device is used to control the restart of the first environmental monitoring device, and the second environmental monitoring device is wiredly connected to the first environmental monitoring device.

[0099] In step S2302, the target device can determine a second environmental control device capable of controlling the restart of the first environmental monitoring device from multiple environmental monitoring devices according to a preset correspondence table. The second environmental monitoring device can be multiple or a single device. In an optional embodiment, the multiple environmental monitoring devices can be divided into at least one environmental monitoring device group. In each environmental monitoring device group, the environmental monitoring devices within the group are wired to each other and can restart each other.

[0100] Step S2303: Send a reset command to the second environmental monitoring device wirelessly so that the second environmental monitoring device controls the first environmental monitoring device to restart according to the reset command.

[0101] The reset instruction may include a reset flag.

[0102] Based on the scheme defined in steps S2301 to S2303 above, it can be understood that in this embodiment of the invention, the method of controlling an environmental monitoring device to enable another environmental monitoring device to reset and restart via a wired connection communication method using network communication is adopted. This involves identifying a first environmental monitoring device experiencing a network connection abnormality from among multiple environmental monitoring devices, then identifying a second environmental monitoring device from among multiple environmental monitoring devices, and wirelessly sending a reset command to the second environmental monitoring device, so that the second environmental monitoring device controls the first environmental monitoring device to restart according to the reset command. The second environmental monitoring device is used to control the restart of the first environmental monitoring device, and the second environmental monitoring device is wiredly connected to the first environmental monitoring device.

[0103] It is worth noting that in the above process, since the current environmental monitoring device is connected to other network-malfunctioning environmental monitoring devices via a wired connection, the current environmental monitoring device can wirelessly obtain a reset command, and then restart the other network-malfunctioning environmental monitoring devices based on the reset command. This achieves effective control of the network-malfunctioning environmental monitoring devices using the normally functioning environmental monitoring devices, realizing the effect of remote control, reducing labor costs, and avoiding the problem of high labor costs caused by the inability to control network-malfunctioning environmental monitoring devices wirelessly, which requires relevant personnel to restart them on-site.

[0104] Therefore, the solution provided in this application achieves the goal of remotely controlling the restart of environmental monitoring devices with network malfunctions, thereby reducing labor costs and solving the problem of high labor costs caused by relying on manual on-site restart of environmental monitoring devices when network problems occur in existing technologies.

[0105] Example 3

[0106] Figure 24 This is a schematic diagram of a control method for an optional environmental monitoring device according to an embodiment of the present invention, such as... Figure 24 As shown, this method, applied to the aforementioned environmental monitoring device, includes the following steps:

[0107] Step S2401: Obtain the reset command sent wirelessly by the target device.

[0108] In step S2401, the current environmental control device can obtain a reset command sent by the target device via wireless communication. The reset command is used to control the target environmental control device to restart. The target environmental control device is not the current environmental control device.

[0109] Step S2402: Based on the reset command, output a first restart signal to the target environmental monitoring device to restart the target environmental monitoring device, wherein the target environmental monitoring device is an environmental monitoring device with network failure, and the current environmental monitoring device is wiredly connected to the target environmental monitoring device.

[0110] In step S2402, after the current environmental control device receives the reset command, the current environmental control device can generate a first restart signal based on the reset command, and then output the first restart signal to the target environmental monitoring device to restart the target environmental monitoring device.

[0111] Based on the scheme defined in steps S2401 to S2402 above, it can be understood that in this embodiment of the invention, the method of enabling another environmental monitoring device to reset and restart by controlling the environmental monitoring device through a wired connection communication via network communication is adopted. By obtaining the reset command sent by the target device wirelessly, a first restart signal is output to the target environmental monitoring device based on the reset command to restart the target environmental monitoring device. The target environmental monitoring device is an environmental monitoring device with network failure, and the current environmental monitoring device is wiredly connected to the target environmental monitoring device.

[0112] It is worth noting that in the above process, since the current environmental monitoring device is connected to other network-malfunctioning environmental monitoring devices via a wired connection, the current environmental monitoring device can wirelessly obtain a reset command, and then restart the other network-malfunctioning environmental monitoring devices based on the reset command. This achieves effective control of the network-malfunctioning environmental monitoring devices using the normally functioning environmental monitoring devices, realizing the effect of remote control, reducing labor costs, and avoiding the problem of high labor costs caused by the inability to control network-malfunctioning environmental monitoring devices wirelessly, which requires relevant personnel to restart them on-site.

[0113] Therefore, the solution provided in this application achieves the goal of remotely controlling the restart of environmental monitoring devices with network malfunctions, thereby reducing labor costs and solving the problem of high labor costs caused by relying on manual on-site restart of environmental monitoring devices when network problems occur in existing technologies.

[0114] In one optional embodiment, the current environmental control device may also receive a second restart signal output by other environmental monitoring devices, process the second restart signal to obtain a third restart signal, and then determine whether to restart the current environmental monitoring device based on the third restart signal.

[0115] Example 4

[0116] According to an embodiment of the present invention, an environmental monitoring system is provided, the system comprising:

[0117] At least one environmental monitoring device group, wherein each environmental monitoring device group includes the aforementioned environmental monitoring devices, and in each environmental monitoring device group, a target environmental monitoring device is connected to the first reset receiving module of other environmental monitoring devices in the current environmental monitoring device group, and the target environmental monitoring device is any one of the environmental monitoring devices in the current environmental monitoring device group.

[0118] In each environmental monitoring device group, the target environmental monitoring device can receive a reset command sent by the target device, change the level of the output to the reset output module, and make the changed signal flow through the reset output module to other environmental monitoring devices in the current environmental monitoring device group, so as to restart the other environmental monitoring devices at the same time.

[0119] Example 5

[0120] According to an embodiment of the present invention, an embodiment of a control device for an environmental monitoring device is provided, wherein, Figure 25 This is a schematic diagram of a control device for an optional environmental monitoring device according to an embodiment of the present invention, such as... Figure 25 As shown, the device includes:

[0121] The first determining module 2501 is used to determine the first environmental monitoring device that has experienced a network connection abnormality from among multiple environmental monitoring devices;

[0122] The second determining module 2502 is used to determine a second environmental monitoring device from a plurality of environmental monitoring devices, wherein the second environmental monitoring device is used to control the first environmental monitoring device to restart, and the second environmental monitoring device is wiredly connected to the first environmental monitoring device.

[0123] The transmitting module 2503 is used to wirelessly send a reset command to the second environmental monitoring device, so that the second environmental monitoring device controls the first environmental monitoring device to restart according to the reset command.

[0124] It should be noted that the first determining module 2501, the second determining module 2502, and the sending module 2503 mentioned above correspond to steps S2301 to S2303 in the above embodiments. The examples and application scenarios implemented by the three modules and the corresponding steps are the same, but are not limited to the content disclosed in the above embodiment 1.

[0125] Example 6

[0126] According to another aspect of the present invention, a computer-readable storage medium is also provided, wherein a computer program is stored in the computer-readable storage medium, and the computer program is configured to execute the control method of the above-described environmental monitoring device when it is run.

[0127] Example 7

[0128] According to another aspect of the present invention, an electronic device is also provided, the electronic device including one or more processors; a memory for storing one or more programs, wherein when the one or more programs are executed by the one or more processors, the one or more processors are configured to run the programs, wherein the programs are configured to execute the control method of the above-described environmental monitoring device during runtime.

[0129] The sequence numbers of the above embodiments of the present invention are for descriptive purposes only and do not represent the superiority or inferiority of the embodiments.

[0130] In the above embodiments of the present invention, the descriptions of each embodiment have different focuses. For parts not described in detail in a certain embodiment, please refer to the relevant descriptions of other embodiments.

[0131] In the several embodiments provided in this application, it should be understood that the disclosed technical content can be implemented in other ways. The device embodiments described above are merely illustrative; for example, the division of units can be a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the displayed or discussed mutual couplings, direct couplings, or communication connections may be through some interfaces; indirect couplings or communication connections between units or modules may be electrical or other forms.

[0132] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.

[0133] Furthermore, the functional units in the various embodiments of the present invention can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.

[0134] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods of the various embodiments of the present invention. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, read-only memory (ROM), random access memory (RAM), portable hard drives, magnetic disks, or optical disks.

[0135] The above are merely preferred embodiments of the present invention. It should be noted that those skilled in the art can make various improvements and modifications without departing from the principle of the present invention, and these improvements and modifications should also be considered within the scope of protection of the present invention.

Claims

1. An environmental monitoring device, characterized in that, The environmental monitoring device is used to monitor, acquire, and upload environmental parameters, including: The main control module, connected to the reset output module, is used to wirelessly acquire a reset command to restart the target environmental monitoring device, and output a reset signal to the reset output module according to the reset command, wherein the target environmental monitoring device is an environmental monitoring device with network malfunction. The reset output module is wired to the target environment monitoring device and is used to output a first restart signal to the target environment monitoring device based on the reset signal, so as to restart the target environment monitoring device. The first reset receiving module is connected to the main control module and is used to receive the second restart signal output by other environmental monitoring devices, and output a third restart signal to the main control module based on the second restart signal; The main control module is also used to acquire the third restart signal and determine whether to restart the current environment monitoring device based on the third restart signal.

2. The apparatus according to claim 1, characterized in that, The reset output module includes: A target transistor is used to receive the reset signal and determine the first restart signal based on the reset signal. The base of the target transistor is connected to the reset signal output terminal of the main control module, the emitter of the target transistor is connected to ground, the collector of the target transistor is connected to a first voltage terminal through a first resistor, and the collector of the target transistor is connected to the restart signal input terminal of the target environmental monitoring device.

3. The apparatus according to claim 1, characterized in that, The first reset receiving module includes: The target MOS transistor is used to acquire the second restart signal and determine the third restart signal based on the second restart signal. The gate of the target MOS transistor is connected to the collector of the target transistor in the other environmental monitoring device, the source of the target MOS transistor is connected to ground, and the drain of the target MOS transistor is connected to the second voltage terminal and the restart signal input terminal of the main control module.

4. The apparatus according to claim 1, characterized in that, The environmental monitoring device also includes: The second reset receiving module includes a first button, one end of which is connected to the ground wire, and the other end of which is connected to the restart signal input terminal of the main control module. The first button is used to control the restart of the current environment monitoring device.

5. The apparatus according to claim 1, characterized in that, The environmental monitoring device also includes: The wireless communication module is electrically connected to the main control module, and the wireless communication module communicates with the main control module via serial port. The wireless communication module is used to obtain the reset command.

6. A control method for an environmental monitoring device, characterized in that, Applied to a target device, the environmental monitoring device is used to monitor, acquire, and upload environmental parameters. The environmental monitoring device includes: a first reset receiving module connected to a main control module, used to receive a second restart signal output by other environmental monitoring devices, and based on the second restart signal, output a third restart signal to the main control module. The main control module is also used to acquire the third restart signal and, based on the third restart signal, determine whether to restart the current environmental monitoring device. The control method includes: Identify the first environmental monitoring device that experienced the network anomaly from among multiple environmental monitoring devices; A second environmental monitoring device is determined from the plurality of environmental monitoring devices, wherein the second environmental monitoring device is used to control the first environmental monitoring device to restart, and the second environmental monitoring device is wiredly connected to the first environmental monitoring device; A reset command is wirelessly sent to the second environmental monitoring device, so that the second environmental monitoring device controls the first environmental monitoring device to restart according to the reset command.

7. A control method for an environmental monitoring device, characterized in that, The environmental monitoring device according to any one of claims 1 to 5 comprises: Obtain the reset command sent wirelessly by the target device; Based on the reset command, a first restart signal is output to the target environment monitoring device to restart the target environment monitoring device, wherein the target environment monitoring device is an environment monitoring device with network failure, and the current environment monitoring device is wiredly connected to the target environment monitoring device.

8. The method according to claim 7, characterized in that, The method further includes: Receive the second restart signal output by other environmental monitoring devices, process the second restart signal, and obtain the third restart signal; Based on the third restart signal, determine whether to restart the current environmental monitoring device.

9. An environmental monitoring system, characterized in that, include: At least one group of environmental monitoring devices, wherein each group of environmental monitoring devices includes the environmental monitoring device according to any one of claims 1 to 5, wherein in each group of environmental monitoring devices, a target environmental monitoring device is connected to a first reset receiving module of another environmental monitoring device in the current group of environmental monitoring devices, and the target environmental monitoring device is any one of the environmental monitoring devices in the current group of environmental monitoring devices.

Citation Information

Patent Citations

  • An Internet of Things communication fault detection and recovery method and an Internet of Things system

    CN109714733A

  • System, method and apparatus for controlled entry of a sensor network node into a discovery state

    US10313197B1