Device control method and electronic device

By using the quick control object of the first electronic device, users can quickly assign attribute parameter values ​​to other devices through simple gesture operations, which solves the problem of cumbersome operation when there are many smart devices and realizes flexible and fun device control.

WO2026000943A1PCT designated stage Publication Date: 2026-01-02HUAWEI TECH CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2025/070268
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2024-06-27
Filing Date
2025-01-02
Publication Date
2026-01-02

AI Technical Summary

Technical Problem

When there are many smart devices, users need to configure the attribute parameter values ​​of each device one by one, which makes the operation cumbersome, difficult for users, and difficult to achieve flexible and interesting device control with existing technology.

Method used

By displaying the configured quick control object on the first electronic device, users can quickly assign attribute parameter values ​​to other electronic devices through simple gesture operations, simplifying the configuration process and supporting the retention of quick control objects on different interfaces, thus enabling flexible device control and sharing.

Benefits of technology

It simplifies user operation, reduces the difficulty of device control, increases the flexibility and fun of device control, and supports quick configuration and sharing of attribute parameter values ​​for multiple devices.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2025070268_02012026_PF_FP_ABST
    Figure CN2025070268_02012026_PF_FP_ABST
Patent Text Reader

Abstract

The present application relates to the technical field of terminals. Provided are a device control method and an electronic device. In the present application, a first electronic device can display a shortcut control object corresponding to a second electronic device for which the configuration has been completed. In this way, an attribute parameter value can be quickly assigned to a third electronic device by means of the shortcut control object, thereby simplifying user operations. The method is applied to the first electronic device, and comprises: in response to a first operation of a first user on a first display object, displaying a first shortcut control object, wherein the first display object corresponds to a second electronic device, and the first shortcut control object is configured to assign, to an electronic device other than the second electronic device, an attribute parameter value associated with a first attribute parameter value of the second electronic device; and in response to a second operation of the first user on the first shortcut control object and a second display object, assigning a second attribute parameter value to a third electronic device corresponding to the second display object, wherein the second attribute parameter value is associated with the first attribute parameter value.
Need to check novelty before this filing date? Find Prior Art

Description

Device control method and electronic device

[0001] The present application claims priority from the Chinese patent application No. 202410860422.X filed on June 27, 2024, and entitled "Device control method and electronic device", the content of which is incorporated herein by reference in its entirety. TECHNICAL FIELD

[0002] The present application relates to the technical field of terminals, and in particular to a device control method and an electronic device. BACKGROUND

[0003] With the development of terminal technology, more and more intelligent devices are supported, and users can meet various needs in life through different intelligent devices. For example, intelligent devices include smart lights, smart screens, air purifiers and other smart home devices, thereby providing smart home life for users.

[0004] At present, users generally configure attribute parameter values of each intelligent device through a smart life application to trigger the intelligent device to run according to the corresponding attribute parameter values. Alternatively, the user pre-arranges a scene including multiple intelligent devices through the smart life application, and configures the attribute parameter values of the multiple intelligent devices included in the scene one by one in the scene configuration process. Subsequently, the multiple intelligent devices included in the scene are controlled to run according to the pre-configured attribute parameter values through the scene. As can be seen, when the number of intelligent devices is large, the user needs to configure the attribute parameter values of each intelligent device one by one, which is a relatively cumbersome process and difficult for the user to operate. SUMMARY

[0005] In order to solve the above technical problems, the present application provides a device control method and an electronic device. The technical scheme provided by the present application can display a shortcut control object corresponding to a second electronic device that has completed configuration on a first electronic device. In this way, the third electronic device can be quickly assigned attribute parameter values through the shortcut control object, simplifying user operation.

[0006] In order to achieve the above technical purpose, the present application provides the following technical scheme:

[0007] In a first aspect, a device control method applied to a first electronic device is provided. The method comprises: in response to a first operation of a first display object by a first user, displaying a first shortcut control object, the first display object corresponding to a second electronic device, and the first shortcut control object being used to assign an attribute parameter value associated with a first attribute parameter value of the second electronic device to other electronic devices except the second electronic device. In response to a second operation of the first shortcut control object and a second display object by the first user, assigning a second attribute parameter value to a third electronic device corresponding to the second display object, the second attribute parameter value being associated with the first attribute parameter value. The attribute parameter value associated with the first attribute parameter value of the second electronic device may be the same value as the first attribute parameter value, or may be a corresponding attribute parameter value generated based on the first attribute parameter value and applicable to other electronic devices.

[0008] In this way, the user can assign the attribute parameter value associated with the attribute parameter value of one electronic device to other electronic devices through a simple gesture operation, so that when the number of electronic devices is large, the user does not have to configure multiple electronic devices one by one, simplifying the attribute parameter value configuration operation of the user and reducing the difficulty of device control of the user.

[0009] According to the first aspect, assigning the second attribute parameter value to the third electronic device corresponding to the second display object comprises: setting the attribute parameter value of the third electronic device to include the second attribute parameter value. Alternatively, instructing the third electronic device to operate according to the second attribute parameter value.

[0010] In this way, the user can quickly trigger the attribute value configuration of other devices or operate according to the associated attribute parameter value through the shortcut control object through a simple gesture operation, simplifying the operation of the user. In addition, the flexibility and interest of device control are increased.

[0011] According to the first aspect, or any one of the implementation manners of the first aspect, the first display object is displayed on a first interface, and the method further comprises: in response to a third operation of the first user, switching to display a second interface, the second interface displaying the first shortcut control object.

[0012] According to the first aspect, or any one of the implementation manners of the first aspect, the method further comprises: in response to a fourth operation of the first shortcut control object and a third display object by the first user, assigning a third attribute parameter value to a fourth electronic device corresponding to the third display object, the third attribute parameter value being an attribute parameter value associated with the first attribute parameter value, and the third display object being displayed on the second interface.

[0013] In this way, the first electronic device keeps displaying the first shortcut control object in different interfaces, so that after the interface switching, the first electronic device can also realize the shortcut control of the other interface corresponding device through the first shortcut control object.

[0014] According to the first aspect or any one of the implementations of the first aspect, the method further includes: in response to a fifth operation of the first user on the first shortcut control object, displaying an editing window; and in response to a sixth operation of the first user in the editing window, editing the first attribute parameter value.

[0015] According to the first aspect or any one of the implementations of the first aspect, the first shortcut control object includes first shortcut attribute information, the first shortcut attribute information includes the first attribute parameter value and a first shortcut control attribute corresponding to the first attribute parameter value; and the method further includes: in response to a seventh operation of the first user in the editing window, editing the first shortcut control attribute.

[0016] In this way, the user can flexibly edit the attribute parameter value and / or the shortcut control attribute of the shortcut control object according to the requirement, so as to meet the flexible setting requirement.

[0017] According to the first aspect or any one of the implementations of the first aspect, the first shortcut control object is displayed in a running state, and the method further includes: in response to an eighth operation of the first user on the first shortcut control object, displaying the first shortcut control object in a stop running state; and in response to a ninth operation of the first user on the first shortcut control object and the second display object, instructing the third electronic device to stop running.

[0018] In this way, the user can quickly trigger the closing of the electronic device through the shortcut control object by a simple gesture operation.

[0019] According to the first aspect or any one of the implementations of the first aspect, the first shortcut control object is used to assign the other electronic device with the attribute parameter value associated with the first attribute parameter value of the second electronic device, and is also used to assign the other electronic device with other attribute parameter values associated with the attribute parameter values other than the first attribute parameter value of the second electronic device.

[0020] That is, in the attribute extraction process, the first electronic device can extract one or more attribute parameter values of the second electronic device. Then, the first shortcut control object can include other attribute parameter values in addition to the first shortcut attribute parameter value. Then, the first electronic device can realize the configuration of multiple attribute parameter values of the third electronic device through the first shortcut control object.

[0021] According to a first aspect, or any possible implementation mode of the first aspect, the method further includes: in response to the tenth operation of the first user on the first shortcut control object, displaying at least two second shortcut control objects corresponding to the first shortcut control object, the at least two second shortcut control objects respectively corresponding to different attribute parameter values of the second electronic device.

[0022] In this way, the first electronic device can split the shortcut control bubble according to the user operation, and meet the flexible configuration requirement of the user for different shortcut control attributes.

[0023] According to the first aspect, or any possible implementation mode of the first aspect, the method further includes: in response to the eleventh operation of the first user on the fourth display object, displaying a third shortcut control object, the fourth display object corresponding to a fifth electronic device, and the third shortcut control object being used to assign an attribute parameter value associated with a fourth attribute parameter value of the fifth electronic device to other electronic devices except the fifth electronic device.

[0024] According to the first aspect, or any possible implementation mode of the first aspect, the method further includes: maintaining the display of the first shortcut control object. Alternatively, the display of the first shortcut control object is cancelled.

[0025] In this way, the user can create one or more shortcut control objects according to the requirement, and meet the more attribute parameter value configuration requirement of the user.

[0026] According to the first aspect, or any possible implementation mode of the first aspect, in response to the first operation of the first user on the first display object, displaying the first shortcut control object includes: according to the operation type of the first operation, displaying the first shortcut control object in a first style, the first style indicating that setting the attribute parameter value of the third electronic device includes the second attribute parameter value. Alternatively, displaying the first shortcut control object in a second style, the second style indicating that the third electronic device runs according to the second attribute parameter value.

[0027] Optionally, the operation type is, for example, a double-finger press-up operation, a single-finger press-up operation, etc. The style of the first shortcut control object includes, for example, color, shape, size, etc.

[0028] In this way, the user can indicate the display of the first shortcut control object in different styles through flexible operation, and meet the flexible use requirement of the user.

[0029] According to the first aspect, or any possible implementation mode of the first aspect, the method further includes: in response to the twelfth operation of the first user on the first shortcut control object, sending first information to a sixth electronic device, the first information carrying the first shortcut control object, the first information indicating that the sixth electronic device displays the first shortcut control object, and the sixth electronic device being associated with a second user.

[0030] In this way, the user can realize quick sharing of the shortcut control object through simple operation, so as to facilitate other users to use the shortcut control object for quick control of the device.

[0031] According to the first aspect or any one of the implementations of the first aspect, the method further includes: in response to the thirteenth operation of the first user on the first shortcut control object, canceling display of the first shortcut control object.

[0032] In this way, the user can instruct the first electronic device to display or cancel display of the shortcut control object according to actual use demand, so as to meet the user's requirement for quick control of other devices, while avoiding that long-time display of the shortcut control object affects display of other content of the interface.

[0033] According to the first aspect or any one of the implementations of the first aspect, the first display object or the second display object is one or more of: a device card, a scene card, a space card, and a service card.

[0034] According to the first aspect or any one of the implementations of the first aspect, the second electronic device and the third electronic device have matching device attributes.

[0035] According to the first aspect or any one of the implementations of the first aspect, the second electronic device and the third electronic device belong to the same category.

[0036] In this way, the multiple electronic devices with matching device attributes can realize quick configuration of attribute parameter values of each other. In addition, quick configuration of attributes between devices of the same category is convenient for the user to understand and reduces the difficulty for the user to learn.

[0037] According to the first aspect or any one of the implementations of the first aspect, in response to the second operation of the first user on the first shortcut control object and the second display object, the second display object is assigned a second attribute parameter value of the corresponding third electronic device, including: in response to the second operation, obtaining device capability information of the third electronic device corresponding to the second display object. The device capability information indicates a second attribute parameter that matches the first shortcut control attribute indicated by the first shortcut control object in the first attribute parameter. According to the first attribute parameter value indicated by the first shortcut control object, a second attribute parameter value of the second attribute parameter is generated, and the third electronic device is assigned the second attribute parameter value.

[0038] In this way, through matching of the device capability information, the first electronic device can select one or more attribute parameter values associated with the first attribute parameter value to configure other electronic devices, so as to realize more flexible configuration of attribute parameter values.

[0039] According to the first aspect, or any possible implementation mode of the first aspect, in response to the first operation of the first user on the first display object, the first shortcut control object is displayed, including: in response to the first operation, a first attribute parameter value of a second electronic device corresponding to the first display object is acquired. According to the mapping table, a first shortcut control attribute included in the first shortcut control object and the first attribute parameter value are acquired. The first shortcut control object is displayed.

[0040] In this way, the first electronic device can acquire the attribute parameter value associated with the current extracted attribute parameter value according to the preconfigured mapping table, so as to display the first shortcut control object, thereby facilitating subsequent rapid setting of the attribute parameter value of the other device through the first shortcut control object.

[0041] According to the first aspect, or any possible implementation mode of the first aspect, the mapping table corresponds to a category to which the second electronic device belongs, the mapping table includes a second shortcut control attribute included in the category to which the second electronic device belongs, each second shortcut control attribute in the mapping table corresponds to at least one third attribute parameter, and the second shortcut control attribute includes the first shortcut control attribute.

[0042] In this way, the mapping table corresponding to the electronic device of different categories can be preconfigured, so that subsequent rapid control of the electronic device of each category can be realized through the mapping table.

[0043] According to the first aspect, or any possible implementation mode of the first aspect, before acquiring the first shortcut control attribute included in the first shortcut control object and the first attribute parameter value according to the mapping table, the method further includes: downloading the mapping table from a server. Alternatively, the mapping table saved locally is acquired.

[0044] In this way, the first electronic device can select to save the mapping table locally or in the cloud.

[0045] According to a second aspect, a first electronic device is provided. The first electronic device includes a processor, a memory and a display screen, the memory and the display screen are coupled to the processor, the memory is configured to store computer program code, the computer program code includes computer instructions, when the processor reads the computer instructions from the memory, the first electronic device is caused to perform: in response to a first operation of a first user on a first display object, a first shortcut control object is displayed, the first display object corresponds to a second electronic device, and the first shortcut control object is used to assign an attribute parameter value associated with a first attribute parameter value of the second electronic device to other electronic devices except the second electronic device. In response to a second operation of the first user on the first shortcut control object and a second display object, a second attribute parameter value of a third electronic device corresponding to the second display object is assigned, and the second attribute parameter value is associated with the first attribute parameter value.

[0046] According to a second aspect, the second display object is assigned a third electronic device corresponding to a second attribute parameter value, including: setting the attribute parameter value of the third electronic device to include the second attribute parameter value. Alternatively, instructing the third electronic device to run according to the second attribute parameter value.

[0047] According to the second aspect, or any one of the implementation manners of the second aspect, the first display object is displayed on the first interface, and when the processor reads the computer instructions from the memory, the first electronic device further performs: in response to a third operation of the first user, switching to display a second interface, and the second interface displays a first shortcut control object.

