Automatic control method and device for single fire switch
By extending the sleep or delaying startup time and configuring working parameters, the startup failure caused by the voltage drop after power-on is solved, and the flexible start-up of the single fire switch and efficient user interaction are achieved.
Patent Information
- Application Number
- CN202110583528.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-05-27
- Publication Date
- 2025-08-29
- Estimated Expiration
- 2041-05-27
AI Technical Summary
After powering on, the single fire switch is rapidly decreasing due to the rapid decrease in the charging capacitor voltage, which causes the control module and the communication module to be unable to start successfully, making it impossible to interact with the single fire switch.
The control module and communication module are started using preset parameters. If the startup fails, the sleep time will be extended or the startup time will be delayed until successful. The communication module working parameters are configured in combination with recording the number of startups and detecting the power supply module voltage, providing high, medium and low performance modes to adapt to different power lamps.
It improves the start flexibility and compatibility of the single fire switch, ensures the smooth start of the control module and communication module, adapts to different power conditions, and improves user interaction capabilities.
Smart Images

Figure CN115413089B_ABST
Abstract
Description
Technical Field
[0001] The present invention mainly relates to the field of smart home, and in particular to an automatic control method and device for a single fire switch. Background Art
[0002] Zero-fire switches and single-fire switches are common types of switches in the smart home field. Single-fire switches are easy to install and do not require rewiring, and their market share continues to increase.
[0003] The single-fire switch includes a communication module (such as Bluetooth), a control module, a switch component, and a power supply module (such as a capacitor). The user terminal is wirelessly connected to the communication module to enable interaction between the user and the single-fire switch. The power supply module supplies power to the control module and the communication module so that the control module and the communication module can perform their respective functions. After the single-fire switch is powered on, the power supply module draws power and then discharges it to the control module and the communication module. During this process, the control module and the communication module will rapidly consume power, and the voltage of the charging capacitor will also drop rapidly. If the control module and the communication module fail to start successfully, if the control module and the communication module are started again, due to the sharp drop in the voltage of the charging capacitor, it will not be able to provide sufficient power to the control module and the communication module, resulting in the control module and the communication module being unable to start. Summary of the Invention
[0004] In order to solve the above technical problems, the present invention provides an automatic control method and device for a single fire switch, so that the single fire switch can be started smoothly.
[0005] To achieve the above-mentioned purpose, the present invention proposes an automatic control method for a single fire switch, wherein the single fire switch includes a communication module, a control module, and a power supply module for supplying power to the communication module and the control module. The method is characterized in that the automatic control method includes: after the single fire switch is powered on, starting the control module and the communication module with preset parameters, the preset parameters including a startup sleep time, and the power supply module draws power during the startup sleep time; if starting the control module and the communication module with the preset parameters fails, then starting the control module and the communication module after extending the startup sleep time, and if the startup is successful, then the method ends; otherwise, the startup sleep time is continued to be extended to start the control module and the communication module until the control module and the communication module are successfully started. To this end, if starting the control module and the communication module with the preset startup sleep time fails, then starting the control module and the communication module after extending the startup sleep time, so that the power supply module has more time to reserve startup power so that the control module and the communication module of the single fire switch can start smoothly.
[0006] In one embodiment of the present invention, the preset parameters also include a delayed startup time, and the communication module is activated after the delayed startup time expires. The method further includes: if the control module and the communication module fail to be activated using the preset parameters, further extending the delayed startup time to activate the communication module. To this end, by delaying the startup of the communication module, the power supply module has more time to reserve startup power, which can further ensure the smooth startup of the control module and the communication module of the single ignition switch.
[0007] In one embodiment of the present invention, the method further includes: recording the number of startups, and starting the control module and the communication module with a startup-sleep time proportional to the number of startups. To this end, a specific method for calculating the startup-sleep time is provided.
[0008] In one embodiment of the present invention, the method further includes calculating a cumulative activation / sleep time, and if the cumulative activation / sleep time exceeds a preset time, stopping activation of the control module and the communication module. This prevents the single ignition switch from being in an activated state for a prolonged period of time, thereby improving the flexibility of single ignition switch activation.
[0009] In one embodiment of the present invention, the method further includes detecting the real-time voltage of the power supply module, comparing the real-time voltage with a preset voltage, and configuring the operating parameters of the communication module based on the comparison result of the real-time voltage and the preset voltage. To this end, the operating parameters of the communication module can be configured based on the power level of the power supply module, which takes into account both the power level of the power supply module and the performance of the communication module, thereby improving the compatibility of single-fire switches.
[0010] In one embodiment of the present invention, the preset voltage includes a first preset voltage and a second preset voltage, the first preset voltage is greater than the second preset voltage, and the configuration of the working parameters of the communication module according to the comparison result of the real-time voltage and the preset voltage includes: if the real-time voltage is above the first preset voltage, the communication module is configured with the working parameters corresponding to the high-performance mode; if the real-time voltage is between the first preset voltage and the second preset voltage, the communication module is configured with the working parameters corresponding to the medium-performance mode; if the real-time voltage is below the second preset voltage, the communication module is configured with the working parameters corresponding to the low-performance mode. To this end, three performance modes are provided for the communication module of the single-fire switch, which can adapt to lamps of different powers and improve the compatibility of the single-fire switch.
[0011] The present invention also proposes an automatic control device for a single fire switch, which includes a communication module and a power supply module for powering the communication module. The automatic control device includes: an initial startup module, which starts the control module and the communication module with preset parameters after the single fire switch is powered on, and the preset parameters include a startup sleep time, during which the power supply module draws power; a subsequent startup module, which, if the startup of the control module and the communication module fails with the preset parameters, starts the control module and the communication module after extending the startup sleep time, and ends the startup if successful, otherwise continues to extend the startup sleep time to start the control module and the communication module until the control module and the communication module are successfully started.
[0012] In one embodiment of the present invention, the preset parameters also include a delayed start-up time, and the communication module is started after the delayed start-up time expires. The device also includes: if starting the control module and the communication module with the preset parameters fails, the communication module is started after the delayed start-up time is extended.
[0013] In one embodiment of the present invention, the device further comprises: recording a startup number, and starting the control module and the communication module with a startup sleep time proportional to the startup number.
[0014] In one embodiment of the present invention, the device further comprises: calculating the accumulated start-up and sleep-down time, and if the accumulated start-up and sleep-down time is greater than a preset time, stopping starting the control module and the communication module.
[0015] In one embodiment of the present invention, the device further includes: detecting the real-time voltage of the power supply module, comparing the real-time voltage with a preset voltage, and configuring the working parameters of the communication module according to the comparison result of the real-time voltage and the preset voltage.
[0016] In one embodiment of the present invention, the preset voltage includes a first preset voltage and a second preset voltage, the first preset voltage is greater than the second preset voltage, and configuring the working parameters of the communication module according to the comparison result of the real-time voltage and the preset voltage includes: if the real-time voltage is above the first preset voltage, then configuring the working parameters corresponding to the high-performance mode for the communication module; if the real-time voltage is between the first preset voltage and the second preset voltage, then configuring the working parameters corresponding to the performance mode for the communication module; if the real-time voltage is below the second preset voltage, then configuring the working parameters corresponding to the low-performance mode for the communication module.
[0017] The present invention also provides a single fire switch, which includes the automatic control device as described above.
[0018] The present invention also provides an electronic device, comprising a processor, a memory, and instructions stored in the memory, wherein the instructions implement the above-mentioned method when executed by the processor.
[0019] The present invention also provides a computer-readable storage medium having computer instructions stored thereon, which execute the above method when executed. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] The following drawings are only intended to illustrate and explain the present invention, and do not limit the scope of the present invention.
[0021] Figure 1 is a schematic diagram of a smart home environment according to an embodiment of the present invention;
[0022] Figure 2 is a flow chart of an automatic control method for a single fire switch according to an embodiment of the present invention;
[0023] Figure 3 is a schematic diagram of an automatic control device for a single fire switch according to an embodiment of the present invention;
[0024] Figure 4 is a schematic diagram of an electronic device according to an embodiment of the present invention.
[0025] Description of Reference Numerals
[0026] 100 Smart Home Environment
[0027] 110 FireWire
[0028] 120 ground wire
[0029] 130 lamps
[0030] 140 Single fire switch
[0031] 141 switch parts
[0032] 142 Automatic Control Module
[0033] 143 Communication Module
[0034] 144 power supply module
[0035] 150 user terminals
[0036] 200 Automatic Control Method of Single Fire Switch
[0037] Steps 210-220
[0038] 300 Automatic control device for single fire switch
[0039] 310 Initial startup module
[0040] 320 Subsequent startup module
[0041] 400 Electronic Equipment
[0042] 410 processor
[0043] 420 Memory DETAILED DESCRIPTION
[0044] In order to have a clearer understanding of the technical features, purposes and effects of the present invention, specific embodiments of the present invention are now described with reference to the accompanying drawings.
[0045] In the following description, many specific details are set forth to facilitate a full understanding of the present invention. However, the present invention may also be implemented in other ways different from those described herein. Therefore, the present invention is not limited to the specific embodiments disclosed below.
[0046] As used in this application and the claims, unless the context clearly indicates otherwise, the words "a," "an," "an," and / or "the" are not intended to refer to the singular but may include the plural. Generally speaking, the terms "comprises" and "include" only indicate the inclusion of the steps and elements specifically identified, and these steps and elements do not constitute an exclusive list. A method or apparatus may also include other steps or elements.
[0047] Figure 1 FIG. 1 is a schematic diagram of a smart home environment 100 according to an embodiment of the present invention. Figure 1 As shown, the smart home environment 100 includes a live wire 110 , a ground wire 120 , a lamp 130 , a single fire switch 140 and a user terminal 150 .
[0048] The lamp 130 is connected to a single-fire switch 140, and the single-fire switch 140 is wirelessly connected to the user terminal 150. For this reason, the user terminal can remotely control the lamp through the single-fire switch 140. The single-fire switch 140 includes a switch element 141, a control module 142, a communication module 143 and a power supply module 144. The switch element 141 can be a relay. When the switch element 141 is closed, the lamp 130 emits light, and when the switch element 141 is disconnected, the lamp 130 goes out. The control module 142 is connected to the switch element 141 and is used to control the opening and closing of the switch element 141. The communication module 143 is connected to the control module 142, and the communication module 143 can adopt the Bluetooth protocol or the Zigbee protocol, etc. The power supply module 144 is connected to both ends of the control module 142 and the communication module 143, and is used to supply power to the control module 142 and the communication module 143. The power supply module 144 can be a capacitor connected in parallel to both ends of the control module 142 and the communication module 143, and discharges power to the control module 142 and the communication module 143. The user terminal 150 is wirelessly connected to the communication module 143 and interacts with the communication module 143. The user terminal 150 is also used to interact with the user to control the single fire switch. The user device 150 can be a desktop computer, a laptop computer, a tablet computer, a smartphone, a wearable electronic device, etc., which is not limited here.
[0049] Figure 2 FIG. 2 is a flow chart of an automatic control method 200 for a single fire switch according to an embodiment of the present invention. Figure 1 The smart home environment shown in Figure 2 As shown, the automatic control method 200 includes:
[0050] Step 210: After the single fire switch is powered on, the control module and the communication module are started with preset parameters. The preset parameters include a start-up sleep time, during which the power supply module draws power.
[0051] The control module 142 and the communication module 143 are started with preset parameters, that is, the power supply module 144 discharges power to the control module 142 and the communication module 143, and the control module 142 and the communication module 143 use the power provided by the power supply module 144 to start. The preset parameters include a startup sleep time, during which the power supply module 144 draws power. After the startup sleep time expires, the power supply module 144 discharges power to the control module 142 and the communication module 143 to start the control module 142 and the communication module 143. Taking a startup sleep time of 1 second as an example, within 1 second of powering on the single fire switch 140, the power supply module 144 draws power from the live wire 110. After 1 second, the power supply module 144 discharges power to the control module 142 and the communication module 143 to start the control module 142 and the communication module 143.
[0052] Step 220: If the control module and the communication module fail to be started with the preset parameters, the control module and the communication module are started after the startup sleep time is extended. If the startup is successful, the process ends. Otherwise, the startup sleep time is continued to be extended to start the control module and the communication module until the control module and the communication module are successfully started.
[0053] Assume that the startup sleep time in step 210 is T1. If the startup is not successful, the startup sleep time is extended to start the control module 142 and the communication module 143, that is, the control module 142 and the communication module 143 are started for the second time with the startup sleep time T2, wherein the startup sleep time T2 is greater than the startup sleep time T1. If it is still unsuccessful, the startup sleep time is continued to be extended to start the control module 142 and the communication module 143, that is, the control module 142 and the communication module 143 are started for the third time with the startup sleep time T3, wherein the startup sleep time T3 is greater than the startup sleep time T2. And so on, the startup sleep time is extended until the startup control module and the communication module are successfully started.
[0054] For example, within 1 second after the single fire switch 140 is powered on, the power supply module 144 draws power from the live wire 110. After 1 second, the power supply module 144 discharges power to the control module 142 and the communication module 143 to start the control module 142 and the communication module 143. If the startup fails, the power supply module 144 discharges power to the control module 142 and the communication module 143 after an interval of 2 seconds to start the control module 142 and the communication module 143. If the startup still fails, the power supply module 144 discharges power to the control module 142 and the communication module 143 after an interval of 3 seconds to start the control module 142 and the communication module 143. And so on, the startup sleep time is extended until the control module 142 and the communication module 143 are successfully started.
[0055] In some embodiments, the preset parameters further include a delayed startup time, and the communication module is activated after the delayed startup time expires. The method further includes: if the control module and the communication module fail to be activated using the preset parameters, further extending the delayed startup time before activating the communication module. In this embodiment, the power supply module 144 discharges power to the control module 142 and the communication module 143, with the control module 142 activating first and the communication module 143 activating with a delayed startup, i.e., the communication module 143 is activated after the delayed startup time expires. During the delayed startup time, the control module 142 operates, while the communication module 143 does not operate. For example, within 1 second from the time the single fire switch 140 is powered on, the power supply module 144 draws power from the live wire 110. After 1 second, the power supply module 144 discharges power to the control module 142 and the communication module 143, and the communication module 143 delays 1 second to start. If the start-up fails, the power supply module 144 discharges power to the control module 142 and the communication module 143 after an interval of 2 seconds, and the communication module 143 delays 2 seconds to start. If the start-up still fails, the power supply module 144 discharges power to the control module 142 and the communication module 143 after an interval of 3 seconds, and the communication module 143 delays 3 seconds to start. And so on, the delayed start time is extended until the control module 142 and the communication module 143 are successfully started.
[0056] In some embodiments, the method further includes recording the number of startups and starting the control module and the communication module with a startup sleep time proportional to the number of startups. For example, during the first startup, the startup sleep time is set to 1 second, during the second startup, the startup sleep time is set to 2 seconds, and during the third startup, the startup sleep time is set to 3 seconds.
[0057] In some embodiments, the method further includes calculating the accumulated startup sleep time, and if the accumulated startup sleep time is greater than a preset time, stopping the startup control module and the communication module. For example, if the accumulated startup sleep time reaches 60 seconds, stopping the startup control module 142 and the communication module 143.
[0058] In some embodiments, the method further includes: detecting the real-time voltage of the power supply module, comparing the real-time voltage with a preset voltage, and configuring the working parameters of the communication module according to the comparison result of the real-time voltage and the preset voltage.
[0059] In some embodiments, the preset voltage includes a first preset voltage and a second preset voltage, the first preset voltage is greater than the second preset voltage, and configuring the working parameters of the communication module according to the comparison result of the real-time voltage and the preset voltage includes: if the real-time voltage is above the first preset voltage, then the communication module is configured with working parameters corresponding to the high-performance mode; if the real-time voltage is between the first preset voltage and the second preset voltage, then the communication module is configured with working parameters corresponding to the medium-performance mode; if the real-time voltage is below the second preset voltage, then the communication module is configured with working parameters corresponding to the low-performance mode.
[0060] As a non-limiting example, the first preset voltage is 10V, and the second preset voltage is 6V. If the real-time voltage exceeds 10V, the communication module 143 is configured with the working parameters corresponding to the high-performance mode. In the high-performance mode, the sleep time is 10ms and the transmission power is 9.8dBm. If the real-time voltage is between 6V and 10V, the communication module 143 is configured with the working parameters corresponding to the medium-performance mode. In the medium-performance mode, the sleep time is 500ms and the transmission power is 3.01dBm. If the real-time voltage is below 6V, the communication module 143 is configured with the working parameters corresponding to the low-performance mode. In the low-performance mode, the sleep time is 1s, the transmission power is 0.04dBm, and the high-performance mode is the default setting.
[0061] An embodiment of the present invention provides an automatic control method for a single fire switch. If the control module and the communication module fail to start within the preset startup sleep time, the control module and the communication module are started after the startup sleep time is extended. The power supply module has more time to reserve startup power so that the control module and the communication module of the single fire switch can start smoothly.
[0062] The present invention also provides an automatic control device for a single fire switch. Figure 3 Schematic diagram of an automatic control device 300 for a single fire switch according to an embodiment of the present invention. Figure 3 As shown, the automatic control device 300 includes:
[0063] The initial startup module 310 starts the control module and the communication module with preset parameters after the single fire switch is powered on. The preset parameters include the startup sleep time, during which the power supply module draws power;
[0064] The subsequent startup module 320, if the control module and the communication module fail to be started with the preset parameters, will start the control module and the communication module after extending the startup sleep time. If the startup is successful, it ends. Otherwise, it continues to extend the startup sleep time to start the control module and the communication module until the control module and the communication module are successfully started.
[0065] In some embodiments, the preset parameters also include a delayed startup time, and the communication module is started after the delayed startup time ends. The device 300 also includes: if starting the control module and the communication module with the preset parameters fails, the communication module is started after the delayed startup time is extended.
[0066] In some embodiments, the device 300 further includes: recording the number of startup times, and starting the control module and the communication module with a startup sleep time proportional to the number of startup times.
[0067] In some embodiments, the device 300 further includes: calculating the accumulated startup and sleep time, and if the accumulated startup and sleep time is greater than a preset time, stopping the startup control module and the communication module.
[0068] In some embodiments, the apparatus 300 further includes: detecting the real-time voltage of the power supply module, comparing the real-time voltage with a preset voltage, and configuring the working parameters of the communication module according to the comparison result of the real-time voltage and the preset voltage.
[0069] In some embodiments, the preset voltage includes a first preset voltage and a second preset voltage, the first preset voltage is greater than the second preset voltage, and configuring the working parameters of the communication module according to the comparison result of the real-time voltage and the preset voltage includes: if the real-time voltage is above the first preset voltage, then the communication module is configured with working parameters corresponding to the high-performance mode; if the real-time voltage is between the first preset voltage and the second preset voltage, then the communication module is configured with working parameters corresponding to the medium-performance mode; if the real-time voltage is below the second preset voltage, then the communication module is configured with working parameters corresponding to the low-performance mode.
[0070] The present invention further provides a single fire switch, which includes the automatic control device 300 described above.
[0071] The present invention also provides an electronic device 400 . Figure 4 FIG. 4 is a schematic diagram of an electronic device 400 according to an embodiment of the present invention. Figure 4 As shown, the electronic device 400 includes a processor 410 and a memory 420 , wherein the memory 420 stores instructions, wherein when the instructions are executed by the processor 410 , the method 200 described above is implemented.
[0072] The present invention further provides a computer-readable storage medium having computer instructions stored thereon. When the computer instructions are executed, the method 200 described above is executed.
[0073] Some aspects of the methods and apparatus of the present invention may be performed entirely by hardware, entirely by software (including firmware, resident software, microcode, etc.), or by a combination of hardware and software. The above hardware or software may be referred to as "data blocks," "modules," "engines," "units," "components," or "systems." The processor may be one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DAPDs), programmable logic devices (PLDs), field-programmable gate arrays (FPGAs), processors, automatic controllers, micro-automatic controllers, microprocessors, or combinations thereof. In addition, various aspects of the present invention may be embodied as computer products in one or more computer-readable media, the product including computer-readable program code. For example, computer-readable media may include, but are not limited to, magnetic storage devices (e.g., hard disks, floppy disks, tapes, etc.), optical disks (e.g., compact disks (CDs), digital versatile disks (DVDs), etc.), smart cards, and flash memory devices (e.g., cards, sticks, key drives, etc.).
[0074] Flowcharts are used herein to illustrate the operations performed by the methods according to the embodiments of the present application. It should be understood that the preceding operations are not necessarily performed in exact order. Instead, the various steps may be performed in reverse order or simultaneously. Furthermore, other operations may be added to these processes, or one or more operations may be removed from these processes.
[0075] It should be understood that although this specification is described according to various embodiments, not every embodiment contains only one independent technical solution. This narrative method of the specification is only for the sake of clarity. Those skilled in the art should regard the specification as a whole. The technical solutions in each embodiment can also be appropriately combined to form other implementation methods that can be understood by those skilled in the art.
[0076] The above description is only an illustrative embodiment of the present invention and is not intended to limit the scope of the present invention. Any equivalent changes, modifications and combinations made by those skilled in the art without departing from the concept and principle of the present invention shall fall within the scope of protection of the present invention.
Claims
1. A method (200) for automatically controlling a single fire switch, the single fire switch comprising a communication module, a control module, and a power supply module for supplying power to the communication module and the control module, characterized in that: The automatic control method (200) comprises: After the single fire switch is powered on, the control module and the communication module are started with preset parameters, the preset parameters including a start-up sleep time and a delayed start time, during which the power supply module takes power (210); and If the control module and the communication module fail to be started with the preset parameters, the control module is started first after extending the startup sleep time, and then the communication module is started after extending the delayed startup time. During the delayed startup time, the control module works and the communication module does not work. If the startup is successful, the process ends; otherwise, the startup sleep time is continued to be extended until the control module and the communication module are successfully started (220).
2. The automatic control method (200) of a single fire switch according to claim 1, characterized in that: The communication module is started after the delayed start time ends.
3. The automatic control method (200) of a single fire switch according to claim 1 or 2, characterized in that: The method (200) further includes: recording the number of startup times, and starting the control module and the communication module with a startup sleep time proportional to the number of startup times.
4. The automatic control method (200) of a single fire switch according to claim 1 or 2, characterized in that: The method (200) further includes: calculating the accumulated start-up sleep time, and if the accumulated start-up sleep time is greater than a preset time, stopping starting the control module and the communication module.
5. The automatic control method (200) of a single fire switch according to claim 1, characterized in that: The method (200) further includes: detecting the real-time voltage of the power supply module, comparing the real-time voltage with a preset voltage, and configuring the operating parameters of the communication module according to the comparison result between the real-time voltage and the preset voltage.
6. The automatic control method (200) of a single fire switch according to claim 5, characterized in that: The preset voltage includes a first preset voltage and a second preset voltage, the first preset voltage is greater than the second preset voltage, and configuring the working parameters of the communication module according to the comparison result of the real-time voltage and the preset voltage includes: if the real-time voltage is above the first preset voltage, then configuring the working parameters corresponding to the high-performance mode for the communication module; if the real-time voltage is between the first preset voltage and the second preset voltage, then configuring the working parameters corresponding to the performance mode for the communication module; if the real-time voltage is below the second preset voltage, then configuring the working parameters corresponding to the low-performance mode for the communication module.
7. An automatic control device (300) for a single fire switch, the single fire switch comprising a communication module, a control module and a power supply module for supplying power to the communication module and the control module, characterized in that: The automatic control device (300) comprises: An initial startup module (310) starts the control module and the communication module with preset parameters after the single fire switch is powered on, the preset parameters including a startup sleep time and a delayed startup time, during which the power supply module draws power; and A subsequent startup module (320) is configured to start the control module and the communication module after extending the startup sleep time if the startup fails with the preset parameters, and then start the control module first, and then start the communication module after extending the delayed startup time. During the delayed startup time, the control module works and the communication module does not work. If the startup is successful, the process ends; otherwise, the startup sleep time is continued to be extended until the control module and the communication module are successfully started.
8. The automatic control device (300) for a single fire switch according to claim 7, characterized in that: The communication module is started after the delayed start time ends.
9. The automatic control device (300) of a single fire switch according to claim 7 or 8, characterized in that: The device (300) further comprises: recording the number of startup times, and starting the control module and the communication module with a startup sleep time proportional to the number of startup times.
10. The automatic control device (300) of a single fire switch according to claim 7 or 8, characterized in that: The device (300) further comprises: calculating the accumulated start-up sleep time, and if the accumulated start-up sleep time is greater than a preset time, stopping starting the control module and the communication module.
11. The automatic control device (300) for a single fire switch according to claim 7, characterized in that: The device (300) further comprises: detecting the real-time voltage of the power supply module, comparing the real-time voltage with a preset voltage, and configuring the working parameters of the communication module according to the comparison result between the real-time voltage and the preset voltage.
12. The automatic control device (300) of a single fire switch according to claim 11, characterized in that: The preset voltage includes a first preset voltage and a second preset voltage, the first preset voltage is greater than the second preset voltage, and configuring the working parameters of the communication module according to the comparison result of the real-time voltage and the preset voltage includes: if the real-time voltage is above the first preset voltage, then configuring the working parameters corresponding to the high-performance mode for the communication module; if the real-time voltage is between the first preset voltage and the second preset voltage, then configuring the working parameters corresponding to the performance mode for the communication module; if the real-time voltage is below the second preset voltage, then configuring the working parameters corresponding to the low-performance mode for the communication module.
13. A single fire switch, characterized in that: The single fire switch includes the automatic control device according to any one of claims 7 to 12.
14. An electronic device (400), comprising a processor (410), a memory (420), and instructions stored in the memory (420), wherein the instructions, when executed by the processor (410), implement the method according to any one of claims 1 to 6.
15. A computer-readable storage medium having computer instructions stored thereon, wherein the computer instructions, when executed, perform the method according to any one of claims 1 to 6.
Citation Information
Patent Citations
Wirelessly controllable power switch module and starting method of power supply thereof
CN108243536A
Control method and device of Internet of Things smart home ZigBee single-fire switch
CN111432538A
Electronic price tag communication system, electronic price tag communication method and computer readable storage medium
CN112636790A