Control method and system of multifunctional wall surface intelligent switch

By receiving and parsing triggering instructions, the multi-modal function of the smart switch is realized, which solves the problem of single function of the existing smart switch and improves the degree of intelligence and user experience.

CN119356112AInactive Publication Date: 2025-01-24LEXUS INTELLIGENT TECH (SHANGHAI) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411482700.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-10-23
Publication Date
2025-01-24
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

The existing wall smart switch functions are single, which cannot meet the diverse control needs of modern smart homes, and lacks night light scene settings, voice control, brightness adjustment and warning light functions.

Method used

By receiving and analyzing the trigger instructions of the smart switch, the preset configuration information is called, and the control instructions are converted to realize the multi -mode function of the smart switch, including night lights, atmosphere lights, alarm lights and voice control functions.

Benefits of technology

It improves the intelligence of intelligent switch and user experience, diversify its functions, and apply more application scenarios.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119356112A_ABST
    Figure CN119356112A_ABST
Patent Text Reader

Abstract

The invention discloses a control method and system for a multifunctional wall surface intelligent switch, and the method comprises the steps: firstly receiving and analyzing a triggering instruction of the intelligent switch, and calling the preset configuration information of the intelligent switch corresponding to the triggering instruction; and converting the preset configuration information of the intelligent switch into the corresponding control instruction so as to realize the multi-mode function of the intelligent switch. By arranging the night lamp, the atmosphere lamp, the alarm lamp and the voice control function for the intelligent switch, the functions of the intelligent switch are diversified, the intelligent switch is suitable for more application scenes, and the intelligent degree and the user experience of the intelligent switch are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the field of intelligent control technology, and in particular to a control method and system for a multifunctional wall intelligent switch. Background Art

[0002] The smart wall switch is an innovative product that combines modern technology with the needs of home life. Most traditional smart wall switches still only have basic switch control functions, that is, controlling the on and off of lamps or other electrical appliances. This single function can no longer meet the user's demand for diversified control of modern smart homes. Correspondingly, modern smart home systems require smart switches to provide more functions, such as night light scene settings, voice control, brightness adjustment, warning light functions, etc. However, due to technical or cost limitations, these functions have not been implemented on smart switches. The current lack of these functions limits the intelligence level and user experience of smart switches, which has become a technical problem that needs to be solved urgently. Summary of the invention

[0003] The purpose of the present invention is to provide a control method and system for a multifunctional wall intelligent switch to solve the deficiencies in the prior art. It realizes the multimodal function of the intelligent switch by receiving and parsing the triggering instructions of the intelligent switch, thereby improving the intelligence level of the intelligent switch and the user experience.

[0004] An embodiment of the present application provides a control method for a multifunctional wall intelligent switch, the method comprising:

[0005] Receive and analyze the trigger instruction of the intelligent switch, and call the preset configuration information of the intelligent switch corresponding to the trigger instruction;

[0006] Execute and convert the preset configuration information of the smart switch into corresponding control instructions to realize the multimodal function of the smart switch; wherein the multimodal function of the smart switch includes a night light function, an atmosphere light function, an alarm light function and a voice control function.

[0007] Optionally, the trigger instruction of the smart switch includes: single trigger, multiple trigger and / or long press trigger.

[0008] Optionally, before receiving and parsing the trigger instruction of the intelligent switch, the method further includes:

[0009] Execute pre-customized control of the trigger instruction of the intelligent switch, and determine and store the preset configuration information of the intelligent switch after the customized control.

[0010] Optionally, the performing of pre-customized control on the trigger instruction of the intelligent switch, and determining and storing preset configuration information of the intelligent switch after the customized control, includes:

[0011] The pre-defined control state equation of the intelligent switch trigger command is obtained by the following formula:

[0012]

[0013] Among them, r h Indicates the resistance value of the smart switch, x dqbp Represents the state variable of the intelligent switch, satisfying x dqbp =[i zd ,i zq ,i zb ,i zp ] T ,i zd 、i zq 、i zb 、i zp They represent the current states of the night light function, atmosphere light function, alarm light function and voice control function respectively, B represents the control coefficient of the smart switch, and U represents the custom control output of the smart switch, satisfying U=[u zd ,u zq ,u zb ,u zp ] T ,u zd 、u zq 、u zb 、u zp They respectively represent the voltage states of the night light function, atmosphere light function, alarm light function and voice control function, and L represents the inductance of the smart switch.