[0048] According to the second aspect, or any one of the implementation manners of the second aspect, when the processor reads the computer instructions from the memory, the first electronic device further performs: in response to a fourth operation of the first user on the first shortcut control object and a third display object, assigning a third attribute parameter value to the third display object corresponding to a fourth electronic device, the third attribute parameter value being an attribute parameter value associated with the first attribute parameter value, and the third display object being displayed on the second interface.

[0049] According to the second aspect, or any one of the implementation manners of the second aspect, when the processor reads the computer instructions from the memory, the first electronic device further performs: in response to a fifth operation of the first user on the first shortcut control object, displaying an editing window. In response to a sixth operation of the first user in the editing window, editing the first attribute parameter value.

[0050] According to the second aspect, or any one of the implementation manners of the second aspect, the first shortcut control object includes first shortcut attribute information, and the first shortcut attribute information includes the first attribute parameter value and a first shortcut control attribute corresponding to the first attribute parameter value; when the processor reads the computer instructions from the memory, the first electronic device further performs: in response to a seventh operation of the first user in the editing window, editing the first shortcut control attribute.

[0051] According to the second aspect, or any one of the implementation manners of the second aspect, the first shortcut control object is displayed in a running state, and when the processor reads the computer instructions from the memory, the first electronic device further performs: in response to an eighth operation of the first user on the first shortcut control object, displaying the first shortcut control object in a stopped running state. In response to a ninth operation of the first user on the first shortcut control object and a second display object, instructing the third electronic device to stop running.

[0052] According to a second aspect, or any possible implementation mode of the second aspect, the first shortcut control object is further configured to assign other attribute parameter values to other electronic devices, in addition to the second electronic device, when the first shortcut control object is configured to assign the attribute parameter values associated with the first attribute parameter value of the second electronic device to the other electronic devices, the other attribute parameter values being associated with attribute parameter values other than the first attribute parameter value of the second electronic device.

[0053] According to the second aspect, or any possible implementation mode of the second aspect, when the processor reads the computer instructions from the memory, the first electronic device is further caused to: display at least two second shortcut control objects corresponding to the first shortcut control object in response to the tenth operation of the first user on the first shortcut control object, the at least two second shortcut control objects respectively corresponding to different attribute parameter values of the second electronic device.

[0054] According to the second aspect, or any possible implementation mode of the second aspect, when the processor reads the computer instructions from the memory, the first electronic device is further caused to: display a third shortcut control object in response to an eleventh operation of the first user on a fourth display object, the fourth display object corresponding to a fifth electronic device, the third shortcut control object being configured to assign attribute parameter values associated with a fourth attribute parameter value of the fifth electronic device to other electronic devices, in addition to the fifth electronic device.

[0055] According to the second aspect, or any possible implementation mode of the second aspect, when the processor reads the computer instructions from the memory, the first electronic device is further caused to: maintain display of the first shortcut control object. Alternatively, the first shortcut control object is removed from display.

[0056] According to the second aspect, or any possible implementation mode of the second aspect, displaying the first shortcut control object in response to the first operation of the first user on the first display object comprises: displaying the first shortcut control object in a first style according to the operation type of the first operation, the first style indicating that setting the attribute parameter values of the third electronic device includes the second attribute parameter value. Alternatively, the first shortcut control object is displayed in a second style, the second style indicating that the third electronic device operates according to the second attribute parameter value.

[0057] According to the second aspect, or any possible implementation mode of the second aspect, when the processor reads the computer instructions from the memory, the first electronic device is further caused to: send first information to a sixth electronic device in response to a twelfth operation of the first user on the first shortcut control object, the first information carrying the first shortcut control object, the first information instructing the sixth electronic device to display the first shortcut control object, the sixth electronic device being associated with a second user.

[0058] According to a second aspect, or any possible implementation mode of the second aspect, when the processor reads the computer instructions from the memory, the first electronic device further performs: in response to a thirteenth operation of the first user on the first shortcut control object, canceling displaying the first shortcut control object.

[0059] According to the second aspect, or any possible implementation mode of the second aspect, the first display object or the second display object is one or more of: a device card, a scene card, a space card, and a service card.

[0060] According to the second aspect, or any possible implementation mode of the second aspect, the device attribute of the second electronic device and the third electronic device is matched.

[0061] According to the second aspect, or any possible implementation mode of the second aspect, the second electronic device and the third electronic device belong to the same category.

[0062] According to the second aspect, or any possible implementation mode of the second aspect, the response to the second operation of the first user on the first shortcut control object and the second display object, and the assignment of the second attribute parameter value of the corresponding third electronic device to the second display object, comprises: in response to the second operation, obtaining the device capability information of the third electronic device corresponding to the second display object. Obtaining the second attribute parameter matched with the first shortcut control attribute indicated by the first shortcut control object in the first attribute parameter indicated by the device capability information. Generating the second attribute parameter value of the second attribute parameter according to the first attribute parameter value indicated by the first shortcut control object, and assigning the second attribute parameter value to the third electronic device.

[0063] According to the second aspect, or any possible implementation mode of the second aspect, the response to the first operation of the first user on the first display object, and the display of the first shortcut control object, comprises: in response to the first operation, obtaining the first attribute parameter value of the second electronic device corresponding to the first display object. According to the mapping table, obtaining the first shortcut control attribute and the first attribute parameter value included in the first shortcut control object. Displaying the first shortcut control object.

[0064] According to the second aspect, or any possible implementation mode of the second aspect, the mapping table corresponds to the category to which the second electronic device belongs, the mapping table includes the second shortcut control attribute included in the category to which the second electronic device belongs, and each second shortcut control attribute in the mapping table corresponds to at least one third attribute parameter; the second shortcut control attribute includes the first shortcut control attribute.

[0065] According to a second aspect, or any possible implementation mode of the second aspect, when the processor reads the computer instructions from the memory, the first electronic device further performs: downloading the mapping table from a server. Alternatively, the mapping table is obtained from a local storage.

[0066] According to a third aspect, an electronic device is provided. The electronic device has a function of implementing the device control method according to the first aspect and any possible implementation mode of the first aspect. The function can be implemented by hardware, or by executing corresponding software by hardware. The hardware or software includes one or more modules corresponding to the above functions.

[0067] According to a fourth aspect, a computer readable storage medium is provided. The computer readable storage medium stores a computer program (also referred to as instructions or code). When the computer program is executed by an electronic device, the electronic device performs the method according to the first aspect or any possible implementation mode of the first aspect.

[0068] According to a fifth aspect, a computer program product is provided. When the computer program product is run on an electronic device, the electronic device performs the method according to the first aspect or any possible implementation mode of the first aspect.

[0069] According to a sixth aspect, a circuit system is provided. The circuit system includes a processing circuit configured to perform the method according to the first aspect or any possible implementation mode of the first aspect.

[0070] According to a seventh aspect, a chip system is provided. The chip system includes at least one processor and at least one interface circuit. The at least one interface circuit is configured to perform a transceiving function and send instructions to the at least one processor. When the at least one processor executes the instructions, the at least one processor performs the method according to the first aspect or any possible implementation mode of the first aspect.

[0071] The technical effects of the foregoing aspects can be referred to each other, which will not be repeated here. BRIEF DESCRIPTION OF DRAWINGS

[0072] FIG. 1 is a schematic diagram of a scenario of controlling a device by a device card according to an embodiment of the present application;

[0073] FIG. 2 is a schematic diagram of a scenario of controlling a device by a scenario card according to an embodiment of the present application;

[0074] FIG. 3 is a schematic diagram of a scenario of controlling a device by a space card according to an embodiment of the present application;

[0075] FIG. 4 is a schematic diagram of a scenario of controlling a device by a service card according to an embodiment of the present application;

[0076] FIG. 5 is a schematic diagram of a communication system to which a device control method according to an embodiment of the present application is applied.

[0077] FIG. 6 is a schematic diagram of a hardware structure of a first electronic device according to an embodiment of the present application;

[0078] FIG. 7 is a schematic diagram of a hardware structure of a first server according to an embodiment of the present application;

[0079] FIG. 8 is a schematic diagram of a scenario of generating a shortcut control bubble according to an embodiment of the present application;

[0080] FIG. 9 is a schematic diagram of a scenario of configuring a property of a device card according to an embodiment of the present application;

[0081] FIG. 10 is a schematic diagram of a scenario of configuring a property of a space card according to an embodiment of the present application;

[0082] FIG. 11 is a schematic diagram of a scenario of configuring a property of a service card according to an embodiment of the present application;

[0083] FIG. 12 is a schematic diagram of a device control method according to an embodiment of the present application;

[0084] FIG. 13 is a schematic diagram of a scenario of canceling display of a shortcut control bubble according to an embodiment of the present application;

[0085] FIG. 14 is a schematic diagram of a scenario of editing a shortcut control bubble according to an embodiment of the present application;

[0086] FIG. 15 is a schematic diagram of a scenario of switching a bubble property of a shortcut control bubble according to an embodiment of the present application;

[0087] FIG. 16 is a schematic diagram of a scenario of quickly turning off a device through a shortcut control bubble according to an embodiment of the present application;

[0088] FIG. 17 is a schematic diagram of a scenario of displaying multiple bubbles according to an embodiment of the present application;

[0089] FIG. 18 is a schematic diagram of a scenario of displaying multiple bubbles according to an embodiment of the present application;

[0090] FIG. 19 is a schematic diagram of a device control method according to an embodiment of the present application;

[0091] FIG. 20 is a schematic diagram of a structure of a first electronic device according to an embodiment of the present application. DETAILED DESCRIPTION

[0092] The technical solutions in the embodiments of the present application will be described below with reference to the drawings in the embodiments of the present application. In the description of the embodiments of the present application, the terms used in the following embodiments are only for the purpose of describing the specific embodiments and are not intended to be limiting on the present application. As used in the specification and the appended claims of the present application, the singular forms “a,” “an,” and “the” are intended to include the plural forms as well, unless the context clearly indicates otherwise. It will also be understood that “at least one” and “one or more” as used in the embodiments herein indicates one or two or more (including two).

[0093] In the present specification, the reference to “one embodiment” or “some embodiments” etc. means that a particular feature, structure, or characteristic described in connection with the embodiment is included in at least one embodiment of the present application. Thus, the appearances of the phrases “in one embodiment”, “in some embodiments”, “in other embodiments”, “in additional embodiments” etc. in various places in the specification are not necessarily all referring to the same embodiment, but can refer to one or more but not all embodiments, unless otherwise specifically stated. The terms “comprising”, “containing”, “having” and their derivatives mean “including but not limited to”, unless otherwise specifically stated. The term “connected” includes both direct and indirect connections unless otherwise indicated. “First”, “second”, etc. are used only for descriptive purposes and should not be construed as implying or suggesting relative importance or an indicated number of technical features.

[0094] In the embodiments of the present application, the words “exemplary” or “for example” are used to mean serving as an example, instance, or illustration. Any embodiment or design described in the embodiments of the present application as “exemplary” or “for example” should not be construed as being preferred or advantageous over other embodiments or designs. Rather, the use of “exemplary” or “for example” is intended to present concepts in a concrete manner.

[0095] In some embodiments, after a user account is logged in in response to a user operation, the control device can display one or more smart devices managed by the user account. In this way, the user can control multiple smart devices through one control device. Optionally, the smart devices are, for example, smart home devices, and the user account is, for example, a smart life application account.

[0096] Exemplarily, as shown in FIG. 1, the control device (such as a mobile phone) displays, in response to a user operation, a device interface of a smart life application, which displays device cards corresponding to a plurality of smart devices managed under a currently logged-in user account. Wherein, the control device can control the corresponding smart device in response to a user operation on a control displayed on the device card. Alternatively, the control device can display, in response to a user operation on the device card, a device detail page of the smart device corresponding to the device card, on which a more abundant control entry of the smart device can be provided for the user.

[0097] However, if the user needs to control a plurality of smart devices, the user needs to separately operate the device cards corresponding to the plurality of smart devices, which is tedious and affects the user experience.

[0098] In some examples, the control device can configure a scene according to a user operation. In this way, in response to an event trigger or a timing trigger, the plurality of smart devices included in the scene can be directly controlled, thereby improving the control efficiency of the plurality of smart devices. For example, as shown in FIG. 2, the control device configures, in response to a user operation, a home-coming scene, which includes detecting that the user is coming home, triggering the smart lights, air conditioner, and smart sound in the home to be started, and running according to the corresponding parameters. In this way, after triggering the home-coming scene, the automatic control of the three smart devices included in the home-coming scene can be directly implemented.

[0099] However, the scene configuration process is relatively complex, the user needs to configure the attribute parameter values of each smart home device in the scene one by one, and arrange the execution order of each smart home device in the scene, which is difficult to configure. Moreover, only the plurality of smart devices in the scene can be quickly controlled, and the other smart devices not configured in the scene still need to be controlled one by one by the user.

[0100] In some examples, according to the function, belonging position, and other information of the smart device, a corresponding service can also be generated, thereby realizing the quick control of the plurality of smart devices through the service.

[0101] Exemplarily, as shown in FIG. 3, the control device displays, in response to a user operation, a space interface of a smart life application, which displays cards of different rooms. Wherein, at least one smart device is installed in each room, and a control for controlling the smart device in the room is displayed on the room card. For example, in response to a user operation on the full-on control of the lights displayed on the living room card, the control device can instruct the smart lights in the living room to be turned on.

[0102] Exemplarily, as shown in FIG. 4, in response to a user operation, the control device displays an I am home interface of the smart life application, and a card of a different service is displayed on the interface. The different service corresponds to a smart device in the home that is configured with a corresponding function. For example, in response to a user operation on a light on all control, the control device can instruct the smart lights in the home to turn on all.

[0103] However, the above solution relies on the capability of abstract services, for example, only two intents of light on all or light off all can be implemented in a lighting system, which cannot meet the user's demand for more flexible control of smart devices.

[0104] Therefore, the present application provides a device control method, which can automatically generate a shortcut attribute setting entry corresponding to a smart device that has completed configuration, so that the attribute setting and control of a single or multiple devices can be quickly completed through the entry, and the user operation is simplified.

[0105] FIG. 5 is a schematic diagram of a communication system to which the device control method provided by the present application is applied. As shown in FIG. 5, the communication system includes a first electronic device 100, a second electronic device 200, a first server 300, and a second server 400.

[0106] Optionally, the first electronic device 100 can be a control device for controlling a terminal device of the second electronic device 200. For example, the first electronic device 100 can be a terminal device configured with a display function, such as a mobile phone, a tablet computer, a notebook computer, an ultra-mobile personal computer (UMPC), a netbook, a personal digital assistant (PDA), a wearable device, an artificial intelligence (AI) device, and the like. The operating system installed on the first electronic device 100 includes but is not limited to or other operating systems. The present application does not limit the specific type of the first electronic device 100 or the operating system installed thereon.

