Scene setting method and electronic equipment
By creating space slices and subscenes in the smart home system, the problem of multiple steps for users when setting delay scenes is solved, and a more efficient delay scene creation and setting experience is achieved.
Patent Information
- Application Number
- CN202311469338.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-11-03
- Publication Date
- 2025-05-06
- Estimated Expiration
- 2043-11-03
AI Technical Summary
In a smart home system, when users create a control scenario with delay, there are many steps and repeated steps, resulting in complex operations and high difficulty in setting, which affects the user experience.
By creating spatial slices and their corresponding subscenes, we realize the creation of delay scenes for multiple subscenes, simplifying user operation steps and reducing the difficulty of setting delay scenes.
It simplifies the operation steps of users to set delay scenes, reduces the difficulty of setting delay scenes, and improves the efficiency of creating delay scenes.
Smart Images

Figure CN119937333A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of terminal technology, and in particular to a scene setting method and an electronic device. Background Art
[0002] With the development of terminal technology, in the smart home system, various devices in the home (such as Figure 1 The audio and video equipment 11, lighting system equipment 12, environmental control equipment 13, security system equipment 14, etc. shown in the figure are connected together to realize centralized control of the equipment.
[0003] Generally, for the convenience of operation, users will create control scenes including multiple devices to realize automatic control of multiple devices based on scenes. For example, creating a waking scene includes setting up multiple devices such as music, curtains, and gauze curtains to start at a preset time, and setting the startup parameters of each device. This makes it convenient for users to not have to turn on each device one by one when getting up.
[0004] In some scenarios of smart homes, the execution of different devices requires a certain delay (time interval). For example, in the wake-up scenario, you need to turn on the music and curtains first, then open the gauze curtains after 10 minutes, and turn off the devices in all rooms after 20 minutes. Currently, when users create control scenes with delays, there are many and repeated steps involved. For example, you need to first select the device to perform the task, then set the specific working parameters of the device (such as on / off, brightness, playback content, etc.), and then add the delay length. If you need to add more delays between tasks, repeat the above steps. The user operation is complicated and the setting difficulty is high during the scene setting process, which affects the user experience. Summary of the invention
[0005] In order to solve the above technical problems, the present application provides a scene setting method and an electronic device. The technical solution provided by the present application controls the device to create a time-delay scene including multiple sub-scenes by creating a sub-scene corresponding to a spatial slice, thereby reducing the difficulty of setting the time-delay scene and improving the efficiency of creating the time-delay scene.
[0006] In order to achieve the above technical objectives, the embodiments of the present application provide the following technical solutions:
[0007] In a first aspect, a scene setting method is provided, which is applied to a control device, and the method includes: in response to a first operation of a user to create a scene, a first interface is displayed, a created first spatial slice is displayed in a first area of the first interface, and first information of a first subscene corresponding to the first spatial slice is displayed in a second area of the first interface, the first information is used to indicate a first task of a first target device included in the first subscene; in response to a second operation of the user, a second spatial slice sorted after the first spatial slice is displayed in the first area, and second information of a second subscene corresponding to the second spatial slice is switched to be displayed in the second area, the second information is used to indicate a second task of a second target device included in the second subscene; in response to a third operation of the user, a first target scene is generated, the first target scene includes a first subscene and a second subscene, and the first target scene includes an indication that the second target device is triggered to perform a second task after a first time interval that triggers the first target device to perform the first task.
[0008] In this way, the control device responds to the user operation and completes the creation of a time-delay scene including multiple sub-scenes by creating a spatial slice and a sub-scene corresponding to the spatial slice. This simplifies the operation steps for the user to set the time-delay scene, reduces the difficulty of setting the time-delay scene, and improves the efficiency of creating the time-delay scene.
[0009] According to the first aspect, the first time interval is a default time interval, or the first time interval is a first time interval between the first space slice and the second space slice set in response to a fourth operation of the user.
[0010] In this way, the control device determines the first time interval between the first spatial slice and the second spatial slice in response to the user operation, and sets the delay scene task for the device in the sub-scene corresponding to the spatial slice. This can simplify the user operation steps, improve the efficiency of the user setting the delay scene task, and simplify the user's operation steps for setting the delay scene.
[0011] According to the first aspect, or any implementation manner of the first aspect above, in response to a second operation of the user, a second spatial slice sorted after the first spatial slice is displayed on the first area, and second information of a second subscene corresponding to the second spatial slice is switched to be displayed on the second area, including: in response to the user's operation of creating a spatial slice, a second spatial slice is generated by copying the first spatial slice, and the copied first information is displayed on the second area; in response to the user's operation on the first information, second information of a second subscene corresponding to the second spatial slice is generated; the second spatial slice is displayed on the first area, and the second information is displayed on the second area.
[0012] In this way, the control device can copy and edit the information of the sub-scene corresponding to the already set spatial slice in the second area in response to the user's operation of adding a spatial slice. The sub-scene corresponding to the next spatial slice with a time interval is set, and a delay scene task is added to the target device in the space corresponding to the spatial slice, and the linkage effect between the sub-scenes corresponding to different spatial slices can be achieved. The user operation steps can be simplified and the efficiency of the user setting the delay scene can be improved.
[0013] According to the first aspect, or any implementation manner of the first aspect above, in response to a first operation of a user to create a scene, a first interface is displayed, a created first spatial slice is displayed in a first area of the first interface, and first information of a first sub-scene corresponding to the first spatial slice is displayed in a second area of the first interface, including: in response to a first operation of a user to create a scene, determining a device status of a controlled device in a current space, the controlled device including a first target device; creating a first spatial slice and generating first information of a first sub-scene corresponding to the first spatial slice according to the device status.
[0014] In this way, the device state of the controlled device in the space may be the device state in the scene that the user wants to create. Therefore, the control device creates an initial space slice (i.e., the first space slice) based on the device state of the controlled device in the current space, which can effectively simplify the setting process of the first sub-scene corresponding to the initial space slice, and make the first information of the first sub-scene meet the actual usage needs of the user.
[0015] According to the first aspect, or any implementation of the first aspect, the first target device and the second target device are devices in the same space, or the first target device and the second target device are devices in different spaces.
[0016] In some examples, according to actual usage requirements, the user may need to configure the delay scenarios corresponding to the controlled devices in the same space, or the user may also need to configure the delay scenarios corresponding to the controlled devices in different spaces.
[0017] In this way, the control device can respond to user operations and add delay scene tasks for devices in different spaces, so that devices in different spaces can be linked to form cross-space delay scenes, thereby improving the intelligence of the smart home system and the quality of life of users.
[0018] According to the first aspect, or any implementation of the first aspect above, in response to the user's second operation, before displaying the second spatial slice sorted after the first spatial slice on the first area and switching to display the second information of the second sub-scene corresponding to the second spatial slice on the second area, the method also includes: detecting the user's second operation instructing to create a spatial slice, determining the first space where the current control device is located; when the first space is the same as the second space where the first target device is located, generating the second spatial slice by copying the first spatial slice; when the first space is different from the second space where the first target device is located, generating the second spatial slice according to the device status of the controlled device in the first space.
[0019] In this way, the control device generates information of sub-scenes corresponding to the spatial slices in different ways based on the user's operation of creating spatial slices, by detecting whether the user is creating spatial slices for the same space or for a space across spaces. When the control device responds to the user's operation to add a spatial slice, if it is detected that the first space where the current control device is located is the same as the second space where the first target device is located, and it is determined that the user is continuing to create sub-scenes for the same space, then the second spatial slice is generated by copying the first spatial slice, which can simplify the user operation. If it is detected that the first space is different from the second space where the first target device is located, and it is determined that the user wants to create sub-scenes for different spaces, then the second spatial slice is generated according to the device status of the controlled device in the first space, which can simplify the subsequent editing of the second spatial slice. Simplify the user operation steps and improve the efficiency of the user in setting the delay scene.
[0020] According to the first aspect, or any implementation of the first aspect, the second target device includes a device whose device state is to be switched in the first target device, and / or a newly added device to be controlled.
[0021] In some examples, during the delay scene setting process, the user can set sub-scenes corresponding to different spatial slices according to actual usage needs, and the sub-scenes corresponding to adjacent spatial slices include the same or different target devices for tasks to be executed. Then, in the process of editing sub-scenes according to user operations, the control device can determine whether the state of the controlled device corresponding to the adjacent spatial slice is a stock device state or an incremental device state, and determine the target device corresponding to the incremental device state as the information of the currently edited sub-scene. So that when the sub-scene is subsequently triggered to execute, the target device corresponding to the incremental device state can be triggered to execute the task, so as to change the device state to the required device state.
[0022] In this way, the control device can determine the second target device for the task to be executed in the current sub-scenario in response to the user operation, which simplifies the user operation steps and reduces the difficulty of setting the delay scene.
[0023] According to the first aspect, or any implementation method of the first aspect above, switching to display the second information of the second sub-scene corresponding to the second spatial slice on the second area includes: switching to display the second information on the second area, and keeping displaying the information of the device whose device status is not switched in the first target device.
[0024] In this way, the control device responds to user operations, and the device information that keeps the device status unchanged in the second area only needs to switch to display the information with increment and / or decrement in the device status, which helps the user understand the scene setting effect and improves the efficiency of the user in setting the delay scene.
[0025] According to the first aspect, or any implementation of the first aspect above, in response to a fifth operation of the user adjusting the arrangement order of the first spatial slice and the second spatial slice displayed in the first display area, the first target scene is modified and a second target scene is generated, and the second target scene includes an indication that the first target device is triggered to perform a fourth task after a first time interval that triggers the second target device to perform a third task.
[0026] In this way, the control device can adjust the execution order of the spatial slices in response to the user operation, thereby easily modifying the order in which the target device executes the time-delay scenario tasks, making the user's operation of setting the time-delay scenario tasks more flexible and simple.
[0027] According to the first aspect, or any implementation of the first aspect above, before generating the first target scene in response to the user's fourth operation, the method also includes: in response to the user's sixth operation of selecting the first spatial slice in the first area, highlighting the spatial slice in the first area according to a preset manner, and switching to display the first information of the first sub-scene in the second area.
[0028] In this way, the control device responds to the user's switching operation on the spatial slice, highlights the selected spatial slice, and switches to display the sub-scene preview interface corresponding to the selected spatial slice, which can facilitate the user to view the effect of the delay scene setting and improve the user's efficiency in setting the delay scene.
[0029] According to the first aspect, or any implementation of the first aspect above, the control device sets the loop parameters of the first target scene in response to the user's seventh operation, and the loop parameters include one or more of the following: number of loops, loop duration, and loop time interval.
[0030] Among them, the number of cycles is used to indicate the number of executions of the delay scene. For example, after determining that the trigger condition of the delay scene is met, the control device triggers the target devices included in the multiple sub-scenes in turn according to the triggering order of the multiple sub-scenes included in the delay scene to perform the corresponding tasks. After that, the control device repeats the above delay scene implementation process according to the number of cycles. The cycle time interval is used to indicate the time interval of the delay scene cycle. For example, the control device instructs the target device to execute the delay scene according to the sub-scene sequence corresponding to the spatial slice, and then after the cycle time interval, the control device instructs the target device to execute the delay scene according to the sub-scene sequence corresponding to the spatial slice. The cycle duration refers to the total duration that the control device controls the target device to perform the task according to the delay scene. For example, the light show delay scene is a cyclic delay scene. After the control device controls the lighting device to perform the task for a cycle duration, it stops controlling the lighting device in the light show scene to perform the task.
[0031] In this way, the control device responds to the user's operation, sets the loop parameters, and can add a loop delay task for the target device. This reduces the operation steps for the user to set the loop delay scene, and reduces the difficulty for the user to set the loop delay scene for the target device. For example, for some loop delay scenes such as light shows that require the target device to repeatedly perform the same task, the user only needs to set the execution task and loop parameters of the target device once to complete the setting of the entire loop delay scene.
[0032] According to the first aspect, or any implementation of the first aspect above, in response to the user's eighth operation, the effectiveness conditions of the first sub-scene or the second sub-scene are set, and the effectiveness conditions include one or more of the effectiveness time, device status change, weather conditions, and time interval.
[0033] In some examples, by adding effective conditions to the triggering of the delay scenario or the sub-scenario in the delay scenario, the delay scenario is automatically executed to meet the actual usage needs of users.
[0034] In this way, the control device responds to user operations and sets the effectiveness conditions for the spatial slices and the sub-scenes corresponding to the spatial slices, which can make the set delay scenes more humane, more intelligent, and closer to the user's life needs, further improving the user's quality of life.
[0035] According to the first aspect, or any implementation of the first aspect above, in response to a ninth operation of the user, a second interface is displayed, and the second interface is used to play an execution effect of the first target scene. The execution effect includes switching to display a first spatial slice and a second spatial slice in the first area, and switching to display first information corresponding to the first spatial slice and second information corresponding to the second spatial slice in the second area.
[0036] In this way, the control device can play the sub-scene corresponding to the spatial slice for the user by responding to the user's instruction to preview the time-lapse scene, making it convenient for the user to preview the time-lapse scene setting effect in real time, greatly improving the user's setting efficiency in creating time-lapse scenes.
[0037] According to the first aspect, or any implementation of the first aspect above, during the process of playing the execution effect of the first target scene, a first command instructing the execution of a first task is sent to the first target device, and a second command instructing the execution of a second task is sent to the second target device.
[0038] In this way, the control device responds to the user's instructions to preview the time-delay scene, allowing the device to execute the time-delay scene in real time in the physical space, greatly improving the visualization and setting efficiency when the user creates the time-delay scene.
[0039] According to the first aspect, or any implementation of the first aspect above, in response to the user's tenth operation, a third spatial slice sorted after the second spatial slice is displayed on the first area, and third information of the third sub-scene corresponding to the third spatial slice is switched to be displayed on the second area, and the third information is used to indicate the fifth task of the third target device included in the third sub-scene; the first target scene also includes an indication of triggering the third target device to perform the fifth task at a second time interval after triggering the second target device to perform the second task, and the second time interval is a default time interval.
[0040] In this way, the control device can create multiple spatial slices in response to user operations and set multiple continuous scene tasks with different time intervals for the target device, which simplifies user operations and improves the efficiency of delay scene setting.
[0041] In a second aspect, a control device is provided. The device includes: a processor, a display screen, and a memory, wherein the memory and the display screen are coupled to the processor, the memory is used to store a computer program code, the computer program code includes a computer instruction, and when the processor reads the computer instruction from the memory, the control device executes: in response to a first operation of a user creating a scene, a first interface is displayed, a first spatial slice created is displayed on a first area of the first interface, and first information of a first sub-scene corresponding to the first spatial slice is displayed on a second area of the first interface, wherein the first information is used to indicate a first task of a first target device included in the first sub-scene; in response to a second operation of the user, a second spatial slice sorted after the first spatial slice is displayed on the first area, and second information of a second sub-scene corresponding to the second spatial slice is switched to be displayed on the second area, wherein the second information is used to indicate a second task of a second target device included in the second sub-scene; in response to a third operation of the user, a first target scene is generated, wherein the first target scene includes a first sub-scene and a second sub-scene, and the first target scene includes an instruction to trigger the second target device to perform a second task after a first time interval that triggers the first target device to perform the first task.
[0042] According to the second aspect, the first time interval is a default time interval, or the first time interval is a first time interval between the first space slice and the second space slice set in response to a fourth operation of the user.
[0043] According to the second aspect, or any implementation of the third aspect above, in response to the user's second operation, a second spatial slice sorted after the first spatial slice is displayed on the first area, and second information of a second subscene corresponding to the second spatial slice is switched to be displayed on the second area, including: in response to the user's operation of creating a spatial slice, a second spatial slice is generated by copying the first spatial slice, and the copied first information is displayed on the second area; in response to the user's operation on the first information, second information of the second subscene corresponding to the second spatial slice is generated; the second spatial slice is displayed on the first area, and the second information is displayed on the second area.
[0044] According to the second aspect, or any implementation of the third aspect above, in response to a first operation of a user to create a scene, a first interface is displayed, a created first spatial slice is displayed in a first area of the first interface, and first information of a first sub-scene corresponding to the first spatial slice is displayed in a second area of the first interface, including: in response to a first operation of a user to create a scene, a device status of a controlled device in the current space is determined, the controlled device includes a first target device; based on the device status, a first spatial slice is created and first information of a first sub-scene corresponding to the first spatial slice is generated.
[0045] According to the second aspect, or any implementation of the third aspect, the first target device and the second target device are devices in the same space, or the first target device and the second target device are devices in different spaces.
[0046] According to the second aspect, or any implementation of the third aspect above, when the processor reads computer instructions from the memory, the control device also executes: detecting a second operation in which the user instructs to create a spatial slice, determining the first space where the current control device is located; when the first space is the same as the second space where the first target device is located, generating a second spatial slice by copying the first spatial slice; when the first space is different from the second space where the first target device is located, generating a second spatial slice according to the device state of the controlled device in the first space.
[0047] According to the second aspect, or any implementation of the third aspect, the second target device includes a device whose device state or operating parameter is to be switched in the first target device, and / or a newly added device to be controlled.
[0048] According to the second aspect, or any implementation method of the third aspect above, switching to display the second information of the second sub-scene corresponding to the second spatial slice on the second area includes: switching to display the second information on the second area, and keeping displaying the information of the device whose device status is not switched in the first target device.
[0049] According to the second aspect, or any implementation of the third aspect above, when the processor reads computer instructions from the memory, it also causes the control device to execute: in response to a fifth operation in which the user adjusts the arrangement order of the first spatial slice and the second spatial slice displayed in the first display area, modify the first target scene, generate a second target scene, and the second target scene includes an instruction to trigger the first target device to perform a fourth task after a first time interval that triggers the second target device to perform a third task.
[0050] According to the second aspect, when the processor reads computer instructions from the memory, the control device also executes: in response to a sixth operation in which the user selects a first spatial slice in the first area, the spatial slice is highlighted in the first area in a preset manner, and the first information of the first sub-scene is switched to be displayed in the second area.
[0051] According to the second aspect, or any implementation of the third aspect above, when the processor reads computer instructions from the memory, it also enables the control device to execute: in response to the user's seventh operation, set the loop parameters of the first target scene, and the loop parameters include one or more of the following: number of loops, loop duration, and loop time interval.
[0052] According to the second aspect, or any implementation of the third aspect above, when the processor reads computer instructions from the memory, it also causes the control device to execute: in response to the user's eighth operation, setting the effectiveness conditions of the first sub-scene or the second sub-scene, the effectiveness conditions including one or more of the effectiveness time, device status change, weather conditions, and time interval.
[0053] According to the second aspect, or any implementation of the third aspect above, when the processor reads computer instructions from the memory, it also causes the control device to execute: in response to the user's ninth operation, display a second interface, the second interface is used to play the execution effect of the first target scene, the execution effect including switching between displaying the first spatial slice and the second spatial slice in the first area, and switching between displaying first information corresponding to the first spatial slice and second information corresponding to the second spatial slice in the second area.
[0054] According to the second aspect, or any implementation of the third aspect above, when the processor reads computer instructions from the memory, it also enables the control device to execute: during the process of playing the execution effect of the first target scene, sending a first command instructing the execution of the first task to the first target device, and sending a second command instructing the execution of the second task to the second target device.
[0055] According to the second aspect, or any implementation of the third aspect above, when the processor reads computer instructions from the memory, it also causes the control device to execute: in response to the user's tenth operation, display the third spatial slice sorted after the second spatial slice on the first area, and switch to display the third information of the third sub-scene corresponding to the third spatial slice on the second area, the third information is used to indicate the fifth task of the third target device included in the third sub-scene; the first target scene also includes an instruction to trigger the third target device to perform the fifth task after a second time interval that triggers the second target device to perform the second task.
[0056] In a third aspect, a computer-readable storage medium is provided. The computer-readable storage medium stores a computer program (also referred to as an instruction or code), and when the computer program is executed by an electronic device, the electronic device executes the method of the first aspect or any one of the implementations of the first aspect.
[0057] According to a fourth aspect, a computer program product is provided. When the computer program product is run on an electronic device, the electronic device executes the method according to the first aspect or any one of the implementations of the first aspect.
[0058] According to a fifth aspect, a circuit system is provided, the circuit system comprising a processing circuit, wherein the processing circuit is configured to execute the method according to the first aspect or any one of the embodiments of the first aspect.
[0059] In a sixth aspect, a chip system is provided, comprising at least one processor and at least one interface circuit, wherein the at least one interface circuit is used to perform transceiver functions and send instructions to the at least one processor, and when the at least one processor executes the instructions, the at least one processor executes the method of the first aspect or any one of the embodiments of the first aspect.
[0060] The technical effects of the aforementioned aspects can be referenced to each other and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS
[0061] Figure 1 A schematic diagram of a home scene provided in an embodiment of the present application;
[0062] Figure 2 Interface diagram provided for the embodiment of the present application Figure 1 ;
[0063] Figure 3 A schematic diagram of a communication system to which a scene setting method is applied according to an embodiment of the present application;
[0064] Figure 4A A schematic diagram of the hardware structure of a first electronic device provided in an embodiment of the present application;
[0065] Figure 4B A schematic diagram of the hardware structure of a communication device provided in an embodiment of the present application;
[0066] Figure 5 Interface diagram provided for the embodiment of the present application Figure 2 ;
[0067] Figure 6 Interface diagram provided for the embodiment of the present application Figure 3 ;
[0068] Figure 7 Interface diagram 4 provided for an embodiment of the present application;
[0069] Figure 8 Interface diagram provided for the embodiment of the present application Figure 5 ;
[0070] Fig. 9 Interface diagram provided for the embodiment of the present application Figure 6 ;
[0071] Fig.10 Interface diagram provided for the embodiment of the present application Figure 7 ;
[0072] Fig.11 Interface diagram provided for the embodiment of the present application Figure 8 ;
[0073] Fig.12Interface diagram provided for the embodiment of the present application Figure 9 ;
[0074] Fig.13 Interface diagram provided for the embodiment of the present application Figure 10 ;
[0075] Fig.14 Interface diagram provided for the embodiment of the present application Figure 10 one;
[0076] Fig.15 Interface diagram provided for the embodiment of the present application Figure 10 two;
[0077] Fig.16 Interface diagram provided for the embodiment of the present application Figure 10 three;
[0078] Fig.17 Interface diagram provided for the embodiment of the present application Figure 10 Four;
[0079] Fig.18 A schematic diagram of a flow chart of a scene setting method provided in an embodiment of the present application;
[0080] Fig.19 A schematic diagram of the structure of a control device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0081] The technical solutions in the embodiments of the present application are described below in conjunction with the drawings in the embodiments of the present application. Among them, in the description of the embodiments of the present application, the terms used in the following embodiments are only for the purpose of describing specific embodiments, and are not intended to be used as limitations on the present application. As used in the specification and the appended claims of the present application, the singular expressions "one", "a kind of", "", "above", "the" and "this" are intended to include expressions such as "one or more", unless there is a clear indication to the contrary in the context. It should also be understood that in the following embodiments of the present application, "at least one", "one or more" refer to one or more (including two).
[0082] References to "one embodiment" or "some embodiments" etc. described in this specification mean that one or more embodiments of the present application include specific features, structures or characteristics described in conjunction with the embodiment. Thus, the statements "in one embodiment", "in some embodiments", "in some other embodiments", "in some other embodiments", etc. that appear in different places in this specification do not necessarily refer to the same embodiment, but mean "one or more but not all embodiments", unless otherwise specifically emphasized in other ways. The terms "including", "comprising", "having" and their variations all mean "including but not limited to", unless otherwise specifically emphasized in other ways. The term "connection" includes direct connection and indirect connection, unless otherwise specified. "First" and "second" are used for descriptive purposes only and cannot be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated.
[0083] In the embodiments of the present application, the words "exemplarily" or "for example" are used to indicate examples, illustrations or explanations. Any embodiment or design described as "exemplarily" or "for example" in the embodiments of the present application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "exemplarily" or "for example" is intended to present related concepts in a specific way.
[0084] In some scenarios, as various electronic devices enter people's lives, the concept of smart home system is proposed for the home use of electronic devices. Figure 1 As shown in the figure, with the residence as the platform, the smart home system uses the Internet of Things, automatic control and other technologies to organically combine various electronic devices and application subsystems related to home life. Among them, the smart home devices in the smart home system can include audio and video devices (such as smart screens, Bluetooth speakers, etc.), lighting equipment (such as main lights, table lamps, spotlights, etc.), environmental control equipment (such as air conditioners, air purifiers, etc.), anti-theft alarm equipment (such as human sensors, cameras, etc.), etc.
[0085] When using smart home devices, users can create smart home device scenes to achieve scene control of smart home devices and improve the control efficiency 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 scene, and set the trigger conditions and tasks that the smart home devices need to perform. For example, setting a scene to turn off the air conditioner includes turning off all the air conditioners in the home when clicking the scene card. This makes it convenient for users to turn off the air conditioner without having to operate each air conditioner one by one when they need to.
[0086] In some scenarios, the execution of different devices requires a certain delay (time interval). Common scenarios include getting up in the morning, going home from get off work, watching movies, looping light shows, family parties, etc. For example, in the scene of getting up, you need to turn on the music and curtains first, then open the gauze curtains after 10 minutes, and turn off the devices in all rooms after 20 minutes. The current smart home control interface only supports the generation of single-moment scenes, and cannot generate scenes with time intervals (delays). If you want to set the actions of multiple devices in a delay scenario, you can only add actions for each device step by step, which is a poor user experience.
[0087] Currently, when users create control scenes with delays, they need to first select the device that performs the task, then set the specific parameters for the device to perform the task (such as on / off, brightness, playback content, etc.), and then add the delay duration. If you need to add delays between more devices performing tasks, repeat the above steps. For example, in a family party light show scene, more devices and delay settings are involved. As a result, the scene setting process involves many and repeated steps, which makes user operations complicated and difficult to set up, affecting the user experience.
[0088] For example, take the case where a smart life application is installed in a mobile phone. After the mobile phone detects the operation of adding a scene in the smart life application, the following is displayed: Figure 2 The scene creation interface 201 shown in (a) of FIG. 201. On the interface 201, after the mobile phone detects that the user clicks the operation of executing the task control 21, the following is displayed: Figure 2 In the interface 202 shown in (b), after the mobile phone detects that the user clicks the smart home device control 22, it determines that the user needs to add a task to control the smart home device, and expands the classification pop-up window of the smart home device. In response to the operation of the smart home device type selected by the user, the following is displayed: Figure 2 Interface 203 is shown in (c). Interface 203 displays controllable smart speaker devices for the user to select. In interface 203, the mobile phone detects that the user clicks the Sound X 01 device control 23, and determines that the smart home device selected by the user to be added to the scene is the Sound X 01 device in the master bedroom. The mobile phone displays the following Figure 2 Interface 204 is shown in (d). Interface 204 displays several options for setting the SoundX 01 device. For example, interface 204 displays the option of playing music for the user to select the type of music. When the mobile phone detects that the user clicks the option of playing music, a pop-up window displays music categories such as European and American music and classical music for the user to choose. When the mobile phone detects that the user has completed the settings in interface 204, it returns to the Figure 2The scene creation interface shown in interface 205 in (e) responds to the user's operation on interface 205 to set the delay of the smart home device action. For example, after the mobile phone detects the user's operation of clicking control 24, it determines that the user is setting the delay action, adding effective conditions or deleting the task of the Sound X 01 device playing European and American music, and pops up a pop-up window including adding effective conditions, delay execution, and deletion options. In response to the user's operation on the delay execution option in the pop-up window, the mobile phone displays the following Figure 2 In the interface 206 shown in (f), the delay time of the Sound X 01 device playing European and American music can be set. After the mobile phone detects that the user clicks the control 25, it displays Figure 2 (g) Interface 207. In interface 207, the mobile phone can determine the delay time of the Sound X 01 device playing European and American music according to the user operation. For example, the delay time is 10 seconds, which indicates that the Sound X 01 device starts playing European and American music 10 seconds after the light bulb is turned on. If more delays between tasks need to be added, repeat the above steps.
[0089] It can be seen that in the process of setting the time-delay scene, the user's operation steps are very cumbersome. In addition, the user needs to pre-envision the scene setting effects of each smart home device required in the time-delay scene to be created. During the scene creation process, the user cannot directly view the scene effect in real time. If the user needs to add or delete some devices in the scene, a complex editing process is also required, which affects the user experience.
[0090] Therefore, the embodiment of the present application provides a scene setting method. In the delay scene setting process of the smart home device, the control device responds to the first operation of the user to create a scene, displays the first interface, displays the created first spatial slice on the first area of the first interface, and displays the first information of the first sub-scene corresponding to the first spatial slice on the second area of the first interface, and the first information is used to indicate the first task of the first target device included in the first sub-scene. In response to the second operation of the user, the control device displays the second spatial slice sorted after the first spatial slice on the first area, and switches to display the second information of the second sub-scene corresponding to the second spatial slice on the second area, and the second information is used to indicate the second task of the second target device included in the second sub-scene. In response to the third operation of the user, the control device generates a first target scene, the first target scene includes the first sub-scene and the second sub-scene, and the first target scene includes an indication that after the first time interval of triggering the first target device to perform the first task, the second target device is triggered to perform the second task. The embodiment of the present application can simplify the user's delay scene setting operation steps through the above method and lower the threshold for delay scene setting.
[0091] Figure 3Schematic diagram of a communication system to which the delay scenario setting method provided in an embodiment of the present application is applied. Figure 3 As shown, the communication system includes a first electronic device 100 , a server 200 and a control device 300 .
[0092] In some embodiments, the first electronic device 100 may be, for example, a speaker 101, a smart screen 102, a desk lamp 103, a lamp 104, a camera 105, an air purifier 106, a mobile phone, a tablet computer, a personal computer (PC), a personal digital assistant (PDA), a netbook, a wearable electronic device, an artificial intelligence (AI) terminal, or other terminal devices. The operating system installed in the first electronic device 100 includes but is not limited to Or other operating systems. The first electronic device 100 may not be installed with an operating system. In some embodiments, the first electronic device 100 may be a fixed device or a portable device. This application does not limit the specific type of the first electronic device 100, whether an operating system is installed, and the operating system installed when an operating system is installed.
[0093] In some embodiments, the first electronic device 100 may be a smart home device, and each first electronic device 100 may be connected to each other to form a smart home system. The first electronic device 100 may be connected to a server 200, and the server 200 manages each first electronic device 100.
[0094] For example, the server 200 manages one or more first electronic devices 100 included in one or more homes based on the home. When the first electronic device 100 requests to join the network configuration of the smart home system, the server 200 adds the first electronic device 100 to the corresponding home.
[0095] In some embodiments, during the network configuration process, an engineer may set the location information of each first electronic device 100, such as electronic devices in a living room, study, bedroom, etc. Afterwards, the first electronic device 100 and / or the server 200 may store the location information of each first electronic device 100.
[0096] In some embodiments, the server 200 may be a device or network device with computing functions such as a cloud server or a network server. The server 200 may be a single server, or a server cluster consisting of multiple servers, or a cloud computing service center. The server 200 may also be described as a smart home cloud platform for managing smart home devices included in a smart home system. Alternatively, the server 200 may also be a local device, or a device group consisting of multiple devices.
[0097] In some embodiments, Figure 3 As shown, the communication system may further include a control device 300. The control device 300 may be connected to one or more first electronic devices 100 to manage and control the first electronic devices 100.
[0098] In some embodiments, the control device 300 may be a dedicated device for controlling smart home devices, or a device including the function of controlling smart home devices. For example, the control device 300 may be a smart home device control panel 302, or a terminal device with a display function such as a mobile phone 301, a tablet, a smart speaker, a smart watch, etc. Among them, the smart home device control panel 302 is a dedicated device for controlling smart home devices in a smart home system. In some embodiments, the control device 300 may be a fixed device or a portable device. The present application does not impose any special restrictions on the specific form of the control device 300.
[0099] In some embodiments, the control device 300 is connected to one or more first electronic devices 100 to obtain device information of the first electronic devices 100. The control device 300 provides a human-computer interaction interface, displays device information of the first electronic device 100 to the user through the human-computer interaction interface, and receives control commands from the user on the devices of the first electronic device 100.
[0100] In some embodiments, a first application is installed in the control device 300. The first application is a smart home application that can connect to a smart home device and edit and manage the smart home device. Figure 3 As shown, the control device 300 is connected to one or more first electronic devices 100 through a first application. In some embodiments, the first application is a smart life application.
[0101] In some embodiments, during the process of starting the first application, the control device 300 detects the user's operation of adding a device, searches for the first electronic device 100 nearby, and configures the searched first electronic device 100. In the network configuration process, the control device 300 sends the network information of the local area network (such as the network name and password) to the first electronic device 100, assists the first electronic device 100 to join the same local area network as the control device 300, and the first electronic device 100 can establish a wireless communication connection with the control device 300. In addition, the control device 300 sends the device information of the first electronic device 100 to the server 200, so that the server 200 adds the first electronic device 100 to the corresponding home and assigns a device identity document (ID) to the first electronic device 100. Then, the server 200 can subsequently manage the first electronic device 100 included in the home in a unified manner.
[0102] For example, the control device 300 receives a scene creation command input by the user, and creates and displays a space slice 1 according to the device state of the first electronic device 100 in the current space (such as a room). Afterwards, the control device 300 can complete the creation of sub-scene 1 according to the user's operation on the sub-scene corresponding to the space slice 1, and the sub-scene 1 includes at least one task that the first electronic device 100 needs to perform. The control device 300 can also create more space slices in response to user operations, and the sub-scenes corresponding to different space slices can be used to instruct the same or different first electronic devices 100 to perform corresponding tasks. Afterwards, the control device 300 can set the time interval for the first electronic device 100 of different sub-scenes to send the execution task instruction according to the user operation to generate the final delay scene.
[0103] The control device 300 can save the time-delay scene to facilitate the user to view or edit the time-delay scene next time.
[0104] In some embodiments, the control device 300 may send the information of the time-delay scene to the server 200. After the server 200 determines that the time-delay scene trigger condition is met, it may directly control the first electronic device 100 included in the time-delay scene to execute the task to be executed by the first electronic device 100 in the scene. In the process of scene control, the server may send a task execution instruction to the first electronic device 100 included in the corresponding sub-scene according to the time interval information between different sub-scenes included in the time-delay scene, so that the devices in the same scene can execute tasks at different times, enrich the setting effect of the time-delay scene, and meet the user's usage needs.
[0105] It should be noted that the above example uses the process of the control device 300 starting the first application and triggering the first electronic device 100 to join the home as an example to illustrate the process of adding the first electronic device 100 to the corresponding home. It is understandable that the method of triggering the first electronic device 100 to join the home may also include other methods. For example, if the control device 300 has not started the first application after it is powered on, it can also automatically search for nearby first electronic devices 100 that are not connected to the local area network and / or have not joined the home, and according to user operations, connect some or all of these first electronic devices 100 to the local area network and join the corresponding home. This embodiment of the present application does not impose specific restrictions on this.
[0106] In some embodiments, Figure 3 As shown, the above communication system may also not include the control device 300. The first electronic device 100 is added to the home managed by the server 200, and the server 200 can directly obtain the information of all the first electronic devices 100 in the home. Then, subsequently, any electronic device with processing capability among the first electronic devices 100 can send a request to the server 200 as needed to obtain the information of other first electronic devices 100. Afterwards, the electronic device, as the main device, can be used to control other first electronic devices 100 and create a time-delay scenario including one or more first electronic devices 100.
[0107] For example, the first electronic device 100 includes a smart screen 102, and the smart screen 102 can create a time-delay scene including one or more first electronic devices 100 according to user operations, and send the time-delay scene to the server 200. After the server 200 determines that the time-delay scene trigger condition is met, it can directly control the first electronic device 100 included in the time-delay scene to perform the task to be performed by the first electronic device 100 in the time-delay scene.
[0108] In some embodiments, the operating system is, for example, a smart home system, and the first electronic device 100 is a smart home device. Alternatively, the operating system is a smart office system, and the first electronic device 100 is a smart office device. Alternatively, the communication system may also be other communication systems such as a smart campus communication system, which is not limited in the present embodiment of the application. The following takes the case where the communication system is, for example, a smart home system and the first electronic device 100 is a smart home device as an example to describe in detail the scene setting method provided in the present embodiment of the application.
[0109] For example, Figure 4A A schematic structural diagram of the first electronic device 100 is shown.
[0110] The first electronic device 100 may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a sensor module 180, a button 190, a motor 191, an indicator 192, a camera 193, a display screen 194, and a subscriber identification module (SIM) card interface 195, etc.
[0111] It is to be understood that the structure illustrated in the embodiment of the present application does not constitute a specific limitation on the first electronic device 100. In other embodiments of the present application, the first electronic device 100 may include more or fewer components than shown in the figure, or combine some components, or split some components, or arrange the components differently. The components shown in the figure may be implemented in hardware, software, or a combination of software and hardware.
[0112] 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 processor (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. Different processing units may be independent devices or integrated into one or more processors.
[0113] The controller can generate operation control signals according to the instruction operation code and timing signal to complete the control of instruction fetching and execution.
[0114] The processor 110 may also be provided with a memory for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. The memory may store instructions or data that the processor 110 has just used or cyclically used. If the processor 110 needs to use the instruction or data again, it may be directly called from the memory. This avoids repeated access, reduces the waiting time of the processor 110, and thus improves the efficiency of the system.
[0115] In some embodiments, the processor 110 may include one or more interfaces. The interface may include an inter-integrated circuit (I2C) interface, an inter-integrated circuit sound (I2S) interface, a pulse code modulation (PCM) interface, a universal asynchronous receiver / transmitter (UART) interface, a mobile industry processor interface (MIPI), a general-purpose input / output (GPIO) interface, a subscriber identity module (SIM) interface, and / or a universal serial bus (USB) interface, etc.
[0116] The I2C interface is a bidirectional synchronous serial bus, including a serial data line (SDA) and a serial clock line (SCL). In some embodiments, the processor 110 may include multiple groups of I2C buses. The processor 110 may be coupled to a touch sensor, a charger, a flash, a camera 193, etc. through different I2C bus interfaces. For example: the processor 110 may be coupled to a touch sensor through an I2C interface, so that the processor 110 communicates with the touch sensor through the I2C bus interface to realize the touch function of the first electronic device 100.
[0117] The MIPI interface can be used to connect the processor 110 with peripheral devices such as the display screen 194 and the camera 193. The MIPI interface includes a camera serial interface (CSI), a display serial interface (DSI), etc. In some embodiments, the processor 110 and the camera 193 communicate via the CSI interface to implement the shooting function of the first electronic device 100. The processor 110 and the display screen 194 communicate via the DSI interface to implement the display function of the first electronic device 100.
[0118] The USB interface 130 is an interface that complies with the USB standard specification, and specifically can be a Mini USB interface, a Micro USB interface, a USB Type C interface, etc. The USB interface 130 can be used to connect a charger to charge the first electronic device 100, and can also be used to transfer data between the first electronic device 100 and a peripheral device. It can also be used to connect headphones to play audio through the headphones. The interface can also be used to connect other electronic devices, such as AR devices, etc.
[0119] It is understandable that the interface connection relationship between the modules illustrated in the embodiment of the present application is only a schematic illustration and does not constitute a structural limitation on the first electronic device 100. In other embodiments of the present application, the first electronic device 100 may also adopt different interface connection methods in the above embodiments, or a combination of multiple interface connection methods.
[0120] The charging management module 140 is used to receive charging input from a charger. The charger may be a wireless charger or a wired charger. In some wired charging embodiments, the charging management module 140 may receive charging input from a wired charger through the USB interface 130. In some wireless charging embodiments, the charging management module 140 may receive wireless charging input through a wireless charging coil of the first electronic device 100. While the charging management module 140 is charging the battery 142, it may also power the electronic device through the power management module 141.
[0121] The power management module 141 is used to connect the battery 142, the charging management module 140 and the processor 110. The power management module 141 receives input from the battery 142 and / or the charging management module 140, and supplies power to the processor 110, the internal memory 121, the display screen 194, the camera 193, and the wireless communication module 160. The power management module 141 can also be used to monitor parameters such as battery capacity, battery cycle number, battery health status (leakage, impedance), etc. In some other embodiments, the power management module 141 can also be set in the processor 110. In other embodiments, the power management module 141 and the charging management module 140 can also be set in the same device.
[0122] The wireless communication function of the first electronic device 100 can be implemented through the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modem processor and the baseband processor.
[0123] Antenna 1 and antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in the first electronic device 100 can be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve the utilization of the antennas. For example, antenna 1 can be reused as a diversity antenna for a wireless local area network. In some other embodiments, the antenna can be used in combination with a tuning switch.
[0124] The mobile communication module 150 can provide solutions for wireless communications including 2G / 3G / 4G / 5G applied to the first electronic device 100. The mobile communication module 150 may include at least one filter, a switch, a power amplifier, a low noise amplifier (LNA), etc. The mobile communication module 150 can receive electromagnetic waves from the antenna 1, and filter, amplify, and process the received electromagnetic waves, and transmit them to the modulation and demodulation processor for demodulation. The mobile communication module 150 can also amplify the signal modulated by the modulation and demodulation processor, and convert it into electromagnetic waves for radiation through the antenna 1. In some embodiments, at least some of the functional modules of the mobile communication module 150 can be set in the processor 110. In some embodiments, at least some of the functional modules of the mobile communication module 150 can be set in the same device as at least some of the modules of the processor 110.
[0125] The wireless communication module 160 can provide wireless communication solutions 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 (IR), etc., applied to the first electronic device 100. The wireless communication module 160 can be one or more devices integrating at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna 2, modulates the frequency of the electromagnetic wave signal and filters it, and sends the processed signal to the processor 110. The wireless communication module 160 can also receive the signal to be sent from the processor 110, modulate the frequency of it, amplify it, and convert it into electromagnetic waves for radiation through the antenna 2.
[0126] In some embodiments, the antenna 1 of the first electronic device 100 is coupled to the mobile communication module 150, and the antenna 2 is coupled to the wireless communication module 160, so that the first electronic device 100 can communicate with the network and other devices through wireless communication technology. The wireless communication technology may include global system for mobile communications (GSM), general packet radio service (GPRS), code division multiple access (CDMA), wideband code division multiple access (WCDMA), time-division code division multiple access (TD-SCDMA), long term evolution (LTE), BT, GNSS, WLAN, NFC, FM, and / or IR technology, etc. GNSS may include the global positioning system (GPS), the global navigation satellite system (GLONASS), the Beidou navigation satellite system (BDS), the quasi-zenith satellite system (QZSS) and / or the satellite based augmentation system (SBAS).
[0127] In some embodiments, the first electronic device 100 communicates with the server 200, the control device 300 or other first electronic devices 100 through the mobile communication module 150 or the wireless communication module 160 to achieve the setting and creation of the delay scene.
[0128] The first electronic device 100 implements a display function through a GPU, a display screen 194, and an application processor. The GPU is a microprocessor for image processing, which connects the display screen 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The processor 110 may include one or more GPUs that execute program instructions to generate or change display information.
[0129] The display screen 194 is used to display images, videos, etc. The display screen 194 includes a display panel. The display panel can be manufactured using a liquid crystal display (LCD), such as an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode or an active-matrix organic light-emitting diode (AMOLED), a flexible light-emitting diode (FLED), Mini-led, Micro-led, Micro-oled, quantum dot light emitting diodes (QLED), etc. In some embodiments, the first electronic device 100 may include 1 or N display screens 194, where N is a positive integer greater than 1.
[0130] In some embodiments, the first electronic device 100 can obtain the current space information and the device status information of the smart home devices in the current space from the server 200 to display the space slice of the current space and the sub-scene setting interface corresponding to the space slice on the display screen 194. In addition, the user can view and create a time-delay scene on the display screen 194 according to the device status.
[0131] The camera 193 is used to capture still images or videos. The object generates an optical image through the lens and projects it onto the photosensitive element. The photosensitive element can be a charge coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The photosensitive element converts the optical signal into an electrical signal, and then passes the electrical signal to the ISP to be converted into a digital image signal. The ISP outputs the digital image signal to the DSP for processing. The DSP converts the digital image signal into an image signal in a standard RGB, YUV or other format. In some embodiments, the first electronic device 100 may include 1 or N cameras 193, where N is a positive integer greater than 1.
[0132] The external memory interface 120 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the first electronic device 100. The external memory card communicates with the processor 110 through the external memory interface 120 to implement a data storage function, such as storing music, video and other files in the external memory card.
[0133] The internal memory 121 can be used to store computer executable program codes, and the executable program codes include instructions. The internal memory 121 can include a program storage area and a data storage area. Among them, the program storage area can store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc. The data storage area can store data created during the use of the first electronic device 100 (such as audio data, a phone book, etc.), etc.
[0134] The audio module 170 is used to convert digital audio information into analog audio signal output, and is also used to convert analog audio input into digital audio signals. In some embodiments, the audio module 170 can be arranged in the processor 110, or some functional modules of the audio module 170 can be arranged in the processor 110. The audio module 170 can include a speaker, a receiver, a microphone, a headphone interface, and an application processor to realize audio functions.
[0135] The sensor module 180 may include a pressure sensor, a gyro sensor, an air pressure sensor, a magnetic sensor, an acceleration sensor, a distance sensor, a proximity light sensor, a fingerprint sensor, a temperature sensor, a touch sensor, an ambient light sensor, a bone conduction sensor, and the like.
[0136] A touch sensor is also called a "touch control device". The touch sensor can be arranged on the display screen 194, and the touch sensor and the display screen 194 form a touch screen, also called a "touch control screen". The touch sensor is used to detect touch operations acting on or near it. The touch sensor can pass the detected touch operation to the application processor to determine the type of touch event. Visual output related to the touch operation can be provided through the display screen 194. In other embodiments, the touch sensor can also be arranged on the surface of the first electronic device 100, which is different from the position of the display screen 194.
[0137] The key 190 includes a power key, a volume key, etc. The key 190 may be a mechanical key or a touch key. The first electronic device 100 may receive key input and generate key signal input related to user settings and function control of the first electronic device 100.
[0138] Motor 191 can generate vibration prompts. Motor 191 can be used for incoming call vibration prompts, and can also be used for touch vibration feedback. Indicator 192 can be an indicator light, which can be used to indicate charging status, power changes, messages, missed calls, notifications, etc.
[0139] The SIM card interface 195 is used to connect a SIM card. The SIM card can be connected to or disconnected from the first electronic device 100 by inserting or removing the SIM card interface 195. The first electronic device 100 can support 1 or N SIM card interfaces, where N is a positive integer greater than 1.
[0140] In some embodiments, the server 200 and the control device 300 in the embodiment of the present application can be implemented by different devices. Figure 4B This is achieved by the communication equipment in. Figure 4B The hardware structure diagram of the communication device provided in the embodiment of the present application is shown. The communication device includes at least one processor 501, a communication line 502, a memory 503 and at least one communication interface 504. The memory 503 may also be included in the processor 501.
[0141] It is to be understood that the structure illustrated in the embodiment of the present application does not constitute a specific limitation on the communication device. In other embodiments of the present application, the communication device may include more or fewer components than shown in the figure, or combine certain components, or split certain components, or arrange the components differently. The components shown in the figure may be implemented in hardware, software, or a combination of software and hardware. For example, the communication device is a control device 300, and the control device 300 is a mobile phone, then the control device 300 may also be configured with modules such as a SIM card interface, a camera, and an audio module.
[0142] The processor 501 may be a general-purpose central processing unit (CPU), a microprocessor, an application-specific integrated circuit (ASIC), or one or more integrated circuits for controlling the execution of the program of the present application.
[0143] Communication link 502 may include a pathway for transmitting information between the above-mentioned components.
[0144] Communication interface 504, used to communicate with other devices. In the embodiment of the present application, the communication interface can be a module, a circuit, a bus, an interface, a transceiver or other device capable of realizing a communication function, used to communicate with other devices. In some embodiments, when the communication interface is a transceiver, the transceiver can be an independently arranged transmitter, which can be used to send information to other devices, and the transceiver can also be an independently arranged receiver, which is used to receive information from other devices. The transceiver can also be a component that integrates the functions of sending and receiving information, and the embodiment of the present application does not limit the specific implementation of the transceiver.
[0145] The memory 503 may be a read-only memory (ROM) or other types of static storage devices that can store static information and instructions, a random access memory (RAM) or other types of dynamic storage devices that can store information and instructions, or an electrically erasable programmable read-only memory (EEPROM), a compact disc read-only memory (CD-ROM) or other optical disc storage, optical disc storage (including compressed optical disc, laser disc, optical disc, digital versatile disc, Blu-ray disc, etc.), a magnetic disk storage medium or other magnetic storage device, or any other medium that can be used to carry or store the desired program code in the form of instructions or data structures and can be accessed by a computer, but is not limited thereto. The memory may exist independently and be connected to the processor via a communication line 502. The memory may also be integrated with the processor.
[0146] The memory 503 is used to store computer-executable instructions for implementing the solution of the present application, and the execution is controlled by the processor 501. The processor 501 is used to execute the computer-executable instructions stored in the memory 503, thereby implementing the scene setting method provided in the following embodiment of the present application.
[0147] In some embodiments, the computer-executable instructions in the embodiments of the present application may also be referred to as application code, instructions, computer programs or other names, and the embodiments of the present application do not specifically limit this.
[0148] In a specific implementation, as an embodiment, the processor 501 may include one or more CPUs, such as Figure 4B CPU0 and CPU1 in.
[0149] In a specific implementation, as an embodiment, the communication device may include multiple processors, such as Figure 4B 501 and processor 507 in the embodiment of the present invention. Each of these processors may be a single-CPU processor or a multi-CPU processor. The processor herein may refer to one or more devices, circuits, and / or processing cores for processing data (e.g., computer program instructions).
[0150] In a specific implementation, as an embodiment, the communication device may further include an output device 505 and an input device 506. The output device 505 communicates with the processor 501 and may display information in a variety of ways. For example, the output device 505 may be a liquid crystal display (LCD), a light emitting diode (LED) display device, a cathode ray tube (CRT) display device, or a projector. The input device 506 communicates with the processor 501 and may receive user input in a variety of ways. For example, the input device 506 may be a mouse, a keyboard, a touch screen device, or a sensor device.
[0151] The above-mentioned communication device can be a general device or a special device, and the embodiment of the present application does not limit the type of the communication device. For example, the communication device is a smart home device control panel, which is a special device for controlling smart home devices. For another example, the communication device is a mobile phone, which is a general device that can control smart home devices.
[0152] In the following, the scene setting method provided in the embodiment of the present application is described by taking the communication system as a smart home communication system, the control device 300 as a smart home device control panel, the application for managing smart home devices as a smart life application, and the first electronic device 100 as a smart home device as an example.
[0153] In some embodiments, before the smart home devices in the smart home system are delivered to users for use, engineers are required to configure and debug the smart home devices. This process is the pre-installation process of the smart home devices. During the pre-installation process, engineers will set the location information of the smart home devices according to the installation location of the smart home devices. Among them, the location information includes, for example, home information, room information, etc. For example, in home1, the location information of lights 1-5 is the living room, the location information of the curtains is the bedroom, the location information of the gauze curtains is the living room, etc. Afterwards, the smart home device control panel and the corresponding server can obtain the location information of the smart home devices that have been set up. In some embodiments, the location information of the smart home device is spatial location information, such as the room information of the smart home device.
[0154] In some embodiments, after an electronic device is connected to a local area network, it can discover other electronic devices connected to the same local area network and / or logged into the same account, and these electronic devices can be classified as smart home devices in the same home. Then, the scene settings can be performed for the electronic devices in the same home. The account is used to represent the account of the smart home device management system that the electronic device logs into during the server registration process (such as the pre-installation process).
[0155] For example, a user registers for a smart life application and obtains an account username and password. Later, during the network configuration process of a new electronic device, the user logs in to the account through other electronic devices that have been configured (such as mobile phones) to assist the new electronic device in network configuration. Then, the server divides the electronic devices under the same account into the same home to implement electronic device management based on home. In some embodiments, the server manages one or more homes, and a home includes all electronic devices in a home added by the user.
[0156] Specifically, taking the smart home device control panel as an example, after the smart home device control panel is logged in in the smart life application, after detecting the user's operation of adding an electronic device, it sends the device information of the newly added electronic device to the server, and the server determines the electronic device ID, and divides the electronic device into the home corresponding to the current login account of the smart home device control panel to complete the network configuration of the electronic device. Alternatively, the smart home device control panel responds to the user's operation and sends the device information of the newly added electronic device to the server, and the server determines the electronic device ID and divides the electronic device into the home corresponding to the smart home device control panel. In some embodiments, the smart home device control panel can also log in to multiple accounts, and the same server divides the home according to the account.
[0157] In some embodiments, electronic devices included in a home may be divided into one or more groups according to location information of the electronic devices, such as dividing electronic devices in a room into one group.
[0158] In some embodiments, in a room, electronic devices included in the room may be divided into one or more groups according to their functions, such as dividing all lighting devices in a room into one group.
[0159] In some embodiments, the user can also divide the groups according to the needs. For example, the electronic devices in room 1 and room 2 are divided into the same group, and in the scene setting process, the scene including the electronic devices in these two rooms can be set. For another example, the commonly used electronic devices are divided into the same group, and the scene including the commonly used electronic devices can be set.
[0160] In some embodiments, the smart home device control panel can obtain and display the device status of the smart home devices in the space, so that the user can see the device status in the room at a glance. In some examples, the smart home device control panel can determine its own spatial position based on its own positioning module, thereby obtaining the device status of the smart home devices in the current space. For example, in response to the user's operation of creating a scene, the smart home device control panel can determine that the user is in the bedroom (the user's position is the same as the smart home control panel position). Then, the smart home device control panel can display the device status of one or more smart home devices included in the bedroom.
[0161] In some scenarios, different smart home devices in the scene do not need to have a time interval when performing tasks. For example, the cinema scene includes a smart screen and a smart speaker. When the scene is triggered to execute, the smart home device control panel sends control commands to the smart screen and the smart speaker at the same time (or with a certain time error), and the smart screen and the smart speaker can start running in response to the control command, thereby realizing the cinema scene.
[0162] In other scenarios, different smart home devices in the scene need to have a time interval when performing tasks in order to achieve the corresponding effect or meet the actual needs of users. For example, a light show scene includes multiple smart lights. To achieve the light show effect, when the scene is triggered, different smart lights need to be turned on or off at a certain interval. Therefore, the smart home device control panel needs to send a start command or a shutdown command to the corresponding smart light at a certain time interval according to the set delay scene.
[0163] In some embodiments, the time-delay scene includes multiple sub-scenes, and there is a certain time interval t between the realization of different sub-scenes, t≥0s. Among them, the sub-scene includes one or more tasks to be performed by smart home devices. For example, the time-delay scene is a light show scene applied to 3 smart lights in the living room. The time-delay scene includes sub-scene 1 for indicating the start of smart light 1, sub-scene 2 for indicating the start of smart light 2, and sub-scene 3 for indicating the start of smart light 3. The time interval between the realization of the three sub-scenes is 1s. Then, in the process of realizing the light show scene, the smart home device control panel determines that the realization conditions of the light show scene are met, and sends a start instruction to smart light 1. After 1s, the smart home device control panel sends a start instruction to smart light 2. After another 1s, the smart home device control panel sends a start instruction to smart light 3, thereby completing the realization of the light show scene.
[0164] In some embodiments, in order to simplify the setting process of the time-delay scene and intuitively display the scene setting effect for the user. During the time-delay scene setting process, the smart home device control panel can display the space slice corresponding to the sub-scene and the sub-scene setting interface corresponding to the space slice according to the user operation. In this way, the user can intuitively confirm the setting effect of each sub-scene and the time interval between different sub-scenes. Thereby simplifying the user's time-delay scene setting operation and lowering the threshold for time-delay scene setting.
[0165] It should be understood that spatial slicing can also be described in various ways, such as sub-scene slicing, time-delay scene slicing, smart home device task slicing, etc. The following takes spatial slicing as an example to introduce the sub-scene setting process of task execution with time intervals in the time-delay scene.
[0166] The following is a detailed introduction to the delay scenario setting process.
[0167] In some embodiments, the smart home device control panel obtains the current space information and the device status information of the smart home devices in the current space in response to the user's operation of creating a scene, so as to display the scene creation interface corresponding to the current space. In some examples, the scene creation interface includes an initial space slice, and a sub-scene setting interface corresponding to the initial space slice, and the sub-scene setting interface is used to display the device status of the smart home devices corresponding to the initial space slice. Among them, the space includes, for example, the room where the smart home device control panel is located.
[0168] Exemplarily, the smart home device control panel responds to the user operation, starts the smart life application, and displays the following information: Figure 5 In (a), the smart life application interface shown in the interface 50a. In response to the user's operation on the scene generation control 50 displayed on the smart life application interface, the smart home device control panel determines that the user's current space is the living room, then the smart home device control panel can obtain the device status of the smart home device in the living room, and create an initial space slice corresponding to the device status of the smart home device in the current living room. Figure 5 As shown in interface 50b in (b), the smart home device control panel displays a time-lapse scene editor 51, and displays an initial space slice 52 (or described as space slice 1) on the time-lapse scene editor 51. As shown by reference numeral 53, the smart home device control panel displays sub-scene information corresponding to the initial space slice 52 on the sub-scene setting interface, such as the device status of multiple smart home devices in the current space. In some examples, such as Figure 5In the interface 50b shown in (b), the smart home device control panel displays a device startup area (in the circular area shown by the reference numeral 54) on the sub-scene setting interface. The device (or subsystem) icon located in the device startup area is used to indicate that the corresponding smart home device is in the startup state, and the device (or subsystem) icon located outside the device startup area is used to indicate that the corresponding smart home device is in the shutdown state.
[0169] In some examples, the smart home device control panel displays the sub-scene setting information corresponding to the currently selected space slice on the sub-scene setting interface. For example, as shown in interface 50b, sub-scene 1 corresponding to space slice 1 is used to indicate that the washing machine, humidifier, and dryer are in the started state, and other smart home devices are in the turned off state.
[0170] In some examples, the spatial slices displayed in the time-lapse scene editor 51 may be thumbnails corresponding to the sub-scenes.
[0171] In some examples, the smart home device control panel can modify the sub-scene in response to user operations. For example, in response to the user moving the device (or subsystem) icon located in the device startup area to outside the device startup area, the control state of the smart home device corresponding to the device (or subsystem) icon in the sub-scene can be modified to the off state. In response to the user moving the device (or subsystem) icon located outside the device startup area to the device startup area, the control state of the smart home device corresponding to the device (or subsystem) icon in the sub-scene can be modified to the on state.
[0172] In this way, the smart home device control panel presents the sub-scene setting information corresponding to the spatial slice through the device startup area and the changes in the display position of the icon inside and outside the device startup area, so that users can view the device status indicated by the sub-scene corresponding to the current spatial slice in real time, thereby improving the efficiency of setting the delay scene.
[0173] In some examples, the smart home device control panel can create space slice 1 in response to the user's operation of creating a scene, and the sub-scene corresponding to the space slice 1 is a blank sub-scene to be set. For example, the device status corresponding to the sub-scene displayed on the sub-scene setting interface is that all smart home devices in the current space are set to the off state. Afterwards, the user can indicate the devices to be started that need to be added to the sub-scene according to actual usage needs, so as to avoid the situation where the device status of the smart home devices in the current space does not meet the user's scene setting needs. For example, a large number of smart home devices are turned on in the current space, and these smart home devices are not the smart home devices that the user needs to add to the sub-scene to indicate startup. In this case, if the smart home control panel creates space slice 1 and the sub-scene corresponding to space slice 1 according to the actual operating status of the smart home devices in the space, the user needs to move multiple device icons to correct the sub-scene setting information, resulting in cumbersome user operations.
[0174] Alternatively, the device state corresponding to the blank sub-scene is that all smart home devices in the current space are set to the start state.
[0175] In some examples, in response to a user's operation on a device (or subsystem) icon located in the device startup area, the smart home device control panel may display a parameter setting window of the smart home device corresponding to the device (or subsystem) icon, so that the user can set the parameters of the smart home device in the sub-scene to perform tasks. For example, the operating mode after the washing machine is started. In some examples, in response to a user's operation on a device (or subsystem) icon, the smart home device control panel may send a control command to the corresponding smart home device to instruct the smart home device to start, shut down, run according to corresponding parameters, etc., so that the user can actually determine the execution effect of the sub-scene.
[0176] In some embodiments, the time-delay scene includes multiple sub-scenes. During the time-delay scene creation process, the smart home device control panel responds to the user's operation of creating a space slice, adds a new space slice, and creates a sub-scene corresponding to the newly added space slice.
[0177] In some examples, the smart home device control panel can add a new spatial slice by copying the previous spatial slice.
[0178] For example, Figure 5 In the interface 50b shown in (b), the smart home device control panel generates the following in response to the user's operation of adding a space slice control 55: Figure 5 (c) The spatial slice 2 shown by reference numeral 56 in the interface 50c is a spatial slice generated by copying the spatial slice 52 (ie, spatial slice 1) arranged before the spatial slice 2 in the time-lapse scene editor.
[0179] In this way, the smart home device control panel responds to user operations, creates spatial slices and multiple sub-scenes corresponding to the spatial slices, so as to achieve a certain time interval between the execution of tasks of smart home devices in different sub-scenes, thereby completing the setting of the delay scene. The operation steps for users to set the delay scene are simplified. In addition, the set spatial slices, the sub-scenes corresponding to the spatial slices, and the time intervals between the spatial slices are visually displayed on the smart home device control panel, and the user can intuitively confirm the setting effect of each sub-scene. This improves the efficiency of setting the delay scene for users and lowers the threshold for users to set the delay scene.
[0180] In some embodiments, after adding a new spatial slice, the smart home device control panel displays a sub-scene setting interface corresponding to the newly added spatial slice, and the sub-scene setting interface is used to set the sub-scene corresponding to the newly added spatial slice.
[0181] For example, Figure 6 As shown in (a), the smart home device control panel displays the newly added spatial slice 2 on the time-delay scene editor, and displays the sub-scene setting interface of the sub-scene 2 corresponding to the spatial slice 2 on the interface 60a. If the setting information of the sub-scene 2 displayed on the sub-scene setting interface of the current sub-scene 2 is the same as the setting information of the sub-scene 1 corresponding to the spatial slice 1 that the user has already set up, the user can modify the setting information of the sub-scene 2 according to actual needs. If the smart home device control panel detects that the user drags the main light icon 65 to the device startup area as shown in the figure mark 66 on the sub-scene setting interface along the arrow direction as shown in the figure mark 64, it can be determined that the user instructs to add the startup task of the main light corresponding to the main light icon 65 in the sub-scene 2. The smart home device control panel responds to the user's dragging operation, such as Figure 6 As shown in the interface 60b of (b), the main light icon 65 is displayed in the device startup area as shown by the reference numeral 66, and the main light icon 65 is no longer displayed outside the device startup area as shown by the reference numeral 67.
[0182] Repeat the above steps, and the user can complete the setting of sub-scene 2 according to the needs. Figure 7 As shown in (a), the device icons displayed in the area indicated by reference numeral 71 represent the devices enabled in sub-scene 2 corresponding to spatial slice 2 before being set by the user (i.e., the devices enabled in the sub-scene indicated by spatial slice 1). Figure 7As shown in (b) of FIG. 1 , the smart home device control panel responds to the user's operation of adjusting the device state indicated by the sub-scene 2 corresponding to the spatial slice 2, and adds a smart home device switched to the on state in the sub-scene 2 corresponding to the spatial slice 2. For example, the device icons in the areas indicated by reference numerals 72 and 73 represent smart home devices that are newly switched to the on state in the sub-scene 2 relative to the sub-scene 1.
[0183] In this way, the smart home device control panel responds to the user's editing operation on the device status in the sub-scene corresponding to the space slice, and completes the setting of the sub-scenes corresponding to different space slices. The smart home device control panel intuitively displays the sub-scene setting process through the sub-scene setting interface, helping users understand the scene setting effect and improving the user experience.
[0184] In some embodiments, the smart home device control panel determines the order in which the sub-scenes corresponding to the spatial slices are executed according to the arrangement order of the spatial slices in the time-delay scene editor. Figure 6 In the scenario shown, during the execution of the time-delay scenario, the smart home device control panel instructs the smart home devices in sub-scene 1 corresponding to space slice 1 to perform tasks, and then instructs the smart home devices in sub-scene 2 corresponding to space slice 2 to perform tasks. Then, during the space slice switching process, the tasks performed by the smart home devices in the space corresponding to the switched space slice may be the part with increments and / or decrements between the device states corresponding to the switched space slice and the space slice before switching. For the stock states that have not changed between the device states corresponding to the two space slices before and after the switching, the device states of the smart home devices in the corresponding space are not changed accordingly.
[0185] For example, Figure 6 The space slice 2 indicated by reference numeral 63 in (b) is adjusted after the device status of the smart home device in the corresponding sub-scene is adjusted. Figure 6 The device status of the smart home device in the sub-scene corresponding to the spatial slice 1 indicated by the reference numeral 62 in (a) has an increment, that is, there is a smart home device that needs to change the device status. Figure 7 (a) is the device status in sub-scene 1 corresponding to spatial slice 1. Figure 7 (b) shows the device status of sub-scene 2 corresponding to spatial slice 2. Figure 7 The icons in the area indicated by reference numeral 71 in (a) and (b) are the stock parts of the devices in the turned-on state of the sub-scene corresponding to spatial slice 2 and the devices in the turned-on state of the sub-scene corresponding to spatial slice 1. Figure 7The icons in the area indicated by reference numerals 72 and 73 in (b) represent the incremental part of the devices in the turned-on state of the sub-scene corresponding to spatial slice 2 and the devices in the turned-on state of the sub-scene corresponding to spatial slice 1. In the subsequent delayed scene execution process, when the smart home device control panel switches from spatial slice 1 to spatial slice 2 for execution, it instructs the four smart home devices corresponding to the auxiliary light, main light, gauze curtain, and cloth curtain in the area indicated by reference numerals 72 and 73 to perform the turn-on task, without instructing the washing machine, humidifier, and dryer in the area indicated by reference numeral 71 to change the device status.
[0186] It should be understood that the above example uses device startup to illustrate the increment of device status. In the embodiment of the present application, the change (increment or decrement) of the device status includes not only device startup, but also device shutdown, change of device operating parameters, etc. The embodiment of the present application does not limit this.
[0187] In some embodiments, when a user sets multiple sub-scenes in a time-delay scene, it is necessary to instruct the smart home devices in different sub-scenes to perform their respective tasks separately. That is, there is a certain time interval between different sub-scenes. For example, Figure 6 In the scenario shown, there is a certain time interval between the execution of sub-scene 1 corresponding to space slice 1 and the execution of sub-scene 2 corresponding to space slice 2 by the smart home device control panel
[0188] In this way, the smart home device control panel can create multiple sub-scenes in response to the user's operations of adding and editing spatial slices in the control panel to complete the creation of time-delay scenes, which simplifies the user's operating steps for creating time-delay scenes and can greatly improve the user's efficiency in creating time-delay scenes.
[0189] In addition, when the smart home device control panel executes corresponding sub-scenes in sequence according to the arrangement order of multiple space slices, the smart home devices in different sub-scenes can achieve a linkage effect.
[0190] In some embodiments, there are many types of smart home devices, and the smart home device control panel can classify device icons to facilitate users to find device icons. In some embodiments, the smart home device control panel can classify device icons based on the functions, location information or user needs of the smart home devices.
[0191] For example, the smart home device control panel divides the smart home devices into subsystems according to their functions, such as lighting subsystem, sunshade subsystem, heating and cooling subsystem, audio and video entertainment subsystem, etc. Each space in the home (such as each room) includes one or more subsystems, and the whole house (i.e., the entire home) also includes one or more corresponding systems. Users can filter out the smart home devices that need to set tasks through subsystems to simplify user operations.
[0192] In some embodiments, the smart home device control panel displays classified device icons in response to user operations. In some embodiments, the smart home device control panel may provide a subsystem index, a filter, or other controls that can help users quickly find device icons that need to set tasks, which is not limited in the embodiments of the present application.
[0193] For example, in Figure 6 The interface 60a shown in (a) provides an index of one or more subsystems corresponding to the current space, as shown by reference numeral 61. In response to the user's operation of selecting a control corresponding to a subsystem in the subsystem index, the smart home device control panel only displays or highlights the icons of the devices corresponding to the subsystem in the device startup area shown by reference numeral 66 and / or outside the device startup area shown by reference numeral 67. This facilitates the user to quickly learn the devices included in the subsystem in the current space and the positions of the device icons in the interface.
[0194] Exemplarily, the multiple subsystems displayed in the area indicated by reference numeral 61 include one or more smart home devices. For example, the lighting subsystem includes multiple lighting devices such as main lights, auxiliary lights, decorative lights, and atmosphere lights. In response to the user selecting the operation of the lighting subsystem (such as the user selecting the operation of the control corresponding to the lighting subsystem), only the icons of the above devices corresponding to the lighting subsystem can be displayed or highlighted in the area indicated by reference numeral 66 and / or reference numeral 67.
[0195] In some embodiments, the control in the area indicated by reference numeral 61 may also be a device filter corresponding to the current space, which is used to display the icons of the devices corresponding to the multiple subsystems in a preset manner in response to the user's operation of selecting multiple subsystems. For example, the smart home device control panel may filter and display only the icons of the devices corresponding to the multiple subsystems in the device startup area indicated by reference numeral 66 and / or outside the device startup area indicated by reference numeral 67 in response to the user's operation of selecting multiple subsystems in the device filter, or arrange the icons of the devices corresponding to the multiple subsystems before the icons of the devices corresponding to other subsystems for priority display.
[0196] In this way, the smart home device control panel can respond to user operations by providing classification of device icons, helping users quickly find device icons that need to add tasks, thereby improving the efficiency of sub-scene settings. In some embodiments, during the delay scene creation process, the smart home device control panel responds to user operations, creates multiple sub-scenes, and completes the settings of multiple sub-scenes. There is a time interval between different sub-scenes to achieve a certain time interval between the execution of tasks of smart home devices in different sub-scenes, thereby meeting the user's demand for the execution delay of smart home devices in the scene.
[0197] In some examples, the smart home device control panel creates a new space slice in response to the user's operation of adding a new space slice, and sets the time interval between the new space slice and the previous space slice to a default value, such as 1 second. Alternatively, it can also be a user-defined value, a user-common value, etc.
[0198] In some examples, the smart home device control panel modifies the time interval between different spatial slices in response to user operations.
[0199] In some embodiments, a time capsule control for setting a time interval for a space slice is displayed on the control panel of the smart home device. Exemplarily, the control panel of the smart home device sets the time interval between space slice 1 and space slice 2 in response to the user's operation on the time capsule control.
[0200] For example, in Figure 8 In the interface 80a shown in (a), the capsule-shaped control pointed to by reference numeral 83 and located between spatial slice 1 (as shown by reference numeral 81) and spatial slice 2 (as shown by reference numeral 82) is a time capsule control 83. In some examples, when displaying spatial slice 1, the smart home device control panel responds to the user's operation of creating spatial slice 2, displays the newly created spatial slice 2, and displays the time capsule 83 between spatial slice 1 and spatial slice 2, and the time capsule 83 may display a default time interval. In some examples, the smart home device control panel responds to the user's operation on the time capsule 83 to modify the time interval between spatial slices. Figure 8 As shown by reference numeral 83 in (b), the smart home device control panel changes the time interval displayed on the time capsule control 83 to 3s in response to the user operation. Thus, the time interval between the execution of space slice 1 and space slice 2 is set to 3s.
[0201] In some embodiments, the above-mentioned response to the user's operation on the time capsule may be in response to the user double-clicking the time capsule control and inputting the time interval value to set the time interval value, or in response to the user's operation on the pop-up time capsule setting window, etc., and the embodiment of the present application does not limit this. The set time interval value may be the time interval value input by the user into the time capsule control, or the time interval value selected by the user from several time interval values provided in the time capsule control, and the embodiment of the present application does not limit this either.
[0202] In some scenarios, users can set the effective conditions for switching between different sub-scenarios in the time delay scenario. For example, the effective conditions include the above time interval. In some embodiments, in addition to the time interval, the effective conditions of the spatial slice may also include delayed execution, effective time, device status change, weather conditions, etc. In some examples, the user can also edit other effective conditions of the spatial slice while editing the above time interval.
[0203] Exemplarily, the smart home device control panel displays a preset control between adjacent space slices. In response to the user's operation on the preset control, the smart home device control panel displays an effective condition setting window. In response to the user's operation in the effective condition window, the smart home device control panel can set the effective condition of the space slice that is sorted later in the adjacent space slices. For example, in the sleeping scene of the bedroom space, in order to improve the user's sleep quality, it is necessary to make the air-conditioning temperature of the bedroom space adaptively adjusted with the change of seasons. The smart home device control panel, in response to the user's operation, adds the effective condition of the weather condition to the space slice for adjusting the indoor temperature of the bedroom. When the smart home device control panel detects that the weather reaches the effective condition of the preset weather condition, such as when it detects that the weather condition is changing from spring to summer, the sub-scene corresponding to the space slice for indoor cooling is executed.
[0204] In this way, the smart home device control panel responds to user operations and sets the effectiveness conditions for the space slices, which can make the set delay scenes more intelligent and closer to user needs, further improving the user's quality of life.
[0205] In some embodiments, during the scene editing process, the user may need to view the preview interface of the sub-scene corresponding to different space slices. Then, the smart home device control panel can switch to display the preview interface of the sub-scene corresponding to different space slices (such as the scene setting interface above) in response to the user's switching operation on the space slice.
[0206] For example, in response to a user's selection operation on a certain space slice, the smart home device control panel may highlight the space slice and switch to display the sub-scene setting information corresponding to the space slice on the scene setting interface. Fig. 9As shown in the interface 90a in (a), the smart home device control panel displays the sub-scene setting information corresponding to the space slice 3 on the scene setting interface, and the smart home device control panel can highlight the space slice 3 shown by the reference numeral 93. Afterwards, the smart home device control panel detects that the user clicks the space slice 2 shown by the reference numeral 92, and can display the following Fig. 9 In the interface 90b shown in (b), the smart home device control panel may highlight the space slice 2 shown by reference numeral 92 on the interface 90b, and cancel the highlighting of the space slice 3 shown by reference numeral 93. In some examples, in the scene setting interface of the selected space slice displayed by the smart home device control panel, the smart home device control panel may switch to display the space state (or device state) of the sub-scene corresponding to different space slices in response to the user's switching operation on the space slice.
[0207] In this way, the smart home device control panel responds to the user's switching operation on the space slice, switching to display the sub-scene preview interface corresponding to different space slices, which can facilitate the user to view the delay scene setting effect and improve the user's efficiency in setting the delay scene.
[0208] In some embodiments, during the delay scene setting process, the user may need to adjust the execution order between different spatial slices. Fig.10 As shown in the interface 1000a in (a), the time-lapse scene editor displays three created space slices, space slice 1 as shown by reference numeral 101, space slice 2 as shown by reference numeral 102, and space slice 3 as shown by reference numeral 103. The smart home device control panel detects the user's drag operation on space slice 3 as shown by reference numeral 103, and determines the execution order of the user's instruction to transform space slice 3. Fig.10 As shown in the interface 1000b in (b), the smart home device control panel detects the user's operation of moving space slice 3 between space slice 1 and space slice 2, and determines that the user instructs to adjust the execution order of space slice 2 and space slice 3. Then, in response to the user's operation, the smart home device control panel adjusts space slice 3 shown by reference numeral 103 to between space slice 2 shown by reference numeral 102 and space slice 1 shown by reference numeral 101. Fig.10 The interface 1000c shown in (c) shows three spatial slices after the execution order is adjusted.
[0209] Optionally, the spatial slice is displayed with an execution order identifier of the spatial slice, so that the user can confirm the execution order of the spatial slice. After the execution order of the spatial slice is changed, the smart home device control panel also correspondingly modifies the original execution order identifier of the spatial slice displayed on the spatial slice to the new execution order identifier.
[0210] It should be understood that the user's operation of changing the execution order of the spatial slices may be an operation of long pressing the spatial slice and then moving the spatial slice, or an operation of directly dragging the spatial slice, etc., and the embodiment of the present application does not limit this.
[0211] In this way, the smart home device control panel can adjust the execution order of spatial slices in response to user operations, making it more convenient and flexible for users to set time-delay scene tasks.
[0212] In some embodiments, during the time-delay scene editing process, the user may need to view the execution effect of the time-delay scene. Then, the smart home device may provide a time-delay scene preview portal to show the execution effect of the time-delay scene to the user.
[0213] For example, the smart home device control panel provides a playback control, which is used to play the execution effects of multiple sub-scenes included in the time-delay scene.
[0214] For example, Fig.11 As shown in the middle interface 1100, the time-delay scene editor of the smart home device control panel displays 3 created space slices, and the time interval between each space slice is 1 second. After the smart home device control panel detects the user's operation on the play control 1101, the sub-scene 1 preview interface corresponding to the space slice 1 is displayed on the scene setting interface. After an interval of 1 second, the sub-scene 2 preview interface corresponding to the space slice 2 shown in the reference numeral 1102 is displayed on the scene setting interface. After another interval of 1 second, the sub-scene 3 preview interface corresponding to the space slice 3 shown in the reference numeral 1103 is displayed on the scene setting interface.
[0215] Optionally, during the switching of the playback space slice, the scene setting interface may display the dynamic effect of the device state change of the smart home device. For example, in the areas indicated by reference numerals 1105 and 1106, the device icons in the scene may present the device state change by changing the position or display state.
[0216] In some embodiments, the effects of some smart home devices executing tasks cannot be presented through the dynamic effects of the device icons in the scene setting interface. For example, the execution effects of the opening and closing degree of electric curtains, light brightness, air conditioning temperature, etc. cannot be presented through dynamic effects. Therefore, in response to the user's operation of the playback control, the smart home device control panel can control the smart home devices in the physical space to perform corresponding tasks as the space slices are played, so that users can accurately, comprehensively and intuitively preview the execution effects of multiple space slices.
[0217] In this way, the smart home device control panel can play the scene corresponding to the spatial slice for the user and / or enable the device to execute the time-delay scene in real time in the physical space by responding to the user's instructions to preview the time-delay scene, so that the user can preview the time-delay scene setting effect in real time, which greatly improves the visualization and setting efficiency of the user's creation of time-delay scenes.
[0218] In some scenarios, multiple space slices need to be executed in a loop, such as in a light show scenario, the user needs the lighting device to present a looping on or off effect, etc. In some embodiments, the smart home device control panel can create a looping time-delay scene for the smart home devices in the space in response to user operations. Optionally, in the looping time-delay scene, the smart home device control panel loops and executes multiple sub-scenes in the order of the sub-scenes in the time-delay scene.
[0219] For example, in a light show scene, the main light, auxiliary light, and atmosphere light need to light up in a cycle to achieve a light show effect. In response to user operations, the smart home device control panel sets the tasks of turning on and off the main light, auxiliary light, and atmosphere light in space slice 1, space slice 2, and space slice 3, respectively. Fig.12 As shown, the smart home device control panel sets multiple space slice loop switching in response to the user's operation on the loop control 1201. Optionally, the multiple space slice loop switching means that after the smart home device control panel completes the execution of multiple space slices according to the arrangement order of the space slices, it completes the execution of multiple space slices again according to the arrangement order of the space slices.
[0220] Optionally, during the process of cyclically switching between multiple space slices, a scene preview interface corresponding to the cyclically switched space slices is displayed on the control panel of the smart home device.
[0221] Optionally, during the cyclic switching of multiple space slices, the smart home device control panel can instruct the devices in the physical space corresponding to the cyclically switched space slices to perform corresponding tasks. Thus, the user can intuitively determine whether the cyclic delay scenario meets the requirements based on the effect of the smart home devices in the actual physical space performing the tasks.
[0222] In some scenarios, users need to set the cycle interval for the cycle scene. For example, the smart home device control panel provides Fig.12 The loop interval control shown in the interface 120a in (a) is shown as 1201. The loop interval control can display Fig.12(b) The current cycle interval time shown by reference numeral 1202 in the interface 120b, for example, the current cycle interval is 3s. The smart home device control panel detects the user's operation on the cycle interval control and can display a cycle interval setting window. The smart home device control panel sets the cycle interval in response to the user's operation in the cycle interval setting window. Fig.12 As shown in the reference numeral 1203 in the interface 120c in (c), the smart home device control panel sets the loop interval to 7 seconds in response to the user operation. That is, after the smart home device control panel instructs the three space slices to be executed in sequence, the three space slices are executed in sequence again after 7 seconds, and the space slices are executed in a loop.
[0223] Optionally, the initial value of the cycle interval of the cycle interval control may be automatically set by the system, or may be determined in response to a user operation, and this embodiment of the present application does not impose any limitation on this.
[0224] Optionally, in response to the user's operation on the cycle interval control, the smart home device control panel displays the current cycle interval value in an editable state, for receiving the user's setting of the cycle interval. Alternatively, in response to the user's operation, the smart home device control panel displays a cycle interval setting window, for receiving the user's setting of the cycle interval. The smart home device control panel can also set an icon (such as Fig.12 (c) as shown by reference numeral 1203), is used to display a cycle interval setting window in response to a user operation.
[0225] Optionally, during the creation of the cyclic delay scene, the smart home device control panel can also respond to user operations to set the number of cycles, total cycle time, etc. of the cyclic delay scene, which is not limited in the embodiments of the present application. For example, during the execution of the cyclic delay scene, the smart home device control panel executes multiple spatial slices in sequence according to the number of cycles and the cycle indication.
[0226] In this way, the smart home device control panel provides a loop scene setting function, allowing users to create a loop time-lapse scene for the space with just simple operations.
[0227] In some scenarios, you may need to create a time-delay scenario across spaces based on user needs. For example, when a user returns home at night, they first enter the living room and then the bedroom. When creating a time-delay scenario for a user returning home at night, you need to add scenario tasks for both the devices in the living room and the devices in the bedroom.
[0228] In some embodiments, the smart home device control panel creates a time-delay scenario across spaces in response to a user operation. For example, when the smart home device control panel is creating a time-delay scenario corresponding to space slice 1, it detects an operation in which a user indicates to add smart home devices in other spaces, and it may be determined that the user indicates to create a time-delay scenario across spaces.
[0229] Exemplarily, the smart home device control panel switches the displayed space in response to the user's operation. Fig.13 In the interface 130a shown in (a), the smart home device control panel displays the device icons of the smart home devices in the living room space. The smart home device control panel detects the user's sliding operation on the interface 130a (such as sliding to the left or sliding to the right), and determines that the user indicates to switch spaces. In some examples, the smart home device control panel is pre-configured with a sequence of different spaces. Then, in response to the sliding direction of the user's sliding operation, the smart home device control panel can determine the space that the user indicates to switch. Fig.13 As shown in the interface 130b in (b), the smart home device control panel detects that the space to be switched by the user's sliding operation is the bedroom space. The smart home device control panel can display the space switching animation shown in the interface 130b. Fig.13 In the interface 130c shown in (c), the smart home device control panel switches the display space, creates and displays the corresponding space slice after switching the space, such as the space slice of the bedroom shown by reference numeral 131.
[0230] Among them, Fig.13 As shown in (b), in order to facilitate the description of the sliding effect on the interface 130b, some content is drawn in the area outside the display screen. It should be understood that in the actual use of the smart home device control panel, this part of the drawn content will no longer be displayed in the area outside the display screen.
[0231] In some embodiments, after switching the displayed space, the smart home device control panel can generate a space slice corresponding to the switched space according to the device status of the space currently switched to. Or display a blank space slice corresponding to the switched space. Afterwards, the smart home device control panel can set a delayed scene task or a scene task without delay for the smart home device in the space corresponding to the space slice in response to the user operation. Among them, the space slices of different spaces are cross-space slices.
[0232] In this way, the smart home device control panel can respond to user operations and create cross-space delay scenarios to meet the user's needs for delay scene settings for smart home devices in different spaces.
[0233] In some embodiments, the smart home device control panel can also add effective conditions for the cross-space delay sub-scene according to user operations. For example, when a user returns home at night, he or she generally enters the bedroom 30 seconds after entering the living room. Then, in the cross-space delay scene when the user returns home at night, the sub-scene corresponding to the bedroom can be triggered 30 seconds after one or more sub-scenes corresponding to the living room are triggered, such as turning on the bedroom light for the user 30 seconds after the user enters the living room door.
[0234] In some examples, the smart home device control panel responds to user operations and adds the validity conditions of the space slice in the time capsule control. For example, Fig.14 As shown in the 1400 interface, the smart home device control panel responds to the user's operation on the time capsule control and determines that the two spatial slices corresponding to the current time capsule are spatial slices corresponding to different spaces. Then the smart home device control panel can display a pop-up window for adding effective conditions. In the pop-up window showing the added effective conditions, the effective conditions that can be set include delayed execution, effective time, device status change, weather conditions, etc., and the effective conditions can also be customized by the user. In some examples, the effective condition options for spatial slices corresponding to the same space are the same or different from the effective condition options for spatial slices corresponding to different spaces.
[0235] Optionally, the effectiveness conditions in cross-space slices may be preset conditions or may be set by the smart home device control panel in response to user operations, which is not limited in this embodiment of the present application.
[0236] In some embodiments, the time-delay scene composed of multiple sub-scenes needs to be executed under specific conditions. For example, if the user gets up at a fixed time every day, then the morning time-delay scene composed of the curtain opening, gauze curtain opening, music opening and other sub-scenes of the morning time-delay scene needs to be automatically executed at a specific time. Therefore, the smart home device control panel can set the scene effectiveness conditions for the time-delay scene (or cross-space time-delay scene).
[0237] For example, Fig.15 As shown in the middle interface 1500, the smart home device control panel provides a timing control. The smart home device control panel detects the user's operation on the timing control 151, determines that the user needs to set the timing effectiveness condition of the scene, and can display a timing window to receive the time-delay scene timing effectiveness condition input by the user. Optionally, the control shown in the figure mark 151 can also be other effectiveness condition controls, such as temperature conditions and weather conditions. Optionally, the timing control shown in the figure mark 151 can also be other text display methods, such as scene effectiveness conditions. Optionally, the smart home device control panel can also add multiple scene effectiveness conditions in response to user operations, such as temperature conditions, weather conditions, etc., and the embodiments of the present application are not limited to this.
[0238] In this way, the smart home device control panel responds to user operations and adds scene effectiveness conditions to the scene, making the scene more intelligent and automated, which can improve the user's quality of life.
[0239] In some scenarios, the space slices displayed when editing the time-lapse scene occupy a large part of the display space on the smart home device control panel. In some cases, the user does not need to view or edit the space slices on the smart home device control panel. The smart home device control panel can determine whether to display the space slices based on the user operation. The smart home device control panel expands or hides the space slices in response to the user operation.
[0240] Some examples include Fig.16 As shown in the interface 160a in (a), after the smart home device control panel detects the user's operation of creating a scene, it displays the scene setting interface corresponding to the current space. Afterwards, if the smart home device control panel detects the user's selection operation of the slide control shown by reference numeral 161, it is determined that the user instructs to display the time-delay scene editor. Fig.16 As shown in the interface 160b in (b), the smart home device control panel displays the time-delay scene editor in response to the user operation. The smart home device control panel detects that the user clicks the slide control again and determines that the user indicates not to display the time-delay scene editor. Fig.16 As shown in interface 160c in (c), the smart home device control panel hides the display of the time-delay scene editor in response to the user operation.
[0241] In this way, the smart home device control panel can respond to user operations and flexibly display or hide the space slice setting interface according to user needs, thereby improving the convenience of users setting scenes using the smart home device control panel.
[0242] In some scenarios, users need to save the created scenes. Fig.17 As shown in the middle interface 1700, the smart home device control panel detects the user's operation on the scene generation control shown in the figure mark 171, and determines that the current user has completed the setting operation of the time-delay scene. Then, the smart home device control panel can generate and save the time-delay scene created by the user according to the setting information of the current sub-scenes.
[0243] Optionally, after the delay scenario is generated, it can be uploaded to a server or saved locally on the smart home device control panel.
[0244] In some scenarios, users need to call out existing scenes on the smart home device control panel for viewing, editing, etc. For example, Fig.17As shown in the middle interface 1700, the smart home device control panel responds to the user's operation on the import scene control 172 and determines that the user instructs to import the scene. Then the smart home device control panel can display the scene import interface. Optionally, the importable scene displayed on the scene import interface is a scene downloaded from the server by the smart home device control panel, or a scene locally saved by the smart home device control panel. Afterwards, the smart home device control panel displays the editing interface of the scene selected by the user for import according to the user's operation on the scene import interface, and receives the user's editing operation on the scene.
[0245] Fig.18 The following is a flow chart of a scene setting method provided in an embodiment of the present application. Fig.18 The specific order below is for limitation, and it should be understood that in other embodiments, the order of some steps in the method can be interchanged according to actual needs, or some steps can be omitted or deleted. The method includes the following steps S1801-S1803:
[0246] S1801: The control device displays a first interface in response to a first operation of a user to create a scene, displays a created first spatial slice in a first area of the first interface, and displays first information corresponding to a first sub-scene of the first spatial slice in a second area of the first interface.
[0247] The first interface is a scene creation interface corresponding to the current space, and the current space includes, for example, a room where the control device is located. The first space slice is an initial space slice. The first target device is a smart home device corresponding to the first space slice. The first information is used to indicate a first task of the first target device included in the first sub-scene, for example, the first information includes device status information of the first target device corresponding to the first space slice.
[0248] Exemplarily, the control device displays a scene creation interface corresponding to the current space in response to a first operation of the user to create a scene. In some examples, the scene creation interface includes a first space slice, and a sub-scene setting interface corresponding to the first space slice, the sub-scene setting interface being used to display device status information of a first target device corresponding to the first space slice.
[0249] In some embodiments, the control device determines the device status of the controlled device in the current space in response to the user's first operation of creating a scene, and the controlled device includes a first target device; the control device creates a first spatial slice and generates first information of a first sub-scene corresponding to the first spatial slice based on the device status.
[0250] Exemplarily, the control device responds to the user operation, starts the smart life application, and displays the following Figure 5In (a), the smart life application interface shown in the interface 50a. In response to the user's operation on the scene generation control 50 displayed on the smart life application interface, the control device determines that the user's current space is the living room, and then the control device can obtain the device status of the target device in the living room. Figure 5 As shown in figure mark 52 in (b), the control device creates a first spatial slice (as shown in figure mark 52) and a first sub-scene (as shown in figure mark 53 and figure mark 54) in response to the user's operation of creating a scene according to the device status of the first target device in the living room. The first sub-scene includes first information of the first target device in the current space, and the first information is the device status information of the first target device.
[0251] In some examples, the device state of the controlled device in the space may be the device state in the scene that the user wants to create. Therefore, the control device creates an initial space slice (i.e., the first space slice) based on the device state of the controlled device in the current space, which can effectively simplify the setting process of the first sub-scene corresponding to the initial space slice, and make the first information of the first sub-scene meet the actual usage needs of the user.
[0252] In this way, the user can intuitively set and confirm the device status and device tasks of the controlled devices in each sub-scene, thereby simplifying the user's delay scene setting operation and lowering the delay scene setting threshold.
[0253] S1802: Control the device to display a second spatial slice sorted after the first spatial slice on the first area in response to a second operation of the user, and switch to display second information of a second subscene corresponding to the second spatial slice on the second area.
[0254] The second information is used to indicate a second task of a second target device included in the second sub-scenario.
[0255] In some embodiments, the second operation is an operation of creating a space slice by a user. In response to the second operation of creating a space slice by a user, the control device adds a new space slice and creates a sub-scene corresponding to the new space slice.
[0256] In some embodiments, the control device generates a second spatial slice by copying the first spatial slice in response to a user's operation of creating a spatial slice, and displays the copied first information on the second area. The control device generates second information corresponding to a second sub-scene of the second spatial slice in response to a user's operation on the first information.
[0257] For example, Figure 5 In the interface 50c shown in (c), the control device responds to the user's operation of creating a space slice, and generates a copy based on the space slice 52 (the first space slice) as shown in FIG. Figure 5The spatial slice 2 (second spatial slice) is shown as the reference numeral 56 in (c). Figure 5 As shown in (c), the control device displays the subscene setting interface of subscene 2 corresponding to spatial slice 2 (second spatial slice) on interface 50c. The setting information of subscene 2 displayed on the subscene setting interface of the current subscene 2 is the same as the setting information of subscene 1 corresponding to spatial slice 1 (first spatial slice) that the user has already set. The user can modify the setting information of subscene 2 according to actual needs. Figure 6 As shown in the interface 60a in (a), the control device detects that the user drags the main light icon 65 to the device startup area shown by the reference numeral 66 in the sub-scene setting interface along the arrow direction shown by the reference numeral 64, and can determine that the user instructs to add the startup task of the main light corresponding to the main light icon 65 in the sub-scene 2. The control device responds to the user's dragging operation, such as Figure 6 As shown in the interface 60b of (b), the main light icon 65 is displayed in the device startup area as shown by the reference numeral 66, and the main light icon 65 is no longer displayed outside the device startup area as shown by the reference numeral 67.
[0258] In this way, in response to the user's repeated operation of adding a spatial slice, the control device can copy and edit the information of the sub-scene corresponding to the already set spatial slice in the second area. The sub-scene corresponding to the next spatial slice with a time interval is set, and a delay scene task is added to the target device in the space corresponding to the spatial slice. The user operation steps can be simplified and the efficiency of the user setting the delay scene can be improved.
[0259] In some embodiments, the second target device includes a device whose device state or operating parameter is to be switched in the first target device, and / or a newly added device to be controlled.
[0260] For example, Figure 7 As shown in the figure mark 72 and the figure mark 73 in (b), the newly added devices to be controlled in the second target device are the auxiliary light, the main light, the gauze curtain, and the cloth curtain. The control device instructs the four target devices of the auxiliary light, the main light, the gauze curtain, and the cloth curtain to perform the opening task, without instructing the washing machine, the humidifier, and the dryer in the area shown by the figure mark 71 to change the device state.
[0261] It should be understood that the above example uses device startup to illustrate the increment of device status. In the embodiment of the present application, the change (increment or decrement) of the device status includes not only device startup, but also device shutdown, change of device operating parameters, etc. The embodiment of the present application does not limit this.
[0262] In this way, the control device responds to user operations by only adding tasks for devices in the target device that need to switch device status or working parameters in the sub-scene corresponding to the spatial slice, and / or adding new devices to be controlled, which simplifies the user operation steps and reduces the difficulty of setting delay scenarios.
[0263] In some embodiments, the first target device and the second target device are devices in the same space, or the first target device and the second target device are devices in different spaces.
[0264] The embodiments of the present application can set a delay scene for a target device in a single space, and can also set a delay scene for a target device across spaces. For example, the light show scene in the living room space requires turning on the main light in sub-scene 1 and turning on the auxiliary light in sub-scene 2. The first target device corresponding to sub-scene 1 is the main light, and the second target device corresponding to sub-scene 2 is the auxiliary light. In the scenario of returning home at night, the user's activity space spans the living room and bedroom. The main light in the living room needs to be turned on for the user in sub-scene 1, and the main light in the bedroom needs to be turned on for the user in sub-scene 2. Then in the scenario of returning home at night, the first target device is the main light in the living room, and the second target device is the main light in the bedroom.
[0265] In this way, the control device can respond to user operations and add delay scene tasks for devices in different spaces, so that devices in different spaces can be linked to form cross-space delay scenes, thereby improving the intelligence of the smart home system and the quality of life of users.
[0266] S1803: The control device generates a first target scene in response to a third operation of the user, where the first target scene includes a first sub-scene and a second sub-scene, and the first target scene includes an instruction to trigger the second target device to perform the second task after a first time interval that triggers the first target device to perform the first task.
[0267] In some embodiments, the control device detects the user's operation of determining to generate a scene and determines that the current user has completed the setting operation of the time-delay scene. Then, the control device can generate and save the first target scene created by the user based on the currently set first sub-scene, second sub-scene, and first time interval.
[0268] In this way, the control device creates a spatial slice and multiple sub-scenes corresponding to the spatial slice in response to the user operation, and completes the creation of a time-delay scene including multiple sub-scenes, thereby simplifying the operation steps of the user to set the time-delay scene and improving the efficiency of creating the time-delay scene.
[0269] In some embodiments, the first time interval is a default time interval, or the first time interval is a first time interval between the first space slice and the second space slice set in response to a fourth operation of the user.
[0270] In some examples, the control device sets a first time interval between the first spatial slice and the second spatial slice in response to a fourth operation of the user; the fourth operation is an operation of the user setting the first time interval between the first spatial slice and the second spatial slice on the control device. In some embodiments, a time capsule control (such as Figure 8 In (a), the control device sets a first time interval between space slice 1 (first space slice) and space slice 2 (second space slice) in response to a user's operation on the time capsule control.
[0271] In this way, the control device sets the time delay scene task for the device in the sub-scene corresponding to the spatial slice by determining the time interval between the spatial slices in response to the user operation, which can simplify the user operation steps and improve the efficiency of the user in setting the time delay scene task.
[0272] In some embodiments, the control device sets an effectiveness condition for the first sub-scene or the second sub-scene in response to an eighth operation of the user, and the effectiveness condition includes one or more of an effectiveness time, a device state change, a weather condition, and a time interval.
[0273] In some examples, by adding an effective condition to the trigger of the delay scene or a sub-scene in the delay scene, the delay scene is automatically executed to meet the actual usage needs of the user. In some examples, the eighth operation is an operation in which the user sets an effective condition for the first spatial slice or the second spatial slice. Exemplarily, the control device displays a preset control between adjacent spatial slices. In response to the user's operation on the preset control, the control device may set the effective condition of the spatial slice that is sorted later in the adjacent spatial slices.
[0274] In this way, the control device responds to user operations and sets the effectiveness conditions for the spatial slices and the sub-scenes corresponding to the spatial slices, which can make the set delay scenes more humane, more intelligent, and closer to the user's life needs, further improving the user's quality of life.
[0275] In some embodiments, in response to a sixth operation of the user selecting the first spatial slice in the first area, the control device highlights the spatial slice in the first area in a preset manner, and switches to display the first information of the first sub-scene in the second area.
[0276] For example, in response to the user's selection operation on a certain spatial slice, the control device may highlight the spatial slice and switch to display the sub-scene setting information corresponding to the spatial slice on the scene setting interface. Fig. 9As shown in (a), the control device displays the sub-scene setting information corresponding to space slice 3 on the scene setting interface, and the control device can highlight space slice 3 (the second space slice). Afterwards, the control device detects that the user clicks on space slice 2 (the first space slice) and can display the following Fig. 9 Interface 90b shown in (b) In interface 90b, the control device may highlight spatial slice 2 (the first spatial slice) and cancel the highlighting of spatial slice 3 (the second spatial slice).
[0277] In this way, the control device responds to the user's switching operation on the spatial slice, highlights the selected spatial slice, and switches to display the sub-scene preview interface corresponding to the selected spatial slice, which can facilitate the user to view the effect of the delay scene setting and improve the user's efficiency in setting the delay scene.
[0278] In some embodiments, the control device modifies the first target scene and generates a second target scene in response to a fifth operation of the user adjusting the arrangement order of the first spatial slice and the second spatial slice displayed in the first display area, and the second target scene includes an indication that the first target device is triggered to perform a fourth task after a first time interval that triggers the second target device to perform a third task.
[0279] In some embodiments, the third task may be the same as or different from the second task, and the fourth task may be the same as or different from the first task.
[0280] For example, Fig.10 In the scenario shown, the first task is different from the third task, and the fourth task is different from the first task. Fig.10 (a) shows the first target scene, where the arrangement order of space slice 3 shown by reference numeral 103 is after space slice 2. After the first target scene instructs the washing machine, humidifier, and dryer to perform the opening task (first task), after 10 minutes, the auxiliary light, main light, curtain, and gauze curtain perform the opening task (second task). The control device detects the user's drag operation on space slice 3 (second space slice) and determines the execution order of the user's instruction to change space slice 3 (second space slice). Fig.10 As shown in (b), the control device detects the user's operation of moving space slice 3 (second space slice) to the front of space slice 2 (first space slice), and determines that the user instructs to adjust the execution order of space slice 2 (first space slice) and space slice 3 (second space slice). Then, in response to the user's operation, the control device adjusts space slice 3 (second space slice) shown by reference numeral 103 to the front of space slice 2 (first space slice) shown by reference numeral 102, and generates a second target scene. Fig.10The interface shown in (c) shows the second target scene after the execution order is adjusted. The second target scene instructs the washing machine, humidifier, dryer, auxiliary light, main light, cloth curtain, and gauze curtain to perform the opening task (third task) and then instructs the auxiliary light, main light, cloth curtain, and gauze curtain to perform the closing task (fourth task) 10 minutes later.
[0281] In some other examples, the third task may be the same as the second task, and the fourth task may be the same as the first task. For example, the first task in the first target scene is a task of turning on the main light, and the second task is a task of turning on the auxiliary light. In response to the user's operation of adjusting the arrangement order of the spatial slices, the control device generates a second target scene in which the third task is a task of turning on the auxiliary light, and the fourth task is a task of turning on the main light.
[0282] In this way, the control device can adjust the execution order of the spatial slices in response to the user operation, thereby easily modifying the order in which the target device executes the time-delay scenario tasks, making the user's operation of setting the time-delay scenario tasks more flexible and simple.
[0283] In some embodiments, the control device sets the loop parameters of the first target scene in response to the seventh operation of the user, and the loop parameters include one or more of the following: number of loops, loop duration, and loop time interval.
[0284] In some scenes, such as light show scenes, the device needs to execute the delayed scene task in a loop. The control device sets the first target scene as a loop scene in response to the user operation. The seventh operation is an operation in which the user sets the loop parameters of the first target scene. Among them, the number of loops is used to indicate the number of executions of the delayed scene. For example, after determining that the delay scene trigger condition is met, the control device sequentially triggers the target devices included in the multiple sub-scenes to perform corresponding tasks according to the triggering order of the multiple sub-scenes included in the delay scene. After that, the control device repeats the above delay scene implementation process according to the number of loops. The loop time interval is used to indicate the time interval of the delay scene loop. For example, the control device instructs the target device to execute the delay scene according to the sub-scene sequence corresponding to the spatial slice, and then after the loop time interval, the control device instructs the target device to execute the delay scene according to the sub-scene sequence corresponding to the spatial slice. The loop duration refers to the total duration of the control device controlling the target device to execute the task according to the delay scene. For example, the light show delay scene is a loop delay scene. After the control device controls the lighting device to execute the task for a loop duration, it stops controlling the lighting device in the light show scene to execute the task.
[0285] In this way, the control device responds to the user's operation, sets the loop parameters, and can add a loop delay task for the target device. This reduces the operation steps for the user to set the loop delay scene, and reduces the difficulty for the user to set the loop delay scene for the target device. For example, for some loop delay scenes such as light shows that require the target device to repeatedly perform the same task, the user only needs to set the execution task and loop parameters of the target device once to complete the setting of the entire loop delay scene.
[0286] In some embodiments, the control device displays a second interface in response to a ninth operation of the user, where the second interface is used to play the execution effect of the first target scene. The execution effect includes switching between displaying the first spatial slice and the second spatial slice in the first area, and switching between displaying the first information corresponding to the first spatial slice and the second information corresponding to the second spatial slice in the second area.
[0287] For example, Fig.11 As shown in the middle interface 1100, the first area of the control device (as shown in the reference numeral 1104) displays three created spatial slices, and the time interval between each spatial slice is 1s. After the control device detects the user's operation on the playback control 1101, the sub-scene 1 preview interface corresponding to the spatial slice 1 is displayed on the scene setting interface. After an interval of 1s, the sub-scene 2 preview interface corresponding to the spatial slice 2 is displayed on the scene setting interface. After another interval of 1s, the sub-scene 3 preview interface corresponding to the spatial slice 3 is displayed on the scene setting interface. During the playback of the spatial slices, the second area (as shown in the reference numeral 1107) can display the dynamic effect of the device status change of the target device. For example, in the areas shown in reference numerals 1105 and 1106, the device icons in the sub-scenes will present the changes in the device status through changes in position or display status.
[0288] In this way, the control device can play the sub-scene corresponding to the spatial slice for the user by responding to the user's instruction to preview the time-lapse scene, making it convenient for the user to preview the time-lapse scene setting effect in real time, greatly improving the user's setting efficiency in creating time-lapse scenes.
[0289] In some embodiments, the control device sends a first command instructing execution of a first task to the first target device, and sends a second command instructing execution of a second task to the second target device during the process of playing the execution effect of the first target scene.
[0290] In some embodiments, the effects of some target devices executing tasks cannot be presented through the dynamic effects of the device icons in the scene setting interface. For example, the execution effects of the opening and closing degree of electric curtains, light brightness, air conditioning temperature, etc. cannot be presented through dynamic effects. Therefore, in response to the user's operation of the playback control, the control device can control the target device in the physical space to perform the corresponding task as the space slice is played, so that the user can accurately, comprehensively and intuitively preview the execution effects of multiple space slices.
[0291] In this way, the control device responds to the user's instructions to preview the time-delay scene, allowing the device to execute the time-delay scene in real time in the physical space, greatly improving the visualization and setting efficiency when the user creates the time-delay scene.
[0292] In some embodiments, the control device responds to the user's tenth operation by displaying a third spatial slice sorted after the second spatial slice on the first area, and switching to display third information of a third sub-scene corresponding to the third spatial slice on the second area, where the third information is used to indicate a fifth task of a third target device included in the third sub-scene; the first target scene also includes an indication of triggering the third target device to perform the fifth task at a second time interval after triggering the second target device to perform the second task, and the second time interval is a default time interval.
[0293] In some scenarios, multiple devices need to perform tasks at different times. For example, in the waking up scenario, you need to turn on the music and curtains first, then open the gauze curtains after 10 minutes, and turn off the devices in all rooms after 20 minutes. Then the target scene needs to have more than two spatial slices to complete the setting of sub-scenes and tasks. In response to the user's tenth operation, the control device continues to add spatial slices based on the first spatial slice and the second spatial slice. The time interval between the newly added third spatial slice and the second spatial slice is initially the default time interval, and the corresponding time interval can be set later in response to the user operation.
[0294] In this way, the control device can create multiple spatial slices in response to user operations and set multiple continuous scene tasks with different time intervals for the target device, which simplifies user operations and improves the efficiency of delay scene setting.
[0295] Optionally, the control device can also execute the steps and functions performed by the smart home device control panel in the above embodiments, and the first target device or the second target device can also execute the steps and functions performed by the smart home device in the above embodiments, thereby realizing the scene setting method provided in the above embodiments.
[0296] Combination of the above Figure 5-Figure 18 The scene setting method provided by the embodiment of the present application is described in detail. Fig.19 The control device provided in the embodiments of the present application is described in detail.
[0297] In one possible design, Fig.19 This is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application. Fig.19 As shown, the electronic device 1900 may include: a transceiver unit 1901, a processing unit 1902 and a display unit 1903. The electronic device 1900 may be used to implement the system service management method involved in the above method embodiment. Optionally, the control device 1900 may include, for example Figure 3 The control device 300 shown (such as a smart home device control panel, a mobile phone, etc.) and the first electronic device 100 are configured with a display function and a device with corresponding processing capabilities.
[0298] Optionally, the transceiver unit 1901 is used to support the electronic device 1900 to execute Fig.18 S1801-S1803 in.
[0299] Optionally, the processing unit 1902 is used to support the electronic device 1900 to execute Fig.18 S1801-S1803 in.
[0300] Optionally, the display unit 1903 is used to support the control device 1900 to display interface content; and / or to support the control device 1900 to execute Fig.18 S1801-S1803 in.
[0301] Among them, the transceiver unit may include a receiving unit and a sending unit, and may be implemented by a transceiver or a transceiver-related circuit component, and may be a transceiver or a transceiver module. The operations and / or functions of each unit in the control device 1900 are respectively to implement the corresponding process of the scene setting method in the above method embodiment. All relevant contents of each step involved in the above method embodiment can be referred to the functional description of the corresponding functional unit, and for the sake of brevity, they will not be repeated here.
[0302] Optionally, Fig.19 The control device 1900 shown may also include a storage unit ( Fig.19 (not shown), the storage unit stores a program or instruction. When the transceiver unit 1901, the processing unit 1902 and the display unit 1903 execute the program or instruction, Fig.19 The control device 1900 shown can execute the scene setting method in the above method embodiment.
[0303] Fig.19 The technical effects of the control device 1900 shown can refer to the technical effects of the scene setting method in the above method embodiment, which will not be repeated here.
[0304] In addition to being in the form of the control device 1900, the technical solution provided in the present application may also be a functional unit or chip in the control device, or a device used in conjunction with the control device.
[0305] An embodiment of the present application also provides a chip system, including: a processor, the processor is coupled to a memory, the memory is used to store programs or instructions, when the program or instructions are executed by the processor, the chip system implements the method in any of the above method embodiments.
[0306] Optionally, the processor in the chip system may be one or more. The processor may be implemented by hardware or by software. When implemented by hardware, the processor may be a logic circuit, an integrated circuit, etc. When implemented by software, the processor may be a general-purpose processor implemented by reading software code stored in a memory.
[0307] Optionally, the memory in the chip system may also be one or more. The memory may be integrated with the processor or may be separately arranged with the processor, which is not limited in the embodiments of the present application. Exemplarily, the memory may be a non-transient processor, such as a read-only memory ROM, which may be integrated with the processor on the same chip or may be arranged on different chips respectively. The embodiments of the present application do not specifically limit the type of memory and the arrangement of the memory and the processor.
[0308] Exemplarily, the chip system can be a field programmable gate array (FPGA), an application specific integrated circuit (ASIC), a system on chip (SoC), a central processor unit (CPU), a network processor (NP), a digital signal processor (DSP), a microcontroller unit (MCU), a programmable logic device (PLD) or other integrated chips.
[0309] It should be understood that each step in the above method embodiment can be completed by an integrated logic circuit of hardware in a processor or by instructions in the form of software. The method steps disclosed in the embodiments of the present application can be directly embodied as being executed by a hardware processor, or by a combination of hardware and software modules in a processor.
[0310] An embodiment of the present application also provides a computer-readable storage medium, in which a computer program is stored. When the computer program is run on a computer, the computer executes the above-mentioned related steps to implement the scene setting method in the above-mentioned embodiment.
[0311] The embodiment of the present application also provides a computer program product. When the computer program product is run on a computer, the computer is caused to execute the above-mentioned related steps to implement the scene setting method in the above-mentioned embodiment.
[0312] In addition, an embodiment of the present application further provides a device. The device may be a component or a module, and the device may include one or more processors and a memory connected to each other. The memory is used to store a computer program. When the computer program is executed by one or more processors, the device performs the scene setting method in the above-mentioned method embodiments.
[0313] Among them, the device, computer-readable storage medium, computer program product or chip provided in the embodiments of the present application are 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 repeated here.
[0314] The steps of the method or algorithm described in conjunction with the disclosed content of the embodiments of the present application can be implemented in hardware or by a processor executing software instructions. The software instructions can be composed of corresponding software modules, and the software modules can be stored in random access memory (RAM), flash memory, read only memory (ROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), registers, hard disks, mobile hard disks, read-only compact disks (CD-ROMs) or any other form of storage medium known in the art. An exemplary storage medium is coupled to a processor so that the processor can read information from the storage medium and write information to the storage medium. Of course, the storage medium can also be a component of the processor. The processor and the storage medium can be located in an application specific integrated circuit (ASIC).
[0315] Through the description of the above implementation methods, those skilled in the art can clearly understand that for the convenience and simplicity of description, only the division of the above functional modules is used as an example. In practical applications, the above functions can be assigned to different functional modules as needed; that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. The specific working process of the system, device and unit described above can refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here.
[0316] In the several embodiments provided in the present application, it should be understood that the disclosed method can be implemented in other ways. The device embodiments described above are merely schematic. For example, the division of modules or units is only a logical function division, and there may be other division methods in actual implementation; for example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of modules or units, which can be electrical, mechanical or other forms.
[0317] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0318] Computer-readable storage media include, but are not limited to, any of the following: a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, and other media that can store program codes.
[0319] The above are only specific implementations of the present application, but the protection scope of the present application is not limited thereto, and any changes or substitutions within the technical scope disclosed in the present application should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
Claims
1. A scene setting method, characterized in that: Applied to a control device, the method comprises: In response to a first operation of a user creating a scene, a first interface is displayed, a created first spatial slice is displayed in a first area of the first interface, and first information of a first sub-scene corresponding to the first spatial slice is displayed in a second area of the first interface, where the first information is used to indicate a first task of a first target device included in the first sub-scene; In response to the user's second operation, a second spatial slice sorted after the first spatial slice is displayed on the first area, and second information of a second subscene corresponding to the second spatial slice is switched to be displayed on the second area, wherein the second information is used to indicate a second task of a second target device included in the second subscene; in response to the user's third operation, a first target scene is generated, wherein the first target scene includes a first subscene and a second subscene, and the first target scene includes an indication that the second target device is triggered to perform the second task after a first time interval that triggers the first target device to perform the first task.
2. The method according to claim 1, characterized in that: The first time interval is a default time interval, or the first time interval is a first time interval between the first space slice and the second space slice set in response to a fourth operation of the user.
3. The method according to claim 1 or 2, characterized in that: The method of displaying, in response to a second operation of the user, a second spatial slice sorted after the first spatial slice on the first area, and switching to display, on the second area, second information of a second sub-scene corresponding to the second spatial slice, comprises: In response to a user operation of creating a spatial slice, generating the second spatial slice by copying the first spatial slice, and displaying the copied first information on the second area; In response to a user's operation on the first information, generating second information corresponding to a second sub-scene of the second spatial slice; The second spatial slice is displayed on the first area, and the second information is displayed on the second area.
4. The method according to any one of claims 1 to 3, characterized in that: The method of displaying a first interface in response to a first operation of creating a scene by a user, displaying the created first spatial slice in a first area of the first interface, and displaying first information of a first sub-scene corresponding to the first spatial slice in a second area of the first interface includes: In response to a first operation of a user creating a scene, determining a device state of a controlled device in a current space, wherein the controlled device includes the first target device; According to the device state, the first spatial slice is created and the first information of the first sub-scene corresponding to the first spatial slice is generated.
5. The method according to any one of claims 1 to 4, characterized in that: The first target device and the second target device are devices in the same space, or the first target device and the second target device are devices in different spaces.
6. The method according to claim 5, characterized in that Before, in response to a second operation of the user, displaying a second spatial slice sorted after the first spatial slice on the first area, and switching to display second information of a second sub-scene corresponding to the second spatial slice on the second area, the method further includes: detecting a second operation instructing the user to create a space slice, and determining a first space where the control device is currently located; When the first space is the same as the second space where the first target device is located, generating the second space slice by copying the first space slice; In a case where the first space is different from the second space where the first target device is located, the second space slice is generated according to the device status of the controlled device in the first space.
7. The method according to any one of claims 1 to 6, characterized in that: The second target device includes a device whose device state or working parameter is to be switched among the first target devices, and / or a newly added device to be controlled.
8. The method according to claim 7, characterized in that The switching and displaying, in the second area, second information of the second sub-scene corresponding to the second spatial slice includes: The second information is switched to be displayed on the second area, and the information of the device whose device status is not switched among the first target devices is kept displayed.
9. The method according to any one of claims 1 to 8, characterized in that: The method further comprises: In response to a fifth operation of the user adjusting the arrangement order of the first spatial slice and the second spatial slice displayed in the first display area, the first target scene is modified and a second target scene is generated, wherein the second target scene includes an indication that the first target device is triggered to perform a fourth task after the first time interval of triggering the second target device to perform a third task.
10. The method according to any one of claims 1 to 9, characterized in that: Before generating the first target scene in response to the third operation of the user, the method further includes: In response to a sixth operation of the user selecting the first spatial slice in the first area, the spatial slice is highlighted in the first area in a preset manner, and the first information of the first sub-scene is switched and displayed in the second area.
11. The method according to any one of claims 1 to 10, characterized in that: The method further comprises: In response to a seventh operation of the user, loop parameters of the first target scene are set, where the loop parameters include one or more of the following: number of loops, loop duration, and loop time interval.
12. The method according to any one of claims 1 to 11, characterized in that: The method further comprises: In response to an eighth operation of the user, an effectiveness condition of the first sub-scene or the second sub-scene is set, and the effectiveness condition includes one or more of an effectiveness time, a device status change, a weather condition, and a time interval.
13. The method according to any one of claims 1 to 12, characterized in that: The method further comprises: In response to the user's ninth operation, a second interface is displayed, and the second interface is used to play the execution effect of the first target scene, and the execution effect includes switching to display the first spatial slice and the second spatial slice in the first area, and switching to display the first information corresponding to the first spatial slice and the second information corresponding to the second spatial slice in the second area.
14. The method according to claim 13, characterized in that The method further comprises: During the process of playing the execution effect of the first target scene, a first command instructing execution of the first task is sent to the first target device, and a second command instructing execution of the second task is sent to the second target device.
15. The method according to any one of claims 1 to 14, characterized in that: The method further comprises: In response to the user's tenth operation, a third spatial slice sorted after the second spatial slice is displayed on the first area, and third information of a third sub-scene corresponding to the third spatial slice is switched to be displayed on the second area, wherein the third information is used to indicate a fifth task of a third target device included in the third sub-scene; the first target scene also includes an indication that after a second time interval for triggering the second target device to perform the second task, the third target device is triggered to perform the fifth task.
16. An electronic device, characterized in that: include: A processor, a memory and a display screen, wherein 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. When the processor reads the computer instructions from the memory, the electronic device executes the method as described in any one of claims 1 to 15.
17. A computer-readable storage medium, characterized in that: The computer-readable storage medium comprises a computer program, and when the computer program is executed on an electronic device, the electronic device is enabled to execute the method according to any one of claims 1 to 15.
18. A computer program product, characterized in that When the computer program product is executed on a computer, the computer is caused to execute the method according to any one of claims 1 to 15.
Citation Information
Patent Citations
Equipment control method, storage medium and electronic equipment
CN111443843A
Application switching display method and device and electronic equipment
CN111831181A
Intelligent control scene setting method and equipment control system
CN112180754A
Method and device for searching wearable device
CN113301546A
Smart home scene switching method and device, smart terminal and storage medium
CN113867163A