Control method and device of intelligent switch, intelligent switch and storage medium

By receiving and modifying the configuration information of smart switches, the problem of fixed distinction between smart switches and keys is solved, and the precise distinction between different smart switches and keys is achieved and the interaction efficiency is improved.

CN119937336AInactive Publication Date: 2025-05-06GREE ELECTRIC APPLIANCE INC OF ZHUHAI +1
View PDF 8 Cites 0 Cited by

Patent Information

Application Number
CN202411925871.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-25
Publication Date
2025-05-06
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

The way of distinguishing the keys in existing smart switches and smart switches is very fixed and cannot adapt to the diverse interactive needs of users, resulting in the indistinguishable intelligent switches with the same name in the same house and the keys in them, and the interaction efficiency is low.

Method used

By receiving the device configuration information and key configuration information in the configuration data packet, the device information and key information of the smart switch are modified, including device name information and device position information, as well as key name information and key position information, thereby distinguishing the different smart switches and keys in the smart switch.

Benefits of technology

It realizes the distinction based on device information and key information, so as to facilitate the rapid matching of objects that users need to interact with and improve interaction efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119937336A_ABST
    Figure CN119937336A_ABST
Patent Text Reader

Abstract

The invention relates to a control method and device of an intelligent switch, the intelligent switch and a storage medium, and the method comprises the steps: receiving a configuration data package for the intelligent switch; determining equipment configuration information of the intelligent switch and key configuration information of each key in the intelligent switch according to the configuration data packet; modifying the equipment information of the intelligent switch based on the equipment name information and the equipment position information in the equipment configuration information; and modifying the key information of the corresponding key in the intelligent switch based on the key name information and the key position information in the key configuration information. According to the embodiment of the invention, different intelligent switches and keys in the intelligent switches can be distinguished conveniently, diversified interaction requirements of users can be met conveniently, different intelligent switches with the same name in the same house and the keys in the intelligent switches can be distinguished according to the equipment information and the key information, and the user experience is improved. Objects needing to be interacted by the user can be quickly matched, and the interaction efficiency is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of smart home, and in particular to a control method and device for a smart switch, a smart switch and a storage medium. Background Art

[0002] Smart switch is a modern home control device that combines advanced information technology with the functions of traditional switches. It is an important component of smart home system. Smart switch can realize intelligent control of home lighting and home appliances through remote control, mobile phone remote control and voice.

[0003] Smart switches can be widely used in homes, offices, hotels, conference rooms and other places to achieve a variety of application scenarios such as home intelligence, business intelligence, and hotel smart rooms. For example, at home, parents can remotely control the lights and other equipment in their children's bedrooms through smart switches to avoid safety hazards such as excessive electricity consumption and fire. In the office, smart switches can control lights, air purification, curtains, etc., improve work efficiency and comfort, and can also monitor and count employees' activity trajectories to achieve more flexible management.

[0004] However, the current way of distinguishing smart switches and buttons in smart switches is very fixed and cannot adapt to the diverse interaction needs of users. For different smart switches with the same name in the same house and the buttons therein, it will be impossible to distinguish the objects that the user needs to interact with, and the interaction efficiency is low. Summary of the invention

[0005] In order to solve the above technical problems or at least partially solve the above technical problems, the present application provides a control method and device for an intelligent switch, an intelligent switch and a storage medium.

[0006] In a first aspect, the present application provides a control method for an intelligent switch, the method comprising:

[0007] Receive a configuration data packet for the smart switch;

[0008] Determining device configuration information for the intelligent switch and key configuration information for each key in the intelligent switch according to the configuration data packet;

[0009] Modify the device information of the smart switch based on the device name information and the device location information in the device configuration information;

[0010] The button information of the corresponding button in the intelligent switch is modified based on the button name information and the button position information in the button configuration information.

[0011] Optionally, the method further comprises:

[0012] When receiving a switch control instruction, determining whether the device identification information carried in the switch control instruction matches the own device information;

[0013] If the device identification information matches the own device information, determining whether the switch control instruction carries key identification information;

[0014] If the switch control instruction carries button identification information, determining the target button according to the button identification information;

[0015] Control the relay corresponding to the target button to perform a switching action.

[0016] Optionally, determining whether the device identification information carried in the switch control instruction matches the own device information includes:

[0017] Determining whether the device identification information includes the device name information and the device location information;