[0107] Optionally, the second electronic device 200 can be a terminal device, such as a smart home device, a mobile phone, a tablet computer, a notebook computer, a netbook, a PDA, a wearable device, an AI device, and the like. The smart home device includes, for example, an audio and video device (such as a smart screen, a sound box, and the like), a lighting system device (such as a table lamp, an electric lamp, and the like), an environmental control device (such as an air purifier, a sweeping robot, and the like), a security system device (such as a camera, a smart door lock, and the like), a kitchen appliance device (such as an oven, a dishwasher, and the like), a smart sensor, a smart socket, and the like.

[0108] The operating system installed on the second electronic device 200 includes but is not limited to or other operating systems. The second electronic device 200 can also not be installed with an operating system. The present application does not limit the specific type of the second electronic device 200, whether or not the operating system is installed, and the type of the operating system when the operating system is installed.

[0109] Optionally, the first server 300 or the second server 400 can be a cloud server or a network server, or other devices or servers with computing functions. The first server 300 or the second server 400 can be a single server, or a server cluster composed of multiple servers, or a cloud computing service center.

[0110] In some embodiments, the first electronic device 100 logs in a first application (for example, a smart life application), and acquires the second electronic device 200 belonging to the same family. The first electronic device 100 can control the second electronic device 200 through the first application. Alternatively, the first electronic device 100 can also switch to other families in response to the user's operation in the first application, thereby controlling the second electronic device 200 in multiple families.

[0111] In some embodiments, the first server 300 is a content delivery network (CDN) server, for example. For example, the first server 300 can be a smart home server for managing smart home devices. In some embodiments, the second server 400 is a device server, for example, for issuing control commands to the second electronic device 200.

[0112] For example, the first electronic device 100 is a control device, for example. After logging in the first application, the first electronic device 100 sends a control command to the first server 300 in response to the user's operation of indicating to control the second electronic device 200. Correspondingly, the first server 300 forwards the control command to the second server 400 after receiving the control command, and then the second server 400 forwards the control command to the second electronic device 200 to trigger the second electronic device 200 to execute the control command.

[0113] Optionally, the first server 300 and the second server 400 can also be a single server, which can be used to realize the functions of the first server 300 and the second server 400.

[0114] In some embodiments, the operating system is, for example, a smart home system, and the second electronic device 200 is a smart home device. Alternatively, the operating system is a smart office system, and the second electronic device 200 is a smart office device. Alternatively, the communication system can also be a smart campus communication system or other communication system, and the embodiments of the present application do not limit the same. In the following, the operating system is taken as an example of a smart home system, and the second electronic device 200 is taken as an example of a smart home device, and the device control method provided by the embodiments of the present application is described in detail.

[0115] Optionally, the first electronic device 100 and the second electronic device 200 in the embodiments of the present application can be implemented by different devices, and the different devices can have the same, similar or certain different hardware structures, such as the hardware structure shown in FIG. 6.

[0116] For example, taking the first electronic device 100 having the hardware structure as shown in FIG. 6 as an example, the hardware structure shown in FIG. 6 is described.

[0117] As shown in FIG. 6, the first electronic device 100 can include a processor 610, an external memory interface 620, an internal memory 621, a universal serial bus (USB) interface 630, a charge management module 640, a power management module 641, a battery 642, an antenna 1, an antenna 2, a mobile communication module 650, a wireless communication module 660, an audio module 670, a sensor module 680, a key 690, a motor 691, an indicator 692, a camera 693, a display screen 694, and a subscriber identification module (SIM) card interface 695, etc.

[0118] It can be understood that the structure shown in the embodiments of the present application does not constitute a specific limitation on the first electronic device 100. In other embodiments of the present application, the first electronic device 100 can include more or fewer components than the illustration, or combine certain components, or split certain components, or different arrangement of components. The illustrated components can be implemented in hardware, software or a combination of software and hardware.

[0119] The processor 610 can include one or more processing units, for example: the processor 610 can include an application processor (AP), a modem processor, a graphics processing unit (GPU), an image signal processor (ISP), a controller, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU), etc. Among them, different processing units can be independent devices, or can be integrated in one or more processors.

[0120] The controller can generate operation control signals according to instruction operation codes and timing signals, and complete the control of fetching and executing instructions.

[0121] The processor 610 can also be provided with a memory for storing instructions and data. In some embodiments, the memory in the processor 610 is a cache memory. The memory can save instructions or data that the processor 610 has just used or repeatedly uses. If the processor 610 needs to use the instructions or data again, it can directly call from the memory. Avoiding repeated access, reducing the waiting time of the processor 610, thus improving the efficiency of the system.

[0122] In some embodiments, the processor 610 can include one or more interfaces. The interface can include an inter-integrated circuit (I2C) interface, an inter-integrated circuit sound (I2S) interface, a pulse code modulation (PCM) interface, a universal asynchronous receiver / transmitter (UART) interface, a mobile industry processor interface (MIPI), a general-purpose input / output (GPIO) interface, a subscriber identity module (SIM) interface, and / or a universal serial bus (USB) interface, etc.

[0123] The I2C interface is a bidirectional synchronous serial bus, including a serial data line (SDA) and a serial clock line (SCL). In some embodiments, the processor 610 can include multiple sets of I2C buses. The processor 610 can be coupled to a touch sensor, a charger, a flash, a camera 693, etc. through different I2C bus interfaces respectively. For example, the processor 610 can be coupled to a touch sensor through an I2C interface, so that the processor 610 and the touch sensor communicate through the I2C bus interface, and realize the touch function of the electronic device 100.

[0124] The MIPI interface can be used to connect the processor 610 and peripheral devices such as the display 694 and the camera 693. The MIPI interface includes a camera serial interface (CSI), a display serial interface (DSI), etc. In some embodiments, the processor 610 and the camera 693 communicate through the CSI interface, realizing the shooting function of the first electronic device 100. The processor 610 and the display 694 communicate through the DSI interface, realizing the display function of the first electronic device 100.

[0125] The USB interface 630 is an interface conforming to the USB standard specification. The USB interface 630 can be used to connect a charger to charge the first electronic device 100, or to transmit data between the first electronic device 100 and a peripheral device.

[0126] It can be understood that the interface connection relationship between the modules shown in the embodiments of the present application is only illustrative, and does not constitute a structural limitation of the first electronic device 100. In some other embodiments of the present application, the first electronic device 100 can also use different interface connection modes or combinations of multiple interface connection modes in the above embodiments.

[0127] The charging management module 640 is used to receive charging input from a charger. The charger can be a wireless charger or a wired charger. In some wired charging embodiments, the charging management module 640 can receive charging input from a wired charger through the USB interface 630. In some wireless charging embodiments, the charging management module 640 can receive wireless charging input through the wireless charging coil of the first electronic device 100. The charging management module 640 can charge the battery 642 while also supplying power to the electronic device through the power management module 641.

[0128] The power management module 641 is configured to connect the battery 642 and the charging management module 640 to the processor 610. The power management module 641 receives input from the battery 642 and / or the charging management module 640 to power the processor 610, the internal memory 621, the display screen 694, the camera 693, the wireless communication module 660, and the like. The power management module 641 can also be configured to monitor parameters such as battery capacity, battery cycle count, battery health status (leakage, impedance), and the like. In some embodiments, the power management module 641 can also be disposed in the processor 610. In some embodiments, the power management module 641 and the charging management module 640 can also be disposed in the same device.

[0129] The wireless communication function of the first electronic device 100 can be implemented by the antenna 1, the antenna 2, the mobile communication module 650, the wireless communication module 660, the modem processor, and the baseband processor, and the like.

[0130] The mobile communication module 650 can provide a solution for wireless communication including 2G / 3G / 4G / 5G, and the like, applied to the first electronic device 100. The mobile communication module 650 can include at least one filter, a switch, a power amplifier, a low noise amplifier (LNA), and the like. The mobile communication module 650 can receive electromagnetic waves from the antenna 1, and perform filtering, amplification, and the like on the received electromagnetic waves, and transmit the processed signals to the modem processor for demodulation. The mobile communication module 650 can also amplify signals modulated by the modem processor, and radiate the signals as electromagnetic waves through the antenna 1. In some embodiments, at least part of the function modules of the mobile communication module 650 can be disposed in the processor 610. In some embodiments, at least part of the function modules of the mobile communication module 650 and at least part of the modules of the processor 610 can be disposed in the same device.

[0131] The wireless communication module 660 can provide a solution for wireless communication, including wireless local area networks (WLAN) (such as a wireless fidelity (Wi-Fi) network), Bluetooth (BT), a global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), infrared (IR) technology, and the like, which are applied to the first electronic device 100. The wireless communication module 660 can be one or more devices that integrate at least one communication processing module. The wireless communication module 660 receives electromagnetic waves via the antenna 2, frequency-modulates and filters the electromagnetic wave signals, and transmits the processed signals to the processor 610. The wireless communication module 660 can also receive signals to be transmitted from the processor 610, frequency-modulate them, amplify them, and radiate them as electromagnetic waves via the antenna 2.

[0132] The first electronic device 100 implements a display function through a GPU, a display screen 694, and an application processor, etc. The GPU is a microprocessor for image processing, connected to the display screen 694 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The processor 610 can include one or more GPUs that execute program instructions to generate or change display information.

[0133] The display screen 694 is used to display images, videos, and the like. The display screen 694 includes a display panel. The display panel can be manufactured using a liquid crystal display (LCD), such as an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode (AMOLED), a flexible light-emitting diode (FLED), a Mini-led, a Micro-led, a Micro-oled, a quantum dot light emitting diode (QLED), and the like. In some embodiments, the first electronic device 100 can include 1 or N display screens 694, N being a positive integer greater than 1.

[0134] The camera 693 is configured to capture still images or videos. An object projects an optical image through a lens to a photosensitive element. The photosensitive element can be a charge coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The photosensitive element converts the optical signal into an electrical signal, which is then transmitted 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 a standard image signal in a format such as RGB, YUV, or the like. In some embodiments, the first electronic device 100 can include one or N cameras 693, where N is a positive integer greater than one.

[0135] The external memory interface 620 can be configured to connect an external memory card, such as a micro SD card, to extend the storage capacity of the first electronic device 100. The external memory card communicates with the processor 610 via the external memory interface 620 to store data. For example, music, video, and the like can be stored in the external memory card.

[0136] The internal memory 621 can be configured to store computer-executable program code including instructions. The internal memory 621 can include a program storage area and a data storage area. The program storage area can store an operating system, at least one application program required for a function (such as a sound play function, an image play function, and the like), and the like. The data storage area can store data created during use of the first electronic device 100 (such as audio data, a phonebook, and the like), and the like. In addition, the internal memory 621 can include a high-speed random access memory, and can further include a non-volatile memory such as at least one of a magnetic disk storage device, a flash memory device, a universal flash storage (UFS), and the like. The processor 610 executes various function applications and data processing of the first electronic device 100 by running instructions stored in the internal memory 621 and / or instructions stored in a memory disposed in the processor.

[0137] The audio module 670 is configured to convert digital audio information into an analog audio signal output, and to convert an analog audio input into a digital audio signal. The audio module 670 can also be configured to encode and decode audio signals. In some embodiments, the audio module 670 can be disposed in the processor 610, or some of the functional modules of the audio module 670 can be disposed in the processor 610. The first electronic device 100 can play music, record audio, and the like via the audio module 670. The audio module 670 can include a speaker, a microphone, an earphone interface, an application processor, and the like to implement audio functions.

[0138] The sensor module 680 can include a pressure sensor, a gyro sensor, a barometric pressure sensor, a magnetic sensor, an acceleration sensor, a distance sensor, a proximity light sensor, a fingerprint sensor, a temperature sensor, a touch sensor, an ambient light sensor, a bone conduction sensor, etc.

[0139] The key 690 includes a power key, a volume key, etc. The key 690 can be a mechanical key. It can also be a touch key. The first electronic device 100 can receive a key input, and generate a key signal input related to user settings and function control of the first electronic device 100.

[0140] The motor 691 can generate a vibration prompt. The motor 691 can be used for incoming call vibration prompt, and can also be used for touch vibration feedback. The motor 691 can correspond to different vibration feedback effects for different touch operations on different regions of the display screen 694. Different application scenarios (for example, time prompt, received information, alarm, game, etc.) can also correspond to different vibration feedback effects.

[0141] The indicator 692 can be an indicator light, which can be used to indicate a charging state, a power change, and can also be used to indicate a message, a missed call, a notification, etc.

[0142] The SIM card interface 695 is used to connect a SIM card. The SIM card can be inserted into or pulled out of the SIM card interface 695 to realize contact and separation with the first electronic device 100. The first electronic device 100 can support one or N SIM card interfaces, and N is a positive integer greater than 1.

[0143] Optionally, the first server 300 and the second server 400 in the embodiments of the present application can be implemented by different devices, and the different devices can have the same, similar or certain different hardware structures, such as the hardware structure shown in FIG. 7.

[0144] For example, taking the first server 300 having the hardware structure as shown in FIG. 7 as an example, the hardware structure shown in FIG. 7 is described.

[0145] As shown in FIG. 7, the first server 300 in the embodiments of the present application can be implemented by different devices. For example, the first server 300 in the embodiments of the present application can be implemented by the communication device in FIG. 7. FIG. 7 shows a hardware structure schematic diagram of the first server 300 provided by the embodiments of the present application. The first server 300 includes at least one processor 701, a communication line 702, a memory 703, and at least one communication interface 704. The memory 703 can also be included in the processor 701.

[0146] The processor 701 can be a general central processing unit (CPU), a microprocessor, an application-specific integrated circuit (ASIC), or one or more integrated circuits used to control the execution of programs for the schemes of the present application.

[0147] The communication line 702 can include a path for transmitting information between the above-mentioned components.

[0148] The communication interface 704 is configured to communicate with other devices. In the embodiments of the present application, the communication interface can be a module, a circuit, a bus, an interface, a transceiver or other devices capable of realizing the communication function, and is configured to communicate with other devices. Optionally, when the communication interface is a transceiver, the transceiver can be a separately arranged transmitter, which is configured to send information to other devices. The transceiver can also be a separately arranged receiver, which is configured to receive information from other devices. The transceiver can also be a component integrating the functions of the transmitter and the receiver. The specific implementation of the transceiver is not limited in the embodiments of the present application.

[0149] The memory 703 can be a read-only memory (ROM) or other types of static storage devices that can store static information and instructions, a random access memory (RAM) or other types of dynamic storage devices that can store information and instructions, an electrically erasable programmable read-only memory (EEPROM), a compact disc read-only memory (CD-ROM) or other optical disk storage, a magnetic disk storage medium or other magnetic storage device, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer, but is not limited to this. The memory can exist independently, and is connected with the processor through the communication line 702. The memory can also be integrated with the processor.

