Delay scene control method and device, home host and medium

By recording progress and obtaining user modification information when the delay scenario is paused, the problem of delay scenario cannot be adjusted is solved, and flexible use of delay scenarios and user experience is achieved.

CN120353146AActive Publication Date: 2025-07-22GREE ELECTRIC APPLIANCE INC OF ZHUHAI +1
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202510837883.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-06-23
Publication Date
2025-07-22
Estimated Expiration
2045-06-23

AI Technical Summary

Technical Problem

In the prior art, the delay scenario cannot be adjusted in the middle, resulting in poor flexibility during use and affecting the user experience.

Method used

Record the scene progress when the delay scene is suspended, and obtain the user's modification information during the pause, and adjust the delay scene according to the progress and modification information during recovery.

Benefits of technology

The pause, modification and recovery functions of delayed scenarios are realized, improving flexibility and user experience during use.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120353146A_ABST
    Figure CN120353146A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides a delay scene control method and device, a home host and a medium. The method comprises the following steps: when a delay scene set for the smart home is paused, recording the scene progress of the delay scene; the delay scene is used for indicating the target equipment to execute a corresponding action when the delay time is up according to the node sequence of the action nodes; acquiring modification information of a user for the delay scene during the pause period; and when the delay scene set for the smart home is recovered, adjusting the delay scene according to the scene progress and the modification information. According to the embodiment of the invention, through the scene progress recorded during pause and modification performed by the user during pause, the subsequent execution of the delay scene can be determined and adjusted, so that pause, modification and recovery functions of the delay scene after starting are realized, and the flexibility of the delay scene in a use process is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of smart home technology, and in particular to a control method and device for a time-delay scene, a home host, and a computer-readable storage medium. Background Art

[0002] With the rapid development of information technology and the Internet of Things, more and more smart home devices have come into people's view. Smart homes integrate various household devices such as refrigerators, washing machines, air conditioners, socket switches, and curtains through the Internet of Things technology, realizing a full range of information interaction functions, providing users with higher comfort and better safety performance.

[0003] In a smart home system, the function of executing a preset action combination by linking various smart home devices is called a scene. Delay scene is an important type of scene. In related technologies, users are allowed to configure delay parameters for smart home devices in the scene, thereby instructing smart home devices to execute preset actions after the delay. Delay scene can meet various timing control requirements in actual application scenarios.

[0004] Since the time-delay scene requires setting the scene parameters before starting the execution, it cannot be adjusted midway, resulting in poor flexibility during use and affecting the user experience. Summary of the invention

[0005] In view of the above problems, embodiments of the present invention are proposed to provide a control method, device, home host and computer-readable storage medium for a delay scene that overcomes the above problems or at least partially solves the above problems.

[0006] On the one hand, an embodiment of the present invention provides a method for controlling a time-delay scenario, the method comprising: When a time-delay scene set for a smart home is paused, the scene progress of the time-delay scene is recorded; the time-delay scene is used to instruct the target device to perform a corresponding action when the delay time is reached according to the node sequence of the action nodes; Obtaining modification information of the user for the delayed scene during the pause period; When the delayed scene set for the smart home is restored, the delayed scene is adjusted according to the scene progress and the modification information.

[0007] Optionally, obtaining modification information of the user for the delayed scene during the pause period includes: Obtaining time modification information of the user for the delayed scene during the pause period; And / or, obtaining action modification information of the user for the delayed scene during the pause period.

[0008] Optionally, the scenario progress includes a current action node and an elapsed delay time; Adjusting the delayed scenario according to the scenario progress and the modification information includes: Determining remaining action nodes after the current action node in the delayed scenario according to the current action node and the node sequence; Adjusting the delay time of the action nodes in the remaining action nodes according to the elapsed delay time and the time modification information.

[0009] Optionally, adjusting the delayed scenario according to the scenario progress and the modification information includes: Determining remaining action nodes after the current action node in the delayed scenario according to the current action node and the node sequence; Adjusting the actions of the action nodes in the remaining action nodes according to the action modification information.

[0010] Optionally, the method further includes: When the user does not modify the delayed scenario during the pause, obtaining the pause duration; When the delayed scenario set for the smart home is resumed, determining remaining action nodes after the current action node in the delayed scenario according to the current action node and the node sequence; Adjusting the delay time of the action nodes in the remaining action nodes according to the elapsed delay time and the pause duration.

[0011] Optionally, the method further includes: During the execution of the delayed scenario set for the smart home, obtaining selection information of the user for the delayed scenario, where the selection information is used to indicate the action node selected by the user; Adjusting the delayed scenario according to the selection information to indicate that the delayed scenario starts to execute from the action node selected by the user.

[0012] Optionally, the method further includes: After the delayed scenario set for the smart home ends, restoring the smart home to the state before the execution of the delayed scenario or keeping the smart home in the state at the end of the delayed scenario.

[0013] On the other hand, an embodiment of the present invention provides a control device for a delayed scenario, and the device includes: A scene progress recording module, configured to record the scene progress of a delay scene set for a smart home when the delay scene is paused; the delay scene is used to instruct a target device to perform corresponding actions when a delay time is reached according to the node sequence of action nodes; A modification information acquisition module, configured to acquire modification information of the user for the delay scene during the pause; A delay scene adjustment module, configured to adjust the delay scene according to the scene progress and the modification information when the delay scene set for the smart home is resumed.

[0014] Optionally, the modification information acquisition module includes: A first modification information acquisition sub-module, configured to acquire time modification information of the user for the delay scene during the pause; And / or, a second modification information acquisition sub-module, configured to acquire action modification information of the user for the delay scene during the pause.

