Equipment control method and electronic equipment

By acquiring and displaying adjustment controls on the terminal device, users can directly update the control mode, solving the problem of cumbersome steps in existing technologies and improving user experience and efficiency.

CN121995778APending Publication Date: 2026-05-08HUAWEI TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
HUAWEI TECH CO LTD
Filing Date
2024-11-06
Publication Date
2026-05-08

AI Technical Summary

Technical Problem

In existing technologies, modifying the control mode of a whole-house smart scene is a cumbersome and complex process, which negatively impacts the user experience.

Method used

By acquiring a control mode that meets preset conditions on the terminal device and displaying adjustment controls in the preset state, users can directly trigger the acquisition of adjusted parameters to update the control mode, reducing the steps of searching and adjusting.

Benefits of technology

It simplifies the steps for users to modify control modes, reduces the complexity of parameter adjustments, and improves user experience and efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121995778A_ABST
    Figure CN121995778A_ABST
Patent Text Reader

Abstract

The invention provides an equipment control method and electronic equipment, relates to the technical field of terminals, and can reduce the steps of editing parameters and editing a control mode by a user and improve the efficiency and convenience of editing the control mode. In the method, a first device obtains a first control mode of which the use condition of a user meets a preset condition in at least one control mode, displays a first page related to the first control mode under the condition that the first device is in a preset state, and responds to a trigger operation of the user on a first control on the first page. And obtaining at least one first parameter of the adjusted first control mode, and updating the first control mode according to the at least one adjusted first parameter. Wherein the at least one first parameter is used for changing the state of the at least one second device in the first control mode.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

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

[0002] Smart home scenarios are diverse, including home arrival scenarios, away scenarios, movie-watching scenarios, and guest reception scenarios, covering all aspects of daily life. Users can customize different scenarios according to their needs. For example, multiple home appliances such as lights, curtains, and air conditioners can be combined into a scenario, and these devices can be controlled simultaneously through a button or voice command, thereby achieving intelligent management of home appliances. For example, in the home arrival scenario, after the user opens the door, the entryway light, living room light, curtains, and TV can be turned on automatically and in sequence to create a warm homecoming atmosphere.

[0003] Currently, when a user is dissatisfied with a scene and wants to modify it, they need to open the corresponding application on their terminal device, enter the scene page, select the scene they want to modify, enter the scene page, select the device they want to adjust on the scene page, then select the parameter they want to adjust from the many parameters involved in the device, and finally click save. This device control method is cumbersome and complicated to set up, which affects the user experience. Summary of the Invention

[0004] This application provides a device control method and an electronic device that can acquire a control mode that meets preset conditions. When the user indicates that the control mode should be adjusted, the parameters of the adjusted control mode can be acquired to update the control mode. This reduces the steps required for the user to find the control mode and the parameters to be adjusted, and improves the efficiency and convenience of control mode modification.

[0005] To achieve the above objectives, the embodiments of this application adopt the following technical solutions:

[0006] In a first aspect, a device control method is provided, applied to a first device, the first device being used to control at least one second device. The first device includes at least one control mode, each control mode corresponding to at least one second device, and at least one second device being used to operate when the control mode is enabled. Different control modes implement different functions. In this device control method, firstly, the first device acquires a first control mode; then, when the first device is in a preset state, the first device displays a first page related to the first control mode; subsequently, in response to a user's trigger operation on a first control, the first device acquires at least one first parameter of the adjusted first control mode; finally, the first device updates the first control mode according to the adjusted at least one first parameter.

[0007] Among them, at least one control mode includes a first control mode, which is determined by the user's usage conditions meeting preset conditions.

[0008] For example, the first control mode can be a control mode that the user frequently edits among at least one control mode, or it can be a control mode that the user is extremely dissatisfied with among at least one control mode.

[0009] The first page includes a first control for adjusting the first control mode.

[0010] In this configuration, at least one first parameter is used to change the state of at least one second device in the first control mode.

[0011] For example, the first device can be a central control device, such as a smart remote control or switch panel, and the second device can be a smart home device, such as a light, air conditioner, curtains, or speaker.

[0012] For example, the control mode can be different application scenarios, such as home scenario, meeting scenario, movie-watching scenario, and waking-up scenario. Different application scenarios can control the corresponding second device to achieve the corresponding function. For example, in the home scenario, the user turns on the entrance light after opening the door, and turns on the living room light and turns off the entrance light after the user enters the living room. In the waking-up scenario, the first device turns on the alarm clock after detecting that the device time has reached the 6 o'clock alarm time, and turns off the alarm clock after detecting that the user gets out of bed.

[0013] For example, the first device may be in a preset state when the first device reaches a preset prompt time, or when the first device detects that the user is approaching.

[0014] In the above-mentioned device control method, a first control mode is obtained through preset conditions. When the first device is in a preset state, a first control for adjusting the first control mode is displayed. After the user clicks the first control, the first parameter after the first control mode is adjusted is obtained in order to update the first control mode. This reduces the steps for the user to find the first control mode and the first parameter step by step, reduces the complexity of parameter adjustment, and improves the efficiency and convenience of parameter adjustment and control mode adjustment, thereby improving the user experience.

[0015] In one possible implementation of the first aspect, the electronic device transforms the second data based on the first data to obtain the third data. Then, based on the second and third data, the electronic device determines the target floor where it is located when moving or staying in the building. It is evident that by transforming the second data, the accuracy of determining the target floor where the electronic device is located when moving or staying in the building can be further improved.

[0016] In one possible implementation of the first aspect, the first device, in response to a user's triggering operation on the second control, retains at least one first parameter of the first control mode. Therefore, if the user is satisfied with the first control mode, they can continue using it by clicking the second control, allowing the first device to record the user's preferences and subsequently provide services that better meet the user's needs.

[0017] In one possible implementation of the first aspect, when the first device, in response to a user's trigger operation on the first control, obtains at least one first parameter of the adjusted first control mode, firstly, the first device, in response to the user's trigger operation on the first control, obtains the probability that each of the at least one second device in the first control mode will be adjusted; wherein the probability that each second device will be adjusted is determined based on the user's historical operations on the first control mode; then, the first device obtains the adjustment operation of each of the at least one second device whose probability of adjustment is greater than a preset probability; wherein the adjustment operation is used to change the state of the corresponding second device; finally, the first device obtains at least one first parameter of the adjusted first control mode based on the adjustment operation of each of the at least one second device. It is evident that the obtained adjusted first parameter conforms to the user's historical operating habits, reducing the process of the user editing parameters and improving the efficiency of adjusting the first control mode.

[0018] In one possible implementation of the first aspect, when the first device obtains at least one first parameter of the adjusted first control mode in response to a user's trigger operation on the first control, firstly, the first device displays a second page in response to the user's trigger operation on the first control; wherein the second page includes at least one first parameter in the first control mode and adjustment controls corresponding to each of the at least one first parameter; finally, the first device obtains at least one first parameter of the adjusted first control mode in response to the user's trigger operation on the adjustment controls corresponding to each of the at least one first parameter.

[0019] For example, when the first parameter is adjusted, the corresponding second device can operate in real time. For instance, if the first parameter is the brightness of the light, the user can observe the change in the brightness of the light in real time. It can be seen that the first device can actively acquire the adjusted first parameter, and the user can also manually continue to adjust the adjusted first parameter. Alternatively, the unadjusted first parameter can be displayed on the second page, and the user can manually adjust the unadjusted first parameter to make the adjusted first parameter better meet the user's needs and improve user satisfaction.

[0020] In one possible implementation of the first aspect, multiple first parameters in the first control mode correspond to different groups; the groups are used to simultaneously control multiple second devices corresponding to each first parameter within the same group; the second page includes multiple third controls for switching groups; when the second page displays at least one first parameter of the group corresponding to the first third control among the multiple third controls, the first device responds to the user's trigger operation on the second third control among the multiple third controls by displaying at least one first parameter of the group corresponding to the second third control and adjustment controls corresponding to the at least one first parameter of the group corresponding to the second third control on the second page. It is evident that by using groups, the first parameters corresponding to multiple second devices within the same group can be adjusted simultaneously, improving the efficiency of parameter adjustment.

[0021] In one possible implementation of the first aspect, the group includes multiple subgroups; the subgroups are used to simultaneously control multiple second devices corresponding to each first parameter under the same subgroup; when the number of subgroups is less than or equal to the preset number of groups, the second page includes multiple fourth controls for switching subgroups; when the second page displays at least one first parameter of the subgroup corresponding to the first fourth control among the multiple fourth controls, the first device responds to the user's trigger operation on the second fourth control among the multiple fourth controls, and displays at least one first parameter of the subgroup corresponding to the second fourth control and adjustment controls corresponding to the at least one first parameter of the subgroup corresponding to the second fourth control on the second page. It is evident that refined subgroups can divide the first parameters corresponding to multiple second devices according to user needs, and the functions achieved by adjusting the first parameters are more in line with user needs, further improving user satisfaction.