[0014] Another embodiment of the present application provides a control system for a multifunctional wall intelligent switch, the system comprising:

[0015] A receiving module, used to receive and parse the trigger instruction of the intelligent switch, and call the preset configuration information of the intelligent switch corresponding to the trigger instruction;

[0016] An execution module is used to convert the preset configuration information of the smart switch into corresponding control instructions to realize the multimodal function of the smart switch; wherein the multimodal function of the smart switch includes a night light function, an atmosphere light function, an alarm light function and a voice control function.

[0017] Optionally, the system further includes:

[0018] The storage module is used to perform pre-customized control of the trigger instruction of the intelligent switch, and determine and store the preset configuration information of the intelligent switch after the customized control.

[0019] Another embodiment of the present application provides a multifunctional intelligent wall switch, comprising:

[0020] The human body sensing module, ambient brightness sensing module, RGBCW light bead module, voice input module, and offline voice chip module connected by communication, among which,

[0021] The human body sensing module is used to automatically detect user activities and automatically adjust the intelligent switch state according to the detection results;

[0022] The ambient brightness sensing module is used to obtain ambient brightness information;

[0023] The RGBCW light-emitting lamp bead module is used to control the light emission ratio of LED lamp beads of different colors to achieve the change of light color and the adjustment of color temperature;

[0024] The voice input module is used to receive a user's voice control signal;

[0025] The offline voice chip module is used to recognize the user's voice control signal and generate corresponding voice control instructions.

[0026] Another embodiment of the present application provides a smart home system, comprising:

[0027] at least one processor; and,

[0028] A memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the control method of the multifunctional wall intelligent switch described in any one of the claims.

[0029] Yet another embodiment of the present application provides a storage medium, in which a computer program is stored, wherein the computer program is configured to implement the above-mentioned method when executed.

[0030] Another embodiment of the present application provides an electronic device, including a memory and a processor, wherein the memory stores a computer program, and the processor is configured to run the computer program to implement the above-mentioned method.

[0031] Compared with the prior art, the present invention first receives and analyzes the trigger instruction of the smart switch, calls the preset configuration information of the smart switch corresponding to the trigger instruction, and converts the preset configuration information of the smart switch into the corresponding control instruction to realize the multi-modal function of the smart switch. By adding night light, atmosphere light, alarm light and voice control functions to the smart switch, the functions of the smart switch are diversified and applicable to more application scenarios, which improves the intelligence level and user experience of the smart switch. BRIEF DESCRIPTION OF THE DRAWINGS

[0032] Figure 1A hardware structure block diagram of a computer terminal for a control method of a multifunctional wall intelligent switch provided by an embodiment of the present invention;

[0033] Figure 2 A schematic diagram of a control method of a multifunctional wall intelligent switch provided by an embodiment of the present invention;

[0034] Figure 3 A schematic diagram of a control flow of a smart switch trigger instruction provided by an embodiment of the present invention;

[0035] Figure 4 A schematic diagram of the structure of a multifunctional wall intelligent switch provided by an embodiment of the present invention;

[0036] Figure 5 A schematic diagram of the working process of an offline voice chip module provided by an embodiment of the present invention;

[0037] Figure 6 A schematic diagram of a multi-modal workflow of an intelligent switch provided by an embodiment of the present invention;

[0038] Figure 7 A schematic structural diagram of a control system of a multifunctional wall intelligent switch provided in an embodiment of the present invention. DETAILED DESCRIPTION

[0039] The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the present invention, but should not be construed as limiting the present invention.

[0040] The embodiment of the present invention first provides a control method for a multifunctional wall intelligent switch, which can be applied to electronic devices such as computer terminals, specifically ordinary computers, quantum computers, etc.

[0041] The following describes it in detail by taking running on a computer terminal as an example. Figure 1 The hardware structure block diagram of a computer terminal for a control method of a multifunctional wall intelligent switch provided by an embodiment of the present invention. Figure 1 As shown, the computer terminal may include one or more ( Figure 1 Only one is shown in the figure) a processor 102 (the processor 102 may include but is not limited to a processing device such as a microprocessor MCU or a programmable logic device FPGA) and a memory 104 for storing data. Optionally, the computer terminal may also include a transmission device 106 for communication functions and an input and output device 108. It can be understood by those skilled in the art that Figure 1 The structure shown is only for illustration and does not limit the structure of the above-mentioned computer terminal. Figure 1 More or fewer components as shown, or with Figure 1Different configurations are shown.

