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

By setting key reception and triggering operations on the smart switch, establishing the association and binding relationship between smart switches, solving the problems of complexity and high cost of existing smart switch networking, realizing simplified networking process and reduced costs .

CN119485814APending Publication Date: 2025-02-18NINGBO GONEO ELECTRIC APPLIANCE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411746490.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-29
Publication Date
2025-02-18

AI Technical Summary

Technical Problem

The existing intelligent switch networking methods are complex and require high-tech operations, which increases the cost of networking.

Method used

By receiving the setting key, the setting trigger operation is established to establish the association and binding relationship between the intelligent switches to realize networking without completing the association and binding through the gateway.

Benefits of technology

The network distribution process between smart switches is simplified, the networking cost is reduced, and the operation convenience is improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119485814A_ABST
    Figure CN119485814A_ABST
Patent Text Reader

Abstract

The invention discloses a networking method and device of an intelligent switch, the intelligent switch and a storage medium, and relates to the field of intelligent home. The method comprises the following steps: receiving a first setting trigger operation through a setting key; based on the first setting triggering operation, establishing an association binding relationship between the first intelligent switch and a second intelligent switch, and obtaining a first network comprising the first intelligent switch and the second intelligent switch, the second intelligent switch being used for controlling the first controlled device; and in the first network, the second controlled device is controlled based on the control function of the second intelligent switch on the first controlled device. According to the method, the intelligent switches do not need to be associated and bound through a gateway, the network distribution process between the intelligent switches is simplified, and the networking cost of the intelligent switches is reduced.
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 networking method and device for a smart switch, a smart switch and a storage medium. Background Art

[0002] An intelligent switch is a device that integrates a microprocessor and a wireless communication module. It can receive instructions from the user (such as on / off, dimming, timing, etc.) and execute corresponding control commands.

[0003] The existing smart switch networking method is usually implemented through a gateway, that is, the smart switch is connected to a local area network (LAN), so that the smart switch is added to the gateway to achieve networking control.

[0004] However, when the existing smart switch networking is realized through the gateway, the networking configuration of the smart switch is relatively complicated. The smart switch needs to be added to the gateway according to the network topology, switch load association, etc., which has high technical requirements for the operator and increases the cost of smart switch networking. Summary of the invention

[0005] The embodiments of the present application provide a networking method, device, smart switch and storage medium for a smart switch. The technical solution is as follows:

[0006] In one aspect, a method for networking an intelligent switch is provided, the method being performed by a first intelligent switch, the first intelligent switch including a setting key, the method comprising:

[0007] receiving a first setting trigger operation through the setting key, where the first setting trigger operation is used to set a control function of the first intelligent switch on a controlled device;

[0008] An association binding relationship between the first smart switch and the second smart switch is established based on the first setting trigger operation, so as to obtain a first network including the first smart switch and the second smart switch, wherein the second smart switch is used to control a first controlled device;

[0009] In the first network, based on the control function of the second intelligent switch on the first controlled device, the second controlled device is controlled, and the first controlled device is the same as or different from the second controlled device.

[0010] On the other hand, a networking device of an intelligent switch is provided, the device comprising:

[0011] A receiving module, configured to receive a first setting trigger operation through the setting key, wherein the first setting trigger operation is used to set a control function of the first intelligent switch on a controlled device;

[0012] a binding module, configured to establish an associated binding relationship between the first intelligent switch and the second intelligent switch based on the first setting trigger operation, so as to obtain a first network including the first intelligent switch and the second intelligent switch, wherein the second intelligent switch is used to control a first controlled device;

[0013] A control module is used to control a second controlled device in the first network based on the control function of the second intelligent switch on the first controlled device, where the first controlled device is the same as or different from the second controlled device.

[0014] On the other hand, a smart switch is provided, comprising a processor and a memory, wherein the memory stores at least one instruction, at least one program, a code set or an instruction set, and the at least one instruction, the at least one program, the code set or the instruction set is loaded and executed by the processor to implement the networking method of the smart switch as described in any of the above embodiments of the present application.

[0015] On the other hand, a computer-readable storage medium is provided, in which at least one instruction, at least one program, a code set or an instruction set is stored, and the at least one instruction, the at least one program, the code set or the instruction set is loaded and executed by a processor to implement the networking method of the smart switch as described in any of the above embodiments of the present application.

[0016] On the other hand, a computer program product or a computer program is provided, the computer program product or the computer program includes a computer instruction, and the computer instruction is stored in a computer-readable storage medium. A processor of a computer device reads the computer instruction from the computer-readable storage medium, and the processor executes the computer instruction, so that the computer device executes the networking method of the intelligent switch described in any of the above embodiments.

[0017] The technical solution provided by this application includes at least the following beneficial effects:

[0018] The smart switch provided in the present application includes a setting key, and the network configuration process of the smart switch can be implemented through the setting key. In the network configuration process of the smart switch, the user triggers a first setting trigger operation through the setting key to associate and bind the current smart switch with other smart switches, thereby completing the network configuration and obtaining a network including multiple smart switches. After the network configuration is completed, the smart switch can control the controlled device based on the control capability of other smart switches on the controlled device, so that the smart switch does not need to complete the association and binding through the gateway, which simplifies the network configuration process between the smart switches and reduces the cost of smart switch networking. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0020] Figure 1 is a hardware structure block diagram of an intelligent switch provided by an exemplary embodiment of the present application;

[0021] Figure 2 is a schematic diagram of a product system of an intelligent switch provided by an exemplary embodiment of the present application;

[0022] Figure 3 is a flow chart of a networking method of an intelligent switch provided by an exemplary embodiment of the present application;

[0023] Figure 4 is a schematic diagram of the appearance of a smart switch provided by an exemplary embodiment of the present application;

[0024] Figure 5 is a flow chart of a networking method of an intelligent switch provided by an exemplary embodiment of the present application;

[0025] Figure 6 is a flow chart of a networking method of an intelligent switch provided by an exemplary embodiment of the present application;

[0026] Figure 7 is a flow chart of a networking method of an intelligent switch provided by an exemplary embodiment of the present application;

[0027] Figure 8 is a flow chart of a networking method of an intelligent switch provided by an exemplary embodiment of the present application;

[0028] Fig. 9 is a schematic diagram of a network formed by a smart switch and a lamp in a lighting control scenario provided by an exemplary embodiment of the present application;

[0029] Fig.10 is a schematic diagram of an association and binding relationship between smart switches provided by an exemplary embodiment of the present application;

[0030] Fig.11 is a schematic diagram of a network formed by a smart switch and a lamp in a lighting control scenario provided by an exemplary embodiment of the present application;

[0031] Fig.12 is a schematic diagram of an association and binding relationship between smart switches provided by an exemplary embodiment of the present application;

[0032] Fig.13It is a structural block diagram of a networking device of an intelligent switch provided by an exemplary embodiment of the present application;

[0033] Fig.14 It is a structural block diagram of a networking device of an intelligent switch provided by an exemplary embodiment of the present application. DETAILED DESCRIPTION

[0034] In order to make the purpose, technical solution and advantages of the present application clearer, the implementation mode of the present application will be further described in detail below in conjunction with the accompanying drawings. Obviously, the described embodiments are part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present application.

[0035] In this application, the terms "first", "second", etc. are used to distinguish identical items or similar items with substantially the same effects and functions. It should be understood that there is no logical or temporal dependency between "first" and "second", nor are there any limitations on quantity and execution order.

[0036] It should be noted that before collecting relevant data of users and during the process of collecting relevant data of users, this application can display a prompt interface, pop-up window or output voice prompt information, and the prompt interface, pop-up window or voice prompt information is used to prompt the user that its relevant data is currently being collected, so that this application only starts to execute the relevant steps of obtaining relevant data of users after obtaining the confirmation operation issued by the user to the prompt interface or pop-up window, otherwise (that is, when the confirmation operation issued by the user to the prompt interface or pop-up window is not obtained), the relevant steps of obtaining relevant data of users are terminated, that is, the relevant data of users are not obtained. In other words, all user data collected by this application are collected with the consent and authorization of the user, and the collection, use and processing of relevant user data need to comply with the relevant laws, regulations and standards of relevant countries and regions.

[0037] Figure 1 The hardware structure block diagram of an intelligent switch 100 provided by an exemplary embodiment of the present application is shown. The intelligent switch 100 includes the following structures: a control key 110, a key bracket 120, a pressure plate 130, a main control printed circuit board assembly (PCBA) 140, a power supply PCBA 150 and a base shell 160.

[0038] The control key 110 is an interactive component in the smart switch 100, allowing the user to control the controlled device by physical or touch. Optionally, the control key 110 can be implemented as a physical key, or can be implemented as a virtual control. Figure 1In the example, the control key 110 is implemented as a physical key. Optionally, the control key 110 supports single press, long press, double click, touch, touch slide, press slide and other operations.

[0039] The key bracket 120 is a component in the smart switch 100 used to fix and support the control key 110 implemented as a physical key. Its main function is to provide physical support for the control key 110, ensure that the control key 110 can be stably installed on the smart switch 100, and maintain the correct position and operating feel during use.

[0040] The pressure plate 130 refers to a physical component used to control the switch protection function in the intelligent switch 100. Optionally, the switch protection function includes charging protection, overcurrent protection, failure protection, etc.

[0041] The main control PCBA 140 is a core component of the smart switch 100, which integrates circuits and electronic components and is responsible for implementing the main control functions of the smart switch 100. The networking method of the smart switch provided in the embodiment of the present application is executed by the main control PCBA 140.