[0015] Optionally, the scene progress includes a current action node and an elapsed delay time; the delay scene adjustment module includes: A first action node determination sub-module, configured to determine remaining action nodes after the current action node in the delay scene according to the current action node and the node sequence; A first delay scene adjustment sub-module, configured to adjust the delay time of the action nodes in the remaining action nodes according to the elapsed delay time and the time modification information.

[0016] Optionally, the delay scene adjustment module includes: A second action node determination sub-module, configured to determine remaining action nodes after the current action node in the delay scene according to the current action node and the node sequence; A second delay scene adjustment sub-module, configured to adjust the actions of the action nodes in the remaining action nodes according to the action modification information.

[0017] Optionally, the device further includes: A pause duration acquisition module, configured to acquire the pause duration when the user does not modify the delay scene during the pause; A third action node determination module, configured to determine remaining action nodes after the current action node in the delay scene according to the current action node and the node sequence when the delay scene set for the smart home is resumed; A third delay scene adjustment module, configured to adjust the delay time of the action nodes in the remaining action nodes according to the elapsed delay time and the pause duration.

[0018] Optionally, the device further comprises: A selection information acquisition module, used to obtain the user's selection information for the delayed scene during the execution of the delayed scene set for the smart home, wherein the selection information is used to indicate the action node selected by the user; The fourth delayed scene adjustment module is used to adjust the delayed scene according to the selection information to indicate that the delayed scene is executed starting from the action node selected by the user.

[0019] Optionally, the device further comprises: The state determination module is used to restore the smart home to the state before executing the delayed scene or keep the smart home in the state when the delayed scene ends after the delayed scene set for the smart home ends.

[0020] On the other hand, an embodiment of the present invention provides a home host, including: a processor, a memory, and a computer program stored in the memory and capable of running on the processor, and when the computer program is executed by the processor, the steps of the control method of the delay scene as described above are implemented.

[0021] On the other hand, an embodiment of the present invention provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of the control method for the delay scenario as described above are implemented.

[0022] The embodiments of the present invention include the following advantages: When the delayed scene set for the smart home is paused, the present invention records the scene progress of the delayed scene and obtains the modification information of the delayed scene by the user during the pause period. When the delayed scene set for the smart home is resumed, the delayed scene is adjusted according to the scene progress and the modification information. Through the scene progress recorded during the pause, the subsequent normal execution of the delayed scene after the resumption can be guaranteed; through the modification made by the user during the pause period, the subsequent execution of the delayed scene can be modified according to the real-time needs of the user. Therefore, on the basis of ensuring that the delayed scene can operate normally, the pause, modification and resumption functions of the delayed scene are realized, the flexibility of the delayed scene during use is improved, and then the user experience is improved. BRIEF DESCRIPTION OF THE DRAWINGS

[0023] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments of the present invention. Obviously, the drawings described below are only some embodiments of the present invention, and for ordinary technicians in this field, other drawings can be obtained based on these drawings without creative labor.

[0024] Figure 1 is a flowchart of a method for controlling a time-delay scenario provided by an embodiment of the present invention; Figure 2 is an application flow chart of a control method for a time-delay scenario provided by an embodiment of the present invention; Figure 3 It is a structural block diagram of a control device for a time-delay scenario provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0025] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, the present invention is further described in detail below with reference to the accompanying drawings and specific embodiments.

[0026] With the rapid development of information technology and the Internet of Things, more and more smart home devices have come into people's view. Smart homes integrate various household devices such as refrigerators, washing machines, air conditioners, socket switches, and curtains through the Internet of Things technology, realizing a full range of information interaction functions, providing users with higher comfort and better safety performance.

[0027] In the smart home system, the function of executing a preset action combination by linking various smart home devices is called a scene. Delay scene is an important type of scene, which allows users to configure delay parameters for smart home devices in the scene, thereby instructing smart home devices to execute preset actions after the delay. Delay scene can meet various timing control requirements in actual application scenarios. However, with the rapid development of the smart home market, users have increasing requirements for the convenience and accuracy of delay scene control.

[0028] In the related technology, the delayed scene needs to set the scene parameters first and then start the execution. Once the delayed scene process is started, it cannot be adjusted in the middle and can only be forcibly interrupted and then reset and started, resulting in poor flexibility during use and greatly reduced practicality, which affects the user experience and thus has a low usage rate.

[0029] One of the core concepts of the present invention is to realize the functions of pausing, modifying and resuming the delayed scene. When the delayed scene set for the smart home is paused, the scene progress of the delayed scene is recorded, and the modification information of the delayed scene made by the user during the pause period is obtained. By recording the scene progress during the pause, the normal subsequent execution of the delayed scene after the resumption can be guaranteed; through the modifications made by the user during the pause period, the subsequent execution of the delayed scene can be modified according to the real-time needs of the user. Thus, on the basis of ensuring that the delayed scene can operate normally, the functions of pausing, modifying and resuming the delayed scene are realized, the flexibility of the delayed scene during use is improved, and then the user experience is improved.

[0030] Figure 1 It is a flowchart of the steps of a control method for a delay scenario provided by an embodiment of the present invention.

[0031] As Figure 1 shown, the method may specifically include the following steps: Step 101, when the delay scenario set for the smart home is paused, record the scenario progress of the delay scenario.

[0032] Among them, the delay scenario is used to indicate, according to the node order of the action nodes, that the target device executes the corresponding action when the delay time is reached.