[0042] The memory 104 can be used to store software programs and modules of application software, such as program instructions / modules corresponding to the control method of the multifunctional wall intelligent switch in the embodiment of the present application. The processor 102 executes various functional applications and data processing by running the software programs and modules stored in the memory 104, that is, realizing the above-mentioned system. The memory 104 may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some instances, the memory 104 may further include a memory remotely arranged relative to the processor 102, and these remote memories may be connected to the computer terminal via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0043] The transmission device 106 is used to receive or send data via a network. The specific example of the above network may include a wireless network provided by a communication provider of a computer terminal. In one example, the transmission device 106 includes a network adapter (Network Interface Controller, NIC), which can be connected to other network devices through a base station so as to communicate with the Internet. In one example, the transmission device 106 can be a radio frequency (RF) module, which is used to communicate with the Internet wirelessly.

[0044] See also Figure 2 , Figure 2 A schematic flow chart of a control method of a multifunctional wall intelligent switch provided by an embodiment of the present invention, the method may include:

[0045] S201: receiving and parsing a trigger instruction of a smart switch, and calling preset configuration information of the smart switch corresponding to the trigger instruction.

[0046] Specifically, before receiving and parsing the trigger instruction of the intelligent switch, the method may further include:

[0047] Execute pre-customized control of the trigger instruction of the intelligent switch, and determine and store the preset configuration information of the intelligent switch after the customized control.

[0048] First, determine how users can customize the control behavior of the smart switch, such as through a dedicated configuration interface, mobile phone application, voice command or other interactive methods. Define the parameters that users can set, such as the switch's scheduled tasks, linkage rules, scene mode, brightness, color temperature, etc. Then receive the user's customized control input through the configuration interface or application, and verify the validity of the user input. Generate the preset configuration information of the smart switch based on the user input. Among them, the preset configuration information may include the switch ID, customized control parameters, linkage rules with other devices, etc., and store the generated preset configuration information in a database or configuration file.

[0049] Set the trigger instruction of the smart switch so that the corresponding preset configuration information can be called when the trigger instruction is received. The trigger instruction of the smart switch may include: single trigger, multiple trigger and / or long press trigger. Or it may be an event listener, callback function or other type of trigger point. When the trigger instruction is received, retrieve the corresponding preset configuration information according to the switch ID in the instruction. Perform the corresponding custom control operation according to the preset configuration information. After performing the custom control, update the status information of the smart switch. If necessary, send the updated status information back to the device or application that sent the trigger instruction so that the user can understand the latest status of the switch.

[0050] For example, see Figure 3 , Figure 3 A control flow diagram of a smart switch trigger instruction provided by an embodiment of the present invention, wherein by pressing a button, a button control signal is sent to the smart home system, and the smart switch trigger instruction can be wireless or bus-based, in the form of a communication protocol code. For example, it can be through HTTP requests, MQTT messages, WebSocket connections or other communication protocols. Define a unique identifier (such as an ID or name) for each smart switch, and ensure that the identifier is included in the trigger instruction.

[0051] For example, a user presses a physical button of a smart switch and releases it immediately to perform a corresponding operation. When a single press event of the switch is detected, the preset configuration information associated with the switch is immediately read. According to the preset configuration information, the corresponding operation is performed, such as turning on or off the ambient light. The user presses the switch multiple times in a short period of time to perform different operations or multiple iterations of the same operation. Monitor the press and release events of the switch and calculate the time interval between the two events. If the time interval is within the preset threshold (indicating multiple triggers), different operations are performed based on the number of consecutive presses. For example, two presses may dim the ambient light, and three presses may trigger the alarm light function, etc. It should be noted that the state of the switch needs to be updated after each operation, and a state update notification is sent. The user presses the switch and holds it for a period of time to perform a specific operation or enter a certain mode, such as a voice control input mode.

[0052] In an optional implementation, the performing of pre-customized control on the trigger instruction of the intelligent switch, and determining and storing preset configuration information of the intelligent switch after the customized control, includes:

[0053] The pre-defined control state equation of the intelligent switch trigger command is obtained by the following formula:

[0054]