[0018] If the device identification information includes the device name information and the device location information, it is determined that the device identification information carried in the switch control instruction matches the own device information.

[0019] Optionally, determining the target key according to the key identification information includes:

[0020] Determine the key name information and / or key position information included in the key identification information;

[0021] One or more cases matching the button name information and / or the button position information are determined as target buttons.

[0022] Optionally, the method further comprises:

[0023] If the switch control instruction does not carry the button identification information, one or more buttons of the smart switch connected to the smart device are determined as target buttons;

[0024] Control the relay corresponding to the target button to perform a switching action.

[0025] Optionally, the method further comprises:

[0026] Determining display configuration information for the intelligent switch according to the configuration data packet;

[0027] Determining the information display mode of the intelligent switch based on the display configuration information;

[0028] The device information of the intelligent switch and the key information of each key in the intelligent switch are displayed according to the information display mode.

[0029] Optionally, displaying the device information of the smart switch and the key information of each key in the smart switch in the information display mode includes:

[0030] If the information display mode is a collection display, a button control of multiple buttons is displayed in the main control card, and the button control contains the button information of the corresponding button. When each button control is triggered, it jumps to the button card of the corresponding button;

[0031] Alternatively, if the information display mode is split display, a key card of multiple keys is displayed.

[0032] In a second aspect, the present application provides a control device for an intelligent switch, the device comprising:

[0033] A first receiving module, used to receive a configuration data packet for the smart switch;

[0034] A first determining module, configured to determine device configuration information for the intelligent switch and key configuration information for each key in the intelligent switch according to the configuration data packet;

[0035] A first modification module, used to modify the device information of the intelligent switch based on the device name information and the device location information in the device configuration information;

[0036] The second modifying module is used to modify the button information of the corresponding button in the intelligent switch based on the button name information and the button position information in the button configuration information.

[0037] Optionally, the device further comprises:

[0038] A second determination module is used to determine whether the device identification information carried in the switch control instruction matches its own device information when receiving the switch control instruction;

[0039] A third determination module, configured to determine whether the switch control instruction carries key identification information if the device identification information matches its own device information;

[0040] A fourth determination module, configured to determine a target button according to the button identification information if the switch control instruction carries the button identification information;

[0041] The first control module is used to control the relay corresponding to the target button to perform a switching action.

[0042] Optionally, the second determining module includes:

[0043] A first determining unit, configured to determine whether the device identification information includes the device name information and the device location information;

[0044] The second determining unit is configured to determine that the device identification information carried in the switch control instruction matches its own device information if the device identification information includes the device name information and the device location information.

[0045] Optionally, the fourth determining module includes:

[0046] A third determining unit, configured to determine the key name information and / or key position information included in the key identification information;

[0047] The fourth determining unit is used to determine one or more cases matching the key name information and / or the key position information as target keys.

[0048] Optionally, the device further comprises:

[0049] a fifth determining module, configured to determine one or more buttons of the smart switch connected to the smart device as target buttons if the switch control instruction does not carry button identification information;

[0050] The second control module is used to control the relay corresponding to the target button to perform a switching action.

[0051] Optionally, the device further comprises:

[0052] a sixth determining module, configured to determine display configuration information for the intelligent switch according to the configuration data packet;

[0053] a seventh determining module, configured to determine an information display mode of the intelligent switch based on the display configuration information;

[0054] The display module is used to display the device information of the intelligent switch and the key information of each key in the intelligent switch according to the information display mode.

[0055] Optionally, the display module includes:

[0056] A first display unit, for displaying a plurality of button controls of buttons in a main control card if the information display mode is a collection display, wherein the button controls include button information of corresponding buttons, and when each button control is triggered, jumps to a button card of a corresponding button;

[0057] Alternatively, the second display unit is used to display key cards of multiple keys if the information display mode is split display.

[0058] In a third aspect, the present application provides an intelligent switch, including a processor, a communication interface, a memory, and a communication bus, wherein the processor, the communication interface, and the memory communicate with each other via the communication bus;

[0059] Memory, used to store computer programs;

[0060] The processor is used to implement any control method of the intelligent switch described in the first aspect when executing the program stored in the memory.

[0061] In a fourth aspect, the present application provides a computer-readable storage medium, on which a program of a method for controlling an intelligent switch is stored. When the program of the method for controlling an intelligent switch is executed by a processor, the steps of the method for controlling an intelligent switch described in any one of the first aspects are implemented.

