Configuration method for smart home control device, and electronic device
By triggering operations on control devices within a smart home system and sending event information to electronic devices to display the configuration interface, the problem of cumbersome user operations is solved, achieving the effect of simplifying the configuration process and correctly associating controlled objects.
Patent Information
- Application Number
- PCT/CN2024/142271
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2024-04-25
- Filing Date
- 2024-12-25
- Publication Date
- 2025-10-30
AI Technical Summary
In smart home systems, users face cumbersome procedures when changing smart devices associated with controls in the control panel, and it is difficult to accurately locate the target control device.
By triggering an operation on the control device, event information is sent to the electronic device, and a configuration interface is displayed. The user configures the association between controls and controlled objects in the interface. The electronic device provides reminder messages to simplify the operation process and updates the association relationship through the central device.
It simplifies the user's configuration and control process, improves the user experience, and ensures the correct association and timely update of controls and controlled objects in the smart home system.
Smart Images

Figure CN2024142271_30102025_PF_FP_ABST
Abstract
Description
A method for configuring smart home control devices and electronic devices
[0001] CROSS-REFERENCE TO RELATED APPLICATIONS
[0002] This application claims priority to Chinese Patent Application No. 202410514954.8, filed on April 25, 2024, with the State Intellectual Property Office of the People's Republic of China, entitled "A Smart Home Control Device Configuration Method and Electronic Device", the entire contents of which are incorporated herein by reference. Technical Field
[0003] This application relates to the field of Internet of Things (IoT) technology, and in particular to a method for configuring smart home control devices and an electronic device. Background Technology
[0004] With the development of IoT technology, a single smart home system may include a large number of smart devices, and these devices are offering increasingly diverse functions. How to conveniently control and use these smart devices has become an important issue in smart homes.
[0005] A smart home system may include control devices to control smart devices or their functions. For example, a smart home system may include a control panel where users can operate controls to manage the smart devices associated with those controls. However, if a user wants to change the smart device associated with a control on the control panel, they need to locate the control panel in the interface of a central device or other device with management functions, and then change the associated smart device in the control panel's settings interface. This process is relatively cumbersome. Summary of the Invention
[0006] This application provides a method for configuring smart home control devices and an electronic device, which provides a solution for quickly finding and configuring control devices in a smart home system.
[0007] In a first aspect, this application provides a method for configuring a smart home control device. This method can be executed by a smart home system, which may include an electronic device and at least one control device, wherein the at least one control device includes a first control device. The method includes: the first control device, in response to a first operation triggered by a user on a first control on the first control device, sending first event information to the electronic device, the first event information indicating that the user has triggered the first operation on the first control device; the electronic device receiving the first event information from the first control device and displaying a configuration interface corresponding to the first control device; and, in response to a second operation triggered by the user in the configuration interface corresponding to the first control device, the electronic device determining to associate the first control on the first control device with a first controlled object; wherein the second operation is used to select associating the first control with the first controlled object.
[0008] In the above method, when a user wants to configure the control device, they can trigger an operation on the control device. After the control device sends the first event information to the electronic device, the electronic device can determine that the user wants to edit the control configuration of the control device. Then, the electronic device can directly display the corresponding configuration interface of the control device, so that the user can configure the control of the control device in the configuration interface. This provides a convenient control device configuration solution, simplifies user operation, and improves user experience.
[0009] In one possible design, before the electronic device receives the first event information sent by the first control device, the method further includes: in response to a third operation triggered by the user, the electronic device displays a first interface; wherein the third operation is used to trigger confirmation of a control device to be configured in the smart home system, the control device to be configured in the smart home system including the first control device; the first interface includes a first reminder message, the first reminder message being used to remind the user to trigger an operation on the control device that needs to be configured.
[0010] With this design, users can trigger electronic devices to search for control devices to be configured in the smart home system. The electronic devices can also display reminder messages to remind users to trigger operations on the control devices that need to be configured. This allows users to quickly identify the control devices they want to configure by interacting with the user interface.
[0011] In one possible design, before the electronic device receives the first event information sent by the first control device, the method further includes: the electronic device displaying a second interface, the second interface including information on a plurality of candidate controlled objects, the plurality of candidate controlled objects including the first controlled object; or the second interface being an interface related to the first controlled object; in response to a fourth operation triggered by the user on the second interface, the electronic device displaying a first interface; the fourth operation being used to trigger a control device that associates the first controlled object with the smart home system, the first interface including a first reminder message, the first reminder message being used to remind the user to trigger an operation on the control device that needs to be configured.
[0012] This design allows users to associate a user-selected controlled object with a control device via an electronic device. The electronic device can display a reminder message to prompt the user to trigger the operation on the control device that needs to be configured. This user interface interaction prompts the user to trigger the operation on the control device where the controlled object is to be associated, eliminating the need for the user to search for the corresponding configuration interface on the electronic device, thus simplifying the user operation.
[0013] In one possible design, the smart home system further includes a central device; after the electronic device determines that the first control of the first control device is associated with the first controlled object, the method further includes: the electronic device sending first configuration information to the central device in the smart home system, the first configuration information being used to instruct the first control of the first control device to be associated with the first controlled object.
[0014] Through this design, the central device in the smart home system can manage the controlled objects associated with the controls of the control devices in the smart home system. After the electronic device associates the first control with the first controlled object according to the user's operation, it can notify the central device so that the central device can update the association relationship between the control device and the controlled object stored in the central device in a timely manner, ensuring the correctness of the information stored in the central device, and thus ensuring the normal operation of the smart home system.
[0015] In one possible design, the first control device sends first event information to the electronic device, including: the first control device sending the first event information to the central device;
[0016] The electronic device receiving first event information from the first control device includes: the electronic device receiving the first event information sent by the central device.
[0017] This design allows the first control device and electronic devices to interact through a central device, thereby enabling flexible data interaction between various devices in the smart home system.
[0018] In one possible design, after the electronic device determines that the first control of the first control device is associated with the first controlled object, the method further includes: the electronic device sending first configuration information to the first control device, the first configuration information being used to instruct the first control device to associate the first control of the first control device with the first controlled object.
[0019] With this design, after the electronic device determines that the first control is associated with the first controlled object, it can also send the first configuration information to the first control device, so that the first control device can update the settings of the first control in a timely manner, ensuring that the user's adjustment of the controlled object associated with the first control takes effect in a timely manner.
[0020] In one possible design, after the electronic device determines that the first control device is associated with the first controlled object, the method further includes: the electronic device sending information related to the first controlled object to the first control device; and the first control device displaying an identifier corresponding to the first controlled object in the display area corresponding to the first control based on the information related to the first controlled object.
[0021] Optionally, the electronic device may send information related to the first controlled object to the first control device through a communication connection between the electronic device and the first control device, or the electronic device may send the information related to the first controlled object to a central device, and the central device may send the information related to the first controlled object to the first control device.
[0022] Through this design, the electronic device can send information related to the first controlled object to the first control device, so that the first control device can display the identifier of the first controlled object based on the information related to the first controlled object, so as to remind the user that the first control has been configured to be associated with the first controlled object.
[0023] In one possible design, the method further includes: in response to a fifth operation triggered by a user, the first control device sets the control style of the first control device to a first style, the first style including multiple controls; in response to a sixth operation triggered by a user, the first control device sends second event information to the electronic device, the sixth operation including operations sequentially triggered by the user among the multiple controls of the first control device, the second event information being used to instruct the user to sequentially trigger operations on the multiple controls of the first control device; the electronic device receives the second event information from the first control device and displays a configuration interface corresponding to the first control device, the configuration interface corresponding to the first control device including information on multiple candidate controlled objects; in response to a seventh operation triggered by the user in the configuration interface corresponding to the first control device, the electronic device determines, according to the order in which the user triggers operations on the multiple controls and the order in which the user selects multiple controlled objects from the multiple candidate controlled objects, that the multiple controls of the first control device are respectively associated with the multiple controlled objects selected by the user; the seventh operation is used to sequentially select multiple controlled objects from the multiple candidate controlled objects.
[0024] This design allows electronic devices to configure multiple controls of a first control device simultaneously, simplifying the operations required for users to configure the control device, improving the efficiency of control device configuration, and enhancing the user experience.
[0025] In one possible design, the method includes: the electronic device displaying a third interface, the third interface including information on a plurality of candidate controlled objects; in response to an eighth operation triggered by a user on the third interface, the electronic device displaying a first interface; the eighth operation being used to trigger associating the plurality of controlled objects selected by the user from the plurality of candidate controlled objects to a control device in the smart home system, the first interface including a first reminder message, the first reminder message being used to remind the user to trigger an operation on the control device that needs to be configured; in response to a ninth operation triggered by the user, the first control device sending third event information to the electronic device, the ninth operation including operations sequentially triggered by the user on a plurality of controls on the first control device, the third event information being used to instruct the user to sequentially trigger operations on a plurality of controls on the first control device; the electronic device receiving the third event information from the first control device and displaying a configuration interface corresponding to the first control device; in response to a tenth operation triggered by the user on the configuration interface corresponding to the first control device, the electronic device determining, according to the order in which the user triggers operations on the plurality of controls and the order in which the user selects a plurality of controlled objects from the plurality of candidate controlled objects, to respectively associate the plurality of controls on the first control device with the plurality of controlled objects selected by the user.
[0026] This design allows electronic devices to simultaneously associate multiple controlled objects in a smart home system with multiple controls on a first control device, simplifying the operations required for users to configure control devices, improving the efficiency of control device configuration, and enhancing the user experience.
[0027] In one possible design, after the electronic device displays the first interface in response to an eighth operation triggered by the user on the third interface, the method further includes: when the number of multiple controlled objects selected by the user is inconsistent with the number of controls on the first control device, the electronic device displays a second reminder message, the second reminder message being used to remind the user whether to modify the control style of the first control device; in response to an eleventh operation triggered by the user, the electronic device displays a fourth interface; the eleventh operation is an operation triggered by the user to determine whether to modify the control style of the first control device, the fourth interface including multiple candidate control styles corresponding to the first control device; in response to a twelfth operation triggered by the user, the electronic device determines to set the control style of the first control device to a second control style and sends second configuration information to the first control device; the twelfth operation is an operation by the user to select the second control style on the fourth interface, the second configuration information being used to indicate that the control style of the first control device is set to the second control style; the first control device sets the control style of the first control device to the second control style according to the second configuration information.
[0028] With this design, when the first control device includes multiple software controls, and the number of multiple controlled objects selected by the user is inconsistent with the number of controls on the first control device, the electronic device can also ask the user whether to adjust the control style of the first control device, thereby realizing personalized settings of the first control device and further improving the user experience.
[0029] In one possible design, the first controlled object is any one of the smart devices, smart home scenes, and smart home subsystems within the smart home system to which the electronic device belongs.
[0030] Through this design, this application supports associating smart devices, smart home scenes, or smart home subsystems in a smart home system with controls on a control device, thereby flexibly realizing the control functions of the smart home system.
[0031] In one possible design, the electronic device is a device with management functions in a smart home system, or the electronic device is a mobile terminal device with smart home management functions.
[0032] Through this design, users can configure the control devices on the management device in the smart home system, or users can configure the control devices through mobile terminal devices such as mobile phones and tablets, thereby flexibly realizing the configuration method of the smart home control devices provided in this application.
[0033] Secondly, this application provides a method for configuring a smart home control device, which can be executed by an electronic device. The method includes: receiving first event information from a first control device, the first event information instructing a user to trigger a first operation on a first control on the first control device; displaying a configuration interface corresponding to the first control device; and, in response to a second operation triggered by the user in the configuration interface corresponding to the first control device, determining to associate the first control of the first control device with a first controlled object; wherein the second operation is used to select associating the first control with the first controlled object.
[0034] In one possible design, before receiving the first event information sent by the first control device, the method further includes: displaying a first interface in response to a third operation triggered by the user; wherein the third operation is used to trigger confirmation of a control device to be configured in the smart home system, the control device to be configured in the smart home system including the first control device; the first interface includes a first reminder message, the first reminder message being used to remind the user to trigger an operation on the control device that needs to be configured.
[0035] In one possible design, before receiving the first event information sent by the first control device, the method further includes: displaying a second interface, the second interface including information on a plurality of candidate controlled objects, the plurality of candidate controlled objects including the first controlled object; or the second interface being an interface related to the first controlled object; and displaying a first interface in response to a fourth operation triggered by the user on the second interface; the fourth operation being used to trigger the association of the first controlled object with a control device in the smart home system, the first interface including a first reminder message, the first reminder message being used to remind the user to trigger an operation on the control device that needs to be configured.
[0036] In one possible design, after determining that the first control of the first control device is associated with the first controlled object, the method further includes: sending first configuration information to a central device in a smart home system to which the electronic device belongs, the first configuration information being used to instruct the first control of the first control device to be associated with the first controlled object.
[0037] In one possible design, after determining that the first control of the first control device is associated with the first controlled object, the method further includes: sending first configuration information to the first control device, the first configuration information being used to instruct the first control device to associate the first control of the first control device with the first controlled object.
[0038] In one possible design, after determining that the first control of the first control device is associated with the first controlled object, the method further includes: sending information related to the first controlled object to the first control device.
[0039] Optionally, the electronic device may send information related to the first controlled object to the first control device through a communication connection between the electronic device and the first control device, or the electronic device may send the information related to the first controlled object to a central device, and the central device may send the information related to the first controlled object to the first control device.
[0040] In one possible design, receiving the first event information from the first control device includes: receiving the first event information sent by a central device in the smart home system to which the electronic device belongs, wherein the first event information is sent by the first control device to the central device.
[0041] In one possible design, the method further includes: receiving second event information from the first control device, displaying a configuration interface corresponding to the first control device, the second event information being used to instruct a user to sequentially trigger operations on multiple controls of the first control device, the configuration interface corresponding to the first control device including information on multiple candidate controlled objects; responding to a seventh operation triggered by the user in the configuration interface corresponding to the first control device, determining, according to the order in which the user triggers operations on the multiple controls and the order in which the user selects multiple controlled objects from the multiple candidate controlled objects, that the multiple controls of the first control device are respectively associated with the multiple controlled objects selected by the user; the seventh operation being used to sequentially select multiple controlled objects from the multiple candidate controlled objects.
[0042] In one possible design, the method further includes: displaying a third interface, the third interface including information on a plurality of candidate controlled objects; displaying a first interface in response to an eighth operation triggered by a user on the third interface; the eighth operation being used to trigger associating the plurality of controlled objects selected by the user from the plurality of candidate controlled objects to a control device in the smart home system, the first interface including a first reminder message, the first reminder message being used to remind the user to trigger an operation on the control device that needs to be configured; receiving the third event information from the first control device, and displaying a configuration interface corresponding to the first control device, the third event information being used to instruct the user to trigger operations sequentially on a plurality of controls of the first control device; and, in response to a tenth operation triggered by the user in the configuration interface corresponding to the first control device, determining, according to the order in which the user triggers operations on the plurality of controls and the order in which the user selects a plurality of controlled objects from the plurality of candidate controlled objects, to respectively associate the plurality of controls of the first control device with the plurality of controlled objects selected by the user.
[0043] In one possible design, after receiving the third event information from the first control device and displaying the configuration interface corresponding to the first control device, the method further includes: when the number of multiple controlled objects selected by the user is inconsistent with the number of controls on the first control device, displaying a second reminder message, the second reminder message being used to remind the user whether to modify the control style of the first control device; in response to an eleventh operation triggered by the user, displaying a fourth interface; the eleventh operation being an operation triggered by the user to determine to modify the control style of the first control device, the fourth interface including multiple candidate control styles corresponding to the first control device; in response to a twelfth operation triggered by the user, determining to set the control style of the first control device to a second control style, and sending second configuration information to the first control device; the twelfth operation being an operation by the user to select the second control style in the fourth interface, the second configuration information being used to indicate that the control style of the first control device is set to the second control style.
[0044] In one possible design, the first controlled object is any one of the smart devices, smart home scenes, and smart home subsystems within the smart home system to which the electronic device belongs.
[0045] In one possible design, the electronic device is a device with management functions in a smart home system, or the electronic device is a mobile terminal device with smart home management functions.
[0046] Thirdly, this application provides a smart home system, which includes an electronic device and at least one control device. The at least one control device includes a first control device. The electronic device is used to perform the functions performed by the electronic device in the first aspect and its various embodiments, and the first control device is used to perform the functions performed by the first control device in the first aspect and its various embodiments.
[0047] Fourthly, this application provides an electronic device comprising a plurality of functional modules; the plurality of functional modules interact to implement the methods performed by the electronic device in any of the above aspects and their respective embodiments. The plurality of functional modules can be implemented based on software, hardware, or a combination of software and hardware, and the plurality of functional modules can be arbitrarily combined or divided based on specific implementations.
[0048] Fifthly, this application provides an electronic device including at least one processor and at least one memory, wherein the at least one memory stores computer program instructions, and when the electronic device is running, the at least one processor executes any of the above aspects and the methods executed by the electronic device in its various embodiments.
[0049] Sixthly, this application also provides a computer program product containing instructions that, when the computer program product is run on a computer, cause the computer to perform the method executed by the electronic device or the first control device in any of the above aspects and their embodiments.
[0050] In a seventh aspect, this application also provides a computer-readable storage medium storing a computer program that, when executed by a computer, causes the computer to perform the method executed by the electronic device or the first control device in any of the above aspects and embodiments.
[0051] Eighthly, this application also provides a chip for reading a computer program stored in a memory and executing the method executed by an electronic device or a first control device in any of the above aspects and embodiments.
[0052] Ninthly, this application also provides a chip system including a processor for supporting a computer device in implementing the methods executed by an electronic device or a first control device in any of the above aspects and their embodiments. In one possible design, the chip system further includes a memory for storing programs and data necessary for the computer device. The chip system may be composed of chips or may include chips and other discrete devices. Attached Figure Description
[0053] Figure 1 is a schematic diagram of the structure of a smart home system provided in an embodiment of this application;
[0054] Figure 2 is a schematic diagram of a method for configuring control devices in a smart home application;
[0055] Figure 3 is a schematic diagram of the structure of an electronic device provided in an embodiment of this application;
[0056] Figure 4 is a software structure block diagram of an electronic device provided in an embodiment of this application;
[0057] Figure 5 is a schematic diagram of the structure of a control device provided in an embodiment of this application;
[0058] Figure 6 is a schematic diagram of a control device configuration method provided in an embodiment of this application;
[0059] Figure 7 is a schematic diagram of a configuration interface corresponding to a control device provided in an embodiment of this application;
[0060] Figure 8 is a schematic diagram of a control style for setting a control device according to an embodiment of this application;
[0061] Figure 9 is an example diagram of the display interface of the first control device in a smart home control device configuration method provided in an embodiment of this application;
[0062] Figure 10 is a schematic diagram of the display interface of an electronic device in a smart home control configuration method provided in an embodiment of this application;
[0063] Figure 11 is a flowchart of a smart home control device configuration method provided in an embodiment of this application;
[0064] Figure 12 is a schematic diagram of a smart home control device configuration method provided in an embodiment of this application;
[0065] Figure 13 is a schematic diagram of a smart home control device configuration method provided in an embodiment of this application;
[0066] Figure 14 is a schematic diagram of the display interface of an electronic device in a smart home control configuration method provided in an embodiment of this application;
[0067] Figure 15 is a flowchart of a smart home control device configuration method provided in an embodiment of this application;
[0068] Figure 16 is a flowchart of a smart home control device configuration method provided in an embodiment of this application. Detailed Implementation
[0069] To make the objectives, technical solutions, and advantages of the embodiments of this application clearer, the embodiments of this application will be further described in detail below with reference to the accompanying drawings. In the description of the embodiments of this application, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of indicated technical features. Therefore, a feature defined with "first" and "second" may explicitly or implicitly include one or more of that feature.
[0070] It should be understood that in the embodiments of this application, "at least one" means one or more, and "more than one" means two or more. "And / or" describes the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A alone, A and B simultaneously, or B alone, where A and B can be singular or plural. The character " / " generally indicates that the preceding and following related objects are in an "or" relationship. "At least one of the following" or similar expressions refer 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 represent: a, b, c, a and b, a and c, b and c, or a, b, and c, where a, b, and c can be single or multiple.
[0071] With the development of IoT technology, a single smart home system may include a large number of smart devices, and each smart device can provide increasingly rich functions. Figure 1 is a schematic diagram of the structure of a smart home system provided in an embodiment of this application. Referring to Figure 1, the smart home system includes a central device, various gateway devices, smart devices, and control devices. The central device is used to manage the various devices in the smart home system network. For example, the central device can control and configure the various devices in the smart home system. The central device can access the network through a routing device, as shown in Figure 1, where the central device can be connected to a router to access the network. Then, the central device sends control commands to the devices in the smart home system or communicates with the server. In some embodiments, the functions of the central device can also be implemented by a smart home host. As shown in Figure 1, the host can integrate the central device and a scene engine. The scene engine can be used to manage and execute smart home scenes.
[0072] As shown in Figure 1, a smart home system can have various device connection methods. Central devices, Bluetooth gateway devices, Wi-Fi gateway devices, and Wi-Fi devices can connect to routers to access the network. A smart home system can include multiple routers, such as a master router and slave routers. Central devices can connect to the master router, and Wi-Fi gateway devices and Wi-Fi devices can connect to slave routers. PLC gateway devices and PLC slave devices, as well as music master devices and music slave devices, can connect to the network via PLC. Bluetooth gateway devices and Bluetooth slave devices can establish Bluetooth connections to exchange data.
[0073] Smart devices in a smart home system can also be called IoT devices or IoT standalone devices. Smart devices can provide services to users based on their functions.
[0074] Control devices in a smart home system can be used to control gateway devices or smart devices within the system. These control devices can include at least one control, which may be a physical control and / or a software control. Physical controls can be, for example, physical buttons or knobs, while software controls can be software buttons displayed on the interface. Each control on the control device can be associated with a controlled object. Users can trigger operations on the control devices, and the control device responds to these operations by controlling the associated controlled object. For example, when a control on the control device is associated with a smart speaker, after the user clicks the control, the control device sends a control command to the smart speaker. Upon receiving the control command, the smart speaker starts playing music.
[0075] Referring to Figure 1, the control device can establish a connection with the central device. When a user triggers an operation on the control device, the control device can send a control request message to the central device. The central device can then send control commands to the controlled objects associated with the control device based on the control request message, thereby enabling the user to control the smart device through the control device. Of course, the control device can also establish a connection with the smart device it is associated with. For example, when the control device and the smart light fixture associated with it are on the same Wi-Fi network, the control device can also send control commands directly to the smart light fixture via Wi-Fi. Alternatively, when the control device establishes a Bluetooth or Starlight connection with the smart light fixture associated with it, the control device can also send control commands directly to the smart light fixture via Bluetooth or Starlight connection.
[0076] The smart home system may also include a management device, which can be used to configure the control device, such as configuring the controlled objects associated with the control device's controls. The management device may be, for example, a central device, a central control screen device independent of the central device, or a mobile terminal device with a smart home application installed, such as a user's mobile phone or tablet computer with a smart home application installed.
[0077] It should be noted that the devices and their functions in the smart home system shown in Figure 1 are merely examples and not limitations. In practice, the function of a device can be achieved collaboratively by multiple devices, such as multiple devices collaboratively implementing the function of a central device; or the functions of multiple devices can be integrated into one device, such as a central device integrating the functions of multiple gateway devices, or a central device also integrating the functions of routing devices, etc. This application embodiment does not limit this. In addition, this application embodiment does not limit the number of devices in the smart home system shown in Figure 1, and specific implementation scenarios may include more or fewer devices.
[0078] Taking the configuration of a control panel by a user through an electronic device with a smart home application installed as an example, Figure 2 is a schematic diagram of a method for configuring control devices in a smart home application. Referring to Figure 2, the application interface of the smart home application can include cards corresponding to multiple smart devices under the user's account. When the user wants to set the controlled objects associated with the controls of control panel 1, they can find the card corresponding to control panel 1 in the smart home application. When the user clicks the card corresponding to control panel 1, the electronic device displays the configuration interface of control panel 1. In the configuration interface of control panel 1, the user can modify the name of each control and set the controlled objects associated with each control. For example, the user can select to configure the "bottom right button" control, enter the name of the "bottom right button" as "Mode 2", and select the audio-visual entertainment scene as the controlled object associated with the "bottom right button".
[0079] As can be seen from the above introduction, currently, when users configure the controls of control devices, they need to find the corresponding control devices in the smart home application and manually set the controlled objects associated with the controls. The operation is relatively complicated, and when there are multiple similar control devices in the smart home system, it is also difficult to accurately find the control device that the user wants to configure.
[0080] Based on the above problems, this application provides a method for configuring smart home control devices. This method can be executed by an electronic device, which can be a device with management functions in a smart home system, such as a central device, a central control screen device independent of the central device, etc. The electronic device can also be a mobile terminal device with smart home management functions, such as a mobile phone or tablet computer with a smart home application installed. In the smart home control device configuration method provided in this application, the electronic device receives first event information sent by a first control device. The first event information is used to instruct the user to trigger an operation on a first control of the first control device. The electronic device displays the configuration interface corresponding to the first control device. In response to a second operation triggered by the user, the electronic device determines the first controlled object associated with the first control of the first control device. Through this scheme, when a user wants to configure the control device, they can trigger an operation on the control device. After the control device sends the first event information to the electronic device, the electronic device can determine that the user wants to edit the control configuration of the control device. The electronic device can then directly display the configuration interface corresponding to the control device, allowing the user to configure the control of the control device in the configuration interface. This provides a convenient control device configuration scheme, simplifies user operation, and improves user experience.
[0081] The following describes an electronic device and embodiments for using such an electronic device. The electronic device in this application embodiment can be a central device, tablet computer, mobile phone, augmented reality (AR) / virtual reality (VR) device, laptop computer, ultra-mobile personal computer (UMPC), netbook, personal digital assistant (PDA), wearable device, etc. This application embodiment does not limit the specific type of electronic device.
[0082] In some embodiments of this application, the electronic device may also be a portable terminal device that includes other functions such as a personal digital assistant and / or a music player. Exemplary embodiments of the portable terminal device include, but are not limited to, devices equipped with... Or portable terminal devices with other operating systems.
[0083] Figure 3 is a schematic diagram of the structure of an electronic device 100 provided in an embodiment of this application. As shown in Figure 3, the electronic device 100 may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, a headphone jack 170D, a sensor module 180, buttons 190, a motor 191, an indicator 192, a camera 193, a display screen 194, and a subscriber identification module (SIM) card interface 195, etc.
[0084] Processor 110 may include one or more processing units, such as an application processor (AP), a modem processor, a graphics processing unit (GPU), an image signal processor (ISP), a controller, memory, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural network processing unit (NPU). Different processing units may be independent devices or integrated into one or more processors. The controller may serve as the central nervous system and command center of the electronic device 100. The controller can generate operation control signals based on instruction opcodes and timing signals to control instruction fetching and execution. Processor 110 may also include memory for storing instructions and data. In some embodiments, the memory in processor 110 is a cache memory. This memory can store instructions or data that processor 110 has recently used or is repeatedly used. If processor 110 needs to reuse an instruction or data, it can directly retrieve it from the memory. This avoids repeated access, reduces the waiting time of processor 110, and thus improves system efficiency.
[0085] USB interface 130 is a USB standard compliant interface, specifically a Mini USB interface, Micro USB interface, USB Type-C interface, etc. USB interface 130 can be used to connect a charger to charge electronic device 100, and can also be used for data transfer between electronic device 100 and peripheral devices. Charging management module 140 receives charging input from the charger. Power management module 141 connects battery 142, charging management module 140, and processor 110. Power management module 141 receives input from battery 142 and / or charging management module 140, providing power to processor 110, internal memory 121, external memory, display 194, camera 193, and wireless communication module 160, etc.
[0086] The wireless communication function of electronic device 100 can be implemented through antenna 1, antenna 2, mobile communication module 150, wireless communication module 160, modem processor, and baseband processor. Antenna 1 and antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in electronic device 100 can be used to cover one or more communication frequency bands. Different antennas can also be multiplexed to improve antenna utilization. For example, antenna 1 can be multiplexed as a diversity antenna for a wireless local area network. In some other embodiments, the antennas can be used in conjunction with tuning switches.
[0087] The mobile communication module 150 can provide solutions for wireless communication, including 2G / 3G / 4G / 5G, applied to the electronic device 100. The mobile communication module 150 may include at least one filter, switch, power amplifier, low noise amplifier (LNA), etc. The mobile communication module 150 can receive electromagnetic waves via antenna 1, and perform filtering, amplification, and other processing on the received electromagnetic waves before transmitting them to a modem processor for demodulation. The mobile communication module 150 can also amplify the signal modulated by the modem processor and convert it into electromagnetic waves for radiation via antenna 1. In some embodiments, at least some functional modules of the mobile communication module 150 may be housed in the processor 110. In some embodiments, at least some functional modules of the mobile communication module 150 and at least some modules of the processor 110 may be housed in the same device.
[0088] The wireless communication module 160 can provide solutions for wireless communication applications on the electronic device 100, including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), Bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), and infrared (IR) technologies. The wireless communication module 160 can be one or more devices integrating at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via antenna 2, performs frequency modulation and filtering of the electromagnetic wave signals, and sends the processed signal to processor 110. The wireless communication module 160 can also receive signals to be transmitted from processor 110, perform frequency modulation and amplification, and convert them into electromagnetic waves for radiation via antenna 2.
[0089] In some embodiments, antenna 1 of electronic device 100 is coupled to mobile communication module 150, and antenna 2 is coupled to wireless communication module 160, enabling electronic device 100 to communicate with networks and other devices via wireless communication technology. The wireless communication technology may include Global System for Mobile Communications (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Time-Division Code Division Multiple Access (TD-SCDMA), Long Term Evolution (LTE), BT, GNSS, WLAN, NFC, FM, and / or IR technologies, etc. The GNSS may include the Global Positioning System (GPS), the Global Navigation Satellite System (GLONASS), the BeiDou Navigation Satellite System (BDS), the Quasi-Zenith Satellite System (QZSS), and / or satellite-based augmentation systems (SBAS).
[0090] The display screen 194 is used to display the display interface of an application, such as the display page of an application installed on the electronic device 100. The display screen 194 includes a display panel. The display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode (AMOLED), a flexible light-emitting diode (FLED), a MiniLED, a MicroLED, a Micro-OLED, a quantum dot light-emitting diode (QLED), etc. In some embodiments, the electronic device 100 may include one or N display screens 194, where N is a positive integer greater than 1.
[0091] Camera 193 is used to capture still images or videos. An object is projected onto a photosensitive element by generating an optical image through the lens. The photosensitive element can be a charge-coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The photosensitive element converts the light signal into an electrical signal, which is then passed to an ISP for conversion into a digital image signal. The ISP outputs the digital image signal to a DSP for processing. The DSP converts the digital image signal into image signals in standard RGB, YUV, or other formats. In some embodiments, the electronic device 100 may include one or N cameras 193, where N is a positive integer greater than 1.
[0092] Internal memory 121 can be used to store computer executable program code, which includes instructions. Processor 110 executes various functional applications and data processing of electronic device 100 by running the instructions stored in internal memory 121. Internal memory 121 may include a program storage area and a data storage area. The program storage area may store the operating system and software code for at least one application program. The data storage area may store data generated during the use of electronic device 100 (e.g., captured images, recorded videos, etc.). Furthermore, internal memory 121 may include high-speed random access memory and may also include non-volatile memory, such as at least one disk storage device, flash memory device, universal flash storage (UFS), etc.
[0093] The external storage interface 120 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the electronic device. The external memory card communicates with the processor 110 through the external storage interface 120 to perform data storage functions. For example, images, videos, and other files can be saved on the external memory card.
[0094] Electronic device 100 can implement audio functions, such as music playback and recording, through audio module 170, speaker 170A, receiver 170B, microphone 170C, headphone jack 170D, and application processor.
[0095] The sensor module 180 may include a pressure sensor 180A, an acceleration sensor 180B, a touch sensor 180C, etc.
[0096] The pressure sensor 180A is used to sense pressure signals and can convert the pressure signals into electrical signals. In some embodiments, the pressure sensor 180A may be disposed on the display screen 194.
[0097] Touch sensor 180C, also known as a "touch panel," can be located on display screen 194. The touch sensor 180C and display screen 194 together form a touchscreen, also known as a "touch screen." Touch sensor 180C detects touch operations applied to or near it. The touch sensor can transmit the detected touch operation to the application processor to determine the type of touch event. Visual output related to the touch operation can be provided through display screen 194. In other embodiments, touch sensor 180C may also be located on the surface of electronic device 100, in a different position than display screen 194.
[0098] Buttons 190 include a power button, volume buttons, etc. Buttons 190 can be mechanical buttons or touch buttons. Electronic device 100 can receive button inputs and generate key signal inputs related to user settings and function control. Motor 191 can generate vibration alerts. Motor 191 can be used for incoming call vibration alerts or for touch vibration feedback. For example, touch operations applied to different applications (such as taking photos, audio playback, etc.) can correspond to different vibration feedback effects. Touch vibration feedback effects can also be customized. Indicator 192 can be an indicator light, used to indicate charging status, battery level changes, or to indicate messages, missed calls, notifications, etc. SIM card interface 195 is used to connect a SIM card. The SIM card can be inserted into or removed from the SIM card interface 195 to achieve contact and separation with electronic device 100.
[0099] It is understood that the components shown in Figure 3 do not constitute a specific limitation on the electronic device 100. The electronic device may include more or fewer components than shown, or combine some components, or separate some components, or have different component arrangements. In addition, the combination / connection relationships between the components in Figure 3 can also be adjusted and modified.
[0100] Figure 4 is a software structure block diagram of an electronic device provided in an embodiment of this application. As shown in Figure 4, the software structure of the electronic device can be a layered architecture. For example, the software can be divided into several layers, each with a clear role and division of labor. The layers communicate with each other through software interfaces. In some embodiments, the operating system is divided into four layers, from top to bottom: the application layer, the application framework layer (framework, FWK), the runtime and system libraries, and the kernel layer.
[0101] The application layer may include a series of application packages. As shown in Figure 4, the application layer may include a camera, settings, skin modules, user interface (UI), third-party applications, etc. Third-party applications may include gallery, calendar, call, map, navigation, WLAN, Bluetooth, music, video, SMS, etc. In this embodiment, the application layer may include a target installation package of a target application that the electronic device requests to download from a server. The function files and layout files in this target installation package are adapted to the electronic device.
[0102] The application framework layer provides application programming interfaces (APIs) and a programming framework for applications in the application layer. The application framework layer can include some predefined functions. As shown in Figure 4, the application framework layer can include a window manager, content provider, view system, phone manager, resource manager, and notification manager.
[0103] The window manager is used to manage windowed applications. It can obtain the screen size, determine if a status bar is present, lock the screen, and capture screenshots. The content provider stores and retrieves data, making this data accessible to applications. This data may include videos, images, audio, made and received phone calls, browsing history and bookmarks, phone books, etc.
[0104] A view system includes visual controls, such as controls for displaying text and controls for displaying images. View systems can be used to build applications. A display interface can consist of one or more views. For example, a display interface including a text notification icon could include views for displaying text and views for displaying images.
[0105] A phone manager is used to provide communication functions for electronic devices. For example, it manages call status (including connection and disconnection).
[0106] The file explorer provides applications with various resources, such as localized strings, icons, images, layout files, video files, and more.
[0107] The notification manager allows applications to display notifications in the status bar. These notifications can be used to deliver informational messages and can disappear automatically after a short pause, requiring no user interaction. For example, the notification manager can be used to notify users of completed downloads or message alerts. The notification manager can also display notifications as icons or scrolling text in the top status bar, such as notifications from background applications, or as dialog boxes on the screen. Examples include displaying text messages in the status bar, emitting sounds, vibrating electronic devices, and flashing indicator lights.
[0108] The runtime includes the core libraries and the virtual machine. The runtime is responsible for the scheduling and management of the operating system.
[0109] The core library consists of two parts: one part contains the functionalities that the Java language needs to call, and the other part contains the core libraries of the operating system. The application layer and application framework layer run in the virtual machine. The virtual machine executes the Java files of the application layer and application framework layer as binary files. The virtual machine is used to perform functions such as object lifecycle management, stack management, thread management, security and exception management, and garbage collection.
[0110] System libraries can include multiple functional modules. For example: surface manager, media libraries, 3D graphics processing libraries (e.g., OpenGL ES), 2D graphics engines (e.g., SGL), image processing libraries, etc.
[0111] The Surface Manager is used to manage the display subsystem and provides the blending of 2D and 3D layers for multiple applications.
[0112] The media library supports playback and recording of various common audio and video formats, as well as still image files. It supports multiple audio and video encoding formats, such as MPEG4, H.264, MP3, AAC, AMR, JPG, and PNG.
[0113] The 3D graphics processing library is used to implement 3D graphics drawing, image rendering, compositing, and layer processing.
[0114] A 2D graphics engine is a graphics engine for 2D drawing.
[0115] The kernel layer is the layer between hardware and software. The kernel layer contains at least the display driver, camera driver, audio driver, and sensor driver.
[0116] The hardware layer can include various types of sensors, such as accelerometers, gyroscopes, and touch sensors.
[0117] It should be noted that the structures shown in Figures 3 and 4 are merely examples of electronic devices provided in the embodiments of this application, and cannot be used to limit the electronic devices provided in the embodiments of this application. In specific implementations, electronic devices may have more or fewer devices or modules than those shown in Figures 3 or 4.
[0118] The following describes the configuration method for smart home control devices provided in the embodiments of this application.
[0119] In this application embodiment, the control device includes at least one control. The control of the control device can be associated with a controlled object in the smart home system. In this application embodiment, the controlled object can be a single smart device in the smart home system, a smart home scene including multiple smart devices or the functions of multiple smart devices, a smart home subsystem including multiple smart devices or the functions of multiple smart devices, etc.
[0120] In this application embodiment, the control device includes at least one control, which may be a hardware control or a software control. For example, Figure 5 is a schematic diagram of the structure of a control device provided in an embodiment of this application. Referring to Figure 5(a), the control device may include four hardware controls: control 1, control 2, control 3, and control 4. The circular screen in the middle of the control device can display the name of each control, which may be a pre-configured name or a user-defined name. Each control of the control device can be associated with a controlled object. In some instances, the circular screen of the control device can switch display interfaces. When different interfaces are displayed on the circular screen of the control device, the controlled objects associated with the controls are different. As shown in Figure 5(a), the control device also includes a "previous screen" control and a "next screen" control. When the user clicks the "previous screen" control or the "next screen" control, the display interface of the circular screen of the control device switches, and the controlled objects associated with the above four controls also change. By switching display interfaces, each control of the control device can support association with multiple controlled objects, and the user can select the controlled object associated with the control by switching display interfaces.
[0121] Referring to Figure 5(b), the control device may also include physical buttons and physical knobs. The physical buttons and physical knobs can be associated with different controlled objects. Users can trigger operations on different controls to control different controlled objects. For example, the physical buttons of the control device are associated with the on / off function of the smart light fixture, and the physical knobs are associated with the brightness adjustment function of the smart light fixture. Users can click the physical buttons of the control device to control the smart light fixture to turn on / off, and rotate the physical knobs to adjust the brightness of the smart light fixture.
[0122] Referring to Figure 5(c), the controls in the control device can also be software controls displayed on the display interface of the control device. Users can trigger operations on the software controls to control the controlled objects associated with the software controls.
[0123] It should be noted that the structure of the control device shown in Figure 5 above is only an example and not a limitation. In specific implementations, the control device may include both hardware controls and software controls, or the control device may include other hardware components connected to the control device via wired or wireless means. These hardware components may also be regarded as controls of the control device, or the controls of the control device may have other forms. This application embodiment does not limit this.
[0124] In this embodiment, when a user wants to configure a first control of the first control device, the user can trigger a first operation on the first control. The first control device sends first event information to the electronic device. The first event information is used to instruct the user to trigger the first operation on the first control. After receiving the first event information, the electronic device can display the configuration interface corresponding to the first control device. The user can configure each control of the first control device in the configuration interface corresponding to the first control device displayed on the electronic device. For example, the user can modify the name of the first control or set the controlled object associated with the first control as the first controlled object.
[0125] Optionally, when the first control device establishes a connection with the electronic device, the first control device may directly send the first event information to the electronic device. Alternatively, when the first control device establishes a connection with the central device, the first control device may send the first event information to the electronic device in the following manner: the first control device sends the first event information to the central device, and the central device sends the first event information to the electronic device.
[0126] In this embodiment, the first control device can store information about controlled objects associated with its controls. When a user sets a controlled object associated with a first control on an electronic device as the first controlled object, the electronic device can send first configuration information to the first control device. This first configuration information indicates that the first control of the first control device is associated with the first controlled object. The first control device can update the information about controlled objects associated with its controls stored in the first control device according to the first configuration information. Optionally, when the first control device is an IoT thin device, its storage space and computing power are limited. Therefore, a central device can store the information about controlled objects associated with the controls of the first control device. When a user sets a controlled object associated with a first control on an electronic device as the first controlled object, the electronic device can send first configuration information to the central device. This first configuration information indicates that the first control of the first control device is associated with the first controlled object. After receiving the first configuration information, the central device can update the information about controlled objects associated with the first control on the first control device stored in the central device to ensure the accuracy of the information stored in the central device. Optionally, when the first controlled object is a smart home scene, the central device can also send the first configuration information to the scene engine, so that the scene engine can store the first control device associated with the smart home scene. Optionally, in implementation, the server can also store the information of the controlled objects associated with the controls of the control devices in the smart home system. The server can be a local server or an external cloud server, and this application embodiment does not limit this. Referring to the smart home scene shown in Figure 1, when the user sets the controlled object associated with the first control of the first control device as the first controlled object on the electronic device, the electronic device can send the first configuration information to the server. The first configuration information is used to indicate that the first control of the first control device is associated with the first controlled object.
[0127] In some embodiments, after determining that the first control is associated with the first controlled object, the electronic device can send information related to the first controlled object to the first control device. This information may include the name and icon of the first controlled object. Upon receiving this information, the first control device can display the identifier of the first controlled object in the display area corresponding to the first control on its screen. For example, the first control device may display the name and icon of the first controlled object in the display area corresponding to the first control. Optionally, the electronic device can send the information related to the first controlled object to the first control device via a communication connection, or it can send the information to a central device, which then sends the information back to the first control device.
[0128] It is understandable that when the central device stores information about the controlled objects associated with the controls of the first control device, after detecting a user's operation triggered by the first control, the first control device can send event information to the central device. This event information instructs the user to trigger an operation on the first control. The central device then determines the controlled object associated with the first control and sends a control command to that controlled object. Alternatively, the first control device can send a control command to the central device, and the central device, upon receiving the control command, then sends another control command to the controlled object associated with the first control.
[0129] In the smart home first control device configuration method provided in this application embodiment, the electronic device can first determine the first control device that the user wants to configure, and then configure the controls of the first control device according to the user's operation. Alternatively, the electronic device can first determine the first controlled object that the user wants to associate, and then determine which control of which control device the user wants to associate the first controlled object with according to the user's operation.
[0130] In some embodiments, the user can trigger the electronic device to enter the state of monitoring the control device. After the user triggers a first operation on the first control of the first control device, the electronic device receives the first event information sent by the first control device. The electronic device can determine that the user wants to configure the control of the first control device, and then the electronic device can display the configuration interface corresponding to the first control device.
[0131] In other embodiments, the electronic device can display a configuration interface corresponding to the first controlled object in the smart home system. For example, the electronic device can display a configuration interface for a smart device, a configuration interface for a smart home scene, or a configuration interface for a smart home subsystem. The user can choose to associate the first controlled object. At this time, the electronic device enters the state of listening to the control device. The user triggers a first operation on the first control of the first control device. The electronic device receives the first event information sent by the first control device. The electronic device can determine that the user wants to associate the first controlled object with the first control of the first control device.
[0132] The methods for configuring the first control device in the above two embodiments are further described below:
[0133] Method 1: The electronic device first determines the first control device based on the user's operation, and then configures the first control of the first control device based on the user's operation.
[0134] In some embodiments of this application, a user can trigger the configuration of a control device in a smart home system from an electronic device. At this time, the electronic device can enter a state of monitoring the control device. The electronic device can display a reminder message reminding the user to operate on the control device that needs to be configured. After the user triggers a first operation on the first control of the first control device that needs to be configured, the first control device sends a first event information to the electronic device. After receiving the first event information, the electronic device can determine that the user has triggered a first operation on the first control of the first control device based on the first event information. Then, the electronic device can determine that the user wants to configure the first control of the first control device based on the first event information. The electronic device displays the configuration interface corresponding to the first control device. Optionally, the electronic device can display the configuration interface corresponding to the first control of the first control device.
[0135] For example, Figure 6 is a schematic diagram of a control device configuration method provided in an embodiment of this application. Referring to Figure 6, taking a central control screen device as an example, as shown in Figure 6, the interface A of the central control screen device can include scene management controls, and this interface A can be the main interface of the central control screen device. The user can trigger a click operation on the scene management controls, and the central control screen device can jump to display interface B. This interface B can display the types of control devices included in the smart home system, such as the control devices in the smart home system including "knob series" and "panel series". The user can select the type of control device to be written into the scene in this interface B. If the user selects to configure the control device of the "panel series", the central control screen device jumps to display interface C. At this time, the central control screen device enters the state of listening to control devices to find the control devices to be configured in the smart home system. The central control screen device can display a reminder message reminding the user to operate on the first control device that needs to be configured, such as the central control screen device displaying "Please remove the central control screen and go to the corresponding panel and press the panel to be written into the scene". Optionally, when the central control screen device is displaying interface C, it can also monitor the control device through the central device in the smart home system. For example, the central control screen device can send a request message to the central device in the smart home system to request the central device to enter the state of monitoring the control device. After the central device hears the event information sent by the control device, it can send the received event information back to the central control screen device. The user can trigger a first operation on the control 4 of the first control device. The first control device sends a first event information to the central control screen device. The central control screen device determines the first control device and its control 4 that triggered the first operation based on the first event information. The central control screen device can then jump to display interface D, which is the configuration interface corresponding to the first control device. Referring to Figure 6, the configuration interface corresponding to the first control device can include a schematic diagram of the control of the first control device and the control function mapping. The control function mapping relationship includes the controlled object associated with each control. For example, control 1 is associated with "leisure mode", control 2 is associated with the "air conditioner on" function, control 3 is associated with "reading mode", and control 4 is associated with "meeting mode". Users can click the icon corresponding to control 4. The central control screen will then redirect to interface E, which is the configuration interface for control 4. This interface can include multiple candidate controlled objects that control 4 can be associated with. Users can select the controlled object associated with control 4 from these candidates. When a user selects control 4 to associate with the first controlled object in interface E, such as a smart home scene named "Sleep Mode," the central control screen will display interface F. Interface F will then notify the user that the configuration of control 4 is complete. For example, interface F may include a "Scene successfully written" notification message. At this point, the controlled object associated with control 4 has been set to the smart home scene named "Sleep Mode."
[0136] Optionally, after receiving the first event information sent by the first control device, the central control screen device can determine that the user wants to configure control 4 based on the first event information. In this case, the central control screen device can also directly jump from interface C to display interface E, while skipping display interface D.
[0137] It is understood that, in the embodiment shown in Figure 6, the interface E is illustrated with a smart home scene as an example of a candidate controlled object. In practice, the multiple candidate controlled objects in the configuration interface corresponding to the first control device displayed by the electronic device may also include at least one of the smart home scene, smart device, and smart home subsystem. The user triggering the electronic device to search for the control device through the scene management control is only an example and not a limitation. In specific implementation, the user may also trigger the electronic device to search for the control device through other controls in the electronic device.
[0138] In some embodiments, when the electronic device is in the state of monitoring and controlling the device, the first operation triggered by the user on the first control of the first control device can be any operation. After detecting the first operation triggered by the user, the first control device can send first event information to the electronic device. When the electronic device is in the state of monitoring and controlling the device and receives the first event information, it can determine that the user wants to configure the first control device. Optionally, the first operation can be an operation used to trigger the execution of the function corresponding to the first control. Then, after the electronic device receives the first event information sent by the first control device, it can determine that the user wants to configure the first control. Since the first operation is used to trigger the execution of the function corresponding to the first control, the first control device also sends the first event information to the central device. After the central device determines the controlled object currently associated with the first control, the central device sends a control command to the controlled object associated with the first control to execute the function corresponding to the first control.
[0139] In other embodiments, the first operation triggered by the user on the first control of the first control device can be an operation used to trigger the first control device to enter the editing state. That is, the first operation can be distinguished from operations supported on the first control that trigger the execution of the first control's functions. For example, clicking the first control can trigger control of the controlled object associated with the first control, and long-pressing the first control can trigger the first control device to enter the editing state. When the first operation is used to trigger the first control device to enter the editing state, the first event information sent by the first control device to the electronic device is used to instruct the configuration of the first control's first control. Then, after receiving the first event information from the first control device in any state, the electronic device can directly jump to display the configuration interface of the first control device or the configuration interface of the first control's first control, without needing to enter the state of listening to the control device; that is, without needing to display interfaces B and C as shown in Figure 6. For example, referring to Figure 6, after receiving the first event information from the first control device, the electronic device directly jumps from interface A to display interface D or interface E.
[0140] It should be noted that the embodiment shown in Figure 6 above is only an example. In practice, the number and style of controls of different control devices may vary, resulting in different configuration interfaces for different control devices. For example, Figure 7 is a schematic diagram of a configuration interface for a control device provided in an embodiment of this application. As shown in Figure 7(a), the configuration interfaces for control devices including one control, two controls, three controls, and four controls are shown respectively. Figure 7(b) shows the configuration interface of a control device with the structure shown in Figure 5(a). Users can click the "Previous Screen" and "Next Screen" controls in the configuration interface to view the names of controls and associated controlled objects corresponding to multiple screens. Users can switch the display of information of controls corresponding to different screens and configure the controlled objects associated with the controls.
[0141] In some embodiments of this application, when the first control device includes software controls, the user can edit the style of the software controls included in the first control device when configuring the first control device. Figure 8 is a schematic diagram of setting the control style of the control device according to an embodiment of this application. Referring to Figure 8, when the electronic device displays the configuration interface corresponding to the first control device, the user can trigger the editing of the control style in the configuration interface. For example, the user can long-press the icon corresponding to any control, or the user can click to edit the control. This edit control is used to trigger the editing of the control style of the first control device. The electronic device can display multiple candidate control styles supported by the first control device. The user can select the control style of the first control device from multiple candidate styles. As shown in Figure 8, the candidate control styles can include "one-click", "two-click", "three-click", "four-click", and "multi-click" styles. The user can select the control style of the first control device as needed.
[0142] In the smart home control device configuration method provided in this application embodiment, when the first control device has multiple controls, the user can also set multiple controls to be associated with a controlled object. In the embodiment shown in Figure 6 above, when the electronic device displays interface C, the user can sequentially trigger operations on the multiple controls of the first control device. The first event information sent by the first control device to the electronic device can instruct the user to sequentially trigger operations on the multiple controls. When the user selects a controlled object in interface E, the electronic device can determine that multiple controls are associated with the user-selected controlled object. In this scenario, the user can trigger control of the controlled object through any of the multiple controls. Alternatively, the user can also set one control to be associated with multiple controlled objects. In the embodiment shown in Figure 6 above, the user can select multiple controlled objects in interface E, and the electronic device can determine that a first control is associated with multiple controlled objects. In this scenario, the user can trigger control of multiple controlled objects through the first control.
[0143] In some embodiments, when the first control device has multiple controls, the smart home control device configuration method provided in this application can also configure and associate each control with a multiple controlled object. For example, Figure 9 is an example diagram of the display interface of the first control device in a smart home control device configuration method provided in this application, and Figure 10 is a schematic diagram of the display interface of the electronic device in a smart home control configuration method provided in this application. Referring to interface A in Figure 9, when the first control device supports displaying multiple software controls, the first control device can provide a variety of control styles. The user can choose to set the control style of the first control device. For example, if the user selects the "three-button" control style in interface A, the display interface of the first control device can be interface B as shown in Figure 9. Referring to interfaces A-C in Figure 10, the user can trigger the electronic device to search for the control device to be configured in the smart home system. For specific implementation, please refer to the description of interfaces A-C in the embodiment shown in Figure 6, which will not be repeated here. When the electronic device displays interface C, the user can sequentially trigger operations on the three controls of the first control device shown in interface B of Figure 9. For example, the user can click on the three controls in the order of control 1, control 2, and control 3. The first control device sends a second event message to the electronic device, which instructs the user to sequentially trigger operations on multiple controls of the first control device. After receiving the second event message, the electronic device can jump to display interface D, which includes multiple candidate controlled objects. The user can sequentially select three controlled objects in interface D, such as selecting "Leisure Mode," "Game Mode," and "Sleep Mode" in interface D. The electronic device can determine the association of multiple controls of the first control device with the multiple controlled objects selected by the user according to the order in which the user triggers operations on multiple controls and the order in which the user selects multiple controlled objects from multiple candidate controlled objects. After the electronic device completes the settings, it can display interface E to notify the user that the configuration of the first control device is complete. In this way, the electronic device can configure multiple controls of the first control device simultaneously, simplifying the operations required for the user to configure the control device, improving the efficiency of control device configuration, and enhancing the user experience.
[0144] Based on the above embodiments, Figure 11 is a flowchart of a smart home control device configuration method provided in this application embodiment. Figure 11 illustrates the smart home control device configuration method executed by a central control screen device, a control panel, a central device, and a scene engine as an example. Referring to Figure 11, the method includes the following steps:
[0145] S1101: In response to an operation triggered by the user on the central control screen device, the central control screen device enters the state of monitoring and controlling the device.
[0146] Among them, the operation triggered by the user in the central control screen can enable the user to configure the control devices in the smart home system, such as the user triggering a click operation on the scene management control in interface A shown in Figure 6.
[0147] Optionally, when the central control screen device enters the monitoring and control device state, it can also query at least one control device in the smart home system and display the icon of the at least one control device found on the display screen.
[0148] S1102: In response to a first operation triggered by the user on the first control of the control panel, the control panel sends a first event information to the central device.
[0149] The first event information is used to instruct the user to trigger the first operation on the first control in the control panel.
[0150] S1103: The central device sends the first event information to the scene engine.
[0151] Optionally, when the first operation is a user-triggered operation to control the controlled object associated with the first control, and the controlled object associated with the first control is a smart home scene, the central device can send the first event information to the scene engine. After receiving the first event information, the scene engine executes the smart home scene associated with the first control.
[0152] As can be seen from the foregoing embodiments, the first operation can also be an operation to trigger the first control device to enter the editing state. In this case, the first operation triggered by the user will not trigger the execution of the smart home scene associated with the first control, and the central device will not execute S1103.
[0153] S1104: The central device sends the first event information to the central control screen device.
[0154] In this embodiment, the order of execution of S1103 and S1104 is not limited. In specific implementation, the central device may execute S1103 first and then S1104, or the central device may execute S1104 first and then S1103, or the central device may execute S1103 and S1104 simultaneously.
[0155] S1105: The central control screen device displays the configuration interface corresponding to the control panel on the display screen based on the first event information.
[0156] Optionally, the central control screen device can display the configuration interface corresponding to the control panel, as shown in interface D in Figure 6; or the central control screen device can display the configuration interface corresponding to the first control of the control panel, as shown in interface E in Figure 6.
[0157] S1106: In response to a second operation triggered by the user in the configuration interface corresponding to the control panel, the central control screen device determines the first controlled object associated with the first control of the control panel.
[0158] Optionally, the second operation can be an operation in which the user selects a first controlled object from multiple candidate controlled objects as the controlled object associated with the first control.
[0159] S1107: The central control screen device sends the first configuration information to the central device.
[0160] The first configuration information is used to indicate the first controlled object associated with the first control in the control panel.
[0161] S1108: The central device sends the first configuration information to the scene engine.
[0162] Optionally, when the first controlled object is a smart home scene, the central device can send the first configuration information to the scene engine.
[0163] S1109: In response to the user's operation of modifying the name of the first control triggered by the central control screen device, the central control screen device sends the second configuration information to the central device.
[0164] The second configuration information is used to indicate the name of the first control.
[0165] S1110: The central device sends the second configuration information to the control panel.
[0166] S1111: The control panel displays the name of the first control on the control panel screen based on the second configuration information.
[0167] Method 2: The electronic device first determines the first controlled object, and then determines the first control to associate the first controlled object with the first control device based on the user's operation.
[0168] In this embodiment, the electronic device can display the controllable objects in the smart home system managed by the electronic device. For example, the electronic device can display smart devices, smart home scenes, and smart home subsystems in the smart home system. Users can trigger the association of the controllable objects in the smart home system with the control devices in the smart home system through the electronic device, so that users can control the controllable objects through the control devices.
[0169] In one optional implementation, the electronic device displays multiple candidate controlled objects in the smart home system. In response to a third user action, the electronic device enters a state of monitoring a first control device. The third action can be a user-triggered operation to associate the first controlled object with a control device in the smart home system. When the electronic device enters the monitoring state, the user can trigger a first operation on a first control of the first control device. The first control device sends first event information to the electronic device, and the electronic device determines, based on the first event information, to associate the first controlled object with the first control of the first control device.
[0170] For example, Figure 12 is a schematic diagram of a smart home control device configuration method provided in an embodiment of this application. Referring to Figure 12, taking an electronic device as a central control screen device and a user associating smart home scenes on the central control screen device as an example, as shown in Interface A of Figure 12, the central control screen device can store information on multiple smart home scenes. The central control screen device can display icons of multiple smart home scenes on Interface A. Each smart home scene can include multiple smart devices or the functions of multiple smart devices. For example, the "movie viewing mode" scene can include: turning on the ambient light, turning off the smart living room light, turning on the smart speaker, and turning on the cinema mode of the smart TV. The multiple smart home scenes stored in the central control screen device can be pre-configured scenes by the system or user-defined scenes. Users can also create new smart home scenes or modify existing smart home scenes on the central control screen device. Users can associate the first scenario named "Meeting Mode" with the central control screen in interface A. The central control screen then enters the monitoring and control device state, and can then jump to interface B. The central control screen can display a reminder message prompting the user to operate on the control device requiring configuration, such as "Please remove the central control screen and go to the corresponding panel, press the panel to be written to the scenario." Users can trigger the first operation on control 4 of the first control device. The first control device sends first event information to the central control screen. Based on the first event information, the central control screen determines the first control device and its control 4 that triggered the first operation. The central control screen can then jump to interface C, which is the configuration interface corresponding to the first control device. Interface C can display a reminder message asking the user whether to associate the first scenario, such as "Associate 'Meeting Mode' to control 4?" After the user confirms, the central control screen can jump to interface D, which may include a "Scenario successfully written" message.
[0171] In some implementations, users can configure parameters of controlled objects in a smart home system within electronic devices. This includes adding smart devices, setting their parameters, creating new smart home scenes, modifying existing smart home scene information, creating new smart home subsystems, and setting parameters for smart devices within those subsystems. When the electronic device displays the editing interface for the first controlled object, it can ask the user whether to associate the first controlled object with a control device in the smart home system. Upon confirmation from the user, the electronic device can enter a state of monitoring the control device. At this point, the user triggers a first operation on the first control device's first control, which sends a first event message to the electronic device. The electronic device can then associate the first controlled object with the first control device's first control based on this first event message.
[0172] For example, Figure 13 is a schematic diagram of a smart home control device configuration method provided in an embodiment of this application. Referring to Figure 13, taking an electronic device as a central control screen device and a user associating smart home scenes on the central control screen device as an example, the central control screen device displays interface A, which is the editing interface for smart home scenes. The user can select the smart devices included in the smart home scene and the status of the smart devices in interface A. For example, in interface A, the user selects to create a new first scene including: turn on the living room light, turn on the humidifier, and turn on the aroma diffuser. After the user clicks the "Generate Scene" control in interface A, the central control screen device jumps to display interface B. The user can enter the name of the first scene in interface B and click the "Confirm" control. For example, the user sets the name of the first scene to "Living Room Scene 1". The central control screen can jump to display interface C, which is used to remind the user that the scene creation has been completed. Interface C can include a "link to panel" control. When the user clicks this control, it can trigger the central control screen device to enter the state of listening to the control device. For example, the central control screen device can jump to display interface D, which can display a reminder message reminding the user to operate on the control device that needs to be configured. For example, the central control screen device displays "Please remove the central control screen and go to the corresponding panel and press the panel that needs to be written to the scene". The user can trigger a first operation on control 4 of the first control device. The first control device sends a first event information to the central control screen device. The central control screen device determines the first control device and its control 4 that triggered the first operation based on the first event information. The central control screen device can then jump to display interface E, which is the configuration interface corresponding to the first control device. The central control screen device can display a reminder message in interface E asking the user whether to associate the first scene. For example, interface E may display a reminder message such as "Associate 'Living Room Scene 1' with control 4?" After the user selects and confirms, the central control screen device can jump to display interface F, such as interface F including a reminder message "Scene successfully written".
[0173] It should be noted that the first operation triggered by the user on the first control of the first control device in this embodiment can be any operation, and this application does not limit it.
[0174] In the smart home control device configuration method provided in this application embodiment, when the first control device has multiple controls, the user can also set multiple controls to be associated with a controlled object. In the embodiment shown in Figure 12 above, when the electronic device displays interface B, the user can sequentially trigger operations on the multiple controls of the first control device. The first event information sent by the first control device to the electronic device can instruct the user to sequentially trigger operations on the multiple controls. The electronic device can determine that multiple controls are associated with the controlled object selected by the user. In this scenario, the user can trigger control of the controlled object through any of the multiple controls. Alternatively, the user can also set one control to be associated with multiple controlled objects. In the embodiment shown in Figure 12 above, the user can select multiple controlled objects on interface A. The electronic device can determine that the first control is associated with multiple controlled objects. In this scenario, the user can trigger control of multiple controlled objects through the first control.
[0175] In some embodiments, when the first control device has multiple controls, the smart home control device configuration method provided in this application can also configure and associate multiple controls with multiple controlled objects respectively. For example, Figure 14 is a schematic diagram of the display interface of an electronic device in a smart home control configuration method provided in this application. Referring to Figure 14, interface A includes multiple candidate controlled objects in the smart home system stored in the electronic device. Figure 14 shows multiple candidate controlled objects as multiple smart home scenes. The user can select multiple controlled objects in interface A in sequence, such as the user selecting "Night Mode", "Entertainment Mode" and "Meeting Mode" in interface A in sequence. The user can trigger the association of the selected multiple controlled objects with the control device in the smart home system in interface A, as shown in Figure 14, where the user selects to associate the selected "Night Mode", "Entertainment Mode" and "Meeting Mode" with the panel. The electronic device can jump to display interface B, which includes a reminder message reminding the user to operate on the control device that needs to be configured, such as the electronic device displaying "Please remove the central control screen and go to the panel in the corresponding position, and press the three controls that need to be written to the scene in sequence". The user can sequentially press three controls on the first control device. The first control device sends a third event message to the electronic device, which instructs the user to trigger operations on multiple controls on the first control device sequentially. After receiving the third event message from the first control device, the electronic device can display interface E, which is the configuration interface of the first control device. Interface E includes a prompt message asking the user whether to associate the selected scene. After the user selects "Confirm," the electronic device can determine the association of the multiple controls on the first control device with the multiple controlled objects selected by the user, according to the order in which the user selects multiple controlled objects from multiple candidate controlled objects and the order in which the user triggers operations on multiple controls. After the electronic device completes the setup, it can display interface F to notify the user that the configuration of the first control device is complete.
[0176] Optionally, when the first control device includes multiple software controls, if the number of controlled objects selected by the user is inconsistent with the number of controls on the first control device when the electronic device receives the third event information, the electronic device can also display interface C. Interface C includes a reminder message prompting the user whether to modify the control style of the first control device. When the user clicks to confirm the modification of the control style of the first control device in interface C, the electronic device can display interface D. Interface D includes multiple control styles supported by the first control device, and the user can select the control style of the first control device in interface D. For example, if the user selects three controlled objects in the aforementioned interface A, the user can select the "three-button" control style in interface D. After the user resets the control style of the first control device in the electronic device, the electronic device can send second configuration information to the first control device. The second configuration information is used to instruct the control style of the first control device to be set to the second control style. The first control device can set the control style to the second control style according to the second configuration information. After modifying the control style of the first control device, the electronic device can sequentially associate multiple controls with multiple controlled objects selected by the user according to a preset control order, or the electronic device can display a reminder message to remind the user to trigger the operation again on multiple controls on the first control device with the control style reset, and associate multiple controls with multiple controlled objects selected by the user according to the order in which the user triggers the operation.
[0177] Through this embodiment, electronic devices can simultaneously associate multiple controlled objects in a smart home system with multiple controls of a first control device, simplifying the operations required for users to configure the control device, improving the configuration efficiency of the control device, and enhancing the user experience.
[0178] Based on the above embodiments, Figure 15 is a flowchart of a smart home control device configuration method provided in this application embodiment. Figure 15 illustrates the smart home control device configuration method executed by a central control screen device, a control panel, a central device, and a scene engine as an example. Referring to Figure 15, the method includes the following steps:
[0179] S1501: In response to a third operation triggered by the user in the central control screen device, the electronic device determines the first controlled object corresponding to the third operation, and the electronic device enters the state of monitoring and controlling the device.
[0180] The third operation can be a user-triggered operation that associates the first controlled object with the control device in the smart home system.
[0181] S1502: In response to a first operation triggered by the user on the first control of the control panel, the control panel sends a first event message to the central device.
[0182] The first event information is used to instruct the user to trigger the first operation on the first control in the control panel.
[0183] S1503: The central device sends the first event information to the scene engine.
[0184] Optionally, when the first operation is a user-triggered operation to control the controlled object associated with the first control, and the controlled object associated with the first control is a smart home scene, the central device can send the first event information to the scene engine. After receiving the first event information, the scene engine executes the smart home scene associated with the first control.
[0185] As can be seen from the foregoing embodiments, the first operation can also be an operation to trigger the first control device to enter the editing state. In this case, the first operation triggered by the user will not trigger the execution of the smart home scene associated with the first control, and the central device will not execute S1503.
[0186] S1504: The central device sends the first event information to the central control screen device.
[0187] In this embodiment, the order of execution of S1503 and S1504 is not limited. In specific implementation, the central device may execute S1503 first and then S1504, or the central device may execute S1504 first and then S1503, or the central device may execute S1503 and S1504 simultaneously.
[0188] S1505: The central control screen device displays a first reminder message on the display screen based on the first event information. The first reminder message is used to ask the user whether to associate the first controlled object with the first control.
[0189] Optionally, the central control screen device displays the configuration interface corresponding to the control panel based on the first event information, and the configuration interface corresponding to the control panel includes the first reminder message.
[0190] S1506: In response to a user-triggered confirmation operation, the central control screen device determines to associate the first controlled object with the first control.
[0191] Optionally, the confirmation operation is a user-triggered confirmation operation that associates the first controlled object with the first control. For example, the confirmation operation can be a click operation triggered by the user on the "Confirm" control in interface D shown in Figure 10.
[0192] S1507: The central control screen device sends the first configuration information to the central device.
[0193] The first configuration information is used to indicate the first controlled object associated with the first control in the control panel.
[0194] S1508: The central device sends the first configuration information to the scene engine.
[0195] Optionally, when the first controlled object is a smart home scene, the central device can send the first configuration information to the scene engine.
[0196] S1509: In response to the user's operation of modifying the name of the first control triggered by the central control screen device, the central control screen device sends the second configuration information to the central device.
[0197] The second configuration information is used to indicate the name of the first control.
[0198] S1510: The central device sends the second configuration information to the control panel.
[0199] S1511: The control panel displays the name of the first control on the control panel display screen based on the second configuration information.
[0200] It should be noted that the smart home control device configuration method provided in this application is not limited to configuring control devices in a smart home system. It can also be used by electronic devices to locate any smart device in the smart home system and to configure controls on any smart device within the system. For example, a user triggers an electronic device to monitor the status of smart devices in the smart home system. The user then performs an operation on a control of the smart device that needs configuration. The smart device sends an event message to the electronic device, instructing the user to perform the operation on the device's control. After receiving the event message from the smart device, the electronic device can display the corresponding configuration interface. The user can quickly configure the functions of the controls in this configuration interface. Specific implementation details can be found in the above embodiments; repeated details will not be elaborated further.
[0201] Based on the same concept, this application also provides a method for configuring a smart home control device. This method can be executed by an electronic device and a first control device in a smart home system. The electronic device can be a device with management functions in the smart home system, such as a central device or a central control screen device independent of the central device. The electronic device can also be a mobile terminal device with smart home management functions, such as a mobile phone or tablet computer with a smart home application installed. Figure 16 is a flowchart of a smart home control method provided in this application embodiment. Referring to Figure 16, the method includes the following steps:
[0202] S1601: In response to a first operation triggered by a user on a first control of the first control device, the first control device sends first event information to the electronic device.
[0203] The first event information is used to instruct the user to trigger a first operation on the first control of the first control device.
[0204] S1602: The electronic device displays the configuration interface corresponding to the first control device.
[0205] S1603: In response to a second operation triggered by the user in the configuration interface corresponding to the first control device, the electronic device determines to associate the first control of the first control device with the first controlled object.
[0206] The second operation is used to select to associate the first control with the first controlled object.
[0207] It should be noted that the smart home control device configuration method shown in Figure 16 of this application can be referred to the above embodiments of this application in specific implementation, and repeated parts will not be described again.
[0208] Based on the above embodiments, this application also provides an electronic device, which includes multiple functional modules. These multiple functional modules interact to implement the functions performed by the electronic device in the methods described in the embodiments of this application. For example, executing steps S1101, S1105-S1107, and S1109 performed by the central control screen device in the embodiment shown in FIG11, or executing steps S1501, S1505-S1509 performed by the central control screen device in the embodiment shown in FIG15, or executing the steps performed by the electronic device in the method provided in the embodiment shown in FIG16. The multiple functional modules can be implemented based on software, hardware, or a combination of software and hardware, and can be arbitrarily combined or divided based on specific implementations.
[0209] Based on the above embodiments, this application also provides an electronic device, which includes at least one processor and at least one memory. The at least one memory stores computer program instructions. When the electronic device is running, the at least one processor executes the functions performed by the electronic device in the various methods described in the embodiments of this application. For example, executing S1101, S1105-S1107 and S1109 executed by the central control screen device in the embodiment shown in FIG11, or executing S1501, S1505-S1509 executed by the central control screen device in the embodiment shown in FIG15, or executing the steps performed by the electronic device in the method provided in the embodiment shown in FIG16.
[0210] Based on the above embodiments, this application also provides a computer program product containing instructions, which, when run on a computer, causes the computer to execute the methods described in the embodiments of this application.
[0211] Based on the above embodiments, this application also provides a computer-readable storage medium storing a computer program, which, when executed by a computer, causes the computer to perform the methods described in the embodiments of this application.
[0212] Based on the above embodiments, this application also provides a chip for reading computer programs stored in a memory to implement the methods described in the embodiments of this application.
[0213] Based on the above embodiments, this application provides a chip system including a processor for supporting a computer device in implementing the methods described in the embodiments of this application. In one possible design, the chip system further includes a memory for storing necessary programs and data of the computer device. This chip system may be composed of chips or may include chips and other discrete devices.
[0214] Those skilled in the art will understand that embodiments of this application can be provided as methods, systems, or computer program products. Therefore, this application can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, this application can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0215] This application is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to this application. It should be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in one or more blocks of the flowchart illustrations and / or one or more blocks of the block diagrams.
[0216] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means that implement the functions specified in one or more flowcharts and / or one or more block diagrams.
[0217] These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer-implemented process, such that the instructions, which execute on the computer or other programmable apparatus, provide steps for implementing the functions specified in one or more flowcharts and / or one or more block diagrams.
[0218] Obviously, those skilled in the art can make various modifications and variations to this application without departing from the scope of protection of this application. Therefore, if such modifications and variations fall within the scope of the claims of this application and their equivalents, this application also intends to include such modifications and variations.
Claims
1. A method for configuring a smart home control device, characterized in that, Applied to a smart home system, the smart home system including electronic devices and at least one control device, the at least one control device including a first control device, the method includes: In response to a first operation triggered by a user on a first control of the first control device, the first control device sends first event information to the electronic device. The first event information is used to instruct the user to trigger the first operation on the first control of the first control device. The electronic device receives the first event information from the first control device and displays the configuration interface corresponding to the first control device; in response to the second operation triggered by the user in the configuration interface corresponding to the first control device, the electronic device determines to associate the first control of the first control device with the first controlled object; wherein, the second operation is used to select to associate the first control with the first controlled object.
2. The method as described in claim 1, characterized in that, Before the electronic device receives the first event information sent by the first control device, the method further includes: In response to a third operation triggered by the user, the electronic device displays a first interface; wherein the third operation is used to trigger confirmation of a control device to be configured in the smart home system, the control device to be configured in the smart home system including the first control device; the first interface includes a first reminder message, the first reminder message being used to remind the user to trigger an operation on the control device that needs to be configured.
3. The method as described in claim 1, characterized in that, Before the electronic device receives the first event information sent by the first control device, the method further includes: The electronic device displays a second interface, which includes information on multiple candidate controlled objects, including the first controlled object; or the second interface is an interface related to the first controlled object. In response to a fourth operation triggered by the user on the second interface, the electronic device displays a first interface; the fourth operation is used to trigger a control device that associates the first controlled object with the smart home system, and the first interface includes a first reminder message, which is used to remind the user to trigger an operation on the control device that needs to be configured.
4. The method according to any one of claims 1-3, characterized in that, The smart home system further includes a central device; after the electronic device determines that the first control device is associated with the first controlled object, the method further includes: The electronic device sends first configuration information to the central device in the smart home system. The first configuration information is used to instruct the first control device to associate the first control with the first controlled object.
5. The method as described in claim 4, characterized in that, The first control device sends first event information to the electronic device, including: The first control device sends the first event information to the central device; The electronic device receives first event information from the first control device, including: The electronic device receives the first event information sent by the central device.
6. The method according to any one of claims 1-5, characterized in that, After the electronic device determines that the first control device is associated with the first controlled object, the method further includes: The electronic device sends first configuration information to the first control device, the first configuration information being used to instruct the first control device to associate the first control with the first controlled object.
7. The method according to any one of claims 1-6, characterized in that, After the electronic device determines that the first control device is associated with the first controlled object, the method further includes: The electronic device sends information related to the first controlled object to the first control device; The first control device displays the identifier corresponding to the first controlled object in the display area corresponding to the first control based on the information related to the first controlled object.
8. The method according to any one of claims 1-7, characterized in that, The method further includes: In response to a fifth operation triggered by the user, the first control device sets the control style of the first control device to a first style, the first style including multiple controls; In response to a sixth operation triggered by the user, the first control device sends a second event message to the electronic device. The sixth operation includes operations triggered sequentially by the user in multiple controls of the first control device. The second event message is used to indicate that the user has triggered operations sequentially in multiple controls of the first control device. The electronic device receives the second event information from the first control device and displays the configuration interface corresponding to the first control device. The configuration interface corresponding to the first control device includes information on multiple candidate controlled objects. In response to a seventh operation triggered by the user in the configuration interface corresponding to the first control device, the electronic device determines and sets the multiple controls of the first control device to be associated with the multiple controlled objects selected by the user in the order in which the user triggers the operations on the multiple controls and in the order in which the user selects multiple controlled objects from the multiple candidate controlled objects; the seventh operation is used to select multiple controlled objects sequentially from the multiple candidate controlled objects.
9. The method according to any one of claims 1-7, characterized in that, The method includes: The electronic device displays a third interface, which includes information on multiple candidate controlled objects. In response to an eighth operation triggered by the user on the third interface, the electronic device displays a first interface; the eighth operation is used to trigger the association of the multiple controlled objects selected by the user from the multiple candidate controlled objects to the control device in the smart home system, and the first interface includes a first reminder message, which is used to remind the user to trigger an operation on the control device that needs to be configured; In response to a ninth operation triggered by the user, the first control device sends a third event message to the electronic device. The ninth operation includes operations triggered sequentially by the user in multiple controls of the first control device. The third event message is used to indicate that the user has triggered operations sequentially in multiple controls of the first control device. The electronic device receives the third event information from the first control device and displays the configuration interface corresponding to the first control device; in response to the tenth operation triggered by the user in the configuration interface corresponding to the first control device, the electronic device determines and sets the multiple controls of the first control device to be associated with the multiple controlled objects selected by the user in the order in which the user triggers the operations on the multiple controls and in the order in which the user selects multiple controlled objects from the multiple candidate controlled objects.
10. The method as described in claim 9, characterized in that, After the electronic device displays the first interface in response to an eighth operation triggered by the user on the third interface, the method further includes: When the number of multiple controlled objects selected by the user is inconsistent with the number of controls on the first control device, the electronic device displays a second reminder message, which is used to remind the user whether to modify the control style of the first control device. In response to the eleventh operation triggered by the user, the electronic device displays a fourth interface; the eleventh operation is an operation triggered by the user to determine and modify the control style of the first control device, and the fourth interface includes multiple candidate control styles corresponding to the first control device; In response to the twelfth operation triggered by the user, the electronic device determines to set the control style of the first control device to the second control style and sends second configuration information to the first control device; the twelfth operation is the user's operation of selecting the second control style in the fourth interface, and the second configuration information is used to indicate that the control style of the first control device is set to the second control style; The first control device sets the control style of the first control device to the second control style according to the second configuration information.
11. The method according to any one of claims 1-10, characterized in that, The first controlled object is any one of the smart devices, smart home scenes, and smart home subsystems in the smart home system to which the electronic device belongs.
12. The method according to any one of claims 1-11, characterized in that, The electronic device is a device with management functions in a smart home system, or the electronic device is a mobile terminal device with smart home management functions.
13. A method for configuring a smart home control device, characterized in that, Applied to electronic devices, the method includes: Receive first event information from a first control device, the first event information being used to instruct a user to trigger a first operation on a first control of the first control device; Displays the configuration interface corresponding to the first control device; In response to a second operation triggered by the user in the configuration interface corresponding to the first control device, it is determined to associate a first control of the first control device with a first controlled object; wherein, the second operation is used to select to associate the first control with the first controlled object.
14. The method as described in claim 13, characterized in that, Before receiving the first event information sent by the first control device, the method further includes: In response to a third operation triggered by the user, a first interface is displayed; wherein the third operation is used to trigger confirmation of a control device to be configured in the smart home system, the control device to be configured in the smart home system including the first control device; the first interface includes a first reminder message, the first reminder message being used to remind the user to trigger an operation on the control device that needs to be configured.
15. The method as described in claim 13, characterized in that, Before receiving the first event information sent by the first control device, the method further includes: The second interface displays information about multiple candidate controlled objects, including the first controlled object; or the second interface is an interface related to the first controlled object. In response to a fourth operation triggered by the user on the second interface, a first interface is displayed; the fourth operation is used to trigger the association of the first controlled object with the control device in the smart home system, and the first interface includes a first reminder message, which is used to remind the user to trigger an operation on the control device that needs to be configured.
16. The method according to any one of claims 13-15, characterized in that, After determining that the first control of the first control device is associated with the first controlled object, the method further includes: Send first configuration information to the central device in the smart home system to which the electronic device belongs, the first configuration information being used to instruct the first control device to associate the first control with the first controlled object.
17. The method according to any one of claims 13-16, characterized in that, After determining that the first control of the first control device is associated with the first controlled object, the method further includes: Send first configuration information to the first control device, the first configuration information being used to instruct the first control device to associate the first control with the first controlled object.
18. The method according to any one of claims 13-17, characterized in that, After determining that the first control of the first control device is associated with the first controlled object, the method further includes: Send information related to the first controlled object to the first control device.
19. The method according to any one of claims 13-18, characterized in that, The receiving of the first event information from the first control device includes: The system receives the first event information sent by the central device in the smart home system to which the electronic device belongs. The first event information is sent by the first control device to the central device.
20. The method according to any one of claims 13-19, characterized in that, The method further includes: Receive the second event information from the first control device, display the configuration interface corresponding to the first control device, the second event information is used to instruct the user to trigger operations sequentially on multiple controls of the first control device, and the configuration interface corresponding to the first control device includes information on multiple candidate controlled objects; In response to a seventh operation triggered by the user in the configuration interface corresponding to the first control device, the system determines and sets the multiple controls of the first control device to be associated with the multiple controlled objects selected by the user in the order in which the user triggers operations on the multiple controls and in the order in which the user selects multiple controlled objects from the multiple candidate controlled objects; the seventh operation is used to sequentially select multiple controlled objects from the multiple candidate controlled objects.
21. The method according to any one of claims 13-19, characterized in that, The method further includes: A third interface is displayed, which includes information about multiple candidate controlled objects; In response to an eighth operation triggered by the user on the third interface, a first interface is displayed; the eighth operation is used to trigger the association of the multiple controlled objects selected by the user from the multiple candidate controlled objects to the control devices in the smart home system; the first interface includes a first reminder message, which is used to remind the user to trigger an operation on the control device that needs to be configured. Receive the third event information from the first control device, and display the configuration interface corresponding to the first control device. The third event information is used to instruct the user to trigger operations sequentially on multiple controls of the first control device. In response to the tenth operation triggered by the user in the configuration interface corresponding to the first control device, the multiple controls of the first control device are respectively associated with the multiple controlled objects selected by the user, according to the order in which the user triggers the operations on the multiple controls and the order in which the user selects multiple controlled objects from the multiple candidate controlled objects.
22. The method as described in claim 21, characterized in that, After receiving the third event information from the first control device and displaying the configuration interface corresponding to the first control device, the method further includes: When the number of multiple controlled objects selected by the user is inconsistent with the number of controls on the first control device, a second reminder message is displayed. The second reminder message is used to remind the user whether to modify the control style of the first control device. In response to the eleventh operation triggered by the user, the fourth interface is displayed; the eleventh operation is the operation triggered by the user to determine and modify the control style of the first control device, and the fourth interface includes multiple candidate control styles corresponding to the first control device; In response to the twelfth operation triggered by the user, it is determined that the control style of the first control device is set to the second control style, and second configuration information is sent to the first control device; the twelfth operation is the operation of the user selecting the second control style in the fourth interface, and the second configuration information is used to indicate that the control style of the first control device is set to the second control style.
23. The method according to any one of claims 13-22, characterized in that, The first controlled object is any one of the smart devices, smart home scenes, and smart home subsystems in the smart home system to which the electronic device belongs.
24. The method according to any one of claims 13-23, characterized in that, The electronic device is a device with management functions in a smart home system, or the electronic device is a mobile terminal device with smart home management functions.
25. An electronic device, characterized in that, It includes at least one processor coupled to at least one memory, the at least one processor being configured to read a computer program stored in the at least one memory to perform the method as described in any one of claims 13-24.
26. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores instructions that, when executed on a computer, cause the computer to perform the method as described in any one of claims 13-24.
Citation Information
Patent Citations
System and method for configuring switch panel as multifunctional control panel
CN106292323A
Liquid crystal touch control switch, configuration system and configuration method
CN109857438A
Virtual remote control generation method, system and storage medium
CN110517476A
Control page configuration method, equipment control method and related equipment
CN116974644A
Intelligent device control method, electronic device and system
CN117850252A