Equipment control method and electronic equipment

By generating the control component capability of the second device on the first device, the problem of insufficient efficiency and convenience of existing device control methods is solved, and the effect of implementing device control is achieved without moving, which improves the efficiency and user experience of device control.

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

Patent Information

Application Number
CN202311615490.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-11-28
Publication Date
2025-05-30

AI Technical Summary

Technical Problem

The existing equipment control method is not efficient and convenient enough. Users need to move to a specific location to use the control end, which affects the efficiency of equipment control.

Method used

By acquiring the control component capabilities of the second device and generating corresponding components on the first device to achieve control of the third device, the user can realize device control functions similar to the second device through the first device without moving.

Benefits of technology

Improves the efficiency of device control, and users can realize device control without moving, improving the human-computer interactive experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120074970A_ABST
    Figure CN120074970A_ABST
Patent Text Reader

Abstract

The invention discloses an equipment control method and electronic equipment, relates to the technical field of terminals, and can improve equipment control efficiency. The method comprises the following steps: obtaining the capability of a first component of a second device, wherein the capability of the first component is used for controlling at least one third device to execute a first operation; generating a second component having the capability of the first component; and in response to an operation of a user on the second component, executing the first operation on the at least one third device. Therefore, the first equipment has the control capability of at least the first component of the second equipment, and equipment control is executed according to the control capability, so that a user can realize an equipment control function similar to that of the second equipment through the first equipment without moving to the second equipment, the time consumed by equipment control can be shortened, and the equipment control efficiency can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of terminal technologies, and in particular, to a device control method and an electronic device. Background Art

[0002] Currently, with the development of whole-house intelligence, the number of smart devices in users' homes has increased. Some of these devices can be used as control terminals to control other devices. For example, devices such as a central control screen, a Bluetooth panel, and a Bluetooth button can be used as control terminals. Some control terminals, such as a Bluetooth panel, can be installed on a wall, and some control terminals, such as a Bluetooth button, can be moved. When a user wants to use a control terminal, they need to walk to the location where the Bluetooth panel is installed on the wall or search for the corresponding Bluetooth button, and then they can control the device through the control terminal. It can be seen that the current device control method is not efficient and convenient enough, and there is an urgent need to propose an efficient device control method. Summary of the Invention

[0003] This application provides a device control method and an electronic device, which can improve the efficiency of device control.

[0004] To achieve the above object, the embodiments of this application adopt the following technical solutions.

[0005] In a first aspect, this application provides a device control method. The execution subject of this method can be an electronic device or a component located in the electronic device (for example, a chip, a chip system, or a processor, etc.). Hereinafter, the description will be given taking the execution subject as an electronic device as an example. The method may include: obtaining the capabilities of a first component of a second device, where the capabilities of the first component are used to control at least one third device to perform a first operation; generating a second component having the capabilities of the first component; and in response to a user's operation on the second component, performing the first operation on the at least one third device.

[0006] The first operation may include one or more operations. For example, based on different device control granularities, when controlling an execution scenario, one or more third devices may perform multiple operations.

[0007] The solution of this application enables a first device to have the control capabilities of at least a first component of a second device and perform device control accordingly. In this way, the user can implement a device control function similar to that of the second device through the first device without moving to the second device, which can reduce the time spent on device control and improve the device control efficiency.

[0008] In a possible design, the styles of the first component and the second component are the same or different.

[0009] For example, the watch uses a hardware bezel to simulate the rotatable outer ring of a Bluetooth button, and the style of the watch bezel can be different from that of the rotatable outer ring. For another example, the watch simulates the rotatable outer ring of a Bluetooth button through a component in the interface, and the style of the watch component can be the same as or different from that of the rotatable outer ring. For yet another example, the watch simulates a component (the first component) in a panel interface through a component (the second component) in the interface, and the styles of the two components can be the same or different.

[0010] In this way, the first device can provide a rich variety of second components for implementing similar device control functions of the second device, enhancing the human-computer interaction experience during device control.

[0011] In a possible design, the first component includes a software component or a hardware part, and / or the second component includes a software component or a hardware part.

[0012] The software component includes, but is not limited to, components in the interface. The hardware part is, for example but not limited to, the watch bezel.

[0013] In a possible design, the first interface on the second device includes at least one component; the at least one component includes the first component;

[0014] The ability to obtain the first component of the second device includes:

[0015] Obtaining the ability of the at least one component on the first interface, and generating at least one component on the first device corresponding to the ability of the at least one component, where the at least one component on the first device includes the second component.

[0016] In a possible design, at least one component on the first interface includes a third component, and the ability of the third component is used to control at least one fourth device to perform a second operation; it further includes:

[0017] Generating a fourth component having the ability of the third component;

[0018] In response to the user's operation on the fourth component, performing the second operation on the at least one fourth device.

[0019] In a possible design, it further includes:

[0020] Generating a second interface, where the second interface includes the second component, and the styles of the first interface and the second interface are the same or different, or the style of the first component is different from that of the second component.

[0021] In this way, the first device provides a second interface, enabling the user to perform operations through the second interface to conveniently and quickly achieve similar device control capabilities of the second device.

[0022] In a possible design, it further includes:

[0023] Obtain the user's editing operation on the second component;

[0024] According to the editing operation, update the capabilities of the second component; the updated capabilities are used to control at least one fifth device to perform a third operation, or to control the at least one third device to perform a fourth operation, or to control the at least one fifth device to perform the first operation.

[0025] In this way, the first device can update the capabilities of the second component on the first device based on the user's needs to meet the user's device control requirements and improve the user experience of device control.

[0026] In a possible design, it further includes: copying the updated capabilities of the second component to the first component or the fifth component of the second device.

[0027] In this way, the second device can have the capabilities of the updated second component, which helps the user use the second device to achieve corresponding device control.

[0028] In a possible design, it further includes:

[0029] Generate a sixth component, and the sixth component has the ability to control at least one sixth device to perform a fifth operation.

[0030] In this way, the first device can generate a new component with new capabilities to meet the user's device control requirements and improve the user experience of device control.

[0031] In a possible design, the sixth component and the second component belong to components under the same scenario, or the same space, or the same subsystem.

[0032] In this way, a sixth component can be added based on the corresponding device control granularity (such as scenario level, space level, subsystem level) to meet the user's device control requirements.

[0033] In a possible design, obtaining the capabilities of the first component of the second device includes:

[0034] The first device establishes a communication connection with the second device;

[0035] Based on the communication connection, obtain the capabilities of the first component of the second device from the second device;

[0036] Or, obtain the capabilities of the first component of the second device from a service device.

[0037] In a possible design, obtaining the capabilities of the first component of the second device includes:

[0038] Obtaining the capability information of the first component of the second device;

[0039] Generating the capabilities of the first component of the second device according to the capability information.

[0040] Exemplarily, the capabilities are encrypted information or unencrypted information.

[0041] In a possible design, the capabilities of the second component are determined according to user information.

[0042] In this way, the first device can determine the capabilities of the second component according to user information, so that the user can control the device matching the user information by manipulating the second component, meeting the user's device control requirements.

[0043] In a possible design, the user information is at least one of spatial information associated with the user and an authorized user profile.

[0044] In a possible design, the second device is one or more; the capabilities of the first component are used to control at least one third device to perform a first operation, including: the capabilities of the first component are used to control the at least one third device to perform the first operation in combination with a first space; and are also used to control the at least one third device to perform the first operation in combination with a second space;

[0045] Responding to the user's operation on the second component to perform the first operation on the at least one third device includes:

[0046] Responding to the user's operation on the second component in the first space to perform the first operation on the at least one third device in the first space; or, responding to the user's operation on the second component in the second space to perform the first operation on the at least one third device in the second space.

[0047] Exemplarily, the second device is a Bluetooth button and the first device is a watch. Assuming the Bluetooth button is in the bedroom, when the user rotates the knob of the Bluetooth button (an example of the first component), it can trigger the Bluetooth button to control the execution of the corresponding bedroom scenario (such as the sleep scenario). When the Bluetooth button is in the living room, when the user rotates the knob of the Bluetooth button, it can trigger the Bluetooth button to control the execution of the corresponding living room scenario (such as the cinema scenario). That is, the Bluetooth button has the ability to determine the device to be controlled when operating the first component in combination with the space where the user is located.

[0048] After the Bluetooth button copies the capabilities of the first component to the second component of the watch, the watch can also combine the space where the user is located to determine the device that needs to be controlled when the user operates the second component. For example, when the user is in the bedroom, the sleep scenario is controlled to execute; when the user is in the living room, the theater scenario is controlled to execute.

[0049] In a possible design, the second device is one or more;

[0050] The second component has the ability to combine the first space to control the at least one third device to perform the first operation, and has the ability to combine the second space to control the at least one third device to perform the first operation;

[0051] Responding to the user's operation on the second component, performing the first operation on the at least one third device includes:

[0052] Responding to the user's operation on the second component in the first space, performing the first operation on the at least one third device in the first space; or, responding to the user's operation on the second component in the second space, performing the first operation on the at least one third device in the second space.

[0053] Exemplarily, the second device is a Bluetooth button, the first device is a watch, and the Bluetooth button does not have the ability to combine the space where the user is located to determine the device to be controlled. After the Bluetooth button copies the capabilities of the first component to the second component of the watch, the watch can combine the space where the user is located to determine the device that needs to be controlled when the user operates the second component. For example, when the user is in the bedroom, the sleep scenario is controlled to execute; when the user is in the living room, the theater scenario is controlled to execute.

[0054] In a possible design, the area where the second component is located is an annular area, or the second component is a retractable telescopic window component, or the second component is a progress bar component, or the second component is a rotatable spherical component, or the second component is a push-pull rocker component;

[0055] Or the second component is a button component; or the second component is a scene component, and the at least one third device is a device in the scene corresponding to the scene component; or the second component is a space component, and the at least one third device is a device in the space corresponding to the space component; or the second component is a device component, and the at least one third device is a device corresponding to the device component.