[0150] The memory 703 is configured to store computer-executable instructions for implementing the schemes of the present application, and the processor 701 is configured to control the execution. The processor 701 is configured to execute the computer-executable instructions stored in the memory 703, so as to implement the device control method provided by the embodiments of the present application.

[0151] Optionally, the computer-executed instructions in the embodiments of the present application can also be referred to as application codes, instructions, computer programs or other names, and the embodiments of the present application do not make specific limitations thereto.

[0152] In a specific implementation, as an embodiment, the processor 701 can include one or more CPUs, such as CPU0 and CPU1 in FIG. 7.

[0153] In a specific implementation, as an embodiment, the first server 300 can include multiple processors, such as the processor 701 and the processor 705 in FIG. 7. Each of the processors can be a single-CPU processor or a multi-CPU processor. The processor herein can refer to one or more devices, circuits, and / or processing cores for processing data (such as computer program instructions).

[0154] The first server 300 described above can be a general-purpose device or a special-purpose device, and the embodiments of the present application do not limit the type of the first server 300. The first server 300 can be a device having a structure similar to that in FIG. 7.

[0155] Hereinafter, the device control method provided by the embodiments of the present application is described in detail with the first electronic device 100 as a control device and the second electronic device 200 as a smart home device as an example. The number of smart home devices is multiple.

[0156] In some embodiments, the control device sends a control command to the first server 300, and the control device instructs to control the smart home device. Correspondingly, after receiving the control command, the first server 300 forwards the control command to the corresponding smart home device through the second server 400 to realize the control of the smart home device. For simplicity of description, hereinafter, the first server 300 and the second server 400 are taken as one server as an example to introduce the interaction process between the first electronic device 100, the second electronic device 200, the first server 300, and the second server 400, and the function implementation process of the first server 300 and the second server 400. For example, the above smart home device control process can be that the control device forwards the control command to the smart home device to be controlled through the server to realize the control of the smart home device by the control device. Hereinafter, this will not be described again.

[0157] In some embodiments, different smart home devices can have different attributes to implement different functions. Optionally, the attributes of a smart home device can be used to describe the device functions, configurations, etc. of the smart home device. For example, the attributes of a smart light include brightness, color temperature, lighting mode, etc. to implement the lighting function. For another example, the attributes of a Bluetooth speaker include volume, audio playing mode, etc. to implement the audio playing function.

[0158] In some embodiments, the attributes of a smart home device can provide different functional experiences for users by setting different values of the attribute parameters. For example, a smart light can provide different lighting experiences for users by setting brightness values, color temperature values, lighting modes, etc. For another example, a Bluetooth speaker can provide different audio playing experiences for users by setting volume values, audio playing modes, etc.

[0159] In some embodiments, smart home devices of the same category are configured with the same or similar attributes. Wherein, one classification in the device category is used to represent a kind of consumer demand. For example, according to the category of smart home devices, smart home devices can be divided into kitchen appliances, audio-visual devices, lighting devices, etc.

[0160] In some examples, different smart home devices of the same category can be used to control the same attribute through the same or different attribute parameters. For example, desk lamps, spotlights, ceiling lamps, etc. of the lighting category all have brightness attributes, and for the adjustment of the brightness attribute, these devices can need to be implemented through different attribute parameters. For example, by adjusting the attribute parameters such as brightness values, brightness levels, etc. to adjust the brightness of the device. Wherein, the brightness level includes high brightness, medium brightness, low brightness, etc.

[0161] Optionally, in the database, the uniqueness of the record is ensured through the joint primary key. Wherein, the joint primary key can be implemented through the field substance identifier (SID) / compound record (CID). For example, different SID / CID can point to the same record.

[0162] Optionally, the joint primary key is combined to the attribute control scene of the smart home device, and the SID / CID of different attribute parameters can be used to control the same attribute of the smart home device. Then, by checking the attribute parameters SID / CID of the existing smart home devices of the same category, the attribute parameters SID / CID pointing to the same attribute are found, the attribute parameters are abstracted, and are divided into the same shortcut control attribute to obtain the mapping table corresponding to the current category of smart home devices. Each node in the mapping table corresponds to a shortcut control attribute, and the shortcut control attribute corresponds to at least one attribute parameter. It should be understood that the mapping table includes at least one shortcut control attribute.

[0163] Exemplarily, the attribute of the lighting device includes brightness. The brightness can be adjusted by any one of the attribute parameters: brightness / brightness, light / value, lightLevel / value. Then, the attribute parameters corresponding to the brightness attribute are abstracted to obtain the shortcut control attribute brightness, and the mapping table corresponding to the lighting device is established as shown in Table 1. The name field in the mapping table indicates the shortcut control attribute, for example, brightness, and the operation field indicates the attribute parameter SID / CID having a mapping relationship with the shortcut control attribute, for example, the above-mentioned multiple attribute parameters SID / CID for adjusting the brightness attribute. It should be understood that the lighting device can also correspond to more shortcut control attributes, and each shortcut control attribute can correspond to more or less attribute parameters SID / CID.

[0164] Table 1

[0165] Optionally, the above describes the establishment process of the mapping table by taking the attribute parameter abstraction of the attributes of the smart home devices of the same category as an example. It should be understood that smart home devices of different categories can also be configured with the same attributes. For example, a Bluetooth speaker can play audio, and a refrigerator can also play audio. The Bluetooth speaker is a video and audio device, and the refrigerator is a kitchen appliance, but both smart home devices of different categories have a volume adjustment attribute. Then, in the above attribute parameter abstraction process, the abstraction can also be performed on all attribute parameters or attribute parameters of other dimensions, and the embodiments of the present application do not limit the abstraction.

[0166] In some embodiments, in response to a user operation, the attribute of the smart home device is configured to obtain the corresponding attribute parameter value. The user operation can be a user operation directly on the smart home device, or a user operation of setting the attribute parameter value of the smart home device in a first application (for example, a smart life application, etc.).

[0167] Exemplarily, the control device starts the first application in response to a user operation, and displays at least one smart home device managed under a current account on an interface of the first application. For example, as shown in FIG. 1, the control device displays device cards corresponding to a plurality of smart home devices. In response to a user operation on a device card, the control device can display a device detail page. In this case, in response to a user attribute configuration operation on a device card or in response to a user attribute configuration operation on the device detail page, the control device can obtain an attribute parameter value of the smart home device set by the user. For example, in response to a user operation, the control device obtains attribute parameters of a smart lamp, including a brightness value, a color temperature value, and a lighting mode. It should be understood that in response to a user operation, the control device can also set attributes of a smart home device through multiple dimensions such as space, scene, and service. For example, refer to the related content about FIG. 2, FIG. 3, or FIG. 4 above, which will not be described here again.

[0168] Optionally, in response to the attribute configuration operation, the control device generates a corresponding control command and sends the control command to the corresponding smart home device through the server. For example, in the above example scenario, the control device sends a control command to the smart lamp through the server to instruct the smart lamp to operate according to the brightness value, the color temperature value, and the lighting mode indicated in the control command.

[0169] In some embodiments, the first application interface displayed by the control device includes a device object (for example, a device card) corresponding to at least one smart home device. In response to a preset operation of a user on the device object, the control device obtains a device attribute snapshot of the smart home device corresponding to the current device object, such as attribute parameter values of each attribute of the smart home device. Then, according to the attribute parameter values and a mapping table corresponding to the smart home device, the control device can obtain quick attribute configuration information corresponding to the smart home device, which includes a quick control attribute and an attribute value. Optionally, the control device generates a quick control object according to the quick attribute configuration information and displays the quick control object.

[0170] Optionally, the quick attribute control object is displayed in a suspended manner. Optionally, the quick control object is, for example, a quick attribute bubble. It should be understood that the quick control object can also be displayed in other forms, such as a suspended triangle, a preset character, and the like. Hereinafter, the attribute quick setting process is introduced by taking the quick attribute control object as an example of a quick control bubble.

[0171] In some examples, the server is configured with mapping tables corresponding to different categories of smart home devices. Alternatively, after detecting the preset operation of the user indicating to generate the shortcut control bubble, the control device can request the server to download a mapping table corresponding to the smart home device currently controlled by the preset operation, so as to obtain the corresponding shortcut attribute configuration information. Alternatively, the control device stores at least one mapping table corresponding to the smart home device currently controlled by the control device, so that the control device can directly generate the shortcut attribute configuration information locally after detecting the preset operation of the user indicating to generate the shortcut control bubble. Alternatively, after detecting the preset operation of the user indicating to generate the shortcut control bubble, the control device can send the attribute parameter value of the smart home device currently controlled by the preset operation to the server. Then, the server can generate the shortcut attribute configuration information corresponding to the smart home device according to the attribute parameter value and the maintained mapping table, and send the shortcut attribute configuration information to the control device.

[0172] Alternatively, the preset operation of the user indicating to generate the shortcut control bubble is, for example, an operation of sliding upward after the user performs a double-finger operation on the device object. It should be understood that the user can also indicate the control device to generate the shortcut control bubble corresponding to the smart home device through other operations. That is, the user can also extract the attribute parameter value of the smart home device through other operations.

[0173] Exemplarily, as shown in (a) of FIG. 8, the control device displays a device interface in the smart life application, and the device interface displays device cards corresponding to a plurality of smart home devices managed under the current account. In response to the operation of the user performing a double-finger press on the device card 81 and sliding upward along the direction indicated by the arrow 82, the control device obtains the current attribute parameter value of the lamp in the living room corresponding to the device card 81. For example, the attribute parameter value includes a light level / value indicating a brightness value of 50, a color / color indicating a color of red, and a mode / mode indicating a mode of mode 1. Then, the control device obtains the shortcut attribute configuration information according to the current attribute parameter value of the lamp in the living room and the mapping table corresponding to the lamp in the living room. For example, the shortcut attribute configuration information includes brightness of 50, color of red, and mode of mode 1, and it should be understood that brightness, color, and mode are shortcut control attributes indicated in the generated mapping table. Alternatively, the shortcut attribute configuration information can also include the current attribute parameter value of the current lamp in the living room, so as to facilitate the user to understand. The generation process of the mapping table is described in detail above. Then, as shown in (b) of FIG. 8, the control device displays a shortcut control bubble 83 corresponding to the device card 81, and the shortcut control bubble 83 corresponds to the obtained shortcut attribute configuration information.

[0174] In this way, the user can extract the attribute parameter value of the smart home device by a simple gesture operation, so as to facilitate subsequent attribute configuration of other smart home devices.

[0175] In some embodiments, in response to a preset operation of the user on the shortcut control bubble, attribute configuration of other smart home devices is completed according to the shortcut attribute configuration information corresponding to the shortcut control bubble. Optionally, the preset operation of the user on the shortcut control bubble includes, for example, an operation of dragging the shortcut control bubble to any object in the device card, the space card, the service card, or the scene card. It should be understood that the device card, the space card, the service card, and the scene card can also be implemented as other display effects. The present embodiments take card display as an example to introduce the attribute shortcut configuration process, and other display effects will not be exemplified one by one.

[0176] Optionally, at least one to-be-configured attribute exists in the attributes of the smart home device corresponding to the object on which the preset operation of the user on the shortcut control bubble acts, wherein the to-be-configured attribute can match the shortcut control attribute indicated by the shortcut attribute configuration information corresponding to the shortcut control bubble.

[0177] In some examples, the device card corresponds to one smart home device. In response to the operation of the user dragging the shortcut control bubble to the device card, the control device obtains the shortcut attribute configuration information corresponding to the shortcut control bubble and obtains the device capability information (for example, including attribute parameter SID / CID) of the smart home device corresponding to the device card. Then, the control device can realize fast control of the smart home device by matching the shortcut attribute configuration information and the device capability information.

[0178] Exemplarily, as shown in (a) of FIG. 9, the control device displays a device interface of the smart life application, on which a shortcut control bubble 83 generated by the scenario shown in FIG. 8 is displayed, and a device card 91 corresponding to the lamp of the master bedroom. As shown in the device card 91, the lamp of the master bedroom is currently in an off state. In this case, the control device detects an operation of the user dragging the shortcut control bubble 83 to the device card 91 in the direction indicated by the arrow 92, and determines that the user instructs to control the lamp of the master bedroom. Then, the control device acquires the shortcut attribute configuration information corresponding to the shortcut control bubble 83, for example, the shortcut attribute configuration information includes brightness of 50, color of red, and mode of mode 1. Moreover, the control device acquires the device capability information of the lamp of the master bedroom. According to the shortcut attribute configuration information and the device capability information of the lamp of the master bedroom, the control device determines that the capability of the lamp of the master bedroom that matches the shortcut control attribute indicated by the shortcut attribute configuration information includes the attribute configuration capability of the brightness, color, and lighting mode. Then, the control device can acquire the shortcut control attribute and the attribute value indicated by the shortcut attribute configuration information, and generate a corresponding control command, which is used to configure the attribute parameter value of the lamp of the master bedroom, so that the lamp of the master bedroom can obtain the shortcut control attribute and the attribute value indicated by the shortcut attribute configuration information after running according to the attribute parameter value. For example, the control command is used to instruct the lamp of the master bedroom to run according to the brightness of 50, red light, and mode 1. After that, the control device can forward the control command to the lamp of the master bedroom through the server, so as to realize the control of the lamp of the master bedroom. For example, as shown in (b) of FIG. 9, the device card 91 displayed by the control device indicates that the lamp of the master bedroom has been turned on.

[0179] In some examples, as described above, in response to the operation of the user dragging the shortcut control bubble to the display object, the control device can trigger the shortcut control of the smart home device corresponding to the display object, such as instructing the smart home device corresponding to the display object to run according to the attribute parameter value associated with the attribute value of the shortcut control bubble. Alternatively, in response to the operation of the user dragging the shortcut control bubble to the display object, the control device can also trigger the smart home device corresponding to the display object to set the relevant attribute parameter value. Subsequently, the control device instructs the smart home device corresponding to the display object to run according to the set attribute parameter value according to the operation of the user.

[0180] Optionally, in response to a user dragging a shortcut control bubble to a display object, the control device instructs the smart home device corresponding to the display object to operate according to the attribute parameter values ​​associated with the attribute values ​​of the shortcut control bubble, while simultaneously modifying the attribute parameter values ​​of the smart home device stored locally on the display object. Alternatively, it may not be necessary to modify the attribute parameter values ​​of the smart home device stored locally on the display object; that is, the current shortcut control process via the shortcut control bubble is a temporary control process and will not affect the locally stored attribute parameter values. Optionally, the control device can display shortcut control bubbles of different styles (such as color, shape, etc.) to indicate to the user whether the current shortcut control bubble is for temporary control.