[0055] Among them, r h Indicates the resistance value of the smart switch, x dqbp Represents the state variable of the intelligent switch, satisfying x dqbp =[i zd ,i zq ,i zb ,i zp ] T ,i zd 、i zq 、i zb 、i zp They represent the current states of the night light function, atmosphere light function, alarm light function and voice control function respectively, B represents the control coefficient of the smart switch, and U represents the custom control output of the smart switch, satisfying U=[u zd ,u zq ,u zb ,u zp ] T ,u zd 、u zq 、u zb 、u zp They respectively represent the voltage states of the night light function, atmosphere light function, alarm light function and voice control function, and L represents the inductance of the smart switch.

[0056] S202: Execute the conversion of preset configuration information of the smart switch into corresponding control instructions to realize the multimodal function of the smart switch; wherein the multimodal function of the smart switch includes a night light function, an atmosphere light function, an alarm light function and a voice control function.

[0057] Specifically, when the preset configuration information of the smart switch is converted into corresponding control instructions, when the user triggers the night light function, the brightness, color temperature and other parameters in the night light mode are retrieved from the preset configuration information. These parameters are converted into control instructions and sent to the smart switch to adjust the brightness and color temperature of the smart switch.

[0058] The atmosphere light function may involve a combination of multiple parameters, such as color, gradient speed, brightness, etc. The system retrieves these parameters from the preset configuration information and converts them into control instructions to achieve the desired atmosphere effect. The alarm light function usually requires rapid flashing or color change in specific situations (such as emergency situations). Generate corresponding control instructions based on the alarm mode (such as flashing frequency, color change, etc.) in the preset configuration information. These instructions will trigger the smart switch to perform alarm operations, such as rapid flashing of red or blue light, etc. For the voice control function, a voice recognition system can be integrated (such as using a cloud service or a locally deployed voice recognition engine). When the user issues a voice command, the voice recognition system converts the command into text or commands, parses these commands, and generates corresponding control instructions based on the preset configuration information to control the smart switch. Once the control instructions are generated, send these instructions to the smart switch. This can be achieved through wireless communication protocols (such as Wi-Fi, ZigBee, Z-Wave, etc.) to ensure that the smart switch can correctly receive and parse these instructions.

[0059] It should be noted that after executing the control command, feedback can also be received from the smart switch to confirm that the command has been correctly executed. The status and performance of the smart switch are monitored to ensure that it operates normally and meets user needs.

[0060] Among them, the night light function can be used as a night light to slowly light up after the sensor is triggered at night. The alarm light function can realize that when receiving the user's alarm signal (wireless or bus communication), the sensor of the smart switch flashes red and alarms. The atmosphere light function can realize, for example, setting the atmosphere light start time, and the light automatically restores or automatically adjusts the atmosphere after the time is exceeded. The voice control function can control the user's lights, curtains, music, HVAC and other equipment through the built-in microphone chip and offline voice control chip, and use the sensor to issue voice control commands.

[0061] Compared with the prior art, the present invention first receives and analyzes the trigger instruction of the smart switch, calls the preset configuration information of the smart switch corresponding to the trigger instruction, and converts the preset configuration information of the smart switch into the corresponding control instruction to realize the multi-modal function of the smart switch. By adding night light, atmosphere light, alarm light and voice control functions to the smart switch, the functions of the smart switch are diversified and applicable to more application scenarios, which improves the intelligence level and user experience of the smart switch.

[0062] See also Figure 4 , Figure 4 A structural schematic diagram of a multifunctional wall smart switch provided in an embodiment of the present invention, the smart switch 400 may include: a human body sensing module 401, an ambient brightness sensing module 402, an RGBCW light-emitting lamp bead module 403, a voice input module 404, and an offline voice chip module 405 that are communicatively connected, wherein the human body sensing module is used to automatically detect user activities and automatically adjust the state of the smart switch according to the detection results; the ambient brightness sensing module is used to obtain ambient brightness information; the RGBCW light-emitting lamp bead module is used to control the light emission ratio of LED lamp beads of different colors to achieve changes in light color and adjustment of color temperature; the voice input module is used to receive user voice control signals; the offline voice chip module is used to recognize user voice control signals and generate corresponding voice control instructions.

[0063] Specifically, the human body sensing module 401 is used to automatically detect user activities, such as approaching, leaving or moving, etc. Human activities are detected through built-in sensors (such as infrared sensors, ultrasonic sensors or radar sensors), and the state of the smart switch is automatically adjusted according to the detection results, such as automatically turning on or off the light.