[0056] In this way, after the first device (such as a watch) obtains the capabilities of the components of the second device, according to the device control capabilities of the components of the second device, a rich and colorful device control interface can be presented. The user can conveniently and quickly control the corresponding device through the device control interface, improving the device control efficiency and user experience.

[0057] In a possible design, it further includes:

[0058] Generate a third interface, where the third interface includes a seventh component, and the seventh component has the capabilities of an eighth component of the second device; the seventh component has a different style from the second component, or the third interface has a different style from the interface including the second component;

[0059] In response to a switching operation of the user, switch from the third interface to the interface including the second component.

[0060] In a possible design, the communication connection includes a near-field connection, and the near-field connection includes at least one of the following connections: Near Field Communication (NFC) connection, Bluetooth connection.

[0061] In this way, the capabilities of the components of the second device can be conveniently and quickly copied to the first device by means such as a simple touch.

[0062] Of course, the near-field connection is not limited to the above-listed methods, and other methods that enable the first device to obtain the capabilities of the second device can also be used.

[0063] In a possible design, the first device includes a portable control device or a fixed device, and / or the second device includes a portable control device or a fixed device;

[0064] The portable control device includes a portable whole-house control device, the fixed device includes a fixed whole-house control device, and the whole-house scenarios include at least one of the following scenarios: home scenario, office, hotel, shopping mall, vehicle-mounted.

[0065] In a possible design, the second device includes a Bluetooth button or panel, and the first device includes a wearable device.

[0066] In a possible design, the first device and the second device are devices of the same account or different accounts. For example, the same user account, or different user accounts under a family account, or user accounts with a trust relationship with each other, etc.

[0067] In a second aspect, an electronic device is provided, and this electronic device has the function of implementing the method described in any of the above aspects and any possible implementation manner thereof. This function can be implemented by hardware, or by hardware executing corresponding software. The hardware or software includes one or more modules corresponding to the above functions.

[0068] In a third aspect, a computer-readable storage medium is provided. The computer-readable storage medium stores a computer program (which may also be referred to as instructions or code), and when the computer program is executed by an electronic device, the electronic device is caused to execute the method according to any of the above aspects or any implementation manner in any of the above aspects.

[0069] In a fourth aspect, a computer program product is provided. When the computer program product runs on an electronic device, the electronic device is caused to execute the method according to any of the above aspects or any implementation manner in any of the above aspects.

[0070] In a fifth aspect, a circuit system is provided. The circuit system includes a processing circuit configured to execute the method according to any of the above aspects or any implementation manner in any of the above aspects.

[0071] In a sixth aspect, a chip system is provided, including at least one processor and at least one interface circuit. The at least one interface circuit is used to perform a transceiver function and send instructions to the at least one processor. When the at least one processor executes the instructions, the at least one processor executes the method according to any of the above aspects or any implementation manner in any of the above aspects.

[0072] In a seventh aspect, an electronic device is provided, including a processor and a memory. The memory is used to store a computer program (which may also be referred to as instructions or code), and the processor is used to execute the computer program so that the electronic device executes the method according to any of the above aspects or any implementation manner in any of the above aspects.

[0073] In an eighth aspect, a system is provided, including a first electronic device for implementing the method according to any of the above aspects or any implementation manner in any of the above aspects as described above, and a cooperating second electronic device. BRIEF DESCRIPTION OF THE DRAWINGS

[0074] Figure 1 A schematic diagram of an interface of a device control method in the related art;

[0075] Figure 2 A schematic diagram of the system architecture provided by an embodiment of the present application;

[0076] Figure 3 A schematic diagram of the system architecture provided by an embodiment of the present application;

[0077] Figure 4 A schematic diagram of the structure of a device provided by an embodiment of the present application;

[0078] Figure 5A A schematic diagram of a scenario for the replication component capability provided by an embodiment of the present application;

[0079] Figure 5B A schematic diagram of a scenario for the device control method provided by an embodiment of the present application;

[0080] Figure 6 It is a schematic diagram of the scenario of the device control method provided by the embodiment of the present application;

[0081] Figure 7 It is a schematic flowchart of the device control method provided by the embodiment of the present application;

[0082] Figure 8 It is a schematic diagram of the scenario of the device control method provided by the embodiment of the present application;

[0083] Figures 9 - 20 It is a schematic diagram of the interface provided by the embodiment of the present application;

[0084] Figure 21 It is a schematic diagram of the scenario of the device control method provided by the embodiment of the present application;

[0085] Figure 22 It is a schematic diagram of the interface provided by the embodiment of the present application;

[0086] Figure 23 It is a schematic structural diagram of the device provided by the embodiment of the present application;

[0087] Figure 24 It is a schematic structural diagram of the chip system provided by the embodiment of the present application. Detailed implementation manners

[0088] In the description and drawings of the present application, terms such as "first" and "second" are used to distinguish different objects or different treatments of the same object. The words "first", "second", etc. can distinguish identical items or similar items with basically the same function and effect. For example, the first device and the second device are only used to distinguish different devices, and their sequence is not limited. Those skilled in the art can understand that the words "first", "second", etc. do not limit the quantity and execution order, and the words "first", "second", etc. do not necessarily limit to being different.

[0089] "At least one" means one or more, and "a plurality" means two or more.

[0090] "And / or", which describes the association relationship of associated objects, indicates that there can be three relationships. For example, A and / or B can represent: A exists alone, both A and B exist simultaneously, and B exists alone, where A and B can be singular or plural. The character " / " generally indicates that the associated objects before and after are in an "or" relationship. "At least one (item)" or similar expressions refer to any combination of these items, including any combination of single item (s) or multiple items. For example, at least one (item) of a, b, or c can represent: a, b, c, a - b, a - c, b - c, or a - b - c, where a, b, and c can be single or multiple.

[0091] In addition, the terms "comprising" and "having" and any variations thereof mentioned in the description of the present application are intended to cover non - exclusive inclusion. For example, a process, method, system, product, or device that includes a series of steps or units is not limited to the listed steps or units, but optionally further includes other unlisted steps or units, or optionally further includes other steps or units inherent to these processes, methods, products, or devices.

[0092] It should be noted that in the embodiments of the present application, words such as "exemplary" or "for example" are used to give 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.

[0093] In the embodiments of the present application, when A sends a message to B, it can be that A directly sends it to B, or A sends it to B through one or more other devices. For example, A sends it to C, and C sends it to B. Optionally, when the message is forwarded between different devices, the intermediate device can process the message. For example, when A sends a message to C, after C processes the message, it sends the processed message (such as a control instruction) to B, and the message format received by B can be different from the message format sent by A.

[0094] In the technical solutions of the embodiments of the present application, the processing of the user's personal information, such as collection, storage, use, processing, transmission, provision, and disclosure, all comply with the provisions of relevant laws and regulations and do not violate public order and good customs. For example, in the technical solutions of the embodiments of the present application, the processing of the user's personal information is carried out under the authorization of the user. This is uniformly stated here and will not be repeated hereinafter.

[0095] Figure 1 Shows the relevant interface for the Bluetooth button association scenario in the related art. As Figure 1 In (a) of, the user clicks the add button on interface 101, triggering the mobile phone to jump to as Figure 1The interface 102 shown in (b). The user can set the scenario of the Bluetooth button on the interface 102, such as checking the movie-watching mode. After that, the mobile phone displays the interface 103 as shown in Figure 1 (c).

[0096] In some other implementation manners, the interface 102 is optional. The user clicks the add button on the interface 101, triggering the mobile phone to jump to the interface 103 as shown in Figure 1 (c). The user can set the function of the Bluetooth button on the interface 103, such as setting the Bluetooth button to control the opening and closing of the curtain in the movie-watching mode. After successfully associating the scenario for the Bluetooth button, the mobile phone can display the interface 104 as shown in Figure 1 (d). Subsequently, the user can use the Bluetooth button to control the opening and closing of the curtain in the movie-watching mode. However, in some cases, it is difficult for the user to quickly find the Bluetooth button throughout the house, affecting the efficiency of the user using the Bluetooth button to control the device. In some other cases, some control terminals such as Bluetooth panels can be installed on the wall. When the user wants to use the control terminal, they need to walk to the position where the Bluetooth panel is installed on the wall and control the device by operating the Bluetooth panel, and the efficiency of device control is also low.

[0097] To solve the above problems, an embodiment of the present application provides a device control method, and the method of the embodiment of the present application is applicable to a device control system. Exemplarily, Figure 2 is a schematic diagram of a device control system to which the method is applicable. As Figure 2 shown, the device control system can manage and control smart devices in units of home. Among them, a home can also be called a whole house, and the whole house can be divided into different spaces. For example, the whole house includes an entrance corridor, a dining room, a living room, a balcony, a master bedroom, a bathroom, etc.

[0098] The whole house system may include a device 100. The device 100 can also be called a control device or a control terminal, and is used to control a controlled device. For example, the device 100 is a watch, and the user can use the watch to control controlled devices such as lights.

[0099] In the embodiment of the present application, the device 100 is a device with high portability. Optionally, the device 100 includes but is not limited to wearable devices. In this way, the user can use the device 100 carried with them to conveniently and quickly control the controlled device without spending time looking for the device 100 throughout the house, which can improve the efficiency of device control.

[0100] Exemplarily, the device 100 can be a portable device such as a watch, a bracelet, headphones, smart glasses, a smart headset, etc. The embodiments of the present application do not limit the form of the device 100. Any device that is convenient for users to carry and easy to use can be regarded as the device 100. The device control ability of the device 400 can be copied to the portable device, so that the portable device has a device control ability similar to that of the device 400. In some embodiments, the device control ability of the device 400 can also be copied to a non-portable device (such as a fixed device), such as a central control screen or a smart screen, so that the central control screen or the smart screen has the device control ability of the device 400.