[0062] The above technical solution provided by the embodiment of the present application has the following advantages compared with the prior art:

[0063] The embodiment of the present application can modify the device information and button information of the smart switch according to the device configuration information and button configuration information in the configuration data packet, so as to facilitate the distinction between different smart switches and buttons in the smart switches, and further facilitate the satisfaction of the user's diverse interaction needs. Different smart switches with the same name in the same house and the buttons therein can be distinguished according to the device information and button information, so as to facilitate the rapid matching of the objects that the user needs to interact with and improve the interaction efficiency. BRIEF DESCRIPTION OF THE DRAWINGS

[0064] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and, together with the description, serve to explain the principles of the invention.

[0065] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.

[0066] Figure 1 A flow chart of a control method of an intelligent switch provided in an embodiment of the present application;

[0067] Figure 2 A structural diagram of a control device for an intelligent switch provided in an embodiment of the present application;

[0068] Figure 3 A structural diagram of an intelligent switch provided in an embodiment of the present application. DETAILED DESCRIPTION

[0069] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of this application.

[0070] Since the current smart switches and the ways of distinguishing buttons in the smart switches are very fixed, they cannot adapt to the diverse interaction needs of users. For different smart switches with the same name in the same house and the buttons therein, it is impossible to distinguish the objects that the user needs to interact with, resulting in low interaction efficiency. To this end, the embodiments of the present application provide a control method, device, smart switch and storage medium for a smart switch.

[0071] The present application embodiment provides a control method for an intelligent switch, and the control method for an intelligent switch can be applied to an intelligent switch, such as Figure 1 As shown, the method includes:

[0072] Step S101, receiving a configuration data packet for the smart switch;

[0073] In the embodiment of the present application, the configuration data packet includes: device configuration information for the intelligent switch and key configuration information for each key in the intelligent switch.

[0074] In actual applications, after the APP in the user terminal detects the smart switch, it compares the device type according to the device hotspot information and confirms it as a smart switch. Then it obtains the number of keys of the smart switch. If the number of keys is greater than or equal to 2, it is confirmed as a multi-way smart switch. After confirming it as a multi-way smart switch, the Product ID of each key can be automatically mapped, for example "12345", and the Product ID of the virtual smart switch can be in the format of "product id_product id", for example "12345_12345". A virtual 14-digit MAC is used as the main MAC of the smart switch as the device name information. The device name information uses the NoteName field. The virtual 12-digit MAC is used as the MAC of the smart switch panel key. The number is the same as the number of keys as the key name information. The key name information uses the Name field.

[0075] The APP can obtain the device location information and device name information of the smart switch, and generate device configuration information based on the device location information and device name information; or the button location information and button name information of each button, and generate button configuration information based on the button location information and button name information; then package the device configuration information and the button configuration information of each button to obtain a configuration data packet, and send it to the corresponding smart switch. At this point, the smart switch can receive the configuration data packet configured by the user through the APP.

[0076] Step S102, determining device configuration information for the intelligent switch and key configuration information for each key in the intelligent switch according to the configuration data packet;

[0077] In the embodiment of the present application, the device configuration information includes: device name information and device location information, and the button configuration information includes: button name information and button location information.

[0078] In this step, the configuration data packet may be parsed to obtain device configuration information of the intelligent switch and key configuration information of each key.

[0079] Step S103, modifying the device information of the intelligent switch based on the device name information and the device location information in the device configuration information;

[0080] In this step, the default device name information and default device location information in the device information of the smart switch may be modified according to the device name information and device location information in the device configuration information.

[0081] Exemplarily, the 12-bit device MAC may be used as the device name information, and the device name information plus the device location information may be used as the unique identifier of the device. After the default device name and default device location are modified respectively, the value of the NoteName field changes.

[0082] Step S104: modifying the button information of the corresponding button in the intelligent switch based on the button name information and the button position information in the button configuration information.

[0083] In this step, the default button name and default button position in the button information of the corresponding button may be modified according to the button name information and button position information in the button configuration information.

[0084] Exemplarily, the 14-bit key MAC can be used as the key name information, and the key name information plus the key position information can be used as the key unique identifier. After the default key name and default key position are modified respectively, the value of the Name field changes.