[0064] It should be noted that, depending on the purpose, the human body sensing module 401 can use one or more of a TOF laser ranging sensor, a microwave radar sensor, and a pyroelectric infrared sensor. For example, when precise distance detection is required, a TOF laser ranging sensor is used; when large-scale detection is required, a microwave radar sensor is used; when a moving infrared human body needs to be detected, a pyroelectric infrared sensor is used.

[0065] Among them, the ambient brightness sensing module 402 is used to obtain ambient brightness information in real time. The ambient light intensity can be detected by a built-in photosensitive sensor, and the brightness or color temperature of the light can be automatically adjusted according to the change of ambient brightness to realize the automatic light adjustment function. The RGBCW light-emitting lamp bead module 403 is used to control the luminous ratio of LED lamp beads of different colors to realize the change of light color and the adjustment of color temperature. Among them, "RGB" in RGBCW stands for red, green and blue. By adjusting the luminous ratio of LED lamp beads of these three colors, various colors of light can be mixed. And "CW" usually stands for cool white and warm white, which is used to adjust the color temperature. Through intelligent control algorithms or user settings, the RGBCW light-emitting lamp bead module can output lights of different colors, brightness and color temperatures to meet the atmosphere adjustment requirements of smart switches in different scenes. The voice input module 404 is used to receive the user's voice control signal, and can capture the user's voice command through a built-in microphone or other sound collection equipment, and convert it into a digital signal for further processing by the offline voice chip module 405. The offline voice chip module 405 is used to recognize the user's voice control signal and generate corresponding voice control instructions. The offline voice chip module 405 may include a voice recognition algorithm and a stored voice instruction library. When receiving the voice signal transmitted by the voice input module, the offline voice chip module will perform voice recognition, match the recognition result with the preset instructions in the instruction library, and generate corresponding control instructions for controlling other modules such as the RGBCW light-emitting lamp bead module.

[0066] It should be noted that see Figure 5 , Figure 5 A schematic diagram of the workflow of an offline voice chip module provided in an embodiment of the present invention, after the sensor of the offline voice chip module 405 is awakened by voice (such as the wake-up word is "Xiao Le Xiao Le"), the sensor starts to "listen" for control commands. The voice chip compares with the built-in "control terms" and sends control commands to the smart home system if they meet the requirements to complete various types of control: lights, curtains, music, air conditioning, etc. After no new commands are issued, the sensor delays for a period of time, such as exiting after 1 minute. Continue to wait for the next wake-up operation. The above modules are connected through communication connections (such as SPI, UART and other communication protocols) to transmit data and exchange instructions to realize the multi-functional control of the smart switch. In addition, the smart switch may also include other auxiliary modules, such as a power management module, a button control module, a display module, etc., which are used to provide functions such as stable power supply, physical button control and status display.

[0067] For example, see FIG. 6 . Figure 6This is a schematic diagram of a multi-modal workflow of a smart switch provided by an embodiment of the present invention. The human body sensing module 401 detects the ambient brightness information and determines whether the current brightness information is lower than the set value. If so, the smart switch enters the night light mode and adjusts the sensor light to a warm color; if the current brightness information is not lower than the set value, the smart switch maintains the current working state. When the smart switch is in alarm mode, for example, if someone is in the bathroom for a long time, the light flashes yellow, indicating that the rest or toilet time is too long. After receiving the alarm signal, the RGBCW light beads of the smart switch turn red, start flashing alarm, and the buzzer emits a beeping sound. When the smart switch is in atmosphere light mode, the RGBCW light beads of the smart switch turn into various colors to adjust the atmosphere.

[0068] Compared with the prior art, the present invention first receives and analyzes the trigger instruction of the smart switch, calls the preset configuration information of the smart switch corresponding to the trigger instruction, and converts the preset configuration information of the smart switch into the corresponding control instruction to realize the multi-modal function of the smart switch. By adding night light, atmosphere light, alarm light and voice control functions to the smart switch, the functions of the smart switch are diversified and applicable to more application scenarios, which improves the intelligence level and user experience of the smart switch.

[0069] Another embodiment of the present application provides a smart home system, comprising: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the control method of the multi-functional wall smart switch as described in any of the above claims.