[0101] In some embodiments, when certain conditions are met, the device 400 can send its own ability information to the device 100, so that the device 100 has a device control ability similar to that of the device 400. Subsequently, when the user manipulates the device 100, the device 100 can be triggered to send an instruction to the central device 300. After receiving the instruction, the central device 300 can control the corresponding device to perform the corresponding action according to the instruction. For example, the device 100 is a watch and the device 400 is a Bluetooth button, and the Bluetooth button is configured to control the switch of the living room light. The Bluetooth button sends the ability information of the Bluetooth button to the watch, and the watch is configured according to the ability information, so that the watch has the function of controlling the switch of the living room light. Subsequently, the user can control the living room light by manipulating the watch. In this method, the user does not need to search for the Bluetooth button laboriously, but can conveniently and quickly realize device control through the watch carried with him, and the efficiency of device control is high.

[0102] In some other embodiments, the service device can obtain the device control ability of the device 400. Optionally, the service device can be a server, a central device, a routing device, or other devices. The device 100 can obtain the device control ability of the device 400 from the service device.

[0103] Optionally, the device 100 has a display screen. For example, for a watch, the watch can provide control methods such as an interface or voice, so that the user can perform device control through methods such as an interface or voice to meet the user's device control requirements.

[0104] The whole house also includes the device 400. Optionally, the device 400 supports one or more communication protocols such as Bluetooth and near field communication (NFC). The device 400 can be a device with device control ability. For example, the device 400 includes but is not limited to: a smart switch, a smart button (such as a Bluetooth button), a panel (including but not limited to a Bluetooth panel), etc. The smart switch can be used to control the on or off of the light.

[0105] Device 400 can be associated with one or more devices. For example, a smart switch can be used to control the turning on or off of the living room lights, so it can be said that the smart switch is associated with the living room lights. Another example is that a panel can be used to control scenarios such as going home, leaving home, sleeping, and reading, so it can be said that the panel is associated with the devices in the above scenarios. Another example is that a panel can be used to control a lighting subsystem and a security subsystem, so it can be said that the panel is associated with the devices in the above subsystems. The granularity of the association between Device 400 and devices can also be other, not limited to the granularity at the device level, subsystem level, or scenario level.

[0106] Taking the example that Device 400 includes an NFC module, when it is necessary to configure the device control ability for Device 100, Device 400 can be brought close to Device 100. Device 100 can read the ability information of Device 400 (such as the configuration information of the scenarios that Device 400 can control and execute, the identifier of Device 400, security information, etc.) from Device 400 through the NFC module, and configure itself according to this ability information to have a device control function similar to that of Device 400. Still taking the example that Device 400 is a Bluetooth button and Device 100 is a watch, assuming the Bluetooth button is configured to control the living room lights. The user can trigger the Bluetooth button to send its own ability information to the watch by touching the Bluetooth button and the watch, so that the watch also has the ability to control the living room lights.

[0107] There is also a Device 200 (such as an IoT device) set up throughout the house. Device 200 can also be called a controlled device. The user can control Device 200 to perform corresponding actions through Device 100.

[0108] It should be noted that Device 200 includes but is not limited to smart home devices such as smart TVs and smart speakers. It can also be other types of devices, such as tablets, mobile phones, smart remote controls, etc. The specific form of Device 200 is not limited in the embodiments of the present application.

[0109] In some examples, one of the devices in Device 200 can be used as the master device to control other devices 200.

[0110] In some embodiments, there are many types of Device 200, and subsystems can be divided according to the functions of Device 200, such as a lighting subsystem, an environmental subsystem, a security subsystem, etc. Each subsystem includes one or more devices.

[0111] For example, the lighting subsystem includes various types of lights (including but not limited to ambient lights). Another example is that the heating, ventilation, and air conditioning subsystem includes various devices that can adjust the temperature and humidity. Another example is that the sunshade subsystem includes various devices that can achieve sunshade.

[0112] In the embodiments of the present application, multiple devices in one or more subsystems can be freely combined to form a super terminal. Each device can become a functional module of each other, realizing mutual assistance in capabilities and resource sharing.

[0113] Optionally, the whole house further includes a central device 300. The central device 300 is also referred to as a central unit, a central control system, an intelligent host, a host, etc. Optionally, the central devices in each room or each area, and the central device of the whole house can exist independently, or can be integrated with other devices into one device, or be in other forms of devices. The embodiments of the present application do not limit this.

[0114] Optionally, in one example, the system further includes a routing device 500 (such as a router). The routing device is used to connect to a local area network or the Internet and select and set the path for sending signals using a specific protocol. Devices 100, 200, central device 300, and device 400 can access the routing device and perform data transmission with devices within the local area network or devices on the Internet through a Wi-Fi channel established by the routing device. In one implementation, the central device 300 can be integrated with the routing device into one device. For example, the central device 300 and the routing device are integrated into the routing device, that is, the routing device has the functions of the central device 300. The routing device can be one or more routing devices in a mother-child routing device, or an independent routing device.

[0115] Optionally, in one example, the system further includes a gateway 600. Optionally, devices 200 and 400 can access the routing device through the gateway.

[0116] The above content is only an example of the system applicable to the device control method. The system may further include more or fewer devices, or different device layout positions, or different connection relationships, device forms, etc.

[0117] The above-mentioned multiple devices can establish connections through various feasible communication protocols to implement the technical solutions of the embodiments of the present application. Figure 3 Shows a possible connection method between devices. The routing device 300, device 200, device 400, and gateway 600 can be connected to the routing device 500 through Wi-Fi. In some examples, device 400 can also access the gateway 600 through Bluetooth so as to access the routing device 500 through the gateway 600. Taking device 100 as a watch, the watch can communicate with the gateway 600. Figure 3 The shown connection relationship is only an example. It should be understood that the devices can also establish connections in other ways, and the embodiments of the present application do not limit the specific connection methods between the devices.

[0118] In addition to the above-mentioned whole-house intelligent scenarios, in some other scenarios, the technical solutions of the above embodiments can also be applied. For example, the technical solutions of the above embodiments can also be applied to scenarios such as travel, vehicle-mounted, and office scenarios.

[0119] Optionally, the devices 100, 200, and the central device 300 in the embodiments of the present application can be implemented by different devices. For example, they can be implemented by the devices in Figure 4 Figure 4 The following shows a schematic hardware structure diagram of the device provided by the embodiments of the present application. The device includes at least one processor 501, a memory 503, and at least one communication interface 504. Among them, the memory 503 can also be included in the processor 501.

[0120] It can be understood that the structure schematically shown in the embodiments of the present application does not constitute a specific limitation on the electronic device. In some other embodiments of the present application, the electronic device may 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.

[0121] The processor 501 can 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 solution of the present application.

[0122] There may be communication lines between the above components, and the communication lines may include a path for transmitting information between the above components.

[0123] The communication interface 504 is used to communicate with other devices. In the embodiments of the present application, the communication interface can be a module, a circuit, a bus, an interface, a transceiver, or other devices capable of implementing a communication function, and is used to communicate with other devices. Optionally, when the communication interface is a transceiver, the transceiver can be an independently provided transmitter, which can be used to send information to other devices, or the transceiver can be an independently provided receiver, which is used to receive information from other devices. The transceiver can also be a component integrating the functions of sending and receiving information. The specific implementation of the transceiver in the embodiments of the present application is not limited.

[0124] ​The memory 503 can be a read-only memory (ROM) or other types of static storage devices that can store static information and instructions, a random access memory (RAM) or other types of dynamic storage devices that can store information and instructions, or can also be an electrically erasable programmable read-only memory (EEPROM), a compact disc read-only memory (CD-ROM), or other optical disc storage, optical disc storage (including compact discs, laser discs, optical discs, digital versatile discs, Blu-ray discs, etc.), 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 can exist independently and be connected to the processor via a communication line. The memory can also be integrated with the processor.

[0125] Among them, the memory 503 is used to store computer-executable instructions for implementing the solution of this application, and is controlled and executed by the processor 501. The processor 501 is used to execute the computer-executable instructions stored in the memory 503, so as to implement the method provided in the following embodiments of this application. Optionally, the computer-executable instructions in the embodiments of this application can also be referred to as application code, instructions, computer programs, or other names, and this application does not make specific limitations on this.

[0126] In a specific implementation, as an embodiment, the processor 501 can include one or more CPUs, such as Figure 4 CPU0 and CPU1 in []. In a specific implementation, as an embodiment, the electronic device can include multiple processors, such as Figure 4 processor 501 and processor 507 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 computer program instructions).

[0127] It can be understood that Figure 4 the schematic structure does not constitute a specific limitation on the electronic device. In other embodiments of this application, the electronic device can include more or fewer components than shown, or combine certain components, or split certain components, or have different component arrangements. The components shown can be implemented in hardware, software, or a combination of software and hardware.

[0128] The following mainly takes the device 100 as a watch as an example to illustrate the device control method provided by the embodiments of the present application.

[0129] In some embodiments, the second device may send the relevant information of its own device control capabilities (which may be simply referred to as capability information) to the first device. After the first device obtains the capability information, it may control the corresponding device according to the capability information. Optionally, the capability information includes at least one of the following information: configuration information of scenarios, configuration information of subsystems, configuration information of single devices, and configuration information of device types. Among them, the second device may also be referred to as the source device of the capability information, that is, the capability information used by the first device to perform device control comes from the second device.

[0130] For example, when both the panel and the Bluetooth button A support NFC, as shown in Figure 5A (a) of, the user can bring the watch close to the panel A. When the panel A detects that the watch is close, that is, when the watch is within the NFC sensing distance of the panel A, the panel A sends its capability information to the watch. For example, the panel A sends the configuration information of the home, away, sleep, and reading scenarios configured by itself to the watch. The user can also touch the Bluetooth button with the watch, so that the Bluetooth button sends its capability information to the watch.

[0131] Another example is, as shown in Figure 5A (b) of, the user touches the button B with the watch, triggering the watch to read the configuration information of the button B from the button B, such as the relevant configuration information for controlling the lighting subsystem in the living room.

[0132] The embodiments of the present application mainly take sending capability information via NFC as an example. In other embodiments, capability information can also be sent through other means, such as Bluetooth, Wi-Fi, etc., without limitation.

