Equipment binding method and equipment interaction system and device

Automatically obtain the identification information of the smart lighting equipment through the mobile phone and bind it to the installation location, which solves the problem that installation and maintenance personnel need to frequently manually bind during the installation process, and improves installation efficiency and user experience.

CN119922259APending Publication Date: 2025-05-02HUAWEI TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311432672.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-10-31
Publication Date
2025-05-02

AI Technical Summary

Technical Problem

When installing smart lighting equipment, installation and maintenance personnel need to frequently manually bind the MAC address of each device to its installation location, resulting in low installation efficiency and time-consuming.

Method used

The identification information of the third device (smart lighting device) is automatically obtained through the first device (mobile phone), and binds it according to the current installation position entered by the user to reduce manual operations.

Benefits of technology

It improves the installation efficiency of smart lighting equipment, reduces installation time, and simplifies the operation process of installation and maintenance personnel.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119922259A_ABST
    Figure CN119922259A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides an equipment binding method and an equipment interaction system and device. The method is applied to the equipment interaction system. The method comprises the following steps: a second device obtains an identifier of at least one third device, and sends identifier information of the at least one third device to a first device; the first equipment sends a test control instruction; the test control instruction is used for controlling the at least one third device to execute the corresponding test action sequence according to the test sequence. And the first device receives an input operation sequence of the user for the current installation position of the at least one third device based on the test action sequence, and binds the current installation position of the at least one third device with the corresponding identification information of the at least one third device according to the input operation sequence. According to the embodiment of the invention, frequent operation of installation and maintenance personnel is not needed, the installation efficiency of the third equipment is improved, and installation time is shortened. Meanwhile, patterns corresponding to the identification information do not need to be arranged on the surface of the third equipment.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of terminal technology, and in particular to a device binding method, a device interaction system and a device. Background Art

[0002] As people's quality of life improves, they have higher requirements for material life, so smart homes have developed rapidly and more and more people are starting to use smart homes. Taking smart lighting equipment as an example, in order to meet the personalized needs and scene requirements of users, smart lighting equipment now has product functions of diversified tones, diversified splicing forms, and diversified lighting effects and movement modes.

[0003] In the process of installing smart lighting devices, each smart lighting device needs to be installed at a preset installation location so that the smart lighting device can perform a variety of lighting effects. Specifically, each smart lighting device has a media access control address (Media Access Control, MAC). MAC is a character string converted into a barcode or QR code and pasted on the housing of the smart lighting device to distinguish different smart lighting devices. Since the smart lighting device needs to be bound to its own installation location after installation, subsequent diversified functions can be realized. Therefore, after installing a smart lighting device to the preset installation location, the installation and maintenance personnel can scan the QR code with a mobile phone to obtain the MAC of the smart lighting device, and then manually bind the MAC of the smart lighting device to the preset installation location through the mobile phone. It can be understood that the installation and maintenance personnel need to repeat the above installation operations for each smart lighting device.

[0004] In this way, installing multiple intelligent lighting devices using the above installation method requires installation and maintenance personnel to perform a series of repeated operations, and the installation process is not only time-consuming but also low in efficiency. Summary of the invention

[0005] The embodiments of the present application provide a device binding method, a device interaction system and an apparatus, which improve the installation efficiency of the third device and reduce the installation time by automatically obtaining the identification information of the third device by utilizing the first device and binding the third device according to the current installation location of the third device input.

[0006] To achieve the above objectives, the embodiments of the present application adopt the following technical solutions:

[0007] In the first aspect, an embodiment of the present application provides a device binding method, which is applied to a device interaction system, wherein the device interaction system includes a first device and a second device; the first device is used to control the second device, and the second device is used to control at least one third device; the method includes: the second device obtains the identification of at least one third device, and sends the identification information of at least one third device to the first device. The first device sends a test control instruction; the test control instruction is used to control at least one third device to execute a corresponding test action sequence according to the test order. The first device receives an input operation sequence of the user based on the test action sequence for the current installation position of at least one third device, and binds the current installation position of at least one third device with the corresponding identification information of at least one third device according to the input operation sequence.

[0008] For example, the first device is a mobile phone, the second device is a smart control panel, the third device is a smart lighting device, and the user is an installation and maintenance personnel. The smart control panel can obtain identification information of at least one smart lighting device and send the identification information of at least one smart lighting device to the mobile phone.

[0009] The mobile phone sends a test control instruction to at least one smart lighting device; the test control instruction is used to control at least one smart lighting device to perform corresponding test actions according to a preset test sequence. For example, the device emits light in a front-to-back sequence and at a certain time interval, so that the installation and maintenance personnel can see the corresponding light-emitting position of the smart lighting device, which is the current installation position of the smart lighting device.

[0010] Then, the installation and maintenance personnel can input the current installation location into the mobile phone. The mobile phone receives the input operation sequence of the installation and maintenance personnel and binds the current installation location with the identification information of the smart lighting device corresponding to the current installation location.

[0011] In this way, the installation and maintenance personnel can automatically obtain the identification information of the smart lighting equipment through the mobile phone, and can also input the current installation location of each smart lighting equipment, and control the mobile phone to bind the identification information of each smart lighting equipment with the current installation location. There is no need for the installation and maintenance personnel to operate frequently, which improves the installation efficiency and reduces the installation time. At the same time, there is no need to set the pattern corresponding to the identification information on the surface of the smart lighting equipment.

[0012] In an implementation of the first aspect, the device interaction system further includes a fourth device; the fourth device is used to control the second device and is controlled by the first device. In the process of the second device sending identification information of at least one third device to the first device, the second device can send the identification information of at least one third device to the first device via the fourth device.

[0013] After the first device binds the current installation location of at least one third device with the identification information of the corresponding at least one third device, the binding relationship between the current installation location of at least one third device and the identification information of the corresponding at least one third device can be sent to the fourth device.

[0014] Taking the fourth device as a home gateway as an example, in a home scene, the home gateway can control multiple smart control panels in multiple spatial areas, thereby controlling multiple smart lighting devices in each spatial area. In this way, the smart control panel can send the identification information of at least one smart lighting device to the mobile phone via the home gateway. The mobile phone can send the binding relationship to the home gateway, and of course, the binding relationship can also be sent to the home gateway via the smart control panel, so that the home gateway stores the binding relationship.

[0015] In this way, when the house is put into use, the home users can also use their own mobile phones to control the smart control panel in each room of the house through the home gateway, thereby controlling multiple smart lighting devices in each room. Of course, home users can also directly use the home gateway to control the smart control panel in each room. It can increase the diversity of control methods and control and enhance the flexibility of smart lighting devices.

[0016] In an implementation manner of the first aspect, the method also includes: the first device receives a first trigger operation of a user for a target application, displays a first interface, and the first interface includes at least one third device; during the process of the first device sending a test control instruction, the first device receives a second trigger operation of the user for at least one third device in the first interface, and sends the test control instruction to the at least one third device via the second device.

[0017] Installation and maintenance personnel can use mobile phones to test smart lighting devices. The mobile phone can receive the first trigger operation of the installation and maintenance personnel for the target application, such as the installation and maintenance application, and display the first interface, which includes at least one smart lighting device. Then, the installation and maintenance personnel can group and select multiple smart lighting devices to perform light-emitting actions. The mobile phone receives the second trigger operation of the installation and maintenance personnel for at least one smart lighting device in the first interface, and sends a test control instruction to at least one third device via the second device. By testing the smart lighting device, the installation and maintenance personnel can perceive the current installation position corresponding to the smart lighting device, which facilitates the subsequent mobile phone to bind the identification information of the smart lighting device and the corresponding current installation position. Thereby improving the installation efficiency corresponding to the installation of smart lighting equipment and improving the user experience of the installation and maintenance personnel.

[0018] In an implementation manner of the first aspect, the method further includes: the first device displays a second interface, the second interface includes a preset installation position corresponding to at least one third device. The first device can receive a selection operation sequence of the user for the preset installation position, and determine the current installation position of the at least one third device. The first device can also bind the current installation position of the at least one third device with the identification information of the corresponding at least one third device.

[0019] The installation and maintenance personnel can use the mobile phone to perform the binding process, and the mobile phone can display the second interface, which includes a preset installation position corresponding to at least one smart lighting device; the preset installation position is the position where the smart lighting device should be installed in the floor plan.

[0020] After obtaining the current installation location of the smart lighting device, the installation and maintenance personnel sequentially select the preset installation locations. In this way, the mobile phone can receive the selection operation sequence of the installation and maintenance personnel for the preset installation locations, determine the current installation location of at least one smart lighting device, and bind the current installation location with the identification information of the smart lighting device corresponding to the current installation location. The installation and maintenance personnel can simply and quickly bind the identification information of the smart lighting device with its corresponding current installation location without having to repeat the operation for each smart lighting device. This improves the interactivity and user experience between the installation and maintenance personnel and the mobile phone.

[0021] In an implementation manner of the first aspect, the device interaction system further includes at least one third device, and the method further includes: the at least one third device executes a corresponding test action sequence according to the test control instruction and in a test order.

[0022] By testing the smart lighting equipment and making it perform the lighting operation, the installation and maintenance personnel can perceive the current installation location of the smart lighting equipment, which makes it easier for the mobile phone to bind the identification information of the smart lighting equipment with the corresponding current installation location. This improves the installation efficiency of the smart lighting equipment and the user experience of the installation and maintenance personnel.

[0023] In an implementation manner of the first aspect, a power line communication connection is established between the second device and at least one third device, or a wireless communication connection is established between the second device and at least one third device; the wireless communication connection includes a wireless fidelity network connection and a Bluetooth communication connection.

[0024] In an implementation manner of the first aspect, in a process of acquiring identification information of at least one third device, when a power line communication connection is established between the second device and the at least one third device, the second device sends a first transmission signal having a preset frequency. The second device may obtain identification information of the at least one third device based on the at least one third device responding to the first transmission signal.

[0025] The intelligent control panel can obtain the identification information of the intelligent lighting device based on the intelligent lighting device that responds to the first transmission signal. In other words, the intelligent control panel can search for the intelligent lighting devices located in the same area space, which is convenient for subsequent binding operations on the intelligent lighting devices. In addition, the installation efficiency of the intelligent lighting devices is improved and the installation time is reduced.

[0026] In an implementation of the first aspect, the method further includes: before the second device acquires identification information of at least one third device, the second device sends a second transmission signal having a preset frequency. The second device may acquire a distance between the second device and at least one communication device that responds to the second transmission signal. The second device determines at least one communication device at a preset distance as at least one third device, and sets the frequency of the transmission signal corresponding to the at least one third device to the preset frequency.

[0027] In the case where the smart control panel and the smart lighting device establish a power line communication connection, in order for the smart control panel in each regional space to search for the smart lighting devices in its own regional space, the smart control panel can determine at least one smart lighting device among multiple communication devices as a device in the current regional space based on a preset distance. Then, the communication characteristics are set for the at least one determined smart lighting device, such as the preset frequency of the transmission signal. In other words, the smart control panel and at least one smart lighting device in a regional space can send a transmission signal with the same preset frequency. In this way, the subsequent smart control panel can search for smart lighting devices located in the same regional space based on the transmission signal with the preset frequency, which facilitates the subsequent binding operation for the smart lighting devices. In addition, the installation efficiency corresponding to the installation of smart lighting devices is improved and the installation time is reduced.