[0070] Another embodiment of the present application provides a control system for a multifunctional wall intelligent switch, see Figure 7 , Figure 7 A schematic diagram of a control system of a multifunctional wall intelligent switch provided by an embodiment of the present invention, the system comprising:

[0071] The receiving module 701 is used to receive and analyze the trigger instruction of the intelligent switch, and call the preset configuration information of the intelligent switch corresponding to the trigger instruction;

[0072] The execution module 702 is used to convert the preset configuration information of the smart switch into corresponding control instructions to realize the multimodal function of the smart switch; wherein the multimodal function of the smart switch includes a night light function, an atmosphere light function, an alarm light function and a voice control function.

[0073] Specifically, the system further includes:

[0074] The storage module is used to perform pre-customized control of the trigger instruction of the intelligent switch, and determine and store the preset configuration information of the intelligent switch after the customized control.

[0075] Compared with the prior art, the present invention first receives and analyzes the trigger instruction of the smart switch, calls the preset configuration information of the smart switch corresponding to the trigger instruction, and converts the preset configuration information of the smart switch into the corresponding control instruction to realize the multi-modal function of the smart switch. By adding night light, atmosphere light, alarm light and voice control functions to the smart switch, the functions of the smart switch are diversified and applicable to more application scenarios, which improves the intelligence level and user experience of the smart switch.

[0076] An embodiment of the present invention further provides a storage medium, in which a computer program is stored, wherein the computer program is configured to implement the steps in the above method embodiment when running.

[0077] Specifically, in this embodiment, the above storage medium may be configured to store a computer program for performing the following steps:

[0078] S201: receiving and parsing a trigger instruction of a smart switch, and calling preset configuration information of the smart switch corresponding to the trigger instruction;

[0079] S202: Execute the conversion of preset configuration information of the smart switch into corresponding control instructions to realize the multimodal function of the smart switch; wherein the multimodal function of the smart switch includes a night light function, an atmosphere light function, an alarm light function and a voice control function.

[0080] Specifically, in this embodiment, the above-mentioned storage medium may include but is not limited to: a USB flash drive, a read-only memory (ROM), a random access memory (RAM), a mobile hard disk, a magnetic disk or an optical disk, and other media that can store computer programs.

[0081] Compared with the prior art, the present invention first receives and analyzes the trigger instruction of the smart switch, calls the preset configuration information of the smart switch corresponding to the trigger instruction, and converts the preset configuration information of the smart switch into the corresponding control instruction to realize the multi-modal function of the smart switch. By adding night light, atmosphere light, alarm light and voice control functions to the smart switch, the functions of the smart switch are diversified and applicable to more application scenarios, which improves the intelligence level and user experience of the smart switch.

[0082] An embodiment of the present invention further provides an electronic device, including a memory and a processor, wherein the memory stores a computer program, and the processor is configured to run the computer program to execute the steps in the above method embodiment.

[0083] Specifically, the electronic device may further include a transmission device and an input / output device, wherein the transmission device is connected to the processor, and the input / output device is connected to the processor.

[0084] Specifically, in this embodiment, the processor may be configured to perform the following steps through a computer program:

[0085] S201: receiving and parsing a trigger instruction of a smart switch, and calling preset configuration information of the smart switch corresponding to the trigger instruction;

[0086] S202: Execute the conversion of preset configuration information of the smart switch into corresponding control instructions to realize the multimodal function of the smart switch; wherein the multimodal function of the smart switch includes a night light function, an atmosphere light function, an alarm light function and a voice control function.

[0087] Compared with the prior art, the present invention first receives and analyzes the trigger instruction of the smart switch, calls the preset configuration information of the smart switch corresponding to the trigger instruction, and converts the preset configuration information of the smart switch into the corresponding control instruction to realize the multi-modal function of the smart switch. By adding night light, atmosphere light, alarm light and voice control functions to the smart switch, the functions of the smart switch are diversified and applicable to more application scenarios, which improves the intelligence level and user experience of the smart switch.

[0088] It should be noted that, for the above-mentioned method embodiments, for the sake of simplicity, they are all described as a series of action combinations, but those skilled in the art should know that the present invention is not limited by the described action sequence, because according to the present invention, certain steps can be performed in other sequences or simultaneously. Secondly, those skilled in the art should also know that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present invention.

[0089] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0090] In the several embodiments provided by the present invention, it should be understood that the disclosed device can be implemented in other ways. For example, the device embodiments described above are only schematic, such as the division of the above units, which is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, and the indirect coupling or communication connection of devices or units can be electrical or other forms.