[0033] In an actual application scenario, the delay scenario can be used to meet various timing control requirements. For example, when the user is resting at night, the user can set a delay scenario of "sleep mode" to indicate that the main bedroom light is turned off after 1 minute, while the bedside lamp in the bedroom is turned on and adjusted to the warm light mode; the bedside lamp in the bedroom is turned off after 30 minutes; the air conditioner is turned off 3 hours after the bedside lamp in the bedroom is turned off. Thus, it can ensure a comfortable and convenient sleep experience for the user.

[0034] In some embodiments, parameter settings are first performed to obtain the corresponding delay scenario, and then the delay scenario is executed.

[0035] During the parameter setting process of the delay scenario, at least one action node is set, and each action node includes the corresponding target device, action, and delay time. The node order needs to be set between multiple action nodes. Thus, a delay scenario can be realized that indicates the corresponding target device to execute the corresponding action when the delay time is reached according to the node order of the action nodes.

[0036] In the embodiment of the present invention, the smart home includes a home host and smart home devices. The home host can be a central control box, a smart home gateway, an embedded device, etc., and the smart home devices can be curtains, lights, air conditioners, TVs, washing machines, etc. In addition, the target device refers to the smart home device corresponding to the home host instructing to execute a certain action.

[0037] In some embodiments, during the execution of the delay scenario set for the smart home, in response to a pause operation, the delay scenario is paused. The pause operation may include: the user's manual trigger operation, the user's voice trigger operation, and the passive pause caused by an execution failure, etc. The embodiment of the present invention does not limit the specific form of the pause operation.

[0038] After the user starts the delay scenario, due to the change of real-time requirements, the delay scenario may need to be modified. Then the user performs a pause operation, the delay scenario is paused in response to the user's pause operation, and the scenario progress of the delay scenario is recorded.

[0039] In some embodiments, when pausing, the states of the smart home devices at this time are recorded and the states of these smart home devices are maintained. The states of the smart home devices include the operating state and operating parameters. As an example, when the "sleep mode" delay scenario progresses to a certain action node, the bedside lamp in the bedroom is turned on (operating state) and adjusted to the warm light mode (operating parameter); the bedroom air conditioner is in the cooling mode and is turned on at 26 degrees; the main light in the bedroom is in the off state. At this time, if the user triggers the pause operation, the states of the smart home devices are recorded and maintained, thereby achieving the pause effect of the delay scenario.

[0040] In some embodiments, when the delay scenario is paused, the scenario progress of the delay scenario is recorded.

[0041] It can be understood that the delay scenario includes multiple action nodes, and there is a node order between the action nodes. That is, the action nodes will be completed in sequence according to the node order.

[0042] The scenario progress includes the current action node and the elapsed delay time. By recording the scenario progress, it is possible to determine the action node where the pause point is located, so as to determine the motion nodes that the user can modify during the pause. And by recording the elapsed delay time, when the user pauses during the delay stage, it is possible to determine the elapsed delay time of this delay stage, so as to calculate the remaining delay time when the pause ends and the delay scenario is resumed.

[0043] Step 102, obtain the modification information of the user for the delay scenario during the pause.

[0044] After the user starts the delay scenario, due to the change of real-time requirements, if it is necessary to modify the delay scenario, the delay scenario is paused in response to the user's pause operation, and the modification information of the user for the delay scenario during the pause is obtained.

[0045] In some embodiments, after the user pauses the delay scenario, a modification operation can be performed. After the user completes the modification operation, the modification information of the user for the delay scenario during the pause is obtained. The modification operation can be that the user enters the modification page for manual modification, or can be modified by voice control. The present invention does not limit the specific form of the modification operation.

[0046] In some embodiments, step 102 specifically includes the following sub-steps: Sub-step S11, obtain the time modification information of the user for the delay scenario during the pause; And / or, obtain the action modification information of the user for the delay scenario during the pause.

[0047] Typical modification operations include modifying the delay time and modifying the actions. As an example, during the execution of the "sleep mode" delay scenario, due to the real-time need to play games, the user pauses the delay scenario and changes the delay time of "turning off the bedside lamp in the bedroom" from 30 minutes to 1 hour. As another example, during the execution of the "sleep mode" delay scenario, due to the real-time need to read books, the user pauses the delay scenario and changes the action of adjusting the bedside lamp in the bedroom to the warm light mode to the action of adjusting the bedside lamp in the bedroom to the bright mode.

[0048] In the embodiments of the present invention, the user can only modify the delay time to obtain the time modification information of the user for the delay scenario; can only modify the actions to obtain the action modification information of the user for the delay scenario; or can modify both the delay time and the actions to obtain the time modification information and the action modification information of the user for the delay scenario.

[0049] By supporting the user to make refined modifications to the delay time or actions in the delay scenario simultaneously, the modification accuracy is improved, which can meet the personalized needs of the user to freely adjust according to the actual situation, thereby improving the flexibility of the application of the delay scenario.

[0050] In some embodiments, the time modification information includes the corresponding action node and the modified delay time. The action modification information includes the corresponding action node, the modified target device, and / or the modified action.

[0051] In some embodiments, a historical backtracking function is provided. When the user makes an incorrect modification to the delay scenario, the original settings can be restored according to the saved historical records.

[0052] Step 103, when the delay scenario set for the smart home is restored, adjust the delay scenario according to the scenario progress and the modification information.

[0053] Through the scenario progress recorded during the pause, it can ensure the normal progress of the delay scenario after restoration. Combined with the modifications made by the user during the pause, it can make modifications to the subsequent execution of the delay scenario according to the real-time needs of the user, thereby realizing the pause, modification, and restoration functions of the delay scenario on the basis of ensuring the normal operation of the delay scenario.