[0133] Through the above similar methods, the watch obtains the capability information from other devices. Correspondingly, the watch has the ability to control devices according to the capability information. For example, as shown in Table 1, the watch is configured with the capability information of the Bluetooth button 400a in the master bedroom, the capability information of the Bluetooth button 400b in the living room, and the capability information of the panel 400c in the secondary bedroom. Or, the capability information of other devices stored in the watch can also be in other forms, not limited to tables, and the embodiments of the present application do not make any restrictions.

[0134] Table 1

[0135]

[0136] Subsequently, the watch can perform device control according to the capability information obtained from other devices. For example, as shown in Figure 5B, when the user is in the living room, in response to the user's device control intention, the watch can query the configured capability information (such as Table 1). After querying, the watch has configured the capability information of the Bluetooth button 400b in the living room. Correspondingly, the watch has the device control capability similar to that of the Bluetooth button 400b, and the watch can switch to the control mode of the Bluetooth button 400b in the living room where the user is currently located. In the control mode, the user can manipulate the watch to trigger the watch to implement the corresponding device control function.

[0137] For example, the Bluetooth button 400b has been configured to control the opening and closing of the curtain as shown in Figure 1 (c) below, then the user can manipulate the watch to achieve the function of controlling the opening and closing of the curtain similar to that of manipulating the Bluetooth button 400b. As shown in Figure 6 (a) below, the watch is located in the living room (an example of the first space). In response to the user's device control intention, the watch determines that the user wants to implement the curtain control function of the Bluetooth button 400b in the living room, and accordingly sends a control instruction to the central device. This control instruction is used to control the curtain. After receiving this control instruction, the central device controls the curtain in the living room.

[0138] Similarly, subsequently, when the user is in the master bedroom (an example of the second space), the watch can be dynamically switched to the control mode of the Bluetooth button 400a as shown in Figure 5B below. As shown in Figure 6 (b) below, in response to the user's device control intention, the watch determines that the user wants to control the light in the master bedroom to turn off, and accordingly sends a control instruction to the central device, and the central device controls the light in the master bedroom to turn off.

[0139] Similarly, when the user is in the second bedroom, the watch can be dynamically switched to the control mode of the panel 400c as shown in Figure 5B below. As shown in Figure 6 (c) below, in response to the user's device control intention, the watch determines that the user wants to control the execution of the reading scene in the second bedroom, and accordingly sends a control instruction to the central device, and the central device controls the execution of the reading scene in the second bedroom, such as controlling the air conditioner in the second bedroom to be adjusted to 28 degrees and controlling the light in the second bedroom to turn on.

[0140] In this way, the watch can configure the device control capabilities of the second device (such as Bluetooth buttons, panels) and dynamically switch to the corresponding control capabilities according to the situation. For example, the watch can intelligently and automatically switch the corresponding control functions according to the location of the user, enabling the user to control the devices in the space where they are located through the watch worn on the body, improving the efficiency of device control. Moreover, the user can conveniently and quickly achieve device manipulation without having to search for Bluetooth buttons laboriously or specifically walk to a fixed panel position, greatly reducing the user's time cost.

[0141] Taking the above example where the watch switches the corresponding control capabilities according to the user's location, in some other embodiments, the watch can also dynamically switch the corresponding control capabilities according to other user information. The user information is at least one of spatial information associated with the user and user portraits. The user portraits include, but are not limited to: devices that the user is accustomed to operating in the corresponding scenario, devices that the user is accustomed to operating in the corresponding environment, and devices that the user is accustomed to operating at the corresponding time or time period.

[0142] For example, if the user is accustomed to reading in the study from 9:00 to 10:00 pm, then from 9:00 to 10:00, when it is detected that the user wants to execute a control device, the watch can switch to the control interface of the reading scenario so that the user can trigger the execution of the reading scenario by manipulating the control interface.

[0143] Figure 7 Shows a flow example of the method of the embodiment of the present application. As Figure 7 , the method may include the following steps:

[0144] S101. The first device obtains the capabilities of the first component of the second device.

[0145] As a possible implementation, the first device obtains the capability information of the first component of the second device; and generates the capabilities of the first component of the second device according to the received capability information.

[0146] Optionally, the first device can obtain the capabilities of the second device from the second device or from the service device. In the embodiment of the present application, an example is given that the first device obtains the capabilities of the second device from the second device, but this does not limit the manner in which the first device obtains the capabilities of the second device.

[0147] Exemplarily, the second device sends capability information. Correspondingly, the first device receives the capability information and obtains the capabilities of the first component of the second device according to the capability information. The capabilities of the corresponding components on the first device and the second device can be the same or partially the same to achieve the replication or inheritance of the control capabilities of the second device on the first device.

[0148] For example, the second device sends its own capability information to the first device via NFC.

[0149] Optionally, the number of second devices can be one or more.

[0150] Capability information can be the capability information of one or more components of the second device. Taking the second device including a Bluetooth button as an example, the button of the Bluetooth button can be regarded as a component, and this component is associated with one or more controlled devices. For example, if the button is set to control the opening and closing of the living room curtains, it can be said that the button is associated with the living room curtains. Another example is that if the button is set to control the reading scene, it can be said that the button is associated with one or more devices in the reading scene. Taking the second device including a panel as an example, the panel can display components corresponding to four scenes: going home, leaving home, reading, and sleeping. Each component can be associated with one or more controlled devices. For example, the component corresponding to the sleeping scene is associated with one or more devices that need to be controlled in the sleeping scene.

[0151] In some cases, the second device can be a device used to control execution scenarios. For example, a scene panel that controls the execution of scenarios such as going home, leaving home, and sleeping. In this case, the second device sends the capability information of the scenario to the first device. For example, the panel sends the configuration information of scenarios such as going home and leaving home (including but not limited to the execution logic of each scenario) to the watch. In this way, the watch also has the ability to control the execution of similar scenarios.

[0152] In other cases, the second device can be a device used to control a single device. For example, to control a light. In this case, the second device sends the capability information of the single device to the first device so that the first device also has the ability to control a similar device.

[0153] In other cases, the second device can be a device used to control a type of device, such as controlling lighting devices (such as various lights). In this case, the second device sends the capability information of the type of device to the first device so that the first device also has the ability to control a similar type of device.

[0154] In other cases, the second device can be a device used to control a subsystem, such as controlling a security subsystem. In this case, the second device sends the capability information of the subsystem to the first device so that the first device also has the ability to control a similar subsystem. Or, the number, type, and granularity of devices that the second device can control can also be other. Correspondingly, after the second device sends its own capability information to the first device, the first device has the corresponding device control ability.

[0155] In some examples, the control ability of the second device is greater than or equal to that of the first device. For example, the panel can control the execution of scenarios such as going home, leaving home, and sleeping. The watch can control the execution of some or all of these scenarios.

[0156] In some other examples, the first device can determine new device control capabilities based on the capability information of the second device. For example, the watch receives capability information from two panels respectively. Among them, the capability information of Panel 1 indicates that Panel 1 can control the execution of scenarios such as going home, leaving home, sleeping, and reading. The capability information of Panel 2 indicates that Panel 2 can control the execution of scenarios such as going home, leaving home, party, and watching movies. The watch can combine the capability information of the two panels to generate new control capabilities. For example, the watch generates a new relaxation scenario based on the party scenario and the going-home scenario. In the relaxation scenario, the soft light in the living room needs to be turned on and light music needs to be played. Subsequently, when the execution conditions of the new scenario (such as the relaxation scenario) are met, the watch controls the execution of this new scenario. This new combined scenario can be obtained by the user further configuring on the watch, or automatically generated by the watch according to business rules, etc.

[0157] Optionally, when the second device and the first device log in to the same account, or the second device and the first device are devices used by the same user, the second device sends its own capability information to the first device. For example Figure 5A in (a), the user touches the watch and the panel together, and the panel obtains the account information logged in to the watch. Assuming that the accounts logged in to the panel and the watch are both a1…, then the panel determines that the security of the watch is high, and the panel can send its own capability information to the watch. Here, taking the second device verifying the login account of the first device as an example, the second device can also use other methods to perform security verification on the first device. After the verification passes, the second device can send its own capability information to the first device. In this way, the security risk brought by an insecure device obtaining the capability information of the second device can be reduced.

[0158] Optionally, the same account can refer to the account of the same user, or an account shared by multiple users, such as a family account.

[0159] Optionally, the first device and the second device can also be devices with different accounts, such as devices that have established a trust relationship.

[0160] Or, optionally, before the first device obtains the capability information from the second device, or before the first device configures according to the capability information, it can ask the user whether to configure the device control capability of the second device. For example Figure 5A in (b), when the user touches the watch and the Bluetooth button together, before the watch reads the capability information from the Bluetooth button through NFC, a window 505 can pop up to prompt whether to configure the device control capability of the Bluetooth button for the watch. In response to the user selecting and clicking the "Yes" option, the watch reads the capability information of the Bluetooth button from the Bluetooth button and configures it. After the configuration is completed, the watch has the device control capability similar to that of the Bluetooth button.

[0161] S102. The first device generates a second component with the capabilities of the first component.

[0162] Exemplarily, such as Figure 8 In (b) of Figure 8 , still taking the watch as the first device as an example, the watch can simulate the device control capabilities of the Bluetooth button 400b. For example, the outer ring of the Bluetooth button 400b (an example of the first component) has the ability to control the opening and closing of the curtain. The watch can simulate the ability of the outer ring A of the Bluetooth button 400b. For example, the bezel of the watch (the second component) can simulate the ability of the outer ring A. In some examples, the watch can write corresponding software events for the bezel of the watch so that the bezel of the watch has similar capabilities to the outer ring A.

[0163] S103. In response to the user's operation on the second component, the first device performs a first operation on at least one third device.

