Scene setting method and electronic equipment

By using interfaces that reflect spatial layout and drag-and-drop controls in smart home systems, the scene setting process is simplified, the complex problems of existing interfaces are solved, and the user experience is improved.

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

Patent Information

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

AI Technical Summary

Technical Problem

The scene setting interface in the existing smart home system is complex and difficult to understand, affecting the user experience.

Method used

By displaying an interface that reflects the spatial layout on the electronic device and using controls to represent the location and functions of the smart device, users can set the scene by dragging and dropping the controls to simplify interface operations.

Benefits of technology

It makes the scene setting interface simpler and easier to understand, reduces user understanding and learning costs, and improves user experience and interaction.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120065763A_ABST
    Figure CN120065763A_ABST
Patent Text Reader

Abstract

The invention discloses a scene setting method and electronic equipment, and relates to the technical field of electronic equipment. The scene setting interface can be simpler, the user can understand the scene conveniently, the usability and interestingness of scene setting are improved, and the user experience is improved. The method can be applied to the electronic device comprising a display screen, and comprises the steps that a first interface used for presenting the layout of at least one intelligent device included in a first space is displayed, the at least one intelligent device in the first space comprises a first intelligent device, and the first interface comprises a first control used for representing the first intelligent device; the display position of the first control in the first interface can be used for indicating the layout position of the first intelligent equipment in the first space. Then, a first operation on the first control is obtained, a scene is set in response to the first operation, and the scene can be used for controlling at least one intelligent device including the first intelligent device;
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the technical field of electronic devices, and particularly to a scene setting method and an electronic device. Background Art

[0002] With the development of electronic devices, users have more and more electronic devices. As Figure 1 shown in the home scene, various electronic devices in the home (such as audio and video devices 11, lighting system devices 12, environmental control devices 13, security system devices 14, etc.) are connected together through the Internet of Things technology to form a smart home system, providing users with various functions such as home appliance control, lighting control, and anti-theft alarm.

[0003] Currently, users can perform scene settings through a central control screen, etc., to control one or more electronic devices in the smart home system based on the set scene. For example: setting a homecoming scene, such as starting multiple electronic devices such as the living room lights, air conditioner, and speaker, as well as the startup parameters of each electronic device, at a preset time point. In this way, when the user arrives home, multiple electronic devices can be automatically turned on through this scene. However, the current interface for scene setting is complex and not easy to understand, affecting the user experience. Summary of the Invention

[0004] This application provides a scene setting method and an electronic device, which can make the interface for scene setting simpler, easier for users to understand, increase the usability and interest of scene setting, and improve the user experience.

[0005] To achieve the above object, this application adopts the following technical solutions:

[0006] In a first aspect, a scene setting method is provided, which is applied to an electronic device including a display screen. The method includes: displaying a first interface for presenting the layout of at least one smart device included in a first space, where at least one smart device in the first space includes a first smart device, and the first interface includes a first control for representing the first smart device, and the display position of the first control in the first interface is used to indicate the layout position of the first smart device in the first space; obtaining a first operation on the first control; and in response to the first operation, setting a scene for controlling at least one smart device including the first smart device.

[0007] Based on the above technical solution, the electronic device can display a first interface, and the first interface can be used to present the layout of at least one smart device included in the first space. Moreover, the first interface includes a first control for representing a first smart device among the at least one smart device. The display position of the first control in the first interface can be used to indicate the layout position of the first smart device in the first space. In this way, the first interface can be made consistent with the installation and maintenance effect of the first space. Then, according to the operation on the first control, a scene for controlling at least one smart device including the first smart device can be set. Using the interface that reflects the installation and maintenance effect of the first space as the human-computer interaction interface for scene setting can make the interface for scene setting easier for users to understand, reduce the cost for users to understand and learn, and can also enhance the sense of interaction and experience of users during scene setting, increasing the fun of user use. Additionally, users only need to operate on the first control to complete the scene setting for the first smart device, which can reduce the complexity of user operations and the user learning cost.

[0008] In a possible design, after setting the scene in response to the first operation, the method further includes: obtaining a second operation; in response to the second operation, displaying a second interface, where the second interface is used to edit the scene. Based on this design, the electronic device can also present an interface for editing the scene according to user operations. In this way, users can change the settings in the scene set by the electronic device, enabling users to perform diverse scene editing to meet their usage requirements.

[0009] In a possible design, the second interface includes a second control corresponding to the first smart device, and the second control is used to trigger the setting of at least one of the parameters, status, and execution actions of the first smart device. Based on this design, the interface for scene editing can include controls corresponding to smart devices, and users can achieve various settings for the corresponding smart devices through the controls corresponding to the smart devices.

[0010] In a possible design, after the second interface is displayed in response to the second operation, the method further includes: obtaining an operation on the second control, where the second control is a control for representing the first intelligent device; in response to the operation, popping up an editing interface for setting at least one of parameters, status, and execution actions of the first intelligent device. Alternatively, obtaining an editing operation on the second control itself, where the editing operation is for setting at least one of parameters, status, and execution actions of the first intelligent device. Based on this design, the second control is specifically implemented as a control for representing an intelligent device, and the user can trigger a new interface through this control to set the intelligent device. In this way, using the control representing the intelligent device as an interaction entry can enhance the sense of interaction and experience of the user for scene setting and increase the fun of user use. Alternatively, the second control itself directly supports editing. In this way, the user can complete the setting of the corresponding intelligent device by directly editing the second control, which can reduce the complexity of user operations.

[0011] In a possible design, the second interface further includes at least one of a control for setting the role of the intelligent device and a control for setting the scene trigger time. Based on this design, the second interface further includes various types of controls such as a control for setting the role of the intelligent device and a control for setting the scene trigger time, enabling the user to perform various scene editing operations such as setting, changing the role of the device, and setting the scene trigger time.

[0012] In a possible design, after the scene is set in response to the first operation, the method further includes: obtaining a third operation; in response to the third operation, simulating the scene on a third interface, where the third interface is for presenting the effect when the scene is triggered and executed in the first space. Based on this design, the electronic device can also present the effect when the scene is triggered in the set space through the third interface, enabling the user to preview the scene effect and enhancing the user experience.

[0013] In a possible design, the effect when the scene is triggered and executed in the first space includes: the effect presented when the first intelligent device executes according to at least one of a target state, target parameters, and target execution actions, where the target state is the state set in the scene, the target parameters are the parameters set in the scene, and the target execution action is the execution action set in the scene. In this way, the effect of scene simulation can be closer to the real effect when the scene is triggered, enhancing the user experience.

[0014] In a possible design, the third interface includes controls for presenting at least one of the target state, the target parameter, and the target execution action. Based on this design, the electronic device can directly present various settings of the intelligent devices included in the scenario in the form of controls, enabling the user to know the detailed settings of each intelligent device in the scenario according to these controls.

[0015] In a possible design, the third operation includes an operation on a control in the interface displayed on the electronic device, or a voice input operation.

[0016] In a possible design, the first operation is an operation of dragging the first control to the scene generation control. Based on this design, the user only needs to drag the control representing the intelligent device to the scene generation control to complete the scene setting. There is no need for the user to perform complex operations, such as setting the parameters of each device separately, which can reduce the complexity of the user operation and the user learning cost.

[0017] In a possible design, the scene generation control is a control for creating a new scene; in response to the first operation, setting the scene includes: adding the first intelligent device to the new scene; or, the scene generation control is a control corresponding to the set scene; in response to the first operation, setting the scene includes: adding the first intelligent device to the set scene. Based on this design, the electronic device can either create a new scene for the intelligent device or directly add the intelligent device to the set scene, enabling different ways of scene creation.

[0018] In a possible design, before obtaining the first operation on the first control, the method further includes: obtaining a fourth operation; in response to the fourth operation, displaying the scene generation control. Based on this design, the scene generation control is called up through a further operation, that is, the scene generation control may not be displayed on the first interface. In this way, the first interface can be made more concise and beautiful.

[0019] In a possible design, the first interface is generated based on an image obtained by photographing the first space, or based on a design drawing of the first space. Based on this design, generating the first interface according to the image obtained by photographing the first space or the design drawing of the first space can make the first interface closer to the actual installation and maintenance effect of the first space, enhancing the sense of interaction and experience of the user for scene setting and increasing the fun of user use.

[0020] In a possible design, before displaying the first interface, the method further includes: displaying a fourth interface, where the fourth interface includes an image obtained by photographing the first space and the first control. The image includes images of at least one intelligent device in the first space, and the images of the at least one intelligent device include an image of the first intelligent device. The first control is used to identify the first intelligent device; obtaining a fifth operation, where the fifth operation is used to drag the first control to the image of the first intelligent device; in response to the fifth operation, generating the first interface. Based on this design, the user drags the control for identifying the intelligent device to the image of the intelligent device to generate the first interface, which can make the control for identifying the intelligent device associated with the image of the intelligent device. Furthermore, when the user operates the control of the intelligent device to set the scene, the user can know which intelligent device the scene is set for. This improves the interaction and experience of the user when setting the scene and increases the fun of the user's use.

[0021] In a possible design, the first interface is further used to present the layout of at least one intelligent device included in the second space. The at least one intelligent device in the second space includes a second intelligent device. The first interface includes a second control for representing the second intelligent device, and the display position of the second control in the first interface is used to indicate the layout position of the second intelligent device in the second space; the setting the scene in response to the first operation includes: obtaining a sixth operation on the second control; in response to the first operation and the sixth operation, setting the scene, where the scene is used to control multiple intelligent devices including the first intelligent device and the second intelligent device. Based on this design, the layout of the intelligent devices included in different spaces can be presented simultaneously on the first interface, that is, the first interface can present the installation and maintenance effects of different spaces at the same time. In this way, the user can complete the scene setting for the intelligent devices in different spaces without switching the interface, and the operation is simple.

[0022] In a possible design, the setting of the scenario in response to the first operation includes: in response to a seventh operation, displaying a fifth interface for presenting the layout of at least one smart device included in a second space, where at least one smart device in the second space includes a second smart device, and a second control for representing the second smart device is included in the first interface, and the display position of the second control in the first interface is used to indicate the layout position of the second smart device in the second space; obtaining a sixth operation on the second control; and in response to the first operation and the sixth operation, setting a scenario for controlling a plurality of smart devices including the first smart device and the second smart device. In this way, by switching to display interfaces for presenting the layouts of smart devices in different spaces, the user can perform the operation of setting scenarios for smart devices in different spaces.

[0023] In a second aspect, an electronic device is provided, which has the function of implementing the method described in any of the designs in the first aspect above. This function can be implemented by hardware or by hardware executing corresponding software. The hardware or software includes one or more modules corresponding to the above functions. In a possible example, the electronic device includes a processing unit (or processing module) and a display unit (or display module); the processing unit is configured to perform the processing operations in the method described in any of the designs in the first aspect above. The display unit is configured to perform the display operations in the method described in any of the designs in the first aspect above.

[0024] In a possible design, the electronic device may further include a communication unit (or communication module), and the communication unit is configured to perform the communication operations in the method described in any of the designs in the first aspect above.

[0025] In a third aspect, an electronic device is provided, including a processor, a memory, and a display screen. The memory and the display screen are coupled to the processor. The memory is used to store computer program code, and the computer program code includes computer instructions. The processor reads the computer instructions from the memory so that the electronic device executes the method described in any of the designs in the first aspect above. Optionally, the memory may be integrated with the processor or may be separately and independently provided.

[0026] In a possible design, the electronic device further includes a communication interface, which can be used for the electronic device to communicate with other devices. Exemplarily, the communication interface may be a transceiver, an input / output interface, an interface circuit, an output circuit, an input circuit, a pin, or a related circuit, etc.

[0027] Fourthly, a computer-readable storage medium is provided, which includes a computer program. When the computer program runs on an electronic device, the electronic device is enabled to execute the method described in any design of the first aspect above.

[0028] Fifthly, a computer program product is provided, which includes: a computer program or instruction. When the computer program or instruction runs on a computer, the computer is enabled to execute the method described in any design of the first aspect above.

[0029] Sixthly, a chip system is provided, which includes at least one processor and at least one interface circuit. The at least one interface circuit is used to perform transceiver functions and send instructions to the at least one processor. When the at least one processor executes the instructions, the at least one processor executes the method described in any design of the first aspect above.

[0030] Seventhly, a communication system is provided, which includes the electronic device described in the second aspect or the third aspect above, and an intelligent device. The electronic device and the intelligent device cooperate to implement the method described in any design of any aspect above.

[0031] It should be noted that for the technical effects brought by any design in the second aspect to the seventh aspect above, reference can be made to the technical effects brought by the corresponding design in the first aspect, which will not be elaborated here. Description of the Drawings

[0032] Figure 1 A schematic diagram of a home scenario provided by an embodiment of the present application;

[0033] Figure 2 An interface schematic diagram for scene setting of an existing central control screen Figure 1 ;

[0034] Figure 3 An interface schematic diagram for scene setting of an existing central control screen Figure 2 ;

[0035] Figure 4 An interface schematic diagram for scene setting of an existing central control screen Figure 3 ;

[0036] Figure 5 A schematic diagram of the architecture of a communication system provided by an embodiment of the present application;

[0037] Figure 6 A schematic diagram of the structure of a central control screen provided by an embodiment of the present application;

[0038] Figure 7 Another schematic diagram of the structure of a central control screen provided by an embodiment of the present application;

[0039] Figure 8 Schematic diagram of the room interface provided by the embodiment of the present application Figure 1 ;

[0040] Figure 9 Schematic diagram of the room interface provided by the embodiment of the present application Figure 2 ;

