Intelligent switch, intelligent lighting system, control method, system, device and medium
Through the combined design of a composite button panel and a universal power base, combined with the associated configuration of the cloud system, the problem of poor flexibility and scalability of smart switches is solved, enabling flexible lighting scene adjustment and cost reduction.
Patent Information
- Application Number
- CN202410482410.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-04-22
- Publication Date
- 2024-10-01
- Estimated Expiration
- 2044-04-22
AI Technical Summary
Existing smart switches have poor flexibility and scalability, making it difficult to flexibly adjust the number of switches and lighting scenes, resulting in high adjustment costs.
It adopts a combined design of a composite button panel and a universal power base, which can be flexibly matched through disassembly and connection, and the associated configuration of button logos and lighting scenes is carried out through the cloud system to achieve editing control of different lighting scenes.
It improves the flexibility and scalability of smart switches, reduces the number of switches and the cost of adjusting lighting scenes, and enables flexible editing control of different lighting scenes.
Smart Images

Figure CN118139253B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of intelligent switch technology, and in particular to an intelligent switch, an intelligent lighting system, a control method, a system, a device and a medium. Background Art
[0002] In recent years, with the rapid rise of smart homes, smart switches have been quickly and widely used in various buildings such as hotels and residential apartments due to their advantages such as simple operation and strong practicality. However, there are only two types of existing smart switches: 4+2 smart switches and 4+4 smart switches; the 4+2 smart switch is a six-button smart switch, including 4 on-off buttons and 2 scene buttons; the 4+4 smart switch is an eight-button smart switch, including 4 on-off buttons and 4 scene buttons. The types of smart switches are relatively single. Moreover, the smart switch is an integrated design, and its button panel can only be used with a dedicated power base to realize the on-off control of a specific lamp circuit and the switching control of a specific scene. It is difficult to achieve flexible adjustment of the number of switches and lighting scenes, and other smart switches can only be installed for use. In summary, the flexibility and scalability of the existing integrated smart switches are poor, and the adjustment cost of the number of switches and lighting scenes is high. Summary of the invention
[0003] The present application provides an intelligent switch, an intelligent lamp system, a control method, a system, a device and a medium, which are used to solve the problems of poor flexibility and scalability of existing integrated intelligent switches, and high cost of lamp quantity and scene adjustment. Specifically, the technical solutions provided by the present application are as follows:
[0004] In one aspect, the present application provides an intelligent switch, comprising a composite key panel and a universal power base; the composite key panel and the universal power base are detachably connected;
[0005] The composite key panel includes a first weak-current power supply module, a first signal transmission device and at least one switch key; the output end of the first weak-current power supply module is respectively connected to the first signal transmission device and each switch key; the first signal transmission device is respectively connected to each switch key;
[0006] The universal power supply base includes an intelligent switch control device, a weak current output module connected in parallel, and at least two power on-off modules; the intelligent switch control device is respectively communicated with each power on-off module; the first end of each power on-off module is connected to the live wire input terminal, and the second end of each power on-off module is connected to the live wire output terminal; the first end of the weak current output module is connected to the live wire input terminal, and the second end of the weak current output module is connected to the neutral wire input terminal through the third end of each power on-off module in turn, the first output end of the weak current output module is connected to the power supply end of the intelligent switch control device, and the second output end of the weak current output module is in contact with the input end of the first weak current power supply module.
[0007] In a possible implementation, the intelligent switch provided by the present application further includes a composite socket panel; the composite socket panel includes a strong power supply module and at least one power socket; the output end of the strong power supply module is respectively connected to each power socket;
[0008] The universal power base also includes a high-voltage output module; the first end of the high-voltage output module is connected to the live wire input terminal, the second end of the high-voltage output module is connected to the neutral wire input terminal, and the output end of the high-voltage output module is in contact with the input end of the high-voltage power module.
[0009] In a possible implementation, the smart switch provided by the present application also includes a voice switch panel; the voice switch panel includes a second weak-current power supply module, a second signal transmission device, a sound pickup module and at least one voice switch button; the sound pickup module is respectively connected to each voice switch button; each voice switch button is respectively connected to the second signal transmission device; the input end of the second weak-current power supply module is in contact with the second output end of the weak-current output module, and the output end of the second weak-current power supply module is respectively connected to the second signal transmission device, the sound pickup module and each voice switch button.
[0010] In a possible embodiment, the smart switch provided by the present application also includes a cycle scene switch panel; the cycle scene switch panel includes a third weak-current power supply module, a third signal transmission device and at least one cycle scene switch button; each cycle scene switch button is respectively connected to the third signal transmission device; the input end of the third weak-current power supply module is in contact with the second output end of the weak-current output module, and the output end of the third weak-current power supply module is respectively connected to the third signal transmission device and each cycle scene switch button.
[0011] On the other hand, the present application provides an intelligent lighting system, including at least two lighting circuits and the above-mentioned intelligent switch; the first end of each lighting circuit is connected to the neutral wire input terminal, and the second end of each lighting circuit is connected one-to-one with the live wire output terminal of each power on-off module in the universal power base of the intelligent switch.
[0012] On the other hand, the present application provides an intelligent switch control method, which is applied to an intelligent switch control device in a universal power base of an intelligent switch in the above-mentioned intelligent lighting system, comprising:
[0013] Receive a lighting control instruction; wherein the lighting control instruction at least includes a target key identifier and a target key operation corresponding to a target switch key on the composite key panel determined based on the lighting control operation;
[0014] Determine a target lighting scene corresponding to a target button identifier and a target lighting state corresponding to a target button operation based on a pre-configured first correspondence between button identifiers and lighting scenes and a second correspondence between button operations and lighting states;
[0015] Based on the target lamp state, the power on-off module connected to each target lamp circuit corresponding to the target lighting scene is controlled on and off, so that each target lamp circuit corresponding to the target lighting scene is switched to the target lamp state.
[0016] On the other hand, the present application provides an intelligent switch control system, including a client, a cloud, and a first signal transmission device in the composite key panel of the above-mentioned intelligent switch and an intelligent switch control device in a universal power base; the cloud is respectively connected to the client, the first signal transmission device and the intelligent switch control device for communication;
[0017] The client is used to determine a first correspondence between a button identifier and a lighting scene and a second correspondence between a button operation and a lamp state based on an association configuration operation performed on a user interface, and send the first correspondence between the button identifier and the lighting scene and the second correspondence between the button operation and the lamp state to the intelligent switch control device through a cloud;
[0018] The intelligent switch control device is used to receive and save the first correspondence between the button identifier and the lighting scene and the second correspondence between the button operation and the lamp state sent by the client through the cloud; receive the target button identifier corresponding to the target switch button on the composite button panel determined by the client or the first signal transmission device based on the lighting control operation and the lighting control instruction sent through the cloud after the target button operation; determine the target lighting scene corresponding to the target button identifier and the target lamp state corresponding to the target button operation based on the pre-saved first correspondence between the button identifier and the lighting scene and the second correspondence between the button operation and the lamp state; and based on the target lamp state, control the on-off of the power on-off module connected to each target lamp circuit corresponding to the target lighting scene, so that each target lamp circuit corresponding to the target lighting scene switches to the target lamp state.
[0019] On the other hand, the present application provides an intelligent switch control device, comprising:
[0020] An instruction receiving unit, used for receiving a lighting control instruction; wherein the lighting control instruction at least includes a target key identifier and a target key operation corresponding to a target switch key on the composite key panel determined based on the lighting control operation;
[0021] An instruction parsing unit, configured to determine a target lighting scene corresponding to a target button identifier and a target lighting state corresponding to a target button operation based on a pre-configured first correspondence between button identifiers and lighting scenes and a second correspondence between button operations and lighting states;
[0022] The lamp control unit is used to control the on-off of the power on-off module connected to each target lamp circuit corresponding to the target lighting scene based on the target lamp state, so that each target lamp circuit corresponding to the target lighting scene is switched to the target lamp state.
[0023] On the other hand, the present application provides an intelligent switch control device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, and the above-mentioned intelligent switch control method is implemented when the processor executes the computer program.
[0024] On the other hand, the present application provides a computer-readable storage medium, which stores computer instructions. When the computer instructions are executed by a processor, the above-mentioned intelligent switch control method is implemented.
[0025] The beneficial effects of this application are as follows:
[0026] The present application connects each power on-off module in the universal power base to each lamp circuit one by one, and associates the lighting scenes with the switch buttons to realize editing and control of different lighting scenes, thereby improving the flexibility and expansibility of the smart switch and reducing the number of switches and the cost of adjusting the lighting scenes. In addition, the composite button panel and the universal power base are detachably connected, thereby realizing flexible matching of the composite button panel and the universal power base, further improving the flexibility and expansibility of the smart switch, and further reducing the number of smart switches and the cost of adjusting the lighting scenes.
[0027] Other features and advantages of the present application will be described in the subsequent description, and in part, will become apparent from the description, or will be understood by practicing the present application. The purpose and other advantages of the present application can be realized and obtained by the structures specifically pointed out in the written description, claims, and drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0028] In order to more clearly illustrate the specific implementation of the present application or the technical solutions in the prior art, the following will briefly introduce the drawings required for the specific implementation or the prior art description. Obviously, the drawings described below are some implementations of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work. In the drawings:
[0029] Figure 1 This is a schematic diagram of the structure of the intelligent switch in the embodiment of the present application;
[0030] Figure 2 This is a schematic diagram of the structure of the intelligent lighting system in the embodiment of the present application;
[0031] Figure 3 This is a schematic diagram of the general flow of the intelligent switch control method in the embodiment of the present application;
[0032] Figure 4 This is a schematic diagram of the structure of the intelligent switch control system in the embodiment of the present application;
[0033] Figure 5 This is a schematic diagram of the assembly and configuration process of the intelligent switch in the embodiment of the present application;
[0034] Figure 6 This is a schematic diagram of the assembly and control overview of the intelligent switch in the embodiment of the present application;
[0035] Figure 7 A simplified flowchart of the intelligent switch control method in the embodiment of the present application;
[0036] Figure 8 This is a functional structure diagram of the intelligent switch control device in the embodiment of the present application;
[0037] Fig. 9 Schematic diagram of the hardware structure of the intelligent switch control device in the embodiment of the present application. DETAILED DESCRIPTION
[0038] In order to make the purpose, technical solution and beneficial effects of this application clearer, the technical solution in the embodiment of this application will be clearly and completely described below in conjunction with the drawings in the embodiment of this application. Obviously, the described embodiment is only a part of the embodiment of this application, not all the embodiments. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0039] The present application embodiment provides a smart switch, referring to Figure 1 As shown, the smart switch provided in the embodiment of the present application at least includes a composite key panel 100 and a universal power base 200; the composite key panel 100 and the universal power base 200 are detachably connected; wherein:
[0040] See also Figure 2As shown, the composite key panel 100 includes a first weak current power module 110, a first signal transmission device 120 and at least one switch button 130; the output end of the first weak current power module 110 is respectively connected to the first signal transmission device 120 and each switch button 130; the first signal transmission device 120 is respectively connected to each switch button 130;
[0041] See also Figure 2 As shown, the universal power base 200 includes an intelligent switch control device 210 and a weak current output module 220 and at least two power on-off modules 230 connected in parallel; the intelligent switch control device 210 is respectively communicated with each power on-off module 230; the first end of each power on-off module 230 is connected to the live wire input terminal, and the second end of each power on-off module 230 is connected to the live wire output terminal; the first end of the weak current output module 220 is connected to the live wire input terminal, and the second end of the weak current output module 220 is connected to the neutral wire input terminal through the third end of each power on-off module 230 in turn, the first output end of the weak current output module 220 is connected to the power end of the intelligent switch control device 210, and the second output end of the weak current output module 220 is in contact with the input end of the first weak current power module 110.
[0042] In the embodiment of the present application, the intelligent switch control device 210 can be respectively connected to each power on-off module 230 through a communication bus, and the intelligent switch control device 210 can also be connected to the first signal transmission device 120 through any wireless communication method such as Bluetooth, ZigBee, Wireless Fidelity (WiFi), etc.; the number of power on-off modules 230 in the universal power base 200 is at least two, and preferably, the number of power on-off modules 230 in the universal power base 200 is at most four, so that the actual size of the universal power base 200 meets the maximum standard size requirements, thereby improving the universality of the universal power base 200. In actual applications, each power on-off module 230 in the universal power base 200 can be connected to each indoor lamp circuit in a one-to-one correspondence, that is, the live wire outlet of each power on-off module 230 is connected to the live wire inlet of each lamp circuit in a one-to-one correspondence. Moreover, the composite key panel 100 and the universal power base 200 are two independent entities, and the composite key panel 100 and the universal power base 200 can be physically assembled, for example, the composite key panel 100 and the universal power base 200 are assembled by snapping, and the first weak-current power module 110 in the composite key panel 100 is connected to the weak-current output module 220 in the universal power base 200 by pin contact to transfer power, that is, the weak-current output module 220 in the universal power base 200 is connected to the weak-current output module 220 in the universal power base 200. The output module 220 converts 220V strong electricity into weak electricity to supply power to the intelligent switch control device 210 and each power on / off module 230 in the universal power base 200, and at the same time transmits the weak electricity to the first weak current power module 110 in the composite key panel 100 to supply power to the first signal transmission device 120 and each switch button 130 in the composite key panel 100, thereby enabling the universal power base 200 to supply power to the composite key panel 100, and further enabling the universal power base 200 and the composite key panel 100 to operate normally.
[0043] Furthermore, the user can configure each target lamp circuit corresponding to different lighting scenes, the switch buttons corresponding to different lighting scenes, and the key operations of the switch buttons corresponding to different lamp states by performing an association configuration operation on the user interface provided by the client. At this time, the client determines the first correspondence between the button identifier and the lighting scene (that is, the correspondence between the button identifier and the lighting scene and the target lamp circuits corresponding to the lighting scene) and the second correspondence between the key operations corresponding to different button identifiers and the lamp state based on the association configuration operation performed by the user on the user interface, and then configures the first correspondence between the button identifier and the lighting scene and the second correspondence between the key operations corresponding to different button identifiers and the lamp state into the intelligent switch control device 210 through the cloud, so that the intelligent switch control device 210 saves the first correspondence between the button identifier and the lighting scene and the second correspondence between the key operations corresponding to different button identifiers and the lamp state.
[0044] Further, the user can control the switch state of different light scenes by performing a light control operation on the client or the composite key panel 100. At this time, the first signal transmission device 120 in the client or the composite key panel 100 determines the target key identifier and the target key operation corresponding to the target switch key on the composite key panel based on the light control operation, generates a light control instruction based on the target key identifier and the target key operation corresponding to the target switch key on the composite key panel, and sends the light control instruction to the intelligent switch control device 210 through the cloud; when the intelligent switch control device 210 receives the light control instruction, based on the first corresponding relationship between the key identifier and the light scene saved in advance and the second corresponding relationship between the key operation corresponding to different key identifiers and the light fixture state, after determining the target light scene corresponding to the target key identifier and the target light fixture state corresponding to the target key operation, based on the target light fixture state, the power on / off module connected to each target light fixture circuit corresponding to the target light scene is controlled to switch each target light fixture circuit corresponding to the target light scene to the target light fixture state, thereby completing the control of the target light fixture state of the target light scene.
[0045] In this way, the composite key panel 100 and the universal power base 200 are two independent entities, and the composite key panel 100 and the universal power base 200 can be physically assembled, so that the composite key panel 100 and the universal power base 200 can be matched arbitrarily, thereby improving the flexibility and scalability of the intelligent switch, and reducing the number of switches and the cost of adjusting the lighting scene. Moreover, by associating the lighting scene and the switch button according to actual needs, the editing control of different lighting scenes can be realized, thereby further improving the flexibility and scalability of the intelligent switch, and further reducing the number of switches and the cost of adjusting the lighting scene.
[0046] In one possible implementation, see Figure 1 As shown, each power on / off module 230 includes a relay 231 and a normally open switch 232; the first end of the normally open switch 232 is connected to the live wire input terminal, and the second end of the normally open switch 232 is connected to the first end of the relay 231; the second end of the relay 231 is connected to the live wire output terminal, and the third end of the relay 231 is connected to the neutral wire input terminal, and the relay 231 is communicatively connected to the intelligent switch control device 210.
[0047] In the embodiment of the present application, the relay 231 and the normally open switch 232 are linked; the relay 231 is energized when receiving the on signal sent by the intelligent switch control device 210 based on the light control instruction, and the normally open switch 232 is closed when the relay 231 is energized, so that the target lamp circuit connected to the power on / off module 230 enters the on state; the relay 231 is disconnected when receiving the off signal sent by the intelligent switch control device 210 based on the light control instruction, and the normally open switch 232 is disconnected when the relay 231 is disconnected, so that the target lamp circuit connected to the power on / off module 230 enters the off state. In this way, the intelligent switch control device 210 can realize the simultaneous opening or closing of each target lamp circuit corresponding to the target light scene by controlling the relay 231 in the power on / off module 230 connected to each target lamp circuit corresponding to the target light scene to be energized or disconnected, thereby improving the control efficiency and convenience of the lamp circuit.
[0048] In one possible implementation, see Figure 1 As shown, the intelligent switch provided in the embodiment of the present application also includes a composite socket panel 300; wherein:
[0049] See also Figure 2 As shown, the composite socket panel 300 includes a strong power supply module 310 and at least one power socket 320; the output end of the strong power supply module 310 is respectively connected to each power socket 320;
[0050] See also Figure 2As shown, the universal power base 200 also includes a high-power output module 240; the first end of the high-power output module 240 is connected to the live wire input terminal, the second end of the high-power output module 240 is connected to the neutral wire input terminal, and the output end of the high-power output module 240 is in contact with the input end of the high-power power module 310.
[0051] In an embodiment of the present application, the composite socket panel 300 and the universal power base 200 are two independent entities, and the composite socket panel 300 and the universal power base 200 can be physically assembled, for example, the composite socket panel 300 and the universal power base 200 are assembled by snapping, and the high-power output module 240 in the universal power base 200 is connected to the high-power power module 310 in the composite socket panel 300 by pin contact for power transfer. After the composite socket panel 300 and the universal power base 200 are assembled, the user can provide power through each power socket 320 on the composite socket panel 300, for example, plug a mobile phone charger into the power socket 320 to charge the mobile phone, or plug the power cord of the TV monitor into the power socket 320 to power the TV monitor, etc.
[0052] In one possible implementation, see Figure 1 As shown, the smart switch provided in the embodiment of the present application also includes a voice switch panel 400; wherein:
[0053] See also Figure 2 As shown, the voice switch panel 400 includes a second weak-current power supply module 410, a second signal transmission device 420, a sound pickup module 430 and at least one voice switch button 440; the sound pickup module 430 is respectively connected to each voice switch button 440; each voice switch button 440 is respectively connected to the second signal transmission device 420; the input end of the second weak-current power supply module 410 is in contact with the second output end of the weak-current output module 240, and the output end of the second weak-current power supply module 410 is respectively connected to the second signal transmission device 420, the sound pickup module 430 and each voice switch button 440.
[0054] In the embodiment of the present application, the voice switch panel 400 is composed of a voice switch panel cover and a voice switch panel bottom plate; each voice switch button 440 is composed of a switch button assembly and a switch button contact; the switch button assembly of each voice switch button 440 is arranged on the voice switch panel cover, and the switch button contact of each voice switch button 440 is arranged on the voice switch panel bottom plate; the second weak current power supply module 410, the second signal transmission device 420 and the pickup module 430 are also arranged on the voice switch panel bottom plate. In actual applications, users can perform associated configuration operations on the user interface provided by the client as needed, and configure the voice commands corresponding to different voice switch buttons 440, such as opening the curtains, turning on the lights, turning on the TV, turning on the air conditioner, etc.; the voice switch panel 400 can be a combination of at least one switch and a sound pickup module 430 (such as a sound pickup speaker), and the sound pickup module 430 triggers the corresponding voice switch button 440 according to the monitored voice command to achieve corresponding control. For example, when the user needs to control the opening / closing of the curtains, he can say "open / close the gauze curtain" to the voice switch panel 400. After the sound pickup module 430 monitors the voice command, it triggers the voice switch button 440 corresponding to "open / close the gauze curtain", and the second signal transmission device 420 sends the voice control command corresponding to the voice switch button 440 to the gauze curtain motor through the intelligent switch control device 210, so that the gauze curtain motor controls the opening / closing of the gauze curtain.
[0055] In one possible implementation, see Figure 1 As shown, the smart switch provided in the embodiment of the present application also includes a cycle scene switch panel 500; wherein:
[0056] See also Figure 2 As shown, the cycle scene switch panel 500 includes a third weak-current power supply module 510, a third signal transmission device 520 and at least one cycle scene switch button 530; each cycle scene switch button 530 is respectively connected to the third signal transmission device 520; the input end of the third weak-current power supply module 510 is in contact with the second output end of the weak-current output module 240, and the output end of the third weak-current power supply module 510 is respectively connected to the third signal transmission device 520 and each cycle scene switch button 530.
[0057] In the embodiment of the present application, the user can perform the associated configuration operation on the user interface provided by the client according to actual needs, and configure the combination scenes corresponding to each cycle scene switch button 530, for example, bind the combination of different lights or the combination of different smart home devices to the cycle scene switch button 530, and can also set the different cycle scene switch buttons 530 to be clockwise scene buttons or counterclockwise scene buttons, so that each time the cycle scene switch button 530 is pressed, the combination scenes corresponding to the cycle scene switch button 530 are cycled in sequence according to the pre-set clockwise sequence or counterclockwise sequence corresponding to the cycle scene switch button 530, such as clockwise cycling of red, yellow, blue, and green lights. In actual applications, the user can also set the different cycle scene switch buttons 530 to be full-on scene buttons or full-off scene buttons, so that each time the cycle scene switch button 530 is pressed, the combination scene corresponding to the cycle scene switch button 530 is fully on / fully off. The combination scene is executed one-to-many, that is, one cycle scene switch button 530 can control multiple combination scenes, and different press times correspond to different combination scenes.
[0058] In a possible implementation manner, the composite socket panel 300 and the composite button panel 100 form an integrated panel.
[0059] In an embodiment of the present application, the composite socket panel 300 and the composite button panel 100 may be two independent panels. The user may select the composite button panel 100 and / or the composite socket panel 300 to be physically assembled with the universal power base 200 according to actual needs, thereby realizing the lighting control function and / or the power function. The composite socket panel 300 and the composite button panel 100 may also be an integrated one-piece panel. The user may also select the composite button panel 100 to be physically assembled with the universal power base 200 according to actual needs, thereby realizing the lighting control function and the power function.
[0060] In a possible implementation, the intelligent switch provided in the embodiment of the present application further includes a power supply base box 600; wherein:
[0061] The power base box 600 includes at least one terminal module, the input end of the terminal module is connected to the AC power, and the output end of the terminal module (including the neutral wire output end and the live wire output end) is in contact and connected with the power end (including the neutral wire input end and the live wire input end) of the universal power base 200.
[0062] In an embodiment of the present application, the power base box 600 and the universal power base 200 in the smart switch are detachably connected, so that the convenience and flexibility of replacing the universal power base 200 can be achieved, and the power base box 600 includes at least one wiring terminal module, so that the detachable connection of multiple universal power bases 200 can be achieved, thereby further improving the convenience, flexibility and expansibility of the smart switch.
[0063] Based on the above embodiments, the present application provides a smart lighting system. Figure 2 As shown, the smart lamp system provided in the embodiment of the present application includes at least two lamp circuits 700 and the above-mentioned smart switch; the first end of each lamp circuit 700 is connected to the neutral line input terminal, and the second end of each lamp circuit 700 is connected one-to-one with the live line output terminal of each power on-off module 230 in the universal power base 200 of the smart switch.
[0064] In the embodiment of the present application, each power on-off module 230 in the universal power base 200 can be connected to each lamp circuit in the room in a one-to-one correspondence, that is, the live wire outlet of each power on-off module 230 is connected to the live wire inlet of each lamp circuit in a one-to-one correspondence, so that each lamp circuit can be controlled simultaneously through each power on-off module 230, thereby improving the control efficiency and convenience of the lamp circuit. In addition, the composite button panel and the universal power base in the intelligent switch are detachably connected, so that the composite button panel and the universal power base can be flexibly matched, further improving the flexibility and expansibility of the intelligent switch, thereby further reducing the number of switches and the adjustment cost of the lighting scene, and by associating the lighting scene and the switch button according to actual needs, the editing control of different lighting scenes can be realized, thereby further improving the flexibility and expansibility of the intelligent switch, thereby further reducing the number of switches and the adjustment cost of the lighting scene.
[0065] Based on the above embodiments, the present application provides an intelligent switch control method, which is applied to the intelligent switch control device 210 in the universal power base 200 of the intelligent switch in the above intelligent lighting system. Figure 3 As shown, the general process of the intelligent switch control method provided in the embodiment of the present application is as follows:
[0066] Step 211: receiving a lighting control instruction; wherein the lighting control instruction at least includes a target button identifier and a target button operation corresponding to a target switch button on the composite button panel determined based on the lighting control operation.
[0067] In an embodiment of the present application, the user can configure each target lamp circuit corresponding to different lighting scenes, the switch buttons corresponding to different lighting scenes, and the key operations of the switch buttons corresponding to different lamp states by performing association configuration operations on the user interface provided by the client. Specifically, the user interface of the client displays each switch button on the composite key panel and each lamp circuit connected to each power on / off module in the universal power base; the user can perform association configuration operations such as clicking and dragging on each target lamp circuit corresponding to the lighting scene to be achieved, and perform association configuration on each target lamp circuit of the lighting scene to be achieved. At this time, the client determines each target lamp circuit corresponding to each lighting scene associated and configured by the user based on the association configuration operations performed by the user, and displays each lighting scene associated and configured by the user on the user interface; in addition, the user can also perform association configuration operations such as clicking and dragging on the switch buttons and lighting scenes to be associated, and perform association configuration operations such as clicking and dragging on the switch buttons and lighting scenes to be associated. The associated switch button and light scene are associated and configured. At this time, the client determines the first correspondence between the button identifier and the light scene based on the associated configuration operation performed by the user. Among them, the client can set the correspondence between the switch button and the lamp state by default to turn on the light scene when the switch button is pressed, and turn off the light scene when the switch button is pressed again. Of course, the user can also associate the lamp state corresponding to the button operation by performing different associated configuration operations such as clicking, double-clicking, and long pressing on the switch button. For example, the light scene is turned on when the switch button is clicked, and the light scene is turned off when the switch button is double-clicked. At this time, the client determines the second correspondence between the button operation and the lamp state based on the associated configuration operation performed by the user.
[0068] Furthermore, after the client determines the first correspondence between the button identifier and the lighting scene (including the correspondence between the button identifier and the lighting scene and the correspondence between the lighting scene and the target lamp circuit) and the second correspondence between the button operation and the lamp status, the first correspondence between the button identifier and the lighting scene (including the correspondence between the button identifier and the lighting scene and the correspondence between the lighting scene and the target lamp circuit) and the second correspondence between the button operation and the lamp status can be sent through the cloud (such as a smart speaker, etc.) to the smart switch control device in the universal power base for storage, so that the smart switch control device can subsequently realize different lighting scene control according to the pre-saved first correspondence and second correspondence.
[0069] Furthermore, after the user completes the association configuration, different lighting scenes can be controlled. In one embodiment, the user can perform lighting control operations on the user interface of the client to control different lighting scenes. Specifically, the user can perform key operations associated with the lighting status on the switch buttons associated with the lighting scene in the composite key panel displayed on the user interface according to the lighting scene to be controlled and the lighting status of the lighting scene. For example, when the user wants to turn on lighting scene A, the user can press switch button a associated with lighting scene A in the composite key panel displayed on the user interface. At this time, the client determines the target button identifier and target button operation corresponding to the target switch button on the composite key panel based on the lighting control operation performed by the user, and after generating a lighting control instruction based on the target button identifier and target button operation corresponding to the target switch button on the composite key panel, the lighting control instruction is sent to the intelligent switch control device through the cloud, and the intelligent switch control device can receive the lighting control instruction. In another embodiment, the user can also perform lighting control operations on the composite button panel to control different lighting scenes. Specifically, the user can perform the button operation associated with the lighting status on the switch button associated with the lighting scene among the switch buttons on the composite button panel according to the lighting scene to be controlled and the lighting status of the lighting scene. For example, when the user wants to turn on lighting scene A, the user can press switch button a associated with lighting scene A among the switch buttons on the composite button panel. At this time, the first signal transmission device in the composite button panel determines the target button identifier and target button operation corresponding to the target switch button on the composite button panel based on the lighting control operation performed by the user, and after generating a lighting control instruction based on the target button identifier and target button operation corresponding to the target switch button on the composite button panel, the lighting control instruction is sent to the intelligent switch control device through the cloud, and the intelligent switch control device can receive the lighting control instruction.
[0070] Step 212: Determine the target lighting scene corresponding to the target button identifier and the target lighting state corresponding to the target button operation based on the pre-configured first correspondence between the button identifier and the lighting scene and the second correspondence between the button operation and the lighting state.
[0071] In an embodiment of the present application, the user can also configure the switch type of the composite button panel on the user interface provided by the client, wherein when the switch type is a reset switch, the composite button panel is used to control different lighting scenes, and when the switch type is an on-off switch, the composite button panel is used to control different lighting circuits. At this time, the client determines the switch type of the composite button panel based on the configuration operation performed by the user, and sends the switch type of the composite button panel to the intelligent switch control device through the cloud for storage. In this way, when the intelligent switch control device receives a lighting control instruction, it can also first determine the switch type of the composite button panel, and then perform corresponding control according to the switch type of the composite button panel; specifically, when the switch type of the composite button panel is an on-off switch, the power on-off module connected to the target lamp circuit corresponding to the target switch button is directly controlled based on the target button identifier and target button operation corresponding to the target switch button in the lighting control instruction, so that the target lamp circuit corresponding to the target switch button is switched to the target lamp state; when the switch type of the composite button panel is a reset switch, the target lighting scene corresponding to the target button identifier and the target lamp state corresponding to the target button operation are determined based on the first corresponding relationship between the pre-saved button identifier and the lighting scene and the second corresponding relationship between the button operation and the lamp state.
[0072] Step 213: Based on the target lamp state, the power on / off module connected to each target lamp circuit corresponding to the target lighting scene is controlled to switch each target lamp circuit corresponding to the target lighting scene to the target lamp state.
[0073] In the embodiment of the present application, the intelligent switch control device can send an on signal to the power on-off modules connected to the circuits of each target lamp corresponding to the target lighting scene when it is determined that the state of the target lamp is on, so that the power on-off modules connected to the circuits of each target lamp corresponding to the target lighting scene connect the internal circuit, thereby making the circuits of each target lamp corresponding to the target lighting scene enter the on state; when it is determined that the state of the target lamp is off, the intelligent switch control device can send an off signal to the power on-off modules connected to the circuits of each target lamp corresponding to the target lighting scene, so that the power on-off modules connected to the circuits of each target lamp corresponding to the target lighting scene disconnect the internal circuit, thereby making the circuits of each target lamp corresponding to the target lighting scene enter the off state.
[0074] Based on the above embodiments, the present application provides an intelligent switch control system. Figure 4As shown, the intelligent switch control system provided by the embodiment of the present application at least includes a client 710, a cloud 720, and the first signal transmission device 120 in the composite key panel 100 of the above-mentioned intelligent switch and the intelligent switch control device 210 in the universal power base 200; the cloud 720 is respectively connected to the client 710, the first signal transmission device 120 and the intelligent switch control device 210 for communication; for example, the cloud 720 is respectively connected to the client 710, the first signal transmission device 120 and the intelligent switch control device 210 for any wireless communication such as Bluetooth communication connection, ZigBee communication connection, WiFi communication connection, etc.;
[0075] The client 710 is used to determine the first correspondence between the button identifier and the lighting scene and the second correspondence between the button operation and the lamp state based on the association configuration operation performed on the user interface, and send the first correspondence between the button identifier and the lighting scene and the second correspondence between the button operation and the lamp state to the intelligent switch control device 210 through the cloud 720;
[0076] The intelligent switch control device 210 is used to receive and save the first correspondence between the button identifier and the lighting scene and the second correspondence between the button operation and the lamp state sent by the client 710 through the cloud 720; and receive the lighting control instruction sent by the client 710 or the first signal transmission device 120 through the cloud 720 after determining the target button identifier and the target button operation corresponding to the target switch button on the composite button panel 100 based on the lighting control operation; based on the pre-saved first correspondence between the button identifier and the lighting scene and the second correspondence between the button operation and the lamp state, determine the target lighting scene corresponding to the target button identifier and the target lamp state corresponding to the target button operation; based on the target lamp state, control the on-off of the power on / off module 230 connected to each target lamp circuit corresponding to the target lighting scene, so that each target lamp circuit corresponding to the target lighting scene switches to the target lamp state.
[0077] In the present application, see Figure 5 As shown, the composite key panel 100 and the universal power base 200 are two independent entities. Users can arbitrarily match and assemble the composite key panel 100 and the universal power base 200 according to actual needs to achieve different composite key panels 100 controlling different universal power bases 200. After the composite key panel 100 and the universal power base 200 are assembled, refer to Figure 6As shown, the user can configure each target lamp circuit corresponding to different lighting scenes, the switch buttons corresponding to different lighting scenes, and the key operations of the switch buttons corresponding to different lighting states by performing the association configuration operation on the user interface provided by the client. The client can configure each target lamp circuit corresponding to different lighting scenes, the switch buttons corresponding to different lighting scenes, and the key operations of the switch buttons corresponding to different lighting states to the smart switch control device 210 through the cloud, so that the smart switch control device 210 can switch different lamp circuits or different lighting scenes according to the lighting control operation performed by the user. For details, refer to Figure 7 As shown, the intelligent switch control device 210 can control the corresponding lamp circuit according to the switch type of the composite button panel configured by the user; wherein, when the switch type of the composite button panel is an on-off switch, the power on-off module connected to the target lamp circuit corresponding to the target switch button is directly controlled based on the target button identifier and the target button operation corresponding to the target switch button in the lighting control instruction, so that the target lamp circuit corresponding to the target switch button is switched to the target lamp state; when the switch type of the composite button panel is a reset switch, based on the first corresponding relationship between the button identifier and the lighting scene and the second corresponding relationship between the button operation and the lamp state saved in advance, the target lighting scene corresponding to the target button identifier and the target lamp state corresponding to the target button operation are determined, and based on the target lamp state, the power on-off modules connected to each target lamp circuit corresponding to the target lighting scene are controlled to be on and off, so that each target lamp circuit corresponding to the target lighting scene is switched to the target lamp state.
[0078] In this way, by connecting each power on-off module in the universal power base to each lamp circuit one by one, and associating the lighting scenes and switch buttons according to actual needs, editing and control of different lighting scenes can be achieved, thereby improving the flexibility and expansibility of the intelligent switch, reducing the number of switches and the cost of adjusting lighting scenes, and the composite button panel and the universal power base are detachably connected, so that the composite button panel and the universal power base can be flexibly matched, further improving the flexibility and expansibility of the intelligent switch, and further reducing the number of switches and the cost of adjusting lighting scenes.
[0079] The functional structure of the intelligent switch control device 210 provided in the embodiment of the present application is briefly introduced below. Figure 8 As shown, the intelligent switch control device 210 provided in the embodiment of the present application at least includes:
[0080] The instruction receiving unit 810 is used to receive a lighting control instruction; wherein the lighting control instruction at least includes a target key identifier and a target key operation corresponding to a target switch key on the composite key panel determined based on the lighting control operation;
[0081] The instruction parsing unit 820 is used to determine the target lighting scene corresponding to the target button identifier and the target lighting state corresponding to the target button operation based on the pre-configured first correspondence between the button identifier and the lighting scene and the second correspondence between the button operation and the lighting state;
[0082] The lamp control unit 830 is used to control the power on / off modules connected to each target lamp circuit corresponding to the target lighting scene based on the target lamp state, so that each target lamp circuit corresponding to the target lighting scene is switched to the target lamp state.
[0083] In a possible implementation, the intelligent switch control device 210 provided in the embodiment of the present application further includes:
[0084] The configuration storage unit 840 is used to receive the first correspondence between the button identifier and the lighting scene and the second correspondence between the button operation and the lamp state sent by the client through the cloud, and save the first correspondence between the button identifier and the lighting scene and the second correspondence between the button operation and the lamp state; wherein the first correspondence between the button identifier and the lighting scene and the second correspondence between the button operation and the lamp state are determined by the client based on the associated configuration operation performed on the user interface.
[0085] The hardware structure of the intelligent switch control device 210 provided in the embodiment of the present application is briefly introduced below. Fig. 9 As shown, the intelligent switch control device 210 provided in the embodiment of the present application includes at least a processor 901, a memory 902, and a computer program stored in the memory 902 and executable on the processor 901. When the processor 901 executes the computer program, the above-mentioned intelligent switch control method provided in the embodiment of the present application is implemented.
[0086] The intelligent switch control device 210 provided in the embodiment of the present application can also connect different components (including the processor 901 and the memory 902) to the bus 903. The bus 903 represents one or more of several types of bus structures, including a memory bus, a peripheral bus, a local bus, etc.
[0087] The memory 902 may include a readable storage medium in the form of a volatile memory, such as a random access memory (RAM) 9021 and / or a cache memory 9022, and may further include a read-only memory (ROM) 9023. The memory 902 may also include a program tool 9025 having a group (at least one) of program modules 9024, and the program modules 9024 include but are not limited to an operating subsystem, one or more application programs, other program modules, and program data, each of which or a certain combination may include the implementation of a network environment.
[0088] The processor 901 may be a processing element or a collective term for multiple processing elements. For example, the processor 901 may be a central processing unit (CPU) or one or more integrated circuits configured to implement the above-mentioned intelligent switch control method provided in the embodiment of the present application. Specifically, the processor 901 may be a general-purpose processor, including but not limited to a CPU, an application-specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, etc.
[0089] The smart switch control device 210 can also communicate with one or more devices (such as mobile phones, computers, etc.) that allow users to interact with the smart switch control device 210, and / or with external devices 904 such as devices that allow the smart switch control device 210 to communicate with one or more other smart home appliances (such as smart speakers, etc.). This communication can be carried out through a communication module 905 (such as a Bluetooth module, a ZigBee module, a WiFi module, etc.). In addition, the smart switch control device 210 can also communicate with one or more networks (such as a local area network (LAN), a wide area network (WAN) and / or a public network, such as the Internet) through a network adapter 906. Fig. 9 As shown, the network adapter 906 communicates with other modules of the intelligent switch control device 210 through the bus 903. It should be understood that although Fig. 9Not shown, other hardware and / or software modules may be used in conjunction with the intelligent switch control device 210, including but not limited to microcode, device drivers, redundant processors, external disk drive arrays, disk arrays (Redundant Arrays of Independent Disks, RAID) subsystems, tape drives, and data backup storage subsystems.
[0090] It should be noted that Fig. 9 The intelligent switch control device 210 shown is merely an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.
[0091] In addition, the embodiment of the present application further provides a computer-readable storage medium, which stores computer instructions, and when the computer instructions are executed by the processor, the above-mentioned intelligent switch control method provided in the embodiment of the present application is implemented. Specifically, the computer instructions can be built-in or installed in the processor, so that the processor can implement the above-mentioned intelligent switch control method provided in the embodiment of the present application by executing the built-in or installed computer instructions.
[0092] In addition, the above-mentioned intelligent switch control method provided in the embodiment of the present application can also be implemented as a computer program product, which includes a program code. When the program code is run on a processor, it implements the above-mentioned intelligent switch control method provided in the embodiment of the present application.
[0093] The computer program product provided in the embodiments of the present application may adopt one or more computer-readable storage media, and the computer-readable storage medium may be, but is not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus or device, or any suitable combination of the above. Specifically, more specific examples of computer-readable storage media (a non-exhaustive list) include a connection with one or more wires, a portable disk, a hard disk, RAM, ROM, Erasable Programmable Read Only Memory (EPROM), optical fiber, portable compact disc read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination of the above.
[0094] The computer program product provided in the embodiment of the present application may adopt a CD-ROM and include program code, and may also be run on an intelligent switch control device. However, the computer program product provided in the embodiment of the present application is not limited thereto. In the embodiment of the present application, the computer-readable storage medium may be any tangible medium containing or storing program code, and the program code may be used by or in combination with an instruction execution system, device or device.
[0095] It should be noted that, although several units or subunits of the device are mentioned in the above detailed description, this division is merely exemplary and not mandatory. In fact, according to the embodiments of the present application, the features and functions of two or more units described above can be embodied in one unit. Conversely, the features and functions of one unit described above can be further divided into multiple units to be embodied.
[0096] In addition, although the operations of the method of the present application are described in a specific order in the drawings, this does not require or imply that the operations must be performed in this specific order, or that all the operations shown must be performed to achieve the desired results. Additionally or alternatively, some steps may be omitted, multiple steps may be combined into one step, and / or one step may be decomposed into multiple steps.
[0097] Although the preferred embodiments of the present application have been described, those skilled in the art may make additional changes and modifications to these embodiments once they are aware of the basic creative concepts. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications falling within the scope of the present application.
[0098] Obviously, those skilled in the art can make various changes and modifications to the embodiments of the present application without departing from the spirit and scope of the embodiments of the present application. Thus, if these modifications and variations of the embodiments of the present application fall within the scope of the claims of the present application and their equivalents, the present application is also intended to include these modifications and variations.
Claims
1. A smart switch, It is characterized in that It includes a composite key panel and a universal power base; the composite key panel and the universal power base are detachably connected; The composite key panel comprises a first weak-current power supply module, a first signal transmission device and at least one switch key; the output end of the first weak-current power supply module is respectively connected to the first signal transmission device and each of the switch keys; the first signal transmission device is respectively connected to each of the switch keys; The universal power base includes an intelligent switch control device, a weak current output module connected in parallel, and at least two power on-off modules; the intelligent switch control device is respectively communicated with each of the power on-off modules; the first end of each of the power on-off modules is connected to the live wire input terminal, and the second end of each of the power on-off modules is connected to the live wire output terminal; the first end of the weak current output module is connected to the live wire input terminal, and the second end of the weak current output module is connected to the neutral wire input terminal in turn through the third end of each of the power on-off modules, the first output end of the weak current output module is connected to the power supply end of the intelligent switch control device, and the second output end of the weak current output module is in contact with the input end of the first weak current power module.
2. The intelligent switch according to claim 1, It is characterized in that It also includes a composite socket panel; the composite socket panel includes a strong power supply module and at least one power socket; the output end of the strong power supply module is respectively connected to each of the power sockets; The universal power base also includes a high-power output module; the first end of the high-power output module is connected to the live wire input terminal, the second end of the high-power output module is connected to the neutral wire input terminal, and the output end of the high-power output module is in contact with the input end of the high-power power module.
3. The intelligent switch according to claim 1, It is characterized in that It also includes a voice switch panel; the voice switch panel includes a second weak-current power supply module, a second signal transmission device, a sound pickup module and at least one voice switch button; the sound pickup module is respectively connected to each of the voice switch buttons; each of the voice switch buttons is respectively connected to the second signal transmission device; the input end of the second weak-current power supply module is in contact with the second output end of the weak-current output module, and the output end of the second weak-current power supply module is respectively connected to the second signal transmission device, the sound pickup module and each of the voice switch buttons.
4. The intelligent switch according to claim 1, It is characterized in that It also includes a cycle scene switch panel; the cycle scene switch panel includes a third weak-current power supply module, a third signal transmission device and at least one cycle scene switch button; each of the cycle scene switch buttons is respectively connected to the third signal transmission device; the input end of the third weak-current power supply module is in contact with the second output end of the weak-current output module, and the output end of the third weak-current power supply module is respectively connected to the third signal transmission device and each of the cycle scene switch buttons.
5. An intelligent lighting system, It is characterized in that It comprises at least two lamp circuits and the intelligent switch as described in any one of claims 1 to 4; the first end of each of the lamp circuits is connected to the neutral line input terminal, and the second end of each of the lamp circuits is connected one-to-one with the live line output terminal of each power on-off module in the universal power base of the intelligent switch.
6. An intelligent switch control method, It is characterized in that The intelligent switch control device used in the universal power base of the intelligent switch in the intelligent lighting system according to claim 5 comprises: Receive a lighting control instruction; wherein the lighting control instruction at least includes a target key identifier and a target key operation corresponding to a target switch key on the composite key panel determined based on the lighting control operation; Determine the target lighting scene corresponding to the target button identifier and the target lighting state corresponding to the target button operation based on the pre-configured first correspondence between the button identifier and the lighting scene and the second correspondence between the button operation and the lighting state; Based on the target lamp state, the power on-off module connected to each target lamp circuit corresponding to the target light scene is controlled on and off, so that each target lamp circuit corresponding to the target light scene is switched to the target lamp state.
7. An intelligent switch control system, It is characterized in that It comprises a client, a cloud, and a first signal transmission device in the composite key panel of the intelligent switch according to any one of claims 1 to 4 and an intelligent switch control device in a universal power base; the cloud is respectively connected to the client, the first signal transmission device and the intelligent switch control device for communication; The client is used to determine a first correspondence between a button identifier and a lighting scene and a second correspondence between a button operation and a lamp state based on an association configuration operation performed on a user interface, and send the first correspondence between a button identifier and a lighting scene and the second correspondence between a button operation and a lamp state to the intelligent switch control device via the cloud; The intelligent switch control device is used to receive and save the first correspondence between the button identifier and the lighting scene and the second correspondence between the button operation and the lamp state sent by the client through the cloud; and receive the lighting control instruction sent through the cloud after the client or the first signal transmission device determines the target button identifier and the target button operation corresponding to the target switch button on the composite button panel based on the lighting control operation; based on the pre-saved first correspondence between the button identifier and the lighting scene and the second correspondence between the button operation and the lamp state, determine the target lighting scene corresponding to the target button identifier and the target lamp state corresponding to the target button operation; Based on the target lamp state, the power on-off module connected to each target lamp circuit corresponding to the target light scene is controlled on and off, so that each target lamp circuit corresponding to the target light scene is switched to the target lamp state.
8. An intelligent switch control device, It is characterized in that The intelligent switch control device is an intelligent switch control device in a universal power base of an intelligent switch in an intelligent lighting system according to claim 5, and the intelligent switch control device comprises: An instruction receiving unit, configured to receive a lighting control instruction; wherein the lighting control instruction at least includes a target key identifier and a target key operation corresponding to a target switch key on the composite key panel determined based on the lighting control operation; An instruction parsing unit, configured to determine a target lighting scene corresponding to the target button identifier and a target lighting state corresponding to the target button operation based on a pre-configured first correspondence between the button identifier and the lighting scene and a second correspondence between the button operation and the lighting state; The lamp control unit is used to control the on-off of the power on-off module connected to each target lamp circuit corresponding to the target lighting scene based on the target lamp state, so that each target lamp circuit corresponding to the target lighting scene switches to the target lamp state.
9. An intelligent switch control device, It is characterized in that The device comprises a memory, a processor and a computer program stored in the memory and executable on the processor, wherein the processor implements the intelligent switch control method as claimed in claim 6 when executing the computer program.
10. A computer-readable storage medium, It is characterized in that The computer-readable storage medium stores computer instructions, and when the computer instructions are executed by a processor, the intelligent switch control method according to claim 6 is implemented.