[0022] In one possible implementation of the first aspect, when the number of subgroups exceeds a preset number of groups, the second page includes a fifth control for expanding multiple subgroups; the first device, in response to a user's triggering operation on the fifth control, displays a sixth control among the multiple subgroups corresponding to the fifth control, used for switching between each subgroup; the first device, in response to a user's triggering operation on a target control among the multiple sixth controls, displays at least one first parameter of the subgroup corresponding to the target control and adjustment controls corresponding to each of the at least one first parameter of the subgroup corresponding to the target control. Thus, the problem of the first device being unable to display each group on the second page is solved, further improving the user experience.

[0023] In one possible implementation of the first aspect, the second page includes a seventh control for determining the use of at least one adjusted first parameter; when the first device updates the first control mode according to the at least one adjusted first parameter, firstly, the first device obtains a modification script corresponding to the first control mode according to the at least one adjusted first parameter; wherein, the modification script is used to modify the first control mode; finally, in response to the user's trigger operation on the seventh control, the first device executes the modification script corresponding to the first control mode to update the first control mode. Therefore, the first device can only update the first control mode after user confirmation, ensuring that the updated first control mode meets the user's needs and further improving user satisfaction.

[0024] In a second aspect, an electronic device is provided, the electronic device including a memory and one or more processors; the memory is coupled to the processors; wherein the memory stores computer program code, the computer program code including computer instructions, and when the computer instructions are executed by the processor, the electronic device performs the device control method as described in the first aspect and any implementation thereof.

[0025] Thirdly, a computer-readable storage medium is provided, including computer instructions that, when executed on an electronic device, cause the electronic device to perform the device control method as described in the first aspect and any implementation thereof.

[0026] Fourthly, a computer program product is provided that, when run on an electronic device, causes the electronic device to execute the device control method as described in the first aspect and any implementation thereof.

[0027] The beneficial effects that the electronic device provided in the second aspect, the computer-readable storage medium provided in the third aspect, and the computer program product provided in the fourth aspect can achieve are similar to the beneficial effects that can be achieved in the first aspect and any of its implementations, and will not be repeated here. Attached Figure Description

[0028] Figure 1 This illustration shows a schematic diagram of scene editing in the prior art provided by an embodiment of this application;

[0029] Figure 2 This illustration shows a schematic diagram of a prior art survey provided by an embodiment of this application;

[0030] Figure 3 This paper shows a schematic diagram of the structure of a device control system provided in an embodiment of this application;

[0031] Figure 4 A schematic diagram of the hardware structure of an electronic device provided in an embodiment of this application is shown;

[0032] Figure 5 A schematic diagram of the software structure of an electronic device provided in an embodiment of this application is shown;

[0033] Figure 6 This document shows one of the flowcharts illustrating an adjustment control mode provided in an embodiment of this application;

[0034] Figure 7 This illustration shows a schematic diagram of obtaining a first parameter according to an embodiment of this application;

[0035] Figure 8 This illustration shows one of the schematic diagrams of a first page provided in an embodiment of this application;

[0036] Figure 9 This illustration shows one of the schematic diagrams of a second page provided in an embodiment of this application;

[0037] Figure 10 This illustration shows a second schematic diagram of a first page provided in an embodiment of this application;

[0038] Figure 11 This illustration shows a third schematic diagram of a first page provided in an embodiment of this application;

[0039] Figure 12 This illustration shows a second schematic diagram of a second page provided in an embodiment of this application;

[0040] Figure 13 This illustration shows a third schematic diagram of a second page provided in an embodiment of this application;

[0041] Figure 14 This illustration shows a fourth schematic diagram of a second page provided in an embodiment of this application;

[0042] Figure 15 The fifth illustration shows a second page provided in an embodiment of this application;

[0043] Figure 16 This illustration shows a sixth schematic diagram of a second page provided in an embodiment of this application;

[0044] Figure 17 This is illustrated as a seventh schematic diagram of a second page provided in an embodiment of this application;

[0045] Figure 18 This illustration shows an eighth schematic diagram of a second page provided in an embodiment of this application;

[0046] Figure 19 This illustrates a second flowchart of an adjustment control mode provided in an embodiment of this application;

[0047] Figure 20A schematic diagram of the hardware structure of another electronic device provided in an embodiment of this application is shown. Detailed Implementation

[0048] The technical solutions of the embodiments of this application will be described below with reference to the accompanying drawings. In the description of this application, unless otherwise stated, " / " indicates that the objects before and after are in an "or" relationship. For example, A / B can represent A or B. "And / or" in this application is merely a description of the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A alone, A and B simultaneously, and B alone, where A and B can be singular or plural. Furthermore, in the description of this application, unless otherwise stated, "multiple" refers to two or more. "At least one of the following" or similar expressions refer to any combination of these items, including any combination of single or plural items. For example, at least one of a, b, or c can represent: a, b, c, ab, ac, bc, or abc, where a, b, and c can be single or multiple. Furthermore, to facilitate a clear description of the technical solutions in the embodiments of this application, the terms "first" and "second" are used in the embodiments of this application to distinguish identical or similar items with substantially the same function and effect. Those skilled in the art will understand that the terms "first" and "second" do not limit the quantity or execution order, and that "first" and "second" are not necessarily different. Meanwhile, in the embodiments of this application, the terms "exemplary" or "for example" are used to indicate that something is being used as an example, illustration, or description. Any embodiment or design scheme described as "exemplary" or "for example" in the embodiments of this application should not be construed as being more preferred or advantageous than other embodiments or design schemes. Specifically, the use of terms such as "exemplary" or "for example" is intended to present related concepts in a concrete manner for ease of understanding.

[0049] Furthermore, the business scenarios described in the embodiments of this application are for the purpose of more clearly illustrating the technical solutions of the embodiments of this application, and do not constitute a limitation on the technical solutions provided by the embodiments of this application. As those skilled in the art will know, with the emergence of new business scenarios, the technical solutions provided by the embodiments of this application are also applicable to similar technical problems.

[0050] Whole-house smart home technology connects various devices and appliances in the home through sensors, smart devices, and internet technology. Through intelligent control programs, it achieves automated operation and human-computer interaction, providing a more intelligent, efficient, safe, and comfortable home living experience. The applications of whole-house smart home technology are very extensive. For example, in the morning, the curtains automatically open based on the light, the smart speaker plays today's weather and a music alarm, the lights automatically turn on, the double-layered curtains automatically open, and the alarm clock automatically turns off after the feet touch the ground, making the morning warmer and more pleasant. Another example is in the security scenario: when the smart home switches to "security mode," all devices begin protecting the home. For instance, door and window sensors detect when someone breaks in and automatically alert the homeowner; in the event of a gas leak, the gas sensor notifies the homeowner via a mobile app, and simultaneously triggers a smart robotic arm to automatically shut off the valve.

[0051] The application scenarios of whole-house smart technology can be adjusted according to individual lifestyle habits, preferences, and actual needs. Specific adjustments can be made through the corresponding management software for the whole-house smart system. Figure 1 As shown, after opening the management software, click the "Scene" menu to enter the "My Scenes" page. Click the "Going Home" scene card to enter the "Going Home" scene page. The "Going Home" scene page displays all the items that can be modified. After clicking the corresponding item, a list of items that can be modified will pop up. For example, the list may include a list of light groups and light group brightness. By clicking "Light Group List", select the light group you want to modify. After clicking "Light Group Brightness", slide the corresponding adjustment control in the pop-up "Light Group Brightness" drop-down box to adjust the brightness of the corresponding light group. Finally, click the confirmation control to save and get the modified "Going Home" scene.

[0052] For example, such as Figure 2 The survey content is presented in three parts. The first part summarizes key findings, such as: 1) User scenarios primarily involve controlling lights and curtains; 2) Scene modifications mainly focus on switching lights on and off and adjusting brightness; and 3) Scene arrangement is difficult. The second part presents user profiles, including user name, region, and corresponding descriptions such as years of experience in whole-house services, job title, projects participated in, number of services provided, and personal experience. The third part includes transcripts of interviews with users, including survey questions and user responses. Analysis of the survey content reveals that whole-house smart home applications involve numerous parameters, but the number of parameters that can actually be modified is relatively small. Users are required to click through a series of parameters to find the ones they need, a cumbersome and complex process that can lead to users not being able to find the desired parameters, increasing the complexity of parameter settings and hindering quick parameter adjustments, thus negatively impacting the user experience.