[0042] In the embodiment of the present application, the main control PCBA 140 includes a processor and a memory.

[0043] Among them, the processor may include one or more processing cores, such as a 4-core processor, an 8-core processor, etc. The processor may be implemented in at least one hardware form of digital signal processing (DSP), field-programmable gate array (FPGA), and programmable logic array (PLA). The processor may also include a main processor and a coprocessor. The main processor is a processor for processing data in the awake state, also known as a central processing unit (CPU); the coprocessor is a low-power processor for processing data in the standby state. In some embodiments, the processor may be integrated with a graphics processing unit (GPU), and the GPU is responsible for rendering and drawing the content to be displayed on the display screen. In some embodiments, the processor may also include an artificial intelligence (AI) processor, which is used to process computing operations related to machine learning.

[0044] The memory may include one or more readable storage media, which may be non-transitory. The memory may also include a high-speed random access memory, and a non-volatile memory, such as one or more disk storage devices, flash memory storage devices. In some embodiments, the non-transitory readable storage medium in the memory is used to store at least one instruction, which is used to be executed by the processor to implement the networking method of the intelligent switch provided in the method embodiment of the present application.

[0045] Illustratively, the main control PCBA 140 also includes other components. Those skilled in the art will appreciate that the main control PCBA 140 may include more or fewer components, or combine certain components, or adopt different component arrangements.

[0046] The power supply PCBA 150 is a core component in the power supply system of the smart switch 100 , and is responsible for the conversion, distribution and management of the power supply connected to the smart switch 100 .

[0047] The base shell 160 is an important component of the smart switch 100 installed on the wall. It not only provides physical support, but also involves the fixation, wiring and coordination of the switch with the wall.

[0048] Please refer to Figure 2 , which shows a schematic diagram of a smart switch product system 200 provided by an exemplary embodiment of the present application. The smart switch product system 200 includes the following structures: a power module 210, a key detection module 220, a light emitting diode (Light Emitting Diode, LED) indication module 230, a load control unit 240 and a wireless microcontroller unit (Microcontroller Unit, MCU) 250.

[0049] The power module 210 is used for power conversion, converting AC power into DC power for use by electronic components in the intelligent switch. In some embodiments, the power module 210 also provides functions such as voltage regulation, current limitation, power isolation, and power management.

[0050] The key detection module 220 is used to detect the state of the control key of the intelligent switch to determine whether a control operation of the controlled device is received, for example, to detect a single press, long press, double press, tap, touch slide, press slide, etc. received by the control key.

[0051] The LED indication module 230 is used to control the light performance style of the LED in the intelligent switch. Optionally, the LED controlled by the LED indication module 230 can be a single-color LED, a multi-color LED, etc., for example, a blue-orange dual-color LED.

[0052] The load control unit 240 uses a relay to control the on and off of the load to achieve the function of controlling the load.

[0053] The wireless MCU250 is used to provide data logic processing functions for the intelligent switch. The wireless MCU250 is an integrated circuit that integrates a microprocessor (Central Processing Unit, CPU), a memory (including random access memory (Random Access Memory, RAM) and a read-only memory (Read-Only Memory, ROM)), an input / output interface and other auxiliary function modules such as a timer / counter, an analog-to-digital converter (Analog-to-Digital Converter, ADC), etc. on a chip to form a small but powerful computer system. In the embodiment of the present application, the networking method of the intelligent switch is implemented by the wireless MCU250.

[0054] In combination with the above hardware structure and product system, the networking method of the smart switch provided by the present application is described, and the method is described by taking the execution of the first smart switch as an example. Figure 3 As shown, the method includes the following steps 310 to 330.

[0055] Step 310: Receive a first setting trigger operation via a setting key.

[0056] In the embodiment of the present application, the first smart switch includes a setting key (SET key), wherein the setting key is used to configure the networking state of the first smart switch.

[0057] Optionally, the setting key may be implemented as a physical key on the first smart switch, or the setting key may be implemented as a virtual control on the first smart switch.

[0058] like Figure 4 , which shows a schematic diagram of the appearance of a smart switch 400 provided by an exemplary embodiment of the present application, wherein the smart switch 400 includes a setting key 410, wherein the setting key 410 is implemented as a physical key as an example for schematic display.

[0059] In the embodiment of the present application, the first setting trigger operation received through the setting key is used to set the control function of the first intelligent switch on the controlled device.

[0060] The controlled device is an electronic device controlled by the first smart switch in the smart home environment where the first smart switch is located. Optionally, the controlled device can be implemented as other smart switches, lamps, smart homes, smart doors and windows, etc., which are not limited here.

[0061] Optionally, the first setting trigger operation can be implemented as at least one of a long press operation, a short press operation, a continuous press operation, a combination of a long press operation and a short press operation, a sliding operation, a touch operation, and a sensing operation on the setting key.

[0062] Optionally, the first setting trigger operation may be determined in at least one of the following ways:

[0063] 1. Detect whether the setting key receives a long press operation. Schematically, when the pressing duration received by the setting key reaches a first duration threshold, it is determined that the first setting trigger operation is received.

[0064] 2. Detect whether the setting key receives a short press operation. Schematically, when the pressing duration received by the setting key is lower than the second duration threshold, it is determined that the first setting trigger operation is received.

[0065] 3. Detect whether the setting key receives a short press operation after receiving a long press operation. Schematically, when the setting key receives a first press operation with a pressing duration reaching a third duration threshold, and a second press operation with a pressing duration reaching a fourth duration threshold, and the operation time difference between the first press operation and the second press operation is less than a fifth duration threshold, it is determined that the first setting trigger operation is received.

[0066] 4. Detect whether the setting key receives a continuous press operation. Indicatively, when the pressing frequency received by the setting key reaches a first frequency threshold, it is determined that the first setting trigger operation is received.

[0067] 5. Detect whether the setting key receives a heavy press operation. Schematically, when the pressing pressure received by the setting key reaches a first pressure threshold, it is determined that the first setting trigger operation is received.

[0068] It is worth noting that the above threshold can be a fixed value preset by the system or a specified value defined by the user, which is not limited here.

[0069] Step 320: Establish an association binding relationship between the first smart switch and the second smart switch based on the first setting trigger operation, and obtain a first network including the first smart switch and the second smart switch.

[0070] In the embodiment of the present application, after the first smart switch receives the first setting trigger operation, an association binding relationship between the first smart switch and the second smart switch is established according to the first setting trigger operation, thereby realizing networking of the smart switches.

[0071] Optionally, the above-mentioned associated binding relationship includes a direct binding relationship and an indirect binding relationship. The direct binding relationship is used to indicate that the first smart switch and the second smart switch are used to control the same controlled device after the binding relationship is established; the indirect binding relationship is used to indicate that the first smart switch and the second smart switch control different controlled devices after the binding relationship is established, but the change of the switch parameter of the second smart switch will affect the switch parameter of the first smart switch.

[0072] In some embodiments, the above-mentioned association binding relationship can be implemented as wireless binding or wired binding. Among them, wireless binding indicates that the first smart switch and the second smart switch are bound through a wireless connection; priority binding indicates that the first smart switch and the second smart switch are bound through a wired connection.

[0073] Optionally, the wireless connection method includes a communication connection achieved through a cellular network (such as 4G, 5G) or a short-range wireless connection technology (for example, Wireless Fidelity (WI-FI), Bluetooth, ZigBee, Near-field Communication (NFC), etc.).

[0074] In some embodiments, when a first setting trigger operation is received through a setting key, the first smart switch enters a first functional mode, and establishes an associated binding relationship with the second smart switch in the first functional mode. The first functional mode is used to indicate the implementation mode of the control function of the first smart switch on the controlled device.

[0075] Optionally, the first functional mode may be implemented as at least one of the following:

[0076] The first one is the switch function mode.

[0077] The switch function mode is used to indicate that the intelligent switch implements device control by controlling the relay corresponding to the connected controlled device, that is, in the switch function mode, the first intelligent switch can directly control the connected controlled device.

[0078] A relay is an electrical control device. When the change of the input quantity (excitation quantity) reaches the specified requirement, it causes the controlled quantity to undergo a predetermined step change in the electrical output circuit. It has an interactive relationship between the control system (also known as the input circuit) and the controlled system (also known as the output circuit). It is usually used in automated control circuits. It is actually an "automatic switch" that uses a small current to control the operation of a large current. Therefore, it plays the role of automatic adjustment, safety protection, and circuit conversion in the circuit.

[0079] The second is the scenario function mode.

[0080] The scenario function mode is used to indicate that the smart switch indirectly controls the controlled device by controlling other smart switches, that is, in the scenario function mode, the first smart switch can control the controlled device connected to other smart switches by controlling other smart switches.

[0081] The third one is the copy function mode.

[0082] The copy function mode indicates that the smart switch controls the controlled device by copying the switch parameters of other smart switches, that is, in the copy function mode, the first smart switch can copy the switch parameters of other smart switches, and control the controlled devices of other smart switches or the controlled devices connected to itself based on the above switch parameters.

[0083] In some embodiments, when the first intelligent switch supports multiple functional modes, the first intelligent switch can be switched between different functional modes and set to a specified functional mode through a control key. Exemplarily, taking the first setting trigger operation including a setting start operation and a function switching operation as an example, in response to the first intelligent switch receiving a setting start operation through a setting key, the first intelligent switch enters a functional mode setting state, and when the first intelligent switch is in the functional mode setting state, in response to receiving a function switching operation, the first functional mode corresponding to the first functional switch is determined based on the function switching operation, and when the first intelligent switch is in the first functional mode, an associated binding relationship between the first intelligent switch and the second intelligent switch is established to obtain a first network.