[0028] In an implementation method of the first aspect, the first device is a terminal device, which includes at least one of a mobile phone, a tablet computer and a wearable device; the second device is a gateway device, which includes at least one of a smart control panel and a whole-house smart host; the third device is a smart home device, which includes at least one of a smart lighting device and a smart switch; the fourth device is a hub device, which includes a home gateway.

[0029] In an implementation manner of the first aspect, the identification information of the at least one third device includes a Media Access Control (MAC) address of the at least one third device.

[0030] In an implementation manner of the first aspect, the method further includes: the first device outputting prompt information, where the prompt information is used to prompt that at least one third device has been bound.

[0031] After the mobile phone binds the identification information of multiple smart lighting devices to their corresponding current installation locations, a prompt message can be output to remind the user that the binding has been completed, thereby improving the interactivity between the installation and maintenance personnel and the mobile phone and the flexibility of the binding process.

[0032] In the second aspect, the embodiment of the present application provides a device binding method, which is applied to a first device, and the method includes: receiving identification information of at least one third device sent by a second device; the second device is used to control the third device. Then, a test control instruction is sent; the test control instruction is used to control at least one third device to execute a corresponding test action sequence according to a test order. Then, an input operation sequence of a user based on the test action sequence for the current installation position of at least one third device is received, and according to the input operation sequence, the current installation position of at least one third device is bound to the identification information of the corresponding at least one third device.

[0033] Taking the first device as a mobile phone as an example, the installation and maintenance personnel can automatically obtain the identification information of the smart lighting device through the mobile phone, and can also input the current installation location of each smart lighting device, and control the mobile phone to bind the identification information of each smart lighting device with the current installation location. The installation and maintenance personnel do not need to operate frequently, which improves the installation efficiency and reduces the installation time. At the same time, there is no need to set a pattern corresponding to the identification information on the surface of the smart lighting device.

[0034] In a third aspect, an embodiment of the present application provides a device binding method, which is applied to a second device, and the second device is used to control a third device; the method includes: obtaining identification information of at least one third device, and sending the identification information of at least one third device to the first device. The identification information of at least one third device is used by the first device to bind the current installation location of at least one third device with at least one third device. Then, a test control instruction sent by the first device is received, and the test control instruction is sent to at least one third device; the test control instruction is used to control at least one third device to execute a corresponding test action sequence according to the test order.

[0035] Taking the second device as an intelligent control panel as an example, the intelligent control panel can control at least one intelligent lighting device to control it to perform corresponding test actions, thereby improving the flexibility of controlling the intelligent lighting device and further improving the user experience of the home user.

[0036] In a fourth aspect, an embodiment of the present application provides a device binding method, which is applied to a fourth device, wherein the fourth device is used to control a second device and is controlled by a first device, and the second device is used to control a third device; the method includes: receiving identification information of at least one third device sent by the second device, and sending the identification information of at least one third device to the first device; the identification information of at least one third device is used by the first device to bind the current installation location of at least one third device with the at least one third device. Then, the fourth device can receive the binding relationship between the current installation location of at least one third device sent by the first device and the corresponding identification information of at least one third device.

[0037] Taking the fourth device as a home gateway as an example, in a home scene, the home gateway can control multiple smart control panels in multiple spatial areas, thereby controlling multiple smart lighting devices in each spatial area. In this way, the smart control panel can send the identification information of at least one smart lighting device to the mobile phone via the home gateway. The mobile phone can send the binding relationship to the home gateway, and of course, the binding relationship can also be sent to the home gateway via the smart control panel, so that the home gateway stores the binding relationship.

[0038] In this way, when the house is put into use, the home users can also use their own mobile phones to control the smart control panel in each room of the house through the home gateway, thereby controlling multiple smart lighting devices in each room. Of course, home users can also directly use the home gateway to control the smart control panel in each room. It can increase the diversity of control methods and control and enhance the flexibility of smart lighting devices.

[0039] In a fifth aspect, an embodiment of the present application provides a device interaction system, the device interaction system comprising a first device and a second device; the first device is used to control the second device, and the second device is used to control at least one third device. Among them, the second device is configured to obtain identification information of at least one third device. The second device is also configured to send identification information of at least one third device to the first device. The first device is configured to send a test control instruction; the test control instruction is used to control at least one third device to execute a corresponding test action sequence according to a test order. The first device is also configured to receive an input operation sequence of a user based on the test action sequence for the current installation position of at least one third device, and bind the current installation position of at least one third device with the corresponding identification information of at least one third device according to the input operation sequence.

[0040] Installation and maintenance personnel can automatically obtain the identification information of smart lighting devices through the mobile phone in the device interaction system, and can also input the current installation location of each smart lighting device to control the mobile phone to bind the identification information of each smart lighting device with the current installation location. There is no need for installation and maintenance personnel to operate frequently, which improves installation efficiency and reduces installation time. At the same time, there is no need to set the pattern corresponding to the identification information on the surface of the smart lighting device.

[0041] In a sixth aspect, an embodiment of the present application provides an electronic device, comprising a memory and one or more processors; the memory is coupled to the processor; wherein a computer program code is stored in the memory, and the computer program code comprises computer instructions, and when the computer instructions are executed by the processor, the electronic device executes the device binding method as described in the first aspect, or executes the device binding method as described in the second aspect, or executes the device binding method as described in the third aspect, or executes the device binding method as described in the fourth aspect.

[0042] In the seventh aspect, an embodiment of the present application provides a computer-readable storage medium, in which instructions are stored. When the instructions are executed on a computer, the computer can execute the device binding method as described in the first aspect, or execute the device binding method as described in the second aspect, or execute the device binding method as described in the third aspect, or execute the device binding method as described in the fourth aspect. BRIEF DESCRIPTION OF THE DRAWINGS

[0043] Figure 1 A schematic diagram of the structure of a device interaction system provided in an embodiment of the present application;

[0044] Figure 2 A schematic diagram of the hardware structure of a communication device provided in an embodiment of the present application;

[0045] Figure 3 A schematic diagram of the hardware structure of a mobile phone provided in an embodiment of the present application;

[0046] Figure 4 A schematic diagram of the software structure of a mobile phone provided in an embodiment of the present application;

[0047] Figure 5 A schematic diagram of a device binding process provided in an embodiment of the present application;

[0048] Figure 6 A schematic diagram of a location for installing a smart lighting device provided in an embodiment of the present application;

[0049] Figure 7 A schematic diagram of an interface of an application provided in an embodiment of the present application;

[0050] Figure 8A schematic diagram of a search interface provided in an embodiment of the present application;

[0051] Fig. 9 A schematic diagram of a device interface provided in an embodiment of the present application;

[0052] Fig.10 A schematic diagram of a management interface provided in an embodiment of the present application;

[0053] Fig.11 A schematic diagram of a location for determining the current installation location of an intelligent lighting device provided in an embodiment of the present application;

[0054] Fig.12 A schematic diagram of a binding interface provided in an embodiment of the present application Figure 1 ;

[0055] Fig.13 A schematic diagram of a binding interface provided in an embodiment of the present application Figure 2 ;

[0056] Fig.14 A schematic diagram of the location of a home gateway provided in an embodiment of the present application;

[0057] Fig.15 A schematic diagram of an interface for prompting information provided in an embodiment of the present application;

[0058] Fig.16 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0059] The technical solutions in the embodiments of the present application will be described below in conjunction with the drawings in the embodiments of the present application. Among them, in the description of the present application, unless otherwise specified, " / " indicates that the objects associated before and after are in an "or" relationship, for example, A / B can represent A or B; "and / or" in the present application is only a kind of association relationship describing the associated objects, indicating that there can be three relationships, for example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone, where A and B can be singular or plural. And, in the description of the present application, unless otherwise specified, "multiple" refers to two or more than two. "At least one of the following" or its similar expressions refers to any combination of these items, including any combination of single items or plural items. For example, at least one of a, b, or c can represent: a, b, c, ab, ac, bc, or abc, where a, b, c can be single or multiple. In addition, in order to clearly describe the technical solutions of the embodiments of the present application, in the embodiments of the present application, words such as "first" and "second" are used to distinguish the same or similar items with basically the same functions and effects.

[0060] Those skilled in the art will appreciate that words such as "first" and "second" do not limit the quantity and execution order, and words such as "first" and "second" do not necessarily limit the difference. At the same time, in some embodiments of the present application, words such as "exemplary" or "for example" are used to indicate examples, illustrations or descriptions. Any embodiment or design described as "exemplary" or "for example" in the embodiments of the present application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "exemplary" or "for example" is intended to present related concepts in a concrete way for easy understanding.

[0061] In addition, the network architecture and business scenarios described in the embodiments of the present application are intended to more clearly illustrate the technical solutions of the embodiments of the present application, and do not constitute a limitation on the technical solutions provided in the embodiments of the present application. A person of ordinary skill in the art can appreciate that with the evolution of the network architecture and the emergence of new business scenarios, the technical solutions provided in the embodiments of the present application are equally applicable to similar technical problems.

[0062] As people's quality of life improves and they have higher requirements for material life, more and more people are starting to use smart homes. In this way, before using smart homes, home appliances need to be installed.

[0063] Taking smart lighting equipment as an example, during the installation of smart lighting equipment, each smart lighting equipment needs to be installed at a preset installation location, and the MAC of the smart lighting equipment needs to be bound to the preset installation location. The installation and maintenance personnel can obtain the MAC of the smart lighting equipment by scanning the QR code of the smart lighting equipment with a mobile phone, and then manually bind the smart lighting equipment to the preset installation location through the mobile phone. However, the installation of smart lighting equipment using the above installation method requires the installation and maintenance personnel to perform repeated operations, and the installation process is not only time-consuming but also inefficient.

[0064] The embodiment of the present application provides a device binding method and a device interaction system, and the device interaction system may include a first device (such as a mobile phone used by a user) and a second device (such as a smart panel in a room in a user's home). Among them, the first device is used to control the second device, and the second device is used to control the third device, and the third device is a currently installed device (such as a smart lighting device in the user's room). The method includes: the smart panel can obtain the identification information of at least one smart lighting device, and send the identification information of at least one smart lighting device to the mobile phone. The mobile phone can send a test control instruction. At least one smart lighting device can execute a corresponding test action sequence according to the test control instruction and in a test order. The user can perceive the current installation position of each smart lighting device based on the test action performed by the smart lighting device. In this way, the mobile phone can receive the input operation sequence of the user (installation and maintenance personnel) for the current installation position of at least one smart lighting device based on the test action sequence, and bind the current installation position of at least one smart lighting device with the identification information of the corresponding at least one smart lighting device according to the input operation sequence.

[0065] That is to say, when the method provided in the embodiment of the present application is applied to the scenario of installing and maintaining smart lighting equipment, the installation and maintenance personnel can directly control at least one smart lighting device to perform a test action through a mobile phone. At least one smart lighting device can perform a corresponding test action sequence according to the test order. For example, the smart lighting device includes lamp A, lamp B and lamp C, and the mobile phone controls lamp C, lamp B and lamp A to perform a test action according to the test order of CBA. It is understandable that lamp C, lamp B and lamp A will light up in chronological order. In this way, the first lamp to light up is lamp C, and the current installation position corresponding to lamp C, such as the second position, can be obtained. In this way, the mobile phone can obtain the second position and bind the second position and the identification information corresponding to lamp C, such as MAC.