[0053] In view of this, embodiments of this application provide a device control method applied to a terminal device. The terminal device controls at least one home appliance. The terminal device includes at least one scene, and each scene includes at least one home appliance. The at least one home appliance operates when the scene is activated, and different scenes implement different functions. The method includes: the terminal device acquiring a first scene to be fed back; the terminal device prompting the user with experience feedback information for the first scene when a prompting condition is met; the user selecting whether they are satisfied or dissatisfied with the first scene; and if the user selects dissatisfaction with the first scene, acquiring the adjusted parameters of the first scene to adjust the first scene. It is evident that by proactively prompting the user to modify the first scene, the terminal device eliminates the need for the user to search for the scene modification entry step by step, reducing the steps involved in scene modification. Furthermore, directly acquiring the adjusted parameters of the first scene reduces the complexity of scene modification and improves the user experience.

[0054] In some embodiments, the method provided in this application is applied to a first device, which controls at least one second device. The first device includes at least one control mode, each control mode corresponding to at least one second device, and the at least one second device is used to operate when the control mode is enabled; different control modes implement different functions. In this method, firstly, the first device acquires a first control mode; then, when the first device is in a preset state, the first device displays a first page related to the first control mode; subsequently, in response to a user's trigger operation on a first control on the first page, the first device acquires at least one first parameter of the adjusted first control mode; finally, the first device updates the first control mode according to the adjusted at least one first parameter.

[0055] For example, the first device can be an electronic device in the home used to manage smart home devices. For example, the first device can be any one of a mobile phone, smart remote control, smart central control device, smart central control screen or switch panel; the second device can be any one of smart home devices in the home. For example, the second device can be any one of a smart light bulb, smart switch, smart curtain, smart door lock, smart speaker, smart TV, smart smoke detector, smart air conditioner, smart refrigerator, smart washing machine, robot vacuum cleaner, smart irrigation equipment, smart feeder.

[0056] For example, the control mode is an application scenario consisting of at least one second device, such as a home scenario, a movie-watching scenario, a guest-meeting scenario, and a wake-up scenario. The user can control at least one second device corresponding to the application scenario by issuing a command to the first device to execute a certain application scenario, or by automatically executing the corresponding application scenario according to the effective time set by the application scenario, thereby realizing the function corresponding to the application scenario.

[0057] For example, when a user issues a command to the first device to execute a homecoming scenario, the first device turns on the living room lights according to the brightness and color temperature set in the homecoming scenario, turns on the air conditioner according to the temperature, wind speed, and airflow direction set in the homecoming scenario, and turns on the speakers to play music according to the volume and playlist set in the homecoming scenario, thereby creating a homecoming atmosphere.

[0058] For example, when a user issues a command to the first device to execute a movie-watching scene, the first device opens the corresponding curtains according to the opening degree set in the movie-watching scene, turns on the corresponding ambient lights according to the brightness and color temperature set in the movie-watching scene, and turns on the projector according to the volume and brightness set in the movie-watching scene, thereby creating a movie-watching atmosphere.

[0059] For example, when a user issues a command to the first device to execute a meeting scene, the first device turns on the lights in the corresponding basic lighting group according to the brightness and color temperature of the basic lighting group in the living room set in the meeting scene; turns on the lights in the corresponding ambient lighting (wall) group according to the brightness and color temperature of the ambient lighting (ceiling) group in the living room set in the meeting scene; and turns on the lights in the corresponding accent lighting group according to the brightness and color temperature of the accent lighting group in the living room set in the meeting scene, thereby achieving the function of creating a meeting atmosphere.

[0060] For example, when the first device obtains that its current device time has reached the effective time set in the wake-up scenario, the first device turns on the alarm clock according to the volume and music set in the wake-up scenario, opens the corresponding curtains according to the opening degree set in the wake-up scenario, and after the first device obtains the information that the user has gotten out of bed, it turns off the alarm clock and controls the speaker to play the weather of the day, thereby creating a wake-up atmosphere.

[0061] Among them, at least one control mode includes a first control mode, which is determined by the user's usage conditions meeting preset conditions.

[0062] In this configuration, at least one first parameter is used to change the state of at least one second device in the first control mode.

[0063] The first page includes a first control for adjusting the first control mode.

[0064] In the above method, the first device can prompt the user to provide feedback on a certain control mode, reducing the steps for the user to find the control mode that needs to be edited step by step. It can also obtain adjusted parameters for unsatisfactory control modes and modify them, reducing the steps for the user to find the parameters that need to be edited, reducing the complexity of parameter editing, and further improving the speed of editing control modes, thereby improving the user experience.

[0065] The device control method provided in this application can be applied to a device control system. The device control system includes a first device and at least one second device. The first device is communicatively connected to at least one second device, and the first device can control the operation of the corresponding at least one second device through different control modes.

[0066] For example, such as Figure 3 As shown in (a), the equipment control system may include a first device 1, a second device 1, a second device 2, ..., and a second device n; wherein, the first device 1 is communicatively connected to the second devices 1, 2, ..., and n respectively; the first device 1 includes control mode 1, control mode 2, ..., and control mode n, control mode 1 corresponds to the second devices 1 and 2, and control mode 2 corresponds to the second devices 2 and n respectively. When the first device 1 activates control mode 1, the first device 1 controls the operation of the second devices 1 and 2 respectively. When the first device 1 activates control mode 2, the first device 1 controls the operation of the second devices 2 and n respectively.

[0067] In some embodiments, the device control system further includes at least one sensor, which is communicatively connected to the first device. Each sensor sends the collected data to the first device, and the first device can control the corresponding second device according to the data collected by each sensor through the corresponding control mode.

[0068] For example, such as Figure 3 As shown in (b), the equipment control system may further include sensor 1, sensor 2, ..., and sensor n; wherein, the first device 1 is communicatively connected to sensor 1, sensor 2, ..., and sensor n respectively; the first device 1 includes control mode 1, control mode 2, ..., and control mode n, control mode 1 corresponds to sensor 1, second device 1 and second device 2, and control mode 2 corresponds to sensor 2, second device 2 and second device n. When the first device 1 is in control mode 1, the first device 1 controls the operation of second device 1 and second device 2 respectively based on the data collected by sensor 1. When the first device 1 is in control mode 2, the first device 1 controls the operation of second device 2 and second device n respectively based on the data collected by sensor 2.

[0069] In the aforementioned equipment control system, the first device can control at least one corresponding second device to operate through different control modes to achieve different functions and meet user needs.

[0070] In the aforementioned device control system, the first device can be an electronic device such as a mobile phone, tablet computer, wearable device (such as a smartwatch, smart bracelet, etc.), central control device for managing smart home devices (such as a remote control, smart assistant, switch panel, etc.), or vehicle system (such as an in-vehicle terminal). The second device can be a smart home device, such as a television, air conditioner, doors and windows, lights, speakers, etc. This application embodiment does not impose specific limitations on this.

[0071] Figure 4 A schematic diagram of the hardware structure of the aforementioned electronic device is shown, as follows: Figure 4 As shown, the electronic device 100 may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, antenna 1, antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a sensor module 180, buttons 190, a motor 191, an indicator 192, a camera 193, a display screen 194, and a subscriber identification module (SIM) card interface 195, etc. The sensor module 180 may include a proximity sensor 180F.

[0072] It is understood that the structures illustrated in the embodiments of this application do not constitute a specific limitation on the electronic device 100. In other embodiments of this application, the electronic device 100 may include more or fewer components than illustrated, or combine some components, or split some components, or have different component arrangements.

[0073] Processor 110 may include one or more processing units ( Figure 3 (Not shown in the image), for example, processor 110 may include an application processor (AP), a modem processor, a graphics processing unit (GPU), an image signal processor (ISP), a controller, memory, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural network processing unit (NPU), etc. Different processing units may be independent devices or integrated into one or more processors.

[0074] The controller can be the nerve center and command center of the electronic device 100. The controller can generate operation control signals according to the instruction opcode and timing signals to complete the control of fetching and executing instructions.

[0075] In some possible implementations, the processor 110 may specifically control the electronic device 100 to acquire a first control mode, display a first page related to the first control mode when the electronic device 100 is in a preset state, and in response to the user's triggering operation on the first control on the first page, acquire at least one first parameter of the adjusted first control mode, and update the first control mode according to the adjusted at least one first parameter.

[0076] The processor 110 may also include a memory for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. This memory can store instructions or data that the processor 110 has just used or that are used repeatedly. If the processor 110 needs to use the instruction or data again, it can retrieve it directly from the memory. This avoids repeated accesses, reduces the waiting time of the processor 110, and thus improves the efficiency of the system.

[0077] In some embodiments, processor 110 may include one or more interfaces ( Figure 3 (Not shown in the image). For example, USB interface 130 is an interface conforming to the USB standard specification, specifically a Mini USB interface, Micro USB interface, USB Type-C interface, etc. USB interface 130 can be used to connect a charger to charge electronic device 100, and can also be used for data transfer between electronic device 100 and peripheral devices. It can also be used to connect headphones for audio playback. This interface can also be used to connect other electronic devices, such as AR devices.

[0078] The charging management module 140 is used to receive charging input from the charger. The charger can be a wireless charger or a wired charger.

[0079] The power management module 141 is used to connect the battery 142, the charging management module 140, and the processor 110. The power management module 141 receives input from the battery 142 and / or the charging management module 140 to power the processor 110, internal memory 121, external memory, display 194, camera 193, and wireless communication module 160, etc.

[0080] The wireless communication function of electronic device 100 can be realized through antenna 1, antenna 2, mobile communication module 150, wireless communication module 160, modem processor and baseband processor, etc.

[0081] Antennas 1 and 2 are used to transmit and receive electromagnetic wave signals. The mobile communication module 150 can provide wireless communication solutions, including 2G / 3G / 4G / 5G, for use on the electronic device 100. The mobile communication module 150 can receive electromagnetic waves via antenna 1, and perform filtering, amplification, and other processing on the received electromagnetic waves before transmitting them to a modem processor for demodulation. The mobile communication module 150 can also amplify the signal modulated by the modem processor and convert it into electromagnetic waves for radiation via antenna 1.

[0082] The wireless communication module 160 can provide solutions for wireless communication applications on the electronic device 100, including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), Bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), and infrared (IR) technologies. The wireless communication module 160 receives electromagnetic waves via antenna 2, modulates and filters the electromagnetic wave signals, and sends the processed signal to processor 110. The wireless communication module 160 can also receive signals to be transmitted from processor 110, modulate and amplify them, and then convert them into electromagnetic waves for radiation via antenna 2.