[0084] In one example, taking the first smart switch supporting the switch function mode, the scenario function mode and the copy function mode as an example, when the setting key of the first smart switch receives a long press operation, it enters the function mode setting state. In the function mode setting state, when the setting key of the first smart switch receives a short press operation, it switches to the switch function mode, the scenario function mode and the copy function mode in turn according to the preset function mode arrangement order and the number of short press operations received. In one example, the switch function mode is the factory default mode of the first smart switch, that is, before the user manually sets the function mode of the first smart switch, the first smart switch defaults to the switch function mode to realize the control of the controlled device.

[0085] In the embodiment of the present application, the second intelligent switch is used to control the first controlled device. Optionally, the second intelligent switch can be determined in at least one of the following ways:

[0086] The first one is manual selection.

[0087] In some embodiments, after receiving a first setting trigger operation, the first smart switch broadcasts a binding message to surrounding candidate smart switches, the candidate smart switches including a second smart switch, and the user triggers a binding acceptance operation for the second smart switch for which an associated binding relationship needs to be established. The selected second smart switch determines the first smart switch based on the received binding message, and sends a confirmation message to the first smart switch, the confirmation message carrying switch information of the second smart switch, and the switch information of the second smart switch is used to indicate to the first smart switch the smart switch with which an associated binding relationship is to be established.

[0088] Optionally, the binding acceptance operation may be an operation received through a setting key or a control key of the second intelligent switch.

[0089] In other embodiments, the first smart switch corresponds to a switch display screen. After receiving the first setting trigger operation, the first smart switch displays a switch list of surrounding candidate smart switches with which an associated binding relationship can be established through the switch display screen. When the second smart switch in the switch list receives a selection operation, the second smart switch is determined as the smart switch that needs to establish an associated binding relationship.

[0090] The second one is automatic selection.

[0091] In some embodiments, after receiving the first setting trigger operation, the first smart switch broadcasts a binding message to the surrounding candidate smart switches. After receiving the binding message, the candidate smart switch obtains the switch information of the first smart switch from the binding message, and determines whether it can establish an associated binding relationship with the first smart switch based on the switch information of the first smart switch. If so, a candidate message is sent to the first smart switch, and the candidate message includes the switch information of the candidate smart switch. After receiving the switch information of the candidate smart switch, the first smart switch screens out at least one second smart switch from the candidate smart switches based on the switch information of the candidate smart switch.

[0092] Optionally, the switch information includes a switch identifier of the intelligent switch, a device identifier of a controlled device controlled by the intelligent switch, location information of the intelligent switch, and the like.

[0093] Optionally, the first smart switch may screen the candidate smart switches based on the order of the received candidate smart switches' candidate selection messages, for example, determining the candidate smart switch corresponding to the first received candidate selection message as the second smart switch; or, it may be based on the switch priority of the received candidate smart switches, for example, determining the smart switch with the highest switch priority among the candidate smart switches as the second smart switch, wherein the switch priority may be determined based on the controlled device connected to the smart switch and the location information of the smart switch; or, it may be implemented by randomly selecting from the candidate smart switches, that is, randomly selecting the second smart switch from the candidate smart switches.

[0094] Among them, networking refers to connecting multiple network devices by wired or wireless means to form a larger network system to achieve functions such as resource sharing, data transmission and communication. In the embodiment of the present application, smart switches and smart switches, and smart switches and controlled devices can be connected by wired or wireless means to achieve networking.

[0095] Optionally, the networking mode of the first network including the first smart switch and the second smart switch can be implemented as at least one of the following: 1. WIFI networking, that is, the first smart switch and the second smart switch establish a communication connection through WIFI; 2. ZigBee networking, that is, the first smart switch and the second smart switch establish a communication connection through ZigBee; 3. Access controller (AC) + wireless access point (AP) networking, that is, the first smart switch and the second smart switch access a nearby AP, the AP connects to the AC, the first smart switch and the second smart switch send communication messages to the AP, the AP forwards the data to the AC, and the AC processes the data as an intermediate data processing end, manages and forwards the data, for example, the first smart switch is connected to the first AP, the second smart switch is connected to the second AP, the first smart switch sends a message to the first AP, the first AP sends the message to the AC, the AC detects the message and determines the second smart switch that receives the message, the AC forwards the message to the second AP, and the second AP sends the message to the second smart switch.

[0096] Step 330: In the first network, based on the control function of the second intelligent switch on the first controlled device, control the second controlled device.

[0097] In the embodiment of the present application, the first controlled device and the second controlled device are the same or different, that is, the first controlled device and the second controlled device are implemented as the same controlled device, or the first controlled device and the second controlled device are implemented as different controlled devices.

[0098] In the embodiment of the present application, the first controlled device is a controlled device controlled by the second intelligent switch. Optionally, the first controlled device may be a controlled device directly controlled by the second intelligent switch, or the first controlled device may be a controlled device indirectly controlled by the second intelligent switch.

[0099] Optionally, the control process of the first intelligent switch on the second controlled device can be implemented as at least one of the following:

[0100] First, when the first controlled device and the second controlled device are implemented as the same controlled device, the first intelligent switch indirectly controls the first controlled device through the second intelligent switch.

[0101] Illustratively, in response to the first intelligent switch receiving a control trigger operation, the first intelligent switch sends an execution instruction to the second intelligent switch, and after receiving the execution instruction, the second intelligent switch controls the first controlled device based on the execution instruction.

[0102] Second, when the first controlled device and the second controlled device are implemented as the same controlled device, the first intelligent switch directly controls the first controlled device.

[0103] Illustratively, during the configuration process of the first network, the first intelligent switch obtains the device information of the first controlled device from the second intelligent switch, establishes a control connection with the first controlled device based on the device information of the first controlled device, and in response to the first intelligent switch receiving a control trigger operation, the first intelligent switch directly controls the first controlled device. In one example, during the configuration process of the first network, the first intelligent switch establishes a wireless connection with the first controlled device based on the device information of the first controlled device, and in response to the first intelligent switch receiving a control trigger operation, the first intelligent switch sends an execution instruction to the first controlled device, and the first controlled device performs an operation response according to the execution instruction after receiving the execution instruction.

[0104] Third, when the first controlled device and the second controlled device are implemented as different controlled devices, the first intelligent switch directly controls the second controlled device.

[0105] Illustratively, during the configuration process of the first network, the first intelligent switch obtains first configuration information of the second intelligent switch for the first controlled device from the second intelligent switch, copies the first configuration information as second configuration information when controlling the second controlled device, and in response to the first intelligent switch receiving a control trigger operation, the first intelligent switch directly controls the first controlled device based on the second configuration information.

[0106] Optionally, the configuration information for the controlled device includes control duration, control frequency, power control of the controlled device, number of automatic repetitions, etc. Taking the controlled device as a lamp as an example, the configuration information may include the brightness, color temperature, turn-on duration, turn-on frequency, number of automatic turn-on times, etc. of the lamp.

[0107] To summarize, the smart switch provided in the present application includes a setting key, through which the network configuration process of the smart switch can be implemented. In the network configuration process of the smart switch, the user triggers a first setting trigger operation through the setting key to associate and bind the current smart switch with other smart switches, thereby completing the network configuration and obtaining a network including multiple smart switches. After the network configuration is completed, the smart switch can control the controlled device based on the control capability of other smart switches over the controlled device, so that the smart switch does not need to complete the association binding through the gateway, which simplifies the network configuration process between the smart switches and reduces the cost of smart switch networking.

[0108] In some optional embodiments, when the first intelligent switch receives the first setting trigger operation, the first intelligent switch enters the first functional mode and implements the networking configuration in the first functional mode. Figure 5 , which shows a flow chart of a smart switch networking method provided by an exemplary embodiment of the present application, the method includes steps 321 to 322, wherein steps 321 to 322 are subordinate steps of step 320.

[0109] Step 321: Determine a first functional mode based on a first setting trigger operation.

[0110] In an embodiment of the present application, the first functional mode is used to indicate the implementation mode of the control function of the first intelligent switch on the controlled device, that is, the first intelligent switch is configured with multiple functional modes when leaving the factory, and the first intelligent switch determines the functional mode of the first intelligent switch according to the first setting trigger operation received by the setting key.

[0111] Optionally, the functional modes that can be realized by the smart switch in the embodiment of the present application include a switch function mode, a scenario function mode, and a copy function mode. Among them, the switch function mode is used to indicate that the smart switch controls the device by controlling the relay corresponding to the connected controlled device; the scenario function mode is used to indicate that the smart switch controls the controlled device indirectly by controlling other smart switches; and the copy function mode is used to indicate that the smart switch controls the controlled device by copying the switch parameters of other smart switches.

[0112] Optionally, the first setting trigger operation can be implemented as at least one of a long press operation, a short press operation, a continuous press operation, a combination of a long press operation and a short press operation, a sliding operation, a touch operation, and a sensing operation on the setting key.

[0113] In some embodiments, different setting trigger operations for the setting key can trigger different functional modes. Therefore, according to the first setting trigger operation received by the setting key, the user's current demand for the functional mode to which the first smart switch needs to be switched can be determined.

[0114] Optionally, the correspondence between the first setting trigger operation and the functional mode may be system preset or user-defined, which is not limited here.