[0041] Figure 10 Schematic diagram of the interface for scene setting provided by the embodiment of the present application Figure 1 ;

[0042] Figure 11 Schematic diagram of the interface for scene setting provided by the embodiment of the present application Figure 2 ;

[0043] Figure 12 Schematic diagram of the interface for simulating a scene provided by the embodiment of the present application Figure 1 ;

[0044] Figure 13 Schematic diagram of the interface for scene editing provided by the embodiment of the present application Figure 1 ;

[0045] Figure 14 Schematic diagram of the interface for simulating a scene provided by the embodiment of the present application Figure 2 ;

[0046] Figure 15 Schematic diagram of the interface for scene editing provided by the embodiment of the present application Figure 2 ;

[0047] Figure 16 Schematic diagram of the interface for adding a device provided by the embodiment of the present application Figure 1 ;

[0048] Figure 17 Schematic diagram of the interface for adding a device provided in the embodiment of the present application Figure 2 ;

[0049] Figure 18 Schematic diagram of the room interface provided by the embodiment of the present application Figure 3 ;

[0050] Figure 19 Schematic diagram of generating the room interface provided by the embodiment of the present application Figure 1 ;

[0051] Figure 20 Schematic diagram of generating the room interface provided by the embodiment of the present application Figure 2 ;

[0052] Figure 21 Flow schematic diagram of a scene setting method provided by the embodiment of the present application;

[0053] Figure 22 A schematic structural diagram of an electronic device provided by an embodiment of the present application;

[0054] Figure 23 A schematic architecture diagram of a chip system provided by an embodiment of the present application. Specific embodiments

[0055] The technical solutions provided by the embodiments of the present application will be described in detail below with reference to the accompanying drawings. The terms "including" and "having" and any variations thereof mentioned in the description of the present application are intended to cover non-exclusive inclusion. For example, a process, method, system, product or device that includes a series of steps or units is not limited to the listed steps or units, but may optionally further include other unlisted steps or units, or may optionally further include other steps or units inherent to these processes, methods, products or devices.

[0056] It should be noted that in the embodiments of the present application, words such as "exemplary" or "for example" are used to represent examples, illustrations or explanations. Any embodiment or design solution described as "exemplary" or "for example" in the embodiments of the present application should not be construed as being more preferred or having more advantages than other embodiments or design solutions. Rather, the use of words such as "exemplary" or "for example" is intended to present relevant concepts in a specific manner.

[0057] In the description of the present application, unless otherwise specified, "a plurality of" means two or more. The "and / or" herein is merely a description of the association relationship of associated objects, indicating that there can be three relationships. For example, A and / or B can represent: A exists alone, A and B exist simultaneously, and B exists alone.

[0058] In some scenarios, various electronic devices have entered people's lives, and the concept of a smart home system has been proposed for the home use scenario of electronic devices. The smart home system takes a residence as a platform and uses technologies such as the Internet of Things and automatic control to organically combine various electronic devices and application subsystems related to home life. Among them, the electronic devices in the smart home system can be called smart home devices. Exemplarily, smart home devices can include, but are not limited to, audio-visual devices (such as large-screen devices, Bluetooth speakers, etc.), lighting devices (such as ceiling lights, table lamps, spotlights, etc.), environmental control devices (such as air conditioners, air purifiers, etc.), anti-theft alarm devices (such as human sensors, cameras, etc.).

[0059] During the use of smart home devices, users can create smart home device scenarios through the central control screen to achieve scenario control of smart home devices. For example, according to the actual usage scenario, users can add the smart home devices included in the actual usage scenario to the corresponding scenario and set the trigger conditions and tasks that the smart home devices need to execute. For example: set the leaving-home scenario, which includes turning off multiple devices such as lights, air conditioners, and speakers in all rooms at a preset time point. In this way, when the user leaves home, multiple devices can be automatically turned off through this scenario.

[0060] It can be understood that in the embodiments of the present application, the central control screen (or called the control panel) can refer to a central control system running in the smart home, which integrates the control functions of each smart home device on the central control system and is controlled through the panel.

[0061] Exemplarily, Figure 2 The schematic diagram of the interface for setting (or creating) scenarios through the central control screen in the prior art is shown. As Figure 2 As shown in (1) therein, the central control screen can display the overview interface 200, and the overview interface 200 includes the area 201, in which one or more scenarios set for different rooms are displayed. Such as the full-open curtain scenario in the living room, the leaving scenario in the dining room, etc., and no further examples are given here. One or more controls of subsystems are also displayed, such as: the control 202 of the home security subsystem, the control 203 of the home network subsystem, the control 204 of the home water subsystem, etc. The controls of the subsystems can be used to set the corresponding subsystems. The foregoing subsystems can refer to the systems divided according to the functions of smart home devices. The overview interface 200 also displays device controls 205, scenario controls 206, application icon display area 207, etc. The functions of these controls will not be introduced in detail herein.

[0062] In some scenarios, in response to user operations, the central control screen can switch to display the setting interfaces of different rooms, and users can operate the smart home devices in each room through the setting interfaces of different rooms. For example, users can Figure 2 switch the overview interface 200 to the setting interface of other rooms through the switching control 208 shown in (1) therein. Taking the example that the user switches to the setting interface of the bedroom, in response to the user's switching operation, as Figure 2As shown in (2), the central control screen displays the setting interface 210 of the bedroom. The setting interface 210 includes an area 211, in which one or more scenes set for the bedroom are displayed, such as entering the bedroom, leaving the bedroom, etc. One or more controls of bedroom subsystems (such as lighting subsystem, shading subsystem, heating, cooling and fresh air subsystem, home appliance subsystem, etc.) and a quick menu bar 212 are also displayed. Among them, one or more quick buttons, such as all lights on, all lights off, etc., can be displayed in the quick menu bar 212, and these quick buttons can be used to achieve quick control of smart home devices in the bedroom.

[0063] Among them, in the overview interface 200 as shown in (1) and Figure 2 the setting interface 210 as shown in (2), a scene setting control 20 is displayed, and the user can create a scene through the scene setting control 20. For example, when the central control screen detects a click operation on the scene setting control 20 as shown in (2), in response to this operation, the central control screen can present a scene setting interface 300 as shown in (1). One or more icons of smart home devices in the bedroom (such as ceiling lights, auxiliary lights, temperature control, screen curtains, etc.) can be displayed in the scene setting interface 300. Of course, when setting scenes for smart homes in other rooms, the central control screen can also display icons of smart home devices in other rooms. The user can create a scene by dragging the icons of smart home devices. As Figure 2 shown in (1), icons of curtain, main light, atmosphere light, etc. outside the trigger area 301 can be used to represent that the curtain, main light, atmosphere light, etc. are in the off state. After the central control screen detects that the user drags the icons of curtain, main light, atmosphere light, etc. outside the trigger area 301 into the trigger area 301, in response to this operation, the central control screen can control the curtain, main light, atmosphere light, etc. to start. Correspondingly, the central control screen can present an interface 310 as shown in (2), and the icons of curtain, main light, atmosphere light, etc. inside the trigger area 301 can be used to represent that the curtain, main light, atmosphere light, etc. are in the on state. Figure 2 As shown in (2), in response to this operation, the central control screen can present a scene setting interface 300 as shown in (1). One or more icons of smart home devices in the bedroom (such as ceiling lights, auxiliary lights, temperature control, screen curtains, etc.) can be displayed in the scene setting interface 300. Of course, when setting scenes for smart homes in other rooms, the central control screen can also display icons of smart home devices in other rooms. The user can create a scene by dragging the icons of smart home devices. As Figure 3 shown in (1), icons of curtain, main light, atmosphere light, etc. outside the trigger area 301 can be used to represent that the curtain, main light, atmosphere light, etc. are in the off state. After the central control screen detects that the user drags the icons of curtain, main light, atmosphere light, etc. outside the trigger area 301 into the trigger area 301, in response to this operation, the central control screen can control the curtain, main light, atmosphere light, etc. to start. Correspondingly, the central control screen can present an interface 310 as shown in (2), and the icons of curtain, main light, atmosphere light, etc. inside the trigger area 301 can be used to represent that the curtain, main light, atmosphere light, etc. are in the on state. Figure 3 As shown in (1), icons of curtain, main light, atmosphere light, etc. outside the trigger area 301 can be used to represent that the curtain, main light, atmosphere light, etc. are in the off state. After the central control screen detects that the user drags the icons of curtain, main light, atmosphere light, etc. outside the trigger area 301 into the trigger area 301, in response to this operation, the central control screen can control the curtain, main light, atmosphere light, etc. to start. Correspondingly, the central control screen can present an interface 310 as shown in (2), and the icons of curtain, main light, atmosphere light, etc. inside the trigger area 301 can be used to represent that the curtain, main light, atmosphere light, etc. are in the on state. Figure 3 As shown in (2), the icons of curtain, main light, atmosphere light, etc. inside the trigger area 301 can be used to represent that the curtain, main light, atmosphere light, etc. are in the on state.

[0064] Similarly, after the central control screen detects that the user drags the icon of the smart home device inside the trigger area 301 outside the trigger area 301 (this operation is not shown in the figure), in response to this operation, the central control screen can turn off the corresponding smart home device.

[0065] Furthermore, the user can also set the start parameters of the smart home device. Taking the atmosphere light as an example, as Figure 3As shown in (2), when the central control screen detects an operation such as a user long - pressing the atmosphere light icon 311 in the trigger area 301, in response to this operation, as Figure 4 As shown in (1), the central control screen can present a parameter adjustment interface 400. Among them, the parameter adjustment interface 400 can be used to adjust one or more startup parameters (such as brightness, color temperature, color, etc.) of the atmosphere light. For example, the user can slide the progress bar of each startup parameter respectively to achieve the adjustment of the startup parameter.

[0066] Finally, after the user selects the smart home devices to be started or closed in the above - mentioned manner and sets the startup parameters of each smart home device, the user can Figure 3 As shown in (1), Figure 3 As shown in (2), etc., the user can implement scene setting through the scene generation button 302. For example, the user can perform operations such as clicking on the scene generation button 302 as shown in (2). In response to this operation, the central control screen can present, for example, Figure 3 As shown in (2), the naming interface 410. After the user sets the name of the current scene (such as "Quick Control Main Light") through the naming interface 410, in response to this operation of the user, the central control screen can, according to the icons of the smart home devices within the trigger area 301 as shown in Figure 4 and the startup parameters corresponding to the smart home devices represented by these icons of the smart home devices, create a scene named "Quick Control Main Light". Figure 3

[0067] The interface for scene setting through the central control screen is complex, the entry is difficult for users to find, and the interface for setting scene devices is not easy to understand, which makes the cost for users to understand and learn high, and the interestingness is insufficient, and it is not easy to be used by users.

[0068] Based on this, the embodiment of the present application provides a scene setting method. An electronic device such as a central control screen can present a room interface containing controls representing smart home devices. The user can drag the controls of the smart home devices to the scene creation control. In response to this operation, the central control screen can automatically create a scene. This can make the interface for scene setting on the central control screen easier for users to understand, reduce the cost for users to understand and learn, increase the usability and interestingness of scene setting, and improve the user experience.

[0069] Exemplarily, Figure 5 shows a schematic diagram of the architecture of a communication system to which the scene setting method provided by the embodiment of the present application is applied. As Figure 5 shown, the communication system 500 includes a first electronic device 510 and at least one second electronic device 520 (or referred to as a smart device, a smart electronic device, etc.).

[0070] ​Among them, the first electronic device 510 can be a dedicated device for managing and controlling the second electronic device 520, or a device including the function of managing and controlling the second electronic device 520. Exemplarily, the first electronic device 510 can be presented in various device forms such as a central control screen, a smart screen, a smart city device, a tablet computer, an artificial intelligence (AI) device, a vehicle-mounted device, etc. In some embodiments, the first electronic device 510 can be a central control screen in a smart home system.

[0071] In some embodiments, the first electronic device 510 can provide a human-computer interaction interface, which can provide information of the second electronic device 520 for the user (such as: controls for representing the second electronic device 510, etc.), and receive the user's operation instructions. The user can implement scenario settings through this human-computer interaction interface and control the second electronic device 520 based on the set scenario.

[0072] The second electronic device 520 can be managed and controlled by the first electronic device 510. Optionally, the second electronic device 520 can be, for example, various electronic devices such as a speaker 521, a large-screen device 522, a table lamp 523, an electric lamp 524, a camera 525, an air purifier 526, a smart curtain, a smart air conditioner, a smart door lock, an artificial intelligence device, etc. In some embodiments, the second electronic device 520 can be a smart home device, and connections can be established between the second electronic devices 520 to form a smart home system.

[0073] In some embodiments, Figure 5 The shown communication system 500 may further include a third electronic device 530. Among them, the third electronic device 530 can be used to perform the operation of adding devices and assign one or more second electronic devices 520 to corresponding locations, such as different rooms like a bedroom, a living room, a kitchen, etc. Exemplarily, the third electronic device 530 can include but is not limited to various electronic devices such as a mobile phone, a tablet, a wearable device, an AI device, etc. In some embodiments, a first application can be installed in the third electronic device 530, and the first application can be an application capable of connecting to the second electronic device 520, editing, and managing the second electronic device 520. For example, the first application can be a smart life application, an operation and maintenance application, etc.