[0054] This method can greatly reduce the operation burden of the user. There is no need to completely reconstruct the delay scenario due to temporary changes in requirements. Only specific parameters need to be quickly adjusted during the pause, especially suitable for delay scenarios with a large number of action nodes, and can greatly improve the operation efficiency of the user.

[0055] In some embodiments, step 103 specifically includes the following sub-steps: Sub-step S21: Determine the remaining action nodes after the current action node in the delay scenario according to the current action node and the node sequence. The delay scenario includes multiple action nodes, and there is a node sequence among the action nodes. That is, it is necessary to complete the action nodes in sequence according to the node sequence to implement the execution of the delay scenario.

[0056] The scenario progress includes the current action node and the elapsed delay time. By determining the current action node, the action node where the pause point is located can be determined, so as to determine the motion nodes that the user can modify during the pause. And determining the elapsed delay time enables the user to determine the elapsed delay time of this delay stage when pausing during the delay stage, so as to calculate the remaining delay time of this delay stage when resuming the delay scenario after ending the pause.

[0057] In the actual application scenario, the action nodes that have been completed in the current execution process will not be executed again. Therefore, it is of little significance to modify the action nodes that have been executed in the delay scenario. Thus, consider determining the remaining action nodes after the current action node in the delay scenario according to the current action node and the node sequence, so as to only modify the action nodes that have not been executed yet. By determining a clear modifiable range, this method can avoid the user's ineffective modifications, and at the same time save resources and avoid ineffective operation resource scheduling.

[0058] Sub-step S22: Adjust the delay time of the action nodes in the remaining action nodes according to the elapsed delay time and the time modification information.

[0059] In the delay scenario, the execution of the action node is divided into a delay stage and an action execution stage. As an example, the complete execution process of a certain action node is to delay for 30 minutes (delay stage) and then turn off the bedside lamp in the bedroom (action execution stage). And the delay scenario is composed of the delay stages and action execution stages of multiple action nodes.

[0060] Therefore, when pausing, the pause time point may be located in the delay stage of the action node or in the action execution stage of the action node. And since the action execution generally takes a short time and the action execution stage accounts for a short duration in the whole execution process, the pause time point is more likely to be located in the delay stage of the action node. And the elapsed delay time refers to the elapsed delay time of this delay stage when pausing.

[0061] In some embodiments, the user can modify the delay time of the action node at the pause time point. Then, according to the elapsed delay time, the pause duration, and the modified delay time (time modification information) of the action node by the user, the remaining delay time of the motion node after resuming the execution of the delay scenario is determined, and the subsequent delay stage is executed according to the remaining delay time.

[0062] As an example, the modified delay time of the action node by the user is 1 hour. According to the scenario progress, it is determined that the pause time point is in the delay stage of the action node, and the elapsed delay time is 29 minutes; in addition, the pause duration is 1 minute. Then, the remaining delay time of the motion node is determined to be 30 minutes. After resuming the execution of the delay scenario, the home host instructs the target device of the action node to perform the corresponding action after the remaining delay time.

[0063] Through the above method, it is possible to ensure the normal execution of the action nodes before and after the pause, minimize the situation of inaccurate delay caused by the pause, thereby achieving precise control of the delay scenario and ensuring the coherence of the delay scenario.

[0064] In some embodiments, step 103 specifically includes the following sub-steps: Sub-step S31, determining the remaining action nodes after the current action node in the delay scenario according to the current action node and the node order; In the actual application scenario, the action nodes that have been completed in the current execution process will not be executed again, so it is not very meaningful to modify the action nodes that have been executed in the delay scenario. Therefore, considering the current action node and the node order, the remaining action nodes after the current action node in the delay scenario are determined to only modify the action nodes that have not been executed. By determining a clear range of modifiable content, this method can avoid invalid modifications by users, and at the same time save resources and avoid ineffective operation resource scheduling.

[0065] Sub-step S32, adjusting the actions of the action nodes in the remaining action nodes according to the action modification information.

[0066] In the delay scenario, modifying the action of the action node includes only modifying the action corresponding to the action node, only modifying the target device corresponding to the action node, and modifying both the target device and the action corresponding to the action node. For different action modification operations, different action modification information is obtained, and different adjustments are made to the action of the action node. As an example, an action node is to turn on the cooling mode at 26 degrees (action) for the bedroom air conditioner (target device). If the user only modifies the action corresponding to the action node, then it is modified to turn on the cooling mode at 23 degrees for the bedroom air conditioner.

[0067] One action node is to turn on the bedside lamp in the bedroom. If the user only modifies the target device corresponding to this action node, the modification results in turning on the bedside lamp in the bedroom.

[0068] One action node is to close the curtain. If the user modifies both the target device and the action corresponding to this action node, the modification results in turning on the temperature sensor.

[0069] In the above manner, the modifiable action nodes are determined based on the scene progress, and by refining the user's modifiable range selection, different user requirements are met, thereby achieving precise control of the delay scene and ensuring the stability of the delay scene pause modification function.

[0070] In some embodiments, the method further includes: When the user does not modify the delay scene during the pause, obtain the pause duration; when the delay scene set for the smart home is resumed, determine the remaining action nodes after the current action node in the delay scene according to the current action node and the node sequence; adjust the delay time of the action nodes in the remaining action nodes according to the elapsed delay time and the pause duration.