[0115] In some embodiments, when the first setting trigger operation is implemented as a short press operation on the setting key, it is determined that the first smart switch is switched to the switch function mode; when the first setting trigger operation is implemented as a long press operation on the setting key, it is determined that the first smart switch is switched to the scene function mode; when the first setting trigger operation is implemented as a combination of a long press operation + a short press operation on the setting key, it is determined that the first smart switch is switched to the copy function mode. It is worth noting that the above correspondence between the first setting trigger operation and the function mode is only an exemplary description and does not limit the specific correspondence.

[0116] In some embodiments, the first intelligent switch further includes a first indicator light, wherein the first indicator light is used to indicate the state of the first intelligent switch during the network distribution process. Figure 4 As shown, the intelligent switch 400 further includes a control button 420 and an indicator light 430 on the control button 420 .

[0117] Optionally, the first indicator light can be implemented as an LED indicator light, a liquid crystal display (LCD) indicator light, an organic light-emitting diode (OLED) indicator light, an incandescent lamp indicator light, a neon lamp indicator light, an electroluminescence (EL) indicator light, a dual-color / multi-color indicator light, an infrared indicator light, an ultraviolet indicator light, a laser indicator light, etc., which are not limited here.

[0118] Illustratively, after determining the first functional mode, the first indicator light is controlled to be displayed in a first lighting performance style corresponding to the first functional mode, that is, the lighting performance styles of the first indicator light are different in different functional modes.

[0119] Optionally, different lighting performance styles can be expressed based on different parameters such as brightness, color, flashing frequency, and long-lighting time.

[0120] In one example, taking the first indicator light implemented as an orange-blue dual-color LED indicator light as an example, when the first function mode is the switch function mode, the first indicator light is blue; when the first function mode is the scene function mode, the first indicator light is orange; when the first function mode is the copy function mode, the first indicator light is blue and orange at the same time. It is worth noting that the correspondence between the light performance style of the first indicator light and the function mode is only an exemplary description and does not limit the specific correspondence.

[0121] Step 322: Establish an association binding relationship between the first smart switch and the second smart switch based on the first functional mode, and obtain a first network including the first smart switch and the second smart switch.

[0122] In some embodiments, after determining that the first smart switch is in the first functional mode, the first smart switch determines the second smart switch to establish an associated binding relationship by receiving a binding operation. Schematically, when the first smart switch is in the first functional mode, a binding operation is received, wherein the binding operation is used to indicate a device to establish an associated binding, the second smart switch is determined based on the binding operation, and an associated binding relationship between the first smart switch and the second smart switch is established based on the first functional mode, thereby obtaining a first network including the first smart switch and the second smart switch.

[0123] In some embodiments, after the first smart switch receives the first setting trigger operation through the setting key, it enters the first functional mode corresponding to the first setting trigger operation. When it is determined that the first smart switch is in the first functional mode, the first smart switch receives the network configuration operation through the setting key, determines that the first smart switch enters the switch network configuration state, receives the binding operation in the switch network configuration state, and determines the second smart switch based on the binding operation, establishes an associated binding relationship between the first smart switch and the second smart switch based on the first functional mode, and obtains a first network including the first smart switch and the second smart switch.

[0124] In some embodiments, the first smart switch also includes a first control key, and the second smart switch includes a second control key. The above binding operation can be implemented as at least one of the following: pressing the first control key and the second control key at the same time; pressing the first control key first, and then pressing the second control key; pressing the second control key while long pressing the first control key.

[0125] In the embodiment of the present application, the first network is a network obtained by networking multiple intelligent switches, and therefore, the first functional mode is implemented as a scenario functional mode or a copy functional mode.

[0126] For illustration, please refer to Figure 6 , which shows a flowchart of a networking method for an intelligent switch provided by an exemplary embodiment of the present application. In this example, the first functional mode is implemented as a scenario functional mode as an example for schematic illustration, that is, step 322 is executed as step 3221.

[0127] Step 3221: when the first function mode is implemented as a scenario function mode, a first binding relationship between the first smart switch and the second smart switch is established to obtain a first network including the first smart switch, the second smart switch and the first controlled device.

[0128] In the embodiment of the present application, the second controlled device and the first controlled device are the same controlled device, wherein the scenario function mode is used to instruct the smart switch to indirectly control the controlled device by controlling other smart switches.

[0129] In some embodiments, a second smart switch to establish an associated binding relationship is determined through a binding operation. Schematically, when the first functional mode is implemented as a scenario functional mode, a first binding operation is received, and first operation information corresponding to the second binding operation is obtained, and the second binding operation is the binding operation received by the second smart switch; based on the first binding operation, a first control key to be bound in the first smart switch is determined, and based on the first operation information, a second control key to be bound in the second smart switch is determined; a first binding relationship between the first control key and the second control key is established, and a first network including the first smart switch, the second smart switch and the first controlled device is obtained.

[0130] In some embodiments, when the first smart switch and the second smart switch are successfully networked in the scenario function mode, the first smart switch can be used to control the first controlled device connected to the second smart switch. In the first network, in response to the first control key receiving the first control trigger operation, the first execution instruction is sent to the second smart switch, and after receiving the first execution instruction, the second smart switch controls the first controlled device according to the first execution instruction.

[0131] That is, after setting the function mode of the first smart switch to the scenario function mode, the user can bind the corresponding second smart switch according to the scenario requirements of the first smart switch in the smart home scene, thereby realizing the control of the controlled device based on the scenario requirements.

[0132] Optionally, the number of switches of the second smart switch that establishes an associated binding relationship with the first smart switch in the scenario function mode can be one or more; optionally, the number of second control keys of the second smart switch that establishes an associated binding relationship with the first smart switch in the scenario function mode can be one or more, which is not limited here.

[0133] For illustration, please refer to Figure 7 , which shows a flowchart of a networking method for an intelligent switch provided by an exemplary embodiment of the present application. In this example, the first functional mode is implemented as a copy functional mode as an example for schematic illustration, that is, step 322 is executed as step 3222.

[0134] Step 3222: When the first functional mode is implemented as the copy functional mode, a second binding relationship between the first intelligent switch and the second intelligent switch is established to obtain a first network including the first intelligent switch, the second intelligent switch and the second controlled device.

[0135] The copy function mode instructs the intelligent switch to control the controlled device by copying the switch parameters of other intelligent switches.

[0136] In some embodiments, a second smart switch for establishing an associated binding relationship is determined through a binding operation. Schematically, when the first functional mode is implemented as a copy functional mode, a third binding operation is received, and second operation information corresponding to a fourth binding operation is obtained, where the fourth binding operation is a binding operation received by the second smart switch; a first control key to be bound in the first smart switch is determined based on the second binding operation, and a second control key to be bound in the second smart switch is determined based on the second operation information; first control key configuration information corresponding to the second control key is obtained; the first control key configuration information is copied to the second control key configuration information corresponding to the first control key, so as to establish a second binding relationship between the first control key and the second control key, and obtain a first network including the first smart switch, the second smart switch, and the second controlled device.

[0137] Optionally, the control configuration information corresponding to the control key includes control duration, control frequency, power control of the controlled device, automatic repetition times, etc. Taking the controlled device as a lamp as an example, the above configuration information may include the brightness, color temperature, turn-on duration, turn-on frequency, automatic turn-on times, etc. of the lamp.

[0138] In some embodiments, when the first intelligent switch copies the first control key configuration information corresponding to the second intelligent switch, it is implemented based on the second functional mode corresponding to the second control key in the second intelligent switch, that is, when the second functional mode corresponding to the second control key is different, the copying result is different. Indicatively, the second functional mode corresponding to the second control key is determined based on the second operation information, and the second functional mode is used to indicate the implementation mode of the control function of the second control key on the first controlled device; based on the second functional mode, the first control key configuration information is copied to the second control key configuration information corresponding to the first control key to establish a second binding relationship between the first control key and the second control key, and a first network including the first intelligent switch, the second intelligent switch and the second controlled device is obtained.

[0139] Optionally, the second functional mode may be implemented as at least one of the following:

[0140] First, the second function mode includes a switch function mode, wherein the switch function mode is used to instruct the intelligent switch to implement device control by controlling a relay corresponding to a connected controlled device.

[0141] In an illustrative manner, when the second functional mode is implemented as a switch functional mode, the first control key configuration information is copied as the second control key configuration information corresponding to the first control key, so as to establish a second binding relationship between the first control key and the second control key, and obtain a first network including the first intelligent switch, the second intelligent switch and the second controlled device, wherein the first controlled device and the second controlled device are different controlled devices. That is, when the second functional mode is implemented as a switch functional mode, the first intelligent switch copies the first control key configuration information of the second control key from the second intelligent switch, and uses the first control key configuration information as the second control key configuration information of the first control key to implement the control process of the second controlled device connected to the first intelligent switch.

[0142] In the embodiment of the present application, after the first intelligent switch copies the first control key configuration information of the second intelligent switch and successfully configures the network, the second controlled device can be controlled by the first intelligent switch. In an illustrative example, in response to the first control key receiving the second control trigger operation, the second controlled device connected to the first relay by the first intelligent switch is controlled based on the second control key configuration information.

[0143] Second, the second function mode includes a scenario function mode, wherein the scenario function mode is used to instruct the intelligent switch to indirectly control the controlled device by controlling other intelligent switches.