[0083] In some embodiments, antenna 1 of electronic device 100 is coupled to mobile communication module 150, and antenna 2 is coupled to wireless communication module 160, so that electronic device 100 can communicate with networks and other devices through wireless communication technology.

[0084] Electronic device 100 implements display functions through a GPU, a display screen 194, and an application processor. The GPU is a microprocessor for image processing, connected to the display screen 194 and the application processor. The GPU performs mathematical and geometric calculations for graphics rendering. Processor 110 may include one or more GPUs, which execute program instructions to generate or modify display information. Display screen 194 is used to display images, videos, etc. Display screen 194 includes a display panel.

[0085] In some possible implementations, the electronic device 100 may display a first page via a display screen 194, and the electronic device 100 may also display at least one first parameter of the adjusted first control mode via the display screen 194.

[0086] It is understood that the display screen 194 mentioned herein can serve as the screen in the following embodiments.

[0087] Electronic device 100 can perform shooting functions through ISP, camera 193, video codec, GPU, display 194 and application processor.

[0088] The ISP is used to process the data fed back by camera 193. Camera 193 is used to capture still images or videos.

[0089] A digital signal processor (DSP) is used to process digital signals, including digital image signals and other digital signals. A video codec is used to compress or decompress digital video. An NPU (Neural Processing Unit) is a neural network (NN) computing processor that, by borrowing the structure of biological neural networks, such as the transmission patterns between neurons in the human brain, rapidly processes input information and can continuously learn. NPUs enable intelligent cognitive applications in electronic devices, such as image recognition, speech recognition, and text understanding.

[0090] The external memory interface 120 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the electronic device 100. The external memory card communicates with the processor 110 through the external memory interface 120 to perform data storage functions.

[0091] In some possible implementations, the electronic device 100 may store the usage of control modes, at least one parameter of each control mode, preset conditions, and preset states via an external memory card.

[0092] Internal memory 121 can be used to store computer executable program code, which includes instructions. Processor 110 executes various functional applications and data processing of electronic device 100 by running the instructions stored in internal memory 121. Internal memory 121 may include a program storage area and a data storage area. The program storage area may store the operating system, at least one application program required for a function (such as sound playback, image playback, etc.), etc. The data storage area may store data created during the use of electronic device 100 (such as audio data, phonebook, etc.). Furthermore, internal memory 121 may include high-speed random access memory and may also include non-volatile memory, such as at least one disk storage device, flash memory device, universal flash storage (UFS), etc.

[0093] In some possible implementations, the electronic device 100 may also store the usage of control modes, at least one parameter of each control mode, preset conditions, and preset states through its internal memory 121.

[0094] Electronic device 100 can implement audio functions through audio module 170 and application processor, such as music playback and recording. Audio module 170 is used to convert digital audio information into analog audio signals for output, and also to convert analog audio input into digital audio signals. Audio module 170 can also be used for encoding and decoding audio signals.

[0095] A distance sensor 180F is used to measure distance. The electronic device 100 can measure distance using infrared or laser. In some embodiments, the electronic device 100 can use the distance sensor 180F to measure the distance to the user, and the electronic device 100 can determine whether the electronic device is in a preset state based on the distance to the user, so that if the electronic device is in the preset state, a first page related to the first control mode is displayed.

[0096] Buttons 190 include a power button, volume buttons, etc. Buttons 190 can be mechanical buttons or touch-sensitive buttons. Motor 191 can generate vibration alerts. Motor 191 can be used for incoming call vibration alerts or for touch vibration feedback. Indicator 192 can be an indicator light, used to indicate charging status, battery level changes, or to indicate messages, missed calls, notifications, etc. SIM card interface 195 is used to connect a SIM card.

[0097] based on Figure 4 The electronic device shown implements the device control method in the embodiments of this application, which can reduce the steps for users to edit control modes, reduce the complexity of editing control mode parameters, and improve user experience.

[0098] In some embodiments, such as Figure 5 As shown, the electronic device 100 can also adopt a layered architecture, event-driven architecture, microkernel architecture, microservice architecture, or cloud architecture. This application embodiment uses a layered mobile operating system as an example to exemplify the software structure of the electronic device 100.

[0099] like Figure 5 As shown, the layered architecture divides the software into several layers, each with a clear role and function. Layers communicate with each other through software interfaces. In some embodiments, the mobile operating system is divided into four layers, from top to bottom: the application layer, the application framework layer, the system service layer, and the kernel layer.

[0100] The application layer can include a series of application packages.

[0101] like Figure 5 As shown, the application package may include applications such as camera, gallery, calendar, call, map, navigation, WLAN, Bluetooth, music, video, and SMS.

[0102] In some embodiments, the application layer of the electronic device 100 may include a device management application. Taking the electronic device 100 as a mobile phone as an example, the application may be a pre-installed system-level application or an application downloaded by the user during use as needed. This application embodiment does not make specific limitations on this.

[0103] The application framework layer provides application programming interfaces (APIs) and a programming framework for applications in the application layer. The application framework layer includes some predefined functions.

[0104] like Figure 5 As shown, the application framework layer may include a window manager, content provider, view system, phone manager, resource manager, notification manager, etc.

[0105] The view system includes visual controls, such as controls for displaying text and controls for displaying images. The view system can be used to build applications. The display interface can consist of one or more views.

[0106] The system service layer can include multiple functional modules. For example: surface manager, media libraries, 3D graphics processing libraries (e.g., OpenGL ES), 2D graphics engines (e.g., SGL), etc.

[0107] In some possible implementations, the system service layer may also include a device management module. The device management module is used to obtain a first control mode, display a first page related to the first control mode when the first device is in a preset state, and in response to the user's trigger operation on the first control on the first page, obtain at least one first parameter of the adjusted first control mode and update the first control mode according to the adjusted at least one first parameter.

[0108] The kernel layer is the layer between hardware and software. The kernel layer contains at least the display driver, camera driver, audio driver, and sensor driver.

[0109] In some possible implementations, the display driver is used to drive the display screen of the electronic device to display a first page or at least one first parameter of an adjusted first control mode.

[0110] based on Figure 5The electronic device shown implements the device control method in the embodiments of this application, which can reduce the steps for users to find the entry point for editing the control mode step by step, reduce the complexity for users to edit the parameters of the control mode, and improve the user experience.

[0111] The following uses the example of the above-mentioned electronic device being a central control device and the second device being a smart home device to illustrate the device control method provided in the embodiments of this application. The central control device is used to control at least one smart home device. The central control device includes at least one control mode, each control mode corresponding to at least one smart home device. At least one smart home device is used to operate when the control mode is enabled. Different control modes achieve different functions.

[0112] For example, the control mode can be home mode, movie mode, guest mode, or wake-up mode, etc. Users can set different control modes according to their needs. Each control mode can correspond to at least one smart home device, which can be the same or different. When the smart home devices corresponding to the control modes are the same, the functions that can be achieved are different.

[0113] For example, the Home Mode and Movie Mode include the same smart home devices: curtains, TV, and lights; however, the brightness and color temperature of the lights in Home Mode are different from those in Movie Mode, and the opening and closing degree of the curtains in Home Mode are different from those in Movie Mode. Thus, Home Mode can control the corresponding smart home devices to create a warm home scene, and Movie Mode can control the corresponding smart home devices to create a movie scene.