[0066] Similarly, the second light is lamp B, and the current installation position corresponding to lamp B, such as the first position, can be obtained. In this way, the mobile phone can obtain the first position and bind the first position to the identification information corresponding to lamp B, such as MAC. The last light is lamp A, and the current installation position corresponding to lamp A, such as the third position, can be obtained. In this way, the mobile phone can obtain the third position and bind the third position to the identification information corresponding to lamp A, such as MAC.

[0067] By adopting the method provided in the embodiment of the present application, there is no need to set a pattern corresponding to the identification information on the product surface of the smart lighting device, and the installation and maintenance personnel do not need to manually obtain the identification information of multiple smart lighting devices by scanning, but can directly install multiple smart lighting devices in the preset installation position. Then, the installation and maintenance personnel can automatically obtain the identification information of multiple smart lighting devices through the mobile phone, and can also input the current installation position of each lighting device so that the mobile phone binds the identification information of each smart lighting device to the current installation position. It can avoid a series of repeated operations for each smart lighting device, reduce the time-consuming installation process and improve the installation efficiency. In the related art, the installation and maintenance personnel also need to enter the installation location and the MAC of the corresponding smart lighting device into a table for manual binding, which may cause input errors. However, the embodiment of the present application does not require manual operation by the installation and maintenance personnel, and can improve the accuracy of the installation of smart lighting devices.

[0068] Furthermore, the device interaction system provided in the embodiment of the present application includes a first device and a second device. Of course, the device interaction system may also include a third device. The number of the first device, the second device and the third device may be one or more. In a home scene, there are multiple spatial areas in a family, such as multiple bedrooms, multiple toilets, a kitchen and a living room, etc., and multiple third devices may be stored in each spatial area. In this way, an independent second device can be set in each spatial area, and the mobile phone can control the multiple third devices in each spatial area separately through the second device. Thus, the flexibility of installing smart lighting equipment can be improved. Furthermore, the user experience of the installation and maintenance personnel is improved.

[0069] It is understandable that the above-mentioned installation and maintenance personnel may be staff members in the process of house decoration. Later, when the house is put into use, the home users in the family can also use their own first device to control multiple third devices in each space area through the second device. Thus, the user experience of the home users is improved.

[0070] The device binding method provided in this application can be applied to the device interaction system, see Figure 1 A device interaction system provided in an embodiment of the present application includes at least one first device 101, a second device 102, at least one third device 103 and a fourth device 104.

[0071] The first device 101 can control the second device 102 to implement a management function. That is, the first device 101 can be a terminal device. The first device 101 can control the second device 102 and the third device 103, and the second device 102 can control the third device 103.

[0072] Exemplarily, the terminal device may include but is not limited to mobile phones, tablet computers, laptop computers, ultra-mobile personal computers (UMPCs), netbooks, personal digital assistants (PDAs), wearable devices, artificial intelligence (AI) devices, and the like.

[0073] In some embodiments, the first device 101 may be a fixed device or a portable device. The operating system installed in the first device 101 includes but is not limited to Or other operating systems. This application does not limit the specific type of the first device 101 or the installed operating system.

[0074] In some embodiments, the first device 101 may be a device with a display screen, such as a mobile phone. The installation and maintenance personnel may log in to the management interface of the smart control panel through the mobile phone to manage the smart lighting device.

[0075] The second device 102 may be a dedicated device for managing smart devices using power line communication (PLC) (PLC devices for short), or a device including the function of managing PLC devices, or a dedicated device for managing smart devices using wireless communication connections.

[0076] It should be noted that PLC is a technology that can use power lines to transmit communication data. PLC does not need to deploy additional communication lines and can reuse power lines for communication. According to the layout environment and the connection mode of intelligent devices in the actual industry application scenario, the network topology that can be adopted by the PLC network may include but is not limited to star network topology, tree network topology, etc. Among them, the network topology may include multiple nodes such as central coordinator (CCO), proxy coordinator (PCO), workstation (STA) (or intelligent device), etc. CCO can be responsible for the access of devices at the end position in the PLC network and the reception and transmission of data. Optionally, the communication device at the top of the PLC network can serve as CCO. PCO can serve as a relay station for data forwarding between CCO and STA, or between STA and STA. Optionally, the communication device at the middle position in the PLC network can serve as PCO. STA can be responsible for receiving and sending power line signals. Optionally, the communication device at the end position in the PLC network can serve as STA.

[0077] The second device 102 can be used as a CCO to manage PLC devices, or can be used as a second device (smart control panel) to manage smart devices connected by wireless communication. Exemplarily, taking the whole house smart scene as an example, the second device 102 can be a gateway device, and the main device can include a whole house smart host, a smart control panel, or a smart home device such as a router. In other scenarios, the second device can also be other devices that can manage PLC devices, or devices that manage smart devices connected by wireless communication.

[0078] In some embodiments, the second device 102 may be a device with a display screen, and in other embodiments, the second device 102 may be a device without a display screen. The number of second devices 102 may be one or more. In a scenario where there are multiple second devices 102, any second device 102 may be used as a master device, and the other second devices 102 may be slave devices. For example, one second device 102 is the main smart control panel for the entire home, and each closed room in the home corresponds to one or more second devices 102, i.e., sub-smart control panels.

[0079] That is, the second device 102 may be an edge node device, which may be a node that is a certain distance away from the IoT smart device, provides limited storage, computing, and network resources, and communicates with the cloud server in coordination. For example, the edge node device may include at least one of the following: a whole-house smart host, a smart control panel, a router, and an edge gateway.

[0080] The third device 103 may be a smart device. Exemplarily, the smart device may include but is not limited to a smart home device.

[0081] Among them, smart home devices include, but are not limited to, smart switch panels, lighting system equipment (such as desk lamps, electric lights, etc.), smart sockets and smart sensors. Figure 1 In the figure, at least one third device 103 is shown as a smart lighting device 1021 and a smart switch 1022.

[0082] The operating system installed on the third device 103 includes but is not limited to Or other operating systems. The third device 103 may not be installed with an operating system. In some embodiments, the third device 103 may be a fixed device. This application does not limit the specific type of the third device 103, whether an operating system is installed, and the type of operating system when an operating system is installed.

[0083] In some embodiments, the third device 103 may also include one or more devices using PLC communication, namely, PLC devices, such as but not limited to Figure 1 The smart lighting device 1021, the smart switch 1022, etc. shown in the figure can establish a connection between the second device 102 and the PLC device, or between different PLC devices through the PLC technology.

[0084] In some other embodiments, the third device 103 may also include one or more devices that communicate in other ways, such as but not limited to Figure 1 The smart lighting device 1021, the smart switch 1022, etc. are shown. Exemplarily, other communication methods may include but are not limited to wireless communication methods, etc. The wireless communication methods may include but are not limited to wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), Bluetooth (BT) (for example, traditional Bluetooth or Bluetooth low energy (BLE)), near field communication (NFC), Zigbee, frequency modulation (FM), infrared (IR), etc.

[0085] In some embodiments of the present application, Figure 1The device interaction system shown may also include a fourth device 104, which may be used to manage the second device 102 and assist the first device 101 in controlling the second device 102 to implement management functions. Exemplarily, the fourth device 104 may be a hub device, which includes a home gateway.

[0086] In some examples, in a scenario where there are multiple second devices 102 in a home, for example, the second device 102 is a smart control panel, the home gateway can manage the multiple smart control panels and serve as a hub in the entire home.

[0087] For example, there is a home gateway in the user's home, a smart control panel in each room of the home, and multiple smart lighting devices in each room. In this way, the smart control panel in each room can control multiple smart lighting devices in the room, and the home gateway of the entire home can control multiple smart control panels corresponding to multiple rooms. At the same time, the user can also control the home gateway, smart control panel and smart lighting devices through a mobile phone.

[0088] Of course, in some embodiments, multiple second devices 102 may also be implemented using different devices. For example, one second device 102 is a home gateway for the entire home, and each room in the home corresponds to one or more second devices 102, i.e., smart control panels.

[0089] In some embodiments, the first device 101, the second device 102, the third device 103, and at least two devices in the fourth device 104 can establish connections via wired communication and / or wireless communication, and the embodiments of the present application do not impose specific limitations on this.

[0090] Understandably, Figure 1 This is a simplified schematic diagram for ease of understanding. In actual applications, the above system may also include other devices that are not shown in the figure.

[0091] In some embodiments of the present application, the second device 102 in the embodiment of the present application can be Figure 2 This is achieved by the communication equipment in. Figure 2 The hardware structure diagram of the communication device provided in the embodiment of the present application is shown. The communication device includes at least one processor 201, a communication line 202, a memory 203 and at least one communication interface 204. The memory 203 may also be located in the processor 201.

[0092] The processor 201 may be a general-purpose central processing unit (CPU), a microprocessor, an application-specific integrated circuit (ASIC), or one or more integrated circuits for controlling the execution of the program of the present application.

[0093] In some embodiments of the present application, the processor 201 may be used to implement the management of the PLC device. The communication line 202 may include a path to transmit information between the above components. The communication interface 204 is used to communicate with other devices (such as but not limited to Figure 1 The third device 103, the first device 101 and the fourth device 104, etc.) communicate.

[0094] In the embodiments of the present application, the communication interface may be a module, a circuit, a bus, an interface, a transceiver or other device capable of realizing a communication function, and is used to communicate with other devices. Optionally, when the communication interface is a transceiver, the transceiver may be an independently arranged transmitter, which may be used to send information to other devices, and the transceiver may also be an independently arranged receiver, which may be used to receive information from other devices. The transceiver may also be a component that integrates the functions of sending and receiving information, and the embodiments of the present application do not limit the specific implementation of the transceiver.

[0095] The memory 203 may be a read-only memory or other types of static storage devices that can store static information and instructions, a random access memory or other types of dynamic storage devices that can store information and instructions, or an electrically erasable programmable read-only memory, a read-only optical disk or other optical disk storage, an optical disk storage, a magnetic disk storage medium or other magnetic storage device, or any other medium that can be used to carry or store the desired program code in the form of instructions or data structures and can be accessed by a computer, but is not limited thereto. The memory 203 may exist independently and be connected to the processor via a communication line 202. The memory 203 may also be integrated with the processor. Among them, the memory 203 is used to store execution instructions for implementing the solution of the present application, and the execution is controlled by the processor 201. The processor 201 is used to execute the execution instructions stored in the memory 203, thereby implementing the method provided in the following embodiments of the present application.

[0096] Optionally, the execution instructions in the embodiments of the present application may also be referred to as application code, instructions, programs or other names, which are not specifically limited in the embodiments of the present application.

[0097] In some embodiments of the present application, a white list may be stored in the memory 203, and the white list may include identifications of one or more PLC devices. The second device 102 may manage the PLC devices through the white list.

[0098] In a home scenario, the second device 102 can also search for multiple PLC devices in the closed space where it is located and manage the multiple PLC devices.

[0099] In some embodiments, processor 201 may include one or more CPUs. A communication device may include multiple processors. For example Figure 2 Each of these processors can be a single-CPU processor or a multi-CPU processor. The processor here can refer to one or more devices, circuits and / or processing cores for processing data (such as program instructions).

[0100] The above-mentioned communication device can be a general device or a special device, and the embodiment of the present application does not limit the type of communication device.