[0164] Still taking the first device as the watch and the second device including the Bluetooth button 400b in the living room as an example, after the Bluetooth button 400b sends its own capability information to the watch, the watch has device control capabilities similar to those of the Bluetooth button 400b. Subsequently, when certain conditions are met, the watch can switch to the device control mode corresponding to the Bluetooth button 400b. For example, the Bluetooth button 400b has been configured to control the opening and closing of the curtain as shown in (c) of Figure 8 . In the living room, when the user manipulates the watch (such as but not limited to inputting a specific gesture), the watch is triggered to switch to the mode of controlling the opening and closing of the curtain corresponding to the Bluetooth button 400b in the living room where the user is currently located. Another example is that when the watch detects that the user is in the living room, it can automatically switch to the mode of controlling the opening and closing of the curtain corresponding to the Bluetooth button 400b in the living room where the user is currently located. Figure 1 After the watch switches to the mode of controlling the opening and closing of the curtain, the user can conveniently and quickly control the opening and closing of the curtain by manipulating the watch. For example, as shown in (a) of Figure 8 and (b) of Figure 8 , the user rotates the bezel of the watch (an example of the second component) to control the curtain (an example of the third device) to close (an example of the first operation). In the control mode, the bezel can be configured with software events to achieve device control by rotating the bezel.

[0165] As a possible implementation, the watch converts the operation instruction of the user rotating the bezel into a corresponding control instruction (such as an instruction in the hibeacon Bluetooth protocol format or other formats). This control instruction is used to control the curtain to close. Optionally, the control instruction carries at least one of the following information: the positioning information of the user, the simulation identifier. The simulation identifier is used to indicate the identifier of the second device simulated by the watch. The watch sends the control instruction to the gateway (such as a Bluetooth gateway), and the gateway sends the control instruction to the central device. Figure 8 and Figure 8 In (b) of Figure 8 , the user rotates the bezel of the watch (an example of the second component) to control the curtain (an example of the third device) to close (an example of the first operation). In the control mode, the bezel can be configured with software events to achieve device control by rotating the bezel.

[0166] As a possible implementation, the watch converts the operation instruction of the user rotating the bezel into a corresponding control instruction (such as an instruction in the hibeacon Bluetooth protocol format or other formats). This control instruction is used to control the curtain to close. Optionally, the control instruction carries at least one of the following information: the positioning information of the user, the simulation identifier. The simulation identifier is used to indicate the identifier of the second device simulated by the watch. The watch sends the control instruction to the gateway (such as a Bluetooth gateway), and the gateway sends the control instruction to the central device.

[0167] In some examples, the control instruction does not carry the user's location information and does not carry an analog identifier. Then, the central device obtains the user's location information and controls the devices corresponding to the space where the user is located according to this location information. For example, if the user is currently in the living room, the central device determines that it is necessary to control the device associated with the Bluetooth button 400b in the living room (the living room curtain), and accordingly sends a control instruction for closing the curtain to the living room curtain to control the closing of the living room curtain.

[0168] Optionally, the central device can obtain the user's location information based on the sensing information of one or more sensors in the whole house (such as cameras, ultrasonic positioning devices). The embodiments of the present application do not limit the manner in which the central device obtains the user's location information.

[0169] In some other examples, the control instruction carries the user's location information. Then, the central device controls the devices corresponding to the space where the user is located according to this location information.

[0170] In some other examples, the control instruction carries an analog identifier, such as the identifier of the Bluetooth button 400b. In this example, the central device controls the device associated with the Bluetooth button 400b (the living room curtain) according to this analog identifier, and accordingly sends a control instruction for closing the curtain to the living room curtain to control the closing of the living room curtain.

[0171] The embodiments of the present application also provide a device control method. In the corresponding control mode, the watch can match the corresponding device control methods, such as different control methods like voice and interface. As follows, different device control methods of the watch are introduced.

[0172] Scenario 1: The watch displays a control interface, and the user controls the corresponding device through the control interface

[0173] In some embodiments, after the watch obtains the ability information related to device control from other devices, it can match a suitable control interface according to this ability information. For example, if the ability information comes from the scene panel, the watch can match a control interface that is suitable for controlling the execution scene and suitable for display on the watch. Another example is that if the ability information comes from the Bluetooth button, the watch can match a control interface suitable for implementing the control function similar to the Bluetooth button. Another example is that if the ability information indicates controlling the adjustment of the volume, the watch can match a control interface suitable for volume adjustment (such as a control interface including a progress bar for adjusting the volume). If the ability information indicates controlling the curtain, the watch can match a control interface suitable for controlling the curtain. Briefly, the watch can directly copy part or all of the display interface of the Bluetooth button; in some other possible examples, the watch can also set a customized interface style for the corresponding at least one smart device in combination with the obtained ability information. As follows, several examples of control interfaces are listed.

[0174] Figure 9An example of the control interface is shown. As Figure 9 In (a) of Figure 9 , the interface of the watch may include an annular area 901. The user can slide clockwise or counterclockwise in the annular area 901, and the watch can send the user's sliding operation information to the central device, and the central device sends a control instruction to the corresponding device accordingly to implement a similar device control function of a corresponding second device (such as a Bluetooth button) through the watch.

[0175] For example, as Figure 9 In (a) of Figure 9 , the button 902 of the watch is set to double-click to enter the device control mode. The user is currently in the living room. In response to the user double-clicking the button 902 of the watch, the watch enters the device control mode. In some examples, the watch determines that the watch is in the device control mode in the living room according to Table 1 above, and needs to simulate and implement the device control function of the Bluetooth button 400b in the living room where the user is currently located. Then the watch can display an interface suitable for implementing the device control function of the Bluetooth button 400b as shown in Figure 9 In (a) of Figure 9 . The interface may include an annular area 901. In some examples, as Figure 9 In (b) of Figure 9 , in response to the user's sliding operation in the annular area 901, the watch can control the opening and closing of the living room curtains to implement a similar control function of the Bluetooth button 400b.

[0176] Optionally, as Figure 9 In (a) of Figure 9 , the watch can also display a window 904 in the interface to prompt the user to slide in the annular area to control the corresponding device (such as curtain opening and closing).

[0177] Optionally, as Figure 9 In (a) of Figure 9 , the interface of the watch may further include a button 903. The button 903 supports operations such as clicking and double-clicking, and is used to trigger different events to perform corresponding operations. For example, the user can hold down the button 903 and input a voice command "close the curtain", and the watch recognizes the voice command and controls the curtain to close.

[0178] In one or more embodiments of the present application, the user's manipulation of the components in the control interface can trigger the watch to control the state of the controlled device. For example, the sliding amplitude and percentage of the user in the interface correspond to the opening and closing degree of the curtain, or the brightness of the light, or the volume value of the speaker. Again, the greater the sliding amplitude of the user in the interface, the more obvious the change in the state of the controlled device.

[0179] Optionally, in one or more embodiments of the present application, the watch can display the real-time controlled state of the device in the interface. As Figure 9 In (b) of Figure 9 , during the process of controlling the curtain, the watch displays the opening and closing progress of the curtain (such as 50%) in the interface. Again, as in Figure 10 In (b) of Figure 10 below, the watch can display the opening and closing degree of the curtain.

[0180] Optionally, in one or more embodiments of the present application, during the process of executing device control, the watch may display corresponding dynamic effects of the controlled device. For example, it may display the dynamic effect of the curtain being opened.

[0181] Optionally, in one or more embodiments of the present application, after the device control is completed, such as when the curtain is completely closed (corresponding to a progress of 100%), the watch may prompt that the device control has been completed. Optionally, the watch may prompt that the device control has been completed through the interface, voice, vibration, or other means.

[0182] Optionally, in one or more embodiments of the present application, the watch may use sensors to recognize the user's actions, postures, gestures, etc., and perform device control accordingly. For example, the watch can use a gyroscope, a camera, or other sensors to recognize that the user waves to the right, and accordingly control the curtain to close. Another example is that the watch sends ultrasonic waves through the microphone, and based on the change of the reflected signal of the ultrasonic waves, recognizes the user's operation action, converts the operation action into a control instruction, sends the control instruction to the central device, and the central device controls the corresponding device according to the control instruction. Another example is that in the control mode, when the user waves, the brightness of the light is increased.

[0183] Figure 10 Another example of the control interface is shown. Such as Figure 10 In (a) of, the interface of the watch may include a telescopic window component 1001. The user can manipulate the telescopic window component 1001, and the watch can control the corresponding device according to the user's manipulation information.

[0184] For example, when the user is currently in the living room and in response to the user double-clicking the button 902 of the watch, the watch enters the device control mode. As described above, assuming that the watch is in the device control mode in the living room and needs to simulate the device control function of the Bluetooth button 400b in the living room where the user is currently located, the watch may display as Figure 10 The interface shown in (a) of that is applicable to implement the device control function of the Bluetooth button 400b, and this interface may include a telescopic window component 1001. In some examples, such as Figure 10 In (b) of, in response to the user swiping up the telescopic window component 1001, the watch can control the curtain to move up and open the curtain to achieve a device control function similar to that of the Bluetooth button 400b. Another example is that, such as Figure 10 In (c) of, in response to the user swiping right the telescopic window component 1001, the watch can control the curtain to roll up to the right.

[0185] Figure 11 Another example of the control interface is shown. Such as Figure 11 In (a) of, the interface of the watch may include a progress bar 1101. The user can manipulate the progress bar 1101, and the watch can control the corresponding device according to the user's manipulation information.

[0186] For example, when the user is currently in the living room and in response to the user double-clicking the button 902 of the watch, the watch determines that the user wants to use the watch to perform device control. Then, the watch can display an interface as shown in Figure 11 (a) of FIG. which is applicable to implementing the device control function of the Bluetooth button 400b in the living room. This interface may include a progress bar 1101. In some examples, as shown in Figure 11 (b) of FIG., in response to the user swiping right in the progress bar 1101, the watch can control the curtain to move up and open the curtain to implement a device control function similar to that of the Bluetooth button 400b. Again, in response to the user long-pressing on the right side of the progress bar 1101, the watch controls the curtain to move up. Optionally, the degree of opening and closing of the curtain controlled by the watch is related to at least one parameter among the duration of the long press, the intensity of the long press, and the pressing area of the long press by the user. For example, the larger the pressing area when the user long-presses in the progress bar 1101, the faster the watch controls the curtain to move up.