[0181] This increases the flexibility of configuring attribute parameter values.

[0182] Optionally, during the matching process of the aforementioned quick control attribute information and device capability information, the control device can determine the matching result based on the obtained mapping table. For example, the control device matches the operation corresponding to the quick control attribute in the mapping table according to the quick control attribute indicated by the quick control attribute information. Then, the control device determines whether the smart home device corresponding to the device capability information can execute the operation based on the device capability information, and determines the quick control attribute corresponding to the operation that the smart home device can execute as the successfully matched quick control attribute. For example, in the scenario shown in Figure 8, the living room light obtains a brightness value of 50 through lightLevel / value. As another example, in the scenario shown in Figure 9, the master bedroom light obtains a brightness value of 50 through brightness / brightness. Although the two smart home devices use different operations, as shown in Table 1 above, these two operations correspond to the same quick control attribute, such as brightness. Therefore, the control device can determine that the quick control attribute brightness is successfully matched.

[0183] Optionally, based on the above matching process, the control device can also determine the operation used to implement the quick control attribute according to the mapping table to obtain the required control command, thereby triggering effective control of the smart home device through the control command. For example, the control command for controlling the master bedroom light includes brightness / brightness=50, to instruct the master bedroom light to start and operate at a brightness value of 50.

[0184] In this way, users can quickly trigger the attribute configuration of individual smart home devices through simple gesture operations and quick control bubbles, achieving convenient device control and simplifying user operation. Furthermore, it increases the fun of device control.

[0185] In some embodiments, the above is exemplified by the preset operation of generating a quick control bubble acting on the device card, and the process of extracting attribute parameter values, displaying a quick control bubble, and configuring related attribute parameter values is introduced. Alternatively, the preset operation of generating a quick control bubble can also act on scene cards, space cards, service cards, etc. For example, after detecting that the user performs a double-finger upward sliding operation on the scene card, the control device can obtain the attribute parameter values of at least one smart home device corresponding to the scene card, and display the corresponding quick control bubble. The quick control bubble can be used to quickly configure the attributes of other scene cards.

[0186] For example, after detecting that the user performs a double-finger upward sliding operation on the scene card, the control device can obtain the attribute parameter values of at least one smart home device corresponding to the scene card, and display the corresponding quick control bubble. Subsequently, in response to the user dragging the quick control bubble to other scene cards, device cards, space cards, or service cards, the control device can match the quick attribute information of the current quick control bubble with the device capability information of the smart home device corresponding to the corresponding card, and then assign the related attribute parameter values to the smart home device that matches successfully.

[0187] For another example, in an example scenario, there are multiple rooms in a hotel, multiple smart home devices are configured in the multiple rooms, and multiple scene cards are used to implement automatic control of the multiple smart home devices in different rooms. Then, after the user completes the attribute configuration of the multiple smart home devices included in the scene card corresponding to a room, the user can trigger the control device to display a quick control bubble corresponding to the scene card through a simple gesture operation. Subsequently, in response to the user dragging the quick control bubble to other scene cards, the electronic device can trigger quick configuration of the smart home devices corresponding to the other scene cards, thereby simplifying the attribute configuration process of the smart home devices in each scene card. For another example, for a home user who owns multiple houses, the parameter quick configuration in device cards, scene cards, space cards, and other types of cards can also be quickly completed in this way.

[0188] In this way, by more flexible extraction of attribute parameter values, the use requirements of users in more use scenarios can be met.

[0189] Optionally, in response to the operation of the user dragging the shortcut control bubble to the device card, the control device can first determine whether the smart home device corresponding to the device card and the smart home device corresponding to the shortcut control bubble are smart home devices of the same category. In the case that both are smart home devices of the same category, the control device performs the subsequent attribute matching operation, thereby improving the attribute matching efficiency. In the case that both are not smart home devices of the same category, the control device can display a prompt information to prompt the user that the shortcut attribute configuration (or the shortcut control cannot be achieved, etc.) cannot be performed.

[0190] Alternatively, the control device can also not necessarily determine the category of the smart home device corresponding to the device card, but directly perform the attribute matching operation.

[0191] Optionally, in the case that the shortcut control attribute configuration fails, the control device can display a prompt information to prompt the user that the shortcut control attribute configuration fails. Optionally, the control device can also display the failure reason.

[0192] Optionally, in the case that the shortcut control attribute configuration succeeds, the control device can also display a prompt information to prompt the user that the shortcut control attribute configuration succeeds.

[0193] In this way, the display of the prompt information increases the interactivity with the user.

[0194] Optionally, after the control device completes the shortcut control of other smart home devices, the display of the shortcut control bubble is restored. For example, as shown in (b) of FIG. 9, the control device restores the display of the shortcut control bubble 83 after sending the control command to the server (or after the operation of the user dragging the shortcut control bubble to the device card). Then, subsequently, the user can configure the attribute parameter value of other smart home devices through the shortcut control bubble 83 to achieve the shortcut control of other smart home devices.

[0195] In this way, the control device can achieve the individual control of multiple smart home devices through the display of the shortcut control bubble.

[0196] Optionally, in response to the operation of the user switching the display interface, the control device can maintain the display of the shortcut control bubble in different display interfaces. Optionally, the shortcut control bubble can be switched to be displayed in the device card display interface, the space card display interface, the service card display interface, the scene card display interface, etc. Optionally, the control device can be used to manage multiple families, and in response to the operation of the user indicating to switch the family, the control device can also maintain the display of the shortcut control bubble in different family display interfaces.

[0197] In this way, in the case of managing multiple families in the same account, the attribute parameter value configuration of the smart home devices in different families can also be simplified through the shortcut control bubble.

[0198] In some examples, the space card corresponds to one or more smart home devices installed in the current space. In response to the operation of the user dragging the shortcut control bubble to the space card, the control device acquires the shortcut attribute configuration information corresponding to the shortcut control bubble, and acquires the device capability information of the smart home devices corresponding to the space card (for example, including attribute parameters SID / CID). Then, the control device can realize the quick control of the smart home devices in the space that match successfully by matching the shortcut attribute configuration information and the device capability information.

[0199] Exemplarily, as shown in (a) of FIG. 10, the control device displays the device interface of the smart life application, and the device interface displays the shortcut control bubble 83 generated through the above-mentioned scenario shown in FIG. 8. In response to the operation of the user on the space control 101, the control device displays the space interface as shown in (b) of FIG. 10. In which, the space interface still displays the shortcut control bubble 83, and the space interface also displays different space cards. That is, the control device maintains the display of the shortcut control bubble on different interfaces of the first application. Then, as shown in (c) of FIG. 10, the control device detects the operation of the user dragging the shortcut control bubble 83 to the space card 103 in the direction shown by the arrow 102, and determines that the user indicates the smart home devices in the dining room for shortcut control. Then, the control device acquires the shortcut attribute configuration information corresponding to the shortcut control bubble 83, for example, the shortcut attribute configuration information includes brightness of 50, color of red, and mode of mode 1. And the control device acquires the device capability information of the smart home devices in the dining room. According to the shortcut attribute configuration information and the device capability information of the smart home devices in the dining room, the control device acquires at least one smart home device in the dining room that matches the shortcut control attribute indicated by the shortcut attribute configuration information. It should be understood that the matching success includes that the attribute of the smart home device matches at least one shortcut control attribute indicated by the shortcut attribute configuration information. For example, the control device acquires one or more smart home devices in the dining room that can perform at least one attribute configuration of brightness, color, and lighting mode. Then, the control device can acquire the shortcut control attribute and the attribute value indicated by the shortcut attribute configuration information, and generate a corresponding control command, which is used to configure the attribute parameter value of the one or more smart home devices in the dining room that match successfully, so that the one or more smart home devices can obtain the shortcut control attribute and the attribute value indicated by the shortcut attribute configuration information after running according to the attribute parameter value.

[0200] It should be understood that other implementations of the process of shortcut attribute configuration of smart home devices through space cards can refer to the process of shortcut attribute configuration of smart home devices through device cards described above, and will not be described here.

[0201] Therefore, the user can quickly trigger the attribute configuration of multiple smart home devices in the space and realize convenient device control and simplify user operation through simple gesture operation of the quick control bubble.

[0202] In some examples, the service card corresponds to one or more smart home devices in the smart home system (or described as the current family) having a service card indication of service capability. In response to the operation of the user dragging the quick control bubble to the service card, the control device obtains the quick attribute configuration information corresponding to the quick control bubble, and obtains the device capability information (for example, including attribute parameters SID / CID) of the smart home device corresponding to the service card. Then, the control device can realize quick control of the smart home device matched successfully in the smart home system by matching the quick attribute configuration information and the device capability information.

[0203] For example, as shown in (a) of FIG. 11, the control device displays a device interface of the smart life application, and the device interface displays the quick control bubble 83 generated through the above-mentioned scenario shown in FIG. 8. In response to the operation of the user on the my home control 111, the control device displays the my home interface as shown in (b) of FIG. 11. The my home interface still displays the quick control bubble 83, and the my home interface also displays the service cards corresponding to different services provided by the smart home system. As shown in (c) of FIG. 11, the control device detects the operation of the user dragging the quick control bubble 83 to the service card 113 in the direction indicated by the arrow 112, obtains the quick attribute configuration information corresponding to the quick control bubble 83, for example, the quick attribute configuration information includes brightness of 50, color of red, and mode of mode 1. And the control device can determine that the user indicates the quick control of all the lamps in the smart home system according to the support of the light full-on service and the light full-off service of the service card 113. Then, the control device obtains at least one lamp matched successfully with the quick control attribute indicated by the quick attribute configuration information among all the lamps in the smart home system according to the quick attribute configuration information and the device capability information of all the lamps in the smart home system. Then, the control device can obtain the quick control attribute and the attribute value indicated by the quick attribute configuration information, and generate a corresponding control command, which is used to configure the attribute parameter value of the matched lamp, so that the matched lamp can obtain the quick control attribute and the attribute value indicated by the quick attribute configuration information after running according to the attribute parameter value. At least one attribute of the at least one lamp matched successfully with the quick control attribute matches the quick control attribute.

[0204] It should be understood that other implementations of the process of quickly configuring the attributes of smart home devices through service cards can refer to the process of quickly configuring the attributes of smart home devices through device cards and space cards described above, and will not be repeated here.

[0205] In this way, users can quickly trigger the configuration of attributes for multiple smart home devices in the smart home system through simple gesture operations and quick control bubbles, achieving convenient device control and simplifying user operation. Furthermore, it increases the fun of device control.

[0206] In some embodiments, during the display of a quick control bubble, in response to user actions on the quick control bubble, the control device can also share the quick control bubble with other control devices. For example, two control devices may be logged into different smart home application accounts to manage their respective homes, and both homes may have the same smart home devices. After the first user completes the configuration of the smart home device's attribute parameters and generates the corresponding quick control bubble through control device 1, the second user can directly choose to share the quick control bubble, thus simplifying the attribute parameter configuration process for the second user. For example, if the first user's control device 1 establishes a connection with the second user's control device 2 (e.g., Bluetooth connection, WiFi connection), in response to the first user's action on the quick control bubble displayed on control device 1, control device 1 can send the quick control bubble to control device 2. Correspondingly, control device 2 can display the quick control bubble. In this way, the second user can quickly configure the attribute parameters of the smart home devices managed by control device 2 through the quick control bubble displayed on control device 2. Optionally, after the quick control bubble visually flies out of control device 1, it can also be displayed as another form of object on control device 2 to remind the user of control device 2 to complete the corresponding attribute configuration.

[0207] The above text introduces the process of attribute extraction and quick attribute configuration. The following text, in conjunction with the process shown in Figure 12, provides a detailed description of the interaction process of each module in the above attribute extraction and quick attribute configuration process.

[0208] Figure 12 is a schematic flowchart of a device control method provided in an embodiment of this application. It should be noted that this method is not limited to the specific order described in Figure 12 and below. It should be understood that in other embodiments, the order of some steps in this method can be interchanged according to actual needs, or some steps can be omitted or deleted. The method includes the following steps:

[0209] S1201, In response to the user's operation on card 1, the first application generates a shortcut control bubble corresponding to card 1.

[0210] Optionally, the card 1 is a device card displayed by a first application, for example, a first application homepage. The operation of the user on the card 1 includes, for example, a double-finger press and slide-up operation. The first application is an application for managing smart home devices, for example, a smart life application.

[0211] In some embodiments, in response to the operation of the user on the card 1, the first application obtains an attribute parameter value of a smart home device corresponding to the card 1. Further, the first application can also obtain a mapping table corresponding to the smart home device. Then, the first application obtains shortcut attribute configuration information including a shortcut control attribute and an attribute value according to the attribute parameter value and the mapping table. Then, the first application can display a shortcut control bubble corresponding to the card 1 according to the shortcut attribute configuration information.

[0212] For example, as shown in (a) of FIG. 8, the first application displays a plurality of device cards. In response to a double-finger press and slide-up operation of the user on a device card 81, the first application obtains an attribute parameter value of a lamp in a living room corresponding to the device card 81. Then, the first application sends a mapping table obtaining request to a server (for example, a smart home server), which carries, for example, a device identifier of the lamp in the living room. In response to the device identifier carried in the obtained mapping table obtaining request, the server can obtain a category corresponding to the device identifier, and further obtain a mapping table corresponding to the category. Then, the server sends the mapping table to the first application. The first application obtains shortcut attribute configuration information corresponding to the card 1 according to the mapping table and the attribute parameter value of the lamp in the living room, and displays a shortcut control bubble corresponding to the card 1.

[0213] Optionally, the shortcut control bubble is displayed in the interface of the first application.

[0214] S1202, the first application detects an operation of the user dragging the shortcut control bubble to the card 2.

[0215] Optionally, the card 2 is a device card, a space card, a service card, etc. It should be understood that the operation of triggering the attribute configuration of the card 2 by the shortcut control bubble can also include other operations in addition to the above-mentioned dragging operation. For example, the first application detects an operation of the user first clicking the shortcut control bubble, and then detects an operation of the user clicking the card 2, which can also be determined as detecting an operation of triggering the attribute configuration of the card 2 by the shortcut control bubble.

[0216] S1203, the first application queries a device capability information corresponding to the card 2 from a device profile management module.

[0217] Optionally, the device profile management module obtains, for example, locally, a device capability information of a smart home device corresponding to the card 2. Alternatively, the device profile management module requests a server to obtain a device capability information of a smart home device corresponding to the card 2.

[0218] Optionally, the device capability information includes, for example, information such as attributes supported by the smart home device, attribute parameters SID / CID, and the like.