[0114] See Figure 6 As shown, the above-mentioned equipment control method may include the following steps S601-S604.

[0115] S601, The central control device acquires the first control mode.

[0116] Among them, at least one control mode includes a first control mode, which is a mode in which the user's usage meets preset conditions.

[0117] For example, the central control device can determine the first control mode. Before determining the first control mode, the central control device can store the usage information of each control mode, including the number of times it is executed, the number of times it is modified, and the modified parameters. The central control device can count the usage information of the control modes executed by the user within the current statistical period according to the preset statistical time. Based on the usage information of each executed control mode, the central control device can determine the control mode that meets the preset conditions as the first control mode.

[0118] For example, the entry point for using the control mode is not limited to the central control device. For instance, the central control device can be associated with terminal devices such as mobile phones and vehicle terminals. Users can use the control mode on the associated mobile phones and vehicle terminals, and the usage of each control mode will also be stored in the central control device.

[0119] For example, the user's usage of the first control mode meets the preset conditions if the usage frequency of the first control mode is greater than the preset usage frequency within a preset statistical time period. Alternatively, the user's usage of the first control mode meets the preset conditions if the usage frequency of the first control mode is the highest among all control modes within the preset statistical time period.

[0120] In some embodiments, the control mode also corresponds to at least one sensor, which is used to collect data so that the central control device can control the corresponding smart home device based on the collected data; the first control mode being satisfied by the user's usage conditions can also be that any sensor corresponding to the first control mode is turned off within a preset statistical time period.

[0121] For example, the sensor can be any one of the following: pressure sensor, temperature sensor, humidity sensor, light sensor, motion sensor, smoke and carbon monoxide sensor, or air quality sensor. For instance, a pressure sensor can be deployed under the floor, allowing the central control device to determine if the user has woken up based on the pressure data collected by the sensor, and then control the alarm clock smart home device to turn off upon confirmation. The central control device can monitor indoor and outdoor temperatures using a temperature sensor, thereby adjusting the air conditioning and heating smart home devices. It can also monitor humidity levels using a humidity sensor, thereby adjusting the humidifier smart home device. Finally, the central control device can monitor indoor and outdoor light intensity using a light sensor. This allows the central control device to adjust smart home devices such as curtains and indoor lighting; it can also use motion sensors to detect movement in the room and turn on or off the corresponding smart home devices; it can use smoke and carbon monoxide sensors to monitor the concentration of smoke and carbon monoxide in the air, and when the concentration reaches a preset value, it generates an alarm to alert the user and opens the window smart home device; and it can use air quality sensors to monitor indoor air quality, including the concentration of harmful gases, particulate matter, and carbon dioxide, and when it determines that the air quality is poor, it can turn on the air purifier smart home device to determine the cause of the poor air quality.

[0122] For example, the preset statistical time can be a preset statistical time point or a preset statistical time period. For example, the preset statistical time can be 3:00 AM every Monday or every 15 days. The first control mode can be a control mode that the user frequently uses. For example, the first control mode can be the control mode with the highest usage frequency among all control modes counted in this statistical time period. The first control mode can also be a control mode whose usage frequency among all control modes counted in this statistical time period is greater than the preset usage frequency. The first control mode can also be a control mode that the user is extremely dissatisfied with. For example, the first control mode can be a control mode whose sensor is turned off by the user during this statistical time period.

[0123] As can be seen, by setting preset conditions, the first control mode that users are dissatisfied with or that users frequently use can be obtained, which facilitates users to provide feedback on their experience with the first control mode and improves the user experience.

[0124] S602. When the central control device is in a preset state, the central control device displays the first page related to the first control mode.

[0125] The central control device being in a preset state includes any of the following: the device time of the central control device reaches the preset prompt time; the distance between the user and the central control device is within the preset range for the first time after acquiring the first control mode; or the distance between the user and the central control device is within the preset range for the first time when the device time of the central control device reaches the preset prompt time.

[0126] For example, the preset prompt time can be a preset prompt time point or a preset prompt time period. For instance, the preset prompt time is 9:00 AM after the first control mode is acquired. If the device time of the central control device reaches 9:00 AM, the central control device will display the first page related to the first control mode. Alternatively, the preset prompt time is six hours after the first control mode is acquired. If the central control device acquires the first control mode at 3:00 AM, the central control device will display the first page related to the first control mode at 9:00 AM.

[0127] For example, the preset state could also be the situation when the user first approaches the central control device after it has acquired the first control mode. For instance, if the central control device acquires the first control mode at 3:00 AM, then when the user approaches the central control device for the first time, the central control device will display the first page related to the first control mode and prompt the user to provide feedback on the experience of the first control mode.

[0128] For example, the preset state could also be the situation where the user first approaches the central control device after the device time of the central control device reaches a preset prompt time. For instance, the preset prompt time is 9:00 AM after the first control mode is acquired. After the device time of the central control device reaches 9:00 AM, it monitors the distance to the user. When it detects that the distance to the user is within the preset range, that is, the user has approached the central control device, the central control device will display the first page and prompt the user to provide feedback on the experience of the first control mode.

[0129] In some embodiments, the central control device may provide voice prompts to the user to provide feedback on the first control mode and display a first page related to the first control mode.

[0130] For example, if the first control mode is the home mode, and the central control device is in a preset state, the central control device can announce "Good morning, master. Are you satisfied with the home mode?" to prompt the user to provide feedback on the home mode experience.

[0131] The first page includes a first control for adjusting the first control mode and a second control for maintaining the first control mode.

[0132] For example, the first control mode is the home mode, and the first page is a user feedback page on the home mode experience. The page includes a second control (e.g., a "not bad" control) for indicating that the user is satisfied with the home mode, and a first control (e.g., a "needs improvement" control) for indicating that the user is dissatisfied with the home mode.

[0133] As can be seen, the central control device can determine whether to prompt the user based on the preset state, which improves the effectiveness of the prompt and ensures that the user can hear or see the prompt information so as to provide feedback on the first control mode.

[0134] In some embodiments, the central control device, in response to a user's triggering operation on the second control, maintains at least one first parameter of the first control mode.

[0135] For example, at least one first parameter is used so that, if the user is satisfied with the first control mode, the user can click a second control to retain at least one first parameter of the first control mode stored in the central control device, without modifying the first control mode, and the central control device returns to the main page. Thus, the user can use the controls displayed on the first page to indicate whether they are satisfied with the first control mode. If satisfied, they can continue using the first control mode, allowing the central control device to analyze user preferences and provide more suitable intelligent services.

[0136] S603, the central control device responds to the user's trigger operation on the first control and obtains at least one first parameter of the adjusted first control mode.

[0137] For example, each control mode has at least one corresponding first parameter. The central control device obtains at least one first parameter of the adjusted first control mode by adjusting at least one first parameter of the first control mode before adjustment.

[0138] The following explains how to obtain at least one first parameter of the first control mode before adjustment.

[0139] In some embodiments, at least one first parameter can be determined based on parameters corresponding to smart home devices that are frequently modified by multiple users. Each control mode has at least one corresponding parameter, and at least one parameter can change the state of the corresponding smart home device, thereby changing the effect that the corresponding control mode can achieve. Among these parameters, there are a large number of parameters that users do not need to modify, or a large number of parameters that users modify infrequently. The central control device can analyze the frequency of modification of each parameter among multiple parameters and determine the parameters with a frequency greater than the preset modification frequency as the first parameter. Thus, the central control device can obtain the first parameter of the first control mode. In this way, it is only necessary to obtain the adjusted first parameter from the parameters with higher modification frequency, thereby improving the efficiency of parameter modification.

[0140] For example, when determining the first parameter, the central control device can analyze the subsystems involved in the central control device, including at least one of the following: lighting subsystem, sunshade subsystem, heating and ventilation subsystem, and speaker system, to obtain the smart home devices corresponding to each subsystem. Based on the smart home devices corresponding to each subsystem, the modification frequency of the parameters corresponding to each smart home device can be analyzed. The modification frequency can be determined for the smart home devices corresponding to the subsystem or for each smart home device corresponding to each subsystem, thereby determining the first parameter based on the modification frequency of each parameter.

[0141] For example, when determining the first parameter, the central control device can also determine the first parameter based on the operating needs of the smart home device or the activation needs corresponding to the control mode. For instance, if a user wants to turn on the lights and play music after returning home from get off work, the central control device can analyze the user's needs to determine the time when the user wants to run the smart home device or the time when the user wants to activate the control mode, and thus determine that the first parameter can be the effective time, that is, to activate the corresponding control mode and run the corresponding smart home device at the effective time.