[0085] The embodiment of the present application can modify the device information and button information of the smart switch according to the device configuration information and button configuration information in the configuration data packet, so as to facilitate the distinction between different smart switches and buttons in the smart switches, and further facilitate the satisfaction of the user's diverse interaction needs. Different smart switches with the same name in the same house and the buttons therein can be distinguished according to the device information and button information, so as to facilitate the rapid matching of the objects that the user needs to interact with and improve the interaction efficiency.

[0086] At present, the use of intelligent switch panels is very cumbersome, and multiple interactions are required to complete the functions required by the user, and the interaction efficiency is low. To this end, in another embodiment of the present application, the method further includes:

[0087] Step S201, upon receiving a switch control instruction, determining whether the device identification information carried in the switch control instruction matches the device information of the device itself;

[0088] After completing the modification of the device information and button information of the smart panel and the buttons therein, the user can send a switch control instruction to the central control device through voice. After the smart panel receives the switch control instruction, the key fields carried in the switch control instruction can be parsed to obtain device identification information and may also obtain button identification information, wherein the device identification information includes: device name information and device location information, and the button identification information includes: button identification information and / or button location information.

[0089] In one embodiment of the present application, step S201 determines whether the device identification information carried in the switch control instruction matches its own device information, including: determining whether the device identification information includes the device name information and the device location information; if the device identification information includes the device name information and the device location information, determining that the device identification information carried in the switch control instruction matches its own device information.

[0090] Step S202, if the device identification information matches the own device information, determining whether the switch control instruction carries key identification information;

[0091] If the device identification information matches the device information of the user, it indicates that the smart switch that the user wants to control is the current smart switch itself. It can be further determined whether the switch control instruction carries the button identification information. Otherwise, the process ends.

[0092] Step S203, if the switch control instruction carries button identification information, determining the target button according to the button identification information;

[0093] In one embodiment of the present application, step S203 determines the target key based on the key identification information, including: determining the key name information and / or key position information contained in the key identification information; and determining one or more cases matching the key name information and / or the key position information as the target key.

[0094] Step S204, controlling the relay corresponding to the target button to perform a switching action.

[0095] By controlling the relay corresponding to the target button to perform the switching action, the smart device (such as smart lamps and smart homes) connected to the relay can be controlled to be turned on or off.

[0096] In the embodiment of the present application, when the switch control instruction carries button identification information, one or more buttons matching the button identification information can be determined as target buttons, and the relays corresponding to the target buttons can be controlled to perform switching actions, thereby realizing precise single control or group control of the buttons in the smart switch (such as group control of multiple buttons in a smart switch in a room).

[0097] In one embodiment of the present application, the method further includes:

[0098] Step S301: if the switch control instruction does not carry button identification information, one or more buttons of the smart switch connected to the smart device are determined as target buttons;

[0099] Step S302, controlling the relay corresponding to the target button to perform a switching action.

[0100] By controlling the relay corresponding to the target button to perform the switching action, the smart device (such as smart lamps and smart homes) connected to the relay can be controlled to be turned on or off.

[0101] The embodiment of the present application can determine one or more buttons of a smart device connected to a smart switch as target buttons, and control the relays corresponding to the target buttons to perform switching actions, thereby realizing precise single control or group control of the buttons in the smart switch (such as group control of multiple buttons of a smart switch connected to a smart device in a room), when the switch control instruction does not carry button identification information.

[0102] In another embodiment of the present application, the method further includes:

[0103] Step S401, determining display configuration information for the intelligent switch according to the configuration data packet;

[0104] In an embodiment of the present application, the configuration data packet may also include display configuration information, and the display configuration information includes the information display method of the smart switch configured by the user through the APP. The display configuration information includes: Hidden field, the value range is 0 or 1, 0 is branch display, and 1 is collection display.

[0105] Step S402, determining the information display mode of the intelligent switch based on the display configuration information;

[0106] In this step, the information display mode of the smart switch can be determined by reading the value of the Hidden field.

[0107] Step S403: displaying device information of the smart switch and key information of each key in the smart switch in the information display mode.

[0108] In one implementation of the present application, step S403 displays the device information of the smart switch and the key information of each key in the smart switch according to the information display mode, including:

[0109] If the information display mode is a collection display, a button control of multiple buttons is displayed in the main control card, and the button control contains the button information of the corresponding button. When each button control is triggered, it jumps to the button card of the corresponding button;