[0071] In the actual application scenario, there may be a situation where the user pauses the delay scene but does not modify the delay scene and then resumes the delay scene. As an example, in the "sleep mode" delay scene, the action node of turning off the bedside lamp in the bedroom after a 30-minute delay is paused. The user intends to modify the delay duration to 2 hours to watch a TV drama, but then discovers that the TV drama has not been updated, so no modification is made and the delay scene is directly resumed.

[0072] During the pause, although the user does not modify the delay time, if the pause duration is too long, it is equivalent to passively changing the delay time. Therefore, the present invention considers determining the remaining delay duration after resuming the execution of the delay scene according to the pause duration. The pause duration can be determined by the home host from the start of the pause until the end of the pause. It is also possible to obtain the start point and end point of the pause respectively to determine the pause duration. The present invention does not limit the specific manner of obtaining the pause duration.

[0073] In a delay scenario, the execution of an action node is divided into a delay stage and an action execution stage, and the delay scenario is composed of the delay stages and action execution stages of multiple action nodes. Therefore, when pausing, the pause time point may be located in the delay stage of the action node or in the action execution stage of the action node. And since the action execution generally takes a short time and the duration of the action execution stage in the entire execution process is short, it is necessary to determine different timing situations based on the current action node recorded in the scenario progress and determine the remaining delay duration after resuming the execution of the delay scenario.

[0074] If the pause time point is located in the delay stage of the current action node, the pause duration affects the delay time of the current action node. It is necessary to determine the remaining delay duration of the current action node based on the already elapsed delay duration and the pause duration, and adjust the subsequent execution of the delay scenario according to the remaining delay duration.

[0075] If the pause time point is located in the action execution stage of the current action node, the pause duration affects the delay time of the next action node of the current action node. It is necessary to first determine the next action node of the current action node according to the current action node and the node sequence. In this case, the already elapsed delay duration is 0, and directly determine the remaining delay duration of the next action node based on the pause duration and the delay time of the next action node, and adjust the subsequent execution of the delay scenario according to the remaining delay duration.

[0076] Through the above method, it is possible to ensure the normal execution of the action nodes before and after pausing when the user pauses but does not modify the delay scenario, and minimize the situation where the delay is inaccurate due to pausing, so as to achieve precise control of the delay scenario and ensure the coherence of the delay scenario.

[0077] In some embodiments, the method further includes: During the execution of the delay scenario set for the smart home, obtain the selection information of the user for the delay scenario, where the selection information is used to indicate the action node selected by the user; adjust the delay scenario according to the selection information to indicate that the delay scenario starts to execute from the action node selected by the user.

[0078] Since the delay scenario is executed sequentially according to the node sequence of the action nodes, and corresponding target devices, actions, and delay times are set for each action node. That is, during the execution of the delay scenario, the smart home device status of each action node can be determined. Based on the above considerations, a selection operation is set for the user to select the action node.

[0079] In response to the user's selection operation, obtain the user's selection information for the delay scenario, and based on this selection information, obtain the status of the smart home device corresponding to the action node selected by the user, and instruct the delay scenario to start execution from the action node selected by the user.

[0080] As an example, in the delay scenario of "sleep mode", action node 1 is to turn on the main bedroom light; action node 2 is to turn off the main bedroom light after 5 minutes, and at the same time turn on the bedside lamp in the bedroom and adjust it to the warm light mode; action node 3 is to turn off the bedside lamp in the bedroom after 30 minutes, and action node 4 is to turn off the air conditioner after 3 hours. Since the user is sick and uncomfortable and no longer engages in activities such as playing games or watching videos before going to bed, the user can directly select action node 3, that is, the delay scenario directly starts execution from action node 3. The system first obtains the status of the smart home devices of action node 3. For example, the main bedroom light is off, the bedside lamp in the bedroom is off, and the air conditioner is on, and then instructs each smart home device to adjust to the corresponding smart home device status, so as to start executing the delay scenario from this action node.

[0081] Through the above method, during the execution of the delay scenario, the user can directly select the required action node to start execution according to the set action nodes without pausing, which greatly improves the flexibility of using the delay scenario.

[0082] In some embodiments, the method further includes: After the delay scenario set for the smart home ends, restore the smart home to the state before executing the delay scenario or keep the smart home in the state at the end of the delay scenario.

[0083] In the actual application scenario, according to the end state pre-set by the user, after the delay scenario set for the smart home ends, it can be selected according to different actual situations to restore the smart home to the state before executing the delay scenario or keep the smart home in the state at the end of the delay scenario. In this way, it not only meets the user's demand for the continuity of the delay scenario, but also takes into account the convenience of scenario switching, thus greatly improving the user experience.

[0084] As an example, in the "sleep mode" delay scenario, it is usually set to keep the smart home in the state at the end of the delay scenario (keep the bedroom lights off after the end). And in the "movie viewing mode" delay scenario, it is usually set to restore the smart home to the state before executing the delay scenario (restore the living room ceiling light to on).

[0085] It should be noted that for the method embodiments, for the sake of simple description, they are all expressed as a series of action combinations. However, those skilled in the art should be aware that the embodiments of the present invention are not limited by the described action sequences, because according to the embodiments of the present invention, certain steps can be performed in other sequences or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions involved are not necessarily essential to the embodiments of the present invention.

[0086] Figure 2 It is the application flowchart of a control method for a delay scenario provided by an embodiment of the present invention.

[0087] To enable those skilled in the art to better understand the embodiments of the present invention, with reference to Figure 2 , the embodiments of the present invention are illustrated by an example: 1) Execute the delay scenario First, perform parameter settings to obtain the corresponding delay scenario. During the parameter setting process of the delay scenario, set at least one action node. Each action node includes the corresponding target device, action, and delay time. The node order needs to be set between multiple action nodes.