[0144] In an illustrative manner, when the second function mode is implemented as a scenario function mode, the first control key configuration information is copied as the second control key configuration information corresponding to the first control key, so as to establish a second binding relationship between the first control key and the second control key, and obtain a first network including the first intelligent switch, the second intelligent switch, the third intelligent switch and the first controlled device, wherein the second controlled device and the first controlled device are the same controlled device, the third intelligent switch is the intelligent switch associated and bound with the second intelligent switch in the scenario function mode, and the first controlled device is the controlled device controlled by the third intelligent switch through the second relay. That is, when the second function mode is implemented as a scenario function mode, the first intelligent switch copies the first control key configuration information of the second control key from the second intelligent switch, and since the second intelligent switch is in the scenario function mode, the second intelligent switch indirectly controls the first controlled device through the connected third intelligent switch. After the first intelligent switch copies the first control key configuration information of the second control key and uses the first control key configuration information as the second control key configuration information of the first control key, the first intelligent switch also has the ability to indirectly control the first controlled device through the third intelligent switch.

[0145] In the embodiment of the present application, after the first intelligent switch copies the first control key configuration information of the second intelligent switch and successfully configures the network, the first controlled device can be controlled by the first intelligent switch. In an illustrative embodiment, in response to the first control key receiving the third control trigger operation, the second execution instruction is sent to the third intelligent switch, and after receiving the second execution instruction, the third intelligent switch controls the first controlled device according to the second execution instruction.

[0146] In some embodiments, when the first smart switch is set to the copy function mode, the first smart switch and the second smart switch are in the first network, and the function implemented by the first control key of the first smart switch changes with the function change of the second control key of the second smart switch copied by it. Indicatively, when the first control key configuration information corresponding to the second control key of the second smart switch is updated, the first smart switch obtains the updated first control key configuration information from the second smart switch, and updates the second control key configuration information of the first control key according to the updated first control key configuration information.

[0147] In some embodiments, the first indicator light of the first smart switch can also be used to indicate the networking configuration status of the first smart switch. In an illustrative manner, the networking configuration status of the first smart switch is obtained; when the networking configuration status indicates that the first smart switch has been networked, the first indicator light is controlled to be displayed in the second light performance style; when the networking configuration status indicates that the first smart switch has not been networked, the first indicator light is controlled to be displayed in the third light performance style.

[0148] In some other embodiments, the first indicator light of the first intelligent switch can also be used to indicate the result of the network configuration of the first intelligent switch. In an illustrative manner, the network configuration result of the first intelligent switch is obtained, and the network configuration result is used to indicate the configuration result of the target network; when the network configuration result indicates that the target network configuration is successful, the first indicator light is controlled to display in the fourth light performance style; when the network configuration result indicates that the target network configuration fails, the first indicator light is controlled to display in the fifth light performance style.

[0149] In some other embodiments, the first indicator light of the first intelligent switch can also be used to indicate the current function mode during the function mode switching process of the first intelligent switch. Schematically, taking the first intelligent switch supporting the switch function mode, the scene function mode and the copy function mode as an example, when the setting key of the first intelligent switch receives a long press operation, it enters the function mode setting state, and in the function mode setting state, the first indicator light is controlled to display in the sixth light performance style; in the function mode setting state, when the setting key of the first intelligent switch receives a short press operation, it switches to the switch function mode, the scene function mode and the copy function mode in turn according to the preset function mode arrangement order and the number of short press operations received. For example, in the switch function mode, the first indicator light is controlled to display in the seventh light performance style, in the scene function mode, the first indicator light is controlled to display in the eighth light performance style, and in the copy function mode, the first indicator light is controlled to display in the ninth light performance style, wherein the sixth light performance style, the seventh light performance style, the eighth light performance style and the ninth light performance style are different light performance styles. In one example, when the first indicator light is implemented as a blue and orange dual-color LED indicator light, the sixth lighting performance pattern is implemented as the blue and orange lights flashing alternately, the seventh lighting performance pattern is implemented as the blue light is always on, the eighth lighting performance pattern is implemented as the orange light is always on, and the ninth lighting performance pattern is implemented as the blue and orange lights are always on at the same time.

[0150] To summarize, the smart switch provided in the present application includes a setting key, through which the network configuration process of the smart switch can be implemented. In the network configuration process of the smart switch, the user triggers a first setting trigger operation through the setting key to associate and bind the current smart switch with other smart switches, thereby completing the network configuration and obtaining a network including multiple smart switches. After the network configuration is completed, the smart switch can control the controlled device based on the control capability of other smart switches over the controlled device, so that the smart switch does not need to complete the association binding through the gateway, which simplifies the network configuration process between the smart switches and reduces the cost of smart switch networking.

[0151] In the embodiment of the present application, the smart switch also supports multiple functional modes, and the user can adjust the smart switch to different functional modes according to scene requirements, thereby improving the diversity of device control achieved by the smart switch.

[0152] In some optional embodiments, the setting key of the first intelligent switch can also be used to directly configure the network with the controlled device. Figure 8 , which shows a flow chart of a smart switch networking method provided by an exemplary embodiment of the present application, the method includes steps 810 to 820.

[0153] Step 810: Receive a second setting trigger operation via the setting key.

[0154] In an embodiment of the present application, the first smart switch includes a setting key, wherein the setting key is used to configure the networking state of the first smart switch.

[0155] Optionally, the setting key may be implemented as a physical key on the first smart switch, or the setting key may be implemented as a virtual control on the first smart switch.

[0156] In the embodiment of the present application, the second setting trigger operation received through the setting key is used to set the control function of the first smart switch on the second controlled device. In the embodiment of the present application, the second controlled device targeted by the second setting trigger operation is an electronic device controlled by the first smart switch in the smart home environment where the first smart switch is located, including lamps, smart homes, smart doors and windows, etc., which are not limited here.

[0157] Optionally, the first smart switch is connected to the second controlled device through the first relay; or, the first smart switch is connected to the second controlled device through a wireless connection. Optionally, the wireless connection can be implemented as a cellular network (such as 4G, 5G) or a short-range wireless connection technology (for example, WI-FI, Bluetooth, ZigBee, etc.).

[0158] Optionally, the second setting trigger operation can be implemented as at least one of a long press operation, a short press operation, a continuous press operation, a combination of a long press operation and a short press operation, a sliding operation, a touch operation, and a sensing operation on the setting key.

[0159] Step 820: Establish an association binding relationship between the first intelligent switch and the second controlled device based on the second setting trigger operation, and obtain a second network including the first intelligent switch and the second controlled device.

[0160] In the embodiment of the present application, after the first smart switch receives the second setting trigger operation, an association binding relationship between the first smart switch and the second controlled device is established according to the second setting trigger operation, thereby realizing networking of the smart switches.

[0161] In some embodiments, the above-mentioned associated binding relationship can be implemented as wireless binding or wired binding. Schematically, when the first intelligent switch and the second controlled device are connected through the first relay, the first intelligent switch and the second controlled device are implemented as wired binding, and when the first intelligent switch and the second controlled device are connected through a wireless connection, the first intelligent switch and the second controlled device are implemented as wireless binding.

[0162] In some embodiments, when the second setting trigger operation is received through the setting key, the first smart switch enters the switch function mode, wherein the switch function mode is used to indicate that the smart switch controls the device by controlling the relay corresponding to the connected controlled device, that is, in the switch function mode, the first smart switch can directly control the connected controlled device. In one example, the switch function mode is the default mode of the first smart switch.

[0163] In other embodiments, when a second setting trigger operation is received through a setting key, the first smart switch enters a wireless control mode, wherein the wireless control mode is used to indicate that the smart switch controls the device through a wireless connection after wirelessly connecting to the controlled device, that is, in the wireless control mode, the first smart switch can directly control the connected controlled device.

[0164] Illustratively, a third functional mode is determined based on a second setting trigger operation, and the first functional mode is used to indicate an implementation mode of a control function of the first intelligent switch on the second controlled device; an associated binding relationship between the first intelligent switch and the second controlled device is established based on the third functional mode to obtain a second network including the first intelligent switch and the second controlled device.

[0165] In some embodiments, when the third functional mode is implemented as a switch functional mode, since the first smart switch and the second controlled device are connected via a first relay, the connection is determined when the scene circuit is laid out. Therefore, when the first smart switch is set to the switch functional mode, an associated binding relationship between the first smart switch and the second controlled device is automatically established, and a second network including the first smart switch and the second controlled device is obtained.

[0166] In some other embodiments, when the third functional mode is implemented as a wireless control mode, the determination method of the second controlled device may be implemented as at least one of the following:

[0167] The first one is manual selection.

[0168] In some embodiments, when the first smart switch is set to wireless control mode, the first smart switch broadcasts a device binding message to the surrounding candidate controlled devices, the candidate controlled devices include the second controlled device, and the user triggers a device selection operation for the second controlled device for which an associated binding relationship needs to be established. The selected second controlled device determines the first smart switch based on the received device binding message, and sends a device confirmation message to the first smart switch, the device confirmation message carries device information of the second controlled device, and the device information of the second controlled device is used to indicate to the first smart switch the controlled device for which an associated binding relationship is to be established.

[0169] Optionally, the device selection operation may be an operation received through a device button provided by the second controlled device or a virtual control displayed on a device display screen.

[0170] In other embodiments, the first smart switch corresponds to a switch display screen. When the first smart switch is set to wireless control mode, the first smart switch displays a list of candidate controlled devices around that can establish an associated binding relationship through the switch display screen. When the second controlled device in the device list receives a selection operation, the second controlled device is determined as a controlled device that needs to establish an associated binding relationship.

[0171] The second one is automatic selection.