[0142] For example, such as Figure 7As shown, for the lighting subsystem corresponding to smart home lighting devices, the central control device analyzes the modification frequency of multiple users on the lighting smart home devices and finds that the most frequently modified adjustments are brightness and color temperature. Therefore, the two primary parameters for the lighting subsystem are brightness and color temperature. For the shading subsystem corresponding to smart home curtain devices, the central control device analyzes the modification frequency of multiple users on the curtain smart home devices and finds that the most frequently modified adjustments are opening / closing degree. Therefore, the primary parameter for the shading subsystem is opening / closing degree. For the speaker system corresponding to smart home speaker devices, the central control device analyzes the modification frequency of multiple users on the speaker smart home devices and finds that the most frequently modified adjustments are volume. Therefore, the primary parameter for the speaker system is volume. Based on the user's need to activate this control mode, the primary parameter can also be the effective time, which can include the start effective time point x1 and the end effective time point x2.

[0143] The following explains how to obtain at least one first parameter of the adjusted first control mode.

[0144] In this process, at least one first parameter of the adjusted first control mode is used to change the state of at least one smart home device in the first control mode.

[0145] For example, a user can click the first control, and the central control device can obtain at least one first parameter of the adjusted first control mode to modify the first control mode. The first parameter can be any one of brightness, color temperature, opening degree, temperature, humidity, wind speed, wind direction, or effective time. When the first parameter is brightness or color temperature, adjusting the brightness or color temperature can change the brightness or color temperature state of the corresponding smart home lighting device. When the first parameter is opening degree, adjusting the opening degree can change the opening degree state of the corresponding smart home curtain device. When the first parameter is temperature, wind speed, or wind direction, adjusting the temperature, humidity, wind speed, or wind direction can change the temperature, humidity, wind speed, or wind direction state of the corresponding smart home air conditioning device. When the first parameter is effective time, adjusting the effective time can change the time state of the smart home device corresponding to the first control mode being controlled.

[0146] For example, at least one first parameter of the adjusted first control mode acquired by the central control device can be automatically generated by the central control device or manually adjusted by the user.

[0147] The following describes at least one first parameter of the adjusted first control mode automatically generated by the central control equipment in two ways.

[0148] Method 1:

[0149] In some embodiments, when the central control device responds to a user's trigger operation on the first control and obtains at least one first parameter of the adjusted first control mode, the central control device, in response to the user's trigger operation on the first control, obtains the probability that each smart home device in the at least one smart home device of the first control mode is adjusted, obtains the adjustment operation of each smart home device in the at least one smart home device whose probability of being adjusted is greater than a preset probability, and obtains at least one first parameter of the adjusted first control mode based on the adjustment operation of each smart home device in the at least one smart home device.

[0150] The probability of each smart home device being adjusted is determined based on the user's historical operations with the first control mode.

[0151] For example, the central control device needs to obtain the historical operations of the first control mode. The central control device can store each operation performed by the user on any control mode. This operation can be adjusting the first parameter of the control mode, adding or deleting smart home devices, or modifying the status of smart home devices. It can also be turning the corresponding sensor of the control mode on or off. Thus, the historical operations of each control mode are obtained, and the historical operations of the first control mode are obtained from the historical operations of each control mode.

[0152] For example, the adjustment operation obtained by the central control device can be determined by a prediction model. The prediction model can predict the user's current adjustment operation based on the historical operations of the first control mode. The prediction model can be deployed in the cloud or locally. The prediction model is determined by training the historical operations of each control mode. The prediction model can also be trained in the cloud and then deployed locally.

[0153] The adjustment operation is used to change the status of the corresponding smart home device.

[0154] For example, if the preset statistical period is 7 days and the first control mode is the "home mode", the central control device determines through the historical operations of the "home mode" that the user modified the brightness and color temperature of the living room light on 5 out of the 7 days. Therefore, the probability that the living room light will be adjusted by the user in the predicted "home mode" is relatively high. The central control device can obtain the brightness and color temperature of the living room light adjusted by the user this time (the two first parameters after adjustment) based on the brightness and color temperature of the living room light adjusted by the user each time on these 5 days (adjustment operation), thereby changing the brightness and color temperature (state) of the living room light in the first control mode.

[0155] As can be seen, the central control device can predict the current adjustment operation of the first control mode based on the user's historical operation of adjusting the first control mode, thereby obtaining the adjusted first parameters and recommending first parameters that conform to the user's habits, reducing the steps for the user to edit parameters and further improving the efficiency of parameter editing.

[0156] Method 2:

[0157] In some embodiments, when the central control device responds to the user's trigger operation on the first control and obtains at least one first parameter of the adjusted first control mode, the central control device also responds to the user's trigger operation on the first control and obtains the probability of the adjustment operation corresponding to the first control mode. If the probability of the adjustment operation is greater than the preset adjustment probability, the central control device obtains at least one first parameter of the adjusted first control mode.

[0158] For example, the adjustment operation may be the central control device predicting, based on the historical operation of the first control mode, at least one smart home device corresponding to the first control mode that the user needs to adjust this time, and the adjusted first parameter corresponding to at least one smart home device. When the user needs to adjust multiple smart home devices, the adjustment operation may be in the form of a sequence of adjustment operations of multiple smart home devices.

[0159] For example, the historical operation corresponding to the "Homecoming Mode" is that the user will increase the brightness of the living room lights and the volume of the speakers every day. When the user expresses dissatisfaction with the "Homecoming Mode", the central control device can predict that the overall probability of needing to increase the brightness of the living room lights and the volume of the speakers this time is greater than the preset adjustment probability based on the historical operation of the "Homecoming Mode". The central control device obtains the adjusted brightness of the living room lights and the volume of the speakers to modify the "Homecoming Mode", reducing the steps for the user to make changes and further improving the efficiency and convenience of modifying the first control mode.

[0160] The following describes at least one first parameter of the adjusted first control mode obtained by manual adjustment by the user.

[0161] In some embodiments, when the central control device obtains at least one first parameter of the adjusted first control mode in response to a user's trigger operation on the first control, the central control device also displays a second page in response to the user's trigger operation on the first control, wherein the second page includes at least one first parameter in the first control mode and adjustment controls corresponding to the at least one first parameter respectively; the central control device obtains at least one first parameter of the adjusted first control mode in response to a user's trigger operation on the adjustment controls corresponding to the at least one first parameter respectively.

[0162] For example, at least one first parameter displayed on the second page can be the first parameter before the first control mode is adjusted. The user can adjust the corresponding first parameter by performing corresponding sliding, clicking or selecting operations on the adjustment control. Alternatively, at least one first parameter displayed on the second page can be the adjusted first parameter obtained by the central control device. If the user is not satisfied with the adjusted first parameter obtained by the central control device, they can also continue to adjust the corresponding first parameter by performing corresponding sliding, clicking or selecting operations on the adjustment control. During the adjustment of the first parameter, the smart home device corresponding to the first parameter can run in real time so that the user can observe the effect brought by the adjusted first parameter in real time.

[0163] The above method is the process of adjusting the first control mode initiated by the central control device. The following describes the process of adjusting the first control mode initiated by the user.

[0164] In some embodiments, users can also actively modify the first control mode. For example, users can manually modify the first control mode on the display screen of the central control device, or they can manually adjust the first control mode through a mobile phone associated with the central control device.

[0165] For example, a user can edit the first control mode through the central control device's display screen. For instance, on the first page displayed on the central control device's display screen, a user can long-press the "Home" mode, and the first page will display something like... Figure 8 As shown in the pop-up window, when the user clicks the "Parameter Adjustment" control, the second page displayed on the central control device will appear as follows. Figure 9 As shown, users can adjust the first parameters such as the effective time and ambient light intensity to adjust the "Going Home" mode. Users can also slide down the second page by moving the slider to view and adjust more first parameters.

[0166] For example, users can also manually adjust the first control mode via a mobile phone associated with the central control device. For instance, a user can open an application on their phone used to manage smart home devices; the application's first page might look like this. Figure 10 As shown, by long-pressing the "Go Home" mode on the first page, the first page will display the following... Figure 11 As shown in the pop-up window, when the user clicks the "Parameter Adjustment" control in the pop-up window, the second page displayed on the phone is as follows. Figure 12As shown, users can click the "All Day" control among the multiple adjustment controls corresponding to the effective time to adjust the effective time of the "Homecoming Mode" to all day. Users can click the "Dark" control among the multiple adjustment controls corresponding to the ambient light intensity to adjust the ambient light intensity of the "Homecoming Mode" to dark. Users can slide the brightness adjustment control to adjust the brightness of the lights corresponding to the "Homecoming Mode" to 50%. Users can slide the color temperature adjustment control to adjust the color temperature of the lights corresponding to the "Homecoming Mode" to 8376k. Users can also click the "0 Minutes" control among the multiple adjustment controls corresponding to the delay time after people leave to adjust the delay time after people leave the "Homecoming Mode" to 0 minutes. Whether the user adjusts the first parameter on the associated mobile phone or on the central control device, the user can observe the changes of the corresponding smart home devices in real time, so as to adjust the first parameter until the user is satisfied.