[0088] Then execute the delay scenario. According to the node order of the action nodes, instruct the corresponding target device to execute the delay scenario of the corresponding action when the delay time is reached.

[0089] 2) Pause the delay scenario After the user starts the delay scenario, due to the change of real-time requirements, it may be necessary to modify the delay scenario. Then the user performs a pause operation, and the smart home system pauses the delay scenario in response to the user's pause operation and records the scenario progress of the delay scenario.

[0090] The scenario progress includes the current action node and the elapsed delay time. By recording the scenario progress, it is possible to determine the action node where the pause point is located, so as to determine the motion node that the user can modify during the pause. And recording the elapsed delay time enables the user to determine the elapsed delay time in this delay stage when pausing during the delay stage, so as to calculate the remaining delay time when ending the pause and resuming the delay scenario.

[0091] 3) Modify the delay scenario / Do not modify the delay scenario On the one hand, during the execution of the delay scenario, due to the change of the user's real-time requirements, it may be necessary to modify the delay scenario. Then the delay scenario is paused in response to the user's pause operation, and the modification information of the user for the delay scenario during the pause is obtained.

[0092] Typical modification operations include modifying the delay time and modifying the actions. The user can only modify the delay time to obtain the time modification information of the user for the delay scenario; can only modify the actions to obtain the action modification information of the user for the delay scenario; or can modify both the delay time and the actions to obtain the time modification information and action modification information of the user for the delay scenario.

[0093] Based on the scene progress recorded during the pause, it is possible to ensure the normal subsequent progress of the delay scenario after resumption. Combining with the modifications made by the user during the pause, through the above method steps, it is possible to modify the subsequent execution of the delay scenario according to the real-time needs of the user, so as to realize the pause, modification and resumption functions of the delay scenario on the basis of ensuring the normal operation of the delay scenario. By supporting the user to make refined modifications to the delay time or actions in the delay scenario simultaneously, the modification accuracy is improved, and the personalized needs of the user to freely adjust according to the actual situation can be met, thus improving the flexibility of the application of the delay scenario.

[0094] On the other hand, there may also be a situation where the user pauses the delay scenario but does not modify the delay scenario and then resumes the delay scenario. For example, when the user is in the "sleep mode" delay scenario, the action node of turning off the bedside lamp in the bedroom after 30 minutes of delay is paused. The user intends to modify the delay duration to 2 hours to watch a TV drama, but then finds that the TV drama has not been updated, so no modification is made and the delay scenario is directly resumed.

[0095] In this case, although the user does not modify the delay time during the pause, if the pause duration is too long, it is equivalent to passively changing the delay time. Therefore, the present invention considers determining the remaining delay duration after resuming the execution of the delay scenario according to the pause duration, and adjusting the delay scenario according to the remaining delay duration and then resuming the execution.

[0096] 4) Resume the execution of the delay scenario According to what is described in 3), make corresponding adjustments to the delay scenario for different situations during the pause, and then resume the execution of the delay scenario.

[0097] 5) Select an action node During the execution of the delay scenario, the delay scenario can be adjusted according to the selection information of the user for the delay scenario to indicate that the delay scenario starts to execute from the action node selected by the user.

[0098] 6) Start execution from the selected action node Since the delay scenario is executed sequentially according to the node order of the action nodes, and corresponding target devices, actions and delay times are set for each action node. That is, during the execution of the delay scenario, the status of the smart home devices of each action node can be determined.

[0099] In response to the user's selection operation, obtain the user's selection information for the delay scenario, and based on this selection information, obtain the status of the smart home device corresponding to the action node selected by the user, and instruct the delay scenario to start execution from the action node selected by the user. Through this method, during the execution of the delay scenario, the user does not need to pause and can directly start executing any required action node according to the set action nodes, greatly improving the flexibility of using the delay scenario.

[0100] 7) The delay scenario execution ends After all action nodes are executed according to the node order, the delay scenario execution ends.

[0101] 8) Maintain the end state / restore the start state In the actual application scenario, according to the end state pre-set by the user, after the delay scenario set for the smart home ends, it can be selected according to different actual situations to restore the smart home to the state before the execution of the delay scenario or keep the smart home in the state at the end of the delay scenario. In this way, it not only meets the user's demand for the continuity of the delay scenario but also takes into account the convenience of scenario switching, thus greatly improving the user experience.

[0102] When the delay scenario set for the smart home is paused, the present invention records the scenario progress of the delay scenario and obtains the modification information of the user for the delay scenario during the pause. When the delay scenario set for the smart home is resumed, the delay scenario is adjusted according to the scenario progress and the modification information. Through the scenario progress recorded during the pause, it can ensure the normal progress of the delay scenario after resumption; through the modification made by the user during the pause, it can modify the subsequent execution of the delay scenario according to the user's real-time needs. Thus, on the basis of ensuring the normal operation of the delay scenario, the pause, modification, and resumption functions of the delay scenario are realized, improving the flexibility of the delay scenario during use and then improving the user experience.

[0103] Figure 3 It is a structural block diagram of the control of a delay scenario provided by an embodiment of the present invention.