[0101] It is to be understood that the structure illustrated in the embodiment of the present application does not constitute a specific limitation on the second device 102. The second device 102 may include more or fewer components than shown in the figure, or combine certain components, or split certain components, or arrange the components differently. The components shown in the figure may be implemented in hardware, software, or a combination of software and hardware. For example, the second device 102 may also be configured with modules such as a display screen and buttons.

[0102] For example, taking the first device 101 as a mobile phone, Figure 3 A schematic diagram of the hardware structure of a mobile phone provided in an embodiment of the present application is shown.

[0103] The mobile phone may include a processor 110, an external memory interface 120, an internal memory 121, a Universal Serial Bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, a sensor module 180, a button 190, a motor 191, an indicator 192, a camera 193, a display screen 194, and a Subscriber Identification Module (SIM) card interface 195, etc.

[0104] Among them, the sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L and a bone conduction sensor 180M, etc.

[0105] It is to be understood that the structure illustrated in the embodiments of the present application does not constitute a specific limitation on the mobile phone. In other embodiments of the present application, the mobile phone may include more or fewer components than shown in the figure, or combine certain components, or split certain components, or arrange the components differently. The components shown in the figure may be implemented in hardware, software, or a combination of software and hardware.

[0106] The processor 110 may include one or more processing units, for example, the processor 110 may include an application processor (AP), a modem processor, a graphics processor (GPU), an image signal processor (ISP), a controller, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU), etc. Different processing units may be independent devices or integrated into one or more processors.

[0107] The processor can generate operation control signals based on instruction opcodes and timing signals to complete the control of instruction fetching and execution.

[0108] The processor 110 may also be provided with a memory for storing instructions and data. In some embodiments of the present application, the memory in the processor 110 may be a cache memory (CACHE). The memory may store instructions or data that have been used or are frequently used by the processor 110. If the processor 110 needs to use the instruction or data, it may be directly called from the memory. This avoids repeated access, reduces the waiting time of the processor 110, and thus improves the efficiency of the system.

[0109] In some embodiments of the present application, the memory also stores other data in addition to the computer program. The other data may include data generated after the operating system or application is run, and the data includes system data (such as configuration parameters of the operating system) and user data. For example, the data cached by the application opened by the user is typical user data. The memory generally includes internal memory and external memory. The internal memory may be a random access memory (RAM), a read-only memory (ROM), and a CACHE, etc. The external memory may include a solid state drive (Solid State Disk or Solid State Drive, SSD), a universal flash storage (Universal Flash Storage, UFS), a hybrid hard drive (HHD), a disk, a floppy disk, an optical disk, a USB flash drive, and a multimedia card, etc.

[0110] It is understandable that the connection relationship between the modules illustrated in the embodiments of the present application is only a schematic illustration and does not constitute a structural limitation on the mobile phone. In other embodiments of the present application, the mobile phone may also adopt different interface connection methods in the above embodiments, or a combination of multiple interface connection methods.

