Device control method and electronic device
By generating the control component capability of the second device on the first device, the operation of remotely controlling the third device is realized, and the problem of insufficient efficiency and convenience of existing equipment control methods is solved, and the efficiency of equipment control is improved.
Patent Information
- Application Number
- PCT/CN2024/122558
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-11-28
- Filing Date
- 2024-09-29
- Publication Date
- 2025-06-05
AI Technical Summary
The existing equipment control method is not efficient and convenient enough, and users need to go to the device position to control it.
By acquiring the control component capabilities of the second device and generating corresponding components on the first device, the operation of remotely controlling the third device is realized.
The user can realize similar control functions through the first device without moving to the second device, reducing the device control time and improving efficiency.
Smart Images

Figure CN2024122558_05062025_PF_FP_ABST
Abstract
Description
Device control method and electronic device
[0001] This application claims priority to the Chinese patent application filed with the State Intellectual Property Office on November 28, 2023, with application number 202311615490.1 and application name “Device Control Method and Electronic Device”, the entire contents of which are incorporated by reference into this application. Technical Field
[0002] The present application relates to the field of terminal technology, and in particular to a device control method and electronic equipment. Background Art
[0003] Currently, with the development of whole-home intelligence, the number of smart devices in users' homes has increased, and some of these devices can be used as control terminals to control other devices. For example, devices such as central control screens, Bluetooth panels, and Bluetooth buttons can be used as control terminals. Some control terminals, such as Bluetooth panels, can be mounted on the wall, while some control terminals, such as Bluetooth buttons, are removable. 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 find the corresponding Bluetooth button before 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 an efficient device control method is urgently needed.
[0004] Summary of the Invention
[0005] The present application provides a device control method and electronic equipment, which can improve the efficiency of device control.
[0006] To achieve the above objectives, the embodiments of the present application adopt the following technical solutions.
[0007] In a first aspect, the present application provides a device control method. The method may be performed by an electronic device or a component located in the electronic device (e.g., a chip, a chip system, or a processor). The following description uses the electronic device as an example. The method may include: obtaining a capability of a first component of a second device, where the capability of the first component is used to control at least one third device to perform a first operation; generating a second component having the capability of the first component; and performing the first operation on the at least one third device in response to a user's operation on the second component.
[0008] The first operation may include one or more operations. For example, based on different device control granularities, one or more third devices may perform multiple operations when controlling execution scenarios.
[0009] The solution of the present application enables the first device to have the control capability of at least the first component of the second device and perform device control accordingly. In this way, the user can implement similar device control functions 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 device control efficiency.
[0010] In a possible design, the first component and the second component may be of the same or different styles.
[0011] For example, a watch uses a hardware bezel to simulate the rotatable outer bezel of a Bluetooth button, and the style of the watch bezel and the style of the rotatable outer bezel can be different. For another example, a watch simulates the rotatable outer bezel of a Bluetooth button through a component in the interface, and the style of the watch component and the style of the rotatable outer bezel can be the same or different. For another example, a watch simulates a component (first component) in the panel interface through a component (second component) in the interface, and the styles of the two components can be the same or different.
[0012] In this way, the first device can provide a rich variety of second components for implementing similar device control functions of the second device, thereby improving the human-computer interaction experience during the device control process.
[0013] In one possible design, the first component includes a software component or a hardware component, and / or the second component includes a software component or a hardware component.
[0014] Software components include, but are not limited to, components in the interface. Hardware components include, but are not limited to, watch bezels.
[0015] In one possible design, the first interface on the second device includes at least one component; the at least one component includes the first component;
[0016] Acquiring capabilities of a first component of a second device, including:
[0017] Capabilities of the at least one component on the first interface are acquired, and at least one component on the first device corresponding to the capabilities of the at least one component is generated, where the at least one component on the first device includes the second component.
[0018] In one possible design, the at least one component on the first interface includes a third component, and the capability of the third component is used to control at least one fourth device to perform a second operation; further comprising:
[0019] generating a fourth component having the capability of the third component;
[0020] In response to a user's operation on the fourth component, the second operation is performed on the at least one fourth device.
[0021] In one possible design, it also includes:
[0022] A second interface is generated, where the second interface includes the second component. 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 the style of the second component.
[0023] In this way, the first device provides a second interface, so that the user can operate through the second interface to conveniently and quickly implement similar device control capabilities of the second device.
[0024] In one possible design, it also includes:
[0025] Obtaining a user's editing operation on the second component;
[0026] According to the editing operation, the capability of the second component is updated; the updated capability is 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 the first operation.
[0027] 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 needs and improve the user experience of the device control.
[0028] In one possible design, it also includes: copying the updated capabilities of the second component to the first component or the fifth component of the second device.
[0029] In this way, the second device can have the capabilities of the updated second component, which helps the user to use the second device to achieve corresponding device control.
[0030] In one possible design, it also includes:
[0031] A sixth component is generated, wherein the sixth component has the ability to control at least one sixth device to perform a fifth operation.
[0032] In this way, the first device can generate a new component with new capabilities to meet the user's device control needs and improve the user experience of the device control.
[0033] In one possible design, the sixth component and the second component are components in the same scene, or components in the same space, or components in the same subsystem.
[0034] In this way, a sixth component can be added based on the corresponding device control granularity (such as scene level, space level, subsystem level) to meet the user's device control needs.
[0035] In one possible design, obtaining the capability of the first component of the second device includes:
[0036] The first device establishes a communication connection with the second device;
[0037] acquiring, from the second device, a capability of the first component of the second device based on the communication connection;
[0038] Or, obtain the capability of the first component of the second device from a service device.
[0039] In one possible design, obtaining the capability of the first component of the second device includes:
[0040] Obtaining capability information of the first component of the second device;
[0041] Capabilities of the first component of the second device are generated according to the capability information.
[0042] Illustratively, the capability is encrypted information, or unencrypted information.
[0043] In one possible design, the capability of the second component is determined based on user information.
[0044] In this way, the first device can determine the capabilities of the second component based on the user information, so that the user can control the device that matches the user information by manipulating the second component, thereby meeting the user's device control needs.
[0045] In one possible design, the user information is spatial information associated with the user, and at least one of the authorized user portraits.
[0046] In one possible design, there are one or more second devices; and the capability of the first component is used to control at least one third device to perform a first operation, including: the capability of the first component is used to control the at least one third device to perform the first operation in combination with the first space; and is also used to control the at least one third device to perform the first operation in combination with the second space;
[0047] In response to a user's operation on the second component, performing the first operation on the at least one third device includes:
[0048] In response to the user's operation on the second component in the first space, the first operation is performed on the at least one third device in the first space; or, in response to the user's operation on the second component in the second space, the first operation is performed on the at least one third device in the second space.
[0049] For example, the second device is a Bluetooth button and the first device is a watch. If the Bluetooth button is in the bedroom, the user rotating the Bluetooth button knob (an example of the first component) can trigger the Bluetooth button to control the execution of a scene corresponding to the bedroom (such as a sleeping scene). If the Bluetooth button is in the living room, the user rotating the Bluetooth button knob can trigger the Bluetooth button to control the execution of a scene corresponding to the living room (such as a movie theater scene). In other words, the Bluetooth button has the function of determining the device to be controlled when operating the first component based on the user's location.
[0050] After the Bluetooth button copies the capabilities of the first component to the second component of the watch, the watch can also determine the device that needs to be controlled when the user operates the second component based on the user's space. For example, if the user is in the bedroom, the watch controls the execution of the sleep scene; if the user is in the living room, the watch controls the execution of the theater scene.
[0051] In one possible design, the second device is one or more;
[0052] The second component has the ability to control the at least one third device to perform the first operation in conjunction with the first space, and has the ability to control the at least one third device to perform the first operation in conjunction with the second space;
[0053] In response to a user's operation on the second component, performing the first operation on the at least one third device includes:
[0054] In response to the user's operation on the second component in the first space, the first operation is performed on the at least one third device in the first space; or, in response to the user's operation on the second component in the second space, the first operation is performed on the at least one third device in the second space.
[0055] For example, the second device is a Bluetooth button and the first device is a watch. The Bluetooth button does not have the ability to determine the device to be controlled based on the user's space. After the Bluetooth button copies the capabilities of the first component to the second component of the watch, the watch can determine the device to be controlled when the user operates the second component based on the user's space. For example, if the user is in the bedroom, the sleep scene will be controlled, and if the user is in the living room, the theater scene will be controlled.
[0056] In one 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;
[0057] 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.
[0058] In this way, after the first device (such as a watch) obtains the capabilities of the components of the second device, it can present a colorful device control interface based on the device control capabilities of the components of the second device. Users can control the corresponding device conveniently and quickly through the device control interface, thereby improving device control efficiency and user experience.
[0059] In one possible design, it also includes:
[0060] generating a third interface, the third interface including a seventh component, the seventh component having the capability of the eighth component of the second device; the seventh component having a style different from that of the second component, or the style of the third interface having a style different from that of the interface including the second component;
[0061] In response to a switching operation by the user, the third interface is switched to an interface including the second component.
[0062] In one possible design, 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 and a Bluetooth connection.
[0063] In this way, the capabilities of the components of the second device can be quickly and conveniently copied to the first device through methods such as touch.
[0064] 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 from the second device are also possible.
[0065] In one 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;
[0066] 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 scene includes at least one of the following scenes: home scene, office, hotel, shopping mall, and car.
[0067] In one possible design, the second device includes a Bluetooth button or panel, and the first device includes a wearable device.
[0068] In one 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 between each other.
[0069] In a second aspect, an electronic device is provided, the electronic device having the functionality to implement the method described in any of the above aspects and any possible implementation thereof. The functionality may be implemented in hardware, or may be implemented in software executed by hardware. The hardware or software includes one or more modules corresponding to the above functionality.
[0070] In a third aspect, a computer-readable storage medium is provided. The computer-readable storage medium stores a computer program (also referred to as instructions or code), which, when executed by an electronic device, causes the electronic device to perform the method of any of the above aspects or any embodiment of any of the aspects.
[0071] In a fourth aspect, a computer program product is provided. When the computer program product is run on an electronic device, the electronic device executes a method of any aspect or any embodiment of any aspect.
[0072] In a fifth aspect, a circuit system is provided, the circuit system including a processing circuit, the processing circuit being configured to execute the method of any aspect or any embodiment of any aspect.
[0073] In a sixth aspect, a chip system is provided, comprising at least one processor and at least one interface circuit, wherein the at least one interface circuit is used to perform transceiver functions 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 of any aspect or any embodiment of any aspect.
[0074] In a seventh aspect, an electronic device is provided, comprising a processor and a memory. The memory is configured to store a computer program (also referred to as instructions or code), and the processor is configured to execute the computer program so that the electronic device performs the method of any of the above aspects or any embodiment of any of the aspects.
[0075] In an eighth aspect, a system is provided, comprising a first electronic device as described above for implementing the method of any of the above aspects or any embodiment of any aspect, and a cooperating second electronic device. BRIEF DESCRIPTION OF THE DRAWINGS
[0076] FIG1 is a schematic diagram of an interface of a device control method in the related art;
[0077] FIG2 is a schematic diagram of a system architecture provided in an embodiment of the present application;
[0078] FIG3 is a schematic diagram of a system architecture provided in an embodiment of the present application;
[0079] FIG4 is a schematic diagram of the structure of the device provided in an embodiment of the present application;
[0080] FIG5A is a schematic diagram of a scenario of replicating component capabilities provided by an embodiment of the present application;
[0081] FIG5B is a schematic diagram of a scenario of a device control method provided in an embodiment of the present application;
[0082] FIG6 is a schematic diagram of a scenario of a device control method provided in an embodiment of the present application;
[0083] FIG7 is a schematic diagram of a flow chart of a device control method provided in an embodiment of the present application;
[0084] FIG8 is a schematic diagram of a scenario of a device control method provided in an embodiment of the present application;
[0085] Figures 9-20 are schematic diagrams of interfaces provided in embodiments of the present application;
[0086] FIG21 is a schematic diagram of a scenario of a device control method provided in an embodiment of the present application;
[0087] FIG22 is a schematic diagram of an interface provided in an embodiment of the present application;
[0088] FIG23 is a schematic diagram of the structure of the device provided in an embodiment of the present application;
[0089] FIG24 is a schematic structural diagram of the chip system provided in an embodiment of the present application. DETAILED DESCRIPTION
[0090] The terms "first" and "second" in the specification and drawings of this application are used to distinguish different objects, or to distinguish different treatments of the same object. Words such as "first" and "second" can distinguish between identical or similar items with substantially the same functions and effects. For example, the first device and the second device are merely used to distinguish different devices and do not limit their order. Those skilled in the art will understand that words such as "first" and "second" do not limit the quantity or execution order, and words such as "first" and "second" do not necessarily limit differences.
[0091] "At least one" means one or more, and "a plurality" means two or more.
[0092] "And / or" describes the association relationship of associated objects, indicating that there can be three relationships. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone, where A and B can be singular or plural. The character " / " generally indicates that the previous and next associated objects are in an "or" relationship. "At least one of the following" or similar expressions refers to any combination of these items, including any combination of single or plural items. For example, at least one of a, b, or c can mean: a, b, c, ab, ac, bc, or abc, where a, b, c can be single or plural.
[0093] Furthermore, the terms "including," "having," and any variations thereof, as used in the description of this application are intended to cover non-exclusive inclusions. For example, a process, method, system, product, or apparatus comprising a series of steps or units is not limited to the listed steps or units, but may optionally include other steps or units not listed, or may optionally include other steps or units inherent to the process, method, product, or apparatus.
[0094] It should be noted that in the embodiments of this application, words such as "exemplary" or "for example" are used to indicate examples, illustrations, or descriptions. Any embodiment or design described as "exemplary" or "for example" in the embodiments of this application should not be interpreted as being more preferred or advantageous over other embodiments or designs. Rather, the use of words such as "exemplary" or "for example" is intended to present the relevant concepts in a concrete manner.
[0095] In the embodiments of the present application, when A sends a message to B, A can send it directly to B, or A can send it to B through one or more other devices, such as A sending it to C, which then sends it to B. Optionally, when forwarding messages between different devices, the intermediate devices can process the messages. For example, if A sends a message to C, C processes the message and then sends the processed message (such as a control instruction) to B. The format of the message received by B may be different from the format of the message sent by A.
[0096] The collection, storage, use, processing, transmission, provision, and disclosure of user personal information in the technical solutions of the embodiments of this application are in compliance with relevant laws and regulations and do not violate public order and good morals. For example, in the technical solutions of the embodiments of this application, the processing of user personal information is performed with the user's authorization, which is explained here and will not be repeated below.
[0097] Figure 1 shows an interface for associating a Bluetooth button with a scene in the related art. As shown in Figure 1(a), a user clicks the Add button on interface 101, triggering the phone to jump to interface 102, shown in Figure 1(b). The user can set the scene for the Bluetooth button on interface 102, such as selecting Movie Viewing mode. The phone then displays interface 103, shown in Figure 1(c).
[0098] In other implementations, interface 102 is optional. The user clicks the add button on interface 101 to trigger the mobile phone to jump to interface 103 as shown in Figure 1 (c). The user can set the function of the Bluetooth button on interface 103, such as setting the Bluetooth button to control the opening and closing of curtains in viewing mode. After successfully associating the Bluetooth button with the scene, the mobile phone can display interface 104 as shown in Figure 1 (d). Subsequently, the user can use the Bluetooth button to control the opening and closing of curtains in viewing mode. However, in some cases, it is difficult for the user to quickly find the Bluetooth button in the whole house, which affects the efficiency of the user using the Bluetooth button to control the device. In other cases, some control terminals such as Bluetooth panels can be installed on the wall. When the user wants to use the control terminal, he needs to go to the location where the Bluetooth panel is installed on the wall and control the device by operating the Bluetooth panel. The efficiency of device control is also low.
[0099] 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. By way of example, FIG2 is a schematic diagram of a device control system to which the method is applicable. As shown in FIG2 , the device control system can manage and control smart devices on a home basis. Among them, a family can also be referred to as 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, and the like.
[0100] The whole-house system may include device 100. Device 100 may also be referred to as a control device or a control terminal, and is used to control controlled devices. For example, device 100 is a watch, and a user can use the watch to control controlled devices such as lights.
[0101] In the embodiment of the present application, device 100 is a highly portable device. Optionally, device 100 includes, but is not limited to, a wearable device. This allows users to conveniently and quickly control controlled devices using their portable device 100 without having to search the entire house for the device 100, thereby improving device control efficiency.
[0102] Exemplarily, the device 100 may be a portable device such as a watch, a bracelet, headphones, smart glasses, or a smart head-mounted display. The embodiment of the present application does not limit the form of the device 100. As long as the device is easy for the user to carry and use, it can be regarded as the device 100. The device control capability of the device 400 can be copied to a portable device so that the portable device has a device control capability similar to that of the device 400. In some embodiments, the device control capability of the device 400 can also be copied to a non-portable device (such as a fixed device), such as copying it to a central control screen or a smart screen, so that the central control screen or the smart screen has the device control capability of the device 400.
[0103] In some embodiments, when certain conditions are met, device 400 can send its own capability information to device 100, so that device 100 has similar device control capabilities as device 400. Subsequently, when the user manipulates device 100, it can trigger device 100 to send instructions to hub device 300. After receiving the instructions, hub device 300 can control the corresponding device to perform corresponding actions according to the instructions. For example, device 100 is a watch, and device 400 is a Bluetooth button. The Bluetooth button is configured to control the switch of the living room light. The Bluetooth button sends the capability information of the Bluetooth button to the watch, and the watch is configured according to the capability 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 go to the trouble of finding the Bluetooth button, but can quickly and conveniently control the device through the watch carried with him, and the efficiency of device control is high.
[0104] In other embodiments, the service device may obtain the device control capability of the device 400. Alternatively, the service device may be a server, a hub device, a routing device, or other devices. The device 100 may obtain the device control capability of the device 400 from the service device.
[0105] Optionally, the device 100 has a display screen, such as a watch, and the watch can provide an interface or voice control method, so that the user can control the device through the interface or voice, etc., to meet the user's device control needs.
[0106] The entire house also includes device 400. Optionally, device 400 supports one or more communication protocols, such as Bluetooth and near-field communication (NFC). Device 400 can be a device with device control capabilities. For example, device 400 includes, but is not limited to, smart switches, smart buttons (such as Bluetooth buttons), and panels (including, but not limited to, Bluetooth panels). Smart switches can be used to control lights on and off.
[0107] Device 400 can be associated with one or more devices. For example, if a smart switch can be used to turn the living room light on or off, the smart switch can be said to be associated with the living room light. Another example is that a panel can be used to control scenarios such as returning home, leaving home, sleeping, and reading, and the panel can be said to be associated with devices in each of these scenarios. Another example is that a panel can be used to control the lighting subsystem and the security subsystem, and the panel can be said to be associated with devices in these subsystems. Device 400 can also be associated with other devices at different granularities, not limited to device-level, subsystem-level, or scenario-level granularity.
[0108] Taking device 400 including an NFC module as an example, when device 100 needs to be configured with device control capabilities, device 400 can be placed close to device 100. Device 100 can read device 400's capability information (such as configuration information of scenarios that device 400 can control, device 400's identification, security information, etc.) from device 400 via the NFC module and configure itself based on this capability information, thereby enabling it to have device control functions similar to those of device 400. Still taking device 400 as a Bluetooth button and device 100 as a watch as an example, assuming that the Bluetooth button is configured to control the living room light, the user can touch the Bluetooth button against the watch to trigger the Bluetooth button to send its capability information to the watch, enabling the watch to also have the ability to control the living room light.
[0109] The whole house is also equipped with devices 200 (e.g., IoT devices). Devices 200 can also be called controlled devices. Users can control devices 200 to perform corresponding actions through device 100.
[0110] It should be noted that device 200 includes, but is not limited to, smart TVs, smart speakers, and other smart home devices. It may also be other types of devices, such as tablets, mobile phones, and smart remote controls, rather than smart home devices. The specific form of device 200 is not limited in this embodiment of the application.
[0111] In some examples, one of the devices 200 may serve as a master device to control other devices 200 .
[0112] In some embodiments, there are many types of devices 200, and subsystems can be divided according to the functions of the device 200, such as a lighting subsystem, an environmental subsystem, a security subsystem, etc. Each subsystem includes one or more devices.
[0113] For example, the lighting subsystem includes various types of lights (including but not limited to ambient lighting). Another example is the heating and cooling subsystem, which includes various devices that can adjust temperature and humidity. Another example is the sunshade subsystem, which includes various devices that can achieve sunshade.
[0114] In the embodiment of the present application, multiple devices in one or more subsystems can be freely combined and integrated into a super terminal. Each device can become a functional module of each other, achieving mutual assistance and resource sharing.
[0115] Optionally, the whole house also includes a central device 300. The central device 300 is also called a hub, a central control system, an intelligent host, or a host. Optionally, the central device in each room or area, or the central device of the whole house can exist independently, or can be integrated into one device with other devices, or can be a device of other forms. This embodiment of the present application does not limit this.
[0116] 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 uses a specific protocol to select and set the path for sending signals. Device 100, device 200, hub device 300, and device 400 can access the routing device and transmit data with devices in the local area network or devices on the Internet through channels such as Wi-Fi established by the routing device. In one embodiment, the hub device 300 can be integrated with the routing device into one device. For example, the hub device 300 and the routing device are integrated into a routing device, that is, the routing device has the functions of the hub device 300. The routing device can be one or more routing devices in a parent-child routing device, or it can be an independent routing device.
[0117] Optionally, in an example, the system further includes a gateway 600. Optionally, the device 200 and the device 400 can access the routing device through the gateway.
[0118] The above content is only an example of a system to which the device control method is applicable. The system may also include more or fewer devices, or different device layout positions, or different connection relationships, device forms, etc.
[0119] 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. Routing device 300, device 200, device 400, and gateway 600 can connect to routing device 500 via Wi-Fi. In some examples, device 400 can also access gateway 600 via Bluetooth to access routing device 500 through gateway 600. Taking device 100 as a watch as an example, the watch can communicate with gateway 600. The connection relationship shown in Figure 3 is only an example. It should be understood that connections can also be established between devices in other ways. The embodiments of the present application do not limit the specific connection method between devices.
[0120] In addition to the whole-home smart scene mentioned above, the technical solutions of the above embodiments can also be applied in other scenes. For example, the technical solutions of the above embodiments can also be applied in travel, car, office and other scenes.
[0121] Optionally, the device 100, device 200, and hub device 300 in the embodiment of the present application can be implemented by different devices. For example, they can be implemented by the device in Figure 4. Figure 4 shows a schematic diagram of the hardware structure of the device provided in the embodiment of the present application. The device includes at least one processor 501, a memory 503, and at least one communication interface 504. The memory 503 can also be included in the processor 501.
[0122] It is understood that the structures illustrated in the embodiments of the present application do not constitute specific limitations on the electronic device. In other embodiments of the present application, the electronic device may include more or fewer components than shown, or may combine or separate certain components, or arrange the components differently. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
[0123] The processor 501 may be a general-purpose central processing unit (CPU), a microprocessor, an application-specific integrated circuit (ASIC), or one or more integrated circuits for controlling the execution of the program of the present application.
[0124] There may be a communication line between the above components, and the communication line may include a path to transmit information between the above components.
[0125] Communication interface 504 is used to communicate with other devices. In embodiments of the present application, the communication interface can be a module, circuit, bus, interface, transceiver, or other device capable of implementing communication functions, used to communicate with other devices. Optionally, when the communication interface is a transceiver, the transceiver can be an independently provided transmitter that can be used to send information to other devices, or the transceiver can be an independently provided receiver that is used to receive information from other devices. The transceiver can also be a component that integrates the functions of sending and receiving information. Embodiments of the present application do not limit the specific implementation of the transceiver.
[0126] The memory 503 may 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 an electrically erasable programmable read-only memory (EEPROM), a compact disc read-only memory (CD-ROM) or other optical disc storage, an optical disc storage (including a compact disc, a laser disc, an optical disc, a digital versatile disc, a Blu-ray disc, etc.), a magnetic disk storage medium or other magnetic storage device, or any other medium that can be used to carry or store 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 may exist independently and be connected to the processor via a communication line. The memory may also be integrated with the processor.
[0127] The memory 503 is used to store computer-executable instructions for implementing the solution of the present application, and the execution is controlled by the processor 501. The processor 501 is used to execute the computer-executable instructions stored in the memory 503, thereby implementing the methods provided in the following embodiments of the present application.
[0128] Optionally, the computer-executable instructions in the embodiments of the present application may also be referred to as application code, instructions, computer programs or other names, which are not specifically limited in the embodiments of the present application.
[0129] In a specific implementation, as an embodiment, the processor 501 may include one or more CPUs, such as CPU0 and CPU1 in FIG. 4 .
[0130] In a specific implementation, as an embodiment, an electronic device may include multiple processors, such as processor 501 and processor 507 in FIG4 . Each of these processors may be a single-core (single-CPU) processor or a multi-core (multi-CPU) processor. The processor herein may refer to one or more devices, circuits, and / or processing cores for processing data (e.g., computer program instructions).
[0131] It is understood that the structure shown in FIG4 does not constitute a specific limitation on the electronic device. In other embodiments of the present application, the electronic device may include more or fewer components than shown, or may combine or separate certain components, or arrange the components differently. The components shown in the figure may be implemented in hardware, software, or a combination of software and hardware.
[0132] The following mainly takes the device 100 as a watch as an example to illustrate the device control method provided in the embodiment of the present application.
[0133] In some embodiments, the second device may send information related to its own device control capabilities (referred to as capability information) to the first device. After the first device obtains the capability information, it may control the corresponding device based on the capability information. Optionally, the capability information includes, but is not limited to, at least one of the following: scenario configuration information, subsystem configuration information, single device configuration information, and device type configuration information. 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.
[0134] For example, if both the panel and Bluetooth button A support NFC, as shown in Figure 5A (a), the user can bring the watch close to panel A. Panel A detects the watch's proximity and, if the watch is within the NFC sensing range of panel A, transmits panel A's capability information to the watch. For example, panel A transmits its configured settings for home, leaving home, sleeping, and reading to the watch. The user can also tap the Bluetooth button against the watch to transmit its capability information to the watch.
[0135] For another example, as shown in (b) of FIG5A , the user touches button B against the watch, triggering the watch to read configuration information of button B from button B, such as configuration information related to controlling the lighting subsystem in the living room.
[0136] The embodiments of the present application mainly take the sending of capability information via NFC as an example. In other embodiments, capability information can also be sent via other methods, such as Bluetooth, Wi-Fi, etc., without limitation.
[0137] Through similar methods described above, the watch obtains capability information from other devices, and accordingly, the watch has the ability to control the devices based on this capability information. For example, as shown in Table 1, the watch is configured with capability information for Bluetooth button 400a in the master bedroom, capability information for Bluetooth button 400b in the living room, and capability information for panel 400c in the second bedroom. Alternatively, the capability information of other devices stored on the watch can be in other forms, not limited to tables, and is not limited in this embodiment of the present application.
[0138] Table 1
[0139] Subsequently, the watch can perform device control based on 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 been configured with the capability information of Bluetooth button 400b in the living room. Accordingly, the watch has similar device control capabilities as Bluetooth button 400b. The watch can switch to the control mode of Bluetooth button 400b in the living room where the user is currently located. In control mode, the user can manipulate the watch to trigger the watch to implement the corresponding device control function.
[0140] For example, if the Bluetooth button 400b has been configured to control the opening and closing of curtains as shown in (c) of Figure 1, the user can control the watch to achieve a similar function of controlling the opening and closing of curtains as controlling the Bluetooth button 400b. As shown in (a) of Figure 6, 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 realize the curtain control function of the Bluetooth button 400b in the living room, and accordingly sends a control instruction to the hub device. The control instruction is used to control the curtains. After receiving the control instruction, the hub device controls the curtains in the living room.
[0141] Similarly, later, when the user is in the master bedroom (an example of the second space), the watch can dynamically switch to the control mode of Bluetooth button 400a as shown in Figure 5B. As shown in Figure 6(b), in response to the user's device control intention, the watch determines that the user wants to control the master bedroom light to turn off, and accordingly sends a control instruction to the hub device, which controls the master bedroom light to turn off.
[0142] Similarly, when the user is in the second bedroom, the watch can dynamically switch to the control mode of panel 400c as shown in Figure 5B. As shown in Figure 6 (c), in response to the user's device control intention, the watch determines that the user wants to control the reading scene in the second bedroom and sends a control instruction to the central device accordingly. The central device controls the reading scene in the second bedroom, such as controlling the air conditioner in the second bedroom to 28 degrees or turning on the lights in the second bedroom.
[0143] In this way, the watch can be configured with the device control capabilities of a second device (such as a Bluetooth button or panel) and dynamically switch to the corresponding control capabilities according to the situation. For example, the watch can intelligently and automatically switch the corresponding control function according to the user's location, allowing the user to control the device in the space through the watch worn on the body, improving the efficiency of device control. In addition, the user does not need to laboriously search for the Bluetooth button or walk to a fixed panel position, and can quickly and easily realize device control, which greatly reduces the user's time cost.
[0144] While the above example uses a watch switching corresponding control capabilities based on the user's location, in other embodiments, the watch can also dynamically switch corresponding control capabilities based on other user information. User information refers to spatial information associated with the user and at least one of the user profiles. User profiles include, but are not limited to: devices that the user is accustomed to operating in corresponding scenarios, devices that the user is accustomed to operating in corresponding environments, and devices that the user is accustomed to operating at corresponding times or time periods.
[0145] For example, if the user is used to reading in the study between 9:00 and 10:00 in the evening, then between 9:00 and 10:00, when the watch detects that the user wants to control the device, it can switch to the control interface of the reading scene so that the user can trigger the execution of the reading scene by manipulating the control interface.
[0146] FIG7 shows an example of a process flow of a method according to an embodiment of the present application. As shown in FIG7 , the method may include the following steps:
[0147] S101: A first device obtains a capability of a first component of a second device.
[0148] As a possible implementation manner, the first device obtains capability information of the first component of the second device; and generates the capability of the first component of the second device according to the received capability information.
[0149] Optionally, the first device may obtain the capabilities of the second device from the second device, or obtain the capabilities of the second device from the service device. This embodiment of the application takes the example of the first device obtaining the capabilities of the second device from the second device, but this does not constitute a limitation on the manner in which the first device obtains the capabilities of the second device.
[0150] For example, the second device sends capability information. In response, the first device receives the capability information and, based on the capability information, obtains the capabilities of the first component of the second device. The capabilities of the corresponding components on the first and second devices can be identical or partially identical, enabling the first device to replicate or inherit the control capabilities of the second device.
[0151] For example, the second device sends its capability information to the first device via NFC.
[0152] Optionally, the number of the second device may be one or more.
[0153] The capability information may be 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 the component is associated with one or more controlled devices. If the button is set to control the opening and closing of the living room curtains, then the button can be said to be associated with the living room curtains. For another example, if the button is set to control the reading scene, then the button can be said to be 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 the four scenes of 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 to be controlled in the sleeping scene.
[0154] In some cases, the second device can be a device used to control the execution of scenarios. For example, a scene panel controls the execution of scenes such as returning home, leaving home, and sleeping. In this case, the second device sends the scene capability information to the first device. For example, the panel sends the configuration information of scenes such as returning home and leaving home (including but not limited to the execution logic of each scene) to the watch. In this way, the watch also has the ability to control the execution of similar scenes.
[0155] In other cases, the second device may be a device used to control a single device, such as 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 similar devices.
[0156] In other cases, the second device may be a device used to control a type of device, such as lighting devices (e.g., various lamps). In this case, the second device sends the capability information of the device to the first device, so that the first device also has the ability to control similar devices.
[0157] In other cases, the second device may be used to control a subsystem, such as a security subsystem. In this case, the second device sends the subsystem's capability information to the first device, enabling the first device to control a similar subsystem. Alternatively, the second device may control a variety of devices, types, and granularity. Accordingly, after the second device sends its capability information to the first device, the first device will have the ability to control the corresponding devices.
[0158] In some examples, the control capabilities of the second device are greater than or equal to those of the first device. For example, the panel can control scenarios such as returning home, leaving home, and sleeping. The watch can control some or all of these scenarios.
[0159] In other examples, the first device can determine the new device control capability based on the capability information of the second device. For example, the watch receives capability information from two panels respectively, wherein the capability information of panel 1 indicates that panel 1 can control the execution of home, leaving home, sleeping, and reading scenes, and the capability information of panel 2 indicates that panel 2 can control the execution of home, leaving home, party, and movie watching scenes. The watch can combine the capability information of the two panels to generate new control capabilities. For example, the watch generates a new relaxation scene based on the party scene and the home scene. In the relaxation scene, 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 scene (such as the relaxation scene) are met, the watch controls the execution of the new scene. The new combination scene can be obtained by further configuration by the user on the watch, or it can be automatically combined and generated by the watch according to business rules.
[0160] 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. As shown in (a) of Figure 5A, the user touches the watch to the panel, and the panel obtains the account information logged in by the watch. Assuming that the accounts logged in by the panel and the watch are both a1..., 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 is passed, the second device can send its own capability information to the first device. In this way, the security risks brought by unsafe devices obtaining the capability information of the second device can be reduced.
[0161] Optionally, the same account may refer to an account of the same user, or an account shared by multiple users, such as a family account.
[0162] Optionally, the first device and the second device may be devices of different accounts, for example, the first device and the second device are devices with an established trust relationship.
[0163] Alternatively, before the first device obtains capability information from the second device, or before the first device performs configuration based on the capability information, the user may be asked whether to configure the device control capability of the second device. As shown in FIG5A(b), when the user touches the watch to the Bluetooth button, before the watch reads the capability information from the Bluetooth button via NFC, a pop-up window 505 may appear, prompting whether to configure the device control capability of the Bluetooth button for the watch. In response to the user selecting "Yes", the watch reads the capability information from the Bluetooth button and performs configuration. After configuration is complete, the watch has device control capabilities similar to those of the Bluetooth button.
[0164] S102: The first device generates a second component having the capability of the first component.
[0165] For example, as shown in FIG8(b), still assuming that the watch is the first device, the watch can simulate the device control capabilities of Bluetooth button 400b. For example, the outer ring of Bluetooth button 400b (an example of the first component) has the ability to control the opening and closing of curtains. The watch can simulate the capabilities of outer ring A of Bluetooth button 400b, such as simulating the capabilities of outer ring A through the watch bezel (the second component). In some examples, the watch can write corresponding software events for the watch bezel to enable the watch bezel to have similar capabilities to outer ring A.
[0166] 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.
[0167] Still taking the example of the first device being a watch and the second device including the Bluetooth button 400b in the living room, after the Bluetooth button 400b sends its own capability information to the watch, the watch has a device control capability similar to that of the Bluetooth button 400b. Subsequently, if 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 curtains as shown in (c) of Figure 1. In the living room, the user manipulates the watch (such as but not limited to inputting a specific gesture) to trigger the watch to switch to the mode of controlling the opening and closing of curtains corresponding to the Bluetooth button 400b in the living room where the user is currently located. For another example, 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 curtains corresponding to the Bluetooth button 400b in the living room where the user is currently located.
[0168] After the watch switches to curtain opening and closing control mode, the user can quickly and easily control the curtain opening and closing by manipulating the watch. For example, as shown in Figures 8(a) and 8(b), the user rotates the watch bezel (an example of the second component) to control the curtains (an example of the third device) to close (an example of the first operation). In control mode, the bezel can be configured with software events to enable device control by rotating the bezel.
[0169] As a possible implementation method, the watch converts the user's operating instructions for rotating the bezel into corresponding control instructions (such as instructions in the hibeacon Bluetooth protocol format or other formats). The control instructions are used to control the closing of the curtains. Optionally, the control instructions carry at least one of the following information: the user's location information, 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 instructions to the gateway (such as a Bluetooth gateway), and the gateway sends the control instructions to the central device.
[0170] In some examples, if the control instruction does not carry the user's location information or the simulated identifier, the central device obtains the user's location information and, based on the location information, controls the device corresponding to the user's space. For example, if the user is currently in the living room, the central device determines that the device associated with Bluetooth button 400b in the living room (the living room curtains) needs to be controlled, and accordingly sends a control instruction for closing the living room curtains to the living room curtains.
[0171] Optionally, the central device can obtain the user's location information based on the perception information of one or more sensors (such as cameras, ultrasonic positioning devices) in the whole house. The embodiment of the present application does not limit the way in which the central device obtains the user's location information.
[0172] In other examples, the control instruction carries the user's location information, and the central device controls the device corresponding to the space where the user is located based on the location information.
[0173] In other examples, the control instruction carries an analog identifier, such as the identifier of Bluetooth button 400b. In this example, the hub device, based on the analog identifier, may need to control the device associated with Bluetooth button 400b (the living room curtains), and accordingly sends a control instruction for closing the living room curtains to the living room curtains.
[0174] The present application also provides a device control method. In the corresponding control mode, the watch can match the corresponding device control method, such as voice, interface, and other different control methods. The following introduces the different device control methods of the watch.
[0175] Scenario 1: The watch displays the control interface, and the user controls the corresponding device through the control interface
[0176] In some embodiments, after the watch obtains device control-related capability information from other devices, it can match the appropriate control interface based on the capability information. For example, if the capability 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. For another example, if the capability information comes from the Bluetooth button, the watch can match a control interface that is suitable for implementing control functions similar to the Bluetooth button. For another example, if the capability information indicates controlling the volume adjustment, the watch can match a control interface suitable for volume adjustment (such as a control interface that includes a progress bar for adjusting the volume). If the capability information indicates controlling curtains, the watch can match a control interface suitable for controlling curtains. Simply put, 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 acquired capability information. Below are several examples of control interfaces.
[0177] Figure 9 shows an example of a control interface. As shown in Figure 9(a), the watch's interface includes a circular area 901. A user can swipe clockwise or counterclockwise within circular area 901. The watch transmits this swiping action to the hub device, which then sends control instructions to the corresponding device, enabling the watch to implement similar device control functions for a corresponding second device (e.g., a Bluetooth button).
[0178] For example, as shown in FIG9 (a), 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, and 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 based on Table 1, 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 can display an interface suitable for implementing the device control function of the Bluetooth button 400b as shown in FIG9 (a), which may include a circular area 901. In some examples, as shown in FIG9 (b), in response to the user's sliding operation in the circular area 901, the watch can control the opening and closing of the curtains in the living room to implement similar control functions of the Bluetooth button 400b.
[0179] Optionally, as shown in FIG9( a ), the watch may 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 opening and closing curtains).
[0180] Optionally, as shown in Figure 9(a), the watch interface may further include a button 903. Button 903 supports single-click and double-click operations, triggering different events to execute corresponding actions. For example, a user can press and hold button 903 to enter a voice command "Close the curtains." The watch will recognize the voice command and control the curtains to close.
[0181] In one or more embodiments of the present application, a user's manipulation of a component in the control interface can trigger the watch to control the state of a controlled device. For example, the amplitude or percentage of a user's sliding movement in the interface corresponds to the degree of opening or closing of curtains, the brightness of a light, or the volume of a speaker. For another example, the greater the amplitude of the user's sliding movement in the interface, the more significant the change in the state of the controlled device.
[0182] Optionally, in one or more embodiments of the present application, the watch can display the real-time controlled status of the device in the interface. For example, in Figure 9(b), during the process of controlling the curtains, the watch displays the curtain opening and closing progress (e.g., 50%) in the interface. For another example, as shown in Figure 10(b) below, the watch can display the degree of opening and closing of the curtains.
[0183] Optionally, in one or more embodiments of the present application, during the process of executing device control, the watch may display corresponding animations of the controlled device, such as displaying the animation of curtains being opened.
[0184] Optionally, in one or more embodiments of the present application, after the device control is completed, such as controlling the curtains to completely close (corresponding to 100% progress), the watch can prompt that the device control has been completed. Optionally, the watch can prompt that the device control has been completed through the interface, voice, or vibration.
[0185] Optionally, in one or more embodiments of the present application, the watch can use sensors to identify the user's movements, postures, gestures, etc., and control the device accordingly. For example, the watch can use a gyroscope or camera or other sensors to identify the user waving to the right, and control the curtains to close accordingly. For another example, the watch sends ultrasonic waves through a microphone, identifies the user's operating actions based on the changes in the reflected signal of the ultrasonic waves, and converts the operating actions into control instructions, sends the control instructions to the central device, and the central device controls the corresponding device according to the control instructions. For another example, in the control mode, the brightness of the light is increased when the user is recognized to be waving.
[0186] Figure 10 shows another example of a control interface. As shown in Figure 10(a), the watch interface 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.
[0187] For example, the user is currently in the living room, and in response to the user double-clicking the watch button 902, the watch enters the device control mode. As mentioned above, assuming that the watch is in the device control mode in the living room, it is necessary to simulate the device control function of the Bluetooth button 400b in the living room where the user is currently located. The watch can display an interface suitable for implementing the device control function of the Bluetooth button 400b as shown in (a) of Figure 10, which may include a telescopic window component 1001. In some examples, as shown in (b) of Figure 10, in response to the user sliding the telescopic window component 1001 upward, the watch can control the curtains to move upward and open the curtains to achieve a device control function similar to the Bluetooth button 400b. For another example, as shown in (c) of Figure 10, in response to the user sliding the telescopic window component 1001 to the right, the watch can control the curtains to roll up to the right.
[0188] Figure 11 shows another example of a control interface. As shown in Figure 11(a), the watch interface 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.
[0189] For example, if the user is currently in the living room and the user double-clicks button 902 on the watch, the watch determines that the user wants to use the watch to perform device control. The watch may then display an interface suitable for implementing the device control function of Bluetooth button 400b in the living room, as shown in FIG11(a). This interface may include a progress bar 1101. In some examples, as shown in FIG11(b), in response to the user swiping right on progress bar 1101, the watch may control the curtains to open upward, thereby implementing a device control function similar to Bluetooth button 400b. For another example, in response to the user long-pressing on the right side of progress bar 1101, the watch controls the curtains to open upward. Optionally, the degree to which the watch controls the curtains to open or close is related to at least one of the user's long-press duration, long-press force, and long-press area. For example, the larger the area of long-press on progress bar 1101, the faster the watch controls the curtains to open upward.
[0190] Optionally, the interface shown in (a) of Figure 11 may further include buttons. For example, buttons may be provided on one or both sides of the progress bar 1101, and the buttons may support operations such as clicking and double-clicking.
[0191] Figure 12 shows another example of a control interface. As shown in Figure 12(a), the watch's interface includes a sphere component 1201. The user can manipulate sphere component 1201 to rotate in any direction, and the watch can control the corresponding device based on the user's manipulation information. Still using the example of a watch controlling curtains, as shown in Figure 12(b), in response to the user rotating sphere component 1201 in the direction of the arrow, the watch can control the curtains upward, opening them.
[0192] Optionally, the watch can calculate the degree of curtain opening and closing based on the speed at which the user rotates the sphere assembly 1201. For example, when the user rotates the sphere assembly 1201 quickly, the watch controls the curtains to open or close quickly. When the user rotates the sphere assembly 1201 slowly, the watch controls the curtains to open or close more slowly. This allows users to meet their device control needs and provide refined control of the device.
[0193] The sphere component 1201 can support single click, double click, long press and other events. For example, in response to the user long pressing the lower right side of the sphere component 1201, the watch controls the curtains upwards.
[0194] Figure 13 shows another example of a control interface. As shown in Figure 13 (a), the interface of the watch may include a joystick 1301 (or control stick). The user can manipulate the joystick 1301, and the watch can control the corresponding device according to the user's manipulation information. The user's manipulation of the joystick includes but is not limited to pushing or dialing in a certain direction (such as left, right, front, and back), lifting / pulling upward, pressing downward, and pulling downward. Still taking the watch controlling the curtains as an example, as shown in Figure 13 (b), in response to the user pushing the joystick 1301 in the direction of the arrow, the watch can control the curtains upward to open the curtains.
[0195] The above mainly takes the example of controlling curtains with a watch. In the corresponding control mode of the watch, the user can control other devices through one or more components provided in the embodiments of the present application. For example, the user pushes down the joystick 1301 shown in Figure 13 to trigger the watch to control the volume of the bass speaker.
[0196] Figure 14 shows another example of a control interface. As shown in Figure 14, a panel (an example of a second device) displays a panel interface (an example of a first interface), which includes a home component, a leave component, a sleep component, and a reading component (these four components are examples of the first component). The watch (an example of the first device) generates at least one component on the watch corresponding to the capabilities of the panel components based on the capabilities of the components of the panel. For example, a watch interface as shown in Figure 14 (an example of a second interface) is generated. The watch interface may include one or more button components (an example of a second component). The one or more buttons may correspond to corresponding components of panel 400c. The user can manipulate the corresponding buttons to trigger the watch to control the corresponding device, thereby realizing a control function similar to that of panel 400c.
[0197] For example, 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, the watch determines, based on Table 1 above, that when the watch is in the device control mode in the second bedroom, it needs to simulate the device control function of panel 400c. The watch can then display an interface suitable for implementing the device control function of panel 400c as shown in Figure 14. The interface includes buttons 1 to 4. For example, button 1 corresponds to the button on panel 400c that controls the execution of the home scene, button 2 corresponds to the button on panel 400c that controls the execution of the leaving home scene, button 3 corresponds to the button on panel 400c that controls the execution of the sleeping scene, and button 4 corresponds to the button on panel 400c that controls the execution of the reading scene.
[0198] As shown in FIG14 , in response to the user clicking button 4 in the watch interface, the watch can control the execution of the reading scene corresponding to button 4 to implement a device control function similar to panel 400 c.
[0199] Optionally, the watch can display the status of the controlled device.
[0200] Optionally, the interface shown in FIG14 may further include a button that supports click, double-click, and other operations. For example, the user can press and hold the button to input a voice command. Alternatively, the user can also directly input a voice command without additional operation; optionally, the user can enter a wake-up word before inputting a voice command or use other prompts to prompt the device 400 to receive the voice command.
[0201] A button such as that shown in FIG14 can control a corresponding device, subsystem, or scene, without limiting the control granularity.
[0202] In one or more embodiments of the present application, the first interface of the second device may further include other components (e.g., 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 may generate a fourth component having the capabilities of the third component based on the capabilities of the third component of the first device. Subsequently, in response to a user's operation on the fourth component, the first device performs the second operation on the at least one fourth device.
[0203] In one or more embodiments of the present application, the style of the first interface on the second device is the same as or different from the style of the second interface on the first device, 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, the components in the watch interface shown in Figure 14 can also be replaced with a home component, a leaving component, a sleep component, and a reading component, so that the style of the watch interface is similar to that of the panel interface.
[0204] Figure 15 shows another example of a control interface. As shown in Figure 15 , the watch's interface can include components corresponding to one or more scenarios. For example, these one or more scenarios can correspond to scenes controllable by panel 400c. Users can manipulate components corresponding to these scenarios, triggering the watch to control and execute these scenarios, achieving device control functions similar to those of panel 400c.
[0205] For example, the user is currently in the second bedroom. In response to the user double-clicking the watch button 902, the watch determines that the user wants to control the device, and the watch can display the interface 1502 shown in Figure 15. The interface includes a component corresponding to the home scene (which can be referred to as the home scene component), a component 1501 corresponding to the leaving home scene, a component corresponding to the sleep scene, and a component 1503 corresponding to the relaxation scene. Among them, component 1501 is used to control the leaving home scene that can be controlled by the execution panel 400c. Component 1503 is a component generated by the watch based on the capability information of the panel 400c and other second devices, and is used to control the relaxation scene. In some examples, as shown in Figure 15, in response to the user clicking on component 1503, the watch controls the execution of the relaxation scene, such as controlling the speakers in the second bedroom to play light music, and turning on the soft light in the second bedroom.
[0206] Figure 16 shows another example of a control interface. As shown in Figure 16, the watch interface may include one or more components corresponding to a space (referred to as space components). Users can manipulate the components corresponding to a space to trigger the watch to control the devices associated with that space.
[0207] For example, in response to the user double-clicking the watch button 902, the watch determines that the user wants to control the device, and the watch can display the interface shown in Figure 16, which 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 equipment associated with the corresponding space. For example, the bathroom is provided with a panel 400d, and the panel 400d can control the execution of the bathing scene. In some examples, after the watch receives capability information from the panel 400d, it can generate a component for implementing the device control function of the panel 400d based on the capability information, such as component 1601. Component 1601 is used to implement the function of the panel 400d to control the execution of the bathing scene, such as controlling the heating system to adjust the temperature to 28 degrees and controlling the lights to turn on. In other words, component 1601 is used to control the execution of the bathing scene associated with the bathroom.
[0208] As shown in Figure 16(a), in response to a user clicking component 1601, the watch controls the execution of the bathing scene. For another example, as shown in Figure 16(b), in response to a user clicking component 1602 corresponding to the second bedroom, the watch may jump to an interface for implementing device control functions for the second bedroom center panel 400c, which includes component 1504 corresponding to the reading scene. In response to the user clicking component 1504, the watch controls the execution of the reading scene.
[0209] Optionally, the interface of the watch as shown in FIG16( a ) or FIG16( b ) may further include buttons that may support long press or other operations.
[0210] Figure 17 shows another example of a control interface. The user is in the living room. In response to the user double-clicking the watch button 902, the watch determines that the user wants to control the device. The watch can then display an interface for controlling the devices in the living room as shown in Figure 17 (a). The interface may include components corresponding to one or more devices in the living room, such as components corresponding to ceiling lights, table lamps, floor lamps, etc. The interface may also include components corresponding to one or more scenes in 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 to the circular area in the middle of the interface, the watch controls the execution of Scene 1.
[0211] For another example, if the user is in the master bedroom and double-clicks watch button 902, the watch determines that the user wants to control a device. The watch can then display an interface for controlling the devices in the master bedroom, as shown in Figure 17(b). This interface may include components corresponding to the master bedroom's ceiling light, table lamp, floor lamp, etc. The interface may also include components for 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 to the circular area in the middle of the interface, the watch controls the execution of Scene 2.
[0212] Figure 18 shows another example of a control interface. In response to the user double-clicking the watch button 902, the watch determines that the user wants to control the device, and the watch may display an interface as shown in (a) of Figure 18, which may include one or more components corresponding to the second device (the source device of the capability information) (which may be referred to as device components), such as button 1, button 2, panel 1, and components corresponding to 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 device associated with panel 1. In some examples, panel 1 is configured to control the switch of the living room light, and the watch controls the living room light to turn on or off.
[0213] In other examples, the panel is configured to control the Home, Leaving, and Sleep scenes. In response to the user dragging the component corresponding to Panel 1 into the central circular area of the interface, as shown in Figure 18(b), the watch can display the icons of the Home, Leaving, and Sleep scenes associated with Panel 1 in the interface. In response to the user clicking the icon for the Sleep scene, the watch controls the execution of the Sleep scene.
[0214] According to the solution of the embodiment of the present application, after the first device (such as a watch) obtains the capability information of the second device, a colorful device control interface can be presented based on the device control capability of the second device indicated by the capability information. The user can control the corresponding device conveniently and quickly through the device control interface, thereby improving device control efficiency and user experience.
[0215] An embodiment of the present application also provides a device control method. After the first device displays the 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.
[0216] For example, the watch enters control mode and displays the interface shown in Figure 19 (a). The user can swipe left on the 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.
[0217] For another example, the watch enters control mode and displays interface 2001 (the third interface) as shown in Figure 20 (a). The user can swipe to the lower right on this interface to trigger the watch to switch to interface 2002 (an example of an interface including the second component) as 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 interface 2003 as shown in Figure 20 (c). Interface 2003 may include devices, subsystems, or scenes associated with the master bedroom. In response to the user dragging the component corresponding to scene 2 into the middle circular area, the watch can control the execution of scene 2.
[0218] In some application scenarios, the interface shown can be generated on the watch after obtaining the capability information sent by multiple Bluetooth buttons that are used to control devices in multiple spaces, or after obtaining the capability information sent by one or more Bluetooth buttons multiple times in succession; in other application scenarios, a Bluetooth button may originally have the ability to switch between multiple spaces, and the interface shown above may also be an interface directly generated after obtaining the capability information sent by a Bluetooth button.
[0219] Scenario 2: The user inputs voice commands to the watch, triggering the watch to control the corresponding device
[0220] As shown in Figure 21, the user is currently in the kitchen. In control mode, the watch receives the user's voice command "turn up the brightness of the light." The watch determines that the control mode requires controlling the kitchen light associated with Bluetooth button AA in the user's current kitchen. The watch then converts the voice command into a corresponding control command and sends the control command to the gateway. The gateway then sends the control command to the central device, which is used to control the brightness of the kitchen light.
[0221] In some examples, the control instruction carries the identifier of the second device (Bluetooth button AA), so the hub device knows that the brightness of the kitchen light associated with Bluetooth button AA needs to be increased, and accordingly sends a control instruction to the kitchen light to increase the brightness of the kitchen light.
[0222] In other examples, the control instruction carries the user's location information, and the central device controls the device associated with the Bluetooth button AA in the user's current kitchen based on the location information.
[0223] In other examples, the control instruction does not carry the positioning information and the identification of the second device. The central device can obtain the user's positioning information and control the device associated with the Bluetooth button AA in the user's current kitchen based on the positioning information.
[0224] Optionally, when the watch is controlling the device, it can provide voice prompts for the control progress, such as outputting a voice message: The brightness of the light has been increased.
[0225] In the embodiments of the present application, the first device may be a device with rich capabilities, such as supporting multiple interaction modes such as touch, voice, user interface (UI), and motion. The first device may expand its device control capabilities based on the interaction modes it supports, such as controlling the device through voice or interface. Compared to the second device, which may have simpler device control capabilities (e.g., not supporting interface or voice interaction), the multiple device control interaction modes provided by the first device can improve the efficiency of human-computer interaction.
[0226] The present application also provides a device control method in which a first device can send its own capability information to a 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 about the associated device, subsystem, or scenario, UI style, vibration mode, voice command, and action interaction mode.
[0227] As shown in Figure 22, the user taps the watch against the panel, triggering the watch to send its own capability information (such as UI component information) to the panel, replicating the capabilities of the components on the watch. The panel then configures itself based on this capability information, giving it similar device control capabilities as the watch. For example, the style of the components in the panel interface is similar to that of the components in the watch interface.
[0228] In one or more embodiments of the present application, the user can also perform editing operations on the components on the watch (such as the second component), and the watch can update the capabilities of the components on the watch based on the editing operations. For example, the watch copies the capabilities of the panel component and generates a watch component with the capabilities of the panel component. 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 operations on the components on the watch, the watch can update the capabilities of the components on the watch to control the devices that can be controlled. For example, originally being able to control device A is updated to being able to control one or more devices B (such as adding or deleting devices that the watch can control). Or update the capabilities of the operations that can be controlled, such as originally being able to control device A to perform operation A is updated to being able to control device A to perform operation B. Or update the capabilities of the controllable devices and the capabilities of the operations that can be controlled.
[0229] Optionally, the watch can copy the capabilities of the second component on the updated watch to the first component or 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 based on the capabilities of the reading component. The second component on the watch has the ability to control the execution of reading scenes, such as turning on lights 1 and 2 in the reading scene. By editing the second component on the watch, the user adds devices to the reading scene, 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 reading scenes. The user can click on the second component to trigger the watch to control lights 1 and 2 to turn on, and control the air conditioner to adjust the temperature to 28 degrees.
[0230] In some examples, the watch can copy the capabilities of the updated second component to the reading component of the panel. Subsequently, the user clicks on the reading component of the panel to trigger the panel control lights 1 and 2 to turn on, and control the air conditioner to adjust the temperature to 28 degrees.
[0231] In some examples, the watch can copy the capabilities of the updated second component to the new component of the panel. Subsequently, the user clicks on the new component of the panel to trigger the panel to control lights 1 and 2 to turn on, and control the air conditioner to adjust the temperature to 28 degrees.
[0232] In one or more embodiments of the present application, the watch may generate a sixth component based on a 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, based on a user's editing operation on the reading component (used to control lights 1 and 2 to turn on), the watch may generate a new component. For example, the 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.
[0233] Optionally, the sixth component and the second component belong to the same scene. For example, if the second component on the watch is used to control the light in the sleep scene, a sixth component can be added to control the air conditioner in the sleep scene.
[0234] Alternatively, the sixth component and the second component belong to components in the same space, or components in the same subsystem, but the embodiments of the present application are not limited thereto.
[0235] In one or more embodiments of the present application, the devices in a scene can be of the same type or different types. For example, when executing a reading scene, the lights and air conditioner in the reading scene can be controlled to perform corresponding actions. For another example, when executing a lighting scene, multiple lights in the lighting scene can be controlled to turn on.
[0236] In one or more embodiments of the present application, the control device performs an operation, which may be to perform one or more column operations, without limitation.
[0237] The watch can also send capability information through other communication methods (such as but not limited to Bluetooth), which is not limited in the embodiments of this application.
[0238] According to the solution of the embodiment of the present application, the first device can reversely configure information such as the user's preferred control interface to the second device, so that the second device has the user's preferred device control method (such as UI style and pattern), which can improve the user experience.
[0239] The above takes the control mode (such as UI mode) of the watch matching device control as an example. In some embodiments, the user can also set the UI mode for device control.
[0240] The above example uses double-clicking the button 902 of the watch to pop up the control interface. In some embodiments, the control interface is not limited to being popped up by double-clicking the button. The user can also enter the control interface from the corresponding function item on the UI interface of the watch.
[0241] In some embodiments, the first device can also actively control the copied safety alert scenario. For example, if the first device copies the control capability of the safety alert scenario from the second device, when the first device detects user danger (such as blood pressure or heart rate alarm), it can actively trigger the execution of the copied safety alert scenario.
[0242] The first device (e.g., a watch) can replicate the control capabilities of the source device's hardware components. Alternatively, after obtaining the capability information, the watch can determine which hardware component to use to perform the corresponding control function (for example, if the source device originally used a software component to perform the control function). Conversely, for example, if the outer ring of the Bluetooth button is hardware, the watch can generate a simulated software ring-shaped component to perform the corresponding control function.
[0243] It should be noted that the above-mentioned multiple embodiments can be combined and the combined scheme can be implemented. Optionally, some operations in the process of each method embodiment are optionally combined, and / or the order of some operations is optionally changed. In addition, the execution order between the steps of each process is only exemplary and does not constitute a limitation on the execution order between the steps. There can also be other execution orders between the steps. It is not intended to indicate that the execution order is the only order in which these operations can be performed. Ordinary technicians in this field will think of many ways to reorder the operations in this article. In addition, it should be pointed out that the process details involved in a certain embodiment of this article are also applicable to other embodiments in a similar manner, or different embodiments can be used in combination.
[0244] In addition, some steps in the method embodiment may be equivalently replaced with other possible steps. Alternatively, some steps in the method embodiment may be optional and may be deleted in certain usage scenarios. Alternatively, other possible steps may be added to the method embodiment. Alternatively, the execution entities (such as functional modules) of some steps in the method embodiment may be replaced with other execution entities.
[0245] Furthermore, the above method embodiments may be implemented separately or in combination.
[0246] Other embodiments of the present application provide a device, which may be the first device, the second device, or the like described above. 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, which includes computer instructions. When the processor executes the computer instructions, the device may perform the various functions or steps in the above-described method embodiments. The structure of the device may refer to the electronic device (device) shown in Figure 4.
[0247] The core structure of the device can be represented as the structure shown in FIG. 23 , and the device includes: a processing module 2301 , a storage module 2303 and a display module 2304 .
[0248] Processing module 2301 may include at least one of a central processing unit (CPU), an application processor (AP), or a communication processor (CP). Processing module 2301 may perform operations or data processing related to the control and / or communication of at least one of the other components of the user electronic device. Specifically, processing module 2301 may be used to control the content displayed on the main screen based on certain trigger conditions. Processing module 2301 may also be used to process input instructions or data and determine a display style based on the processed data.
[0249] Optionally, an input module 2302 may be included to obtain user input instructions or data and transmit the obtained instructions or data to other modules of the electronic device. Specifically, the input method of the input module 2302 may include touch, gesture, proximity to the screen, etc., or voice input. For example, the input module may be the screen of the electronic device, obtain the user's input operation and generate an input signal based on the obtained input operation, and transmit the input signal to the processing module 2301.
[0250] The storage module 2303 may include a volatile memory and / or a non-volatile memory. The storage module is used to store at least one instruction or data related to other modules of the user equipment device.
[0251] 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, and is used to display user-viewable content (e.g., text, images, videos, icons, symbols, etc.).
[0252] Optionally, a communication module 2305 is also included to support personal devices communicating with other personal devices (via a communication network). For example, the communication module can be connected to a network via wireless communication or wired communication to communicate with other personal devices or network servers. Wireless communication can use at least one of cellular communication protocols, such as Long Term Evolution (LTE), Advanced Long Term Evolution (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). Wireless communication may include, for example, short-range communication. Short-range communication may include at least one of Wireless Fidelity (Wi-Fi), Bluetooth, Near Field Communication (NFC), Magnetic Stripe Transmission (MST), or GNSS.
[0253] It should be noted that each functional module of the device can execute one or more steps in the above method embodiment.
[0254] An embodiment of the present application also provides a chip system, as shown in Figure 24, which includes at least one processor 1401 and at least one interface circuit 1402. The processor 1401 and the interface circuit 1402 can be interconnected via lines. 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 instructions stored in the memory and send the instructions to the processor 1401. When the instruction is executed by the processor 1401, the electronic device can perform the various steps in the above embodiments. Of course, the chip system can also include other discrete devices, which is not specifically limited in the embodiment of the present application.
[0255] An embodiment of the present application also provides a computer-readable storage medium, which includes computer instructions. When the computer instructions are executed on the above-mentioned electronic device, the electronic device executes each function or step in the above-mentioned method embodiment.
[0256] The embodiment of the present application further provides a computer program product, which, when executed on a computer, enables the computer to execute the functions or steps executed by the mobile phone in the above method embodiment.
[0257] Through the description of the above implementation methods, technical personnel in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional modules is used as an example. In actual applications, the above-mentioned functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above.
[0258] In the several embodiments provided in this application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of modules or units is only a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another device, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0259] Units described as separate components may or may not be physically separate, and components shown as units may be one physical unit or multiple physical units, that is, they may be located in one place or distributed in multiple places. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.
[0260] In addition, the functional units in the various embodiments of the present application may be integrated into a single processing unit, or each unit may exist physically separately, or two or more units may be integrated into a single unit. The aforementioned integrated units may be implemented in the form of hardware or software functional units.
[0261] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a readable storage medium. Based on this understanding, the technical solution of the embodiment of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for enabling a device (which can be a single-chip microcomputer, chip, etc.) or a processor (processor) to execute all or part of the steps of the various embodiments of the present application. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.
[0262] The above content is only a specific embodiment of this application, but the scope of protection of this application is not limited to this. Any changes or replacements within the technical scope disclosed in this application should be included in the scope of protection of this application. Therefore, the scope of protection of this application should be based on the scope of protection of the claims.
Claims
1. A device control method, characterized in that: Applied to a first device, comprising: Acquire a capability of a first component of a second device, where the capability of the first component is used to control at least one third device to perform a first operation; generating a second component having the capability of the first component; In response to a user's operation on the second component, the first operation is performed on the at least one third device.
2. The method according to claim 1, characterized in that The styles of the first component and the second component are the same or different.
3. The method according to claim 1 or 2, characterized in that: The first component comprises a software component or a hardware component, and / or the second component comprises a software component or a hardware component.
4. The method according to any one of claims 1 to 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; Acquiring the capability of the first component of the second device, including: Capabilities of the at least one component on the first interface are acquired, and at least one component on the first device corresponding to the capabilities of the at least one component is generated, wherein 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 capability of the third component is used to control at least one fourth device to perform a second operation; and further includes: generating a fourth component having the capability of the third component; In response to a user's operation on the fourth component, the second operation is performed on the at least one fourth device.
6. The method according to claim 4 or 5, characterized in that: Also includes: A second interface is generated, 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 the style of the second component.
7. The method according to any one of claims 1 to 6, characterized in that: Also includes: Obtaining the user's editing operation on the second component; updating the capability of the second component according to the editing operation; The updated capability is used to control at least one fifth device to perform the third operation, or to control the at least one third device to perform the 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 Also includes: The updated capability of the second component is copied to the first component or the fifth component of the second device.
9. The method according to claim 7, characterized in that: Also includes: A sixth component is generated, wherein the sixth component has the ability to control 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 scene, or components in the same space, or components in the same subsystem.
11. The method according to any one of claims 1 to 10, characterized in that: Acquiring the capability of the first component of the second device, including: The first device establishes a communication connection with the second device; Based on the communication connection, obtaining, from the second device, a capability of the first component of the second device; Or, obtain the capability of the first component of the second device from a service device.
12. The method according to any one of claims 1 to 11, characterized in that: Acquiring the capability of the first component of the second device, including: Acquire capability information of the first component of the second device; Capabilities of the first component of the second device are generated according to the capability information.
13. The method according to any one of claims 1 to 12, characterized in that: The capability of the second component is 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 and user portrait associated with the user.
15. The method according to claim 13 or 14, characterized in that The second device is one or more; the capability of the first component is used to control at least one third device to perform the first operation, including: the capability of the first component is used to control the at least one third device to perform the first operation in combination with the first space; and is also used to control the at least one third device to perform the first operation in combination with the second space; In response to a user's operation on the second component, performing the first operation on the at least one third device includes: In response to the user's operation on the second component in the first space, the first operation is performed on the at least one third device in the first space; or, in response to the user's operation on the second component in the second space, the first operation is performed 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 the first space, and has the ability to control the at least one third device to perform the first operation in combination with the second space; In response to a user's operation on the second component, performing the first operation on the at least one third device includes: In response to a 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, in response to the user's operation on the second component in the second space, the first operation is performed on the at least one third device in the second space.
17. The method according to any one of claims 1 to 16, characterized in that: The area where the second component is located is an annular area, or the second component is a retractable retractable 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 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.
18. The method according to any one of claims 1 to 17, characterized in that: Also includes: Generate a third interface, the third interface includes a seventh component, the seventh component has the capability of the eighth component of the second device; the seventh component is different in style from the second component, or the style of the third interface is different from the style of the interface including the second component; In response to a switching operation by the user, the third interface is switched to an interface including the second component.
19. The method according to claim 11, characterized in that 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, and a Bluetooth connection.
20. The method according to any one of claims 1 to 19, characterized in that: The first device comprises a portable control device or a fixed device, and / or the second device comprises 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 scene includes at least one of the following scenes: home scene, office, hotel, and shopping mall.
21. The method according to any one of claims 1 to 20, characterized in that: 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 to 21, characterized in that: The first device and the second device are devices of the same account or different accounts.
23. A computer-readable storage medium, characterized in that: The method comprises a program or an instruction. When the program or the instruction is executed, the method according to any one of claims 1 to 22 is implemented.
24. An electronic device, characterized in that: The electronic device comprises a processor and a memory; The memory is used to store computer-executable instructions. When the electronic device is running, the processor executes the computer-executable instructions stored in the memory to enable the electronic device to perform the method as described in any one of claims 1-22.
Citation Information
Patent Citations
Equipment control method and device
CN104460365A
Smart home device sharing systems, methods and electronic devices
CN113272745B
Method for sharing remote controller between devices, transmitting end device and receiving end device
CN115708344A