[0172] In some embodiments, when the first smart switch is set to wireless control mode, the first smart switch broadcasts a device binding message to surrounding candidate controlled devices. After receiving the device binding message, the candidate controlled device obtains the switch information of the first smart switch from the device binding message, and determines whether it can establish an associated binding relationship with the first smart switch based on the switch information of the first smart switch. If so, a device selection message is sent to the first smart switch, and the device selection message includes the device information of the candidate controlled device. After receiving the device information of the candidate controlled device, the first smart switch filters out at least one second controlled device from the candidate controlled devices based on the device information of the candidate controlled device.

[0173] Optionally, the above device information includes a device identification of the controlled device, a device type of the controlled device, location information of the controlled device, etc.

[0174] Optionally, the first intelligent switch may screen the candidate controlled devices based on the order of the received device selection messages of the candidate controlled devices, for example, determining the candidate controlled device corresponding to the first received device selection message as the second controlled device; or, it may be based on the device priority of the received candidate controlled devices, for example, determining the controlled device with the highest device priority among the candidate controlled devices as the second controlled device, wherein the device priority may be determined based on the device type of the controlled device and the location information of the controlled device; or, it may be implemented by random selection from the candidate controlled devices, that is, randomly selecting the second controlled device from the candidate controlled devices.

[0175] In some embodiments, the first smart switch includes multiple candidate control keys, including a first control key. When the first smart switch is in a third functional mode, when the first control key receives a binding operation, the first control key is bound as a control key for controlling a second controlled device.

[0176] In some embodiments, after the first intelligent switch and the second controlled device are successfully networked in the switch function mode / wireless control mode, the second controlled device can be directly controlled by the first intelligent switch. In an illustrative embodiment, in response to the first control key receiving the third control trigger operation, the second controlled device is controlled by the first relay, or a third execution instruction is sent to the second controlled device via a wireless connection, and the second controlled device performs a functional response based on the third execution instruction.

[0177] To summarize, the smart switch provided in the present application includes a setting key, through which the network configuration process of the smart switch can be implemented. In the network configuration process of the smart switch, the user triggers a first setting trigger operation through the setting key to associate and bind the current smart switch with other smart switches, thereby completing the network configuration and obtaining a network including multiple smart switches. After the network configuration is completed, the smart switch can control the controlled device based on the control capability of other smart switches over the controlled device, so that the smart switch does not need to complete the association binding through the gateway, which simplifies the network configuration process between the smart switches and reduces the cost of smart switch networking.

[0178] In one example, the function modes supported by the smart switch for the networking method of the smart switch provided in the embodiment of the present application are described, as shown in Table 1, which is used to describe the mode implementation of the function mode of the smart switch. In this example, the smart switch includes a setting button (SET button), a switch position control button, and an orange and blue dual-color LED indicator corresponding to each switch position control button.

[0179] Table 1

[0180]

[0181]

[0182] In an application example, take the smart home scene as a hotel room lighting control scene as an example. Fig. 9 , which shows a schematic diagram of a network formed by smart switches and lamps in a lighting control scene provided by an exemplary embodiment of the present application. The smart switches in the lighting control scene network 900 include smart switch No. 1 901, smart switch No. 2 902, smart switch No. 3 903, smart switch No. 4 904, and smart switch No. 5 905, and the lamps in the lighting control scene network 900 include lamps 911 on road A, lamps 912 on road B, and lamps 913 on road C.

[0183] Exemplarily, based on Table 2, the function modes of smart switch No. 1 901 , smart switch No. 2 902 , smart switch No. 3 903 , smart switch No. 4 904 , and smart switch No. 5 905 are configured to realize the light control of the hotel room.

[0184] Table 2

[0185]

[0186] As shown in Table 2, smart switch No. 3 903 is set to the switch function mode, and as the main switch for controlling the three lamps in the room, it can control the opening and closing of lamp 911 on road A, lamp 912 on road B, and lamp 913 on road C respectively; smart switch No. 2 902 is set to the scene function mode, and is bound to the second control button of smart switch No. 3 903 to realize the opening and closing of lamp 912 on road B; smart switch No. 5 905 is set to the scene function mode, and is bound to the third control button of smart switch No. 3 903 to realize the opening and closing of lamp 913 on road C. Close; No. 1 smart switch 901 is set to the scene function mode, and the first control button, the second control button and the third control button of No. 3 smart switch 903 are bound at the same time, so that the three lamps of Road A 911, Road B 912 and Road C 913 can be controlled to be turned on and off at the same time; No. 4 smart switch 904 is set to the copy function mode, copying the configuration information of No. 1 smart switch 901, and can also control the three lamps of Road A 911, Road B 912 and Road C 913 to be turned on and off at the same time.

[0187] like Fig.10 As shown, it shows a schematic diagram of the association and binding relationship between smart switches provided by an exemplary embodiment of the present application, wherein smart switch No. 1 901 is simultaneously bound to the first control button, the second control button and the third control button of smart switch No. 3 903; smart switch No. 4 904 copies the switch binding parameters of smart switch No. 1 901 to smart switch No. 3 903; smart switch No. 2 902 is bound to the second control button of smart switch No. 3 903; smart switch No. 5 905 is bound to the third control button of smart switch No. 3 903.

[0188] In an application example, take the smart home scene as an example of a lighting control scene in an exhibition hall. Fig.11 As shown, it shows a schematic diagram of the network formed by the smart switch and the lamp in the lighting control scene provided by an exemplary embodiment of the present application. The smart switches in the lighting control scene network 1100 include smart switch No. 1 1101, smart switch No. 2 1102, ..., smart switch No. n 1103. In the lighting control scene network 1100, smart switches No. 2 1102 to No. n 1103 are respectively connected to three lamps in the exhibition hall, for example, L1A street lamp 1111, L2A street lamp 1112, L3A street lamp 1113 connected to smart switch No. 2 1102, and L1N street lamp 1121, L2N street lamp 1122, L3N street lamp 1123 connected to smart switch No. n 1103.

[0189] Exemplarily, based on Table 3, the function modes of smart switch No. 1 1101, smart switch No. 2 1102, ..., smart switch No. n 1103 are configured to realize the lighting control of the exhibition hall.

[0190] Table 3

[0191]

[0192] As shown in Table 3, the No. 2 smart switch 1102 is set to the switch function mode, and the three-position control button of the No. 2 smart switch 1102 controls three lamps in one area (including the L1A street lamp 1111, the L2A street lamp 1112, and the L3A street lamp 1113); the No. 3 to No. n smart switches 1103 are set to the copy function mode, copying the switch parameters of the No. 2 smart switch 1102; the No. 1 smart switch 1101 is set to the scene function mode, and the No. 1 smart switch 1101 is bound to the No. 2 smart switch 1102, wherein the first control button of the No. 1 smart switch 1101 controls the three-position control button of the No. 1 smart switch 1101. The first control button of smart switch No. 2 1102 is bound to the second control button of smart switch No. 1 101, the first control button and the second control button of smart switch No. 2 1102 are bound to the third control button of smart switch No. 1 101, the first control button, the second control button and the third control button of smart switch No. 2 1102 are bound to the third control button of smart switch No. 1 101, and since smart switches No. 3 to No. n 1103 copy the switch parameters of smart switch No. 2 1102, smart switches No. 3 to No. n 1103 also have a binding relationship with smart switch No. 1 101.

[0193] like Fig.12 As shown, it shows a schematic diagram of the association and binding relationship between smart switches provided by an exemplary embodiment of the present application, wherein the first control button of smart switch No. 1 1101 is bound to the first control button of smart switch No. 2 1102, the second control button of smart switch No. 1 1101 is bound to the first control button and the second control button of smart switch No. 2 1102, and the third control button of smart switch No. 1 1101 is bound to the first control button, the second control button and the third control button of smart switch No. 2 1102; smart switch No. 3 1104 to smart switch No. n 1103 copy the switch parameters of smart switch No. 2 1102.

[0194] Please refer to Fig.13 , which shows a structural block diagram of a networking device of an intelligent switch provided by an exemplary embodiment of the present application, the device includes the following modules:

[0195] A receiving module 1310 is configured to receive a first setting trigger operation through the setting key, where the first setting trigger operation is used to set a control function of the first intelligent switch on a controlled device;

[0196] A binding module 1320, configured to establish an associated binding relationship between the first intelligent switch and the second intelligent switch based on the first setting trigger operation, and obtain a first network including the first intelligent switch and the second intelligent switch, wherein the second intelligent switch is used to control a first controlled device;

[0197] The control module 1330 is used to control a second controlled device in the first network based on the control function of the second intelligent switch on the first controlled device, where the first controlled device is the same as or different from the second controlled device.

[0198] In some optional embodiments, such as Fig.14 As shown, the binding module 1320 includes:

[0199] A determining unit 1321 is configured to determine a first function mode based on the first setting trigger operation, where the first function mode is used to indicate a mode in which the first intelligent switch implements a control function on a controlled device;

[0200] The binding unit 1322 is configured to establish an associated binding relationship between the first intelligent switch and the second intelligent switch based on the first functional mode, so as to obtain the first network including the first intelligent switch and the second intelligent switch.

[0201] In some optional embodiments, the binding module 1320 further includes:

[0202] A receiving unit 1323 is configured to receive a binding operation when the first smart switch is in the first functional mode, wherein the binding operation is used to indicate the establishment of an associated binding device;

[0203] The determining unit 1321 is further configured to determine the second smart switch based on the binding operation;

[0204] The binding unit 1322 is further configured to establish an associated binding relationship between the first intelligent switch and the second intelligent switch based on the first functional mode, so as to obtain the first network including the first intelligent switch and the second intelligent switch.