[0074] In some embodiments, the first electronic device 510, and / or the second electronic device 520, and / or the third electronic device 530 can be a fixed device or a portable device. Optionally, the operating systems installed on the above-mentioned first electronic device 510, and / or the second electronic device 520, and / or the third electronic device 530 include but are not limited to Or other operating systems. Of course, the first electronic device 510, and / or the second electronic device 520, and / or the third electronic device 530 may not be installed with an operating system either. This application does not limit the specific types of the first electronic device 510, and / or the second electronic device 520, and / or the third electronic device 530, whether an operating system is installed, or the operating system installed when an operating system is installed.

[0075] Optionally, a connection can be established between the above different electronic devices by means of a wired communication method or a wireless communication method. Exemplarily, the wired communication method may include, but is not limited to, power line communication (PLC), etc. The wireless communication method may include, but is not limited to, near field communication (NFC), Bluetooth (BT) (for example, traditional Bluetooth or Bluetooth low energy (BLE)), wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), Zigbee, frequency modulation (FM), infrared (IR), etc.

[0076] Optionally, Figure 5 It can be a simplified schematic diagram for easy understanding. In actual applications, other devices may also be included in the above system, which are not shown in the figure.

[0077] Exemplarily, taking the first electronic device 510 as the central control screen as an example, Figure 6 A schematic structural diagram of a central control screen provided by an embodiment of this application is shown.

[0078] As Figure 6 shown, the central control screen may include a processor 110, a memory 120, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna, a communication module 150, a display screen 160, etc.

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

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

[0081] A memory may also be provided in the processor 110 for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. This memory can save the instructions or data that the processor 110 has just used or recycled. If the processor 110 needs to use the instruction or data again, it can directly call it from the memory. This avoids repeated accesses, reduces the waiting time of the processor 110, and thus improves the efficiency of the system.

[0082] The USB interface 130 is an interface that conforms to the USB standard specification. The USB interface 130 can be used to connect a charger to charge the central control screen, and can also be used for data transmission between the central control screen and peripheral devices. It can also be used to connect headphones to play audio through the headphones. This interface can also be used to connect other electronic devices, such as augmented reality (AR) devices, etc.

[0083] The charging management module 140 is used to receive a charging input from a charger. Among them, the charger can be a wireless charger or a wired charger. In some embodiments of wired charging, the charging management module 140 can receive the charging input of the wired charger through the USB interface 130. In some embodiments of wireless charging, the charging management module 140 can receive the wireless charging input through the wireless charging coil of the central control screen. While charging the battery 142, the charging management module 140 can also supply power to the central control screen through the power management module 141.

[0084] 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 inputs from the battery 142 and / or the charging management module 140 to supply power to the processor 110, the memory 120, the communication module 150, etc.

[0085] The communication function of the central control screen can be implemented through an antenna, the communication module 150, etc.

[0086] The antenna is used to transmit and receive electromagnetic wave signals.

[0087] The communication module 150 can provide wireless communication solutions applied to the central control screen, 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), infrared technology (IR), etc. The communication module 150 can be one or more devices integrating at least one communication processing module.

[0088] In some embodiments, the antenna of the central control screen is coupled to the communication module 150, so that the central control screen can communicate with the network and other devices (such as, including but not limited to, the second electronic device, the third electronic device, etc.) through wireless communication technologies. The wireless communication technologies can include long term evolution (LTE), BT, GNSS, WLAN, NFC, FM, and / or IR technologies, etc.

[0089] The memory 120 can be used to store computer-executable program code, and the executable program code includes instructions. The processor 110 executes various functional applications and data processing of the central control screen by running the instructions stored in the memory 120 and / or the instructions stored in the memory provided in the processor.

[0090] The central control screen realizes the display function through the GPU, the display screen 160, and the application processor, etc. The GPU is a microprocessor for image processing, and is connected to the display screen 160 and the application processor. The GPU is used to execute mathematical and geometric calculations for graphics rendering. The processor 110 may include one or more GPUs, which execute program instructions to generate or change display information.

[0091] The display screen 160 is used to display images, videos, etc. The display screen 160 includes a display panel. In some embodiments, the central control screen may include one or N display screens 160, where N is a positive integer greater than 1. In some embodiments of the present application, the display screen 160 can be used to provide a human-machine interaction interface, through which the user can interact with the central control screen to achieve scene settings.

[0092] Exemplarily, the above only illustrates the structure of the central control screen in the embodiments of the present application, but does not constitute a limitation on the structure and form of the central control screen. The embodiments of the present application do not limit the structure and form of the central control screen. Exemplarily, Figure 7 shows a schematic structural diagram of another central control screen provided by the embodiments of the present application. As Figure 7 shown, the central control screen includes: a processor 701, a memory 702, a transceiver 703, and a display screen 704. The implementation of the processor 701, the memory 702, and the display screen 704 can refer to the implementation of the processor, the memory, and the display screen of the mobile phone described above. The transceiver 703 is used for the central control screen to interact with other devices (such as the second electronic device, the third electronic device, etc.). The transceiver 703 can be a device based on communication protocols such as Wi-Fi, Bluetooth, or others.

[0093] In some other embodiments of the present application, the central control screen may include more or fewer components than Figure 6 、 Figure 7 shown, such as: the central control screen may further include one or more of a button, an audio module, etc. Or combine certain components, or split certain components, or arrange different components. The illustrated components can be implemented in hardware, software, or a combination of software and hardware.

[0094] Optionally, for the structure of the second electronic device 520 and the third electronic device 530 shown in Figure 5 , reference can be made to the implementation of the first electronic device 510. Optionally, the second electronic device 520 and / or the third electronic device 530 may include more or fewer components than the illustrated central control screen, such as: the second electronic device 520 may not include a display screen, and the third electronic device 530 may further include a sensor module, etc. Or combine certain components, or split certain components, or replace certain components, or arrange different components. The illustrated components can be implemented in hardware, software, or a combination of software and hardware.

[0095] The technical solutions involved in the following embodiments can all be implemented in devices having the structure shown in Figure 6 、 Figure 7 , and systems having the architecture shown in Figure 5 .

[0096] It can be understood that in the following embodiments, the first electronic device 510 is described as the central control screen in the smart home system, the second electronic device 520 is described as the smart home device, and the third electronic device 530 is described as the mobile phone. The central control screen, and / or the smart home device, and / or the mobile phone can execute some or all of the steps in the embodiments of the present application. These steps or operations are only examples, and the embodiments of the present application can also execute other operations or variations of various operations. In addition, each step can be executed in a different order presented in the embodiments of the present application, and it is possible not to execute all the operations in the embodiments of the present application.

[0097] In some scenarios, a smart home system based on a home unit can manage multiple smart home devices. Based on the deployment locations, these smart home devices can be divided into different rooms in the home, such as: master bedroom, secondary bedroom, living room, kitchen, bathroom, etc. The user can set scenarios for the smart home devices in different rooms or for the smart home devices in the same room. Optionally, in other scenarios, the aforementioned rooms can also be implemented as spaces or areas, and the space or area can also be divided based on the deployment locations of the smart home devices.

[0098] Taking the setting of scenarios for the smart home devices in the same room as an example, the process of setting scenarios will be introduced below.

[0099] In some embodiments, taking the setting of scenarios for the smart home devices in the master bedroom as an example, the central control screen can present a master bedroom interface 800 such as Figure 8 shown in (1) in the figure. In some embodiments, the master bedroom interface 800 can correspond to the installation and decoration effect of the master bedroom. For example, it can be a visual effect diagram of the master bedroom, such as a floor plan or a three-dimensional visualization graph. It can be understood that the installation and decoration effect of the master bedroom can refer to the effect presented by the master bedroom equipped with smart home devices. The master bedroom interface 800 includes one or more controls corresponding to the smart home devices deployed in the master bedroom, such as: the control 801 of the table lamp, the control 802 of the smart curtain, the control 803 of the air conditioner, etc. The controls corresponding to each smart home device can be used to represent (or denote) the corresponding smart home device for realizing the scenario setting for the smart home device.

[0100] Exemplarily, in the embodiments of the present application, the controls corresponding to the smart home devices can be presented as icons, names, or other various information that can be used to represent the smart home devices. In the embodiments of the present application, the control is taken as an icon as an example. Optionally, the control types corresponding to different smart home devices can be the same or different. For example, the controls corresponding to the smart home devices in the same room or different rooms can all be of the icon type. Or, among the controls corresponding to the smart home devices in the same room or different rooms, some controls are of the icon type and some controls are of the name type.

[0101] Optionally, in addition to displaying the above controls in the master bedroom interface 800, one or more images of entities included in the master bedroom can also be displayed, such as: images of entities other than various non-smart home devices such as walls, windows, bedding, tables and chairs, books, carpets, clothes drying racks, etc. In some embodiments, the display positions of the controls of the above smart home devices and the images of various entities in the master bedroom interface 800 can correspond to the actual deployment positions of the smart home devices and various entities in the master bedroom. For example, if the table lamp is deployed on the left side of the head of the bed, then in the master bedroom interface 800, the control of the table lamp is also displayed on the left side of the image of the head of the bed. In this way, in the master bedroom interface 800, the relative layout of the controls of each smart home device and the images of each entity is consistent with the actual relative layout of each smart home device and each entity in the master bedroom. This can make the presented master bedroom interface 800 closer to the real effect of the master bedroom and improve the interaction and experience of the user when setting up the scene. Optionally, in the embodiments of the present application, the image of the entity can also be presented as other information that can be used to represent the entity, such as: geometric figures, etc., and the embodiments of the present application do not limit this.

[0102] In some embodiments, the central control screen can also switch from displaying the master bedroom interface 800 shown in (1) such as Figure 8 to displaying other room interfaces, such as: living room interface, kitchen interface, bathroom interface, etc. Of course, it can also switch to display the whole house interface, etc. It can be understood that the whole house interface can refer to an interface including all rooms, and the whole house interface can also be understood as a room interface. For example: The user can slide left and right on the master bedroom interface 800 shown in (1) such as Figure 8 In response to the user's sliding operation, the central control screen can present other room interfaces.

[0103] Taking the living room as an example, in response to the user's operation of sliding left on the master bedroom interface 800 shown in (1) such as Figure 8 the central control screen can display the living room interface 810 shown in (2) such as Figure 8 Similarly, the living room interface 810 can correspond to the installation and maintenance effect of the living room. The living room interface 810 includes controls corresponding to one or more smart home devices deployed in the living room, such as the control 811 of the smart screen, the control 812 of the speaker, the control 813 of the smart curtain, etc., which will not be elaborated here one by one. Optionally, in addition to displaying the aforementioned controls in the living room interface 810, one or more images of entities included in the living room, such as walls, sofas, TV cabinets, etc., can also be displayed. For other introductions of the living room interface 810, reference can be made to the relevant introductions of the master bedroom interface 800.

[0104] Taking the whole house as an example, in response to the user in Figure 8For the operation of swiping left on the master bedroom interface 800 shown in (1), the central control screen can display the whole house interface 900 as shown in Figure 9 In some embodiments, the whole house interface 900 can correspond to the decoration and installation effect of the whole house, such as the visual effect diagrams of all rooms in the whole house. The whole house interface 900 can include the interfaces of all rooms, such as the master bedroom interface 910, the living room interface 920, the bathroom interface 930, the secondary bedroom interface 940, etc. Similarly, each room interface can also correspond to the decoration and installation effect of the corresponding room. Optionally, the room interfaces displayed in the whole house interface 900 can be arranged according to the actual relative layout of different rooms in the whole house, so that the whole house interface 900 is closer to the actual effect of the whole house and enhances the interaction feeling when the user performs scene setting. Of course, the room interfaces included in the whole house interface 900 may not be arranged according to the actual relative layout of different rooms in the whole house. For example, in order to make the presentation effect of the whole house interface 900 better, such as clearer and more beautiful, the central control screen may not arrange the room interfaces according to the actual layout of different rooms in the whole house. The embodiments of the present application do not limit this.

[0105] Optionally, the effects presented by the room interfaces in the whole house interface 900 when displayed alone can be the same or different. For example: Figure 9 The master bedroom interface 910 included in the whole house interface 900 shown in Figure 8 and the master bedroom interface 800 shown in (1) in

[0106] can be the same or different. The embodiments of the present application take the same as an example. Similarly, for each room interface included in the whole house interface 900, one or more controls corresponding to the smart home devices deployed in the corresponding room can be included. Optionally, one or more images of the entities included in the corresponding room can also be included. For other introductions about the room interface, reference can be made to the introduction of the master bedroom interface 800 described above.

[0106] It can be understood that the above embodiments take the realization of the switching display of the room interface by swiping left and right as an example. In other embodiments, the switching display of the room interface can also be realized by other buttons or controls. For example: on the master bedroom interface 800 shown in (1) in Figure 8 a switching control (not shown in the figure) can also be displayed, and the user can realize the switching of the room interface through this switching control. Optionally, the switching control can present the switching control 208 shown in (1) in Figure 2 or can be presented in other forms. The embodiments of the present application do not limit any way of realizing the switching display of the room interface. Optionally, the way of switching and displaying the room interface and the way of switching and displaying the whole house interface can be the same or different.

[0107] Optionally, to facilitate the user in finding the entry for scenario creation and enhance the usability of scenario settings, for example Figure 8 the master bedroom interface 800 as shown in Figure 2 can be displayed as the main interface of the central control screen. For example: In combination with the example shown in Figure 2 when the user switches the overview interface 200 shown in (1) of Figure 2 to the interface corresponding to the master bedroom through the switching control 208 shown in (1) of Figure 8 in response to this operation of the user, it presents as the master bedroom interface 800 shown in (1) of Figure 2 That is to say, in response to this operation of the user, the central control screen no longer presents the setting interface 210 shown in (2) of