[0219] In some embodiments, the card 2 is a device card, and the device profile management module obtains device capability information of a smart home device corresponding to the card 2. Alternatively, the card 2 is a space card, and the device profile management module obtains device capability information of at least one smart home device included in a space corresponding to the card 2. Alternatively, the card 2 is a service card, and the device profile management module obtains a service corresponding to the card 2, and obtains device capability information of at least one smart home device supporting the service. Then, the device profile management module feeds back the obtained device capability information to the first application.

[0220] S1204, the first application queries the shortcut control module for shortcut attribute configuration information corresponding to the shortcut control bubble.

[0221] In some embodiments, in response to the operation of the user dragging the shortcut control bubble to the card 2, the first application requests the shortcut control module to obtain the shortcut attribute configuration information corresponding to the shortcut control bubble. In the above step S1201, the first application instructs the shortcut control module to save the shortcut attribute configuration information corresponding to the shortcut control bubble after generating the shortcut control bubble corresponding to the card 1.

[0222] Optionally, the present application embodiment does not limit the execution order of step S1203 and step S1204. That is, the present application embodiment does not limit the execution order of the first application obtaining the device capability information corresponding to the card 2 and obtaining the shortcut attribute configuration information corresponding to the shortcut control bubble. For example, the first application can also obtain the shortcut attribute configuration information corresponding to the shortcut control bubble first, and then obtain the device capability information corresponding to the card 2.

[0223] S1205, the first application generates a control command according to the shortcut attribute configuration information and the device capability information.

[0224] In some embodiments, after obtaining the shortcut attribute configuration information and the device capability information, the first application can match the shortcut attribute configuration information and the device capability information, obtain a shortcut control attribute and a corresponding smart home device that match successfully, and generate a control command for controlling the smart home device to configure the shortcut control attribute.

[0225] S1206, the first application sends the control command to the server.

[0226] In some embodiments, after the first application generates the control command, the first application sends the control command to the server. Optionally, the control command carries the device identifier of the at least one smart home device that needs to be controlled. Accordingly, after receiving the control command, the server can forward the corresponding control command to the smart home device corresponding to the device identifier according to the device identifier carried in the control command, so as to instruct the smart home device to execute the control command. For example, the smart home device is configured according to the attribute parameter value indicated by the control command, and is run according to the attribute parameter value after the configuration is completed. Optionally, starting the run can also be regarded as a kind of attribute configuration result.

[0227] For example, as shown in (a) of FIG. 9, in response to the operation of the user dragging the shortcut control bubble 83 to the device card 91, the first application obtains the device capability information of the lamp in the master bedroom corresponding to the device card 91, and obtains the shortcut attribute configuration information of the shortcut control bubble 83. For example, the shortcut attribute configuration information includes brightness of 50, color of red, and mode of mode 1. According to the shortcut attribute configuration information and the device capability information of the lamp in the master bedroom, the first application determines that the capabilities of the lamp in the master bedroom that match the shortcut control attributes indicated by the shortcut attribute configuration information include the attribute configuration capabilities of brightness, color, and lighting mode. Then, the first application can obtain the shortcut control attributes and attribute values indicated by the shortcut attribute configuration information, and generate a corresponding control command. The control command is used to configure the attribute parameter value of the lamp in the master bedroom, so that the lamp in the master bedroom can obtain the shortcut control attributes and attribute values indicated by the shortcut attribute configuration information after running according to the attribute parameter value. For example, the control command is used to instruct the lamp in the master bedroom to run according to the brightness of 50, the red light, and the mode of mode 1.

[0228] In this way, the user can assign the attribute parameter value related to the attribute parameter value of one smart home device to other smart home devices through a simple gesture operation, simplify the attribute configuration operation of the user on the smart home device, and reduce the difficulty of the user in controlling the smart home device.

[0229] For example, in an example scenario, the adjustment of all light attributes needs to be completed seasonally in a hotel. Since the number of lamps installed in the hotel is large, it is difficult to adjust each lamp separately, and the operation is complicated. Then, by using the device control method provided in the embodiments of the present application, after the user completes the attribute configuration of one lamp, the user triggers the control device to generate a shortcut control bubble corresponding to the attribute of the lamp. Then, the user only needs to perform a simple gesture operation on the control device to complete the attribute configuration of other multiple lamps, thereby effectively reducing the operation difficulty of the user. Alternatively, in some front-loaded scenarios, the attribute configuration operation of the smart home device in the same house type can be effectively simplified.

[0230] In some embodiments, in response to the operation of the user on the shortcut control bubble, the control device no longer displays the shortcut control bubble. The display or non-display of the shortcut control bubble does not affect the attribute configuration result of the smart home device corresponding to the shortcut control bubble.

[0231] Optionally, the operation of canceling the display of the shortcut control bubble comprises, for example, double-clicking the shortcut control bubble, etc.

[0232] Exemplarily, as shown in (a) of FIG. 13, the control device displays the shortcut control bubble 132 corresponding to the device card 131. The control device detects the operation of the user double-clicking the shortcut control bubble 132, and acquires the command of the user indicating to cancel the display of the shortcut control bubble 132. Then, as shown in (b) of FIG. 13, the control device no longer displays the shortcut control bubble 132. Optionally, after the control device no longer displays the shortcut control bubble 132, as shown in (b) of FIG. 13, the display content on the device card 131 does not change, for example, the light in the living room corresponding to the device card 131 still maintains the original running state and does not change the attribute configuration due to the non-display of the shortcut control bubble 132.

[0233] In this way, the user can cancel the display of the shortcut control bubble according to the needs. For example, after the user no longer needs to use the shortcut control bubble to control other smart home devices, the user can cancel the display of the shortcut control bubble, so as to avoid the display of the shortcut control bubble affecting the display of other content on the first application interface.

[0234] In some embodiments, the control device does not detect the operation of the user on the shortcut control bubble within the preset time of displaying the shortcut control bubble, and then the display of the shortcut control bubble can be automatically canceled after the preset time. Optionally, the preset time is, for example, one week, one month, etc.

[0235] In this way, the shortcut control bubble that is not used for a long time is avoided from affecting the display of the first application.

[0236] In some embodiments, the user retains the display of the shortcut control bubble, aiming to continue to use the shortcut control bubble subsequently to realize the shortcut configuration of the attribute of other smart home devices. That is, the shortcut attribute configuration information corresponding to the shortcut control bubble meets the attribute configuration needs of the smart home device required by the user. Then, the control device detects the operation of the user changing the attribute parameter value of the smart home device corresponding to the shortcut control bubble during the display of the shortcut control bubble, and does not change the shortcut attribute configuration information corresponding to the shortcut control bubble.

[0237] In this way, the control device keeps displaying the shortcut control bubble to meet the control needs of the user on other smart home devices through the shortcut control bubble subsequently.

[0238] In some embodiments, during displaying the shortcut control bubble, the control device detects an operation of changing, by the user, a parameter value of a property of the smart home device corresponding to the shortcut control bubble, and the control device adaptively adjusts the shortcut property configuration information corresponding to the shortcut control bubble.

[0239] In this way, more flexible configuration of the shortcut control bubble is achieved. For example, in an example scenario, the control device generates the shortcut control bubble according to the brightness property configuration of the lamp in the living room in response to an operation of the user. Subsequently, the user's demand changes, and the brightness of the lamp in the living room needs to be adjusted. The current brightness is more preferred by the user. Then, the adaptive change of the shortcut property configuration information corresponding to the shortcut control bubble can better meet the current use demand of the user and simplify the operation of the user to reconfigure the shortcut control bubble.

[0240] In some embodiments, the control device can display an editing window in response to an operation of the user on the shortcut control bubble. In the editing window, the control device can receive an operation of the user to edit the shortcut property configuration information corresponding to the shortcut control bubble, so as to achieve editing of the shortcut property configuration information corresponding to the shortcut control bubble.

[0241] Optionally, the operation of triggering editing of the shortcut property configuration information corresponding to the shortcut control bubble includes, for example, an operation of long pressing the shortcut control bubble.

[0242] For example, as shown in (a) of FIG. 14, during displaying the shortcut control bubble 141, the control device detects an operation of long pressing the shortcut control bubble 141 by the user, and determines that the user indicates to edit the shortcut property configuration information corresponding to the shortcut control bubble 141. Then, the control device can obtain the shortcut property configuration information corresponding to the shortcut control bubble 141. As shown in (b) of FIG. 14, the control device displays an editing window 142, in which the shortcut control property and the corresponding property value included in the shortcut property configuration information corresponding to the shortcut control bubble 141 are displayed. In response to an operation of the user in the editing window 142, the control device can adjust the property value, add a shortcut control property, or reduce a shortcut control property. Subsequently, in response to an operation of the user on a finish control 143, the control device obtains the edited shortcut property configuration information corresponding to the shortcut control bubble 141. Optionally, the control device retains the edited shortcut property configuration information, and subsequently implements, by using the edited shortcut property configuration information, shortcut configuration of properties of other smart home devices.

[0243] In this way, the user can flexibly edit the shortcut property configuration information of the shortcut control bubble according to the demand, so as to meet the demand for different property parameter values.

[0244] In some embodiments, the control device can change the bubble attribute of the shortcut control bubble in response to a user operation. Optionally, the bubble attribute includes an on attribute and an off attribute. The on attribute indicates that, in response to a user operation of dragging the shortcut control bubble to a card, the corresponding smart home device of the card is triggered to start and operate according to the attribute indicated by the shortcut control bubble. The off attribute indicates that, in response to a user operation of dragging the shortcut control bubble to a card, the corresponding smart home device of the card is triggered to be turned off.

[0245] Optionally, the operation of switching the bubble attribute includes, for example, an operation of clicking the shortcut control bubble, etc.

[0246] Exemplarily, as shown in (a) of FIG. 15, the control device displays a shortcut control bubble 151. The current shortcut control bubble 151 is in a bubble on state and has an on attribute. In response to a user operation of clicking the shortcut control bubble 151, the control device switches the bubble attribute of the shortcut control bubble 151 to an off attribute. For example, as shown in (b) of FIG. 15, the control device displays the shortcut control bubble 151 in a bubble off state. The current shortcut control bubble 151 has an off attribute. Optionally, in response to a user operation of clicking the shortcut control bubble 151 in the bubble off state, the control device can switch to display the shortcut control bubble 151 in the bubble on state as shown in (a) of FIG. 15.

[0247] Exemplarily, as shown in (a) of FIG. 16, the control device detects a user operation of dragging the shortcut control bubble 151 in the bubble off state to a device card 153 in the direction indicated by an arrow 152. The control device obtains the current state of the lamp in the master bedroom corresponding to the device card 153. For example, the lamp in the master bedroom is currently in an on state. Then, the control device generates a control command for indicating the lamp in the master bedroom to be turned off, and forwards the control command to the lamp in the master bedroom through a server, so as to trigger the lamp in the master bedroom to be turned off. After that, as shown in (b) of FIG. 16, after the lamp in the master bedroom is turned off, the current off state of the lamp in the master bedroom is displayed on the device card 153. And the control device restores the display of the shortcut control bubble 151 in the bubble off state. For another example, the lamp in the master bedroom is currently in an off state. Then, the control device can display a prompt information to prompt the user that the current operation is invalid.

[0248] In this way, the user can quickly trigger the smart home device to be turned off through the shortcut control bubble by a simple gesture operation.

[0249] In some embodiments, the control device can display one or more shortcut control bubbles. Optionally, different shortcut control bubbles can correspond to different smart home devices (or device cards), or can also correspond to the same smart home device (or device card).

[0250] Optionally, the control device can distinguish different shortcut control bubbles by one or more of text label, color, shape, etc.

[0251] For example, the user needs to obtain shortcut control bubbles corresponding to smart home devices of different categories, or the user needs to obtain shortcut control bubbles of the same category but different shortcut attribute configuration information. Then, the user can instruct the control device to generate multiple shortcut control bubbles.

[0252] For example, as shown in (a) of FIG. 17, the control device displays a shortcut control bubble 172 corresponding to a device card 171, and the shortcut attribute configuration information corresponding to the shortcut control bubble 172 is, for example, used to configure the brightness attribute. During the process of displaying the shortcut control bubble 172, the control device detects an operation of double-finger pressing the device card 173 and sliding upward, and can generate a shortcut control bubble corresponding to the device card 173. For example, as shown in (b) of FIG. 17, during the process of displaying the shortcut control bubble 172, the control device displays a newly generated shortcut control bubble 174 corresponding to the device card 173. Optionally, the shortcut attribute configuration information corresponding to the shortcut control bubble 174 is, for example, used to configure the temperature attribute. Then, the control device can distinguish different shortcut control bubbles by text label on the shortcut control bubble 172 and the shortcut control bubble 174, to help the user distinguish the attribute configuration capabilities that can be implemented by different shortcut control bubbles.

[0253] In this way, the user can create one or more shortcut control bubbles according to needs, to meet more attribute configuration needs of the user.

[0254] For another example, as shown in (a) of FIG. 18, the control device displays a shortcut control bubble 182 corresponding to a device card 181, and the shortcut attribute configuration information corresponding to the shortcut control bubble 182 is, for example, used to configure the brightness attribute and the color temperature attribute. During the process of displaying the shortcut control bubble 182, the control device detects an operation of double-finger spreading on the shortcut control bubble 182, and can determine that the user instructs to split the shortcut control bubble 182. Then, the control device obtains the shortcut attribute configuration information corresponding to the shortcut control bubble 182, obtains the number of shortcut control attributes included in the shortcut attribute configuration information, and splits the shortcut control bubble 182 into multiple shortcut control bubbles according to the shortcut control attribute as the splitting dimension. For example, as shown in (b) of FIG. 18, the control device displays a shortcut control bubble 183 and a shortcut control bubble 184 according to the shortcut control attribute of the brightness attribute and the color temperature attribute included in the shortcut attribute configuration information corresponding to the shortcut control bubble 182. The shortcut attribute configuration information corresponding to the shortcut control bubble 183 is, for example, used to configure the brightness attribute, and the shortcut attribute configuration information corresponding to the shortcut control bubble 184 is, for example, used to configure the color temperature attribute.

[0255] In this way, the user can configure the brightness or color temperature of other smart home devices through the split different shortcut control bubbles. For example, in response to the operation of the user dragging the shortcut control bubble 183 to the device card 185, the control device can instruct the configuration device 185 to configure the corresponding brightness attribute. Compared with directly configuring the attribute through the shortcut control bubble 182, more flexible attribute configuration can be achieved.

[0256] Optionally, as shown in (b) of FIG. 18, in response to the user's merging operation on the displayed multiple shortcut control bubbles (such as the shortcut control bubble 183 and the shortcut control bubble 184), the control device can also merge the multiple shortcut control bubbles into one shortcut control bubble. The shortcut attribute configuration information corresponding to the merged shortcut control bubble includes the shortcut attribute configuration information corresponding to the multiple shortcut control bubbles before merging respectively.