[0187] Optionally, as shown in Figure 11 (a) of FIG., the interface may further include buttons. For example, buttons can be set on one or both sides of the progress bar 1101, and the buttons support operations such as clicking and double-clicking.

[0188] Figure 12 FIG. shows another example of the control interface. As shown in Figure 12 (a) of FIG., the interface of the watch may include a sphere component 1201. The user can manipulate the sphere component 1201 to rotate in any direction, and the watch can control the corresponding device according to the user's manipulation information. Still taking the watch's control of the curtain as an example, as shown in Figure 12 (b) of FIG., in response to the user rotating the sphere component 1201 in the direction of the arrow, the watch can control the curtain to move up and open the curtain.

[0189] Optionally, the watch can calculate the degree of opening and closing of the curtain controlled according to the speed at which the user rotates the sphere component 1201. For example, when the user rotates the sphere component 1201 at a relatively fast speed, the watch correspondingly controls the curtain to open or close quickly. When the user rotates the sphere component 1201 at a relatively slow speed, the watch correspondingly controls the curtain to open or close slowly. In this way, it can meet the user's device control needs and perform refined control of the device.

[0190] The sphere component 1201 can support events such as single-clicking, double-clicking, and long-pressing. For example, in response to the user long-pressing on the lower right side of the sphere component 1201, the watch controls the curtain to move up.

[0191] Figure 13 FIG. shows another example of the control interface. As shown in Figure 13(a) In the interface of the watch, a rocker 1301 (or a control lever) may be included. The user can manipulate the rocker 1301, and the watch can control the corresponding device according to the user's manipulation information. The user's manipulation of the rocker includes, but is not limited to, pushing or toggling in a certain direction (such as left, right, forward, or backward), pulling up, pressing down, or pulling down. Still taking the watch controlling the curtain as an example, as Figure 13 (b) In response to the user pushing the rocker 1301 in the direction of the arrow, the watch can control the curtain to move upward to open the curtain.

[0192] The above mainly takes the watch controlling the curtain as an example. In the corresponding control mode of the watch, the user can control other devices through one or more components provided by the embodiments of the present application. For example, when the user pushes down the rocker 1301 as Figure 13 shown, to trigger the watch to control the volume of the speaker to be turned down.

[0193] Figure 14 Another example of the control interface is shown. As Figure 14 , the panel (an example of the second device) displays a panel interface (an example of the first interface), and the panel interface includes a go home component, a leave home component, a sleep component, and a reading component (these four components are examples of the first components). The watch (an example of the first device) generates at least one component on the watch corresponding to the capabilities of the components of the panel according to the capabilities of the components of the panel. For example, it generates a watch interface (an example of the second interface) as Figure 14 shown. The watch interface may include one or more button components (an example of the second components). The one or more buttons can correspond to the corresponding components of the panel 400c. The user can manipulate the corresponding buttons to trigger the watch to control the corresponding device and implement a control function similar to that of the panel 400c.

[0194] For example, when the user is currently in the second bedroom and in response to the user's operation, the watch enters the device control mode. In some examples, when the watch determines that it needs to simulate the device control function of the panel 400c when in the device control mode in the second bedroom according to Table 1 above, the watch can display an interface as Figure 14 shown that is suitable for implementing the device control function of the panel 400c. This interface includes Button 1 - Button 4. For example, Button 1 corresponds to the button on the panel 400c that controls the execution of the go home scenario, Button 2 corresponds to the button on the panel 400c that controls the execution of the leave home scenario, Button 3 corresponds to the button on the panel 400c that controls the execution of the sleep scenario, and Button 4 corresponds to the button on the panel 400c that controls the execution of the reading scenario.

[0195] As Figure 14 , in response to the user clicking Button 4 in the watch interface, the watch can control the execution of the reading scenario corresponding to Button 4 to implement a device control function similar to that of the panel 400c.

[0196] Optionally, the watch can display the status of the controlled device.

[0197] Optionally, as Figure 14 shown, the interface can also include a button that supports operations such as clicking and double-clicking. For example, the user can hold down the button to input a voice command. Optionally, the user can also directly input a voice command without additional operations; optionally, the user can input a wake word or use other means to prompt the device 400 to receive the voice command before inputting the voice command.

[0198] Such as Figure 14 shown, a button can control the corresponding device, or subsystem, or scenario, without limitation on the control granularity.

[0199] In one or more embodiments of the present application, the first interface of the second device may further include other components (such as a third component) in addition to the first component. The capabilities of the third component are used to control at least one fourth device to perform a second operation. The first device can generate a fourth component with the capabilities of the third component according to the capabilities of the third component of the first device. Subsequently, in response to the user's operation on the fourth component, the first device performs the second operation on at least one fourth device.

[0200] In one or more embodiments of the present application, the styles of the first interface on the second device and the second interface on the first device are the same or different, or the style of the first component on the first device is different from the style of the second component on the second device. For example, Figure 14 shown, the components in the watch interface can also be replaced with a go-home component, a leave-home component, a sleep component, and a reading component, so that the style of the watch interface is similar to the style of the panel interface.

[0201] Figure 15 Shows another example of the control interface. As Figure 15 , the interface of the watch can include components corresponding to one or more scenarios. For example, the one or more scenarios can correspond to the scenarios that the panel 400c can control and execute. The user can manipulate the components corresponding to the corresponding scenarios to trigger the watch to control and execute the corresponding scenarios, realizing the device control function similar to the panel 400c.

[0202] For example, when the user is currently in the second bedroom and in response to the user double-clicking the watch button 902, the watch determines that the user wants to perform device control, then the watch can display as Figure 15The interface 1502 shown. The interface includes components corresponding to the home scene (which can be abbreviated as home scene components), components 1501 corresponding to the leaving-home scene, components corresponding to the sleep scene, and components 1503 corresponding to the relaxation scene. Among them, the component 1501 is used to control the leaving-home scene that the execution panel 400c can control and execute. The component 1503 is generated by the watch according to the capability information of the panel 400c and other second devices, and is used to control the relaxation scene. In some examples, such as Figure 15 , in response to the user clicking on the component 1503, the watch controls the execution of the relaxation scene, such as controlling the speaker in the second bedroom to play soft music and turning on the soft light in the second bedroom.

[0203] Figure 16 Another example of the control interface is shown. Such as Figure 16 , the interface of the watch may include components corresponding to one or more spaces (which can be abbreviated as space components). The user can manipulate the components corresponding to the corresponding space to trigger the watch to control and execute the devices associated with the corresponding space.

[0204] For example, in response to the user double-clicking the watch button 902, the watch determines that the user wants to perform device control, and then the watch can display an interface as shown in Figure 16 . The interface may include components corresponding to the master bedroom, components 1601 corresponding to the bathroom, components corresponding to the living room, and components corresponding to the kitchen. Each component is used to control the devices associated with the corresponding space. For example, a panel 400d is provided in the bathroom, and the panel 400d can control and execute the bathing scene. In some examples, after the watch receives the capability information from the panel 400d, it can generate a component for implementing the device control function of the panel 400d based on this capability information, such as the component 1601. The component 1601 is used to implement the function of controlling and executing the bathing scene of the panel 400d, such as controlling the warm air system to adjust the temperature to 28 degrees and controlling the lights to turn on. Or rather, the component 1601 is used to control and execute the bathing scene associated with the bathroom.

[0205] Such as Figure 16 in (a), in response to the user clicking on the component 1601, the watch controls the execution of the bathing scene. Again, such as Figure 16 in (b), in response to the user clicking on the component 1602 corresponding to the second bedroom, the watch can jump to an interface that can be used to implement the device control function of the panel 400c in the second bedroom. The interface includes components 1504 corresponding to the reading scene. In response to the user clicking on the component 1504, the watch controls the execution of the reading scene.

[0206] Optionally, such as Figure 16 in (a) or Figure 16 in (b) shown, the interface of the watch may further include buttons, which support long pressing or other operations.

[0207] Figure 17Another example of the control interface is shown. When the user is in the living room and in response to the user double-clicking the watch button 902, the watch determines that the user wants to perform device control, then the watch can display an interface for controlling devices in the living room as shown in Figure 17 (a) thereof. This interface may include components corresponding to one or more devices in the living room, such as components corresponding to the ceiling light, table lamp, floor lamp, etc. This interface may also include components of one or more scenes corresponding to the living room, such as Scene 1. As shown in Figure 17 (a), in response to the user moving the component corresponding to Scene 1 into the circular area in the middle of the interface, the watch controls the execution of Scene 1.

[0208] Again, when the user is in the master bedroom and in response to the user double-clicking the watch button 902, the watch determines that the user wants to perform device control, then the watch can display an interface for controlling devices in the master bedroom as shown in Figure 17 (b) thereof. This interface may include components corresponding to the ceiling light, table lamp, floor lamp, etc. in the master bedroom. This interface may also include components of Scene 2 corresponding to the master bedroom. As shown in Figure 17 (b), in response to the user moving the component corresponding to Scene 2 into the circular area in the middle of the interface, the watch controls the execution of Scene 2.

[0209] Figure 18 Another example of the control interface is shown. In response to the user double-clicking the watch button 902, the watch determines that the user wants to perform device control, then the watch can display an interface as shown in Figure 18 (a) thereof. This interface may include components corresponding to one or more second devices (source devices of the capability information), which may be simply referred to as device components, such as components corresponding to Button 1, Button 2, Panel 1, and Panel 2. In response to the user dragging the component corresponding to Panel 1 into the circular area in the middle of the interface, the watch controls the execution of the device associated with Panel 1. In some examples, Panel 1 is configured to control the switch of the living room light, then at this time the watch controls the living room light to turn on or off.