[0108] Or, for example, the master bedroom interface 800 shown in (1) of Figure 8 can also be directly presented as the overview interface of the central control screen. That is, the overview interface of the central control screen is no longer the overview interface 200 shown in (1) of Figure 2 but the master bedroom interface 800 shown in (1) of 8. Optionally, the embodiments of the present application do not specifically limit which room interface will be presented as the overview interface of the central control screen. For example: It can be the master bedroom interface 800 shown in (1) of Figure 8 or the living room interface 810 shown in (2) of Figure 8 Of course, it can also be other room interfaces, etc.

[0109] Or, alternatively, the whole house interface 900 shown in Figure 9 can also be directly presented as the overview interface of the central control screen. That is, the overview interface of the central control screen is no longer the overview interface 200 described in (1) of Figure 2 but the whole house interface 900 shown in Figure 9

[0110] In some embodiments, the central control screen can also switch from the whole house interface 900 such as shown in Figure 9 to display other room interfaces, such as the master bedroom interface 800 shown in (1) of Figure 8 , the living room interface 810 shown in (2) of Figure 8 , etc. For example: In addition to the methods of switching room interfaces such as swiping left and right described above, the user can also perform operations such as clicking on the room interfaces included in the whole house interface 900 shown in Figure 9 . Taking the user's click operation on the master bedroom interface 910 shown in Figure 9 as an example, in response to this operation, the central control screen can display the master bedroom interface. For example, the central control screen can present as the master bedroom interface 800 described in (1) of Figure 8

[0111] ​​In some embodiments, after the central control screen presents a room interface such as the one described above, further, the user can also call up a control for implementing scene settings, and implement scene settings through this control. Combining Figure 8 With respect to the master bedroom interface 800 shown in (1) of , the user can perform an operation to call up the control for scene settings. For example, the user can long-press the control corresponding to the smart home device included in the master bedroom interface 800. Taking the control 801 of the table lamp as an example, in response to this operation, as Figure 10 Shown in the interface 1000 of (1) of , the central control screen can call up a new scene control 1001, and this new scene control 1001 can implement the automatic creation of a scene. Optionally, since the master bedroom interface 800 may also include images of other entities, the central control screen can simultaneously use highlighting or other means to prominently display the controls corresponding to the smart home devices included in the master bedroom interface 800, so as to facilitate the user to determine which controls, graphics, etc. can be operated on.

[0112] Next, the user can select the controls corresponding to one or more smart home devices included in the master bedroom interface 800, and use the new scene control 1001 to implement scene settings for the corresponding smart home devices. For example: The user can drag the controls of one or more smart home devices to the new scene control 1001. Taking the table lamp, smart curtain, and air conditioner as examples, the user can drag the control 801 of the table lamp, the control 802 of the smart curtain, the control 803 of the air conditioner, etc. to the new scene control 1001. Then, in response to this operation, the central control screen can complete the scene settings for the table lamp, smart curtain, and air conditioner in the master bedroom. Exemplarily, the set scene can be, for example: During the day, the table lamp is on, the smart curtain is closed, and the air conditioner is adjusted to 23 degrees Celsius; at night, the table lamp is on, the smart curtain is closed, and the air conditioner is adjusted to 26 degrees Celsius.

[0113] In some embodiments, in Figure 10 In the interface 1000 shown in (1) of , one or more controls corresponding to the set scenes can also be displayed. For example: a leaving room scene control 1002, a returning room scene control 1003. Optionally, the set scene can include a scene established for the smart home devices in the master bedroom, and / or a scene established for the smart home devices in other rooms except the master bedroom, and / or a scene established for the smart home devices in the master bedroom and other rooms except the master bedroom.

[0114] It can be understood that this embodiment takes the case where the controls of the set scenarios (such as the leaving room scenario, the returning room scenario, etc.) and the new scenario control 1001 are on the same interface. In other embodiments, the above two types of controls may also be on different interfaces. For example: The user can also call up the controls of the set scenarios through further operations. Or, in response to the user's operation of calling up the control for setting scenarios, the central control screen can also first present an interface containing the controls of the set scenarios, and the user can also call up the new scenario control 1001 through further operations. The embodiments of the present application do not impose any restrictions on whether the controls of the set scenarios and the new scenario control 1001 are on the same interface and the order of display on the interface.

[0115] It can also be understood that the above embodiment takes the case where the room interface is presented first, and then the interface containing the new scenario control 1001 and / or the controls of the set scenarios is presented. Of course, in other embodiments, the interface containing the new scenario control 1001 and / or the controls of the set scenarios can also be presented directly. That is to say, the central control screen can directly display an interface 1000 such as Figure 10 shown, without having to call up the interface 1000 through further operations on the room interface such as the master bedroom interface shown in (1) in Figure 8 . Regarding the display position of the interface containing the new scenario control 1001 and / or the controls of the set scenarios (such as the main interface, the overview interface, etc.), reference can be made to the relevant introduction of the room interface.

[0116] Optionally, the above set scenarios can be scenarios preset by developers during the development process, or scenarios set by users themselves during use. The scenarios set by users themselves can be set through the central control screen or through other devices, and the embodiments of the present application do not impose any restrictions on this. The user can also implement scenario settings based on the controls of these set scenarios. For example: The user can also select the controls corresponding to one or more smart home devices included in the master bedroom interface 800 and use the controls of the set scenarios to implement scenario settings for the smart home devices in the master bedroom. Taking Figure 10 the smart curtain control 802 shown in (1) in as an example, the user can drag the smart curtain control 802 to the returning room scenario control 1003 (this operation is not shown in the figure). In response to this operation, the central control screen can complete the setting of the returning room scenario. Exemplarily, taking the returning room scenario set by the developer or the user himself as the air conditioner is adjusted to 23 degrees Celsius and the table lamp is turned on, the returning room scenario set by the central control screen can be, for example: the air conditioner is adjusted to 23 degrees Celsius, the table lamp is turned on, and the smart curtain is closed, etc.

[0117] It can be understood that in the embodiment of the present application, the example of dragging the controls of the smart home devices to the newly created scene control 1001, or the controls of the set scene is used to complete the scene setting. In other embodiments, the scene setting can also be completed without the above-mentioned new scene control 1001, or the controls of the set scene. For example: the user can also directly operate the controls of the smart home devices to achieve scene setting. If the user can pinch the controls of multiple smart home devices with multiple fingers, then in response to the user's operation, the central control screen can complete the scene setting for these smart home devices. For another example: the user can also drag the controls of multiple smart home devices together (such as the location of the controls of one of the smart home devices, or the center position of the display interface of the central control screen, etc.), and in response to the user's operation, the central control screen can also complete the scene setting for these smart home devices.

[0118] The above embodiment takes setting scenes for smart home devices in the same room as an example. In other embodiments, scenes can also be set for smart home devices in different rooms. For example, the user can select smart home devices in different rooms respectively, and combine the new scene control 1001 described above, the controls for the set scenes, etc. to achieve scene setting for smart home devices in different rooms.

[0119] In some embodiments, the user can Figure 10 Slide left and right on the interface 1000 shown in (1) to switch different room interfaces to select smart home devices in different rooms. Figure 10 In the interface 1000 shown in the figure, the user can first drag the smart curtain control 802 contained in the master bedroom interface 800 to the new scene control 1001. Further, the user can slide left and right on the master bedroom interface 800 to select smart home devices in other rooms. If the central control screen detects an operation such as a user sliding left (this operation is not shown in the figure), in response to this operation, the central control screen can present Figure 10 The interface 1010 described in (2) above, wherein the interface 1010 includes Figure 8 The living room interface 810 shown in (2), and Figure 10 Then, the user can drag the speaker control 812 included in the living room interface 810 to the newly created scene control 1001. Similarly, in response to the smart home devices selected by the user, the central control screen can complete the scene settings for the smart home devices in these different rooms. For example, the scene set by the central control screen can be: the smart curtains of the master bedroom are opened, the speakers of the living room are turned on, etc.

[0120] In other embodiments, the user can also directly Figure 9Select smart home devices in different rooms through the whole-house interface 900 shown. For example: The user can also perform an operation to switch to the whole-house interface 900 such as shown in Figure 10 on the master bedroom interface 800 shown in (1) of Figure 9 . In response to this operation, the central control screen can present an interface 1100 such as shown in Figure 11 . Among them, the whole-house interface 900 is included in the interface 1100, and Figure 10 one or more controls shown in (1) of

[0121] . Then, the user drags the smart curtain control 802 in the master bedroom interface 910 and the speaker control 812 in the living room interface 920 included in the whole-house interface 900 to the new scene control 1001. In response to this operation, the central control screen can also complete the scene setting for smart home devices in different rooms. Figure 10 The controls of the set scenes displayed on the central control screen after the room interface is switched can be the same or different. For example: Figure 11 The controls of the set scenes displayed in the interface 1010 shown in (2) of Figure 10 The controls of the set scenes displayed in the interface 1100 shown in

[0122] and the controls of the set scenes displayed in the interface 1010 shown in (1) of

[0123] can be the same or different. Figure 10 , Figure 11 After the user selects smart home devices in the above-mentioned manner, when the central control screen performs scene setting based on the selected smart home devices, it can use big data algorithms (such as association algorithms like Apriori) to automatically generate scenes for these selected smart home devices by the user, or it can also use other methods, such as preset models, to automatically set the scenes. For example: Taking the user dragging the desk lamp control 801, smart curtain control 802, and air conditioner control 803 shown in (1) of Figure 10 to the new scene control 1001, that is, the smart home devices selected by the user for setting the scene are the desk lamp, smart curtain, and air conditioner as an example, the central control screen determines according to the big data algorithm that when the desk lamp is turned on, the smart curtain is usually closed, and the air conditioner is usually adjusted to 26 degrees Celsius. Then, the automatically generated scene by the central control screen can be: the desk lamp is on, the smart curtain is closed, and the air conditioner is adjusted to 26 degrees Celsius.

[0124] For another example: when the user drags the air conditioner control 803 shown in (1) in Figure 10 to the leaving room scene control 1002, that is, the smart home device selected by the user for setting the scene is the air conditioner, and the leaving room scene is that the table lamp is turned off and the smart curtain is opened. For example, when the central control screen determines according to the big data algorithm that the table lamp is off and the smart curtain is opened, the air conditioner is usually off. Then, the leaving room scene generated by the central control screen can be, for example: the table lamp is off, the smart curtain is opened, and the air conditioner is off.

[0125] It can be understood that for the way in which the user realizes the scene setting through the controls corresponding to the above-mentioned set scenes, the states of the smart home devices included in the scene automatically generated by the central control screen may be the same as or different from the states corresponding to the smart home devices that already exist in the set scene. Taking the set leaving room scene such as the table lamp is off and the smart curtain is opened as an example, when the user performs the scene setting through the control corresponding to the leaving room scene, the states of the table lamp and the smart curtain included in the leaving room scene automatically generated by the central control screen may be the same as the previous states, for example: both are in the on state. Of course, they can also be different, for example: the table lamp is off and the smart curtain is off, etc.

[0126] In some embodiments, since there may be differences in light, user habits, etc. at different time periods. Therefore, in the scene automatically generated by the central control screen, for different time periods, the states of the set smart home devices may be different. For example: the central control screen automatically generates a leaving room scene, and the specific scene is: leaving the room during the day, the table lamp is off, the smart curtain is opened, and the air conditioner is off. Leaving the room at night, the table lamp is off, the smart curtain is closed, and the air conditioner is adjusted to 26 degrees Celsius. Among them, the states set for smart home devices such as smart curtains and air conditioners are different at different time periods. In this way, the set scene can be made more in line with user habits and improve the user experience.

[0127] It can be understood that the embodiments of the present application take the central control screen performing the above operation of automatically generating the scene as an example. In other embodiments, other devices (such as: servers, smart home cloud platforms, etc.) can also perform the operation of automatically generating the scene. Correspondingly, other devices can also send the automatically generated scene to the central control screen so that the central control screen can manage the smart home devices based on this scene.

[0128] In some embodiments, the devices included in a generated (or set) scenario can be divided into master devices and slave devices. Optionally, for a scenario, the number of master devices it includes can be one or more, and the number of slave devices can also be one or more. The master device can be used to trigger the scenario. For example, when the state of the master device presents the state set for the scenario, the scenario is triggered; the slave device can adjust its own state accordingly according to the state of the master device. In other words, the state of the slave device can follow the state of the master device according to the setting of the scenario, so that the states presented by itself and the master device at the same time conform to the setting of the scenario.

[0129] For example: taking the generated scenario as a napping scenario, this napping scenario is like: when the table lamp is turned on, the air conditioner adjusts the temperature to 23 degrees Celsius and the smart curtain is opened; when the table lamp is turned off, the air conditioner adjusts the temperature to 26 degrees Celsius and the smart curtain is closed. Among them, the slave devices are the air conditioner and the smart curtain, and the master device is the table lamp. When the table lamp is turned on and turned off, the napping scenario will be triggered. Correspondingly, the air conditioner will adjust its own state (such as different temperatures) according to the state of the table lamp (such as on, off, etc.). Similarly, the smart curtain will also adjust its own state (such as open, closed, etc.) according to the state of the table lamp.