[0167] It is evident that the adjusted first parameter can be obtained automatically by the central control device or manually adjusted by the user, which improves both the efficiency of parameter editing and the user's satisfaction with parameter editing.

[0168] After obtaining at least one first parameter of the adjusted first control mode, the central control device needs to display the adjusted at least one first parameter on the second page so that the user can view and confirm it, thereby obtaining at least one adjusted first parameter that meets user satisfaction. The following describes the interaction process between the central control device and the user on the second page.

[0169] In some embodiments, the multiple first parameters in the first control mode correspond to different groups; the groups are used to simultaneously control multiple second devices corresponding to each first parameter in the same group; the second page includes multiple third controls for switching groups; when the central control device displays at least one first parameter of the group corresponding to the first third control among the multiple third controls on the second page, in response to the user's trigger operation on the second third control among the multiple third controls, it displays at least one first parameter of the group corresponding to the second third control and adjustment controls corresponding to the at least one first parameter of the group corresponding to the second third control on the second page.

[0170] For example, each first parameter can correspond to multiple second devices, and multiple second devices can be run together in the same group. For instance, when the first parameter is brightness, it can correspond to the living room light and spotlights. The living room light and spotlights are in the same group in the first control mode. In this way, when the user adjusts the brightness, the living room light and spotlights can be adjusted together, further improving the efficiency of parameter editing.

[0171] For example, such as Figure 13As shown, the "Homecoming Mode" is divided into Day and Night groups. The first parameters for both Day and Night include brightness and color temperature, or they may include brightness, color temperature, screen brightness, volume, and effective time period. These first parameters can be adjusted by modifying the corresponding adjustment controls for Day and Night. For example, if the first parameters for both Day and Night include brightness, color temperature, screen brightness, volume, and effective time period, you can adjust the brightness to 0%, screen brightness to 0%, volume to 50%, and effective time period to 8 AM to 3 PM for Daytime, and adjust the brightness to 50% for Nighttime. The brightness of the lights is adjusted to 100%, the volume to 20%, and the effective time period to 7 PM to 11 PM. This means that when the user runs the "Homecoming Mode" from 8 AM to 3 PM, the central control device automatically adjusts the brightness of the corresponding lights to 0%, the opening degree of the corresponding curtains to 0%, and the volume of the corresponding speakers to 50%. Similarly, when the user runs the "Homecoming Mode" from 7 PM to 11 PM, the central control device automatically adjusts the brightness of the corresponding lights to 50%, the opening degree of the corresponding curtains to 100%, and the volume of the corresponding speakers to 20%. This allows the "Homecoming Mode" to present different "homecoming" effects to the user in different settings, i.e., during the day and at night.

[0172] For example, the multiple lights corresponding to the "Home Mode" can be categorized into different light groups based on lighting type, such as basic lighting, ambient lighting (walls), ambient lighting (ceiling), and accent lighting. Each light group can be understood as a category. If the central control device's display screen cannot show multiple categories, a "More" control can be displayed. Clicking the "More" control will display other categories, such as... Figure 14 As shown, the displayed groups are basic lighting, ambient lighting (walls), and accent lighting. When the user clicks the "More" control, ambient lighting (ceiling) can be displayed. It can be seen that the multiple lights under each light group can have their brightness and color temperature adjusted by the user by sliding the corresponding adjustment controls to achieve a lighting effect that better meets the user's needs.

[0173] In some embodiments, a group includes multiple subgroups; a subgroup is used to simultaneously control multiple second devices corresponding to each first parameter under the same subgroup; when the number of subgroups is less than or equal to a preset number of groups, the second page includes multiple fourth controls for switching subgroups; when the central control device displays at least one first parameter of the subgroup corresponding to the first of the multiple fourth controls on the second page, in response to the user's triggering operation on the second fourth control, it displays at least one first parameter of the subgroup corresponding to the second fourth control and adjustment controls corresponding to the at least one first parameter of the subgroup corresponding to the second fourth control on the second page.

[0174] For example, the group can be further subdivided into multiple subgroups, and multiple second devices can be operated together under the same subgroup. Multiple second devices can be divided into different subgroups according to different types, for example, such as... Figure 15 As shown, multiple curtains can be divided into different subgroups according to different types such as fabric curtains, roller blinds, Venetian blinds, and sheer curtains. Each subgroup corresponds to the first fourth control. When the central control device jumps from the first page to the second page, the second page can display the first fourth control by default, that is, as shown in the image. Figure 15 The second page displays the opening degree of the blinds shown. Users can click on any of the other fourth controls. For example, if a user clicks on the Venetian blinds, the second page will display the opening degree of the Venetian blinds.

[0175] As can be seen, the central control device can adjust smart home devices in the same subgroup together according to user needs, further improving the user experience.

[0176] In some embodiments, when the number of subgroups is greater than the preset number of groups, the second page includes a fifth control for expanding multiple subgroups; in response to the user's trigger operation on the fifth control, the central control device displays a sixth control in the multiple subgroups corresponding to the fifth control for switching each subgroup; in response to the user's trigger operation on the target control in the multiple sixth controls, it displays at least one first parameter of the subgroup corresponding to the target control and adjustment controls corresponding to the at least one first parameter of the subgroup corresponding to the target control.

[0177] For example, when there are many groups or subgroups, the central control device cannot directly display the first parameter corresponding to all groups or subgroups. Instead, a fifth control (such as...) can be displayed on the second page. Figure 14 The "More" control in the middle, or such as Figure 16 The fifth control shown in (a) or as in Figure 16 The fifth control shown in (b) can be displayed on the second page when the user clicks it, as shown in the image. Figure 17 The pop-up window shown displays the sixth controls corresponding to multiple subgroups for the user to select from. Alternatively, the second page can display the sixth controls corresponding to multiple subgroups in the form of a drop-down list. The user can click on the target control among the displayed sixth controls. For example, the target control is... Figure 17 The central control equipment displays the "key lighting" as follows: Figure 18 The target control shown in (a) has a first parameter and an adjustment control corresponding to the first parameter, or the central control device displays as shown in (a). Figure 18 The target control shown in (b) has the first parameter and the adjustment control corresponding to the first parameter.

[0178] As can be seen, the central control device can display different pages according to the subgroups or the number of groups, and make adaptive adjustments to the pages to improve the user experience.

[0179] S604. The central control device updates the first control mode based on at least one adjusted first parameter.

[0180] In some embodiments, the second page includes a seventh control for determining the use of at least one adjusted first parameter; when the central control device updates the first control mode according to at least one adjusted first parameter, the central control device obtains the modification script corresponding to the first control mode according to at least one adjusted first parameter, and the central control device executes the modification script corresponding to the first control mode to update the first control mode in response to the user's trigger operation on the seventh control.

[0181] The modified script is used to modify the first control mode.

[0182] For example, the central control device generates a corresponding script file based on the obtained adjusted first parameter, and displays the adjusted first parameter on the second page. If the user does not need to continue manual adjustment, they can click the seventh control (such as...). Figure 9 , Figures 12-18 The "OK" control in the middle confirms the adjustment. The central control device executes the corresponding script file to modify the first parameter of the first control mode to the adjusted first parameter in order to update the first control mode.

[0183] For example, if the user needs to make manual adjustments, they can adjust the adjustment control corresponding to the first parameter that they want to adjust displayed on the second page, and then click the seventh control to confirm the adjustment. The central control device modifies the corresponding script file according to the first parameter that the user manually adjusted, and executes the modified script file, thereby changing the first parameter of the first control mode to the first parameter that the user manually adjusted, so as to update the first control mode.

[0184] It is evident that the central control device needs to update the first control mode based on the user's confirmed operation to ensure that the adjusted first control mode better meets the user's needs, thereby improving the user's satisfaction with the adjustment of the first control mode and thus enhancing the user experience.

[0185] For example, the complete process of updating the first control mode of the central control device can be as follows: Figure 19As shown, the central control device acquires the scene executed by the user each time, and acquires the editing operations for each scene and the editing operations of the smart home devices corresponding to each scene. These editing operations are uploaded to the cloud as training data for model training, resulting in a prediction model. The cloud sends the trained prediction model back to the central control device. Based on the editing operations of the triggered scene, the central control device makes parameter adjustment decisions using the prediction model, acquiring the probability of the predicted adjustment operation. If the probability is greater than the preset adjustment probability, at least one first parameter is acquired after adjustment. The central control device generates a corresponding script file based on this adjusted first parameter and displays it on a second page to provide the user with optimization suggestions for the scene. The user can click the seventh control displayed on the second page for confirmation, and the central control device executes the corresponding script file, thereby achieving automatic adjustment of the scene.