[0210] In other examples, the panel is configured to be available for controlling the go-home, leave-home, and sleep scenes. In response to the user dragging the component corresponding to Panel 1 into the circular area in the middle of the interface, as shown in Figure 18 (b), the watch can display the identifiers of the go-home, leave-home, and sleep scenes associated with Panel 1 in the interface. In response to the user clicking on the identifier of the sleep scene, the watch controls the execution of the sleep scene.

[0211] In the solution of the embodiments of the present application, after the first device (such as a watch) obtains the capability information of the second device, according to the device control capability of the second device indicated by the capability information, a rich and colorful device control interface can be presented. The user can conveniently and quickly control the corresponding device through the device control interface, improving the device control efficiency and user experience.

[0212] The embodiment of the present application further provides a device control method. After the first device displays a control interface, it can respond to the user's switching operation and switch the control interface so that the user can control the device through the preferred control interface.

[0213] For example, when the watch enters the control mode and displays the interface shown in Figure 19 (a) as shown, the user can swipe left on this interface to trigger the watch to switch to the interface shown in Figure 19 (b). The user can operate the watch through this interface to control the corresponding device.

[0214] Again, for example, when the watch enters the control mode and displays the interface 2001 (the third interface) shown in Figure 20 (a), the user can swipe right and down on this interface to trigger the watch to switch to the interface 2002 (an example of an interface including a second component) shown in Figure 20 (b). In response to the user dragging the component corresponding to the master bedroom into the middle circular area, the watch can jump to the interface 2003 shown in Figure 20 (c). The interface 2003 may include devices or subsystems or scenarios associated with the master bedroom. In response to the user dragging the component corresponding to scenario 2 into the middle circular area, the watch can control the execution of scenario 2.

[0215] In some application scenarios, the shown interface can be combined and generated on the watch after obtaining the capability information sent by multiple Bluetooth buttons respectively used to control devices in multiple spaces, or after obtaining the capability information sent by one or more Bluetooth buttons successively multiple times; in other application scenarios, if a certain Bluetooth button originally has the multi-space switching control capability, the above shown interface can also be an interface directly generated after obtaining the capability information sent by a certain Bluetooth button.

[0216] Scenario 2: The user inputs a voice command to the watch, triggering the watch to control the corresponding device

[0217] For example, Figure 21 the user is currently in the kitchen. In the control mode, the watch receives the user's voice command "increase the brightness of the light". The watch determines that in the control mode, it needs to control the kitchen light associated with Bluetooth button AA in the kitchen where the user is currently located. Then the watch can convert the voice command into a corresponding control command and send the control command to the gateway. The gateway sends the control command to the central device, and this control command is used to control the increase of the brightness of the kitchen light.

[0218] In some examples, the control command carries the identifier of the second device (Bluetooth button AA). Based on this, the central device knows that it is necessary to increase the brightness of the kitchen light associated with Bluetooth button AA, and accordingly sends a control command to the kitchen light to increase the brightness of the kitchen light.

[0219] In some other examples, if the control instruction carries the user's location information, the central device controls the devices associated with Bluetooth button AA in the kitchen where the user is currently located according to the location information.

[0220] In some other examples, if the control instruction does not carry the location information and the identifier of the second device, the central device can obtain the user's location information and control the devices associated with Bluetooth button AA in the kitchen where the user is currently located according to the location information.

[0221] Optionally, during the process of the watch executing device control, the control progress can be prompted by voice, such as outputting the voice: The brightness of the light has been increased.

[0222] In the solution of the embodiment of the present application, the first device can be a device with rich capabilities, such as supporting multiple interaction methods such as touch, voice, user interface (UI), and motion. The first device can expand the device control capability according to the interaction methods it supports, such as controlling the device by voice or interface. Compared with the device control capability of the second device, which may be relatively simple (such as not supporting interface and voice interaction methods), the multiple device control interaction methods provided by the first device can improve the human-computer interaction efficiency.

[0223] The embodiment of the present application also provides a device control method. The first device can send its own capability information to the second device to dynamically adjust the device control capability of the second device. The capability information of the first device includes, but is not limited to, at least one of the following information: information about associated devices, subsystems, or scenarios, UI style, vibration mode, voice commands, and motion interaction methods.

[0224] Such as Figure 22 , the user touches the watch and the panel, triggering the watch to send its own capability information (such as information about UI components) to the panel, so as to copy the capabilities of the components on the watch to the panel. The panel is configured according to the capability information, so that the panel has a device control capability similar to that of the watch, such as the style of the components in the panel interface is similar to the style of the components in the watch interface.

[0225] In one or more embodiments of the present application, the user can also perform an editing operation on a component (such as the second component) on the watch, and the watch can update the capabilities of the components on the watch according to this editing operation. For example, the watch copies the capabilities of the panel component and generates a watch component with the capabilities of the panel component, and the watch component can control a third device to perform a first operation. After updating the capabilities of the watch component, the watch component can be used to control at least one fifth device to perform a third operation, or to control at least one third device to perform a fourth operation, or to control at least one fifth device to perform a first operation. In other words, based on the user's editing operation on the components on the watch, the watch can update the capabilities of the devices that the components on the watch can control. For example, originally capable of controlling device A, it is updated to be capable of controlling one or more device B (such as adding or deleting devices that the watch can control). Or update the capabilities of the operations that can be controlled. For example, originally capable of controlling device A to perform operation A, it is updated to be capable of controlling device A to perform operation B. Or update the capabilities of the devices that can be controlled and the capabilities of the operations that can be controlled.

[0226] Optionally, the watch can copy the capabilities of the updated second component on the watch to the first component or the fifth component of the panel (an example of the second device). For example, the watch copies the reading component of the panel and generates a second component on the watch according to the capabilities of the reading component. The second component on the watch has the ability to control the execution of the reading scenario, such as controlling the lights 1 and 2 to turn on in the reading scenario. The user adds a device to the reading scenario by editing the second component on the watch, such as adding an air conditioner to adjust the temperature to 28 degrees. In other words, the second component on the watch has the ability to control the execution of the reading scenario. The user can click on the second component to trigger the watch to control lights 1 and 2 to turn on, and to control the air conditioner to adjust the temperature to 28 degrees.

[0227] In some examples, the watch can copy the capabilities of the updated second component to the reading component of the panel. Subsequently, when the user clicks on the reading component of the panel, it triggers the panel to control lights 1 and 2 to turn on, and to control the air conditioner to adjust the temperature to 28 degrees.

[0228] In some examples, the watch can copy the capabilities of the updated second component to a new component of the panel. Subsequently, when the user clicks on the new component of the panel, it triggers the panel to control lights 1 and 2 to turn on, and to control the air conditioner to adjust the temperature to 28 degrees.

[0229] In one or more embodiments of the present application, the watch can generate a sixth component according to the user's editing operation on the watch interface. The sixth component has the ability to control at least one sixth device to perform a fifth operation. For example, the watch can generate a new component based on the user's editing operation on the reading component (used to control lights 1 and 2 to turn on). For example, this new component is used to control lights 1 and 2 to turn on and to control the air conditioner to adjust the temperature to 28 degrees.

[0230] Optionally, the sixth component and the second component belong to components in the same scenario. For example, the second component on a watch is used to control the lights in the sleep scenario, and a sixth component that controls the air conditioner in the sleep scenario can be added.

[0231] Alternatively, the sixth component and the second component belong to components in the same space or the same subsystem. The embodiments of the present application are not limited thereto.

[0232] In one or more embodiments of the present application, the devices in a scenario can be of the same type or different types. For example, when executing the reading scenario, it can be to control the lights and air conditioner in the reading scenario to perform corresponding actions. Another example is that when executing the light-on scenario, it can be to control multiple lights in the light-on scenario to turn on.

[0233] In one or more embodiments of the present application, controlling a device to perform an operation can be to perform one or more column operations, without limitation.

[0234] The watch can also send capability information through other communication methods (such as but not limited to Bluetooth), and the embodiments of the present application do not limit this.

[0235] In the solution of the embodiments of the present application, the first device can reverse-configure information such as the control interface preferred by the user to the second device, so that the second device has the device control method preferred by the user (such as the UI style and format), which can improve the user experience.

[0236] Taking the control method (such as the UI method) of the watch matching the device control as an example, in some embodiments, the user can also set the UI method for device control.

[0237] Taking the example that the user double-clicks the button 902 of the watch to pop up the control interface, in some embodiments, it is not limited to double-clicking the button to pop up the control interface. The user can also enter the control interface from the function item corresponding to the UI interface of the watch.

[0238] In some embodiments, the first device can also actively control the copied security warning scenarios. For example, the first device copies and obtains the control ability of the security warning scenarios from the second device. When the first device detects user danger (such as blood pressure and heart rate warnings), it can actively trigger the execution of the copied security warning scenarios.

[0239] The first device (such as a watch) can copy the control ability of the hardware components of the source device. Or after obtaining the capability information, the watch determines to use the hardware components to perform the corresponding control functions (for example, the source device originally uses software components to perform the control functions). Vice versa. For example, the outer ring of the Bluetooth button is hardware, and the watch generates an analog software-like circular component to perform the corresponding control functions.

[0240] It should be noted that the above-mentioned multiple embodiments 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. The steps can also be in other execution orders. It is not intended to indicate that the execution order is the only order in which these operations can be performed. Those of ordinary skill in the art will think of various ways to reorder the operations herein. In addition, it should be pointed out that the process details involved in a certain embodiment herein are also applicable to other embodiments in a similar manner, or different embodiments can be combined and used.

[0241] In addition, some steps in the method embodiments can be equivalently replaced with other possible steps. Or, some steps in the method embodiments can be optional and can be deleted in some usage scenarios. Or, other possible steps can be added to the method embodiments. Or, the execution subject (such as a functional module) of some steps in the method embodiments can be replaced with other execution subjects.

[0242] Moreover, the above-mentioned method embodiments can be implemented separately or in combination.

[0243] Some other embodiments of the present application provide a device, which can be the above-mentioned first device, second device, etc. The device may include: a display screen, a memory, and one or more processors. The display screen, the memory, and the processor are coupled. The memory is used to store computer program code, and the computer program code includes computer instructions. When the processor executes the computer instructions, the device can perform each function or step in the above method embodiments. The structure of the device can refer to Figure 4 the electronic device (device) shown.