[0130] Another example: taking the generated scenario as a scenario of entering and leaving the room, this scenario of entering and leaving the room is like: when the table lamp is turned on and the smart curtain is closed, the air conditioner adjusts the temperature to 23 degrees Celsius. When the table lamp is turned off and the smart curtain is opened, the air conditioner is turned off. Among them, the master devices are the table lamp and the smart curtain, and the slave device is the air conditioner. When the states presented by the master devices such as the table lamp and the smart curtain at the same time meet the states set in the scenario of entering and leaving the room, for example: the table lamp is turned on and the smart curtain is closed, or the table lamp is turned off and the smart curtain is opened, the scenario of entering and leaving the room will be triggered. In other words, when the states presented by the master devices such as the table lamp and the smart curtain at the same time do not meet the states set in the scenario of entering and leaving the room, for example: the table lamp is turned on and the smart curtain is opened, or the table lamp is turned off and the smart curtain is closed, the scenario of entering and leaving the room will not be triggered. Correspondingly, the air conditioner will adjust its own state according to the states of the master devices such as the table lamp and the smart curtain.

[0131] Based on the above technical solution, triggering the master device can trigger the set scenario. In this way, the user's sense of scenario interaction can be enhanced, and the user experience can be greatly improved.

[0132] Optionally, in the above embodiments, when the central control screen and / or other devices automatically generate a scenario, this application embodiment does not make specific restrictions on which devices are used as master devices and which devices are used as slave devices. For example: when passing through such as Figure 10 、 Figure 11When creating a scene with the newly created scene control 1001 as shown, one or more of the smart home devices corresponding to the controls dragged by the user to the newly created scene control 1001 (such as: the first control, the second control, or other controls, etc.) can be used as the master device, and the smart home devices corresponding to the remaining controls can be used as slave devices. Alternatively, among the smart home devices corresponding to one or more controls dragged by the user, the smart home devices of a preset type can be used as the master device, and the smart home devices other than the preset type can be used as slave devices. For example, the preset type can be various types such as lighting devices, shading devices, heating, ventilation and air conditioning devices, etc., and this preset type can be set by the developer according to actual needs.

[0133] For another example: when creating a scene through the controls of the set scenes as shown in Figure 10 , Figure 11 etc. (such as the leaving room scene control 1002, the returning room scene control 1003, etc.), the master device may have been set among the smart home devices included in the set scene. Then, the smart home devices corresponding to the controls dragged by the user to the controls of the set scene can all be used as slave devices. Of course, it is also possible to choose to use them all as master devices, or to use some of them as master devices and some of them as slave devices, etc. The embodiments of the present application do not impose any restrictions on this.

[0134] Based on the above technical solution, the user can directly perform scene setting operations on the controls of smart home devices on the room interface, using this room interface as the human-computer interaction interface for scene setting, making the scene setting interface easier for the user to understand, reducing the cost of user understanding and learning, and also enhancing the sense of interaction and experience of the user during scene setting, increasing the fun of user use. Moreover, the user only needs to drag the control of the smart home device to the specified control, and the central control screen can automatically generate the corresponding scene according to this operation of the user. The scene editing entry is easy to find, and there is no need for the user to perform complex operations to separately set the parameters of each device, which can reduce the complexity of user operations and the user learning cost.

[0135] In some embodiments, after generating the scene, the central control screen can also simulate the effect of the scene for the user. In some embodiments, the central control screen can directly present the simulation interface of the scene effect to present the effect of the set scene to the user through the simulation interface. Optionally, this simulation interface can be generated based on the room interface, such as: the rendered effect of the room interface, etc. Combining Figure 10For the master bedroom interface 800 shown in (1), taking the scenario generated by the central control screen as an example where the table lamp in the master bedroom (such as the table lamp represented by the table lamp control 801) is turned off, the air conditioner temperature is adjusted to 23 degrees Celsius, and the smart curtain is closed, the central control screen can present a simulated interface 1200 such as shown in 12. The simulated interface 1200 can be the effect presented by the master bedroom when the aforementioned scenario is launched in the master bedroom. As shown in the simulated interface 1200, the control 1201 can be used to represent that the table lamp is in the on state, the control 1202 can be used to represent that the air conditioner is in the off state, the control 1203 can be used to represent that the temperature of the air conditioner is 23 degrees Celsius, etc.

[0136] It can be understood that due to different scenarios (such as: the curtain is opened or closed, the lamp is at different brightness and color temperatures), various parameters such as the color, brightness, and light of the room may be different. Therefore, under different scenarios, various parameters such as the color, brightness, and light of the simulated interface presented by the central control screen can also be different.

[0137] It can also be understood that Figure 12 is taking the simulated interface 1200 and Figure 10 the new scene control 1001 shown as etc. and the controls of the set scenes being on the same interface as an example. In other embodiments, the simulation 1200 can also be displayed in full screen or in the form of a floating window. The embodiments of the present application do not impose any restrictions on the display method of the simulated interface.

[0138] In other embodiments, the central control screen can also directly control the smart home device to present the state in the set scenario to simulate the effect of the scenario for the user. In this way, the user can experience the set scenario in advance. For example: still taking the set scenario as the table lamp in the master bedroom is turned on, the air conditioner temperature is adjusted to 23 degrees, and the smart curtain is closed as an example, the central control screen can control the table lamp in the master bedroom to be turned on, adjust the air conditioner to 23 degrees Celsius, and close the smart curtain, etc.

[0139] Optionally, the central control screen can automatically simulate the effect of the scenario for the user after generating the scenario. It can also be triggered actively by the user to simulate the effect. For example: a control for triggering the simulation scenario can be displayed on the central control screen, and the user can use this control to activate the function of simulating the scenario on the central control screen. Another example: the user can also directly adjust the smart home device (such as: the main device) included in the scenario to the state set in the scenario. Correspondingly, the central control screen can adjust the states of other slave devices accordingly to display the set scenario effect for the user. Of course, for the convenience of the user's operation, a reminder message can also be output on the central control screen to remind the user how to operate the smart home device and which smart home device to operate to view the simulation effect of the scenario.

[0140] Optionally, after the central control screen generates a scene, it can automatically save the scene, or save the scene in response to the user's save operation.

[0141] In some embodiments, after the central control screen generates a scene, the user can also select to perform operations such as changing and editing the scene. For example: the user can add or reduce one or more devices to the scene, change the status settings of one or more devices, change the device type to which one or more devices belong, change the effective time of the scene, etc. Among them, the device type can refer to the main device, slave device, etc. Optionally, the user can change the scene generated by the central control screen through various scene editing entrances, and the embodiments of the present application do not limit this. In this way, the user can perform diversified scene editing, which can meet the user's usage requirements.

[0142] In some embodiments, when the user performs scene settings through a new scene control 1001 such as Figure 10 , Figure 11 shown, or a control of a set scene, etc., after the central control screen automatically generates a scene based on the method described above, it can first not save the scene. Taking the new scene control 1001 as an example, the scene control 1001 can be converted from the form shown in Figure 10 etc. to the unsaved form shown in (1) of Figure 13 . Among them, the new scene control 1001 in the unsaved form shown in (1) of Figure 13 can be used to represent that the scene automatically generated by the central control screen has not been saved. The user can perform operations such as changing and editing the scene generated by the central control screen by presenting a control in the unsaved form shown in (1) of Figure 13 (such as a new scene control, or a control of a set scene, etc.).

[0143] Combined with the solution shown in Figure 10 , taking the scene automatically generated by the central control screen as the scene set for the master bedroom as an example, combined with the new scene control 1001 in the unsaved form shown in (1) of Figure 13 , the user can perform operations such as clicking on the new scene control 1001. In response to this operation, as shown in (2) of Figure 13 , the central control screen can display a scene editing interface 1300. In some embodiments, the scene editing interface 1300 may include the room interface shown above. Combining this example, the scene editing interface 1300 may include the master bedroom interface 800, and the scene editing interface 1300 can be used to implement operations such as changing and editing the scene set for the master bedroom. In this way, the scene editing is visualized, which can make it easier for the user to understand the effect of the scene.

[0144] Optionally, in the scene editing interface 1300, one or more of the smart home devices included in the scene automatically generated by the central control screen, as well as the status of each smart home device, etc., can be marked on the room interface. Optionally, when there are also master devices and slave devices set in this scene, one or more of which smart home devices are master devices and which smart home devices are slave devices can also be marked. Exemplarily, the central control screen can use various information such as highlighting, text boxes, etc. for marking, and the embodiments of the present application do not limit this. In this way, it is convenient for users to know what the specific scene currently generated by the central control screen is like, so as to facilitate users to edit, change, etc. Of course, in Figure 13 the scene editing interface 1300 shown in (2) may also not show any marking information, and after responding to the user operation, the central control screen then calls out one or more marking information.

[0145] Taking the scene automatically generated by the central control screen for the master bedroom as an example: the master device table lamp is turned off, the air conditioner is adjusted to 23 degrees Celsius, and the smart curtain is opened. Then as Figure 13 shown in (2), in the scene editing interface 1300, the table lamp corresponding to the table lamp control 801 is the master device, which is marked by the rectangular frame 1301, while the devices corresponding to the smart curtain control 802, the air conditioner control 803, etc. are slave devices, which are not marked by the rectangular frame. In this way, users can determine which smart home devices are the master devices set in the scene according to the rectangular frame. Of course, for slave devices, other information different from the rectangular frame can also be used for marking, so as to facilitate users to determine which smart home devices are the slave devices set in this scene.

[0146] Optionally, the status of each smart home device set in this scene can also be marked in the scene editing interface 1300. For example: the control 1302 can be used to represent that the table lamp corresponding to the table lamp control 801 is set to the off state, the text box 1303 can be used to represent that the temperature of the air conditioner corresponding to the air conditioner control 803 is set to 23 degrees Celsius, and the smart curtain control 802 can be used to represent that the smart curtain is in the open state, etc.

[0147] Of course, since the smart home devices included in the scene may not be all the smart home devices included in the master bedroom, therefore, the scene editing interface 1300 may also only show the relevant information (such as: status, control, etc.) of the smart home devices included in this scene. For the relevant information (such as: display control) of the smart home devices not included in this scene, it can also be called out through further user operations, etc., so as to facilitate users to add smart home devices in this scene. That is to say, in response to further operations of the user, the central control screen then presents the master bedroom interface 800 such as Figure 13 shown in (2).

[0148] Further, when the user determines that no changes need to be made to the scene generated by the central control screen according to the scene editing interface 1300, the user can directly save the scene. For example, the user can perform an operation such as clicking on the Figure 13 save button 1304 shown in (2) of

[0149] In some embodiments, the user can also operate the controls of one or more smart home devices included in the scene editing interface 1300 to implement functions such as scene editing and preview. Taking the main device as a table lamp as an example, the user can view the preview effect of the scene through the Figure 13 table lamp control shown in (2) of Figure 13 That is, the central control screen can simulate the set scene. For example: taking the set scene as the table lamp in the master bedroom being turned off, the air conditioner being adjusted to 23 degrees Celsius, and the smart curtain being opened, the central control screen detects an operation such as a single click on the Figure 14 table lamp control 801 shown in (2) of Figure 13 In response to this operation, the central control screen can present the effect when the main device is in the state set by the scene when the scene is triggered in the master bedroom. For example, the central control screen can present the

[0150] preview interface 1400 shown in (1) of Figure 13 Among them, the preview interface 1400 may include the master bedroom interface 800 described above, and one or more of the state of the main device, the state of the slave device, etc. are marked on the master bedroom interface 800. For the introduction of each reference numeral shown in the preview interface 1400, reference can be made to the Figure 14 corresponding introduction shown in (2) of Figure 12 Another example: taking the set scene as the table lamp in the master bedroom being turned on, the air conditioner being adjusted to 26 degrees Celsius, and the smart curtain being closed, the central control screen detects an operation such as a single click on the

[0151] table lamp control 801 shown in (2) of Figure 13 In response to this operation, the central control screen can present, for example, the Figure 14 preview interface shown in (1) of Figure 14 or the preview interface shown in (2) of

[0152] Figure 14 In response to this operation, the central control screen can present, for example, the

[0152] Figure 14 preview interface shown in (2) of

[0152] Of course, in response to the user's click operation on the new scene control 1001 shown in (1) of Figure 13 for example, the central control screen can also directly present a preview interface such as the one shown in (1) of Figure 14 or the one shown in (2) of Figure 14 The embodiments of the present application do not limit the timing of presenting this preview interface. Of course, the central control screen can also directly control the smart home device to present the state in the set scene in the manner shown above to achieve scene preview.

[0152] In some scenarios, the scenes generated by the central control screen may simultaneously include settings of the main device in different states. When the main device is in different states, the states of each slave device may be adjusted accordingly. Therefore, the user can also view the preview effect of the scene when the main device is in different set states through Figure 13 the scene editing interface 1300 shown in (2) of. For example, taking the set scene as: when the master bedroom table lamp is turned off, the air conditioner is adjusted to 23 degrees Celsius and the smart curtain is opened; when the table lamp in the master bedroom is turned on, the air conditioner is adjusted to 26 degrees Celsius and the smart curtain is closed. Then, when the central control screen detects a click operation on the table lamp control 801 shown in (2) of Figure 13 in response to this operation, the central control screen can present the effect when the table lamp in the scene is turned off, such as the central control screen can present Figure 14 the preview interface 1400 shown in (1) of. Then, the user can perform another click operation on the table lamp control 801 shown in (2) of Figure 13 in response to this operation, the central control screen can present the effect when the table lamp in the scene is turned on, such as the central control screen can present a preview interface 1410 shown in (2) of Figure 14 It can be understood that in the embodiments of the present application, there is no limitation on the order in which the central control screen presents the interfaces shown in (1) of Figure 14 and (2) of Figure 14 in response to the user operation.