[0111] In some embodiments of the present application, the antenna 1 of the mobile phone is coupled to the mobile communication module 150, and the antenna 2 is coupled to the wireless communication module 160, so that the mobile phone can communicate with the network and other mobile phones through wireless communication technology. The wireless communication technology may include Global System For Mobile Communications (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Time-Division Code Division Multiple Access (TD-SCDMA), Long Term Evolution (LTE), BT, GNSS, WLAN, NFC, FM, and / or IR technology. The GNSS may include a Global Positioning System (GPS), a Global Navigation Satellite System (GLONASS), a BeiDou Navigation Satellite System (BDS), a Quasi-Zenith Satellite System (QZSS) and / or a Satellite Based Augmentation System (SBAS).

[0112] The mobile phone can realize the display function through a GPU, a display screen 194, and an application processor. The GPU is a microprocessor for image processing, which connects the display screen 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The processor 110 may include one or more GPUs, which execute program instructions to generate or change display information.

[0113] The display screen 194 is used to display files, images, videos, etc. The display screen 194 includes a display panel. In some embodiments of the present application, the mobile phone may include one or more display screens 194. The user may open the application installed in the mobile phone through the display screen 194. For example, the mobile phone may have an installation and maintenance application corresponding to the installation of home appliances installed. In response to the user's opening action of the installation and maintenance application, the mobile phone controls the display screen 197 to display the target interface corresponding to the installation and maintenance application.

[0114] The software system of the mobile phone can adopt a layered architecture, an event-driven architecture, a micro-core architecture, a micro-service architecture, or a cloud architecture. The embodiment of the present application takes the Android system of the layered architecture as an example to illustrate the software structure of the mobile phone.

[0115] Figure 4 It is a software structure block diagram of the mobile phone of the embodiment of the present application.

[0116] The layered architecture divides the software into several layers, each with clear roles and division of labor. The layers communicate with each other through software interfaces. In some embodiments of the present application, the Android system is divided into four layers, from top to bottom, namely, the application layer, the application framework layer, the Android runtime (Android runtime), the system library, and the kernel layer.

[0117] The application layer can include a series of application packages.

[0118] like Figure 4 As shown, the application package may include camera, gallery, calendar, call, map, navigation, WLAN, Bluetooth, music, video, short message and other applications.

[0119] The application framework layer provides an application programming interface (API) and a programming framework for the applications in the application layer. The application framework layer includes some predefined functions.

[0120] like Figure 4 As shown, the application framework layer may include a window manager, a content provider, a view system, a phone manager, a resource manager, a notification manager, and the like.

[0121] The window manager is used to manage window programs. The window manager can obtain the display screen size, determine whether there is a status bar, lock the screen, capture the screen, etc.

[0122] Content providers are used to store and retrieve data and make it accessible to applications. The data may include videos, images, audio, calls made and received, browsing history and bookmarks, phone books, etc.

[0123] The view system includes visual controls, such as controls for displaying text, controls for displaying images, etc. The view system can be used to build applications. A display interface can be composed of one or more views. For example, a display interface including a text notification icon can include a view for displaying text and a view for displaying images.

[0124] The phone manager is used to provide communication functions for electronic devices, such as the management of call status (including answering, hanging up, etc.).

[0125] The resource manager provides various resources for applications, such as localized strings, icons, images, layout files, video files, and so on.

[0126] The notification manager enables applications to display notification information in the status bar. It can be used to convey notification-type messages and can disappear automatically after a short stay without user interaction. For example, the notification manager is used to notify download completion, message reminders, etc. The notification manager can also be a notification that appears in the system top status bar in the form of a chart or scroll bar text, such as notifications of applications running in the background, or a notification that appears on the screen in the form of a dialog window. For example, a text message is displayed in the status bar, a prompt sound is emitted, an electronic device vibrates, an indicator light flashes, etc.

[0127] Android Runtime includes core libraries and virtual machines. Android Runtime is responsible for scheduling and management of the Android system.

[0128] The core library consists of two parts: one is the function that needs to be called by the Java language, and the other is the core library of the Android system.

[0129] The application layer and the application framework layer run in a virtual machine. The virtual machine executes the Java files of the application layer and the application framework layer as binary files. The virtual machine is used to perform functions such as object life cycle management, stack management, thread management, security and exception management, and garbage collection.

[0130] The system library can include surface manager, 3D image processing library, 2D graphics engine and media library, etc. The kernel layer is the layer between hardware and software. The kernel layer contains at least display driver, camera driver, audio driver and sensor driver.

[0131] For example, the above only uses a mobile phone as an example to illustrate the structure of the first device 101 in the embodiment of the present application, but does not constitute a limitation on the structure and form of the first device 101. The embodiment of the present application does not limit the structure and form of the first device 101. For example, the structure of the first device 101 may also be such as Figure 2 The communication device is in the form shown, but the present application is not limited thereto.

[0132] In some other embodiments of the present application, the first device 101 may include Figure 3 More or fewer components shown, or some components are combined, or some components are split, or some components are replaced, or different component arrangements are arranged. The components shown in the figure can be implemented in hardware, software, or a combination of software and hardware.

[0133] In some examples, the structures of the third device 103 and the fourth device 104 may refer to the implementation of the second device 102 and / or the first device 101. Optionally, the third device 103 and the fourth device 104 may include Figure 2 The communication device shown, and / or Figure 3 The first device 101 shown has more or fewer components, or combines some components, or splits some components, or replaces some components, or arranges components differently. The components shown in the figure can be implemented in hardware, software, or a combination of software and hardware.

[0134] The device interaction system provided in the embodiment of the present application includes but is not limited to information interaction between the above-mentioned devices, and can also be information interaction between one device and multiple devices. Those skilled in the art can determine the type and quantity of the devices according to actual needs, and these designs do not exceed the protection scope of the embodiments of the present application.

[0135] The technical solutions involved in the following embodiments can all be implemented in Figure 2 , Figure 3 and Figure 4 The device of the structure shown, and Figure 1 The system is implemented in the system with the architecture shown.

[0136] The technical solution provided in the embodiment of the present application can be applied to the scene of installing and maintaining the second device. For example, taking the second device as a smart lighting device, the technical solution provided in the embodiment of the present application includes but is not limited to the scene of installing and maintaining smart lighting devices in various scenes such as the whole house smart scene, smart street light scene, and smart traffic light control scene.

[0137] The following embodiments will be combined with the accompanying drawings, and continue to describe the device binding method provided in the embodiment of the present application with the first device 101 as a mobile phone, the second device 102 as a smart control panel, the third device 103 as a smart lighting device, and the fourth device 104 as a home gateway. Among them, the whole house smart host, smart lighting device, and / or mobile phone can perform some or all of the steps in the embodiment of the present application. These steps or operations are only examples. The embodiment of the present application can also perform other operations or variations of various operations. In addition, the various steps can be performed in different orders presented in the embodiment of the present application, and it is possible that not all operations in the embodiment of the present application need to be performed.

[0138] See also Figure 5 , the method may include:

[0139] S501: The intelligent control panel obtains identification information of at least one intelligent lighting device.

[0140] When the method provided in the present application is applied to the scene of installing and maintaining intelligent lighting equipment, the installation and maintenance personnel can install at least one intelligent lighting equipment in a preset installation position in advance. Figure 6 , 5 smart lighting devices need to be installed in 5 locations on the top of the first bedroom. During the installation of the smart lighting devices, the installation and maintenance personnel can directly randomly pick up 5 smart lighting devices and install them in 5 locations on the top of the first bedroom. It is understandable that each smart lighting device is indistinguishable in appearance. The installation and maintenance personnel do not know which smart lighting device is lamp A or lamp C, and there is no need to manually determine which smart lighting device is lamp A or lamp C. They only need to install the 5 smart lighting devices in the preset 5 locations. In this way, the installation and maintenance personnel only install the smart lighting devices in position, and there is no need to perform frequent manual binding processes.

[0141] It should be noted that the binding process of the smart lighting device is the process of binding the identification information of the smart lighting device with its installation location. In addition, the preset installation location corresponding to the smart lighting device can be a preset installation location specifically set in the floor plan, or a preset installation location customized by the user, which is not limited in the embodiments of the present application.

[0142] In some embodiments of the present application, the mobile phone may receive a user operation to control the smart control panel to obtain identification information of at least one smart lighting device, wherein the user operation may be used to search for at least one smart lighting device controlled by the smart control panel.

[0143] Taking the smart home scene as an example, there are multiple spatial areas in a family. For example, the first bedroom is equipped with smart control panel A, lamp A, lamp B and lamp C. Users can search for lamp A, lamp B and lamp C through the mobile phone to control smart control panel A, and manage lamp A, lamp B and lamp C. The second bedroom is equipped with smart control panel B, lamp E, lamp F and lamp G. Users can also search for lamp E, lamp F and lamp G through the mobile phone to control smart control panel B, and manage lamp E, lamp F and lamp G; the living room is equipped with smart control panel C, lamp H, lamp I and lamp J. Users can search for lamp H, lamp I and lamp J through the mobile phone to control smart control panel C, and manage lamp H, lamp I and lamp J.

[0144] That is to say, after the installation and maintenance personnel install the smart lighting equipment according to the preset installation location, they can then automatically obtain the identification information and binding process of the smart lighting equipment through the mobile phone.

[0145] In some embodiments of the present application, a PLC connection may be established between the smart control panel and at least one smart lighting device. Of course, a wireless communication connection may also be established between the smart control panel and at least one smart lighting device, such as a wireless fidelity network connection and a Bluetooth communication connection. The embodiments of the present application do not limit the connection method of the wireless communication connection between the smart control panel and at least one smart lighting device.

[0146] In some embodiments, when a PLC connection is established between the smart control panel and at least one smart lighting device, an application (such as an installation and maintenance application) for implementing the management function of the smart control panel for the PLC device can be installed on the mobile phone. The mobile phone can implement the management function of the smart control panel for the PLC device through the application.

[0147] In other embodiments, when a wireless communication connection is established between the smart control panel and at least one smart lighting device, the mobile phone can be installed with the above-mentioned maintenance application for realizing the management function of the smart control panel on the smart device, and the mobile phone can realize the management function of the smart control panel on the smart device through the application.

[0148] It should be noted that the embodiments of the present application do not specifically limit the types of the above-mentioned installed applications.

[0149] In some embodiments, after the mobile phone accesses a local area network (such as but not limited to a local area network provided by a router, etc.), it can find a smart control panel that is in the same local area network and / or logged in to the same account (such as a Huawei account, etc.). Exemplarily, the account is used to represent the account of the smart control panel management system that the mobile phone logs in to during the server registration process, for example: the account can be the account of the installation and maintenance application registered by the installation and maintenance personnel.

[0150] In some examples, such as Figure 7 As shown in (A), the mobile phone can display the home screen interface (or desktop), which includes one or more application icons, such as a shopping application icon, a setting application icon, etc., which are not illustrated one by one here. The icons of different applications can be used to open the running interface of the corresponding application and implement the functions of the corresponding application. The one or more application icons include the installation and maintenance application icon 701.

[0151] If the mobile phone detects that the maintenance personnel clicks the icon 701 of the maintenance application, in response to the click operation, such as Figure 7As shown in (B) in the figure, the mobile phone displays the application interface 702 of the installation and maintenance application. The application interface 702 of the installation and maintenance application includes an add control 703, which can be used to add home devices such as smart control panels and smart lighting devices. Optionally, the add control 703 can also be used to implement functions such as scanning, by scanning the identification code of the home device through the scanning function, thereby realizing the addition of the device. Optionally, one or more add device cards can also be displayed in the application interface 702 of the installation and maintenance application, which can also be used to add one or more home devices.

[0152] In some embodiments, the installation and maintenance personnel can add multiple devices to each space area in the home. Figure 7 As shown in (B) in FIG. 7 , the application interface 702 of the installation and maintenance application may also include a first bedroom control 704, a second bedroom control 705, and a living room control 706. After the installation and maintenance personnel click on the first bedroom control 704, the mobile phone is triggered to enter the bedroom interface 707 corresponding to the first bedroom control 704, and then add a device through the add device card in the bedroom interface 707. In this way, when the mobile phone detects that the installation and maintenance personnel clicks on the add device card in the bedroom interface 707, the device in the first bedroom is added in response to the click operation.

[0153] For example, the installer can add a smart control panel for the first bedroom, a smart control panel for the second bedroom, and a smart control panel for the living room.

[0154] For example, the installation and maintenance personnel adds the smart control panel of the first bedroom by adding a device card. The mobile phone detects the installation and maintenance personnel's click operation on the first bedroom control 704. In response to the click operation, Figure 7 As shown in (C) in FIG. 7 , the mobile phone displays the bedroom interface 707. The bedroom interface 707 includes an add device card, which can be used to add the smart control panel of the first bedroom. The mobile phone detects that the installation and maintenance personnel clicks on the add device card and determines that the installation and maintenance personnel need to add the smart control panel to the installation and maintenance application. In response to the click operation, Figure 7 In the add device interface 708 shown in (D) in FIG. 1 , the mobile phone may display the logo of the smart control panel located near the first bedroom. It can be understood that Figure 7 The add device interface 708 shown in (D) in FIG. 7 only shows the logo of one smart control panel. In actual applications, there may be multiple logos of smart control panels.

[0155] In some examples, this can be done by Figure 7The connection button 709 shown in (D) in the figure adds the smart control panel corresponding to the first bedroom to the installation and maintenance application. Of course, in other examples, the mobile phone can also add one or more searched smart control panels to the installation and maintenance application through other adding operations. The mobile phone can also add one or more smart control panels in each space area to the installation and maintenance application through other adding operations. The embodiment of the present application does not specifically limit the type of the adding operation.

[0156] In some examples of this application, the mobile phone detects the installation and maintenance personnel Figure 7 Click the Add Device card shown in (C) in the figure, and Figure 7 Before adding the device interface 708 shown in (D) in the figure, since it may take a while for the mobile phone to search for the device, the mobile phone may also display the process of searching for the device first. Figure 8 As shown, the mobile phone may also display a search device interface 800 to remind the installation and maintenance personnel that they are searching for devices such as smart control panels.

[0157] It is understandable that the above is only an example of how to add one or more smart control panels to the installation and maintenance application. In actual applications, one or more smart control panels can also be added to the installation and maintenance application in other ways. For example, it can also be added by touching, Bluetooth pairing, etc. This application does not specifically limit the way to add one or more smart control panels to the installation and maintenance application.

[0158] In some embodiments of the present application, after adding one or more smart control panels to the installation and maintenance application, the mobile phone may present the following Fig. 9 The device interface 900 shown in (A) in FIG. Among them, one or more smart control panels ( Fig. 9 (A) in FIG. 1 shows only one display control (or card, etc.), such as display control 901. Installation and maintenance personnel can open one or more management interfaces of the intelligent control panels through the display control of the intelligent control panel to manage the intelligent lighting device.

[0159] like Fig. 9 As shown in (A) in FIG. 1 , the mobile phone detects that the installation and maintenance personnel clicks the display control 901 of the intelligent control panel. The mobile phone responds to the operation, such as Fig. 9 As shown in (B) in FIG. 1 , the mobile phone displays a management interface 902 of the smart control panel. The management interface 902 includes a setting button 903, through which the installation and maintenance personnel can search and add the smart lighting device in the first bedroom.

[0160] For example, the mobile phone detects that the installation and maintenance personnel clicks the setting button 903, and the mobile phone responds to the operation, such as Fig. 9 As shown in (C) in FIG. 1 , the mobile phone may also display a menu interface 904. The menu interface 904 includes an add device control, which may be used to add the smart lighting device in the first bedroom to the control list of the smart control panel.

[0161] In some examples, the mobile phone detects a click operation by the installation and maintenance personnel to add a device control, and in response to the operation, the mobile phone controls the smart control panel to search for smart lighting devices in the first bedroom.

[0162] For example, the mobile phone can send instruction information to the intelligent control panel in response to the click operation of the installation and maintenance personnel. Accordingly, the intelligent control panel receives the instruction information from the mobile phone. The instruction information can be used to instruct the intelligent control panel to search for devices. The intelligent control panel will execute the device search process according to the instruction information.

[0163] In some embodiments of the present application, the smart control panel may search in two ways during the process of searching for the smart lighting device in the first bedroom.

[0164] When the smart control panel establishes a power line communication connection with at least one smart lighting device, the smart control panel may send a first transmission signal with a preset frequency. Then, the smart control panel may obtain identification information of at least one smart lighting device according to at least one smart lighting device responding to the first transmission signal.

[0165] Exemplarily, after the smart control panel sends out a first transmission signal with a preset frequency, at least one smart lighting device can receive the first transmission signal and send out a response transmission signal with a preset frequency according to the received first transmission signal, and each response transmission signal can carry the identification information of the corresponding smart lighting device. In this way, the smart control panel can obtain the identification information of at least one smart lighting device according to the at least one smart lighting device that responds to the first transmission signal. Then, the smart control panel completes the process of searching for the smart lighting device in the first bedroom.

[0166] In some examples, the preset frequency may include 50kHz, 60kHz, 70kHz, 80kHz, 90kHz, and 100kHz. The first transmission signal may be a signal converted from a control instruction after being encoded in a related encoding method. Specifically, the control instruction may be encoded in a return-to-zero code, a non-return-to-zero code, and a reverse non-return-to-zero code, and then converted into a signal. In other words, the intelligent control panel in each regional space may send out a first transmission signal with a preset frequency to search for intelligent lighting devices in the regional space, and the preset frequency at which the intelligent control panel in each regional space can send out the first transmission signal is different.

[0167] For example, the smart control panel in the first bedroom may send out a first transmission signal with 60 kHz. For another example, the smart control panel in the second bedroom may send out a first transmission signal with 70 kHz. For another example, the smart control panel in the living room may send out a first transmission signal with 90 kHz.

[0168] In this way, at least one intelligent lighting device can receive the above-mentioned first transmission signal, and send out a response transmission signal with the same preset frequency according to the received first transmission signal. Similarly, the preset frequency may also include 50kHz, 60kHz, 70kHz, 80kHz, 90kHz and 100kHz, etc. The response transmission signal may be a signal converted after the response instruction is encoded by a relevant encoding method. For example, it may be a signal converted after the identification information of the intelligent lighting device is encoded. In other words, the intelligent control panel in each regional space may send out a first transmission signal with a preset frequency, and the intelligent lighting device in the regional space may also send out a response transmission signal with a preset frequency. It should be noted that the preset frequencies corresponding to the first transmission signal sent by the intelligent control panel and the response sent by the intelligent lighting device in the same regional space are the same, and the embodiment of the present application does not limit the specific value of the preset frequency.

[0169] In some embodiments of the present application, in order to enable the intelligent control panel in each regional space to search for the intelligent lighting devices in its own regional space, the installation and maintenance personnel can pre-set the communication characteristics for the intelligent control panel and at least one intelligent lighting device in each regional space, such as the preset frequency of the transmission signal. In other words, the installation and maintenance personnel can set the intelligent control panel and at least one intelligent lighting device in one regional space to send out a transmission signal with the same preset frequency. In addition, the intelligent control panel and at least one intelligent lighting device in different regional spaces can send out transmission signals with different preset frequencies.

[0170] In some examples, before the smart control panel obtains the identification information of at least one smart lighting device, the smart control panel may send a second transmission signal having a preset frequency, and obtain the distance between the smart control panel and at least one communication device that responds to the second transmission signal. The smart control panel may also determine at least one communication device at a preset distance as at least one smart lighting device, and set the frequency of the transmission signal corresponding to the at least one smart lighting device to the preset frequency.

[0171] That is to say, the embodiments of the present application can pre-set the communication characteristics for the smart control panel and the smart lighting device in a regional space. For example, the smart control panel in the first bedroom can emit a first transmission signal with 60kHz, and the smart lighting device in the first bedroom can emit a response transmission signal with 60kHz. In this way, when the smart control panel is subsequently searching for smart lighting devices in the first bedroom, the smart lighting devices in the first bedroom can respond to the first transmission signal emitted by the smart control panel in the first bedroom. For another example, the smart control panel in the second bedroom can emit a first transmission signal with 70kHz, and the smart lighting device in the second bedroom can emit a response transmission signal with 70kHz. For another example, the smart control panel in the living room can emit a first transmission signal with 90kHz, and the smart lighting device in the living room can emit a response transmission signal with 90kHz.

[0172] In some embodiments of the present application, the intelligent control panel needs to pre-divide the space area and set the intelligent lighting device in the current space area. The intelligent control panel can send a second transmission signal with a preset frequency and obtain the distance between at least one communication device that responds to the second transmission signal.

[0173] It is understandable that after the intelligent control panel sends out the second transmission signal with 60kHz, multiple communication devices can send out corresponding response transmission signals, such as response transmission signals of 70kHz, 75kHz, 80kHz and 85kHz. Multiple communication devices can be in the current regional space or in other regional spaces. In this way, the intelligent control panel can divide the current regional space according to the distances obtained from multiple communication devices.

[0174] The intelligent control panel can obtain the distance between itself and multiple communication devices, and determine at least one communication device within a preset distance as at least one intelligent lighting device. That is to say, the intelligent control panel can divide multiple communication devices within a preset distance into intelligent lighting devices in the current area space. Exemplarily, the intelligent control panel in the first bedroom obtains the response transmission signals and corresponding distances of multiple communication devices, and can determine the communication devices within a distance of 8 meters as intelligent lighting devices in the first bedroom. It should be noted that the preset distance can be 8 meters, 9 meters, 10 meters, 15 meters, 20 meters, 30 meters, 50 meters, etc. The embodiment of the present application does not limit the specific numerical value corresponding to the preset distance.

[0175] Then, the smart control panel can set the frequency of the transmission signal corresponding to at least one smart lighting device to the preset frequency. For example, the smart control panel in the first bedroom sets the transmission signal frequency corresponding to the smart lighting devices within 8 meters to the same preset frequency. In this way, the smart control panel in the first bedroom can subsequently search for smart lighting devices in the same area through the corresponding communication characteristics.

[0176] It should be noted that the intelligent control panel in each of the above-mentioned regional spaces can be connected to at least one intelligent lighting device through a power line to achieve communication. In addition, the communication characteristics between the intelligent control panel in each regional space and at least one intelligent lighting device, such as the preset frequency, can be pre-set. At least one intelligent lighting device can receive the first transmission signal sent by the intelligent control panel and decode the first transmission signal. Decoding can be an operation of restoring the signal to data, and decoding is performed according to the selected encoding method. For example, in the encoding process, the return-to-zero code is selected to be used, and the rules of the return-to-zero code should also be used for decoding. Similarly, the intelligent control panel can also be decoded according to the selected encoding method. The embodiment of the present application does not specifically limit the communication process between the intelligent control panel and at least one intelligent lighting device.

[0177] A PLC connection can be established between the above-mentioned smart control panel and at least one smart lighting device. In the scenario of using PLC communication, the smart control panel does not need to search for smart lighting devices by distance, direction, signal energy, etc. The search method is more convenient and can avoid the influence of surrounding environmental factors (such as electromagnetic interference, etc.) on communication, thereby improving the efficiency of installation and maintenance.

[0178] In some embodiments of the present application, not only a power line communication connection but also a wireless communication connection can be established between the smart control panel and at least one smart lighting device. The smart control panel can search for at least one smart lighting device in the regional space by distance via Bluetooth or WiFi. It should be noted that the embodiments of the present application do not limit the communication connection method between the smart control panel and at least one smart lighting device.

[0179] It can be understood that the above only illustrates a series of operations performed by the installation and maintenance personnel in the embodiment of the present application. In actual applications, the operation may also be other voice operations, button operations, gesture operations, etc., and the embodiment of the present application does not impose specific restrictions on this.

[0180] In addition, the above example uses a mobile phone receiving a user operation. In other embodiments, the user operation may also be received by other devices, such as a smart control panel, or other devices other than a mobile phone or a smart control panel. For the implementation of other devices receiving user operations, reference may be made to the relevant implementation of a mobile phone receiving user operations. Of course, when the smart control panel receives the user operation, the smart control panel may directly search for at least one smart lighting device according to the user operation.

[0181] S502: The intelligent control panel sends identification information of at least one intelligent lighting device to a mobile phone.

[0182] In some embodiments of the present application, after searching for at least one smart lighting device, the smart control panel may send identification information of at least one smart lighting device to the mobile phone. The mobile phone may also include cards of one or more smart lighting devices of the smart control panel in the management interface 902. The one or more smart lighting devices may include, but are not limited to, PLC devices, and may also use smart devices that use other communication methods other than PLC technology. Of course, the smart control panel may also search for other types of devices (such as smart switches, smart speakers, and smart humidifiers, etc.) in addition to smart lighting devices.

[0183] The card of the smart lighting device can display one or more information including the name of the smart lighting device, online status (such as online or offline), installation location (such as master bedroom, kitchen, living room, second bedroom, balcony, etc.), whether the MAC address is obtained, whether it is connected to the PLC network managed by the smart control panel, and which PLC network managed by the smart control panel it has been connected to. For example: If "loop one" is displayed in the card of the smart lighting device, it means that the smart lighting device has been connected to the PLC network named "loop one". If "loop two" is displayed in the card of the smart lighting device, it means that the smart lighting device has been connected to the PLC network named "loop two". If no loop information is displayed in the smart lighting device, it means that the smart lighting device is not connected to any PLC network.

[0184] For example, see Fig.10 In (A), the mobile phone can display in the management interface 902: the first device control is the first bedroom lamp A, online, MAC obtained, loop one; the second device control is the first bedroom lamp C, online, MAC obtained, loop one; the third device control is the first bedroom lamp B, online, MAC obtained, loop one; the fourth device control is the first bedroom lamp E, online, MAC obtained, loop one; the fifth device control is the first bedroom lamp D, online, MAC obtained, loop one.

[0185] In some embodiments of the present application, the identification information of the smart lighting device may include but is not limited to a media access control (MAC) address or other information that can uniquely identify the smart lighting device, such as an Internet Protocol (IP) address, or with the evolution of future communication protocols, the identification information of the smart lighting device may also be other information.

[0186] S503: The mobile phone sends a test control instruction.

[0187] S504: At least one intelligent lighting device executes a corresponding test action sequence according to the test control instruction and the test order.

[0188] In order to subsequently bind the identification information of the smart lighting device to its corresponding installation location, the installation and maintenance personnel need to confirm the current installation location corresponding to each smart lighting device after installing the smart lighting device in the preset installation location. Continuing with the example of 5 smart lighting devices that need to be installed in 5 locations on the top of the first bedroom, that is to say, the installation and maintenance personnel only installed the 5 smart lighting devices in the 5 preset locations. The mobile phone also only obtained the identification information of the 5 smart lighting devices. In this way, the mobile phone also needs to obtain the specific locations where the 5 smart lighting devices are currently installed in order to bind the specific locations of the current installation with the identification information of the smart lighting devices.

[0189] In some embodiments of the present application, installation and maintenance personnel can control at least one smart lighting device through a mobile phone to perform a test action, thereby obtaining the specific location where each smart lighting device is currently installed.

[0190] In the process of controlling at least one smart lighting device to perform a test action by a mobile phone, specifically, the mobile phone can send a test control instruction. Specifically, the mobile phone can send the test control instruction to at least one smart lighting device via the smart control panel. The test control instruction is used to control at least one smart lighting device to perform a corresponding test action sequence according to a test order. Then, after receiving the test control instruction, at least one smart lighting device can perform a corresponding test action sequence according to the test order according to the test control instruction.

[0191] For example, Fig.10 As shown in (A) in FIG. 1 , the mobile phone can detect a first trigger operation of the installation and maintenance personnel on the device control, such as a long press operation on the first device control. In response to the first trigger operation, the mobile phone displays Fig.10In the first interface 1001 shown in (B), each device control in the first interface 1001 corresponds to a check box. That is, the device control enters a multi-select state. The user can select multiple device controls, and the check boxes corresponding to the selected device controls are in a selected state.

[0192] Afterwards, see Fig.10 In (B), the first interface 1001 may also include a control control and a cancel control. After the installation and maintenance personnel select multiple devices, they may perform a second trigger operation on the control control to control at least one smart lighting device to perform a test action. The mobile phone may detect the second trigger operation of the control control by the installation and maintenance personnel, and send a test control instruction to at least one smart lighting device via the smart control panel.

[0193] Exemplarily, after the installation and maintenance personnel select all the first device control, the second device control, the third device control, the fourth device control and the fifth device control and click the control control, the mobile phone can send a test control instruction to the above five smart lighting devices (light A, light C, light B, light E and light D) via the smart control panel. The test control instruction is used to instruct the five smart lighting devices to perform the corresponding test action sequence according to the test order. Among them, the test order may include the position order corresponding to the device controls and the order in which the installation and maintenance personnel select the corresponding device controls. For example, the position order corresponding to the device controls is the first device control-the second device control-the third device control-the fourth device control-the fifth device control, then the execution test action order of the five smart lighting devices is light A-light C-light B-light E-light D. For another example, the installation and maintenance personnel select the corresponding order of the device controls as the first device control-the third device control-the second device control-the fifth device control-the fourth device control, then the execution test action order of the five smart lighting devices is light A-light B-light C-light D-light E.

[0194] In some embodiments of the present application, the test control instruction can also be used to control at least one intelligent lighting device to perform corresponding test actions according to the test sequence and time interval. After receiving the test control instruction, at least one intelligent lighting device can perform corresponding test actions such as performing light-emitting actions according to the test sequence and time interval.

[0195] Exemplarily, the test sequence is lamp A-lamp C-lamp B-lamp E-lamp D, with a time interval of 10 seconds. In this way, lamp A can perform the light-emitting action first. Then, lamp C performs the light-emitting action 10 seconds later. Then, lamp B performs the light-emitting action 10 seconds later. Every 10 seconds, lamps E and D perform the light-emitting action. In this way, the installation and maintenance personnel control at least one smart lighting device to perform the test action through a mobile phone, and based on the predicted execution order of at least one smart lighting device, the specific location of each smart lighting device currently installed can be obtained by checking the location corresponding to the light-emitting action.

[0196] S505. The mobile phone receives an input operation sequence of the installation and maintenance personnel for the current installation position of at least one intelligent lighting device based on the test action, and binds the current installation position of the at least one intelligent lighting device with the identification information of the corresponding at least one intelligent lighting device according to the input operation sequence.

[0197] Based on the above, the installation and maintenance personnel can control at least one smart lighting device through a mobile phone to perform a test action and obtain the specific location where each smart lighting device is currently installed.

[0198] See also Fig.11 , in the process of obtaining the specific location where each smart lighting device is currently installed, the installation and maintenance personnel pre-installed 5 smart lighting devices at 5 locations (first location, second location, third location, fourth location and fifth location) on the top of the first bedroom. Therefore, when the 5 smart lighting devices perform the lighting action in the test sequence (lamp A-lamp C-lamp B-lamp E-lamp D), if the third location lights up, it can be determined that the smart lighting device corresponding to the third location is lamp A. Then, if the second location lights up, it can be determined that the smart lighting device corresponding to the second location is lamp C. Then, if the first location lights up, it can be determined that the smart lighting device corresponding to the first location is lamp B. Then, if the fourth location lights up, it can be determined that the smart lighting device corresponding to the fourth location is lamp E. Finally, if the fifth location lights up, it can be determined that the smart lighting device corresponding to the fifth location is lamp D.

[0199] In some embodiments of the present application, after detecting the second trigger operation performed by the installation and maintenance personnel on the control control, the mobile phone triggers the display of the second interface. The second interface may include a preset installation position corresponding to at least one smart lighting device. In addition, in the process of receiving and binding the input operation sequence of the installation and maintenance personnel for the current installation position of at least one smart lighting device based on the test action, the mobile phone may receive the selected operation sequence of the installation and maintenance personnel for the preset installation position to determine the current installation position of each smart lighting device. Then, the current installation position of at least one smart lighting device is bound to the identification information of the corresponding at least one smart lighting device.

[0200] For example, see Fig.12 In (A), the binding interface 1201 may include a first display area 1202. The first display area 1202 is used to display the preset installation position corresponding to at least one smart lighting device. For example, when the current space area is the first bedroom, the preset installation position corresponding to the at least one smart lighting device may be an installation position diagram (first position, second position, third position, fourth position, and fifth position) corresponding to the first bedroom.

[0201] In this way, if the third position emits light, it can be determined that the smart lighting device corresponding to the third position is lamp A, and the installation and maintenance personnel can click on the corresponding third position in the first display area 1202. The mobile phone can detect the installation and maintenance personnel's click operation on the third position and determine that the current installation position corresponding to lamp A is the third position. Then, if the second position emits light, it can be determined that the smart lighting device corresponding to the second position is lamp C. The installation and maintenance personnel can continue to click on the corresponding second position in the first display area 1202. The mobile phone can detect the installation and maintenance personnel's click operation on the second position and determine that the current installation position corresponding to lamp C is the second position. The mobile phone determines the current installation positions corresponding to lamps B, E, and D in the same way as above, which will not be repeated here.

[0202] In some other embodiments of the present application, the second interface may also include at least one preset installation position corresponding to the smart lighting device and at least one device control corresponding to the smart lighting device. Similarly, after the installation and maintenance personnel perceive the current installation position of each smart lighting device according to the test action performed by at least one smart lighting device, they can perform an input operation sequence for the current installation position of each smart lighting device. After obtaining the current installation position of each smart lighting device, the mobile phone binds the current installation position with the identification information of the smart lighting device corresponding to the current installation position.

[0203] For example, see Fig.12 In (B), the binding interface 1201 may include the above-mentioned first display area 1202 and the second display area 1203. The second display area 1203 is used to display the device control corresponding to at least one smart lighting device. For example, the first device control is the living room lamp A, which is online, the MAC address has been obtained, and the loop is one; the second device control is the living room lamp C, which is online, the MAC address has been obtained, and the loop is one; the third device control is the living room lamp B, which is online, the MAC address has been obtained, and the loop is one; the fourth device control is the living room lamp E, which is online, the MAC address has been obtained, and the loop is one; the fifth device control is the living room lamp D, which is online, the MAC address has been obtained, and the loop is one.

[0204] Similarly, if the third position emits light, it can be determined that the smart lighting device corresponding to the third position is lamp A, and the installation and maintenance personnel can click on the corresponding third position in the first display area 1202. The mobile phone can detect the installation and maintenance personnel's click operation on the third position and determine that the current installation position corresponding to lamp A is the third position. The mobile phone determines the current installation positions corresponding to lamps A, B, E, and D as described above, and will not be repeated here.

[0205] In some embodiments of the present application, the mobile phone can also detect the connection operation sequence of the installation and maintenance personnel for the preset installation position and device controls corresponding to at least one smart lighting device, and determine the current installation position corresponding to each smart lighting device.

[0206] For example, see Fig.13 , continue to take the above binding interface 1201 as an example. When the third position is lit, it can be determined that the smart lighting device corresponding to the third position is lamp A, and the installation and maintenance personnel can connect the corresponding third position in the first display area 1202 and the first device control corresponding to lamp A. The mobile phone can detect the installation and maintenance personnel's connection operation on the third position and the first device control, and determine that the current installation position corresponding to lamp A is the third position. Then, when the second position is lit, it can be determined that the smart lighting device corresponding to the second position is lamp C, and the installation and maintenance personnel can continue to connect the corresponding second position in the first display area 1202 and the second device control corresponding to lamp C. The mobile phone can detect the installation and maintenance personnel's connection operation on the second position and the second device control, and determine that the current installation position corresponding to lamp C is the second position. The mobile phone determines the current installation positions corresponding to lamps B, E and D as described above, and will not be repeated here.

[0207] In some embodiments of the present application, the preset installation position may not be displayed in the mobile phone. After the user perceives the current installation position of at least one smart lighting device, the user directly inputs the current installation position of at least one smart lighting device.

[0208] In some embodiments of the present application, after acquiring the current installation location corresponding to at least one smart lighting device, the mobile phone may bind the current installation location of the at least one smart lighting device with the identification information of the corresponding at least one smart lighting device.

[0209] Exemplarily, the third position is bound to the identification information of lamp A, the second position is bound to the identification information of lamp C, the first position is bound to the identification information of lamp B, the fourth position is bound to the identification information of lamp E, and the fifth position is bound to the identification information of lamp D.

[0210] In summary, with the device binding method provided in the embodiment of the present application, the installation and maintenance personnel only need to obtain the current installation location of the smart lighting device and input it into the mobile phone, without having to repeat the operation for each smart lighting device and manually input the installation location and the MAC of the smart lighting device into the table. This can significantly improve the accuracy of the installation of personalized lamps by the installation and maintenance personnel, and greatly improve the installation efficiency of personalized lamps. In turn, it improves the installation experience of the installation and maintenance personnel.

[0211] In some embodiments of the present application, after performing the binding operation, the mobile phone can send the binding relationship between the current installation location of at least one smart lighting device and the identification information of the corresponding at least one smart lighting device to the smart control panel, so that the smart control panel stores the above binding relationship. After the house is put into use, home users in the family can also use their own mobile phones to control multiple smart lighting devices in each space area through the smart control panel. It can improve the flexibility of controlling smart lighting devices. In addition, it improves the user experience of home users. In other words, in the decoration scenario and the subsequent scenario of the smart home being put into use, the first device can be a different mobile phone, and the application in the first device can also be a different application. The embodiments of the present application do not specifically limit this.

[0212] In some embodiments of the present application, see Fig.14 In the home scene, a home gateway 1401 can also be set up, and the home gateway can control multiple smart control panels 1402 in multiple space areas, thereby controlling multiple smart lighting devices in each space area. In this way, after the mobile phone sends the binding relationship to the smart control panel, the smart control panel can also send the binding relationship between the current installation location of at least one smart lighting device and the identification information of the corresponding at least one smart lighting device to the home gateway, so that the home gateway stores the binding relationship.

[0213] Similarly, when the house is put into use, the home users can also use their mobile phones to control the smart control panel in each room of the house through the home gateway, thereby controlling multiple smart lighting devices in each room. Of course, home users can also directly use the home gateway to control the smart control panel in each room. It can increase the diversity of control methods and control and enhance the flexibility of smart lighting devices.

[0214] In some embodiments of the present application, the mobile phone may also output a prompt message, the prompt message being used to prompt that at least one smart lighting device has been bound. The prompt message may include one or more of a pop-up prompt message, a text prompt message, a voice prompt message, or a video prompt message.

[0215] For example, see Fig.15The mobile phone can also display a prompt message on the current display interface, and the prompt message can be implemented as a text "The selected smart lighting device has been bound". Of course, the mobile phone can also control the speaker to play the prompt message, and the prompt message can be implemented as a prompt tone such as "The selected smart lighting device has been bound".

[0216] After the mobile phone binds the identification information of multiple smart lighting devices to their corresponding current installation locations, a prompt message can be output to remind the user that the binding has been completed, thereby improving the interactivity between the installation and maintenance personnel and the mobile phone and the flexibility of the binding process.

[0217] In some embodiments of the present application, the mobile phone can not only select multiple smart lighting devices and control them in a unified manner, but also control the smart lighting devices one by one to make them perform light-emitting actions one by one. Subsequently, the mobile phone can still determine the current installation location corresponding to each smart lighting device based on the smart lighting devices that perform light-emitting actions. Similarly, when the mobile phone controls and binds the smart lighting devices one by one, it can also output the above prompt information, which is used to prompt that the selected smart lighting devices have been bound.

[0218] In some embodiments of the present application, in the process of obtaining the current installation location corresponding to each smart lighting device, the mobile phone can obtain the current installation location not only by the installation and maintenance personnel inputting the current installation location, but also by signaling interaction between the smart lighting device and the mobile phone. The embodiments of the present application do not specifically limit the process of the mobile phone obtaining the current installation location corresponding to each smart lighting device.

[0219] The embodiment of the present application also provides a device binding method, which is applied to a first device, and the method includes: receiving identification information of at least one third device sent by a second device; the second device is used to control the third device. Then, a test control instruction is sent; the test control instruction is used to control at least one third device to execute a corresponding test action sequence according to a test order. Then, an input operation sequence of a user based on the test action sequence for the current installation position of at least one third device is received, and according to the input operation sequence, the current installation position of at least one third device is bound to the identification information of the corresponding at least one third device.

[0220] The embodiment of the present application also provides a device binding method, which is applied to a second device, and the second device is used to control a third device; the method includes: obtaining identification information of at least one third device, and sending the identification information of at least one third device to the first device. The identification information of at least one third device is used by the first device to bind the current installation location of at least one third device with at least one third device. Then, a test control instruction sent by the first device is received, and the test control instruction is sent to at least one third device; the test control instruction is used to control at least one third device to execute a corresponding test action sequence according to the test order.

[0221] The embodiment of the present application also provides a device binding method, which is applied to a fourth device, the fourth device is used to control a second device, and is controlled by a first device, and the second device is used to control a third device; the method includes: receiving identification information of at least one third device sent by the second device, and sending the identification information of at least one third device to the first device; the identification information of at least one third device is used by the first device to bind the current installation location of at least one third device with the at least one third device. Then, the fourth device can receive the binding relationship between the current installation location of at least one third device sent by the first device and the corresponding identification information of at least one third device.

[0222] The embodiment of the present application also provides a device interaction system, which includes a first device and a second device; the first device is used to control the second device, and the second device is used to control at least one third device. The second device is configured to obtain identification information of at least one third device. The second device is also configured to send identification information of at least one third device to the first device. The first device is configured to send a test control instruction; the test control instruction is used to control at least one third device to execute a corresponding test action sequence according to a test order. The first device is also configured to receive an input operation sequence of a user based on the test action sequence for the current installation position of at least one third device, and bind the current installation position of at least one third device with the corresponding identification information of at least one third device according to the input operation sequence.

[0223] In some schemes, multiple embodiments of the present application may be combined, and the combined scheme may be implemented. Optionally, some operations in the process of each method embodiment may be optionally combined, and / or the order of some operations may be optionally changed. Furthermore, the execution order between the steps of each process is only exemplary and does not constitute a limitation on the execution order between the steps, and other execution orders may be used between the steps. It is not intended to indicate that the execution order is the only order in which these operations can be performed.

[0224] A person skilled in the art will be able to think of many ways to reorder the operations described in the embodiments of the present application. In addition, it should be noted that the process details involved in a certain embodiment of the present application are also applicable to other embodiments in a similar manner, or different embodiments can be used in combination.

[0225] In addition, some steps in the method embodiment may be equivalently replaced by other possible steps. Alternatively, some steps in the method embodiment may be optional and may be deleted in certain usage scenarios. Alternatively, other possible steps may be added to the method embodiment.

[0226] Furthermore, the various method embodiments may be implemented separately or in combination.

[0227] The present application also provides an electronic device, such as the mobile phone described above. Fig.16 As shown, the electronic device may include one or more processors 1910 , a memory 1920 , and a communication interface 1930 .

[0228] The memory 1920 and the communication interface 1930 are coupled to the processor 1910. For example, the memory 1920, the communication interface 1930 and the processor 1910 may be coupled together via a bus 1940.

[0229] The communication interface 1930 is used to perform data transmission with other devices. The memory 1920 stores computer program codes. The computer program codes include computer instructions. When the computer instructions are executed by the processor 1910, the electronic device executes the relevant method steps in the embodiments of the present application.

[0230] Processor 1910 may be a processor or a controller, for example, a central processing unit (CPU), a general processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices, transistor logic devices, hardware components or any combination thereof. It may implement or execute various exemplary logic blocks, modules and circuits described in conjunction with the present disclosure. The processor may also be a combination that implements computing functions, such as a combination of one or more microprocessors, a combination of a DSP and a microprocessor, and the like.

[0231] The bus 1940 may be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus. The bus 1940 may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Fig.16 Only one thick line is used in the diagram, but this does not mean that there is only one bus or only one type of bus.

[0232] An embodiment of the present application also provides an electronic device, which includes a memory and one or more processors; the memory is coupled to the processor; wherein computer program code is stored in the memory, and the computer program code includes computer instructions, and when the computer instructions are executed by the processor, the electronic device executes the relevant method steps in the above method embodiment.

[0233] An embodiment of the present application also provides a communication device, which includes a memory and one or more processors; the memory is coupled to the processor; wherein the memory stores computer program code, the computer program code includes computer instructions, and when the computer instructions are executed by the processor, the communication device executes the relevant method steps in the above method embodiment.

[0234] An embodiment of the present application further provides a computer-readable storage medium, in which a computer program code is stored. When the processor executes the computer program code, the electronic device executes the relevant method steps in the method embodiment.

[0235] The embodiment of the present application also provides a computer program product. When the computer program product is run on a computer, it enables the computer to execute the relevant method steps in the above method embodiment.

[0236] An embodiment of the present application also provides a chip system, including: a processor, the processor is coupled to a memory, the memory is used to store programs or instructions, when the program or instructions are executed by the processor, the chip system implements the method in any of the above method embodiments.

[0237] Optionally, the processor in the chip system may be one or more. The processor may be implemented by hardware or by software. When implemented by hardware, the processor may be a logic circuit, an integrated circuit, etc. When implemented by software, the processor may be a general-purpose processor implemented by reading software code stored in a memory.

[0238] Optionally, the memory in the chip system may also be one or more. The memory may be integrated with the processor or may be separately arranged with the processor, which is not limited in the embodiments of the present application. Exemplarily, the memory may be a non-transient processor, such as a read-only memory ROM, which may be integrated with the processor on the same chip or may be arranged on different chips respectively. The embodiments of the present application do not specifically limit the type of memory and the arrangement of the memory and the processor.

[0239] Exemplarily, the chip system can be a field programmable gate array (FPGA), an application specific integrated circuit (ASIC), a system on chip (SoC), a central processor unit (CPU), a network processor (NP), a digital signal processor (DSP), a microcontroller unit (MCU), a programmable logic device (PLD) or other integrated chips.

[0240] The electronic device, computer storage medium or computer program product provided in this application is used to execute the corresponding method provided above. Therefore, the beneficial effects that can be achieved can refer to the beneficial effects in the corresponding method provided above and will not be repeated here.

[0241] Through the description of the above implementation methods, technical personnel in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional modules is used as an example. In actual applications, the above-mentioned functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above.

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

[0243] The units described as separate components may or may not be physically separated, and the components shown as units may be one physical unit or multiple physical units, which may be located in one place or distributed in multiple different places. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.

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

[0245] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a readable storage medium. Based on this understanding, the technical solution of the embodiment of the present application is essentially or the part that contributes or all or part of the technical solution can be embodied in the form of a software product, which is stored in a storage medium, including several instructions to enable a device (which can be a single-chip microcomputer, chip, etc.) or a processor (processor) to perform all or part of the steps of the various embodiments of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read only memory (ROM), random access memory (RAM), disk or optical disk and other media that can store program code.

[0246] The above contents are only specific implementation methods of the present application, but the protection scope of the present application is not limited thereto. Any changes or substitutions within the technical scope disclosed in the present application shall be included in the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims

1. A device binding method, characterized in that: Applied to a device interaction system, the device interaction system includes a first device and a second device; the first device is used to control the second device, and the second device is used to control at least one third device; the method includes: The second device acquires identification information of the at least one third device; The second device sends the identification information of the at least one third device to the first device; The first device sends a test control instruction; the test control instruction is used to control the at least one third device to execute a corresponding test action sequence according to the test order; The first device receives an input operation sequence from a user based on the test action sequence for the current installation location of the at least one third device, and binds the current installation location of the at least one third device with the corresponding identification information of the at least one third device according to the input operation sequence.

2. The method according to claim 1, characterized in that The device interaction system further includes a fourth device; the fourth device is used to control the second device and is controlled by the first device; The second device sends the identification information of the at least one third device to the first device, comprising: The second device sends the identification information of the at least one third device to the first device via the fourth device; The method further comprises: After binding the current installation location of the at least one third device and the identification information corresponding to the at least one third device, the first device sends the binding relationship between the current installation location of the at least one third device and the identification information corresponding to the at least one third device to the fourth device.

3. The method according to claim 1 or 2, characterized in that: The method further comprises: The first device receives a first trigger operation of a user on a target application and displays a first interface, wherein the first interface includes the at least one third device; The first device sends a test control instruction; including: The first device receives a second trigger operation of the user on the at least one third device in the first interface, and sends a test control instruction to the at least one third device via the second device.

4. The method according to any one of claims 1 to 3, characterized in that: The method further comprises: The first device displays a second interface, where the second interface includes a preset installation position corresponding to the at least one third device; The first device receives an input operation sequence of a user based on the test action sequence for the current installation position of the at least one third device, and binds the current installation position of the at least one third device with the corresponding identification information of the at least one third device according to the input operation sequence; including: The first device receives a selection operation sequence for the preset installation position by a user, and determines a current installation position of the at least one third device; The first device binds the current installation location of the at least one third device with the corresponding identification information of the at least one third device.

5. The method according to any one of claims 1 to 4, characterized in that: The device interaction system further includes the at least one third device, and the method further includes: The at least one third device executes a corresponding test action sequence according to the test control instruction and in a test order.

6. The method according to any one of claims 1 to 5, characterized in that: A power line communication connection is established between the second device and the at least one third device, or a wireless communication connection is established between the second device and the at least one third device; the wireless communication connection includes a wireless fidelity network connection and a Bluetooth communication connection.

7. The method according to claim 6, characterized in that The second device acquires identification information of at least one third device, including: In case a power line communication connection is established between the second device and the at least one third device, the second device sends a first transmission signal having a preset frequency; The second device obtains identification information of the at least one third device according to the at least one third device responding to the first transmission signal.

8. The method according to claim 7, characterized in that The method further comprises: Before the second device acquires identification information of at least one third device, the second device sends a second transmission signal having the preset frequency; The second device acquires a distance between the second device and at least one communication device that responds to the second transmission signal; The second device determines the at least one communication device located at a preset distance as the at least one third device; The second device sets the frequency of the transmission signal corresponding to the at least one third device to the preset frequency.

9. The method according to claim 2, characterized in that: The first device is a terminal device, which includes at least one of a mobile phone, a tablet computer and a wearable device; the second device is a gateway device, which includes at least one of a smart control panel and a whole-house smart host; the third device is a smart home device, which includes at least one of a smart lighting device and a smart switch; the fourth device is a hub device, which includes a home gateway.

10. The method according to claim 7, characterized in that The identification information of the at least one third device includes a Media Access Control (MAC) address of the at least one third device.

11. The method according to any one of claims 1 to 10, characterized in that: The method further comprises: The first device outputs prompt information, where the prompt information is used to prompt that the at least one third device has been bound.

12. A device binding method, characterized in that: Applied to a first device, the method includes: receiving identification information of at least one third device sent by a second device; the second device is used to control the third device; Sending a test control instruction; the test control instruction is used to control the at least one third device to perform a corresponding test action sequence according to the test order; An input operation sequence of a user based on the test action sequence for the current installation position of the at least one third device is received, and according to the input operation sequence, the current installation position of the at least one third device is bound to the corresponding identification information of the at least one third device.

13. A device binding method, characterized in that: Applied to a second device, the second device is used to control a third device; the method includes: Acquire identification information of at least one third device; Sending identification information of the at least one third device to the first device; the identification information of the at least one third device is used by the first device to bind the current installation location of the at least one third device with the at least one third device; A test control instruction sent by the first device is received, and the test control instruction is sent to the at least one third device; the test control instruction is used to control the at least one third device to execute a corresponding test action sequence according to a test order.

14. A device binding method, characterized in that: Applied to a fourth device, the fourth device is used to control a second device and is controlled by a first device, and the second device is used to control a third device; the method includes: receiving identification information of at least one third device sent by the second device; Sending identification information of the at least one third device to the first device; the identification information of the at least one third device is used by the first device to bind the current installation location of the at least one third device with the at least one third device; Receive a binding relationship between a current installation location of the at least one third device and corresponding identification information of the at least one third device sent by the first device.

15. A device interaction system, characterized in that: The device interaction system includes a first device and a second device; the first device is used to control the second device, and the second device is used to control at least one third device; The second device is configured to obtain identification information of the at least one third device; The second device is further configured to send identification information of the at least one third device to the first device; The first device is configured to send a test control instruction; the test control instruction is used to control the at least one third device to perform a corresponding test action sequence according to a test order; The first device is also configured to receive an input operation sequence from a user based on the test action sequence for the current installation position of the at least one third device, and bind the current installation position of the at least one third device with the corresponding identification information of the at least one third device according to the input operation sequence.

16. An electronic device, characterized in that: The electronic device includes a memory and one or more processors; the memory is coupled to the processor; wherein the memory stores a computer program code, and the computer program code includes computer instructions, and when the computer instructions are executed by the processor, the electronic device executes the device binding method as described in any one of claims 1 to 11, or executes the device binding method as described in claim 12, or executes the device binding method as described in claim 13, or executes the device binding method as described in claim 14.

17. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores instructions, and when the instructions are executed on a computer, the computer can execute the device binding method as described in any one of claims 1 to 11, or execute the device binding method as described in claim 12, or execute the device binding method as described in claim 13, or execute the device binding method as described in claim 14.