[0186] It is evident that the central control equipment can not only allow users to manually modify the control mode, but also automatically modify unsatisfactory control modes or frequently edited control modes through statistical analysis. This reduces the steps required for users to find the desired control mode and parameters, lowers the complexity of parameter modification, and improves the speed and convenience of parameter modification, thereby enhancing the user experience.

[0187] It is understood that, in order to achieve the above functions, the aforementioned electronic device includes hardware and / or software modules corresponding to perform each function. Based on the algorithmic steps of the various examples described in conjunction with the embodiments disclosed herein, this application can be implemented in hardware or a combination of hardware and computer software. Whether a function is executed in hardware or by computer software driving hardware depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application in conjunction with the embodiments, but such implementation should not be considered beyond the scope of this application.

[0188] This application embodiment can divide the electronic device into functional modules according to the above method example. For example, each function can be divided into its own functional module, or two or more functions can be integrated into one processing module. The integrated module can be implemented in hardware. It should be noted that the module division in this embodiment is illustrative and only represents one logical functional division. In actual implementation, there may be other division methods.

[0189] This application also provides an electronic device, such as... Figure 20 As shown, the electronic device may include one or more processors 2001, memory 2002, and communication interfaces 2003.

[0190] The memory 2002, communication interface 2003, and processor 2001 are coupled together. For example, the memory 2002, communication interface 2003, and processor 2001 can be coupled together via bus 2004.

[0191] The communication interface 2003 is used for data transmission with other devices. The memory 2002 stores computer program code. The computer program code includes computer instructions, which, when executed by the processor 2001, cause the electronic device to perform the device control method described in this embodiment.

[0192] The processor 2001 may be a processor or controller, such as a central processing unit (CPU), a general-purpose processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA), or other programmable logic devices, transistor logic devices, hardware components, or any combination thereof. It can implement or execute the various exemplary logic blocks, modules, and circuits described in connection with this disclosure. The processor may also be a combination that implements computational functions, such as a combination of one or more microprocessors, a combination of a DSP and a microprocessor, etc.

[0193] The bus 2004 can be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc. The aforementioned bus 2004 can be divided into address bus, data bus, control bus, etc. For ease of representation, Figure 20 The bus is represented by a single thick line, but this does not mean that there is only one bus or one type of bus.

[0194] This application also provides a computer-readable storage medium storing computer program code. When the processor executes the computer program code, the electronic device executes the relevant method steps in the above method embodiments.

[0195] The electronic devices and computer storage media provided in this application are used to execute the corresponding methods provided above. Therefore, the beneficial effects they can achieve can be referred to the beneficial effects of the corresponding methods provided above, and will not be repeated here.

[0196] Through the above description of the embodiments, those skilled in the art can clearly understand that, for the sake of convenience and brevity, only the division of the above functional modules is used as an example. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above.

[0197] In the several embodiments provided in this application, it should be understood that the disclosed apparatus and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of modules or units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another device, or some features may be ignored or not executed. Furthermore, the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection between devices or units may be electrical, mechanical, or other forms.

[0198] The units described as separate components may or may not be physically separate. A component shown as a unit can be one or more physical units; that is, it can be located in one place or distributed in multiple different locations. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.

[0199] Furthermore, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.

[0200] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a readable storage medium. Based on this understanding, the technical solution of the embodiments of this application, in essence, or the part that contributes, or all or part of the technical solution, can be embodied in the form of a software product. This software product is stored in a storage medium and includes several instructions to cause a device (which may be a microcontroller, chip, etc.) or processor to execute all or part of the steps of the methods described in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.

[0201] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions within the technical scope disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.

Claims

1. A device control method, characterized in that, The method is applied to a first device, which controls at least one second device. The first device includes at least one control mode, each control mode corresponding to at least one second device, and the at least one second device is used to operate when a control mode is enabled. Different control modes implement different functions. The method includes: A first control mode is obtained; wherein the first control mode is determined by user usage conditions that meet preset conditions; the at least one control mode includes the first control mode. When the first device is in a preset state, a first page related to the first control mode is displayed; wherein, the first page includes a first control for adjusting the first control mode; In response to a user's triggering operation on the first control, at least one first parameter of the adjusted first control mode is obtained; wherein the at least one first parameter is used to change the state of the at least one second device in the first control mode; The first control mode is updated based on the adjusted at least one first parameter.

2. The method according to claim 1, characterized in that, The control mode also corresponds to at least one sensor, which is used to collect data so that the first device controls the corresponding second device based on the collected data. The first control mode is used by the user under preset conditions, including the first control mode being used more frequently than a preset frequency within a preset statistical time period, or the first control mode being used more frequently than any other control mode within a preset statistical time period, or any sensor corresponding to the first control mode being turned off within a preset statistical time period.

3. The method according to claim 1 or 2, characterized in that, The first device being in a preset state includes any one of the following: the device time of the first device reaches a preset reminder time; the distance between the user and the first device is within a preset range for the first time after the first control mode is acquired; or the distance between the user and the first device is within a preset range for the first time when the device time of the first device reaches a preset reminder time.

4. The method according to any one of claims 1-3, characterized in that, The first page further includes a second control for maintaining at least one first parameter of the first control mode; the method further includes: In response to a user's triggering operation on the second control, at least one first parameter of the first control mode is maintained.

5. The method according to any one of claims 1-4, characterized in that, The step of obtaining at least one first parameter of the adjusted first control mode in response to a user's trigger operation on the first control includes: In response to a user's triggering operation on the first control, the probability of each second device in the at least one second device of the first control mode being adjusted is obtained; wherein the probability of each second device being adjusted is determined based on the user's historical operations on the first control mode; The adjustment operation of each of the at least one second device whose probability of being adjusted is greater than a preset probability is obtained; wherein the adjustment operation is used to change the state of the corresponding second device; Based on the adjustment operation of each of the at least one second device, at least one first parameter of the adjusted first control mode is obtained.

6. The method according to any one of claims 1-5, characterized in that, The step of obtaining at least one first parameter of the adjusted first control mode in response to a user's trigger operation on the first control includes: In response to a user's triggering operation on the first control, a second page is displayed; wherein the second page includes at least one first parameter in the first control mode and adjustment controls corresponding to the at least one first parameter respectively; In response to a user's triggering operation on the adjustment controls corresponding to the at least one first parameter, at least one first parameter of the adjusted first control mode is obtained.

7. The method according to claim 6, characterized in that, In the first control mode, multiple first parameters correspond to different groups; the groups are used to simultaneously control multiple second devices corresponding to each first parameter within the same group; the second page includes multiple third controls for switching groups; the method further includes: When at least one first parameter of the group corresponding to the first third control among the plurality of third controls is displayed on the second page, in response to the user's triggering operation on the second third control among the plurality of third controls, at least one first parameter of the group corresponding to the second third control and adjustment controls corresponding to the at least one first parameter of the group corresponding to the second third control are displayed on the second page.

8. The method according to claim 7, characterized in that, The group includes multiple subgroups; the subgroups are used to simultaneously control multiple second devices corresponding to each first parameter under the same subgroup; when the number of subgroups is less than or equal to the preset number of groups, the second page includes multiple fourth controls for switching subgroups; the method further includes: When at least one first parameter of the subgroup corresponding to the first of the plurality of fourth controls is displayed on the second page, in response to the user's triggering operation on the second of the plurality of fourth controls, at least one first parameter of the subgroup corresponding to the second fourth control and adjustment controls corresponding to the at least one first parameter of the subgroup corresponding to the second fourth control are displayed on the second page.

9. The method according to claim 8, characterized in that, If the number of subgroups is greater than the preset number of groups, the second page includes a fifth control for expanding the multiple subgroups; the method further includes: In response to the user's triggering operation on the fifth control, the sixth control, which is used to switch between each subgroup, is displayed from among the multiple subgroups corresponding to the fifth control; In response to a user's triggering operation on a target control among multiple sixth controls, at least one first parameter of the subgroup corresponding to the target control and adjustment controls corresponding to the at least one first parameter of the subgroup corresponding to the target control are displayed.

10. The method according to any one of claims 7-9, characterized in that, The second page includes a seventh control for determining the use of the adjusted at least one first parameter; updating the first control mode according to the adjusted at least one first parameter includes: Based on the adjusted at least one first parameter, a modification script corresponding to the first control mode is obtained; wherein, the modification script is used to modify the first control mode; In response to the user's trigger operation on the seventh control, the modification script corresponding to the first control mode is executed to update the first control mode.

11. An electronic device, characterized in that, The device includes a memory and one or more processors; the memory is coupled to the processors; wherein the memory stores computer program code, the computer program code including computer instructions, which, when executed by the processor, cause the electronic device to perform the device control method as described in any one of claims 1-10.

12. A computer-readable storage medium, characterized in that, Includes computer instructions that, when executed on an electronic device, cause the electronic device to perform the device control method as described in any one of claims 1-10.

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