[0205] In some optional embodiments, the binding unit 1322 is further used to establish a first binding relationship between the first smart switch and the second smart switch when the first functional mode is implemented as a scenario functional mode, so as to obtain the first network including the first smart switch, the second smart switch and the first controlled device, the second controlled device and the first controlled device are the same controlled device, and the scenario functional mode is used to instruct the smart switch to indirectly control the controlled device by controlling other smart switches.

[0206] In some optional embodiments, the receiving unit 1323 is further configured to receive a first binding operation and obtain first operation information corresponding to a second binding operation when the first function mode is implemented as a scenario function mode, where the second binding operation is a binding operation received by the second smart switch;

[0207] The determining unit 1321 is further configured to determine a first control key to be bound in the first intelligent switch based on the first binding operation, and to determine a second control key to be bound in the second intelligent switch based on the first operation information;

[0208] The binding unit 1322 is further configured to establish the first binding relationship between the first control key and the second control key to obtain the first network including the first intelligent switch, the second intelligent switch and the first controlled device.

[0209] In some optional embodiments, the control module 1330 is further used to send a first execution instruction to the second intelligent switch in response to the first control key receiving a first control trigger operation, wherein the second intelligent switch is used to control the first controlled device according to the first execution instruction.

[0210] In some optional embodiments, the binding unit 1322 is further used to establish a second binding relationship between the first smart switch and the second smart switch when the first functional mode is implemented as a copy functional mode, so as to obtain the first network including the first smart switch, the second smart switch and the second controlled device, and the copy functional mode indicates that the smart switch controls the controlled device by copying the switch parameters of other smart switches.

[0211] In some optional embodiments, the receiving unit 1323 is further configured to receive a third binding operation and obtain second operation information corresponding to a fourth binding operation when the first functional mode is implemented as a copy functional mode, wherein the fourth binding operation is a binding operation received by the second smart switch;

[0212] The determining unit 1321 is further configured to determine a first control key to be bound in the first intelligent switch based on the second binding operation, and to determine a second control key to be bound in the second intelligent switch based on the second operation information;

[0213] The receiving unit 1323 is further configured to obtain first control key configuration information corresponding to the second control key;

[0214] The binding unit 1322 is further used to copy the first control key configuration information into the second control key configuration information corresponding to the first control key, so as to establish the second binding relationship between the first control key and the second control key, and obtain the first network including the first intelligent switch, the second intelligent switch and the second controlled device.

[0215] In some optional embodiments, the determining unit 1321 is further configured to determine a second function mode corresponding to the second control key based on the second operation information, where the second function mode is used to indicate an implementation mode of a control function of the second control key on the first controlled device;

[0216] The binding unit 1322 is further used to copy the first control key configuration information into second control key configuration information corresponding to the first control key based on the second functional mode, so as to establish the second binding relationship between the first control key and the second control key, and obtain the first network including the first smart switch, the second smart switch and the second controlled device.

[0217] In some optional embodiments, the second function mode includes a switch function mode, and the switch function mode is used to instruct the intelligent switch to realize device control by controlling a relay corresponding to a connected controlled device;

[0218] The binding unit 1322 is further configured to, when the second functional mode is implemented as the switch functional mode, copy the first control key configuration information to the second control key configuration information corresponding to the first control key, so as to establish the second binding relationship between the first control key and the second control key, and obtain the first network including the first intelligent switch, the second intelligent switch and the second controlled device, wherein the first controlled device and the second controlled device are different controlled devices;

[0219] The control module 1330 is further configured to control the second controlled device connected to the first intelligent switch through the first relay based on the second control key configuration information in response to the first control key receiving a second control trigger operation.

[0220] In some optional embodiments, the second function mode includes a scenario function mode, and the scenario function mode is used to instruct the smart switch to indirectly control the controlled device by controlling other smart switches;

[0221] The binding unit 1322 is further configured to, when the second function mode is implemented as the scenario function mode, copy the first control key configuration information as the second control key configuration information corresponding to the first control key, so as to establish the second binding relationship between the first control key and the second control key, and obtain the first group network including the first intelligent switch, the second intelligent switch, the third intelligent switch and the first controlled device, wherein the second controlled device and the first controlled device are the same controlled device, the third intelligent switch is the intelligent switch associated and bound with the second intelligent switch in the scenario function mode, and the first controlled device is the controlled device controlled by the third intelligent switch through the second relay;

[0222] The control module 1330 is further configured to send a second execution instruction to the third intelligent switch in response to the first control key receiving a third control trigger operation, wherein the third intelligent switch is configured to control the first controlled device according to the second execution instruction.

[0223] In some optional embodiments, the first intelligent switch further includes a first indicator light;

[0224] The control module 1330 is further configured to control the first indicator light to be displayed in a first light expression pattern corresponding to the first functional mode.

[0225] In some optional embodiments, the device further comprises:

[0226] An acquisition module 1340 is used to acquire the networking configuration status of the first intelligent switch;

[0227] The control module 1330 is further configured to control the first indicator light to be displayed in a second light expression style when the networking configuration status indicates that the first intelligent switch has been networked;

[0228] The control module 1330 is further configured to control the first indicator light to be displayed in a third light expression style when the networking configuration status indicates that the first intelligent switch is not networked.

[0229] In some optional embodiments, the acquisition module 1340 is further used to acquire a networking configuration result of the first intelligent switch, where the networking configuration result is used to indicate a configuration result of the target network;

[0230] The control module 1330 is further configured to control the first indicator light to be displayed in a fourth light expression style when the network configuration result indicates that the target network configuration is successful;

[0231] The control module 1330 is further configured to control the first indicator light to be displayed in a fifth light expression style when the network configuration result indicates that the target network configuration has failed.

[0232] In some optional embodiments, the receiving module 1310 is further used to determine that the first setting trigger operation is received when the pressing duration received by the setting key reaches a first duration threshold; or, when the pressing duration received by the setting key is lower than a second duration threshold, determine that the first setting trigger operation is received; or, when the setting key receives a first pressing operation with a pressing duration reaching a third duration threshold, and a second pressing operation with a pressing duration reaching a fourth duration threshold, and the operation time difference between the first pressing operation and the second pressing operation is less than a fifth duration threshold, determine that the first setting trigger operation is received; or, when the pressing frequency received by the setting key reaches a first frequency threshold, determine that the first setting trigger operation is received; or, when the pressing pressure received by the setting key reaches a first pressure threshold, determine that the first setting trigger operation is received.

[0233] In some optional embodiments, the receiving module 1310 is further used to receive a second setting trigger operation through the setting key, where the second setting trigger operation is used to set a control function of the first intelligent switch on the second controlled device connected through the first relay;

[0234] The binding module 1320 is further configured to establish an associated binding relationship between the first intelligent switch and the second controlled device based on the second setting trigger operation, so as to obtain a second network including the first intelligent switch and the second controlled device.

[0235] It should be noted that the networking device of the intelligent switch provided in the above embodiment is only illustrated by the division of the above functional modules. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. In addition, the networking device of the intelligent switch provided in the above embodiment and the networking method embodiment of the intelligent switch belong to the same concept. The specific implementation process is detailed in the method embodiment and will not be repeated here.

[0236] A person skilled in the art can understand that all or part of the steps in the various methods of the above embodiments can be completed by instructing the relevant hardware through a program, and the program can be stored in a computer-readable storage medium, which can be a computer-readable storage medium contained in the memory in the above embodiments; or a computer-readable storage medium that exists independently and is not assembled in the terminal. The computer-readable storage medium stores at least one instruction, at least one program, code set or instruction set, and the at least one instruction, the at least one program, the code set or instruction set is loaded and executed by the processor to implement the networking method of the intelligent switch described in any of the above embodiments.

[0237] Optionally, the computer readable storage medium may include: a read-only memory (ROM), a random access memory (RAM), a solid state drive (SSD), or an optical disk. Among them, the random access memory may include a resistance random access memory (ReRAM) and a dynamic random access memory (DRAM). The serial numbers of the above embodiments of the present application are only for description and do not represent the advantages and disadvantages of the embodiments.

[0238] A person skilled in the art will understand that all or part of the steps to implement the above embodiments may be accomplished by hardware or by instructing related hardware through a program, and the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a disk or an optical disk, etc.

[0239] The above description is only an optional embodiment of the present application and is not intended to limit the present application. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present application shall be included in the protection scope of the present application.

Claims

1. A networking method for an intelligent switch, characterized in that: The method is performed by a first intelligent switch, the first intelligent switch includes a setting key, and the method includes: receiving a first setting trigger operation through the setting key, where the first setting trigger operation is used to set a control function of the first intelligent switch on a controlled device; An association binding relationship between the first smart switch and the second smart switch is established based on the first setting trigger operation, so as to obtain a first network including the first smart switch and the second smart switch, wherein the second smart switch is used to control a first controlled device; In the first network, based on the control function of the second intelligent switch on the first controlled device, the second controlled device is controlled, and the first controlled device is the same as or different from the second controlled device.

2. The method according to claim 1, characterized in that: The establishing of an association binding relationship between the first smart switch and the second smart switch based on the first setting trigger operation to obtain a first network including the first smart switch and the second smart switch includes: Determine a first function mode based on the first setting trigger operation, where the first function mode is used to indicate a mode in which the first intelligent switch implements a control function on a controlled device; An association binding relationship between the first smart switch and the second smart switch is established based on the first functional mode, so as to obtain the first network including the first smart switch and the second smart switch.