[0110] In actual applications, the smart switch can be displayed as a collection by default, that is, there is only one main control card. The device information can be configured through the main control card. By clicking any button control in the main control card, you can jump to the corresponding button card, and the button information can be configured through the button card.

[0111] Alternatively, if the information display mode is split display, a key card of multiple keys is displayed.

[0112] In actual applications, the information display method is a branch display, and the button cards of multiple buttons can be directly displayed in the main control card of the smart switch, that is, displayed according to the number of switches. For example, 4 buttons correspond to 4 button cards. The device information can be configured through the main control card, and the button information can be configured through the button card.

[0113] In another embodiment of the present application, a control device for an intelligent switch is also provided. Figure 2 As shown, the device comprises:

[0114] A first receiving module 11 is used to receive a configuration data packet for the smart switch;

[0115] A first determining module 12, configured to determine device configuration information for the intelligent switch and key configuration information for each key in the intelligent switch according to the configuration data packet;

[0116] A first modifying module 13, configured to modify the device information of the intelligent switch based on the device name information and the device location information in the device configuration information;

[0117] The second modifying module 14 is used to modify the button information of the corresponding button in the intelligent switch based on the button name information and the button position information in the button configuration information.

[0118] Optionally, the device further comprises:

[0119] A second determination module is used to determine whether the device identification information carried in the switch control instruction matches its own device information when receiving the switch control instruction;

[0120] A third determination module, configured to determine whether the switch control instruction carries key identification information if the device identification information matches its own device information;

[0121] A fourth determination module, configured to determine a target button according to the button identification information if the switch control instruction carries the button identification information;

[0122] The first control module is used to control the relay corresponding to the target button to perform a switching action.

[0123] Optionally, the second determining module includes:

[0124] A first determining unit, configured to determine whether the device identification information includes the device name information and the device location information;

[0125] The second determining unit is configured to determine that the device identification information carried in the switch control instruction matches its own device information if the device identification information includes the device name information and the device location information.

[0126] Optionally, the fourth determining module includes:

[0127] A third determining unit, configured to determine the key name information and / or key position information included in the key identification information;

[0128] The fourth determining unit is used to determine one or more cases matching the key name information and / or the key position information as target keys.

[0129] Optionally, the device further comprises:

[0130] a fifth determining module, configured to determine one or more buttons of the smart switch connected to the smart device as target buttons if the switch control instruction does not carry button identification information;

[0131] The second control module is used to control the relay corresponding to the target button to perform a switching action.

[0132] Optionally, the device further comprises:

[0133] a sixth determining module, configured to determine display configuration information for the intelligent switch according to the configuration data packet;

[0134] a seventh determining module, configured to determine an information display mode of the intelligent switch based on the display configuration information;

[0135] The display module is used to display the device information of the intelligent switch and the key information of each key in the intelligent switch according to the information display mode.

[0136] Optionally, the display module includes:

[0137] A first display unit, for displaying a plurality of button controls of buttons in a main control card if the information display mode is a collection display, wherein the button controls include button information of corresponding buttons, and when each button control is triggered, jumps to a button card of a corresponding button;

[0138] Alternatively, the second display unit is used to display key cards of multiple keys if the information display mode is split display.

[0139] In another embodiment of the present application, there is also provided an intelligent switch, comprising a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other via the communication bus;

[0140] Memory, used to store computer programs;

[0141] The processor is used to implement the control method of the intelligent switch described in any of the above method embodiments when executing the program stored in the memory.

[0142] In the smart switch provided by the embodiment of the present invention, the processor modifies the device information and button information of the smart switch according to the device configuration information and button configuration information in the configuration data packet by executing the program stored in the memory, so as to facilitate distinguishing different smart switches and buttons in the smart switches, thereby facilitating meeting the diverse interaction needs of users. Different smart switches with the same name in the same house and the buttons therein can be distinguished according to the device information and button information, so as to facilitate fast matching of the objects that the user needs to interact with and improve the interaction efficiency.

[0143] The communication bus 1140 mentioned in the above-mentioned intelligent switch can be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus. The communication bus 1140 can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 3 Only one thick line is used in the diagram, but this does not mean that there is only one bus or only one type of bus.

[0144] The communication interface 1120 is used for communication between the above-mentioned intelligent switch and other devices.