[0091] The units described above as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0092] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0093] If the above-mentioned integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable memory. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a memory, including a number of instructions for a computer device (which can be a personal computer, a server or a network device, etc.) to perform all or part of the steps of the above-mentioned methods of each embodiment of the present invention. The aforementioned memory includes: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, magnetic disk or optical disk and other media that can store program codes.

[0094] The embodiments of the present invention are described in detail above, and the principles and implementation methods of the present invention are explained by applying specific examples. The description of the above embodiments is only used to help understand the method of the present invention and its core idea; for those skilled in the art, there may be changes in the specific implementation methods and application scopes. In summary, the content of this specification should not be understood as limiting the present invention.

Claims

1. A control method for a multifunctional wall intelligent switch, characterized in that: The method comprises: Receive and analyze the trigger instruction of the intelligent switch, and call the preset configuration information of the intelligent switch corresponding to the trigger instruction; Execute the conversion of the preset configuration information of the smart switch into corresponding control instructions to realize the multimodal function of the smart switch; wherein the multimodal function of the smart switch includes a night light function, an atmosphere light function, an alarm light function and a voice control function.

2. The method according to claim 1, characterized in that The triggering instructions of the smart switch include: single triggering, multiple triggering and / or long press triggering.

3. The method according to claim 1, characterized in that Before receiving and parsing the trigger instruction of the intelligent switch, the method further includes: Execute pre-customized control of the trigger instruction of the intelligent switch, and determine and store the preset configuration information of the intelligent switch after the customized control.

4. The method according to claim 3, characterized in that The performing of pre-customized control of the trigger instruction of the intelligent switch, and determining and storing the preset configuration information of the intelligent switch after the customized control, includes: The pre-defined control state equation of the intelligent switch trigger command is obtained by the following formula: Among them, r h Indicates the resistance value of the smart switch, x dqbp Represents the state variable of the intelligent switch, satisfying x dqbp =[i zd ,i zq ,i zb ,i zp ] T ,i zd 、i zq 、i zb 、i zp They represent the current states of the night light function, atmosphere light function, alarm light function and voice control function respectively, B represents the control coefficient of the smart switch, and U represents the custom control output of the smart switch, satisfying U=[u zd ,u zq ,u zb ,u zp ] T ,u zd 、u zq 、u zb 、u zp They respectively represent the voltage states of the night light function, atmosphere light function, alarm light function and voice control function, and L represents the inductance of the smart switch.

5. A control system for a multifunctional wall intelligent switch, characterized in that: The system comprises: A receiving module, used to receive and parse the trigger instruction of the intelligent switch, and call the preset configuration information of the intelligent switch corresponding to the trigger instruction; An execution module is used to convert the preset configuration information of the smart switch into corresponding control instructions to realize the multimodal function of the smart switch; wherein the multimodal function of the smart switch includes a night light function, an atmosphere light function, an alarm light function and a voice control function.

6. The system according to claim 5, characterized in that The system further comprises: The storage module is used to perform pre-customized control of the trigger instruction of the intelligent switch, and determine and store the preset configuration information of the intelligent switch after the customized control.

7. A multifunctional wall intelligent switch, characterized in that: include: The human body sensing module, ambient brightness sensing module, RGBCW light bead module, voice input module, and offline voice chip module connected by communication, among which, The human body sensing module is used to automatically detect user activities and automatically adjust the intelligent switch state according to the detection results; The ambient brightness sensing module is used to obtain ambient brightness information; The RGBCW light-emitting lamp bead module is used to control the light emission ratio of LED lamp beads of different colors to achieve the change of light color and the adjustment of color temperature; The voice input module is used to receive a user's voice control signal; The offline voice chip module is used to recognize the user's voice control signal and generate corresponding voice control instructions.

8. A smart home system, characterized in that: include; at least one processor; as well as, A memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the control method of the multifunctional wall intelligent switch as described in any one of claims 1-4.

9. A storage medium, characterized in that: The storage medium stores a computer program, wherein the computer program is configured to implement the method according to any one of claims 1 to 4 when executed.

10. An electronic device comprising a memory and a processor, characterized in that: A computer program is stored in the memory, and the processor is configured to execute the computer program to implement the method according to any one of claims 1 to 4.