[0257] In this way, the control device can split or merge the shortcut control bubble according to the user operation, and meet the user's flexible configuration demand for different shortcut control attributes.

[0258] FIG. 19 is a flow diagram of another device control method provided by the embodiments of the present application. It should be noted that the method is not limited to the specific order of FIG. 19 and the following description. It should be understood that in other embodiments, the order of some steps of the method can be exchanged according to actual needs, or some steps can be omitted or deleted. The method includes the following steps:

[0259] S1901, in response to a first operation of a first user on a first display object, a first electronic device displays a first shortcut control object, wherein the first display object corresponds to a second electronic device.

[0260] Optionally, the first shortcut control object is used to assign an attribute parameter value associated with the first attribute parameter value of the second electronic device to other electronic devices except the second electronic device.

[0261] Optionally, the first display object is one or more of the following: a device card, a scene card, a space card, and a service card. Optionally, the shortcut control object is, for example, a shortcut control bubble.

[0262] Optionally, the first operation is, for example, used to extract the attribute parameter value of the second electronic device corresponding to the first display object. The first operation is, for example, an operation of sliding upward after double-finger operation on the first display object.

[0263] Exemplarily, as shown in (a) of FIG. 8, the first electronic device displays a device interface in the smart life application, and the device interface displays a plurality of device cards corresponding to a plurality of second electronic devices managed under a current account. In response to a user's operation of double-finger pressing and sliding up the device card 81 (as a first display object) in the direction indicated by the arrow 82, as shown in (b) of FIG. 8, the first electronic device can display a quick control bubble 83 (as a first quick control object) corresponding to the device card 81.

[0264] In this way, the user can extract the attribute parameter value of the second electronic device through a simple gesture operation, so as to facilitate subsequent configuration of attribute parameter values of other second electronic devices.

[0265] S1902, in response to the second operation of the first user on the first quick control object and the second display object, the first electronic device assigns the second display object corresponding to the third electronic device with a second attribute parameter value, wherein the second attribute parameter value is associated with the first attribute parameter value.

[0266] Optionally, the second display object is one or more of the following: a device card, a scene card, a space card, and a service card.

[0267] Optionally, the second operation is, for example, an operation of assigning the first attribute parameter value of the first quick control object to a smart home device corresponding to another display object. The second operation is, for example, an operation of sliding the first quick control object to another display object.

[0268] In some embodiments, the first quick control object is used to assign an attribute parameter value associated with the first attribute parameter value of the second electronic device to another electronic device other than the second electronic device. In some examples, the first electronic device detects a second operation of the user dragging the first quick control object to the second display object, and assigns the third electronic device corresponding to the second display object with a corresponding second attribute parameter value.

[0269] In an embodiment, assigning the second display object corresponding to the third electronic device with the second attribute parameter value comprises: setting the attribute parameter value of the third electronic device to include the second attribute parameter value; or instructing the third electronic device to operate according to the second attribute parameter value.

[0270] Exemplarily, as shown in (a) of FIG. 9, the first electronic device displays a device interface of the smart life application, on which a shortcut control bubble 83 (e.g., a first shortcut control object) generated through the scenario shown in FIG. 8 and a device card 91 (e.g., a second display object) corresponding to the lamp (e.g., a third electronic device) of the master bedroom are displayed. As shown in the device card 91, the lamp of the master bedroom is in an off state. In this case, the first electronic device detects an operation of dragging the shortcut control bubble 83 to the device card 91 in the direction indicated by an arrow 92 by the user, and can set a second attribute parameter of the lamp of the master bedroom corresponding to the device card 91. Alternatively, the first electronic device instructs the lamp of the master bedroom to operate according to the second attribute parameter value.

[0271] In this case, if the first electronic device sets the lamp of the master bedroom corresponding to the device card 91 to the second attribute parameter value. Subsequently, in response to an operation of the user on the device card 91, the first electronic device can instruct the lamp of the master bedroom to operate according to the second attribute parameter value. It should be understood that the first electronic device can also set the lamp of the master bedroom corresponding to the device card 91 to part or all of the second attribute parameter value.

[0272] In this way, the user can quickly trigger the configuration of the attribute value of the other device or operate according to the associated attribute parameter value through the shortcut control object by a simple gesture operation, simplifying the operation of the user. And increase the interest of device control.

[0273] In an embodiment, in response to the first operation, the first electronic device obtains the first attribute parameter value of the second electronic device corresponding to the first display object. The first electronic device obtains the first shortcut control attribute included in the first shortcut control object and the first attribute parameter value according to the mapping table. Then, the first electronic device can display the first shortcut control object.

[0274] Exemplarily, as shown in (a) of FIG. 8, in response to the double-finger press-up operation, the first electronic device obtains the current attribute parameter value of the lamp of the living room corresponding to the device card 81. For example, the attribute parameter value includes a brightness value of 50 indicated by lightLevel / value (e.g., a first attribute parameter value), a color of red indicated by color / color, and a mode of mode 1 indicated by mode / mode. Then, the first electronic device obtains the shortcut attribute configuration information according to the current attribute parameter value of the lamp of the living room and the mapping table corresponding to the lamp of the living room. For example, the shortcut attribute configuration information includes brightness of 50, color of red, and mode of mode 1. It should be understood that brightness, color, and mode are shortcut control attributes indicated in the generated mapping table. Alternatively, the shortcut attribute configuration information can also include the current attribute parameter value of the current lamp of the living room, so as to facilitate the user to understand.

[0275] Optionally, the first electronic device downloads the mapping table from a server. Alternatively, the mapping table is obtained from a local storage.

[0276] Optionally, the mapping table corresponds to a category to which the second electronic device belongs, the mapping table includes second shortcut control attributes included in the category to which the second electronic device belongs, and each second shortcut control attribute in the mapping table corresponds to at least one third attribute parameter. The second shortcut control attributes include the first shortcut control attributes.

[0277] In this way, the first electronic device can obtain an attribute parameter value associated with a currently extracted attribute parameter value according to the preconfigured mapping table, to display the first shortcut control object, so as to facilitate subsequent quick setting of attribute parameter values of other devices through the first shortcut control object.

[0278] Optionally, the first shortcut control object can also directly include the first attribute parameter value. In this way, the first electronic device displays the first attribute parameter value when the user views the information of the first shortcut control object, so as to meet the user's expectation and facilitate the user's understanding. Subsequently, the first electronic device can obtain an associated second attribute parameter value according to the first attribute parameter value and the mapping table when it needs to assign an attribute parameter value to other devices.

[0279] In some embodiments, the device attributes of the second electronic device and the third electronic device match. Optionally, the second electronic device and the third electronic device belong to the same category.

[0280] In this way, the multiple electronic devices with matching device attributes can realize mutual quick configuration of attribute parameter values. In addition, the quick configuration of attributes between devices of the same category facilitates the user's understanding and reduces the user's learning difficulty.

[0281] In some embodiments, the first electronic device can display first shortcut control objects of different styles to prompt the user that the current first shortcut control object has different function implementations.

[0282] For example, the first electronic device displays a first shortcut control object of a first style according to the operation type of the first operation. The first style indicates that the attribute parameter value of the third electronic device includes the second attribute parameter value.

[0283] For another example, the first electronic device displays a first shortcut control object of a second style according to the operation type of the first operation. The second style indicates that the third electronic device runs according to the second attribute parameter value.

[0284] For another example, the first electronic device displays the first shortcut control object in a third style according to the operation type of the first operation. The third style indicates that the third electronic device operates according to the second attribute parameter value, but does not modify the locally saved attribute parameter value of the third electronic device. That is, the first shortcut control object in the third style is used to temporarily control the operation of the other device.

[0285] Optionally, the operation type is, for example, a double-finger press and upslide operation, a single-finger press and upslide operation, etc. The style of the first shortcut control object includes, for example, color, shape, size, etc.

[0286] In this way, the user can indicate the display of the first shortcut control object in different styles through flexible operations, and meet the flexible use requirements of the user.

[0287] In some embodiments, the first shortcut control object is used to assign the other electronic device with the attribute parameter value associated with the first attribute parameter value of the second electronic device, and is also used to assign the other electronic device with other attribute parameter values associated with attribute parameter values other than the first attribute parameter value of the second electronic device.

[0288] That is, in the attribute extraction process, the first electronic device can extract one or more attribute parameter values of the second electronic device. Then, the first shortcut control object includes the first shortcut attribute parameter value, and can also include other attribute parameter values. Then, the first electronic device can realize the configuration of multiple attribute parameter values of the third electronic device through the first shortcut control object.

[0289] In some embodiments, in response to the tenth operation of the first user on the first shortcut control object, the first electronic device displays at least two second shortcut control objects corresponding to the first shortcut control object, and the at least two second shortcut control objects correspond to different attribute parameter values of the second electronic device, respectively.

[0290] Optionally, the tenth operation is, for example, a double-finger separation operation.

[0291] Exemplarily, as shown in (a) of FIG. 18, the first electronic device displays a shortcut control bubble 182 (e.g., a first shortcut control object) corresponding to the device card 181 (e.g., a first display object), and the shortcut control bubble 182 corresponds to shortcut attribute configuration information, for example, used to configure a brightness attribute and a color temperature attribute. During the process of displaying the shortcut control bubble 182, the first electronic device detects a double-finger separation operation of the user on the shortcut control bubble 182, and it can be determined that the user indicates to split the shortcut control bubble 182. Then, the first electronic device acquires the shortcut attribute configuration information corresponding to the shortcut control bubble 182, acquires the number of shortcut control attributes included in the shortcut attribute configuration information, and splits the shortcut control bubble 182 into a plurality of shortcut control bubbles according to the shortcut control attributes as the splitting dimension. For example, as shown in (b) of FIG. 18, the first electronic device displays a shortcut control bubble 183 and a shortcut control bubble 184 (e.g., a second shortcut control object) according to the brightness attribute and the color temperature attribute included in the shortcut attribute configuration information corresponding to the shortcut control bubble 182.

[0292] In this way, the user can configure the brightness or the color temperature of the other second electronic device through different shortcut control bubbles after splitting, and compared with directly configuring the attribute parameter value through the shortcut control bubble 182, it can realize more flexible attribute parameter value configuration.

[0293] In this way, the first electronic device can realize splitting or merging of the shortcut control bubble according to the user operation, and meet the flexible configuration requirement of the user for different shortcut control attributes.

[0294] In some embodiments, the first display object is displayed on the first interface. In response to a third operation of the first user, in some embodiments, the second interface is switched to be displayed, and the first shortcut control object is displayed on the second interface.

[0295] Optionally, the second interface is, for example, a device card interface, a space card interface, a scene card interface, a service card interface, other home interfaces, etc.

[0296] In some examples, in response to a fourth operation of the first user on the first shortcut control object and the third display object, the first electronic device assigns the third display object to a fourth electronic device corresponding to a fourth attribute parameter value, the third attribute parameter value is an attribute parameter value associated with the first attribute parameter value, and the third display object is displayed on the second interface.

[0297] Exemplarily, as shown in (a) of FIG. 10, the first electronic device displays a device interface of the smart life application, and the device interface displays the shortcut control bubble 83 generated through the scenario shown in FIG. 8. In response to the operation of the user on the space control 101, the first electronic device displays the space interface as shown in (b) of FIG. 10. In this case, the space interface still displays the shortcut control bubble 83, and the space interface further displays different space cards. That is, the first electronic device maintains the display of the shortcut control bubble on different interfaces of the first application. Subsequently, as shown in (c) of FIG. 10, the first electronic device detects the operation of the user dragging the shortcut control bubble 83 to the space card 103 in the direction indicated by the arrow 102, and determines that the user indicates to control the smart home device in the restaurant through the shortcut control bubble.

[0298] Exemplarily, the smart life application account logged in by the first electronic device is used to manage multiple families, such as family A and family B. The first electronic device generates the first shortcut control object corresponding to a device card in family A according to the operation of the user. Subsequently, in response to the operation of the user indicating to switch the family, the first electronic device switches to display the second family, and maintains the display of the first shortcut control object in the interface of the second family. In this way, the first electronic device can also realize the shortcut control of the device in family B through the first shortcut control object.

[0299] In this way, the first electronic device maintains the display of the first shortcut control object on different interfaces, so that the first electronic device can also realize the shortcut control of the device corresponding to other interfaces through the first shortcut control object after the interface switching.

[0300] In some embodiments, in response to the fifth operation of the first user on the first shortcut control object, the first electronic device displays an editing window. In response to the sixth operation of the first user in the editing window, the first electronic device edits the first attribute parameter value.

[0301] In some examples, the first shortcut control object includes first shortcut attribute information, and the first shortcut attribute information includes the first attribute parameter value and a first shortcut control attribute corresponding to the first attribute parameter value. In response to the seventh operation of the first user in the editing window, the first shortcut control attribute is edited.

[0302] Exemplarily, as shown in (a) of FIG. 14, during the process that the first electronic device displays the shortcut control bubble 141 (as a first shortcut control object), the fifth operation of the user long-pressing the shortcut control bubble 141 is detected, and it is determined that the user indicates to edit the shortcut attribute configuration information corresponding to the shortcut control bubble 141. Then, the first electronic device can acquire the shortcut attribute configuration information corresponding to the shortcut control bubble 141. And as shown in (b) of FIG. 14, the first electronic device displays an edit window 142, and the shortcut control attributes included in the shortcut attribute configuration information corresponding to the shortcut control bubble 141 and the corresponding attribute values (such as first attribute parameter values) are displayed in the edit window 142. In response to the operation of the user in the edit window 142, the first electronic device can adjust the attribute values, add shortcut control attributes, reduce shortcut control attributes, and the like.

[0303] In this way, the user can flexibly edit the attribute parameter values and / or shortcut control attributes of the shortcut control object according to the needs, and meet the flexible setting needs.

[0304] In some embodiments, the first shortcut control object is displayed in a running state. Subsequently, in response to the eighth operation of the first user on the first shortcut control object, the first electronic device displays the first shortcut control object in a stopped running state. Then, in response to the ninth operation of the first user on the first shortcut control object and the second display object, the first electronic device instructs the third electronic device to stop running.

[0305] Exemplarily, as shown in (a) of FIG. 15, the first electronic device displays a shortcut control bubble 151, and the current shortcut control bubble 151 is in a bubble open state and has an open attribute. In response to the operation of the user clicking the shortcut control bubble 151, the first electronic device switches the bubble attribute of the shortcut control bubble 151 to a closed attribute. For example, as shown in (b) of FIG. 15, the first electronic device displays the shortcut control bubble 151 in a bubble closed state, and the current shortcut control bubble 151 has a closed attribute.