[0145] The memory 1130 may include a random access memory (RAM) or a non-volatile memory, such as at least one disk memory. Optionally, the memory may also be at least one storage device located away from the aforementioned processor.

[0146] The above-mentioned processor 1110 can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), 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.

[0147] In another embodiment of the present application, a computer-readable storage medium is provided, on which a program of a method for controlling an intelligent switch is stored. When the program of the method for controlling an intelligent switch is executed by a processor, the steps of the method for controlling an intelligent switch described in any of the aforementioned method embodiments are implemented.

[0148] It should be noted that, in this article, relational terms such as "first" and "second" are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.

[0149] The foregoing is merely a specific embodiment of the present invention, which enables those skilled in the art to understand or implement the present invention. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention will not be limited to the embodiments shown herein, but rather to the widest scope consistent with the principles and novel features claimed herein.

Claims

1. A control method for an intelligent switch, characterized in that: The method comprises: Receive a configuration data packet for the smart switch; Determining device configuration information for the intelligent switch and key configuration information for each key in the intelligent switch according to the configuration data packet; Modify the device information of the smart switch based on the device name information and the device location information in the device configuration information; The button information of the corresponding button in the intelligent switch is modified based on the button name information and the button position information in the button configuration information.

2. The control method of the intelligent switch according to claim 1, characterized in that: The method further comprises: When receiving a switch control instruction, determining whether the device identification information carried in the switch control instruction matches the own device information; If the device identification information matches the own device information, determining whether the switch control instruction carries key identification information; If the switch control instruction carries button identification information, determining the target button according to the button identification information; Control the relay corresponding to the target button to perform a switching action.

3. The control method of the intelligent switch according to claim 2, characterized in that: Determining whether the device identification information carried in the switch control instruction matches the own device information includes: Determining whether the device identification information includes the device name information and the device location information; If the device identification information includes the device name information and the device location information, it is determined that the device identification information carried in the switch control instruction matches the own device information.

4. The control method of the intelligent switch according to claim 2, characterized in that: Determining a target key according to the key identification information includes: Determining the button name information and / or button position information included in the button identification information; One or more cases matching the button name information and / or the button position information are determined as target buttons.

5. The control method of the intelligent switch according to claim 2, characterized in that: The method further comprises: If the switch control instruction does not carry the button identification information, one or more buttons of the smart switch connected to the smart device are determined as target buttons; Control the relay corresponding to the target button to perform a switching action.

6. The control method of the intelligent switch according to claim 1, characterized in that: The method further comprises: Determining display configuration information for the intelligent switch according to the configuration data packet; Determining the information display mode of the intelligent switch based on the display configuration information; The device information of the intelligent switch and the key information of each key in the intelligent switch are displayed according to the information display mode.

7. The control method of the intelligent switch according to claim 6, characterized in that: Displaying the device information of the smart switch and the key information of each key in the smart switch according to the information display mode includes: If the information display mode is a collection display, a button control of multiple buttons is displayed in the main control card, and the button control contains the button information of the corresponding button. When each button control is triggered, it jumps to the button card of the corresponding button; Alternatively, if the information display mode is split display, a key card of multiple keys is displayed.

8. A control device for an intelligent switch, characterized in that: The device comprises: A first receiving module, used to receive a configuration data packet for the smart switch; A first determining module, configured to determine device configuration information for the intelligent switch and key configuration information for each key in the intelligent switch according to the configuration data packet; A first modification module, used to modify the device information of the intelligent switch based on the device name information and the device location information in the device configuration information; The second modifying module is used to modify the button information of the corresponding button in the intelligent switch based on the button name information and the button position information in the button configuration information.

9. An intelligent switch, characterized in that: It includes a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other through the communication bus; Memory, used to store computer programs; The processor is used to implement the control method of the intelligent switch according to any one of claims 1 to 7 when executing the program stored in the memory.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a program of the intelligent switch control method, and when the program of the intelligent switch control method is executed by the processor, the steps of the intelligent switch control method according to any one of claims 1 to 7 are implemented.

Citation Information

Patent Citations

  • Control method for intelligent switch

    CN102385327A

  • Intelligent panel switch

    CN107820352A

  • Function updating method and device of intelligent switch, electronic equipment and storage medium

    CN112596410A

  • Interface configuration method, intelligent panel and computer readable storage medium

    CN114691256A

  • Display control method and device of intelligent switch and electronic equipment

    CN114924505A