[0153] The above embodiments take the operation on the control of the main device as an example. In some embodiments, the user can also operate on the control of the slave device shown in (2) of Figure 13 so as to adjust the state of the slave device set in the scene. For example, taking the slave device as the air conditioner control 803 shown in (2) of Figure 13 as an example, the user can perform click and other operations on the air conditioner control 803. In response to this operation, as shown in (1) of Figure 15 , the central control screen can call out the editing interface 1500, which contains one or more options for setting the state of the air conditioner, such as cooling, heating, dehumidifying, temperature, etc. The user can reset the state of the air conditioner through these options. Optionally, the editing interface 1500 can be displayed in the form of a floating window on the interface shown in (2) of Figure 13 , or can also be displayed using a brand-new interface. The present application does not impose any restrictions on this.

[0154] Of course, the user can also directly operate on the identifier shown in (2) of Figure 13 to change the state of the slave device. For example, the user can directly modify Figure 13The temperature in the text box 1303 shown in (2). In response to this operation, the central control screen can directly modify the set temperature, etc. in this scenario. The embodiments of the present application do not impose any restrictions on the method of modifying the state of the slave device set in the scenario. Of course, the user can also change the state of the master device by changing the state of the slave device set in the scenario, which will not be elaborated herein.

[0155] In some embodiments, since the state of the slave device is associated with the master device, when the state of the master device is in a certain setting, if the user changes the set state of the slave device, what is changed is the corresponding state of the slave device when the master device is in this set state. For example: taking the set scenario as: when the master device desk lamp is off, the slave device air conditioner is adjusted to 23 degrees Celsius and the slave device smart curtain is opened; when the master device desk lamp is on, the slave device air conditioner is adjusted to 26 degrees Celsius and the slave device smart curtain is closed. Then when the desk lamp is set to the off state, if the user modifies the set states of the air conditioner and the smart curtain, what is modified is the state of the air conditioner and the smart curtain corresponding to when the desk lamp is in the off state. Similarly, when the desk lamp is set to the on state, if the user modifies the set states of the air conditioner and the smart curtain, what is modified is the state of the air conditioner and the smart curtain corresponding to when the desk lamp is in the on state.

[0156] Therefore, in this embodiment, the user can also first adjust the state of the master device set in the scenario to the required state, and then adjust the state of the slave device when the master device is in this state. For example: combining the example described above, after the central control screen presents Figure 14 the preview interface 1400 shown in (1), the user can modify the state of the slave device through the controls of the slave device included in the preview interface 1400, and thus can complete the adjustment of the states of the slave devices (such as smart curtain, air conditioner) when the master device desk lamp is in the off state. Further, when the central control screen presents Figure 14 the preview interface 1410 shown in (2), the user can adjust the state of the slave device through the controls of the slave device included in the preview interface 1410, and thus can complete the adjustment of the states of the slave devices (such as smart curtain, air conditioner) when the master device desk lamp is in the on state.

[0157] In some embodiments, the user can also perform one or more operations of changing the master device, selecting multiple master devices, canceling the master device, changing the slave device, and setting the scene effective time. The scene effective time can be used to set the effective time of the scene automatically generated by the central control screen, or can be used as the effective time of the changed scene after the user changes the settings in this scene. For example: in Figure 13The medium (2) may further include one or more controls for implementing the foregoing functions, such as a main device selection control 1305, a multiple main device selection control 1306, a main device cancellation control 1307, and a scene activation time control (such as a daytime control 1308, a nighttime control 1309, a timing control 1310, etc.). Among them, the main device selection control 1305 can be used to change the main device set in the scene generated by the central control screen. For example, it can be replaced with other smart home devices. The multiple main device selection control 1306 can be used to add one or more main devices to this scene. Optionally, the added main device can be a smart home device included in the scene generated by the central control screen, or it can be a smart home device not included therein. The main device cancellation control 1307 can be used to cancel the main device set in the scene generated by the central control screen, that is, there is no setting of main and slave devices in this scene.

[0158] For example: The user can first perform operations such as clicking on Figure 13 the main device selection control 1305 shown in the medium (2), and then can set the main device through the control of the smart home device. Taking the air conditioner as an example, the user can perform operations such as clicking on Figure 13 the air conditioner control 803 shown in the medium (2). In response to this operation, the central control screen can set the air conditioner as the main device. Optionally, the central control screen can also present a rectangular frame 1301 for identifying the air conditioner as the main device, etc.

[0159] Another example: Taking the table lamp as the main device, the user can perform operations such as clicking on the main device cancellation 1307. In response to this operation, the central control screen cancels the table lamp as the main device. Optionally, the central control screen can also cancel the rectangular frame 1301 corresponding to the table lamp control 801 for identifying the table lamp as the main device.

[0160] The daytime control 1308 and the nighttime control 1309 can be used to set the scene generated by the central control screen to take effect during the day and at night respectively. The timing control 1310 can be used to set the scene generated by the central control screen to take effect during a certain time period, etc. Taking the user's final set scene as the smart curtain opens and the liftable electric bed rises as an example, if the user selects to set this to take effect at a certain time, the user can perform operations such as clicking on Figure 13 the timing control 1310 shown in the medium (2). In response to this operation, as Figure 15 shown in the medium (2), the central control screen can present a time control 1510, and the user can set the activation time of this scene through the time control 1510. If the user sets the time to 7:30 through the time control 1510, then at 7:30 every morning, the smart curtain opens and the liftable electric bed automatically rises.

[0161] In some embodiments, for a scenario, the scenario can take effect at different times. The settings corresponding to different effective times of the scenario can be the same or different. Exemplarily, Table 1 shows an example of a scenario of entering and leaving a room provided by an embodiment of the present application.

[0162] Table 1

[0163]

[0164] As shown in Table 1 for the scenario of entering and leaving a room, when the user enters the room during the day and turns on the main device table lamp, correspondingly, the slave device intelligent curtain closes, and the temperature of the slave device air conditioner is adjusted to 23 degrees Celsius; when the user leaves the room during the day and turns off the main device table lamp, correspondingly, the slave device intelligent curtain opens, and the slave device air conditioner turns off. When the user enters the room at night and turns on the main device table lamp, correspondingly, the slave device intelligent curtain closes, and the temperature of the slave device air conditioner is adjusted to 26 degrees Celsius. When the user leaves the room or goes to sleep at night and turns off the main device table lamp, correspondingly, the slave device intelligent curtain closes, and the slave device air conditioner turns off at a fixed time. It can be seen that this scenario of entering and leaving a room can take effect during the day or at night, and the settings of the devices can be different when it takes effect at different times.

[0165] It can be understood that in the above embodiments, it is taken as an example that the control panel directly included in the scenario editing interface 1300 shown in (2) above. In other embodiments, the user can call out the one or more control panels through further operations, and the embodiments of the present application do not impose any restrictions on the display timing of these control panels. Of course, the user can also directly implement the one or more functions through other operations, and the embodiments of the present application do not limit this. Figure 13 It can be understood that in the above embodiments, it is taken as an example that the control panel directly included in the scenario editing interface 1300 shown in (2) above. In other embodiments, the user can call out the one or more control panels through further operations, and the embodiments of the present application do not impose any restrictions on the display timing of these control panels. Of course, the user can also directly implement the one or more functions through other operations, and the embodiments of the present application do not limit this.

[0166] Optionally, each identification information such as that shown in (2) above can also be updated according to the user's various change operations. For example: when the user cancels the main device, the rectangular frame 1301 used to identify the main device can also correspondingly not be displayed. Figure 13 Optionally, each identification information such as that shown in (2) above can also be updated according to the user's various change operations. For example: when the user cancels the main device, the rectangular frame 1301 used to identify the main device can also correspondingly not be displayed.

[0167] Optionally, during the above editing and changing process, the central control screen can also present the corresponding preview interface according to the user's changes, or simulate the effect of the changed scenario for the user in the way of controlling the actual smart home devices as described above, so as to facilitate the user to confirm whether they are satisfied with the changed scenario.

[0168] It can be understood that the above embodiments are taken as examples of the user making changes and edits to the scenario generated by the central control screen automatically without saving the scenario. Of course, after the scenario generated by the central control screen has been saved, the user can also perform operations such as changing and editing it, and the embodiments of the present application do not impose specific restrictions on the timing of the user's operations such as changing and editing the scenario.

[0169] In some embodiments, after the user completes the scene setting in the manner described above, the scene can be automatically triggered within the set effective time, or can be triggered after the user operates the main device, or can also be triggered by the user through controls on the central control screen or other devices. The embodiments of the present application do not limit the triggering method of this scene.

[0170] It can be understood that the main device and the slave device mentioned in the foregoing part of the description may not distinguish the differences in the master-slave roles and usage of the devices resulting from such settings in some possible embodiments, and similar functions can be implemented through other controls or interaction methods under the condition of no role differences.

[0171] The above mainly introduced the process of scene setting. Next, the room interface will be introduced.

[0172] In some embodiments, the room interface described above (such as: Figure 8 the master bedroom interface 800, the living room interface 810 shown, Figure 9 the whole house interface 900 shown, etc.) can be an image pre-installed on the central control screen. Optionally, the image can be various types of images such as a design drawing, a (computer aided design, CAD) drawing, a three-dimensional visualization graphic, etc. made according to the installation and maintenance effect of the room (such as: the type of smart single products included in the room, the deployment location of the smart single products, etc.). For example: after the pre-installation and post-installation are completed, the developer can make the foregoing image according to the installation and maintenance effect of the room and pre-install the made image in the central control screen. It can be understood that pre-installation can refer to the method of first installing equipment according to the requirements of the equipment before house decoration, such as a rough house. Post-installation can refer to the method of installing equipment after the house has been decorated.

[0173] In some other embodiments, the developer and / or the user can also use the method of taking pictures to make the room interface described above. Taking the user as an example below, the process of making the room interface by taking pictures will be introduced.

[0174] In this scenario, to facilitate the central control screen to associate the controls of the smart home devices included in the room interface with the smart home devices, that is, to facilitate the central control screen to determine which specific smart home devices to set the scene according to the controls selected by the user. In some embodiments, the user can first add the smart home devices to the corresponding room. Taking the example of adding smart home devices to the corresponding room through the smart life application installed on the mobile phone, for example, Figure 16As shown in (1), the mobile phone displays the main interface 1600 (or desktop 1600). The main interface 1600 includes icons of one or more applications, such as the icon of the calendar application, the icon of the weather application, etc., and no further examples will be given here. The icons of different applications can be used to open the running interfaces of the corresponding applications and implement the functions of the corresponding applications. Among these one or more application icons, there is an icon 1601 of the smart life application.

[0175] It can be understood that for developers, installation and maintenance engineers, etc., they can also perform the addition operation of smart home devices through operation and maintenance applications, etc., and the embodiments of the present application do not limit this.

[0176] For example, if the mobile phone detects a click operation on the icon 1601 of the smart life application by the user, in response to this click operation, as Figure 16 shown in (2), the mobile phone displays the running interface 1610 of the smart life application. Among them, in the running interface 1610 of the smart life application, there is an addition control (or button) 1611, which can be used to add one or more smart home devices. Optionally, the addition control 1611 can also be used to implement one or more functions among creating a scene, sharing a device, connecting to a third-party platform, scanning, etc., and these functions will not be introduced in detail herein. And / or, in the running interface 1610 of the smart life application, one or more device addition cards 1612 can also be displayed, which can also be used to add one or more smart home devices.

[0177] Taking the example that the user adds one or more smart home devices through the addition control 1611, if the mobile phone detects a click operation on the addition control 1611 by the user, in response to this click operation, as Figure 16 shown in (3), the mobile phone displays the interface 1620. Among them, the interface 1620 includes an addition device control 1621, which can be used to add one or more smart home devices. If the mobile phone detects a click operation on the addition device control 1621 by the user, it is determined that the user needs to add a smart home device to the smart life application. In response to this click operation, the mobile phone can perform the operation of searching for smart home devices. In some embodiments, after the mobile phone accesses the local area network, it can discover smart home devices that are connected to the same local area network and / or logged in to the same account. Exemplarily, the account is used to represent the account of the smart home device management system logged in during the registration process of the mobile phone on the server. For example: this account can be the account of the smart life application registered by the user, etc. In this way, the mobile phone can search for nearby smart home devices. After the mobile phone searches for them, as Figure 16 shown in the device addition interface 1630 in (4), the mobile phone can display one or more smart home devices near the mobile phone, such as including but not limited to a projector, a speaker, a TV, a dishwasher, a smart curtain, etc.

[0178] In some examples, the mobile phone can add the corresponding smart home device to the smart life application through the Figure 16 connection button shown in (4) of Figure 16 . Of course, in other examples, the mobile phone can also add one or more smart home devices found to the smart life application through other addition operations. The embodiments of the present application do not specifically limit the type of this addition operation. Taking the speaker as an example, when the mobile phone detects an operation such as a user's operation on the connection button 1631 of the speaker, in response to this operation, the mobile phone connects to the speaker. Optionally, the mobile phone can also present a Figure 17 location setting interface 1700 shown in (1) of Figure 17 . The user can add the speaker to the corresponding room through the location setting interface 1700. Taking the master bedroom as an example, when the mobile phone detects a click operation by the user on the master bedroom control 1701, in response to this operation, the mobile phone adds the speaker to the master bedroom.

[0179] Optionally, furthermore, when the mobile phone detects an operation such as a user's click operation on the Figure 17 next button 1702 shown in (1) of Figure 17 (this operation is not shown in the figure), in response to this operation, the mobile phone can also present a Figure 17 naming setting interface 1710 shown in (2) of Figure 17 . For example, in response to the device name "Master Bedroom - Speaker" input by the user, the mobile phone can name the speaker added to the master bedroom as "Master Bedroom - Speaker". Thus, the user can complete the operations of adding the speaker to the master bedroom and naming it.