[0104] As Figure 3 shown, a control device for a delay scenario provided by an embodiment of the present invention may specifically include the following modules: A scenario progress recording module 301, configured to record the scenario progress of the delay scenario when the delay scenario set for the smart home is paused; the delay scenario is used to instruct a target device to execute corresponding actions when reaching a delay time according to the node order of action nodes; The modified information acquisition module 302 is configured to acquire the modified information of the user for the delay scenario during the pause; The delay scenario adjustment module 303 is configured to adjust the delay scenario according to the scenario progress and the modified information when the delay scenario set for the smart home is resumed.

[0105] When the delay scenario set for the smart home is paused, record the scenario progress of the delay scenario, and acquire the modified information of the user for the delay scenario during the pause. When the delay scenario set for the smart home is resumed, adjust the delay scenario according to the scenario progress and the modified information. Through the scenario progress recorded during the pause, it is possible to ensure the normal progress of the delay scenario after resumption. Combined with the modifications made by the user during the pause, it is possible to modify the subsequent execution of the delay scenario according to the real-time needs of the user, so as to realize the functions of pausing, modifying, and resuming the delay scenario on the basis of ensuring the normal operation of the delay scenario.

[0106] This method can greatly reduce the operation burden of the user. There is no need to completely reconstruct the delay scenario due to temporary demand changes. It is only necessary to quickly adjust specific parameters during the pause, especially applicable to delay scenarios with a large number of action nodes, and can greatly improve the operation efficiency of the user.

[0107] In some embodiments, the modified information acquisition module 302 includes the following sub-modules: The first modified information acquisition sub-module is configured to acquire the time modified information of the user for the delay scenario during the pause; And / or, the second modified information acquisition sub-module is configured to acquire the action modified information of the user for the delay scenario during the pause.

[0108] In some embodiments, the delay scenario adjustment module 303 includes the following sub-modules: The first action node determination sub-module is configured to determine the remaining action nodes after the current action node in the delay scenario according to the current action node and the node sequence; The first delay scenario adjustment sub-module is configured to adjust the delay time of the action nodes in the remaining action nodes according to the already elapsed time and the time modified information.

[0109] In some embodiments, the delay scenario adjustment module 303 includes the following sub-modules: The second action node determination sub-module is configured to determine the remaining action nodes after the current action node in the delay scenario according to the current action node and the node sequence; The second delay scenario adjustment sub-module is configured to adjust the actions of the action nodes in the remaining action nodes according to the action modified information.

[0110] In some embodiments, the device further comprises: A pause duration acquisition module, used to acquire the pause duration when the user does not modify the delay scenario during the pause period; A third action node determination module is used to determine the remaining action nodes after the current action node in the delayed scene according to the current action node and the node sequence when the delayed scene set for the smart home is restored; The third delay scene adjustment module is used to adjust the delay time of the action nodes in the remaining action nodes according to the delayed time and the pause time.

[0111] In some embodiments, the device further comprises: A selection information acquisition module, used to obtain the user's selection information for the delayed scene during the execution of the delayed scene set for the smart home, wherein the selection information is used to indicate the action node selected by the user; The fourth delayed scene adjustment module is used to adjust the delayed scene according to the selection information to indicate that the delayed scene is executed starting from the action node selected by the user.

[0112] In some embodiments, the device further comprises: The state determination module is used to restore the smart home to the state before executing the delayed scene or keep the smart home in the state when the delayed scene ends after the delayed scene set for the smart home ends.

[0113] When the delayed scene set for the smart home is paused, the present invention records the scene progress of the delayed scene and obtains the modification information of the delayed scene by the user during the pause period. When the delayed scene set for the smart home is resumed, the delayed scene is adjusted according to the scene progress and the modification information. Through the scene progress recorded during the pause, the subsequent normal execution of the delayed scene after the resumption can be guaranteed; through the modification made by the user during the pause period, the subsequent execution of the delayed scene can be modified according to the real-time needs of the user. Therefore, on the basis of ensuring that the delayed scene can operate normally, the pause, modification and resumption functions of the delayed scene are realized, the flexibility of the delayed scene during use is improved, and then the user experience is improved.

[0114] As for the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.

[0115] An embodiment of the present invention further provides a home host, including: a processor, a memory, and a computer program stored on the memory and capable of running on the processor. When the computer program is executed by the processor, it implements each process of the control method embodiment of the above-mentioned delay scenario and can achieve the same technical effect. To avoid repetition, it will not be elaborated here.

[0116] An embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, it implements each process of the control method embodiment of the above-mentioned delay scenario and can achieve the same technical effect. To avoid repetition, it will not be elaborated here.

[0117] Each embodiment in this specification is described in a progressive manner. The key point of each embodiment is to illustrate the differences from other embodiments. For the same or similar parts among the embodiments, reference can be made to each other.

[0118] Those skilled in the art should understand that the embodiments of the present invention can be provided as a method, a device, or a computer program product. Therefore, the embodiments of the present invention can take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware aspects. Moreover, the embodiments of the present invention can take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk memories, CD-ROMs, optical memories, etc.) containing computer-usable program codes.

[0119] The embodiments of the present invention are described with reference to the flowcharts and / or block diagrams of the methods, terminal devices (systems), and computer program products according to the embodiments of the present invention. It should be understood that each process and / or block in the flowcharts and / or block diagrams can be implemented by computer program instructions, and the combination of the processes and / or blocks in the flowcharts and / or block diagrams can also be implemented by computer program instructions. These computer program instructions can be provided to the processors of general-purpose computers, special-purpose computers, embedded processors, or other programmable data processing terminal devices to generate a machine, so that the instructions executed by the processors of the computer or other programmable data processing terminal devices generate a device for implementing the functions specified in Figure 1 one process or multiple processes and / or blocks Figure 1 one block or multiple blocks.