[0306] Exemplarily, as shown in (a) of FIG. 16, the first electronic device detects the operation of the user dragging the shortcut control bubble 151 in the bubble closed state to a device card 153 along the direction indicated by an arrow 152, and the first electronic device acquires the current state of the lamp of the master bedroom corresponding to the device card 153. For example, the lamp of the master bedroom is currently in an open state, and then the first electronic device instructs to close the lamp of the master bedroom.

[0307] In this way, the user can quickly trigger the closing of the smart home device through the shortcut control object through a simple gesture operation.

[0308] In some embodiments, in response to the eleventh operation of the first user on the fourth display object, the first electronic device displays a third shortcut control object. The fourth display object corresponds to a fifth electronic device, and the third shortcut control object is used to assign an attribute parameter value associated with the fourth attribute parameter value of the fifth electronic device to other electronic devices except the fifth electronic device.

[0309] Optionally, during the process of displaying the third shortcut control object, the first electronic device keeps displaying the first shortcut control object. Alternatively, the first electronic device cancels the display of the first shortcut control object.

[0310] For example, as shown in (a) of FIG. 17, the first electronic device displays a shortcut control bubble 172 (as a first shortcut control object) corresponding to a device card 171. During the process of displaying the shortcut control bubble 172, the first electronic device detects an operation of double-tapping and sliding up the device card 173, and generates a shortcut control bubble (as a third shortcut control object) corresponding to the device card 173. For example, as shown in (b) of FIG. 17, during the process of displaying the shortcut control bubble 172, the first electronic device displays a newly generated shortcut control bubble 174 corresponding to the device card 173.

[0311] In this way, the user can create one or more shortcut control objects according to needs, to meet the user's more attribute parameter value configuration needs.

[0312] In some embodiments, in response to the twelfth operation of the first user on the first shortcut control object, the first electronic device sends first information carrying the first shortcut control object to a sixth electronic device, and the first information instructs the sixth electronic device to display the first shortcut control object. The sixth electronic device is associated with a second user.

[0313] Optionally, the first electronic device is a control device, and the sixth electronic device is another control device that has a communication connection with the first electronic device. The first electronic device and the second electronic device log in different smart life application accounts and are associated with different users. Optionally, the communication connection between the sixth electronic device and the first electronic device is a short-range connection such as a Bluetooth connection, a WiFi connection, etc.

[0314] For example, the control device 1 of the first user establishes a connection with the control device 2 of the second user, and in response to the operation of the first user on the shortcut control object displayed by the control device 1, the control device 1 can send the shortcut control object to the control device 2. Correspondingly, the control device 2 can display the shortcut control object. In this way, the second user can realize the quick attribute parameter value configuration of the smart home device managed by the control device 2 through the shortcut control object displayed by the control device 2.

[0315] In this way, the user can realize the sharing of the shortcut control object through simple operation, so as to facilitate other users to use the shortcut control object to control the device quickly.

[0316] In some embodiments, the first shortcut control object is displayed in response to the thirteenth operation of the first user on the first shortcut control object.

[0317] In this way, the user can instruct the first electronic device to display or cancel the display of the shortcut control object according to actual use requirements, so as to meet the user's requirement of quickly controlling other devices, and avoid the display of the shortcut control object for a long time from affecting the display of other content in the interface.

[0318] Optionally, the first electronic device can also perform the steps and functions performed by the device in the above embodiments, and the second electronic device, the third electronic device, the fourth electronic device, and the fifth electronic device can also perform the steps and functions performed by the smart home device in the above embodiments, so as to realize the device control method provided in the above embodiments.

[0319] The device control method provided in the embodiments of the present application is described in detail above in combination with FIGS. 8-19. The first electronic device provided in the embodiments of the present application is described in detail below in combination with FIG. 20.

[0320] In a possible design, FIG. 20 is a structural schematic diagram of the first electronic device provided in the embodiments of the present application. As shown in FIG. 20, the first electronic device 2000 can include a display unit 2001, a transceiver unit 2002, and a processing unit 2003. The first electronic device 2000 can be used to realize the functions of the first electronic device involved in the above method embodiments.

[0321] Optionally, the display unit 2001 is configured to support the first electronic device 2000 to perform S1201 in FIG. 12; and / or is configured to support the first electronic device 2000 to perform S1901 in FIG. 19.

[0322] Optionally, the transceiver unit 2002 is configured to support the first electronic device 2000 to perform S1201, S1202, and S1206 in FIG. 12; and / or is configured to support the first electronic device 2000 to perform S1901 and S1902 in FIG. 19.

[0323] Optionally, the processing unit 2003 is configured to support the first electronic device 2000 to perform S1201, S1203, S1204, and S1205 in FIG. 12; and / or is configured to support the first electronic device 2000 to perform S1901 and S1902 in FIG. 19.

[0324] The transceiving unit can include a receiving unit and a sending unit, can be implemented by a transceiver or a transceiver-related circuit component, and can be a transceiver or a transceiver module. The operations and / or functions of each unit in the first electronic device 2000 are respectively used to implement the corresponding flow of the device control method described in the above method embodiments. All related contents of each step described in the above method embodiments can be referred to the function description of the corresponding functional unit, and will not be repeated here for brevity.

[0325] Optionally, the first electronic device 2000 shown in FIG. 20 can further include a storage unit (not shown in FIG. 20) having a program or instruction stored therein. When the display unit 2001, the transceiving unit 2002, and the processing unit 2003 execute the program or instruction, the first electronic device 2000 shown in FIG. 20 can perform the device control method described in the above method embodiments.

[0326] The technical effects of the first electronic device 2000 shown in FIG. 20 can refer to the technical effects of the device control method described in the above method embodiments, which will not be repeated here.

[0327] In addition to the form of the first electronic device 2000, the technical solutions provided in the present application can also be a functional unit or a chip in the first electronic device, or a device matched with the first electronic device.

[0328] The embodiments of the present application also provide a chip system, including: a processor, the processor is coupled with a memory, the memory is used for storing a program or instruction, when the program or instruction is executed by the processor, the chip system realizes the method in any one of the above method embodiments.

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

[0330] Optionally, the memory in the chip system can also be one or more. The memory can be integrated with the processor, or can be separately arranged from the processor, which is not limited in the embodiments of the present application. For example, the memory can be a non-transient processor, such as a read-only memory (ROM), which can be integrated on the same chip as the processor, or can be separately arranged on different chips. The type of the memory and the arrangement of the memory and the processor are not limited in the embodiments of the present application.

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

[0332] It should be understood that each step in the above method embodiments can be completed by integrated logic circuits of hardware in the processor or instructions in the form of software. The method steps disclosed in combination with the embodiments of the present application can be directly embodied as hardware processor execution, or executed by a combination of hardware and software modules in the processor.

[0333] The embodiments of the present application also provide a computer readable storage medium, which stores a computer program. When the computer program is executed on a computer, the computer is caused to execute the above related steps to implement the device control method in the above embodiments.

[0334] The embodiments of the present application also provide a computer program product. When the computer program product is executed on a computer, the computer is caused to execute the above related steps to implement the device control method in the above embodiments.

[0335] In addition, the embodiments of the present application also provide a device. The device can be specifically a component or a module, and the device can include one or more processors and memories connected thereto. The memories are used to store computer programs. When the computer programs are executed by the one or more processors, the device executes the device control method in the above method embodiments.

[0336] Among them, the device, computer readable storage medium, computer program product or chip provided by the embodiments of the present application are all used to execute the corresponding method provided above. Therefore, the beneficial effects that can be achieved thereby can refer to the beneficial effects in the corresponding method provided above, which will not be described here again.

[0337] The steps of methods or algorithms described in connection with the embodiments disclosed herein can be embodied directly in hardware, in a software module executed by a processor, or in a combination of the two. A software module can reside in RAM, flash memory, ROM, EPROM, EEPROM, registers, hard disk, a removable media, a CD-ROM, or any other form of storage medium known in the art. An exemplary storage medium is coupled to the processor such that the processor can read information from, and write information to, the storage medium. In the alternative, the storage medium can be integral to the processor. The processor and the storage medium can reside in an ASIC.

[0338] Those skilled in the art can clearly understand the method provided by the above embodiments, for the convenience and brevity, only the above functional modules are taken as examples. In actual application, the above functions can be completed by different functional modules according to the needs; that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. The specific working process of the system, device and unit described above can refer to the corresponding process in the foregoing method embodiments, which will not be repeated here.

[0339] In several embodiments provided in the present application, it should be understood that the disclosed method can be implemented in other ways. The above-described device embodiments are only schematic. For example, the division of the modules or units is only a logical function division, and actual implementation can be in another division manner; for example, a plurality of units or components can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the coupling or direct coupling or communication connection between the units shown or discussed can be indirect coupling or communication connection through some interface, module or unit, which can be electrical, mechanical or other forms.

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

[0341] The computer readable storage medium includes, but is not limited to, any one of the following: a U disk, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, and various media capable of storing program codes.

[0342] The above merely provides the specific implementation of the present application, but the protection scope of the present application is not limited to this. Any change or replacement within the technical scope disclosed by the present application should be covered in the protection scope of the present application. Therefore, the protection scope of the present application should be subject to the protection scope of the claims.

Claims

1. A device control method, characterized in that, Applied to a first electronic device, the method includes: In response to a first user’s first operation on a first display object, a first shortcut control object is displayed. The first display object corresponds to a second electronic device. The first shortcut control object is used to assign attribute parameter values ​​associated with the first attribute parameter value of the second electronic device to other electronic devices besides the second electronic device. In response to the first user's second operation on the first quick control object and the second display object, a second attribute parameter value is assigned to the third electronic device corresponding to the second display object, and the second attribute parameter value is associated with the first attribute parameter value.

2. The method according to claim 1, characterized in that, The step of assigning a second attribute parameter value to the third electronic device corresponding to the second display object includes: The attribute parameter values ​​of the third electronic device include the second attribute parameter values; or, The third electronic device is instructed to operate according to the second attribute parameter value.

3. The method according to claim 1 or 2, characterized in that, The first display object is displayed on the first interface, and the method further includes: In response to the third operation of the first user, the second interface is switched to display, and the second interface displays the first quick control object.

4. The method according to claim 3, characterized in that, The method further includes: In response to the first user's fourth operation on the first quick control object and the third display object, a third attribute parameter value of the fourth electronic device corresponding to the third display object is assigned, the third attribute parameter value being an attribute parameter value associated with the first attribute parameter value, and the third display object is displayed on the second interface.

5. The method according to any one of claims 1-4, characterized in that, The method further includes: In response to the first user's fifth operation on the first shortcut control object, an editing window is displayed; In response to the sixth operation performed by the first user in the editing window, the value of the first attribute parameter is edited.

6. The method according to any one of claims 1-5, characterized in that, The first shortcut control object includes first shortcut attribute information, which includes a first attribute parameter value and a first shortcut control attribute corresponding to the first attribute parameter value; the method further includes: In response to the first user's seventh operation in the editing window, the first shortcut control attribute is edited.

7. The method according to any one of claims 1-6, characterized in that, The first shortcut control object is displayed as running, and the method further includes: In response to the first user's eighth operation on the first shortcut control object, the first shortcut control object, which is in a stopped running state, is displayed; In response to the first user's ninth operation on the first quick control object and the second display object, the third electronic device is instructed to stop operating.

8. The method according to any one of claims 1-7, characterized in that, The first quick control object is used to assign attribute parameter values ​​associated with the first attribute parameter value of the second electronic device to other electronic devices besides the second electronic device, and is also used to assign other attribute parameter values ​​to the other electronic devices, which are associated with attribute parameter values ​​other than the first attribute parameter value of the second electronic device.

9. The method according to claim 8, characterized in that, The method further includes: In response to the tenth operation of the first user on the first shortcut control object, at least two second shortcut control objects corresponding to the first shortcut control object are displayed, and the at least two second shortcut control objects respectively correspond to different attribute parameter values ​​of the second electronic device.

10. The method according to any one of claims 1-9, characterized in that, The method further includes: In response to the first user's eleventh operation on the fourth display object, a third shortcut control object is displayed. The fourth display object corresponds to the fifth electronic device. The third shortcut control object is used to assign attribute parameter values ​​associated with the fourth attribute parameter value of the fifth electronic device to other electronic devices besides the fifth electronic device.

11. The method according to claim 10, characterized in that, The method further includes: Keep the first shortcut control object displayed; Alternatively, you can disable the display of the first shortcut control object.

12. The method according to any one of claims 1-11, characterized in that, The step of displaying a first shortcut control object in response to a first user's first operation on a first display object includes: According to the operation type of the first operation, the first shortcut control object of the first style is displayed, and the first style indicates that the attribute parameter value of the third electronic device includes the second attribute parameter value. Alternatively, the first shortcut control object may be displayed in a second style, the second style instructing the third electronic device to operate according to the second attribute parameter value.

13. The method according to any one of claims 1-12, characterized in that, The method further includes: In response to the first user's twelfth operation on the first quick control object, a first message is sent to a sixth electronic device, the first message carrying the first quick control object, the first message instructing the sixth electronic device to display the first quick control object, the sixth electronic device being associated with the second user.

14. The method according to any one of claims 1-13, characterized in that, The method further includes: In response to the thirteenth operation by the first user on the first quick control object, the display of the first quick control object is canceled.

15. The method according to any one of claims 1-14, characterized in that, The first display object or the second display object is one or more of the following: device card, scene card, space card, service card.

16. The method according to any one of claims 1-15, characterized in that, The device attributes of the second electronic device and the third electronic device are matched.

17. The method according to claim 16, characterized in that, The second electronic device and the third electronic device belong to the same category.

18. An electronic device, characterized in that, include: A processor and a memory, the memory being coupled to the processor, the memory being used to store computer program code, the computer program code including computer instructions, which, when the processor reads the computer instructions from the memory, cause the electronic device to perform the method as described in any one of claims 1-17.

19. A computer-readable storage medium, characterized in that, The computer-readable storage medium includes a computer program that, when run on an electronic device, causes the electronic device to perform the method as described in any one of claims 1-17.

20. A computer program product, characterized in that, When the computer program product is run on a computer, it causes the computer to perform the method as described in any one of claims 1-17.

Citation Information

Patent Citations

  • Control method and device of smart home control panel, equipment and storage medium

    CN113110093A

  • Control method of electronic equipment, medium and electronic equipment

    CN115842692A

  • Equipment control method and electronic equipment

    CN116819977A

  • Method and device for controlling shortcut component of smart home applet

    CN117075519A

  • Interaction method and apparatus, and electronic device

    WO2022052713A1