[0180] Of course, the user can also add the smart home device to the corresponding room through methods other than those described above, such as: scanning, tapping, Bluetooth pairing, and other various methods. The embodiments of the present application do not specifically limit this.

[0181] Next, the user can activate the camera function of the device to take a picture of the room. Optionally, the device can be any device with a camera function, such as: mobile phone, wearable device, AI device, and other various devices. It can be understood that the embodiments of the present application do not limit the order of adding the smart home device to the room and taking a picture of the room.

[0182] Taking the device as a mobile phone and the room photographed by the user as the master bedroom as an example, the mobile phone responds to the user's operation of starting the camera function, takes a picture of the master bedroom, and obtains a master bedroom photo. Among them, the master bedroom photo may include images of various smart home devices deployed in the master bedroom, as well as images of other entities located in the master bedroom, etc. Further, the user can send the master bedroom photo to the central control screen through the mobile phone, and classify the photo as a master bedroom photo through the central control screen, so that the central control screen can confirm which room interface to generate. Correspondingly, the central control screen can perform image recognition on the received master bedroom photo to determine the types of images of various smart home devices, such as including but not limited to air conditioners, table lamps, smart curtains, smart lift beds, floor cleaning robots, and so on. Then, the central control screen can associate the images of various smart home devices with the names of smart home devices obtained from the smart life application (such as the names set through the naming setting interface 1710 shown in (2) of Figure 17 etc.) in the middle), for example: associate the air conditioner image included in the master bedroom photo with "master bedroom - air conditioner", the speaker image with "master bedroom - speaker", and the smart curtain image with "master bedroom - smart curtain", etc.

[0183] After the association is completed, the central control screen can generate a master bedroom interface 1800 such as Figure 18 shown. Among them, the master bedroom interface 1800 can be composed of the master bedroom photo and the names of smart home devices added to the master bedroom. The names of various smart home devices can be displayed on the corresponding images of smart home devices included in the master bedroom photo. For example: the name "master bedroom - speaker" of the speaker added to the master bedroom is located at the speaker image 1801, the name "master bedroom - air conditioner" of the air conditioner added to the master bedroom is located at the air conditioner image 1802, and the name "master bedroom - smart curtain" of the smart curtain added to the master bedroom is located at the smart curtain image 1803.

[0184] It can be understood that in the embodiments of the present application, taking the central control screen performing image recognition and association operations as an example, the image recognition and / or association operations can also be performed by other devices (such as: mobile phones, etc.), and the embodiments of the present application do not limit this.

[0185] It can also be understood that in this embodiment, taking the names of smart home devices as an example, in other embodiments, it can also be implemented as other identification information of smart home devices, such as: icons or other information, etc., and the embodiments of the present application do not make specific limitations on this.

[0186] In some scenarios, multiple smart home devices of the same type may be deployed in the same room, such as: multiple downlights, multiple spotlights, etc. In this way, after the central control screen performs image recognition on the room photo, it may simultaneously recognize the images of multiple smart home devices of the same type. However, since the images of these smart home devices are of the same type, the central control screen may not be able to complete the above operation of associating the names of smart home devices with the images. In this embodiment, the user can also perform this association operation. Still taking the master bedroom as an example, the central control screen can display an association interface 1900 such as Figure 19 shown in (1) of FIG. Among them, the association interface 1900 includes a photo of the master bedroom and the names of the smart home devices of the same type recognized by the central control screen. For example: The central control screen recognizes that the photo of the master bedroom contains 3 downlight images, such as downlight image 1901, downlight image 1902, downlight image 1903, etc. Then, three downlight names, such as "Master Bedroom - Downlight 1", "Master Bedroom - Downlight 2", "Master Bedroom - Downlight 3", etc., can be shown in the association interface 1900.

[0187] In some embodiments, the user can associate the names of the downlights with the corresponding downlight images according to the actual deployment positions of the downlights in the master bedroom. As Figure 19 shown in (1) of FIG., the user can drag the names of the downlights to the corresponding downlight images. In response to this operation, the central control screen can associate the downlight names with the downlight images. Further, as Figure 19 shown in (2) of FIG., the central control screen can generate a master bedroom interface 1910 such as Figure 19 shown in (2) of FIG.

[0188] Optionally, in some implementations, the user can determine which downlight in the master bedroom the downlight name specifically belongs to according to the downlight name. For example: After the user adds the smart home devices to the smart life application by using the methods such as Figure 17 etc., the names of the smart home devices deployed at different positions are determined. In other implementations, the user may not be able to determine which downlight in the master bedroom the downlight name specifically belongs to only according to the downlight name. For example: When the user adds multiple smart home devices of the same type to the smart life application in a batch addition manner, the user may not be able to determine which name belongs to which smart home device. Therefore, in other embodiments, to facilitate the user to perform the above association operation, the central control screen can also present the unique identifier of the smart home device, such as: device serial number (SN), etc. These unique identifiers can be located on the nameplate or packaging of the smart home device. The user can determine which name belongs to which smart home device by viewing the unique identifier of the smart home device.

[0189] For example, taking the operation on the name of the smart home device to present the SN of the smart home device as an example, the user can also perform operations such as clicking on Figure 19 "Master Bedroom - Ceiling Lamp 1" shown in (1) of Figure 20 . In response to this operation, as shown in Figure 19 , the central control screen can present the serial number "SN: xxxxxx" corresponding to "Master Bedroom - Ceiling Lamp 1". Furthermore, after the user learns this serial number, by checking the serial numbers on the nameplates or packages of each ceiling lamp, the user can determine which ceiling lamp this name belongs to. For example: If the user determines that the serial number of the ceiling lamp corresponding to the ceiling lamp image 1902 is "SN: xxxxxx", then the name of this ceiling lamp can be determined as "Master Bedroom - Ceiling Lamp 1". Further, in combination with

[0190] the method described above, the association between the ceiling lamp name and the ceiling lamp image can be achieved. Figure 19

[0191] Optionally, in other embodiments, the central control screen can also present the SN of the smart home device and the name of the corresponding smart home device on the association interface 1900 such as Figure 18 shown in (1) of . This application embodiment does not limit this. Of course, in other embodiments, the user can also learn the SN of the smart home device through other means. For example: querying the SN of the smart home device and the corresponding name through the smart life application, etc. This application embodiment also does not limit the way for the user to learn the SN. Figure 19 In this embodiment, the control of the smart home device described above is specifically implemented as the name of the smart home device. The user can also perform scene settings for the master bedroom through the name of the smart home device such as

[0192] shown in (2) of

[0193] . For example: The user can also drag the name of the smart home device to achieve scene settings, etc. It can be understood that the method of associating the name of the smart home device with the image in the room photo by the user can be used alone, that is, without the central control screen performing the above-mentioned association operation. It can also be used in combination with the method of the central control screen performing the foregoing association. For example: For the images of smart home devices that the central control screen cannot complete the association for, the user can associate them. Of course, for the images of smart home devices that the central control screen can complete the association for, the user can also associate them. This application embodiment does not limit this. However, to reduce the complexity of user operations and improve the user experience, for the images of smart home devices that the central control screen can automatically complete the association for, or for the scenarios where the central control screen can automatically complete the association operation (such as the types of smart home devices deployed in the same room are different), the central control screen can automatically complete the corresponding association operation.In other embodiments, the above-mentioned image recognition operation may not be performed. For example, the central control screen may directly present the room photo and the names of the smart home devices added to the room to the user, and the user may directly perform the association operation.

[0194] Of course, in other embodiments, the central control screen may only display the SN of the smart home device. That is to say, the control of the smart home device can be specifically implemented as the SN of the smart home device, and the user can also use Figure 19 In a similar manner, the SN of the smart home device is associated with the image of the smart home device to generate a corresponding room interface.

[0195] It is understandable that the above-mentioned method of generating a room interface can be used by developers during the development phase, or by users after leaving the factory, and the present application embodiment does not limit the timing of use. Similarly, if the smart home devices in the room are subsequently changed, such as adding new smart home devices, reducing smart home devices, replacing smart home devices, and other scenarios, the room interface can be regenerated in a manner such as described above, such as by re-presetting by developers, or by taking photos, and the present application embodiment does not limit this.

[0196] For example, Figure 21 A scene setting method provided by an embodiment of the present application is shown. The method can be applied to an electronic device including a display screen. The electronic device can be as follows Figure 5 The first electronic device 510 is shown. Figure 21 As shown, the method comprises the following steps:

[0197] S2101. Display the first interface.

[0198] The first interface is used to present at least one smart device (such as Figure 5 The layout of the second electronic device 520) shown in the figure. Exemplarily, the first space can be various rooms such as the master bedroom, the second bedroom, the living room, etc., or it can also be a space divided in other ways. At least one smart device in the first space includes a first smart device. Optionally, the first smart device can be any one of the at least one smart device. The first interface includes a first control for representing the first smart device, and the display position of the first control in the first interface is used to indicate the layout position of the first smart device in the first space. Exemplarily, the first control can be a control corresponding to the smart home device described above, such as various types of controls such as a name, SN, icon, real-life image, etc.

[0199] Optionally, the first interface may be generated based on an image captured of the first space, or may be generated based on a design drawing of the first space.

[0200] In some embodiments, before performing step S2101, a fourth interface may also be displayed, which includes an image obtained by photographing a first space and a first control. Exemplarily, the fourth interface may be the associated interface 1900 shown in (1) of Figure 19 The image includes images of at least one smart device in the first space, the images of the at least one smart device include an image of a first smart device, and the first control is used to identify the first smart device. Obtain a fifth operation, which is used to drag the first control to the image of the first smart device. In response to the fifth operation, a first interface is generated.

[0201] S2102. Obtain a first operation on the first control.

[0202] Exemplarily, the first operation may be various types of operations such as a single click, a double click, a drag, etc.

[0203] S2103. In response to the first operation, set a scene.

[0204] Wherein, the scene is used to control at least one smart device including the first smart device. Optionally, the operation of setting the scene may refer to completely creating a new scene or adding a smart device to an established scene.

[0205] The above embodiments take setting a scene for smart devices in a single space as an example. In other embodiments, scenes can also be set for smart devices in different spaces.

[0206] In this embodiment, as a possible implementation, the first interface is further configured to present the layout of at least one smart device included in a second space, and the at least one smart device in the second space includes a second smart device. Optionally, the second smart device may be any one of the at least one smart device. The first interface includes a second control for representing the second smart device, and the display position of the second control in the first interface is used to indicate the layout position of the second smart device in the second space. For the introduction of the second control, reference may be made to the corresponding introduction of the first control.

[0207] Exemplarily, in this implementation, the first interface may be the whole house interface 900 as described above. Step S2103 may be specifically implemented as: obtaining a sixth operation on the second control, and in response to the first operation and the sixth operation, setting a scene, which can be used to control multiple smart devices including the first smart device and the second smart device. Optionally, in the embodiments of the present application, the sixth operation and the first operation may be the same or different.

[0208] As another possible implementation, step S2103 may be specifically implemented as: in response to a seventh operation, display a fifth interface. Exemplarily, the seventh operation may be the operation for switching the room interface as described above. The fifth interface is used to present the layout of at least one intelligent device included in the second space. At least one intelligent device in the second space includes a second intelligent device. The first interface includes a second control for representing the second intelligent device. The display position of the second control in the first interface is used to indicate the layout position of the second intelligent device in the second space. Exemplarily, in this implementation, the first interface may be the master bedroom interface 800, and the fifth interface may be the living room interface 810, etc. Obtain a sixth operation on the second control. In response to the first operation and the sixth operation, set a scene, where the scene is used to control multiple intelligent devices including the first intelligent device and the second intelligent device.

[0209] In some embodiments, the first operation described in step S2102 is the operation of dragging the first control to the scene generation control. In this embodiment, before executing step S2102, a fourth operation may also be obtained. In response to this fourth operation, display the scene generation control. Exemplarily, the fourth operation may be the operation for bringing out the scene generation control as described above.

[0210] In this embodiment, in one possible implementation, the scene generation control is a control for creating a new scene, such as the new scene control 1001. Step S2103 may be specifically implemented as: adding the first intelligent device to the newly created scene. In another possible implementation, the scene generation control is a control corresponding to a set scene, such as the leaving room scene control 1002, the returning room scene control 1003, etc. Step S2103 may be specifically implemented as: adding the first intelligent device to the set scene.

[0211] In some embodiments, after executing step S2103, Figure 21 the method shown further includes steps S2104 to S2105:

[0212] S2104. Obtain a second operation.

[0213] S2105. In response to the second operation, display a second interface.

[0214] Wherein, the second interface is used to edit the scene. Optionally, the second interface may be implemented as an editing interface including a room interface as shown, for example, Figure 13 etc. It may also be implemented as an editing interface that does not include a room interface. For example, the editing interface may directly include editing options or items for modifying the scene settings.

[0215] In some embodiments, the second interface includes a second control corresponding to the first intelligent device, and the second control is used to trigger the setting of at least one of the parameters, status, and execution actions of the first intelligent device. Exemplarily, the parameters of the first intelligent device may include, but are not limited to, time parameters, trigger logic, etc. Among them, the time parameter can be used to determine the time when the status of the first intelligent device is triggered to the status set in the scenario. The trigger logic may refer to the order in which the statuses of the intelligent devices are executed when the scenario is triggered. It may also refer to the editing ability of the scenario trigger logic that can be provided by the second interface when an interface for editing the scenario is presented after the scenario is set, that is, when the second interface is presented. The execution action can be used to determine the operation that the first intelligent device needs to execute when the scenario is triggered.