[0120] These computer program instructions can also be stored in a computer-readable memory that can guide a computer or other programmable data processing terminal device to work in a specific manner, so that the instructions stored in the computer-readable memory generate a manufactured product including an instruction device, and the instruction device implements the functions specified in Figure 1 one process or multiple processes and / or blocks Figure 1 one block or multiple blocks.

[0121] These computer program instructions can also be loaded onto a computer or other programmable data processing terminal device, so that a series of operation steps are executed on the computer or other programmable terminal device to generate a computer-implemented process, and thus the instructions executed on the computer or other programmable terminal device provide for implementing the steps of the function specified in one process or a plurality of processes and / or blocks Figure 1 one process or a plurality of processes and / or blocks Figure 1 steps of the function specified in one block or a plurality of blocks.

[0122] Although the preferred embodiments of the embodiments of the present invention have been described, those skilled in the art can make additional changes and modifications once they learn the basic creative concept. Therefore, the appended claims are intended to be construed to include the preferred embodiments and all changes and modifications falling within the scope of the embodiments of the present invention.

[0123] Finally, it should also be noted that in this article, relational terms such as first and second are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the term "comprising", "including" or any other variant thereof is intended to cover non-exclusive inclusion, so that a process, method, article or terminal device comprising a series of elements not only includes those elements, but also includes other elements not expressly listed, or further includes elements inherent to such process, method, article or terminal device. Without further limitation, an element defined by the statement "comprising an..." does not exclude the presence of additional identical elements in the process, method, article or terminal device comprising the element.

[0124] The above has introduced in detail a control method, device, home host and computer-readable storage medium for a delay scenario provided by the present invention. Specific examples are used in this article to elaborate on the principle and implementation manner of the present invention. The description of the above embodiments is only used to help understand the method and its core idea of the present invention; at the same time, for those of ordinary skill in the art, according to the idea of the present invention, there will be changes in the specific implementation manner and application scope. In summary, the content of this specification should not be construed as a limitation to the present invention.

Claims

1. A control method for a delay scenario, characterized in that, The method includes: When the delay scenario set for the smart home is paused, recording the scenario progress of the delay scenario; the delay scenario is used to instruct the target device to perform corresponding actions when the delay time is reached according to the node order of the action nodes; Obtaining modification information of the user for the delay scenario during the pause; When the delay scenario set for the smart home is resumed, adjusting the delay scenario according to the scenario progress and the modification information.

2. The control method for the delay scenario according to claim 1, wherein The obtaining modification information of the user for the delay scenario during the pause includes: Obtaining time modification information of the user for the delay scenario during the pause; And / or, obtaining action modification information of the user for the delay scenario during the pause.

3. The control method of the delay scenario according to claim 2, characterized in that The scenario progress includes the current action node and the elapsed delay time; The adjusting the delay scenario according to the scenario progress and the modification information includes: Determining the remaining action nodes after the current action node in the delay scenario according to the current action node and the node order; Adjusting the delay time of the action nodes in the remaining action nodes according to the elapsed delay time and the time modification information.

4. The control method of the delay scenario according to claim 3, characterized in that The adjusting the delay scenario according to the scenario progress and the modification information includes: Determining the remaining action nodes after the current action node in the delay scenario according to the current action node and the node order; Adjusting the actions of the action nodes in the remaining action nodes according to the action modification information.

5. The control method for the delay scenario according to claim 4, wherein, The method further includes: When the user does not modify the delay scenario during the pause, obtaining the pause duration; When the delay scenario set for the smart home is resumed, determining the remaining action nodes after the current action node in the delay scenario according to the current action node and the node order; Adjusting the delay time of the action nodes in the remaining action nodes according to the elapsed delay time and the pause duration.

6. The control method for the delay scenario according to claim 3, wherein The method further includes: During the execution of the delay scenario set for the smart home, obtaining selection information of the user for the delay scenario, the selection information being used to indicate the action node selected by the user; Adjusting the delay scenario according to the selection information to instruct the delay scenario to start executing from the action node selected by the user.

7. The control method of the delay scenario according to claim 1, characterized in that The method further includes: After the delay scenario set for the smart home ends, restoring the smart home to the state before executing the delay scenario or keeping the smart home in the state when the delay scenario ends.

8. A control device for a delay scenario, characterized in that, The device includes: A scenario progress recording module, configured to record the scenario progress of the delay scenario when the delay scenario set for the smart home is paused; the delay scenario is used to instruct the target device to perform corresponding actions when the delay time is reached according to the node order of the action nodes; A modified information acquisition module for acquiring the modified information of the user for the delay scenario during the pause period; A delay scenario adjustment module for adjusting the delay scenario according to the scenario progress and the modified information when the delay scenario set for the smart home is restored.

9. A home host, characterized in that, Comprising: A processor, a memory, and a computer program stored on the memory and capable of running on the processor. When the computer program is executed by the processor, the steps of the control method for the delay scenario according to any one of claims 1-7 are implemented.

10. A computer-readable storage medium, characterized in that, A computer program is stored on the computer-readable storage medium. When the computer program is executed by the processor, the steps of the control method for the delay scenario according to any one of claims 1-7 are implemented.

Citation Information

Patent Citations

  • Scene mode control method and device for smart home

    CN111934960A

  • Intelligent scene control method, system and device and storage medium

    CN113268005A

  • Scene automatic adjustment method, system and device and storage medium

    CN113296420A

  • Smart home scene creation method and device, storage medium and electronic device

    CN114740748A

  • Control method of smart home equipment and smart home equipment

    CN118625684A