3. The method according to claim 2, characterized in that The establishing of the association binding relationship between the first intelligent switch and the second intelligent switch based on the first functional mode to obtain the first network including the first intelligent switch and the second intelligent switch includes: When the first smart switch is in the first functional mode, receiving a binding operation, the binding operation is used to instruct a device to establish an associated binding; determining the second smart switch based on the binding operation; An association binding relationship between the first smart switch and the second smart switch is established based on the first functional mode, so as to obtain the first network including the first smart switch and the second smart switch.

4. The method according to claim 2 or 3, characterized in that: The establishing of the association binding relationship between the first intelligent switch and the second intelligent switch based on the first functional mode to obtain the first network including the first intelligent switch and the second intelligent switch includes: In the case where the first functional mode is implemented as a scenario functional mode, a first binding relationship is established between the first intelligent switch and the second intelligent switch, and the first network including the first intelligent switch, the second intelligent switch and the first controlled device is obtained, the second controlled device and the first controlled device are the same controlled device, and the scenario functional mode is used to instruct the intelligent switch to indirectly control the controlled device by controlling other intelligent switches.

5. The method according to claim 4, characterized in that In the case where the first functional mode is implemented as a scenario functional mode, establishing a first binding relationship between the first intelligent switch and the second intelligent switch to obtain the first network including the first intelligent switch, the second intelligent switch and the second controlled device, comprises: In the case where the first function mode is implemented as a scenario function mode, receiving a first binding operation, and acquiring first operation information corresponding to a second binding operation, where the second binding operation is a binding operation received by the second smart switch; Determine a first control key to be bound in the first intelligent switch based on the first binding operation, and determine a second control key to be bound in the second intelligent switch based on the first operation information; The first binding relationship between the first control key and the second control key is established to obtain the first network including the first intelligent switch, the second intelligent switch and the first controlled device.

6. The method according to claim 5, characterized in that The controlling of the second controlled device in the first network based on the control function of the second intelligent switch on the first controlled device includes: In response to the first control key receiving a first control trigger operation, a first execution instruction is sent to the second intelligent switch, wherein the second intelligent switch is used to control the first controlled device according to the first execution instruction.

7. The method according to claim 2 or 3, characterized in that: The establishing of the association binding relationship between the first intelligent switch and the second intelligent switch based on the first functional mode to obtain the first network including the first intelligent switch and the second intelligent switch includes: In the case where the first functional mode is implemented as a copy functional mode, a second binding relationship is established between the first intelligent switch and the second intelligent switch to obtain the first network including the first intelligent switch, the second intelligent switch and the second controlled device. The copy functional mode indicates that the intelligent switch controls the controlled device by copying the switch parameters of other intelligent switches.

8. The method according to claim 7, characterized in that In the case where the first functional mode is implemented as a copy functional mode, establishing a second binding relationship between the first intelligent switch and the second intelligent switch to obtain the first network including the first intelligent switch, the second intelligent switch and the second controlled device, comprises: In the case where the first functional mode is implemented as the copy functional mode, receiving a third binding operation, and acquiring second operation information corresponding to a fourth binding operation, wherein the fourth binding operation is a binding operation received by the second smart switch; Determine a first control key to be bound in the first intelligent switch based on the second binding operation, and determine a second control key to be bound in the second intelligent switch based on the second operation information; Acquire first control key configuration information corresponding to the second control key; The first control key configuration information is copied as the second control key configuration information corresponding to the first control key to establish the second binding relationship between the first control key and the second control key, and the first network including the first intelligent switch, the second intelligent switch and the second controlled device is obtained.

9. The method according to claim 8, characterized in that The step of copying the first control key configuration information as the second control key configuration information corresponding to the first control key to establish the second binding relationship between the first control key and the second control key, and obtaining the first network including the first intelligent switch, the second intelligent switch, and the second controlled device, includes: determining, based on the second operation information, a second function mode corresponding to the second control key, where the second function mode is used to indicate a mode in which the second control key implements a control function on the first controlled device; Based on the second functional mode, the first control key configuration information is copied as the second control key configuration information corresponding to the first control key to establish the second binding relationship between the first control key and the second control key, and the first network including the first smart switch, the second smart switch and the second controlled device is obtained.

10. The method according to claim 9, characterized in that The second function mode includes a switch function mode, and the switch function mode is used to instruct the intelligent switch to control the device by controlling the relay corresponding to the connected controlled device; The method of copying the first control key configuration information as the second control key configuration information corresponding to the first control key based on the second functional mode to establish the second binding relationship between the first control key and the second control key, and obtaining the first network including the first intelligent switch, the second intelligent switch and the second controlled device, includes: In the case where the second function mode is implemented as the switch function mode, the first control key configuration information is copied as the second control key configuration information corresponding to the first control key, so as to establish the second binding relationship between the first control key and the second control key, and obtain the first network including the first intelligent switch, the second intelligent switch and the second controlled device, wherein the first controlled device and the second controlled device are different controlled devices; The controlling of the second controlled device in the first network based on the control function of the second intelligent switch on the first controlled device includes: In response to the first control key receiving a second control trigger operation, the second controlled device connected to the first intelligent switch through the first relay is controlled based on the second control key configuration information.

11. The method according to claim 9, characterized in that The second function mode includes a scenario function mode, and the scenario function mode is used to instruct the intelligent switch to indirectly control the controlled device by controlling other intelligent switches; The method of copying the first control key configuration information as the second control key configuration information corresponding to the first control key based on the second functional mode to establish the second binding relationship between the first control key and the second control key, and obtaining the first network including the first intelligent switch, the second intelligent switch and the second controlled device, includes: In the case where the second function mode is implemented as the scenario function mode, the first control key configuration information is copied as the second control key configuration information corresponding to the first control key, so as to establish the second binding relationship between the first control key and the second control key, and obtain the first group network including the first intelligent switch, the second intelligent switch, the third intelligent switch and the first controlled device, the second controlled device and the first controlled device are the same controlled device, the third intelligent switch is the intelligent switch associated and bound with the second intelligent switch in the scenario function mode, and the first controlled device is the controlled device controlled by the third intelligent switch through the second relay; The controlling of the second controlled device in the first network based on the control function of the second intelligent switch on the first controlled device includes: In response to the first control key receiving a third control trigger operation, a second execution instruction is sent to the third intelligent switch, wherein the third intelligent switch is used to control the first controlled device according to the second execution instruction.

12. The method according to claim 2 or 3, characterized in that: The first intelligent switch also includes a first indicator light; After determining the first functional mode based on the first setting trigger operation, the method further includes: The first indicator light is controlled to be displayed in a first light expression style corresponding to the first functional mode.

13. The method according to claim 12, characterized in that The method further comprises: Acquire the networking configuration status of the first intelligent switch; When the networking configuration status indicates that the first intelligent switch has been networked, controlling the first indicator light to be displayed in a second light display style; When the networking configuration status indicates that the first intelligent switch is not networked, the first indicator light is controlled to be displayed in a third light expression style.

14. The method according to claim 12, characterized in that The method further comprises: Acquire a networking configuration result of the first intelligent switch, where the networking configuration result is used to indicate a configuration result of the target network; When the network configuration result indicates that the target network configuration is successful, controlling the first indicator light to be displayed in a fourth light expression style; When the network configuration result indicates that the target network configuration fails, the first indicator light is controlled to be displayed in a fifth light expression style.

15. The method according to any one of claims 1 to 3, characterized in that: The receiving a first setting trigger operation through the setting key includes: When the pressing time duration of the setting key reaches a first time duration threshold, it is determined that the first setting trigger operation is received; or, When the pressing duration of the setting key is less than a second duration threshold, it is determined that the first setting trigger operation is received; or, When the setting key receives a first pressing operation whose pressing duration reaches a third duration threshold, and a second pressing operation whose pressing duration reaches a fourth duration threshold, and the operation time difference between the first pressing operation and the second pressing operation is less than a fifth duration threshold, it is determined that the first setting trigger operation is received; or, When the pressing frequency received by the setting key reaches a first frequency threshold, it is determined that the first setting trigger operation is received; or, When the pressing pressure received by the setting key reaches a first pressure threshold, it is determined that the first setting trigger operation is received.

16. The method according to any one of claims 1 to 3, characterized in that: The method further comprises: receiving a second setting trigger operation through the setting key, where the second setting trigger operation is used to set a control function of the first intelligent switch on the second controlled device connected through the first relay; An association binding relationship between the first intelligent switch and the second controlled device is established based on the second setting trigger operation, so as to obtain a second network including the first intelligent switch and the second controlled device.

17. A networking device for an intelligent switch, characterized in that: The device comprises: A receiving module, configured to receive a first setting trigger operation through the setting key, wherein the first setting trigger operation is used to set a control function of the first intelligent switch on a controlled device; a binding module, configured to establish an associated binding relationship between the first intelligent switch and the second intelligent switch based on the first setting trigger operation, so as to obtain a first network including the first intelligent switch and the second intelligent switch, wherein the second intelligent switch is used to control a first controlled device; A control module is used to control a second controlled device in the first network based on the control function of the second intelligent switch on the first controlled device, where the first controlled device is the same as or different from the second controlled device.

18. An intelligent switch, characterized in that: The intelligent switch comprises a processor and a memory, wherein at least one program is stored in the memory, and the at least one program is loaded and executed by the processor to implement the networking method of the intelligent switch according to any one of claims 1 to 16.

19. A computer-readable storage medium, characterized in that: At least one program code is stored in the computer-readable storage medium, and the program code is loaded and executed by the processor to implement the networking method of the intelligent switch according to any one of claims 1 to 16.