[0216] Optionally, the second interface further includes at least one of a control for setting the role of the intelligent device and a control for setting the scenario trigger time. Exemplarily, the roles of the intelligent devices may include, but are not limited to, the master device, the slave device, etc. described above. The control for setting the scenario trigger time can be, for example, the scenario effective time control described above.

[0217] In some embodiments, after performing step S2105, an operation on the second control can also be obtained, and the second control is a control for representing the first intelligent device. Optionally, the first control and the second control can be the same or different. In response to this operation, an editing interface is popped up, and the editing interface is used to set at least one of the parameters, status, and execution actions of the first intelligent device. Exemplarily, the second control in this example can be, for example, the control of the smart home device described above.

[0218] Alternatively, an editing operation on the second control itself can also be obtained, and the editing operation is used to set at least one of the parameters, status, and execution actions of the first intelligent device. Exemplarily, the second control in this example can be a text box or the like described above.

[0219] In some embodiments, after performing step S2103, a third operation may also be obtained. Optionally, the third operation includes an operation on a control in the interface displayed on the electronic device, or a voice input operation. Exemplarily, the control in the interface displayed on the electronic device may be a control for representing an intelligent device, that is, the control of the smart home device described above (such as, but not limited to, the control of the main device). It may also be a dedicated control for triggering scene simulation. In response to the third operation, a scene is simulated on the third interface, and the third interface is used to present the effect when the scene is triggered and executed in the first space. It can be understood that in the embodiments of the present application, the scene can be simulated after the scene is set, or the scene can be simulated during the process of editing the scene. The embodiments of the present application do not limit the timing of scene simulation. In the embodiments of the present application, when editing a scene, various changes made by the user during the editing process, such as changes to the status, parameters, execution actions, etc. of the intelligent device, can also be referred to as a scene when the changed settings are not saved.

[0220] In some embodiments, the effect when the scene is triggered and executed in the first space includes: the effect presented when the first intelligent device executes according to at least one of the target state, target parameters, and target execution actions, where the target state is the state set in the scene, the target parameters are the parameters set in the scene, and the target execution action is the execution action set in the scene. In some embodiments, the third interface includes controls for presenting at least one of the target state, target parameters, and target execution actions. Exemplarily, the control may be various types of controls such as an icon, a text box, etc.

[0221] The above mainly introduces the solution provided by the embodiments of the present application from the perspective of methods. It can be understood that for the electronic device to implement the above functions, it includes the corresponding hardware structure and / or software module for executing each function. Combining the units and algorithm steps of each example described in the embodiments disclosed in the present application, the embodiments of the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a certain function is executed in the form of hardware or computer-driven 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 function for each specific application, but such implementation should not be considered to exceed the scope of the technical solution of the embodiments of the present application.

[0222] In the embodiments of the present application, the functional modules of the electronic device can be divided according to the above method examples. For example, each functional module can be divided corresponding to each function, or two or more functions can be integrated into one processing unit. The above integrated unit can be implemented in the form of hardware or in the form of a software functional module. It should be noted that the division of units in the embodiments of the present application is illustrative, only a logical functional division, and there may be other division methods in actual implementation.

[0223] As Figure 22 shown, it is a schematic structural diagram of an electronic device provided by an embodiment of the present application. The electronic device 2200 can be used to implement the methods described in each of the above method embodiments. Exemplarily, the electronic device 2200 may specifically include: a processing unit 2201 and a display unit 2202.

[0224] Among them, the processing unit 2201 is used to support the electronic device 2200 to execute Figures 1 to 21 the processing functions performed by the first electronic device described in any one of Figure 21 such as, but not limited to, Figures 1 to 21 the steps S2102, S2103, S2104, etc. shown in Figure 21 . The display unit 2202 is used to support the electronic device 2200 to execute Figures 1 to 21 the display functions performed by the first electronic device described in any one of Figure 21 such as, but not limited to, Figure 21 the steps S2101, S2105, etc. shown in

[0225] Optionally, Figure 22 shown, the electronic device 2200 may further include a communication unit 2203. The communication unit 2203 is used to support the electronic device 2200 to execute Figures 1 to 21 the communication functions performed by the first electronic device described in any one of Figures 1 to 21 such as, but not limited to, communicating with a second electronic device, a third electronic device, etc.

[0226] Optionally, Figure 22 shown, the electronic device 2200 may further include a storage unit (not shown in the figure). The storage unit stores programs or instructions. When the processing unit 2201 executes the program or instructions, it enables Figure 22 the electronic device 2200 shown to execute the methods described in the above method embodiments.

[0227] Figure 22 The technical effects of the electronic device 2200 shown can refer to the technical effects described in the above method embodiments, and will not be elaborated here. Figure 22In the electronic device 2200 shown, the processing unit 2201 involved can be implemented by a processor or processor-related circuit components, and can be a processor or a processing module. The communication unit 2203 can be implemented by a transceiver or transceiver-related circuit components, and can be a transceiver or a transceiver module. The display unit 2202 can be implemented by components related to a display screen.

[0228] An embodiment of this application also provides a chip system, as Figure 23 shown. The chip system includes at least one processor 2301 and at least one interface circuit 2302. The processor 2301 and the interface circuit 2302 can be interconnected by a line. For example, the interface circuit 2302 can be used to receive signals from other devices. Again, for example, the interface circuit 2302 can be used to send signals to other devices (such as the processor 2301). Exemplarily, the interface circuit 2302 can read instructions stored in a memory and send the instructions to the processor 2301. When the instructions are executed by the processor 2301, the electronic device can be made to execute each step executed by the electronic device in the above embodiment. Of course, the chip system can also include other discrete devices, and this application embodiment does not make specific limitations thereto.

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

[0230] Optionally, the memory in the chip system can also be one or more. The memory can be integrated with the processor or can be separately arranged from the processor, and this application does not limit it. Exemplarily, the memory can be a non-transitory processor, such as a read-only memory ROM, which can be integrated with the processor on the same chip or can be separately arranged on different chips. This application does not make specific limitations on the type of the memory and the arrangement manner of the memory and the processor.

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

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

[0233] The embodiments of the present application further provide a computer storage medium, in which computer instructions are stored. When the computer instructions run on an electronic device, the electronic device is enabled to execute the methods described in the above method embodiments.

[0234] The embodiments of the present application provide a computer program product, which includes: a computer program or instructions. When the computer program or instructions run on a computer, the computer is enabled to execute the methods described in the above method embodiments.

[0235] In addition, the embodiments of the present application further provide a device, which may specifically be a chip, a component or a module. The device may include a processor and a memory connected to each other; wherein, the memory is used to store computer execution instructions. When the device runs, the processor may execute the computer execution instructions stored in the memory, so that the device executes the methods in the above method embodiments.

[0236] Among them, the electronic device, the computer storage medium, the computer program product or the chip provided in this embodiment are all used to execute the corresponding methods provided above. Therefore, the beneficial effects that can be achieved can refer to the beneficial effects in the corresponding methods provided above, and will not be elaborated here.

[0237] From the description of the above embodiments, those skilled in the art can understand that for the convenience and simplicity of description, only the division of the above functional modules is used as an example. In actual applications, the above functions can be allocated to different functional modules according to needs, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above.

[0238] In several embodiments provided in the present application, it should be understood that the disclosed device and method can be implemented in other ways. The embodiments can be combined with each other or referred to each other without conflict. The device embodiments described above are only illustrative. For example, the division of modules or units is only a logical function division. In actual implementation, there can be other division methods. For example, multiple units or components can be combined or integrated into another device, or some features can be ignored or not executed. Another point is that the displayed or discussed coupling or direct coupling or communication connection between each other can be through some interfaces. The indirect coupling or communication connection of the device or unit can be in electrical, mechanical or other forms.

[0239] The units described as separate components may or may not be physically separated. The components displayed as units may be one physical unit or multiple physical units, that is, they can be located in one place or distributed to multiple different places. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.

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

[0241] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a readable storage medium. Based on such an understanding, the technical solution of the embodiments of the present application, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. The software product is stored in a storage medium and includes several instructions to enable an electronic device (which can be a single-chip microcomputer, a chip, etc.) or a processor to execute all or part of the steps of the methods in the embodiments of the present application. The foregoing storage medium includes: USB flash drive, mobile hard disk, read-only memory (ROM), random access memory (RAM), magnetic disk or optical disk and other various media that can store program codes.

[0242] The above content is only a specific implementation manner of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art within the technical scope disclosed by the present application can easily think of changes or substitutions, which should all be covered within the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims

1. A method for scene setting, characterized in that, applied to an electronic device including a display screen, the method comprising: displaying a first interface for presenting the layout of at least one smart device included in a first space, at least one smart device in the first space including a first smart device, the first interface including a first control for representing the first smart device, and the display position of the first control in the first interface being used to indicate the layout position of the first smart device in the first space; obtaining a first operation on the first control; responding to the first operation to set a scene for controlling at least one smart device including the first smart device.

2. The method according to claim 1, characterized in that, after responding to the first operation to set the scene, the method further comprises: obtaining a second operation; responding to the second operation to display a second interface for editing the scene.

3. The method according to claim 2, characterized in that, the second interface includes a second control corresponding to the first smart device, and the second control is used to trigger setting at least one of parameters, status, and execution actions of the first smart device.

4. The method according to claim 3, characterized in that, after responding to the second operation to display the second interface, the method further comprises: obtaining an operation on the second control, where the second control is a control for representing the first smart device; responding to the operation to pop up an editing interface for setting at least one of parameters, status, and execution actions of the first smart device; or, obtaining an editing operation on the second control itself, and the editing operation is used to set at least one of parameters, status, and execution actions of the first smart device.

5. The method according to any one of claims 2-4, characterized in that, the second interface further includes at least one of a control for setting the role of the smart device and a control for setting the scene trigger time.

6. The method according to any one of claims 1-5, characterized in that, after responding to the first operation to set the scene, the method further comprises: obtaining a third operation; responding to the third operation to simulate the scene on a third interface, and the third interface is used to present the effect when the scene is triggered and executed in the first space.

7. The method according to claim 6, characterized in that, the effect when the scene is triggered and executed in the first space includes: the effect presented when the first smart device executes according to at least one of a target state, target parameters, and target execution actions, where the target state is the state set in the scene, the target parameters are the parameters set in the scene, and the target execution action is the execution action set in the scene.

8. The method according to claim 7, characterized in that, The third interface includes controls for presenting at least one of the target state, the target parameter, and the target execution action.

9. The method according to any one of claims 6-8, wherein, the third operation includes an operation on a control in the interface displayed on the electronic device or a voice input operation.

10. The method according to any one of claims 1-9, wherein, the first operation is an operation of dragging the first control to the scene generation control.

11. The method according to claim 10, wherein, the scene generation control is a control for creating a new scene; responding to the first operation and setting the scene includes: adding the first smart device to the newly created scene; or, the scene generation control is a control corresponding to the set scene; responding to the first operation and setting the scene includes: adding the first smart device to the set scene.

12. The method according to claim 10 or 11, wherein, before obtaining the first operation on the first control, the method further includes: obtaining a fourth operation; responding to the fourth operation and displaying the scene generation control.

13. The method according to any one of claims 1-12, wherein, the first interface is generated based on an image obtained by photographing the first space or based on a design drawing of the first space.

14. The method according to claim 13, wherein, before displaying the first interface, the method further includes: displaying a fourth interface, which includes an image obtained by photographing the first space and the first control. The image includes an image of at least one smart device in the first space, and the image of the at least one smart device includes an image of the first smart device. The first control is used to identify the first smart device; obtaining a fifth operation for dragging the first control to the image of the first smart device; responding to the fifth operation and generating the first interface.

15. The method according to any one of claims 1-14, wherein, the first interface is further used to present the layout of at least one smart device included in the second space. At least one smart device in the second space includes a second smart device. The first interface includes a second control for representing the second smart device, and the display position of the second control in the first interface is used to indicate the layout position of the second smart device in the second space; responding to the first operation and setting the scene includes: obtaining a sixth operation on the second control; responding to the first operation and the sixth operation and setting the scene, where the scene is used to control multiple smart devices including the first smart device and the second smart device.

16. The method according to any one of claims 1-14, wherein, responding to the first operation and setting the scene includes: In response to a seventh operation, a fifth interface is displayed, and the fifth interface is used to present the layout of at least one intelligent device included in a second space. At least one intelligent device in the second space includes a second intelligent device. A second control for representing the second intelligent device is included in the first interface, and the display position of the second control in the first interface is used to indicate the layout position of the second intelligent device in the second space. Obtain a sixth operation on the second control. In response to the first operation and the sixth operation, a scene is set, and the scene is used to control a plurality of intelligent devices including the first intelligent device and the second intelligent device.

17. An electronic device Characterized in that It includes: A processor, a memory, and a display screen. The memory and the display screen are coupled to the processor. The memory is used to store program code, and the program code includes instructions. The processor reads the instructions from the memory so that the electronic device executes the method according to any one of claims 1-16.

18. A computer-readable storage medium Characterized in that The computer-readable storage medium includes a computer program. When the computer program runs on an electronic device, the electronic device is caused to execute the method according to any one of claims 1-16.

19. A computer program product Characterized in that The computer program product includes: a computer program or instructions. When the computer program or instructions run on a computer, the computer is caused to execute the method according to any one of claims 1-16.

Citation Information

Cited By

  • Interaction method and device of home equipment, electronic equipment and storage medium

    CN120994105A