Equipment binding method, equipment interaction system and electronic equipment
By obtaining the signal strength information of smart home devices and automatically binding the application scenarios after the change of the device position, it solves the problem of complex manual operations of users and improves the flexibility and user experience of device control.
Patent Information
- Application Number
- CN202410078641.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-01-18
- Publication Date
- 2025-07-18
AI Technical Summary
After the location of the smart home device changes, users need to manually delete the old location binding and manually add the new location, which is complicated, resulting in a low user experience.
By obtaining signal strength information with smart home devices, the device position changes are automatically determined and corresponding application scenarios are bound to reduce user manual operations.
Simplifies user operation processes and improves the flexibility and user experience of smart home devices.
Smart Images

Figure CN120343499A_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present application relate to the technical field of terminals, and in particular, to a device binding method, a device interaction system, and an electronic device. Background Art
[0002] Users can install mobile software (Application, APP) related to smart home on the terminal and control smart home devices by operating the APP. For example, users can control multiple smart home devices in different rooms of their homes.
[0003] However, if the placement position of the smart home device changes (for example, the user moves the first device from the first room to the second room), the user needs to manually delete the first device in the first room, manually add the first device to the second room, and then select the status of the first device. Multiple operations are required for a single smart home device. If the user needs to move multiple smart home devices, more operations are needed. Therefore, after the placement position of the smart home device changes, the user's operation steps are very complex, resulting in a low user experience. Summary of the Invention
[0004] The embodiments of the present application provide a device binding method, a device interaction system, and an electronic device. By determining the position change of the device according to the signal strength information associated with the device and automatically binding the device to the application scenario corresponding to its position, the flexibility of controlling the device is effectively improved, and the user's operation process is reduced.
[0005] To achieve the above object, the embodiments of the present application adopt the following technical solutions:
[0006] In a first aspect, the embodiments of the present application provide a device binding method, which is applied to a first device and includes: The first device can obtain the signal strength information associated with a second device, and determine that the second device has switched from a position in a first space to a position in a second space according to the signal strength information associated with the second device. The first device can also bind the second device to a first application scenario according to the position where the second device is currently located in the second space, and the first application scenario is used to control devices in at least one space including the second space.
[0007] In this way, the embodiments of the present application can automatically determine that the position of the second device has changed. There is no need for the user to manually perform multiple operations such as adding or changing the position of the second device. At the same time, it can also automatically bind the second device to the application scenario corresponding to the current position. The effect of automatically adding the second device to the application scenario can be achieved, simplifying a series of cumbersome operations of the user and improving the user's experience.
[0008] In an implementable manner, the method further includes: the first device may set the location information bound to the second device as the location in the second space.
[0009] In this way, the embodiment of the present application can automatically set the location information bound to the second device as the determined current location after determining that the location of the second device has changed. Thus, the effect of automatically binding the second device to the current location can be achieved, simplifying a series of cumbersome operations of the user and enhancing the user experience.
[0010] In an implementable manner, during the process of the first device setting the location information bound to the second device as the location in the second space, when the second device is bound with location information, the location of the second device in the first space that is bound can be changed to the location in the second space.
[0011] In this way, the embodiment of the present application can automatically change the location bound to the second device when the second device is bound with location information. For example, if the second device is a device with a movable location, there is no need for the user to manually select the current location of the second device for change, reducing user operations and enhancing the user experience.
[0012] In an implementable manner, during the process of the first device setting the location information bound to the second device as the location in the second space, when the second device is not bound with location information, the second device is bound to the location in the second space.
[0013] In this way, the embodiment of the present application can automatically bind the location of the second device when the second device is not bound with location information. For example, if the second device is a newly added device, there is no need for the user to manually select the current location of the second device for binding, reducing user operations and enhancing the user experience.
[0014] In an implementable manner, during the process of the first device binding the second device to the first application scenario according to the current location of the second device in the second space, at least one application scenario arranged at the location in the second space can be determined according to the location in the second space. The first device can also find the first application scenario among at least one application scenario according to the device information of the second device;
[0015] Wherein, the device information includes the device type and / or device function type of the second device; the device type of the device in the first application scenario is the same as the device type of the second device, or the device function type of the device in the first application scenario is the same as the device function type of the second device, or the device type and device function type of the device in the first application scenario are the same as the device type and device function type of the second device;
[0016] The first device may also bind the second device to the first application scenario.
[0017] In this way, after the second device is moved and / or added in the embodiments of the present application, the second device can be automatically matched to the scenario according to the current position of the second device. Thus, the second device is adaptively added to the matching application scenario, simplifying the cumbersome operations of the user for the application scenario and improving the user experience.
[0018] In an implementable manner, the first application scenario corresponds to a first control policy, and the first control policy is used to control the devices associated with the first application scenario. When the first device binds the second device to the first application scenario, the second device can be added to the first application scenario and the first control policy can be updated.
[0019] Wherein, the first control policy includes at least one of the execution order of the devices for control in the first application scenario, the device execution actions, and the action parameters.
[0020] In this way, in the embodiments of the present application, the second device can be automatically added to the first application scenario and the first control policy can be updated. Thus, at least one of the execution order of the devices, the device execution actions, and the action parameters in the first control policy can be used to control the second device to perform corresponding actions. Simplifying the cumbersome operations of the user for the application scenario and improving the user experience.
[0021] In an implementable manner, the method further includes: when the first device determines that the second device switches from a position in the second space to a position in the third space, changing the first application scenario bound to the second device to a second application scenario, and the second application scenario is used to control the devices in at least one space including the third space.
[0022] In this way, in the embodiments of the present application, after the second device is bound to an application scenario and its location information changes, the bound application scenario can be automatically changed without the user performing the scenario change operation. It can increase the diversity of control methods and improve the flexibility of controlling the second device. Thus, the user experience is improved.
[0023] In an implementable manner, the signal strength information associated with the second device includes the signal strength of at least one third device around the second device. The first device also stores the correspondence between the identification information of at least one third device and the location information of the third device, and the signal strength information associated with the second device further includes the identification information of at least one third device.
[0024] When the first device determines that the second device has switched from a position in the first space to a position in the second space according to the signal strength information associated with the second device, it can determine the position information corresponding to at least one third device according to the identification information and correspondence relationship of at least one third device.
[0025] If the position information corresponding to at least one third device is the same and is the position in the second space, it can be determined that the second device has switched from the position in the first space to the position in the second space.
[0026] If the position information corresponding to at least one third device is different, calculate the average value of the signal strengths of the third devices corresponding to the different position information. The first device can also determine that the second device has switched from the position in the first space to the position in the second space when the position information with the highest average value is the position in the second space.
[0027] In this way, the embodiment of the present application can directly determine that the second device is currently located in the second space by the position information corresponding to each third device being the same and being the position in the second space. The embodiment of the present application can also calculate the average value of the signal strength values of one or more third devices in different position information, and determine the position information corresponding to the highest average value as the current position of the second device. It avoids the situation of misjudgment caused by a device with too high signal strength in a certain position information, thereby improving the accuracy of determining the position information.
[0028] In an implementable manner, the method further includes: the first device sends the updated first control policy and the position in the second space to the server.
[0029] In this way, the embodiment of the present application can also send the updated first control policy and the position in the second space to the server so that the server stores the two. Thus, the stability of data storage is improved, and the server can also perform subsequent applications on the data to improve the practicability of the data.
[0030] In an implementable manner, the method further includes: the first device outputs a first prompt message, and the first prompt message is used to prompt that the position information bound to the second device has been set to the position in the second space.
[0031] In this way, the embodiment of the present application can output the above first prompt message to prompt the user that the binding of the position in the second space has been completed. Furthermore, the interactivity between the user and the first device and the flexibility of the binding process are improved.
[0032] In an implementable manner, the method further includes: the first device outputs a second prompt message, and the second prompt message is used to prompt that the second device has been added to the first application scenario.
[0033] Thus, the embodiments of the present application can output the above-mentioned second prompt message to prompt the user that the second device has been added to the first application scenario. Furthermore, the interactivity between the user and the first device and the flexibility of the change process are improved.
[0034] In a second aspect, an embodiment of the present application further provides a device interaction system, which includes a first device and a second device; the first device is used to control the second device. The second device is configured to obtain signal strength information associated with the second device. The second device is further configured to send the signal strength information associated with the second device to the first device. The first device is configured to receive the signal strength information associated with the second device. The first device is further configured to determine, according to the signal strength information associated with the second device, that the position of the second device has switched from a position in the first space to a position in the second space. The first device is further configured to bind the second device to a first application scenario according to the current position of the second device in the second space, and the first application scenario is used to control devices in at least one space including the second space.
[0035] Thus, the device interaction system provided by the embodiments of the present application can automatically determine that the position of the second device has changed after the user moves or newly adds the second device. At the same time, it can also automatically bind the second device to the application scenario in the current position. The effect of automatically adding the second device to the application scenario is achieved, simplifying a series of cumbersome operations of the user and enhancing the user experience.
[0036] In a third aspect, an embodiment of the present application further 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 is caused to execute the device binding method as described in the first aspect above.
[0037] In a fourth aspect, an embodiment of the present application further provides a computer-readable storage medium, in which instructions are stored, and when the instructions are run on a computer, the computer can execute the device binding method as described in the first aspect above. Description of the Drawings
[0038] Figure 1 It is a schematic diagram of a scenario of a smart home provided by an embodiment of the present application;
[0039] Figure 2 It is a schematic diagram of a main screen interface provided by an embodiment of the present application;
[0040] Figure 3 It is a schematic diagram of the structure of a device interaction system provided by an embodiment of the present application;
[0041] Figure 4 Schematic diagram of the hardware structure of a communication device provided by an embodiment of the present application;
[0042] Figure 5 Schematic diagram of the process flow of a device binding process provided by an embodiment of the present application;
[0043] Figure 6 Schematic diagram of the scenario of a device movement process provided by an embodiment of the present application;
[0044] Figure 7 Schematic diagram of the process flow for updating a first control strategy provided by an embodiment of the present application;
[0045] Figure 8 Schematic diagram of the interface of a first prompt message provided by an embodiment of the present application;
[0046] Figure 9 Schematic diagram of the interface of a second prompt message provided by an embodiment of the present application;
[0047] Figure 10 Schematic diagram of the structure of a communication device provided by an embodiment of the present application. Detailed implementation manners
[0048] 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 may represent A or B; "and / or" in the present application is merely a description of the association relationship of the associated objects, indicating that three relationships may exist. For example, A and / or B may represent: A exists alone, A and B exist simultaneously, and B exists alone. Here, A and B may be singular or plural.
[0049] In the description of the present application, unless otherwise specified, "a plurality of" means two or more than two. "At least one (item)" or its similar expression refers to any combination of these items, including any combination of single item (item) or plural items (items). For example, at least one (item) of a, b, or c may represent: a, b, c, a - b, a - c, b - c, or a - b - c, where a, b, c may be single or multiple.
[0050] In addition, in order to clearly describe the technical solutions of the embodiments of the present application, in the embodiments of the present application, terms such as "first" and "second" are used to distinguish the same items or similar items with basically the same functions and effects. Those skilled in the art can understand that the terms "first" and "second" do not limit the quantity and execution order, and the terms "first" and "second" do not necessarily limit to be different.
[0051] In the embodiments of the present application, words such as "exemplary" or "for example" are used to indicate examples, illustrations, or explanations. Any embodiment or design solution described as "exemplary" or "for example" in the embodiments of the present application should not be construed as being more preferred or having more advantages than other embodiments or design solutions. Rather, the use of words such as "exemplary" or "for example" is intended to present relevant concepts in a specific manner for easy understanding.
[0052] It can be understood that the "embodiments" mentioned throughout the specification mean that specific features, structures, or characteristics related to the embodiments are included in at least one embodiment of the present application. Therefore, the various embodiments throughout the specification do not necessarily refer to the same embodiment. In addition, these specific features, structures, or characteristics can be combined in one or more embodiments in any suitable manner. It can be understood that in the various embodiments of the present application, the magnitudes of the serial numbers of the various processes do not mean the order of execution, and the order of execution of the various processes should be determined according to their functions and internal logics, and should not constitute any limitation to the implementation process of the embodiments of the present application.
[0053] It can be understood that in the present application, both "when..." and "if" refer to corresponding processing under certain objective circumstances, which does not limit the time, and does not require a judgment action during implementation, nor does it mean the existence of other limitations.
[0054] It can be understood that some optional features in the embodiments of the present application can, in some scenarios, be implemented independently without relying on other features, such as the current solution they are based on, to solve corresponding technical problems and achieve corresponding effects. In some scenarios, they can also be combined with other features according to requirements. Correspondingly, the devices given in the embodiments of the present application can also implement these features or functions accordingly, which will not be elaborated here.
[0055] For the sake of clear and concise description of the following embodiments, a brief introduction to the related technologies is given first:
[0056] Smart home (smart home or home automation) is a platform based on a residence, which integrates facilities related to home life by using comprehensive wiring technology, network communication technology, security prevention technology, automatic control technology, and audio-video technology to build an efficient management system for residential facilities and family daily affairs, improve home security, convenience, comfort, and artistry, and achieve an environmentally friendly and energy-saving living environment.
[0057] Specifically, smart home connects various smart home devices in the home (such as audio and video devices, lighting systems, curtain controls, air conditioner controls, security systems, digital cinema systems, audio and video servers, video cabinets, network appliances, etc.) through Internet of Things technology, providing multiple functions and means such as home appliance control, lighting control, remote telephone control, indoor and outdoor remote control, anti-theft alarm, environmental monitoring, HVAC control, infrared forwarding, and programmable timing control. A smart home scenario is a series of defined operations for home devices triggered by a certain trigger condition during the effective operation period.
[0058] With the popularization of smart home, users need to configure the devices and scenarios of the smart home system during deployment. Users can install a mobile software (Application, APP) related to smart home on the terminal and control smart home devices by operating the APP. Specifically, users can edit the status information of different smart home devices into a scenario. When the user selects this scenario, control strategies can be sent to multiple smart home devices simultaneously, without the need to operate each smart home device one by one. In addition, users can also set different scenarios corresponding to different regional locations. Exemplarily, users can divide the entire home environment into regions, and each room (such as the master bedroom, living room, secondary bedroom, children's room) is divided into an independent scenario, and scenarios such as sleep, waking up, reading, and getting up at night are respectively configured for different rooms, and the device parameters or operation configurations corresponding to each room are set as the trigger conditions and trigger actions required for each scenario.
[0059] Generally, if the placement position of a certain or certain smart home devices changes, the user needs to manually delete the current binding position of the smart home device and manually bind the position after the movement of the smart home device, and then select the status of the smart home device for subsequent use of the smart home device after the movement.
[0060] Exemplarily, refer to Figure 1 , after the user moves the smart lighting device D from room A to the living room, the binding position of the smart lighting device D can be changed through the mobile phone. As shown in (A) of Figure 2 , the mobile phone can display the home screen interface (or desktop), and the home screen interface includes icons of one or more applications, such as icons of shopping applications, settings applications, etc., which will not be listed one by one here. Icons of different applications can be used to open the running interfaces of the corresponding applications and implement the functions of the corresponding applications. Among these one or more application icons, there is an icon 401 of Smart Life.
[0061] If the mobile phone detects that the user clicks on the icon 401 of Smart Life, in response to this click operation, as shown in Figure 2As shown in (B) therein, the mobile phone displays the application interface 402 of the smart life. Among them, the application interface 402 of the smart life includes an adding control 403, which can be used to add smart home devices at home. Optionally, the adding control 403 can also be used to implement functions such as scanning by scanning, scanning the identification code of the smart home device at home through the scanning function, and then realizing the addition of the device.
[0062] In some embodiments, the user can change the devices at each area location in the home. Exemplarily, as Figure 2 shown in (B) therein, the application interface 402 of the smart life may further include a room A control 404, a room B control 405, and a living room control 406. After the user clicks the room A control 404, the mobile phone is triggered to enter the interface corresponding to the room A control 404. Among them, in room A, there are device controls corresponding to the TV, smart camera, speaker, and smart lighting device D. Then the user can click the device control corresponding to the smart lighting device D, and is triggered to enter the device details page corresponding to the smart lighting device D. In this way, when the user clicks the device control corresponding to the smart lighting device D on the mobile phone, in response to this click operation, the device details page 407 corresponding to the smart lighting device D is displayed, as Figure 2 shown in (C) therein.
[0063] Among them, the device details page 407 includes the device name, location information, device status, function area, and controls corresponding to the editing function of the smart lighting device D. Among them, the function area includes a device management control and more function controls. The user can click the control corresponding to the editing function, and is triggered to enter the editing details page. The mobile phone detects the click operation of the user on the control corresponding to the editing function, and displays the editing details page, as Figure 2 shown in (D) therein. The editing details page includes a first content area 408 and a second content area 409. The first content area 408 is used to display the device name, and the second content area 409 is used to display the bound location corresponding to the device. The user can click the "living room" control in the second content area 409 to change the room to which the smart lighting device D belongs. Then click the confirm control 410 to complete the process of changing the bound location corresponding to the device.
[0064] Similarly, for the newly added smart home device, the user also needs to click the above-mentioned adding control 403, trigger to enter the device adding page, and set the bound location of the device on the device adding page. From the above content, it can be seen that whether moving the smart home device or adding a new smart home device, at least three steps are required for the operation of setting its bound location. If the user needs to move multiple smart home devices, more operations are required, increasing the complexity of the user operation and reducing the user experience.
[0065] An embodiment of the present application provides a device binding method, which is applied to a first device. The method includes: the first device can obtain signal strength information associated with a second device, and determine that the second device has switched from a position in a first space to a position in a second space according to the signal strength information associated with the second device. The home gateway can also bind the second device to a first application scenario according to the position where the second device is currently located in the second space, and the first application scenario is used to control devices in at least one space including the second space.
[0066] In this way, in the implementation of the present application, when the user moves the second device or adds a new smart home device, the first device can determine the current position of the second device according to the signal strength information associated with the moved second device. There is no need for the user to manually perform multiple operations such as adding or changing the position of the second device. At the same time, the second device can also be automatically bound to the first application scenario corresponding to the current position. Therefore, the effect of automatically adding the second device to the application scenario can be achieved, simplifying a series of cumbersome operations of the user and improving the user experience.
[0067] The device binding method provided by the embodiment of the present application can be applied to a device interaction system. Refer to Figure 3 , an embodiment of the present application provides a device interaction system including a first device 101, a second device 102, and a third device 103.
[0068] Among them, the first device 101 can be used to manage the second device 102 and the third device 103. Exemplarily, the first device 101 can be a central device in a home environment, and the central device includes a home gateway. It can be understood that the home gateway connects and controls all networkable devices inside the home, becoming the network connection center and control center inside the home.
[0069] In some examples, the first device 101 can be a device with a display screen, such as a home gateway with a display screen. The user can log in to the management interface of the smart home device through the home gateway to manage the smart home device.
[0070] In some examples, the first device 101 can be a dedicated device for managing smart home devices that use power line communication (PLC) (abbreviated as PLC devices), or a device including the function of managing PLC devices, or a dedicated device for managing smart home devices connected by wireless communication.
[0071] It should be noted that PLC is a technology that can transmit communication data using power lines. PLC does not require additional deployment of communication lines and can reuse power lines for communication. Depending on the layout environment in the actual industrial application scenario and the connection method of smart home devices, the network topologies that can be adopted by the PLC network can include, but are not limited to, star network topologies, tree network topologies, etc. Among them, the network topology can include multiple nodes such as a central coordinator (CCO), a proxy coordinator (PCO), a station (STA) (or smart home device), etc. The 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 the CCO. The PCO can serve as a relay station for data forwarding between the CCO and the STA, or between the STA and the STA. Optionally, the communication device in the middle position of the PLC network can serve as the PCO. The STA can be responsible for receiving and transmitting power line signals. Optionally, the communication device at the end position in the PLC network can serve as the STA. The first device 101 can serve as the CCO to manage the PLC devices. In other scenarios, the first device 101 can also be other devices capable of managing the PLC devices, or devices capable of managing smart home devices connected by wireless communication.
[0072] In some embodiments, the first device 101 can be a fixed device or a portable device. The operating systems installed on the first device 101 include, but are not limited to or other operating systems. This application does not limit the specific type of the first device 101 or the operating system installed thereon.
[0073] The second device 102 and the third device 103 can include smart home devices in the home environment. The second device 102 can be a newly added smart home device or a smart home device that needs to be moved. The third device 103 is a smart home device around the second device 102. The second device 102 and the third device 103 can be located in the same area position in the home environment or in different area positions in the home environment.
[0074] Exemplarily, in the case where the second device 102 is a newly added smart home device, the location information bound by the third device 103 is room B, and the second device 102 can be newly added to room B. In this way, the location information bound by the second device 102 is room B. Another example is that the location information bound by the second device 102 can be room A, and the location information bound by the third device 103 is room B. After the user moves the second device 102 to room B, the location information bound by the second device 102 can be changed from room A to room B.
[0075] In some examples, smart home devices include, but are not limited to, smart lighting devices, air conditioners, smart TVs, smart large screens, tablet computers, laptop computers, mobile phones, electronic whiteboards, smart speakers, and smart humidifiers, etc. Among them, smart lighting devices can include, but are not limited to, magnetic lamps, bedside reading lamps, spotlights, floor lamps, grid lamps, and light strips, etc.
[0076] In Figure 3 it, the second device 102 and the third device 103 are respectively shown as the smart lighting device 1021 and the smart humidifier 1022. In some embodiments, the second device 102 and the third device 103 may also include one or more devices using PLC communication, that is, PLC devices, such as including but not limited to Figure 3 the shown smart lighting device 1021, smart humidifier 1022, etc. Different PLC devices can establish connections through PLC technology.
[0077] In some other embodiments, the second device 102 and the third device 103 may also include one or more devices using other communication methods, such as including but not limited to Figure 3 the shown smart lighting device 1021, smart humidifier 1022, etc. Exemplarily, other communication methods may include, but are not limited to, wireless communication methods, etc. 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.
[0078] In some embodiments, the second device 102 and the third device 103 can be fixed devices or portable devices. The operating systems installed on the second device 102 and the third device 103 include but are not limited to or other operating systems. This application does not limit the specific types of the second device 102 and the third device 103, nor the operating systems installed thereon.
[0079] In some embodiments, connections can be established between at least two of the first device 101, the second device 102, and the third device 103 through wired communication means and / or wireless communication means. Embodiments of this application do not make specific limitations thereto.
[0080] An equipment interaction system provided by an embodiment of this application may further include a fourth device 104 and at least one fifth device 105.
[0081] Among them, the fourth device 104 can set the execution actions and action parameters corresponding to the second device 102 and the third device 103. The fourth device 104 can be a terminal device. The fourth device 104 can control the second device 102 and the third device 103, and the second device 102 can control the third device 103.
[0082] Exemplarily, the terminal device can include but is not limited to devices such as mobile phones, tablet computers, laptop computers, ultra-mobile personal computers (UMPCs), netbooks, personal digital assistants (PDAs), wearable devices, artificial intelligence (AI) devices, etc.
[0083] In some embodiments, the fifth device 105 can be an edge node device. The edge node can be a node that is at a certain distance from the Internet of Things smart home device, provides limited resources such as storage, computing, and network, and communicates collaboratively with the cloud server. For example, the above-mentioned edge node device can include at least one of the following: a whole-house intelligent host, an intelligent control panel, a router, and an edge gateway.
[0084] The fifth device 105 can be used to manage the second device 102 and the third device 103, and can also assist the first device 101 in controlling the second device 102 and the third device 103.
[0085] The fifth device 105 can be a device with a display screen or a device without a display screen. The number of the fifth devices 105 can be one or more. In a scenario where the number of the fifth devices 105 is more than one, any one of the fifth devices 105 can be used as the master device, and the other fifth devices 105 are slave devices. For example, one fifth device 105 is the main intelligent control panel for the whole family, and one or more fifth devices 105, namely sub-intelligent control panels, are correspondingly arranged in each enclosed room in the family.
[0086] In some examples, in a scenario where there are multiple fifth devices 105 in the family, for example, the fifth device 105 is an intelligent control panel, the first device 101, as a home gateway, can manage multiple intelligent control panels and serve as the center in the whole family.
[0087] Exemplarily, there is one home gateway in the user's family, one intelligent control panel in each room in the home, and multiple smart home devices in each room. In this way, the intelligent control panel in each room can control multiple smart home devices in the room, and the home gateway of the whole family can control multiple intelligent control panels corresponding to multiple rooms. At the same time, the user can also control the home gateway, the intelligent control panel, and the smart home devices through the fourth device 104 such as a mobile phone.
[0088] In some embodiments of the present application, the device interaction system may further include a server. The first device 101, the second device 102, the third device 103, the fourth device 104, and the fifth device 105 can all be connected to the server wirelessly.
[0089] For example, the first device 101, the second device 102, and the fourth device 104 can also be connected to the server through a home wireless router for communication.
[0090] It can be understood that the first device 101, the second device 102, and the fourth device 104 have been registered on the server, and the first device 101, the second device 102, and the fourth device 104 are associated with the server. In other words, the second device 102 has been successfully paired with the first device 101 and the fourth device 104. At this time, the user can control the second device 102 through the fourth device 104 and the first device 101. For example, the second device 102 is associated with a user name, or the second device 102 is associated with identification information. For the convenience of description, in the embodiments of the present application, the smart home devices have been paired with specific terminal devices, home gateways, or specific users.
[0091] In some examples, the first device 101 can send the device information and control strategies corresponding to the second device 102 and the third device 103 to the server, and the server can store the received device information and control strategies.
[0092] It can be understood that Figure 3 The simplified schematic diagram shown is only for easy understanding. In actual applications, the above system may further include other devices not shown in the figure.
[0093] In some embodiments of the present application, the first device 101 in the embodiments of the present application can be implemented through Figure 4 the communication device therein. Figure 4 The following shows the hardware structure schematic diagram of the communication device provided by the embodiments of the present application. The communication device includes at least one processor 201, a communication line 202, a memory 203, and at least one communication interface 204. Among them, the memory 203 may also be located in the processor 201.
[0094] 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 solution.
[0095] In some embodiments of the present application, the processor 201 can be used to implement the management of the PLC device. The communication line 202 may include a path for transmitting information between the above components. The communication interface 204 is used to communicate with other devices (such as including but not limited to Figure 3 the third device 103, the first device 101, the fourth device 104, etc. shown).
[0096] In the embodiments of the present application, the communication interface may be a module, a circuit, a bus, an interface, a transceiver, or other devices capable of implementing communication functions, and is used to communicate with other devices. Optionally, when the communication interface is a transceiver, the transceiver may be an independently provided transmitter, which can be used to send information to other devices, or the transceiver may be an independently provided receiver for receiving information from other devices. The transceiver may also be a component integrating the functions of sending and receiving information. The present application embodiments do not limit the specific implementation of the transceiver.
[0097] The memory 203 can 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, an electrically erasable programmable read-only memory, a compact disc read-only memory or other optical disc storage, optical disc storage, magnetic disk storage media or other magnetic storage devices, 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 can exist independently and be connected to the processor through the communication line 202. The memory 203 can also be integrated with the processor. Among them, the memory 203 is used to store the execution instructions for implementing the solution of this application, and is controlled by the processor 201 for execution. The processor 201 is used to execute the execution instructions stored in the memory 203, so as to implement the method provided in the following embodiments of this application.
[0098] Optionally, the execution instructions in the embodiments of this application can also be referred to as application program code, instructions, programs or other names, and the embodiments of this application do not make specific limitations thereto.
[0099] In some embodiments of this application, a whitelist can be stored in the memory 203, and the whitelist can include the identifiers of one or more PLC devices. The first device 101 can manage the PLC devices through the whitelist.
[0100] In some embodiments, the processor 201 can include one or more CPUs. The communication device can include multiple processors. For example Figure 4 CPU0 and CPU1 in. Each of these processors can be a single-core (single-CPU) processor or a multi-core (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).
[0101] The above-mentioned communication device can be a general-purpose device or a special-purpose device, and the embodiments of this application do not limit the type of the communication device.
[0102] It can be understood that the structure schematically shown in the embodiments of this application does not constitute a specific limitation on the first device 101. The first device 101 can include more or fewer components than shown in the figure, or combine certain components, or split certain components, or have different component arrangements. The components shown in the figure can be implemented in hardware, software or a combination of software and hardware. For example, the first device 101 can also be configured with modules such as a display screen and buttons.
[0103] The technical solutions provided in the embodiments of the present application can be applied to scenarios of mobile smart home devices or adding new smart home devices. The technical solutions provided in the embodiments of the present application include, but are not limited to, being applied in the whole-house smart scenario, and can also include various scenarios such as smart street lamp scenarios, intelligent traffic light control scenarios and other intelligent lighting scenarios, smart fresh air system scenarios, and smart sunshade scenarios.
[0104] In the following embodiments, with reference to the accompanying drawings, the first device 101 is a home gateway, and the second device 102 is a smart lighting device to describe the device binding method provided in the embodiments of the present application. Among them, the home gateway and the smart lighting device can execute some or all of the steps in the embodiments of the present application. These steps or operations are only examples, and the embodiments of the present application can also execute other operations or various deformations of the operations. In addition, each step can be executed in a different order presented in the embodiments of the present application, and it is possible not to execute all the operations in the embodiments of the present application.
[0105] See Figure 5 , the method may include:
[0106] S501. The smart lighting device obtains signal strength information.
[0107] In some embodiments of the present application, the smart lighting device can obtain signal strength information associated with itself. Specifically, the smart lighting device can be to scan the current device signals in the surrounding environment in real time. The smart lighting device can also be to scan the current device signals in the surrounding environment periodically. Exemplarily, the smart lighting device can scan the current device signals in the surrounding environment according to a preset period, and the preset period can include 50 seconds, 52 seconds, 56 seconds, 60 seconds, and 120 seconds, etc. The embodiments of the present application do not limit the specific values corresponding to the preset period.
[0108] In some examples, the smart lighting device can also set a trigger condition. When the trigger condition is met, it performs scanning of the current device signals in the surrounding environment. Of course, when the trigger condition is not met, the smart lighting device does not perform scanning of the current device signals in the surrounding environment. For example, after the smart lighting device detects its own movement, it scans the current wireless device signals in the surrounding environment. Among them, the movement of the device itself is the above-mentioned trigger condition. The smart lighting device will scan the current device signals in the surrounding environment after detecting its own movement, and the smart lighting device does not scan the current device signals in the surrounding environment when it is in a non-moving state or a moving state, which can reduce the number of scans as much as possible, thereby reducing the power consumption of the smart lighting device.
[0109] Specifically, to identify whether it has moved, the intelligent lighting device can use sensors in the device (such as gyroscopes, GPS sensors, etc.) to identify, and determine whether it has moved based on the changes in the sensor data collected by the sensors. After determining its own movement, the intelligent lighting device scans the current device signals in the surrounding environment.
[0110] It should be noted that the above device signals can be wireless device signals, such as Bluetooth signals, WIFI signals, etc., or can be device signals between PLC devices. The embodiments of the present application do not limit the specific types of device signals.
[0111] In some embodiments of the present application, the intelligent lighting device can obtain signal strength information associated with itself, and the signal strength information associated with itself includes the signal strength of at least one third device around the intelligent lighting device.
[0112] In some examples, the strength of the device signal includes the received signal strength indication (RSSI). The intelligent lighting device can obtain the RSSI values of at least one third device around it, that is, the RSSI values of at least one third device.
[0113] Exemplarily, refer to Figure 6 , when the user moves the intelligent lighting device D from room A to the living room, the intelligent lighting device D can obtain the RSSI values of at least one third device around it. Among them, the at least one third device includes intelligent lighting device A, intelligent lighting device B, intelligent lighting device C, and intelligent speaker. For example, during the signal strength detection process, the intelligent lighting device D obtains the RSSI value of intelligent lighting device A as -30 dbm, the RSSI value of intelligent lighting device B as -55 dbm, the RSSI value of intelligent lighting device C as -35 dbm, and the RSSI value of the intelligent speaker as -40 dbm.
[0114] In some embodiments of the present application, the signal strength information obtained by the intelligent lighting device may further include the device information of the intelligent lighting device and the device information of at least one third device around the intelligent lighting device.
[0115] Among them, the device information may include the identification information of the device, such as device model, manufacturer, serial number, etc., and may also include detailed descriptions such as the hardware configuration, software information, and firmware version of the device. The device information may include the device type, device function type, and so on.
[0116] Exemplarily, the identification information corresponding to the intelligent lighting device may be unique information for identifying the identity of the intelligent lighting device. The identification information corresponding to the intelligent lighting device may include preset values of the intelligent lighting device, the MAC address of the intelligent lighting device, the hardware number of the intelligent lighting device, or a system-generated string. For example, it may be one or more plaintext or encrypted information such as the international mobile equipment identity (IMEI), mobile equipment identifier (MEID), personal identification number (PIN), and serial number (SN) corresponding to the intelligent lighting device.
[0117] In some embodiments of the present application, the intelligent lighting device can obtain the signal strength of one or more surrounding devices. If the signal strength of a certain device or certain devices is small, it is very likely that the device is far from the intelligent lighting device. Thus, subsequently determining the location information of the intelligent lighting device based on the location information of this device will reduce the accuracy of the determination. Therefore, the intelligent lighting device can determine at least one third device by setting a signal strength threshold. Specifically, the intelligent lighting device can obtain the signal strength of at least one surrounding device, and determine the device whose signal strength of at least one device is greater than the signal strength threshold as at least one third device.
[0118] Among them, the signal strength threshold may include -50 dbm, -60 dbm, -70 dbm, -75 dbm, -80 dbm, and -90 dbm, etc. The embodiments of the present application do not limit the specific value corresponding to the signal strength threshold.
[0119] Exemplarily, the RSSI value of the signal strength threshold is -50 dbm. The intelligent lighting device obtains the signal strengths of at least one surrounding device, and the RSSI values of the intelligent lighting device A is -30 dbm, the RSSI value of the intelligent lighting device B is -55 dbm, the RSSI value of the intelligent lighting device C is -35 dbm, the RSSI value of the smart speaker is -40 dbm, the RSSI value of the smart TV is -80 dbm, and the RSSI value of the smart humidifier is -90 dbm. Thus, the signal strengths of the intelligent lighting device A, the intelligent lighting device B, the intelligent lighting device C, and the smart speaker are all greater than the signal strength threshold, and the signal strengths of the smart TV and the smart humidifier are less than the signal strength threshold. In this way, the signal strengths of at least one third device obtained by the intelligent lighting device include the signal strengths of the intelligent lighting device A, the intelligent lighting device B, the intelligent lighting device C, and the smart speaker.
[0120] S502. The intelligent lighting device sends signal strength information to the home gateway.
[0121] S503. The home gateway receives the signal strength information and determines, based on the signal strength information, that the intelligent lighting device has switched from a position in the first space to a position in the second space.
[0122] In some embodiments of the present application, after the intelligent lighting device obtains the signal strength information associated with itself, it may send the signal strength information associated with itself to the home gateway. The home gateway may receive the signal strength information associated with the intelligent lighting device sent by the intelligent lighting device and determine, based on the signal strength information, that the intelligent lighting device has switched from a position in the first space to a position in the second space.
[0123] It should be noted that the signal strength information associated with the intelligent lighting device may not only be sent by the intelligent lighting device, but also be obtained by the home gateway itself in real time or periodically. The embodiments of the present application do not limit this.
[0124] Exemplarily, in a smart home scenario, the home gateway may store the corresponding relationship between the identification information of smart home devices and the location information of smart home devices. It can be understood that the identification information of different smart home devices may correspond to the same location information or different location information. There may be a certain mapping strategy between the above two to establish the above corresponding relationship. It should be noted that the above corresponding relationship includes but is not limited to the above two, and may also include other information of smart home devices. The embodiments of the present application do not specifically limit the composition of the above corresponding relationship.
[0125] In this way, the home gateway may store the corresponding relationship between the identification information of at least one third device and the location information of the third device. The corresponding relationship between the third device and its location information has been pre-stored in the home gateway. In this way, after the intelligent lighting device detects at least one third device around it, the current position of the intelligent lighting device can be determined through the location information of at least one third device around it.
[0126] In the embodiments of the present application, the home gateway may pre-store the corresponding relationship between at least one third device and its location information, and can determine the location information of each third device through the identification information of at least one third device and the corresponding relationship. Thus, the current position of the intelligent lighting device can be determined through the location information of each third device. Furthermore, it can be realized that the current position of the intelligent lighting device can be automatically judged without the user manually selecting the current position of the intelligent lighting device, reducing user operations and improving the user experience.
[0127] In one implementable manner, the home gateway may store the correspondence between the identification information of at least one third device and the location information of the third device in the form of a mapping table. It should be noted that in a home scenario, the location information of smart home devices may include rooms, living rooms, staircases, corridors, etc. Rooms may include master bedrooms, secondary bedrooms, washrooms, kitchens, balconies, studies, etc.
[0128] Exemplarily, referring to Table 1, continuing with the example where at least one third device includes smart lighting device A, smart lighting device B, smart lighting device C, and a smart speaker, the identification information corresponding to smart lighting device A is the SN number of smart lighting device A, and the location information corresponding to smart lighting device A may be the living room. The identification information corresponding to smart lighting device B is the SN number of smart lighting device B, and the location information corresponding to smart lighting device B may be the living room. The identification information corresponding to smart lighting device C is the SN number of smart lighting device C, and the location information corresponding to smart lighting device C may be the living room. The identification information corresponding to the smart speaker is the SN number of the smart speaker, and the location information corresponding to the smart speaker may be the living room.
[0129] It should be noted that for the convenience of managing the data related to the above at least one third device, the home gateway may store the data related to the above at least one third device in a corresponding data storage table. The data storage table may include multiple data rows and data columns, and present data such as the identification information of each of the above third devices and the location information corresponding to the third device through the data rows and data columns. The embodiments of the present application do not specifically limit the implementation manner of storing the data related to the above at least one third device.
[0130] Table 1
[0131] Identification information of the third device Location information corresponding to the third device SN number of intelligent lighting device A Living room SN number of intelligent lighting device B Living room SN number of intelligent lighting device C Living room SN number of intelligent speaker Living room
[0132] In some embodiments of the present application, the home gateway may determine that the smart lighting device switches from a position in the first space to a position in the second space based on the location information of at least one third device around the smart lighting device.
[0133] Specifically, the home gateway may determine the location information corresponding to at least one third device according to the identification information of at least one third device and the correspondence.
[0134] If the location information corresponding to at least one third device is the same and is the location in the second space, it is determined that the smart lighting device switches from the position in the first space to the position in the second space.
[0135] If the location information corresponding to at least one third device is different, calculate the average value of the signal strengths of the third devices corresponding to each different location information. When the location information with the highest average value is the location in the second space, determine that the intelligent lighting device switches from the location in the first space to the location in the second space.
[0136] In some embodiments of the present application, if the location information corresponding to each third device is the same and is the location in the second space, it can be directly determined that the intelligent lighting device is currently located in the second space.
[0137] Exemplarily, continue to refer to Table 1. The location information of each third device is the same, that is, the location information corresponding to the intelligent lighting device A, the intelligent lighting device B, the intelligent lighting device C, and the intelligent sound system is the living room. In this way, it can be shown that all the third devices around the intelligent lighting device are in the living room, so that it can be determined that the intelligent lighting device is currently located in the living room (the location in the second space). Furthermore, it can be determined that the intelligent lighting device switches from the location in the first space to the location in the second space.
[0138] In some embodiments of the present application, if the location information corresponding to each third device is different, the home gateway needs to determine the current location of the intelligent lighting device among the different location information corresponding to at least one third device.
[0139] Specifically, the home gateway can calculate the average value for the third devices corresponding to each different location information, that is, calculate the average value of the signal strengths of the third devices corresponding to each different location information. When the location information with the highest average value is the location in the second space, determine that the intelligent lighting device switches from the location in the first space to the location in the second space.
[0140] It can be understood that the embodiments of the present application can also calculate the average value of the signal strength values of one or more third devices in different location information, and determine the location information corresponding to the highest average value as the current location of the intelligent lighting device. This can avoid the situation of misjudgment caused by a device with too high a signal strength in a certain location information, thereby improving the accuracy of determining the location information.
[0141] Exemplarily, the location information of the intelligent lighting device A, intelligent lighting device B, and intelligent lighting device C is the living room, and the location information corresponding to the intelligent sound box is Room A. The RSSI value of the intelligent lighting device A is -30 dbm, the RSSI value of the intelligent lighting device B is -40 dbm, the RSSI value of the intelligent lighting device C is -35 dbm, and the RSSI value of the intelligent sound box is -40 dbm. Thus, the home gateway calculates the average value of the signal strengths of all devices (intelligent lighting device A, intelligent lighting device B, and intelligent lighting device C) in the living room, and the average value is -35 dbm. The average value of the signal strengths of the devices in Room A is -40 dbm. The location information corresponding to the relatively higher average value is the living room. Thus, the home gateway can determine that the intelligent lighting device D is located in the living room (the location of the second space). Furthermore, it can be determined that the intelligent lighting device has switched from the location in the first space to the location in the second space.
[0142] Thus, in the embodiment of the present application, when the location information corresponding to at least one third device is the same, the home gateway can directly determine the current location of the intelligent lighting device. When the location information corresponding to at least one third device is different, the average value of the signal strengths of one or more devices corresponding to different location information is calculated to determine the current location of the intelligent lighting device. It can not only automatically determine the current location of the intelligent lighting device, but also reduce the operation process corresponding to the user and improve the user experience.
[0143] In some embodiments of the present application, the home gateway can set the location information bound to the intelligent lighting device as the location in the second space.
[0144] Specifically, in the process of setting the location information bound to the intelligent lighting device as the location in the second space, when the intelligent lighting device is bound with location information, the location information bound to the intelligent lighting device is changed to the location in the second space, that is, the location in the first space bound to the intelligent lighting device is changed to the location in the second space. Thus, the location bound to the intelligent lighting device can be automatically changed without the user manually selecting the current location of the intelligent lighting device for change, reducing the user operation and improving the user experience.
[0145] It can be understood that when the intelligent lighting device is bound with location information, the location information bound to the intelligent lighting device is the location information bound before the intelligent lighting device moves, and the location in the second space is the current location information bound after the intelligent lighting device moves.
[0146] Exemplarily, the home gateway may store a first correspondence between the identification information of the intelligent lighting device and the position in the first space. When the first correspondence is stored in the home gateway, the home gateway updates the first correspondence according to the position of the intelligent lighting device in the second space to generate a second correspondence.
[0147] Wherein, the first correspondence is the correspondence between the identification information of the intelligent lighting device and the position in the first space, and the second correspondence is the correspondence between the identification information of the intelligent lighting device and the position in the second space.
[0148] In this way, when the position in the first space corresponding to the intelligent lighting device is stored in the home gateway, the position of the intelligent lighting device in the first space can be changed to the position of the intelligent lighting device in the second space.
[0149] In some examples, the home gateway may also store the second correspondence between the intelligent lighting device and the position of the intelligent lighting device in the second space in the form of a mapping table.
[0150] Exemplarily, continue to refer to Figure 6 , the intelligent lighting device D moves from room A (the position in the first space) to the living room (the position in the second space). The first correspondence of the intelligent lighting device D may include the SN number corresponding to the intelligent lighting device D and the position information of the intelligent lighting device D being room A.
[0151] In this way, the home gateway can update the first correspondence according to the position in the second space to generate a second correspondence. It can be understood that after the home gateway generates the second correspondence, the first correspondence can be overwritten by the second correspondence, that is, the first correspondence has been deleted.
[0152] Exemplarily, the second correspondence of the intelligent lighting device D may include the SN number corresponding to the intelligent lighting device D and the position information of the intelligent lighting device D being the living room.
[0153] In some embodiments of the present application, after the home gateway sets the position information bound to the intelligent lighting device to the position in the second space, it may send the bound position in the second space to the server.
[0154] Specifically, the home gateway may send the second correspondence to the server after generating the above-mentioned second correspondence. After receiving the second correspondence sent by the home gateway, the server may save the second correspondence.
[0155] In summary, the home gateway according to the embodiment of the present application can automatically determine that the position of the smart lighting device is switched from the position in the first space to the position in the second space according to the signal strength information associated with the smart lighting device, and change the position information bound to the smart lighting device. When the smart lighting device is moved, there is no need for the user to manually configure the smart lighting device, reducing a series of cumbersome operations. Furthermore, the user experience is improved.
[0156] The above content is that the user has moved the smart lighting device, thus changing the position information bound to the smart lighting device. Of course, the smart lighting device can also be a newly added device for the user. That is to say, there is no corresponding relationship between the identification information of the smart lighting device and its position information in the home gateway, that is, the smart lighting device does not have a corresponding position information set. In this way, the home gateway can automatically bind the corresponding position information for the newly added smart lighting device.
[0157] In some embodiments of the present application, during the process of setting the position information bound to the smart lighting device as the position in the second space, when the smart lighting device is not bound with position information, the home gateway binds the identification information of the smart lighting device with the position in the second space. That is to say, the home gateway automatically associates the identification information of the smart lighting device with the position in the second space. There is no need for the user to manually select the current position of the smart lighting device for binding, reducing user operations and improving the user experience.
[0158] Specifically, the home gateway can associate the identification information of the smart lighting device with the position in the second space when the above first corresponding relationship does not exist.
[0159] Exemplarily, the home gateway determines that the position in the second space is the living room. Then, the home gateway can associate the SN number of the smart lighting device D with the living room, generate a corresponding relationship and save the corresponding relationship.
[0160] In this way, for the newly added smart home device in the embodiment of the present application, the home gateway can automatically bind the position information of the smart home device when determining the current position of the smart home device. The user only needs to place the smart home device in a suitable position, and there is no need to use the terminal device to configure the smart home device, simplifying the operation process. Furthermore, the user experience is improved.
[0161] In some embodiments of the present application, the above-mentioned home gateway may determine that a smart home device moves from a position in a first space to a position in a second space. The position in the space may be the position of the space in the home environment, such as the living room, Room A, Room B, and Room C, etc. Of course, the position in the space may also be the specific position of the space in the home environment, such as the central position of the living room, the central position of Room A, the edge position of Room B, and the edge position of Room C, etc. The embodiments of the present application do not specifically limit the implementation manner of the position information corresponding to the smart home device.
[0162] S504. The home gateway binds the intelligent lighting device to a first application scenario according to the current position of the intelligent lighting device in the second space, and the first application scenario is used to control devices in at least one space including the second space.
[0163] In the smart home scenario, the user can edit the status information of different smart home devices into an application scenario. When the user selects this application scenario, control strategies can be sent to multiple smart home devices simultaneously without operating each smart home device one by one. After the user moves a smart home device or adds a new smart home device, the user not only needs to manually modify the position information of the smart home device, but also needs to modify the application scenarios set corresponding to the position information one by one.
[0164] Exemplarily, the user needs to re-edit the application scenarios corresponding to the positions in the first space and the second space. Specifically, the user needs to select the application scenario corresponding to the position of the smart home device in the second space on the mobile phone, add the smart home device in the application scenario, configure the execution actions and execution order corresponding to the smart home device, and save the application scenario corresponding to the position of the smart home device in the second space. The user also needs to select the application scenario corresponding to the position in the first space, delete the smart home device in the application scenario, and save the application scenario corresponding to the position in the first space. In this way, after the user moves a smart home device or adds a new smart home device, if the application scenario needs to be modified, more cumbersome steps are required for the user to operate.
[0165] In some embodiments of the present application, at least one application scenario arranged at the position in the second space is pre-stored in the home gateway. After the user moves the intelligent lighting device, the home gateway can determine at least one application scenario arranged at the position in the second space according to the position in the second space. The home gateway can also search for a scenario that matches it, that is, the first application scenario, in at least one application scenario according to the device information of the intelligent lighting device, and automatically bind the intelligent lighting device to the first application scenario.
[0166] Among them, the first application scenario is used to control devices in at least one space including the second space. The first application scenario can be used to control devices in the second space or devices in other spaces. The embodiments of the present application do not specifically limit the first application scenario.
[0167] Specifically, the home gateway can search for the first application scenario in at least one application scenario according to the device information of the intelligent lighting device. Among them, the device information of all smart home devices in the home can be pre-stored in the home gateway. For example, the device information of the intelligent lighting device can include the device type and / or the device function type, and can also include the identification information and location information of the intelligent lighting device. The device type of the device in the first application scenario is the same as the device type of the intelligent lighting device, or the device function type of the device in the first application scenario is the same as the device function type of the intelligent lighting device, or the device type and device function type of the device in the first application scenario are the same as the device type and device function type of the intelligent lighting device.
[0168] It should be noted that the device information of the intelligent lighting device can also include other information corresponding to the intelligent lighting device. The embodiments of the present application do not limit the specific composition in the device information.
[0169] For example, the identification information of the intelligent lighting device A can be the intelligent lighting device A, the location information is the living room, the device type is a spotlight / grid lamp / magnetic adsorption lamp, and the device function type is key lighting (tabletop). For another example, the identification information of the intelligent lighting device B can be the intelligent lighting device B, the location information is the living room, the device type is a two-color temperature light strip / color cold and warm light strip (RGBCW), and the device function type is ambient lighting (ground).
[0170] In an implementable manner, the home gateway can pre-search for a scenario matching the intelligent lighting device according to the device type in the device information. For example, there are three scenarios corresponding to the living room, namely the first scenario: the reception light scenario, the second scenario: the fresh air system scenario, and the third scenario: the audio device scenario. Then, after the intelligent lighting device is added to the living room, the home gateway can search for the first application scenario matching the device type according to the device type in the device information.
[0171] In another implementable manner, the home gateway can also search for the first application scenario matching the intelligent lighting device according to the device function type in the device information.
[0172] In another implementable manner, the home gateway can also search for the first application scenario matching the intelligent lighting device according to the device function type and the device type in the device information.
[0173] In some embodiments of the present application, the control strategy corresponding to each scenario may include the scenario name, the trigger action corresponding to the triggered scenario, and the linkage control information among multiple smart home devices corresponding to the usage scenario. The linkage control information may include the execution order, identification information, location information, device type, device function type, device execution action, action parameters, etc. of the multiple smart home devices that need to be controlled in linkage. The linkage control information may also include the linkage trigger condition among the multiple smart home devices, the linkage execution action among the multiple smart home devices, the linkage parameter setting among the multiple smart home devices, etc.
[0174] It should be noted that the control strategy corresponding to the scenario may also include other information, and the specific composition of the control strategy corresponding to the scenario is not specifically limited in the embodiments of the present application.
[0175] The home gateway may arrange the corresponding scenario according to the control strategy corresponding to each scenario. Exemplarily, the home gateway may convert the status information of the smart home devices associated with the control strategy into the control strategy according to the control strategy and conversion strategy of the application scenario. The conversion strategy may refer to format conversion. For example, the status information may be converted into a control strategy in json format or xml format.
[0176] In this way, after the home gateway finds the first application scenario in at least one application scenario, it may control the intelligent lighting device to perform the corresponding operation based on the first application scenario, so as to realize binding the intelligent lighting device to the first application scenario.
[0177] Among them, the first application scenario corresponds to a first control strategy, and the first control strategy is used to control the devices associated with the first application scenario. It can be understood that after the home gateway detects the trigger action corresponding to the first application scenario, it may control the smart home devices associated with the first application scenario to perform corresponding actions according to the first control strategy. It should be noted that the first control strategy may also be understood as a control instruction, and after the smart home device receives the control instruction, it performs the corresponding operation.
[0178] In some embodiments of the present application, during the process of the home gateway controlling the intelligent lighting device to perform the corresponding operation according to the first application scenario, it may add a second device to the first application scenario and update the first control strategy. Among them, the first control strategy includes at least one of the execution order, device execution action, and action parameters of at least one device used for control in the first application scenario.
[0179] In this way, after the home gateway detects the triggering action corresponding to the first application scenario, it can control the devices associated with the first application scenario to perform corresponding actions according to the updated first control policy. For example, it can control the devices (such as the second device) associated with the first application scenario to perform corresponding actions according to at least one of the execution order of the devices, the actions performed by the devices, and the action parameters in the first control policy.
[0180] Among them, the first control policy may further include at least one of the location information, device type, and device function type of at least one device used for control in the first application scenario.
[0181] In some embodiments, the home gateway can update the first control policy according to the device information of the second device.
[0182] Exemplarily, the smart home devices associated with the first application scenario may include a living room light, an air conditioner, a TV, a rice cooker, and a water heater. The first control policy may include multiple sub-policies. For example, the control policy for the living room light may be to turn on the living room light and set the mode of the living room light to daytime; the control policy for the air conditioner may be to turn on the air conditioner, set the mode of the air conditioner to the cooling mode, set the temperature of the air conditioner to 15 degrees, and set the wind speed of the air conditioner to low; the control policy for the TV may be to turn on the TV; the control policy for the water heater may be to turn on the water heater; the control policy for the rice cooker may be to turn on the rice cooker.
[0183] In some embodiments of the present application, referring to Figure 7 , the process of the home gateway updating the first control policy may include the following steps:
[0184] The home gateway searches in the first control policy for a target device (such as S701) whose device type and / or device function type are the same as those in the device information of the smart lighting device. Then, the home gateway can set the smart lighting device according to the execution order, execution action, and action parameters of the target device (such as S702). The home gateway adds the device information of the smart lighting device and the execution order, execution action, and action parameters of the set smart lighting device to the first control policy (such as S703). Thus, the update of the first control policy is completed.
[0185] Exemplarily, referring to Table 2, the first application scenario may be the above-mentioned first scenario: the reception lighting scenario. The first control strategy may include Lamp A with an execution order of 1, a location information of the living room, a device type of spotlight / magnetic adsorption lamp / grid lamp, a device function type of accent lighting (tabletop), an execution action of slowly turning on (process: 2 seconds), an action parameter of dimming to 90%, and a color temperature adjustment to 3500K. Lamp B with an execution order of 2, a location information of the living room, a device type of spotlight / downlight / magnetic adsorption lamp / grid lamp / linear lamp, a device function type of basic lighting (floor), an execution action of slowly turning on (process: 2 seconds), an action parameter of dimming to 80%, and a color temperature adjustment to 3500K. Lamp C with an execution order of 3, a location information of the living room, a device type of dual-color temperature light strip / colorful cold and warm light strip, a device function type of ambient lighting (wall), an execution action of slowly turning on (process: 2 seconds), an action parameter of dimming to 60%, and a color temperature adjustment to 3500K.
[0186] Lamp D with an execution order of 4, a location information of the living room, a device type of dual-color temperature light strip / colorful cold and warm light strip, a device function type of ambient lighting (wall), an execution action of slowly turning on (process: 2 seconds), an action parameter of dimming to 80%, and a color temperature adjustment to 3500K. Lamp E with an execution order of 5, a location information of the living room, a device type of spotlight / magnetic adsorption lamp / grid lamp, a device function type of accent lighting (wall), an execution action of slowly turning on (process: 2 seconds), an action parameter of dimming to 90%, and a color temperature adjustment to 3500K. Lamp F with an execution order of 6, a location information of the living room, a device type of dual-color temperature light strip / colorful cold and warm light strip, a device function type of ambient lighting (ceiling), an execution action of slowly turning on (process: 2 seconds), an action parameter of dimming to 90%, and a color temperature adjustment to 3500K. Lamp G with an execution order of 7, a location information of the living room, a device type of ceiling lamp / chandelier / fancy lamp, a device function type of decorative lighting, an execution action of slowly turning on (process: 2 seconds), an action parameter of dimming to 60%, and a color temperature adjustment to 3500K.
[0187] Continuing to refer to Figure 6 , the device information of the moving intelligent lighting device includes that the identification information of intelligent lighting device D can be intelligent lighting device D, the location information is the living room, the device type is spotlight / grid lamp / magnetic adsorption lamp, and the device function type is accent lighting (tabletop).
[0188] Combined with the first control strategy, the target device with the same device type and device function type as that of the intelligent lighting device D in the device information is found to be Lamp A. Then, the home gateway can adjust the intelligent lighting device D according to the execution sequence, execution action, and action parameters of Lamp A, that is, set the execution sequence of the intelligent lighting device D to Sequence 1, the execution action to slowly turn on (process time: 2 seconds), and the action parameters to dim by 80% and adjust the color temperature to 3500K. Then, the home gateway can also add the device information of the intelligent lighting device D and the adjusted execution sequence, execution action, and action parameters of the intelligent lighting device D to the first control strategy to complete the update of the first control strategy.
[0189] In this way, after the home gateway detects an operation that triggers the click of the meeting light scene, it can control the devices associated with the first application scene to perform corresponding actions according to the updated first control strategy. Thus, after receiving the control instruction, Lamp A - Lamp G and the intelligent lighting device D can perform corresponding operations according to the execution sequence, execution action, and action parameters.
[0190] Table 2
[0191]
[0192] It should be noted that the above adjustment of the intelligent lighting device is only for illustrative purposes. The intelligent lighting device can be adaptively adjusted according to different preset strategies and action parameters to adjust the action parameters of the intelligent lighting device to appropriate values. The embodiments of the present application do not specifically limit the process of adjusting the intelligent lighting device.
[0193] The embodiments of the present application can automatically bind the moved and / or added smart home devices to the first application scene corresponding to the position in the second space after the smart home devices are moved and / or added.
[0194] Specifically, according to the device information of the smart home device and the first control strategy of the first application scene, the smart home device is automatically added to the first application scene and set to perform corresponding actions. On the basis of the original first application scene, its first control strategy is updated to adaptively add the smart home device. Thus, the effect of automatically adding the smart home device to the application scene is achieved. It simplifies a series of cumbersome operations of the user and improves the user experience.
[0195] When there is a first application scenario at a location in the second space and the first application scenario is used to control multiple devices, the home gateway can automatically bind the intelligent lighting device to the first application scenario. Of course, when there is no first application scenario at the location in the second space, the home gateway can also create a target application scenario and automatically bind the intelligent lighting device to the target application scenario. Among them, the control policy corresponding to the target application scenario can be pre-stored in the home gateway.
[0196] In some examples, one or more application scenario templates can be pre-stored in the home gateway, and each application scenario template corresponds to a different control policy. In this way, the home gateway can search for a matching application scenario template according to the device information of the intelligent lighting device, such as searching for the corresponding application scenario template according to the device type and / or device function type, so as to create a target application scenario. Furthermore, the control policy corresponding to the target application scenario is used to control the second device at the location in the second space.
[0197] In some embodiments of the present application, when the home gateway determines that the intelligent lighting device switches from a location in the second space to a location in the third space, the home gateway can change the first application scenario to which the intelligent lighting device is bound to a second application scenario, and the second application scenario is used to control the devices in at least one space including the third space.
[0198] Based on the above content, when the intelligent lighting device does not correspond to an application scenario and its location information changes, the home gateway can directly add the intelligent lighting device to the first application scenario corresponding to the current location. When the intelligent lighting device corresponds to an application scenario and its location information changes, such as when the current location switches to a location in the third space, the home gateway can change the first application scenario to which the intelligent lighting device is bound to a second application scenario.
[0199] In this way, after the intelligent home device in the embodiment of the present application is bound to an application scenario and its location information changes, the application scenario to which it is bound can be automatically changed without the user performing a scenario change operation. This improves the control flexibility for intelligent home devices and enhances the user experience.
[0200] It should be noted that the process of the home gateway changing the first application scenario to which the intelligent lighting device is bound to a second application scenario is similar to the specific steps of binding the intelligent lighting device to the first application scenario described above, and will not be elaborated here. At the same time, the above-mentioned third space can be the same space as the first space and the second space, or it can be a different space. The embodiment of the present application does not limit the specific implementation manner of the space.
[0201] In some embodiments of the present application, after the home gateway updates the above first control policy, it may also send the updated first control policy to the server, and the server may save the updated first control policy after receiving it.
[0202] In some embodiments of the present application, the home gateway may also output a first prompt message, which is used to prompt to set the location information bound to the intelligent lighting device to a location in the second space. The first 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.
[0203] Exemplarily, referring to Figure 8 , the home gateway may also display the first prompt message on the current display interface, and the first prompt message may be implemented as the text "The location information bound to the intelligent lighting device has been set to a location in the second space". Of course, the mobile phone may also control the speaker to play the prompt message, and the prompt message may be implemented as a prompt tone such as "The location information bound to the intelligent lighting device has been set to a location in the second space".
[0204] After the home gateway sets the location information of the intelligent lighting device to a location in the second space, it may output the above first prompt message to prompt the user that the binding of the location in the second space has been completed. Furthermore, the interactivity between the user and the home gateway and the flexibility of the binding process are improved.
[0205] In some embodiments of the present application, the home gateway may also output a second prompt message, which is used to prompt that the intelligent lighting device has been added to the first application scenario. Similarly, the second 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.
[0206] Exemplarily, referring to Figure 9 , the home gateway may also display the second prompt message on the current display interface, and the second prompt message may be implemented as the text "The intelligent lighting device has been added to the first application scenario". Of course, the mobile phone may also control the speaker to play the prompt message, and the prompt message may be implemented as a prompt tone such as "The intelligent lighting device has been added to the first application scenario".
[0207] After the home gateway updates the first control policy, it may output the above second prompt message to prompt the user that the intelligent lighting device has been added to the first application scenario. Furthermore, the interactivity between the user and the home gateway and the flexibility of the change process are improved.
[0208] It should be noted that the above descriptions are all exemplified by taking the first device as the home gateway device. Of course, the above device binding process can also be executed according to different devices in different scenarios.
[0209] In some solutions, multiple embodiments of the present application can be combined and the combined solution can be implemented. Optionally, some operations in the processes of the method embodiments are optionally combined, and / or the order of some operations is optionally changed. Moreover, 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. There can also be other execution orders between the steps. It is not intended to indicate that the execution order is the only order in which these operations can be executed.
[0210] Those of ordinary skill in the art will think of various ways to reorder the operations described in the embodiments of the present application. Additionally, it should be noted that the process details involved in a certain embodiment of the present application are similarly applicable to other embodiments in a similar manner, or different embodiments can be combined and used.
[0211] Furthermore, certain steps in the method embodiments can be equivalently replaced with other possible steps. Or, certain steps in the method embodiments can be optional and can be deleted in certain usage scenarios. Or, other possible steps can be added in the method embodiments.
[0212] Moreover, the method embodiments can be implemented independently or in combination.
[0213] The embodiments of the present application also provide an electronic device, such as the above-mentioned home gateway, which may include one or more processors, a memory, and a communication interface.
[0214] The memory and the communication interface are coupled to the processor. For example, the memory, the communication interface, and the processor can be coupled together through a bus.
[0215] The communication interface is used for data transmission with other devices. The memory stores computer program code. The computer program code includes computer instructions, and when the computer instructions are executed by the processor, the electronic device is caused to execute the relevant method steps in the embodiments of the present application.
[0216] The bus can be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc. The above bus can be divided into an address bus, a data bus, a control bus, etc.
[0217] An embodiment of the present application further provides a device interaction system. The device interaction system includes a first device and a second device, and the first device is used to control the second device.
[0218] Wherein, the second device is configured to obtain signal strength information associated with the second device.
[0219] The second device is further configured to send the signal strength information associated with the second device to the first device.
[0220] The first device is configured to receive the signal strength information associated with the second device.
[0221] The first device is further configured to determine that the second device has switched from a position in the first space to a position in the second space according to the signal strength information associated with the second device.
[0222] The first device is further configured to bind the second device to a first application scenario according to the position of the second device currently in the second space. The first application scenario is used to control devices in at least one space including the second space.
[0223] An embodiment of the present application further provides a communication device. Refer to (A) in Figure 10 The communication device includes a communication module 1001, a location information execution module 1002, and a scenario execution module 1003. Among them, the communication module is used to receive the signal strength information associated with the second device sent by the second device.
[0224] The location information execution module is used to determine that the second device has switched from a position in the first space to a position in the second space according to the signal strength information associated with the second device.
[0225] The scenario execution module is used to bind the second device to a first application scenario according to the position of the second device currently in the second space. The first application scenario is used to control devices in at least one space including the second space.
[0226] In some embodiments of the present application, the communication device further includes a scenario subsystem execution module 1004.
[0227] The scenario execution module is further used to find the first application scenario in at least one application scenario according to the position of the second device currently in the second space after generating the second correspondence.
[0228] The scenario subsystem execution module is used to control the second device to perform corresponding operations based on the first application scenario. Specifically, the scenario subsystem execution module can update the first control strategy according to the device information of the second device.
[0229] In some examples, taking the first application scenario as the reception lighting scenario, the reception lighting scenario may include at least one intelligent lighting device, and multiple intelligent lighting devices may form a lighting group. Continuing to refer to Figure 10 In (B) of FIG. Figure 10 , the scenario subsystem execution module 1004 may specifically include a lighting calculation module, a lighting condition module, a lighting control module, a lighting group calculation module, and a lighting group control module. The lighting group calculation module is used to calculate the action parameters corresponding to the lighting group, and the lighting group control module is used to control the lighting group to perform corresponding actions according to the action parameters. The lighting calculation module is used to calculate the action parameters corresponding to each intelligent lighting device, the lighting condition module is used to configure the trigger conditions for each intelligent lighting device, and the lighting control module is used to control each intelligent lighting device to perform corresponding actions according to the action parameters.
[0230] It should be noted that in this communication device, corresponding scenario execution modules and scenario subsystem execution modules can be set for different scenarios, or different functional modules can be set in each module according to the usage functions. The embodiments of the present application do not specifically limit this.
[0231] The embodiments of the present application further provide a home gateway, which may include a communication module 1001, a location information execution module 1002, a scenario execution module 1003, and a scenario subsystem execution module 1004. The home gateway can execute the relevant method steps in the above method embodiments.
[0232] The embodiments of the present application further provide a computer-readable storage medium, in which computer program code is stored. When the above-mentioned processor executes the computer program code, the electronic device executes the relevant method steps in the above method embodiments.
[0233] The embodiments of the present application further provide a computer program product, which, when running on a computer, causes the computer to execute the relevant method steps in the above method embodiments.
[0234] The embodiments of the present application further provide a chip system, including: a processor, the processor is coupled with a memory, and the memory is used to store programs or instructions. When the programs or instructions are executed by the processor, the chip system implements the method in any of the above method embodiments.
[0235] Optionally, the processor in the chip system can be one or more. The processor can be implemented by hardware or by software. When implemented by hardware, the processor can be a logic circuit, an integrated circuit, etc. When implemented by software, the processor can be a general-purpose processor, which is implemented by reading the software code stored in the memory.
[0236] Optionally, there may also be one or more memories in the chip system. The memory may be integrated with the processor or separately provided from the processor. The embodiments of the present application do not limit this. Exemplarily, the memory may be a non-transitory processor, such as a read-only memory (ROM), which may be integrated with the processor on the same chip or separately provided on different chips. The embodiments of the present application do not specifically limit the type of the memory and the setting manner of the memory and the processor.
[0237] Exemplarily, the chip system may be a field programmable gate array (FPGA), an application specific integrated circuit (ASIC), a system on chip (SoC), a central processing unit (CPU), a network processor (NP), a digital signal processing circuit (DSP), a micro controller unit (MCU), a programmable logic device (PLD), or other integrated chips.
[0238] The electronic device, computer storage medium, or computer program product provided in the present application is all 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 elaborated here.
[0239] Through the description of the above embodiments, those skilled in the art can clearly understand that for the convenience and simplicity of description, only the above division of each functional module is used as an example. In actual applications, the above functions may be allocated to different functional modules according to needs, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above.
[0240] In 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 merely illustrative. For example, the division of modules or units is only a logical function division. In actual implementation, there may be other division methods. 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 displayed or discussed couplings or direct couplings or communication connections to each other can be through some interfaces. The indirect couplings or communication connections of devices or units can be in electrical, mechanical or other forms.
[0241] The units described as separate components may or may not be physically separated. The components shown as units may be one physical unit or multiple physical units, and can be located in one place or distributed to multiple different places. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0242] In addition, each functional unit in various embodiments of the present application can be integrated in a processing unit, or each unit can exist physically alone, or two or more units can be integrated in one unit. The above-mentioned integrated units can be implemented in the form of hardware or in the form of software functional units.
[0243] 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 embodiments of the present application, in essence, or the part that makes a contribution, or all or part of the technical solution, can be embodied in the form of a software product. The software product is stored in a storage medium and includes several instructions for causing a device (which can be a single-chip microcomputer, a chip, etc.) or a processor to execute all or part of the steps of the methods in various embodiments of the present application. The aforementioned storage medium includes: various media such as USB flash drives, mobile hard disks, read-only memories (ROM), random access memories (RAM), magnetic disks or optical discs that can store program codes.
[0244] The above content is only the specific implementation manner 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 should be covered by the protection scope of the present application. Therefore, the protection scope of the present application should be subject to the protection scope of the claims.
Claims
1. A device binding method, characterized in that, Applied to a first device, including: Obtain signal strength information associated with a second device; Determine that the second device has switched from a position in a first space to a position in a second space according to the signal strength information associated with the second device; Bind the second device to a first application scenario according to the position of the second device currently in the second space, where the first application scenario is used to control devices in at least one space including the second space.
2. The method according to claim 1, wherein The method further includes: Set the position information bound to the second device to the position in the second space.
3. The method according to claim 2, characterized in that, The setting the position information bound to the second device to the position in the second space includes: When the second device is bound with position information, change the position of the second device bound in the first space to the position in the second space.
4. The method according to claim 2 or 3, characterized in that, The setting the position information bound to the second device to the position in the second space includes: When the second device is not bound with position information, bind the second device to the position in the second space.
5. The method according to any one of claims 1 to 4, characterized in that, The binding the second device to the first application scenario according to the position of the second device currently in the second space includes: Determine at least one application scenario arranged at the position in the second space according to the position in the second space; Search for the first application scenario in the at least one application scenario according to the device information of the second device; Wherein, the device information includes the device type and / or device function type of the second device; the device type of the device in the first application scenario is the same as the device type of the second device, or the device function type of the device in the first application scenario is the same as the device function type of the second device, or the device type and device function type of the device in the first application scenario are the same as the device type and device function type of the second device; Bind the second device to the first application scenario.
6. The method according to claim 5, wherein The first application scenario corresponds to a first control policy, and the first control policy is used to control devices associated with the first application scenario; the binding the second device to the first application scenario includes: Add the second device to the first application scenario and update the first control policy; Wherein, the first control policy includes at least one of the execution order, device execution action, and action parameters of at least one device used for control in the first application scenario.
7. The method according to any one of claims 1-6, characterized in that, The method further includes: When it is determined that the second device has switched from a position in the second space to a position in a third space, change the first application scenario bound to the second device to a second application scenario, where the second application scenario is used to control devices in at least one space including the third space.
8. The method according to any one of claims 1-7, characterized in that The signal strength information associated with the second device includes the signal strength of at least one third device around the second device.
9. The method according to claim 8, wherein The first device also stores the correspondence between the identification information of at least one of the third devices and the location information of the third device, and the signal strength information associated with the second device further includes the identification information of at least one of the third devices; the determining, according to the signal strength information associated with the second device, that the second device switches from a position in the first space to a position in the second space includes: Determining the location information corresponding to at least one of the third devices according to the identification information of at least one of the third devices and the correspondence; If the location information corresponding to at least one of the third devices is the same and is the location in the second space, determining that the second device switches from the position in the first space to the position in the second space; If the location information corresponding to at least one of the third devices is different, calculating the average value of the signal strengths of the third devices corresponding to the different location information; When the location information with the highest average value is the location in the second space, determining that the second device switches from the position in the first space to the position in the second space.
10. The method according to claim 6, characterized in that, The method further includes: Sending the updated first control policy and the position in the second space to the server.
11. The method according to claim 2, characterized in that, The method further includes: Outputting a first prompt message for prompting that the location information bound to the second device has been set to the location in the second space.
12. The method according to claim 7, wherein The method further includes: Outputting a second prompt message for prompting that the second device has been added to the first application scenario.
13. An equipment 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; The second device is configured to obtain the signal strength information associated with the second device; The second device is further configured to send the signal strength information associated with the second device to the first device; The first device is configured to receive the signal strength information associated with the second device; The first device is further configured to determine, according to the signal strength information associated with the second device, that the second device switches from a position in the first space to a position in the second space; The first device is further configured to bind the second device to a first application scenario according to the current position of the second device in the second space, and the first application scenario is used to control devices in at least one space including the second space.
14. An electronic device, characterized in that, The electronic device includes a memory and one or more processors; the memory is coupled to the processors; 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 processors, the electronic device executes the device binding method according to any one of claims 1-12.
15. A computer-readable storage medium, characterized in that, Instructions are stored in the computer-readable storage medium, and when the instructions run on a computer, the computer can execute the device binding method according to any one of claims 1-12.