Control Method and Device for Single-Fire Switch
By configuring the working parameters of the single-fire switch communication module, the problem that the lamp cannot be completely turned off after the single-fire switch is turned off, and the compatibility and user experience of different lamps are improved.
Patent Information
- Application Number
- CN202110584265.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-05-27
- Publication Date
- 2025-07-22
- Estimated Expiration
- 2041-05-27
AI Technical Summary
The existing single-fire switch cannot be completely turned off after turning off the lights, especially the low-power lamps have high brightness, poor user experience and poor compatibility.
By receiving performance mode selection instructions input by the user terminal, the working parameters of the communication module, such as sleep time and transmission power, the communication module interacts in different performance modes, adapts to lamps of different powers, and reduces the aftermath after turning off the light.
Improves the compatibility of single fire switches for different lamps, and improves the user experience and adjustment flexibility after turning off the lights.
Smart Images

Figure CN115413095B_ABST
Abstract
Description
Technical Field
[0001] The present invention mainly relates to the field of smart home, and particularly relates to a control method and device for a single - fire switch. Background Art
[0002] Zero - fire switches and single - fire switches are common switch types in the field of smart home. Single - fire switches are easy to install and do not require re - wiring, and their market share is increasing continuously.
[0003] The communication module (usually a Bluetooth module) and the control module in a single - fire switch are connected in series to a lamp. The control module controls the switch of the switch component to turn on and off the lamp. The communication module is wirelessly connected to a user terminal, and the user can remotely control the single - fire switch through the user terminal. After turning off the light, there is still a weak current passing through the communication module so that the user can control the lamp at any time through the wireless connection between the user terminal and the communication module. However, the same current also passes through the lamp connected in series with the communication module, making the lamp unable to be completely turned off after turning off the light. Especially for low - power lamps, the brightness is higher after turning off the light, resulting in poor user experience and poor compatibility with different lamps. Summary of the Invention
[0004] To solve the above - mentioned technical problems, the present invention provides a control method and device for a single - fire switch to improve the user experience after turning off the light and the compatibility between the lamp and the single - fire switch.
[0005] To achieve the above object, the present invention proposes a control method for a single - fire switch. The single - fire switch includes a communication module, and the control method includes: receiving a first performance - mode selection instruction input by the user on the user terminal, where the first performance - mode selection instruction is to select a performance mode from multiple performance modes; determining working parameters corresponding to the selected performance mode according to the selected performance mode; configuring the communication module of the single - fire switch according to the working parameters, and the communication module interacts with the user terminal under the working parameters. Therefore, different performance modes can be configured for the communication module, which can be compatible with lamps of various powers, reduce the afterglow of the lamp after turning off the light, and improve the compatibility of the single - fire switch.
[0006] In an embodiment of the present invention, the working parameters include a sleep time, and the method includes: determining the sleep time corresponding to the selected performance mode according to the selected performance mode; configuring the communication module of the single - fire switch according to the sleep time, and the communication module interacts with the user terminal under the sleep time. Therefore, the configuration of the sleep time of the communication module can be realized.
[0007] In an embodiment of the present invention, the working parameter includes the transmission power, and the method includes: determining the transmission power corresponding to the selected performance mode according to the selected performance mode; configuring the communication module of the single-pole switch according to the transmission power, and the communication module interacts with the user terminal at the transmission power. Therefore, the configuration of the transmission power of the communication module can be realized.
[0008] In an embodiment of the present invention, the multiple performance modes consist of a high-performance mode, a medium-performance mode, and a low-performance mode, and the method includes: receiving a first performance mode selection instruction input by the user on the user terminal, and the first performance mode selection instruction is to select one performance mode from the high-performance mode, the medium-performance mode, and the low-performance mode. Therefore, the switching of the communication module among the three performance modes is realized.
[0009] In an embodiment of the present invention, the method further includes: receiving a second performance mode selection instruction input by the user on the user terminal, and the second performance mode selection instruction is generated from the first performance mode selection instruction and is different from the first performance mode selection instruction. Therefore, after the user selects the first performance mode, if they are still not satisfied with the afterglow of the lamp, they can continue to select a different performance mode until they accept it, improving the flexibility of adjustment and the user experience.
[0010] The present invention also proposes a control device for a single-pole switch. The single-pole switch includes a communication module, and the control device includes: a receiving module that receives a first performance mode selection instruction input by the user on the user terminal, and the first performance mode selection instruction is to select one performance mode from multiple performance modes; a determining module that determines the working parameter corresponding to the selected performance mode according to the selected performance mode; a configuring module that configures the communication module of the single-pole switch according to the working parameter, and the communication module interacts with the user terminal at the working parameter.
[0011] In an embodiment of the present invention, the working parameter includes a sleep time, and the device includes: determining the sleep time corresponding to the selected performance mode according to the selected performance mode; configuring the communication module of the single-pole switch according to the sleep time, and the communication module interacts with the user terminal at the sleep time.
[0012] In an embodiment of the present invention, the working parameter includes the transmission power, and the device includes: determining the transmission power corresponding to the selected performance mode according to the selected performance mode; configuring the communication module of the single-pole switch according to the transmission power, and the communication module interacts with the user terminal at the transmission power.
[0013] In an embodiment of the present invention, the multiple performance modes consist of a high-performance mode, a medium-performance mode, and a low-performance mode. The device includes: a receiving module that receives a first performance mode selection instruction input by a user at a user terminal, and the first performance mode selection instruction is to select one performance mode from the high-performance mode, the medium-performance mode, and the low-performance mode.
[0014] In an embodiment of the present invention, the device further includes: receiving a second performance mode selection instruction input by the user at the user terminal, the second performance mode selection instruction is generated from the first performance mode selection instruction, and the second performance mode selection instruction is different from the first performance mode selection instruction.
[0015] The present invention also proposes a single-pole switch, and the single-pole switch includes the control device as described above.
[0016] The present invention also proposes an electronic device, including a processor, a memory, and instructions stored in the memory, wherein when the instructions are executed by the processor, the above-described method is implemented.
[0017] The present invention also proposes a computer-readable storage medium, on which computer instructions are stored, and the computer instructions execute the above-described method when being run. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] The following drawings are only intended to illustrate and explain the present invention schematically and do not limit the scope of the present invention. Among them,
[0019] Figure 1 is a schematic diagram of a smart home environment according to an embodiment of the present invention;
[0020] Figure 2 is a flowchart of a control method of a single-pole switch according to an embodiment of the present invention;
[0021] Figure 3 is a schematic diagram of a control device of a single-pole switch according to an embodiment of the present invention;
[0022] Figure 4 is a schematic diagram of an electronic device according to an embodiment of the present invention.
[0023] DESCRIPTION OF THE REFERENCE NUMERALS
[0024] 100 Smart home environment
[0025] 110 Live wire
[0026] 120 Ground wire
[0027] 130 Lamp
[0028] 140 Single - phase switch
[0029] 141 Switching component
[0030] 142 Control module
[0031] 143 Communication module
[0032] 150 User terminal
[0033] 200 Control method of single - phase switch
[0034] 210 - 230 Steps
[0035] 300 Control device of single - phase switch
[0036] 310 Receiving module
[0037] 320 Determination module
[0038] 330 Configuration module
[0039] 400 Electronic device
[0040] 410 Processor
[0041] 420 Memory Detailed implementation manners
[0042] In order to have a clearer understanding of the technical features, objectives, and effects of the present invention, the detailed implementation manners of the present invention will now be described with reference to the accompanying drawings.
[0043] Many specific details are set forth in the following description in order to provide a thorough understanding of the present invention. However, the present invention may be implemented in other ways different from those described herein, and thus the present invention is not limited by the specific embodiments disclosed below.
[0044] As shown in the present application and the claims, unless the context clearly indicates otherwise, the words "a", "an", "one", and / or "the" are not specifically singular and may also include the plural. Generally speaking, the terms "comprising" and "including" only indicate the inclusion of the steps and elements that have been clearly identified, and these steps and elements do not constitute an exclusive list. A method or device may also include other steps or elements.
[0045] Figure 1 is a schematic diagram of a smart home environment 100 according to an embodiment of the present invention. As Figure 1 shown, the smart home environment 100 includes a live wire 110, a ground wire 120, a lamp 130, a single - phase switch 140, and a user terminal 150.
[0046] The lighting fixture 130 is connected to the single - pole switch 140, and the single - pole switch 140 is wirelessly connected to the user terminal 150. Therefore, the user terminal can remotely control the lighting fixture through the single - pole switch 140. The single - pole switch 140 includes a switch component 141, a control module 142, and a communication module 143. The switch component 141 can be a relay. When the switch component 141 is closed, the lighting fixture 130 emits light, and when the switch component 141 is open, the lighting fixture 130 goes out. The control module 142 is connected to the switch component 141 and is used to control the opening and closing of the switch component 141. The communication module 143 is connected to the control module 142. The communication module 143 can adopt Bluetooth protocol or Zigbee protocol, etc. 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 - pole switch. The user device 150 can be a desktop computer, a laptop computer, a tablet computer, a smart phone, a wearable electronic device, etc., which is not limited here.
[0047] The present invention proposes a control method for a single - pole switch, and this method can be implemented in Figure 1 the smart home environment 100 as shown. Figure 2 FIG. is a flowchart of a control method 200 for a single - pole switch according to an embodiment of the present invention. As Figure 2 shown, the control method 200 includes:
[0048] Step 210, receiving a first performance mode selection instruction input by the user on the user terminal, where the first performance mode selection instruction is to select one performance mode from multiple performance modes.
[0049] The user terminal 150 can present multiple performance modes. For example, multiple performance modes are presented through a drop - down menu. After the user browses multiple performance modes and selects one of them, this selection of the user is called the first performance mode selection instruction in the embodiments of the present invention. The communication module 143 has different performances in multiple performance modes. The communication module 143 can interact with the user terminal 150 quickly and nimbly under higher performance. On the contrary, the interaction between the communication module 143 and the user terminal 150 is relatively slow under lower performance. In some embodiments, the user terminal will automatically recommend a performance mode to the user, and the user can choose to receive or reject the recommended performance mode.
[0050] The number of performance modes is not limited in the present invention. Preferably, it can include three performance modes. In the embodiment of three performance modes, multiple performance modes are composed of a high - performance mode, a medium - performance mode, and a low - performance mode. The method includes: receiving a first performance mode selection instruction input by the user on the user terminal, where the first performance mode selection instruction is to select one performance mode from the high - performance mode, the medium - performance mode, and the low - performance mode.
[0051] Step 220: Determine the working parameters corresponding to the selected performance mode according to the selected performance mode.
[0052] Corresponding working parameters can be established in advance for each performance mode, and then the working parameters corresponding to the selected performance mode can be automatically determined according to the selected performance mode. Alternatively, the working parameters corresponding to the selected performance mode can be automatically determined according to the selected performance mode, and the user can manually adjust the working parameters. In some embodiments, the working parameters include the sleep time. The communication module 143 sleeps during the sleep time and interacts with the user terminal 150 during the non-sleep time. The sleep time and the non-sleep time can be periodic, and the sleep time can be adjusted by the duty cycle of the communication module 143. In some embodiments, the working parameters further include the transmit power. During the non-sleep time, the communication module 143 interacts with the user terminal 150 at the transmit power. The higher the transmit power, the better the performance, and vice versa.
[0053] As a non-limiting example, the communication module 143 includes three performance modes, namely, the high-performance mode, the medium-performance mode, and the low-performance mode. In the high-performance mode, the sleep time is 10 ms and the transmit power is 9.8 dbm. In the medium-performance mode, the sleep time is 500 ms and the transmit power is 3.01 dbm. In the low-performance mode, the sleep time is 1 s and the transmit power is 0.04 dbm. The high-performance mode is the default setting.
[0054] Step 230: Configure the communication module of the single-pole switch according to the working parameters, and the communication module interacts with the user terminal under the working parameters.
[0055] Step 220 determines the working parameters of the communication module 143. This step configures the communication module of the single-pole switch according to the working parameters. For example, configure the corresponding sleep time and / or transmit power for the single-pole switch, and the communication module interacts with the user terminal at the sleep time and / or transmit power.
[0056] Through the control method 200 in the embodiments of the present invention, for a lamp with a relatively high power, the high-performance mode can be selected for the communication module. Since the power of the high-performance communication module during operation is still very small compared to the power of the lamp, the brightness of the lamp after turning off the light can be ignored in this case, while taking into account the afterglow of the lamp after turning off the light and the performance of the communication module. On the contrary, for a lamp with a relatively low power, the low-performance mode can be selected for the communication module. In this case, the brightness of the lamp after turning off the light is significantly reduced, effectively reducing the afterglow of the low-performance lamp after turning off the light. Therefore, the control method 200 in the embodiments of the present invention makes the single-pole switch configurable, can be compatible with lamps of various powers, reduce the afterglow of the lamp after turning off the light, and improve the compatibility of the single-pole switch.
[0057] In some embodiments, the method further includes: receiving a second performance mode selection instruction input by a user at a user terminal, where the second performance mode selection instruction is generated from a first performance mode selection instruction and is different from the first performance mode selection instruction. After the user selects the first performance mode, if still not satisfied with the afterglow of the lamp, the user can continue to select a different performance mode until acceptance, improving the flexibility of adjustment and the user experience.
[0058] Embodiments of the present invention provide a control method for a single - pole switch, which can configure different performance modes for a communication module, be compatible with lamps of various powers, reduce the afterglow of the lamp after turning off the light, and improve the compatibility of the single - pole switch.
[0059] The present invention also proposes a control device for a single - pole switch. Figure 3 It is a schematic diagram of a control device 300 for a single - pole switch according to an embodiment of the present invention. As Figure 3 shown, the control device 300 includes:
[0060] A receiving module 310, which receives a first performance mode selection instruction input by a user at a user terminal, and the first performance mode selection instruction is to select one performance mode from multiple performance modes.
[0061] A determining module 320, which determines the working parameters corresponding to the selected performance mode according to the selected performance mode.
[0062] A configuration module 330, which configures the communication module of the single - pole switch according to the working parameters, and the communication module interacts with the user terminal under the working parameters.
[0063] In some embodiments, the working parameters include a sleep time. The device 300 includes: determining the sleep time corresponding to the selected performance mode according to the selected performance mode; configuring the communication module of the single - pole switch according to the sleep time, and the communication module interacts with the user terminal under the sleep time.
[0064] In some embodiments, the working parameters include a transmission power. The device 300 includes: determining the transmission power corresponding to the selected performance mode according to the selected performance mode; configuring the communication module of the single - pole switch according to the transmission power, and the communication module interacts with the user terminal under the transmission power.
[0065] In some embodiments, the multiple performance modes consist of a high - performance mode, a medium - performance mode, and a low - performance mode. The device 300 includes: the receiving module 310 receives a first performance mode selection instruction input by a user at a user terminal, and the first performance mode selection instruction is to select one performance mode from the high - performance mode, the medium - performance mode, and the low - performance mode.
[0066] In some embodiments, the device 300 further includes: receiving a second performance mode selection instruction input by a user at a user terminal, the second performance mode selection instruction being generated from a first performance mode selection instruction and being different from the first performance mode selection instruction.
[0067] The process of controlling the device 300 may refer to the control method 200 in the foregoing text, which will not be elaborated herein.
[0068] The present invention also provides a single-pole switch, which includes the control device 300 as described above.
[0069] The present invention also provides an electronic device 400. Figure 4 is a schematic diagram of an electronic device 400 according to an embodiment of the present invention. As Figure 4 shown, the electronic device 400 includes a processor 410 and a memory 420. The memory 420 stores instructions, and when the instructions are executed by the processor 410, the method 200 as described above is implemented.
[0070] The present invention also provides a computer-readable storage medium, on which computer instructions are stored, and when the computer instructions are run, the method 200 as described above is executed.
[0071] Some aspects of the method and device of the present invention can be executed entirely by hardware, can be executed entirely by software (including firmware, resident software, microcode, etc.), or can be executed by a combination of hardware and software. The above hardware or software can be referred to as "data block", "module", "engine", "unit", "component" or "system". The processor can 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, controllers, microcontrollers, microprocessors or combinations thereof. In addition, aspects of the present invention may be embodied as a computer product located in one or more computer-readable media, the product including computer-readable program code. For example, the computer-readable medium may include, but is not limited to, magnetic storage devices (such as hard disks, floppy disks, magnetic tapes...), optical discs (such as compact discs (CDs), digital versatile discs (DVDs)...), smart cards, and flash memory devices (such as cards, sticks, key drives...).
[0072] Here, a flowchart is used to illustrate the operations performed by the method according to the embodiments of the present application. It should be understood that the foregoing operations are not necessarily executed precisely in order. Instead, various steps can be processed in reverse order or simultaneously. Also, other operations can be added to these processes, or one or several operations can be removed from these processes.
[0073] It should be understood that although this specification is described according to various embodiments, not every embodiment only contains an independent technical solution. This narrative way of the specification is only for clarity. Those skilled in the art should regard the specification as a whole, and the technical solutions in each embodiment can also be appropriately combined to form other embodiments that can be understood by those skilled in the art.
[0074] The above are only illustrative specific embodiments of the present invention and are 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 principles of the present invention shall fall within the scope of protection of the present invention.
Claims
1. A control method for a single - fire switch (200), the single - fire switch including a communication module, characterized in that, The control method (200) includes: Receiving a first performance mode selection instruction input by a user at a user terminal, where the first performance mode selection instruction is to select one performance mode from multiple performance modes (210); Determining working parameters corresponding to the selected performance mode according to the selected performance mode (220); and Configuring a communication module of the single-pole switch according to the working parameters, where the communication module interacts with the user terminal under the working parameters (230), wherein the working parameters include a sleep time and / or a transmission power, and the sleep time is adjusted by a duty cycle of the communication module.
2. The control method (200) according to claim 1, characterized in that The control method (200) includes: determining a sleep time corresponding to the selected performance mode according to the selected performance mode; configuring the communication module of the single-pole switch according to the sleep time, and the communication module interacts with the user terminal under the sleep time.
3. The control method (200) according to claim 1 or 2, characterized in that The control method (200) includes: determining a transmission power corresponding to the selected performance mode according to the selected performance mode; configuring the communication module of the single-pole switch according to the transmission power, and the communication module interacts with the user terminal under the transmission power.
4. The control method (200) according to claim 1, characterized in that, The multiple performance modes are composed of a high-performance mode, a medium-performance mode, and a low-performance mode. The control method (200) includes: receiving a first performance mode selection instruction input by a user at a user terminal, where the first performance mode selection instruction is to select one performance mode from the high-performance mode, the medium-performance mode, and the low-performance mode.
5. The control method (200) according to claim 1, characterized in that, The control method (200) further includes: receiving a second performance mode selection instruction input by the user at the user terminal, where the second performance mode selection instruction is generated from the first performance mode selection instruction and is different from the first performance mode selection instruction.
6. A control device (300) for a single-pole switch, the single-pole switch including a communication module, characterized in that, The control device (300) includes: A receiving module (310) that receives a first performance mode selection instruction input by a user at a user terminal, where the first performance mode selection instruction is to select one performance mode from multiple performance modes; A determining module (320) that determines working parameters corresponding to the selected performance mode according to the selected performance mode; and A configuration module (330) that configures a communication module of the single-pole switch according to the working parameters, where the communication module interacts with the user terminal under the working parameters, wherein the working parameters include a sleep time and a transmission power, and the sleep time is adjusted by a duty cycle of the communication module.
7. The control device (300) according to claim 6, characterized in that, The device (300) includes: determining a sleep time corresponding to the selected performance mode according to the selected performance mode; configuring the communication module of the single-pole switch according to the sleep time, and the communication module interacts with the user terminal under the sleep time.
8. The control device (300) according to claim 6 or 7, characterized in that, The device (300) includes: determining a transmission power corresponding to the selected performance mode according to the selected performance mode; configuring the communication module of the single-pole switch according to the transmission power, and the communication module interacts with the user terminal under the transmission power.
9. The control device (300) according to claim 6, characterized in that, The multiple performance modes consist of a high performance mode, a medium performance mode, and a low performance mode. The device (300) includes: the receiving module receives a first performance mode selection instruction input by a user on a user terminal, and the first performance mode selection instruction is to select one performance mode from the high performance mode, the medium performance mode, and the low performance mode.
10. The control device (300) according to claim 6, characterized in that, The device (300) further includes: receiving a second performance mode selection instruction input by the user on the user terminal, the second performance mode selection instruction is generated from the first performance mode selection instruction, and the second performance mode selection instruction is different from the first performance mode selection instruction.
11. A single-pole switch, characterized in that, The single-pole switch includes the control device according to any one of claims 6-10.
12. An electronic device (400) includes 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-5.
13. A computer-readable storage medium has computer instructions stored thereon, and the computer instructions, when run, execute the method according to any one of claims 1-5.
Citation Information
Patent Citations
Intelligent switch system and control method thereof
CN107367948A
Low power wireless communication method
US20080084836A1