[0244] Among them, the core structure of the device can be represented as Figure 23 the structure shown, and the device includes: a processing module 2301, a storage module 2303, and a display module 2304.

[0245] The processing module 2301 may include at least one of a central processing unit (CPU), an application processor (AP), or a communication processor (CP). The processing module 2301 can perform operations or data processing related to the control and / or communication with at least one of the other components of the user electronic device. Specifically, the processing module 2301 can be used to control the content displayed on the main screen according to certain trigger conditions. The processing module 2301 is also used to process the input instructions or data and determine the display style according to the processed data.

[0246] Optionally, an input module 2302 may also be included, which is configured to obtain instructions or data input by a user and transmit the obtained instructions or data to other modules of the electronic device. Specifically, the input methods of the input module 2302 may include touch, gesture, proximity to the screen, etc., or may be voice input. For example, the input module may be the screen of the electronic device, which obtains the input operation of the user and generates an input signal according to the obtained input operation, and transmits the input signal to the processing module 2301.

[0247] The storage module 2303 may include a volatile memory and / or a non-volatile memory. The storage module is configured to store instructions or data related to at least one of the other modules of the user device.

[0248] The display module 2304 may include, for example, a liquid crystal display (LCD), a light-emitting diode (LED) display, an organic light-emitting diode (OLED) display, a microelectromechanical system (MEMS) display, or an electronic paper display. It is used to display content viewable by the user (such as text, images, videos, icons, symbols, etc.).

[0249] Optionally, a communication module 2305 is further included, which is configured to support communication between the personal device (through a communication network) and other personal devices. For example, the communication module may be connected to a network via wireless communication or wired communication to communicate with other personal devices or network servers. The wireless communication may adopt at least one of the cellular communication protocols, such as Long Term Evolution (LTE), Long Term Evolution-Advanced (LTE-A), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Universal Mobile Telecommunications System (UMTS), Wireless Broadband (WiBro), or Global System for Mobile Communications (GSM). The wireless communication may include, for example, short-range communication. The short-range communication may include at least one of Wireless Fidelity (Wi-Fi), Bluetooth, Near Field Communication (NFC), Magnetic Stripe Transmission (MST), or Global Navigation Satellite System (GNSS).

[0250] It should be noted that each functional module of the device may execute one or more steps in the above method embodiments.

[0251] The embodiment of the present application further provides a chip system, such as Figure 24As shown in the figure, the chip system includes at least one processor 1401 and at least one interface circuit 1402. The processor 1401 and the interface circuit 1402 can be interconnected through a line. For example, the interface circuit 1402 can be used to receive signals from other devices (such as the memory of an electronic device). For another example, the interface circuit 1402 can be used to send signals to other devices (such as the processor 1401). Exemplarily, the interface circuit 1402 can read the instructions stored in the memory and send the instructions to the processor 1401. When the instructions are executed by the processor 1401, the electronic device can execute each step in the above embodiments. Of course, the chip system can also include other discrete devices, and the embodiments of the present application do not make specific limitations on this.

[0252] An embodiment of the present application also provides a computer-readable storage medium, which includes computer instructions. When the computer instructions run on the above-mentioned electronic device, the electronic device is enabled to execute each function or step in the above-mentioned method embodiment.

[0253] An embodiment of the present application also provides a computer program product. When the computer program product runs on a computer, the computer is enabled to execute each function or step that the mobile phone executes in the above-mentioned method embodiment.

[0254] Through the description of the above embodiments, those skilled in the art can clearly understand that, for the convenience and conciseness of description, only the above-mentioned division of each functional module is used as an example. In actual applications, the above functions can 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.

[0255] In the several embodiments provided by the present application, it should be understood that the disclosed device and method can be implemented in other ways. For example, the device embodiments described above are only illustrative. For example, the division of modules or units is only a logical function division. In actual implementation, there can 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 coupling or direct coupling or communication connection between each other can be through some interfaces. The indirect coupling or communication connection of the device or unit can be in an electrical, mechanical or other form.

[0256] The units described as separate components may or may not be physically separated. The components displayed as units may be one physical unit or multiple physical units, that is, they can be located in one place, or they can be 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.

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

[0258] 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 contributes to the prior art, 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 the 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.

[0259] 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 control method, characterized in that, applied to a first device, includes: obtaining the capabilities of a first component of a second device, where the capabilities of the first component are used to control at least one third device to perform a first operation; generating a second component with the capabilities of the first component; responding to a user's operation on the second component, and performing the first operation on the at least one third device.

2. The method according to claim 1, characterized in that, the first component and the second component have the same or different styles.

3. The method according to claim 1 or 2, characterized in that, the first component includes a software component or a hardware component, and / or the second component includes a software component or a hardware component.

4. The method according to any one of claims 1-3, characterized in that, the first interface on the second device includes at least one component; the at least one component includes the first component; obtaining the capabilities of a first component of a second device includes: obtaining the capabilities of the at least one component on the first interface, and generating at least one component on the first device corresponding to the capabilities of the at least one component, where the at least one component on the first device includes the second component.

5. The method according to claim 4, characterized in that, the at least one component on the first interface includes a third component, and the capabilities of the third component are used to control at least one fourth device to perform a second operation; further includes: generating a fourth component with the capabilities of the third component; responding to a user's operation on the fourth component, and performing the second operation on the at least one fourth device.

6. The method according to claim 4 or 5, characterized in that, further includes: generating a second interface, where the second interface includes the second component, and the first interface and the second interface have the same or different styles, or the style of the first component is different from the style of the second component.

7. The method according to any one of claims 1-6, characterized in that, further includes: obtaining a user's editing operation on the second component; updating the capabilities of the second component according to the editing operation; the updated capabilities are used to control at least one fifth device to perform a third operation, or to control the at least one third device to perform a fourth operation, or to control the at least one fifth device to perform the first operation.

8. The method according to claim 7, characterized in that, further includes: copying the updated capabilities of the second component to the first component or the fifth component of the second device.

9. The method according to claim 7, characterized in that, further includes: generating a sixth component, where the sixth component has the capabilities of controlling at least one sixth device to perform a fifth operation.

10. The method according to claim 9, characterized in that, the sixth component and the second component belong to components in the same scenario, or in the same space, or in the same subsystem.

11. The method according to any one of claims 1-10, characterized in that, obtaining the capabilities of a first component of a second device includes: The first device establishes a communication connection with the second device; Based on the communication connection, obtain the capabilities of the first component of the second device from the second device; Alternatively, obtain the capabilities of the first component of the second device from a service device.

12. The method according to any one of claims 1-11, characterized in that obtaining the capabilities of the first component of the second device includes: obtaining the capability information of the first component of the second device; generating the capabilities of the first component of the second device according to the capability information.

13. The method according to any one of claims 1-12, characterized in that the capabilities of the second component are determined according to user information.

14. The method according to claim 13, characterized in that the user information is at least one of spatial information associated with the user and a user profile.

15. The method according to claim 13 or 14, characterized in that the second device is one or more; the capabilities of the first component are used to control at least one third device to perform a first operation, including: the capabilities of the first component are used to control the at least one third device to perform the first operation in combination with a first space; and are also used to control the at least one third device to perform the first operation in combination with a second space; responding to the user's operation on the second component, performing the first operation on the at least one third device, including: responding to the user's operation on the second component in the first space, performing the first operation on the at least one third device in the first space; or, responding to the user's operation on the second component in the second space, performing the first operation on the at least one third device in the second space.

16. The method according to claim 13 or 14, characterized in that the second device is one or more; the second component has the ability to control the at least one third device to perform the first operation in combination with a first space, and has the ability to control the at least one third device to perform the first operation in combination with a second space; responding to the user's operation on the second component, performing the first operation on the at least one third device, including: responding to the user's operation on the second component in the first space, performing the first operation on the at least one third device in the first space; or, responding to the user's operation on the second component in the second space, performing the first operation on the at least one third device in the second space.

17. The method according to any one of claims 1-16, characterized in that the area where the second component is located is an annular area, or the second component is a retractable telescopic window component, or the second component is a progress bar component, or the second component is a rotatable spherical component, or the second component is a push-pull rocker component; or the second component is a button component; or the second component is a scene component, and the at least one third device is a device under the scene corresponding to the scene component; or the second component is a space component, and the at least one third device is a device under the space corresponding to the space component; or the second component is a device component, and the at least one third device is a device corresponding to the device component.

18. The method according to any one of claims 1-17, wherein, further comprising: generating a third interface, the third interface including a seventh component having the capabilities of an eighth component of the second device; the seventh component having a different style from the second component, or the third interface having a different style from the interface including the second component; in response to a switching operation by the user, switching from the third interface to the interface including the second component.

19. The method according to claim 11, wherein, the communication connection includes a near-field connection, and the near-field connection includes at least one of the following connections: a Near Field Communication (NFC) connection, a Bluetooth connection.

20. The method according to any one of claims 1-19, wherein, the first device includes a portable control device or a fixed device, and / or the second device includes a portable control device or a fixed device; the portable control device includes a portable whole-house control device, the fixed device includes a fixed whole-house control device, and the whole-house scenario includes at least one of the following scenarios: a home scenario, an office, a hotel, a shopping mall.

21. The method according to any one of claims 1-20, wherein, the second device includes a Bluetooth button or panel, and the first device includes a wearable device.

22. The method according to any one of claims 1-21, wherein, the first device and the second device are devices of the same account or different accounts.

23. A computer-readable storage medium, wherein, it includes a program or instructions, and when the program or instructions are executed, the method according to any one of claims 1 to 22 is implemented.

24. An electronic device, wherein, the electronic device includes a processor and a memory; the memory is used to store computer-executable instructions, and when the electronic device runs, the processor executes the computer-executable instructions stored in the memory so that the electronic device executes the method according to any one of claims 1-22.