Home scene configuration method and device, electronic equipment and medium

By integrating modes, trigger conditions, and device settings controls through a unified interactive interface, users can complete scene configuration within a single screen, solving the problem of complex scene settings in smart home apps and improving configuration efficiency and user experience.

CN121386441APending Publication Date: 2026-01-23GREE ELECTRIC APPLIANCE INC OF ZHUHAI
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202511356178.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-09-22
Publication Date
2026-01-23

AI Technical Summary

Technical Problem

Existing smart home apps generally suffer from complex processes and time-consuming operation in their scene setting functions, resulting in high learning costs for users and making it difficult to flexibly and conveniently create personalized scenes that suit their own lifestyles.

Method used

It provides a unified interactive interface that includes mode setting controls, trigger condition setting controls, and device setting controls, and integrates the scene configuration process of manual mode and automatic mode, so that users can complete mode selection, trigger condition setting and target device configuration within a single screen without jumping across pages.

Benefits of technology

It simplifies and makes the scene configuration process more intuitive, reduces the difficulty for users to understand and operate, improves the efficiency of scene creation and user experience, and solves the problem that users find it difficult to easily synthesize personalized scenes.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121386441A_ABST
    Figure CN121386441A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides a home scene configuration method and device, electronic equipment and a medium, and the method comprises the steps: providing a unified interaction interface which comprises a mode setting control, a triggering condition setting control and an equipment setting control, and integrating the scene configuration processes of a manual mode and an automatic mode into the same operation environment; therefore, the user can complete manual / automatic mode selection, trigger condition setting and target equipment configuration in a single screen at one time without cross-page jump, simplification and visualization of the scene configuration process are realized, the difficulty of user understanding and operation is reduced, the scene creation efficiency and the user experience are improved, and the user experience is improved. The problem that it is difficult for a user to conveniently synthesize a personalized scene is effectively solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of smart home technology, and in particular to a method, apparatus, electronic device, and medium for configuring a home scene. Background Technology

[0002] With the popularization of smart home devices, users are increasingly relying on smart home apps to manage and control various smart devices in their homes in a unified manner. In particular, they can achieve one-click linkage or multi-device collaborative work by creating scene modes and group control. However, existing smart home apps generally have problems with complex processes and time-consuming operation in scene setting functions, resulting in high learning costs for users and making it difficult to flexibly and conveniently synthesize personalized scenes that meet their own living habits. Summary of the Invention

[0003] In view of the above problems, embodiments of the present invention are proposed to provide a configuration method, apparatus, electronic device and medium for a home scene that overcomes or at least partially solves the above problems.

[0004] To address the aforementioned problems, this invention discloses a method for configuring a home scene, the method comprising: The interactive interface includes a mode setting control, a trigger condition setting control, and a device setting control. Based on the mode setting control, the setting mode is determined; the setting mode includes manual mode or automatic mode. When set to the automatic mode, the first trigger condition for activating the home scene is determined based on the trigger condition setting control; the first target device to be controlled after activating the home scene is determined based on the device setting control; and a first home scene is generated according to the first trigger condition and the first target device. When the manual mode is set, the second trigger condition for activating the home scene is determined to be manual triggering; based on the device setting control, the second target device to be controlled after activating the home scene is determined; and a second home scene is generated according to the second trigger condition and the second target device.

[0005] Optionally, the mode setting control includes a manual option and an automatic option; the manual option is used to set the manual mode, and the automatic option is used to set the automatic mode. The trigger condition setting control includes a timed condition option, an environmental condition option, and a device condition option; the timed condition option is used to set the timed conditions for activating the home scene; the environmental condition option is used to set the environmental conditions for activating the home scene; and the device condition option is used to set the device conditions for activating the home scene. The device settings control includes device options, device set options, and scene options. The device options are used to set the target devices to be controlled after the home scene is activated. The device set options are used to set the target set of devices to be controlled after the home scene is activated. The scene options are used to set other home scenes to be linked and controlled after the home scene is activated.

[0006] Optionally, the shapes of the mode setting control, the trigger condition setting control, and the device setting control are arranged in concentric circles; The mode setting control is circular in shape, and the manual and automatic options are located within the circle. The trigger condition setting control is shaped like a first ring surrounding the mode setting control, and the timing condition option, the environment condition option, and the device condition option are distributed within the first ring; The device settings control is shaped like a first ring surrounding the trigger condition settings control, and the device options, the device set options, and the scene options are distributed in a second ring.

[0007] Optionally, determining the setting mode based on the mode setting control includes: In response to the selection operation for the manual option, the setting mode is determined to be manual mode; or, In response to the selection operation for the automatic option, the setting mode is set to automatic mode.

[0008] Optionally, determining the trigger condition for activating the home scene based on the trigger condition setting control includes: In response to the selection operation for the timing condition option, the timing condition setting page is displayed, and the timing condition set on the timing condition setting page is obtained; And / or, in response to a selection operation for the environmental conditions option, display an environmental conditions settings page and obtain the environmental conditions set on the environmental conditions settings page; And / or, in response to a selection operation for the device condition option, display the device condition settings page and obtain the device conditions set on the device condition settings page; The timing conditions, and / or the environmental conditions, and / or the device conditions, are determined as the trigger conditions for activating the home scene.

[0009] Optionally, the trigger condition setting control further includes: a first option box; The operation of selecting the timing condition option is the operation of selecting the timing condition option in the first option box; The operation of selecting the environmental condition option is the operation of selecting the environmental condition option in the first option box; The operation of selecting the device condition option is the operation of selecting the device condition option in the first option box.

[0010] Optionally, determining the first target device to be controlled after activating the home scene based on the device settings control includes: In response to the selection operation for the target device option, the action parameter setting page corresponding to the target device is displayed, and the action parameters set on the action parameter setting page are obtained; And / or, in response to a selection operation for a target device set option, display an action parameter setting page corresponding to the target device set, and obtain the action parameters set on the action parameter setting page; And / or, in response to a selection operation for a target scene option, display an action parameter setting page corresponding to the target scene, and obtain the action parameters set on the action parameter setting page; Based on the target device and its corresponding action parameters, and / or the set of target devices and their corresponding action parameters, and / or the target scene and its corresponding action parameters, determine the first target device to be controlled after the home scene is activated.

[0011] Optionally, the device settings control further includes: a second option box; The operation of selecting the target device option is the operation of selecting the target device option in the second option box; The operation of selecting the target device set option is the operation of selecting the target device set option in the second option box; The operation of selecting the target scene option is the operation of selecting the target scene option in the second option box.

[0012] Optionally, it also includes: In response to an adjustment operation on the second option box, the size of the second option box is adjusted.

[0013] Accordingly, embodiments of the present invention also disclose a configuration device for a home scene, comprising: The interface display module is used to display the interactive interface, which includes mode setting controls, trigger condition setting controls, and device setting controls. The mode setting module is used to determine the setting mode based on the mode setting control; the setting mode includes manual mode or automatic mode. An automatic scene generation module is used, when the automatic mode is set, to determine the first trigger condition for activating the home scene based on the trigger condition setting control; to determine the first target device to be controlled after activating the home scene based on the device setting control; and to generate a first home scene according to the first trigger condition and the first target device. The manual scene generation module is used to determine that the second trigger condition for starting the home scene is manual trigger when the manual mode is set; to determine the second target device to be controlled after starting the home scene based on the device setting control; and to generate a second home scene according to the second trigger condition and the second target device.

[0014] Accordingly, embodiments of the present invention disclose an electronic device, including: a processor, a memory, and a computer program stored in the memory and capable of running on the processor, wherein the computer program, when executed by the processor, implements the various steps of the above-described home scene configuration method.

[0015] Accordingly, embodiments of the present invention disclose a computer-readable storage medium storing a computer program, which, when executed by a processor, implements the various steps of the above-described home scenario configuration method.

[0016] The embodiments of the present invention have the following advantages: by providing a unified interactive interface that includes mode setting controls, trigger condition setting controls, and device setting controls, the scene configuration process of manual mode and automatic mode is integrated into the same operating environment. This allows users to complete the selection of manual / automatic mode, the setting of trigger conditions, and the configuration of target devices in a single screen without having to jump between pages. This simplifies and makes the scene configuration process more intuitive, reduces the difficulty of understanding and operation for users, improves the efficiency of scene creation and user experience, and effectively solves the problem that users find it difficult to easily synthesize personalized scenes. Attached Figure Description

[0017] To more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings used in the description of the embodiments of the present invention will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0018] Figure 1 This is a flowchart illustrating the steps of a home scene configuration method provided in an embodiment of the present invention; Figure 2 This is a flowchart of another home scene configuration method provided by an embodiment of the present invention; Figure 3AThis is a schematic diagram of the interactive interface of a home scene configuration method provided in an embodiment of the present invention. Figure 1 ; Figure 3B This is a schematic diagram of the interactive interface of a home scene configuration method provided in an embodiment of the present invention. Figure 2 ; Figure 3C This is a schematic diagram of the environmental condition settings page for a home scene configuration method provided in an embodiment of the present invention; Figure 3D This is a schematic diagram of the target device action parameter setting page of a home scene configuration method provided in an embodiment of the present invention; Figure 3E This is a schematic diagram of the target device set action parameter setting page of a home scene configuration method provided in an embodiment of the present invention; Figure 3F This is a schematic diagram of the interactive interface of a home scene configuration method provided in an embodiment of the present invention; Figure 4 This is a structural block diagram of a home scene configuration device provided in an embodiment of the present invention. Detailed Implementation

[0019] To make the above-mentioned objects, features, and advantages of the present invention more apparent and understandable, the present invention will be further described in detail below with reference to the accompanying drawings and specific embodiments. Obviously, the described embodiments are only some, not all, of the embodiments of the present invention. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative effort are within the scope of protection of the present invention.

[0020] Existing smart home apps generally suffer from complex processes and time-consuming operations in their scene setting functions. When creating a scene, users often need to go through multiple steps, including entering a specific settings menu, selecting target devices one by one, jumping to a separate page to configure trigger conditions, and then returning to adjust the execution action. The whole process involves frequent page switching and hierarchical jumps, making the operation path lengthy and unintuitive.

[0021] One of the core concepts of this invention is that by providing a unified interactive interface that includes mode setting controls, trigger condition setting controls, and device setting controls, the scene configuration process of manual mode and automatic mode is integrated into the same operating environment. This allows users to complete the selection of manual / automatic mode, the setting of trigger conditions, and the configuration of target devices in a single screen without having to jump between pages. This simplifies and makes the scene configuration process more intuitive, reduces the difficulty of understanding and operation for users, improves the efficiency of scene creation and user experience, and effectively solves the problem that users find it difficult to easily synthesize personalized scenes.

[0022] Reference Figure 1 The diagram illustrates a flowchart of a home scene configuration method according to an embodiment of the present invention. The method may specifically include the following steps: Step 101: Display the interactive interface, which includes mode setting controls, trigger condition setting controls, and device setting controls. In this embodiment of the invention, a user-friendly and intuitive home scene configuration portal is provided. A graphical interactive interface is rendered and displayed on a smart terminal (such as a smartphone, tablet, smart speaker screen, or dedicated control panel). As the core operating platform for users to create and manage home scenes, it integrates key elements such as operating modes, triggering mechanisms, and execution devices in the form of controls, simplifying the configuration process and improving the user experience.

[0023] The user interface provides users with a centralized and unified configuration environment, which includes the following three core controls: Mode setting control: Presented as options, the selection method can include, but is not limited to, toggle buttons or tabs, allowing users to choose between "manual mode" and "automatic mode". The mode setting control determines whether the home scene is triggered actively by the user or automatically activated based on preset conditions.

[0024] Trigger Condition Setting Control: When automatic mode is selected, users can use this control to define specific conditions for triggering the scene. These conditions include a specific time (e.g., 7 PM every day), sensor data (e.g., living room brightness below a certain value), device status changes (e.g., door lock unlocked), or geographical location information (e.g., family members approaching home). Users can directly select or combine external conditions to trigger the automatic scene.

[0025] Device settings control: This control displays available smart devices in the home in the form of a list, icon grid, or room layout diagram. Users can select one or more target devices and configure the specific actions or states that each device should perform in a scene. Regardless of the mode selected, users can choose one or more devices to control from the list of connected smart home devices and set specific actions or target states for each device. For example, they can set the brightness and color of living room lights, the temperature and fan speed of the air conditioner, or the opening and closing degree of the curtains. In one example, this control supports multi-selection, group selection, and status preview functions, facilitating precise configuration by the user.

[0026] By displaying the three core configuration functions—mode selection, condition setting, and device control—side by side on the same interface, users can obtain all the necessary information and perform initial operations without having to navigate between different menus or navigate between pages. This layout provides users with a complete, transparent, and easy-to-understand configuration environment, which helps improve operational efficiency and user experience.

[0027] Step 102: Based on the mode setting control, determine the setting mode; the setting mode includes manual mode or automatic mode; In this embodiment of the invention, the user can select either "manual mode" or "automatic mode" from the provided options using the operation mode setting control. The mode setting control is presented with intuitive interactive elements, such as toggle switches, radio button groups, or clickable tabs, ensuring that the user can clearly distinguish between the two modes and make a clear selection.

[0028] When a user triggers one of the mode options, the system identifies the user's intent and records and confirms the selected mode as the basic operating logic for the current scenario configuration. Selecting "Manual Mode" means that the scenario will subsequently rely on the user's active operation to start, such as by clicking a button within the application, using a voice command, or a physical switch; while selecting "Automatic Mode" means that the scenario will be executed automatically by the system when certain preset conditions are met, without real-time user intervention.

[0029] Step 103: When the automatic mode is set, determine the first trigger condition for starting the home scene based on the trigger condition setting control; determine the first target device to be controlled after starting the home scene based on the device setting control; generate the first home scene according to the first trigger condition and the first target device. In this embodiment of the invention, assuming the setting mode is set to automatic mode, a series of configuration operations are performed to complete the creation of an automatically triggered scene. When the user selects "automatic mode," the trigger condition setting control is activated, and the user can use this control to set the specific conditions for starting the scene, i.e., the first trigger condition.

[0030] The first trigger condition can include time-related conditions (such as 18:30 every day), environmental sensor data (such as indoor light intensity being lower than a set threshold), device status changes (such as a smart door lock unlocking), geographical location information (such as a family member's mobile phone entering the home Wi-Fi coverage area), or other supported automated events. Users can complete the setting by clicking, selecting, or combining multiple conditions, and these input conditions will be identified and determined as the basis for determining the start scene.

[0031] Meanwhile, users can use the device settings controls to select one or more smart devices that need to be controlled in conjunction with the scene after it is triggered, forming the first target device to be controlled after the home scene is activated. For each selected device, the specific actions or target states of the device when the scene is executed can be further configured, such as setting the brightness and color temperature of the lights, the operating mode and temperature of the air conditioner, and the opening and closing degree of the curtains.

[0032] After configuring the first trigger condition and the first target device, the first trigger condition and the first target device are associated and combined to form an automatically executable home scene, namely the first home scene. The first home scene can be saved in the user's scene list, with an independent name and status identifier. It can be activated when preset conditions are met and perform the set operations on the designated first target device, realizing automated collaboration between devices.

[0033] Step 104: When the manual mode is set, determine that the second trigger condition for starting the home scene is manual trigger; based on the device setting control, determine the second target device to be controlled after starting the home scene; generate the second home scene according to the second trigger condition and the second target device.

[0034] In this embodiment of the invention, the corresponding configuration process is executed when the setting mode is manual. When the user selects manual mode, the triggering method for activating the home scene is determined to be manual triggering as the second triggering condition. The corresponding operations for manual triggering include user-initiated actions such as clicking a preset scene button in the application interface, issuing a start command through a voice assistant, or pressing the corresponding button using a physical remote control or wall switch. This invention does not limit these actions.

[0035] Users can select one or more smart devices, device sets, or existing home scenes to be controlled after the scene is activated via device settings controls. This constitutes the second target device to be controlled after the home scene is activated. For each selected device, specific actions or target states can be configured when the scene is executed, such as setting the living room lights to movie mode, turning off the air conditioners in all rooms, drawing the curtains in the master bedroom, or activating a rest scene.

[0036] Once the second trigger condition is set to manual triggering, and the second target device is selected and configured, the manual triggering and the second target device are associated and combined to form a home scene actively controlled by the user, i.e., the second home scene. The second home scene can be saved to the user's scene management list, with an independent identifier and name. The user can activate the scene by triggering it when needed, achieving one-click collaborative control of multiple devices.

[0037] This invention provides a unified interactive interface that includes mode setting controls, trigger condition setting controls, and device setting controls. This integrates the scene configuration process for manual and automatic modes into the same operating environment, allowing users to complete manual / automatic mode selection, trigger condition setting, and target device configuration all in one go on a single screen without having to navigate between pages. This simplifies and makes the scene configuration process more intuitive, reduces the difficulty for users to understand and operate, improves the efficiency of scene creation and user experience, and effectively solves the problem of users finding it difficult to easily synthesize personalized scenes.

[0038] Reference Figure 2 The diagram illustrates a flowchart of another home scene configuration method provided by an embodiment of the present invention. The method may specifically include the following steps: Step 201: Display the interactive interface, which includes mode setting controls, trigger condition setting controls, and device setting controls; the mode setting controls include manual and automatic options; the trigger condition setting controls include timed condition options, environmental condition options, and device condition options; the device setting controls include device options, device set options, and scene options. In this embodiment of the invention, the mode setting control includes a manual option and an automatic option; the manual option is used to set the manual mode, and the automatic option is used to set the automatic mode. The trigger condition setting control includes a timed condition option, an environmental condition option, and a device condition option; the timed condition option is used to set the timed conditions for activating the home scene; the environmental condition option is used to set the environmental conditions for activating the home scene; and the device condition option is used to set the device conditions for activating the home scene. The device settings control includes device options, device set options, and scene options. The device options are used to set the target devices to be controlled after the home scene is activated. The device set options are used to set the target set of devices to be controlled after the home scene is activated. The scene options are used to set other home scenes to be linked and controlled after the home scene is activated.

[0039] The shapes of the mode setting control, the trigger condition setting control, and the device setting control are arranged in concentric circles; The mode setting control is circular in shape, and the manual and automatic options are located within the circle. The trigger condition setting control is shaped like a first ring surrounding the mode setting control, and the timing condition option, the environment condition option, and the device condition option are distributed within the first ring; The device settings control is shaped like a first ring surrounding the trigger condition settings control, and the device options, the device set options, and the scene options are distributed in a second ring.

[0040] In this embodiment of the invention, a concentric circle structure is used to integrate the three major functions of mode selection, condition setting, and device control into a single interface, allowing users to complete all core configurations without switching pages. By sliding selection boxes, rotating the ring, or clicking directly, users can complete operations within the same visual area, significantly reducing configuration complexity, improving the intuitiveness of interaction and operational efficiency, and providing a clear and convenient configuration entry point for subsequently generating personalized home scenes.

[0041] The shape, color, and arrangement of the various controls in the interactive interface can be implemented in other ways by those skilled in the art based on the ideas of this application, and this application does not limit them in this regard.

[0042] Reference Figure 3A The diagram illustrates the interactive interface of a home scene configuration method provided by an embodiment of the present invention. Figure 1 This is the initial interface users see when entering the smart home app's scene setup process. Users click the plus button in the upper left corner of the app's scene section to enter the scene creation page and begin the configuration process for a new scene.

[0043] like Figure 3B The diagram shows an interactive interface for configuring a home scene. Figure 2 The interface features a circular composition turntable at its center for configuring scene parameters. This turntable employs a three-layer concentric circle layout, with each layer corresponding to a core configuration control: mode setting control, trigger condition setting control, and device setting control, from the inside out. Within each control's area, the various option modules can be evenly distributed, arranged for user convenience, or laid out according to user preferences. Those skilled in the art can implement this in other ways based on the principles of this application, and this invention does not limit such implementation.

[0044] The innermost layer is the mode setting control. The shape of the mode setting control is a circular area, containing two options: "Manual" and "Automatic". In one example, the user can slide the option box to the "Manual" or "Automatic" position to indicate the setting mode of the current scene. The option box visually resembles a slidable color block, and its selection status can be clearly conveyed through various dynamic and static features; in another example, the user can also rotate the entire inner ring, making the target option (such as "Automatic") rotate to align with the option box or the selected area at a fixed position. The selected mode can be visually feedback through color filling, border thickening, icon overlay, or text highlighting, etc.; in yet another example, the "Manual" or "Automatic" option can also be directly clicked, and the selected option can be visually feedback through color change, border highlighting, or icon marking, etc. Selecting "Manual" means that the scene needs to be actively triggered by the user (such as clicking a button, voice command); selecting "Automatic" means that the scene will be automatically executed when specific conditions are met.

[0045] The middle layer is the trigger condition setting control. Its shape is the first ring surrounding the mode setting control, containing three options: "Timing", "Environment", and "Device". The user can complete the setting by sliding the option box to the target option (such as "Environmental Conditions"), rotating the ring to make the target option rotate to align with the option box or the selected area at a fixed position, or directly clicking on the required condition option. Selecting "Timing" means that the scene will be triggered at the set time point or time period; selecting "Environment" means that the scene will be started when environmental parameters such as temperature, humidity, light, and air quality meet the preset thresholds; selecting "Device" means that the scene will be triggered when the status of other smart devices changes (such as the door lock is opened, the sensor detects human movement).

[0046] The outermost layer is the device setting control. The shape of the device setting control is the second ring surrounding the trigger condition setting control, containing three options: "Device", "Device Set", and "Scene". The user can select the target device or device set (such as "Set 1" and "Device 8") by sliding the selection area to cover them. The covered devices enter the selected state, and the selection range can be flexibly adjusted by dragging the edge of the selection area. In addition, the user can also select by directly clicking on a single device or set. Among them, the "Device" option can be used to select independent devices, the "Device Set" can be used to call preset device groups (such as "Living Room Devices", "Night Mode Group"), and the "Scene" option allows the user to introduce existing other scenes to achieve cross-scene linkage execution.

[0047] In the method of this embodiment of the invention, after a device is selected, a specific action can be configured for it to perform when a scene is triggered. For devices that have not yet been configured with actions, a "Not Configured" button can be displayed in their corresponding area as an operation prompt. Users can click this button or directly click on the device area to bring up the action settings pop-up window for the corresponding device. (1) Selection operation for target device: When the user selects a specific device (e.g., "Device 8"), the action parameter setting page corresponding to the target device is immediately displayed in response to the selection operation. On this page, the user can configure personalized action parameters according to different device types, such as adjusting the brightness of the lights, setting the temperature of the air conditioner, etc., and all the set action parameters will be acquired and saved by the system.

[0048] (2) Selection operation for target device set option: If the user selects a device set containing multiple devices (such as "Set 1"), in response to this selection operation, the action parameter setting page associated with the target device set is displayed. The user can set the corresponding action parameters for each device in the entire set individually, or set certain common action parameters uniformly (such as turning off all devices in the set at the same time) so that the corresponding operation can be performed when preset conditions are met.

[0049] (3) Selection operation for target scene options: When a user selects an existing target scene (such as "night mode") to achieve scene linkage, the system responds to this selection operation by displaying the action parameter settings page related to the target scene. Here, users can adjust the behavior and parameter settings of each device in the scene to customize the user experience in different scenes.

[0050] In one example, regardless of how the user accesses the action parameter settings page, after completing the settings and confirming, the area that previously displayed "Not Set" will be updated to "Set," providing clear feedback that the device, device set, or scene has been configured with action parameters. To further enhance the user experience, if a user needs to modify existing settings, they can simply click on the corresponding device, device set, or scene area again to quickly access the previously configured action parameter settings page, making adjustments convenient and quick. This ensures that users can efficiently and intuitively manage various configurations in their smart home environment, improving ease of use and user satisfaction.

[0051] Step 202: Based on the mode setting control, determine the setting mode; the setting mode includes manual mode or automatic mode; In this embodiment of the invention, users can interact with the mode setting control in the interactive interface to set the scene operation mode. The mode setting control presents "manual option" and "automatic option" in a circular layout, and users can perform selection operations in various ways: including sliding the selection box to cover the target option, clicking the target option, or rotating the inner ring to align the target option with the fixed indicator area.

[0052] When a user selects the "Manual Option," the current scene's setting mode is determined to be Manual Mode. In this mode, scene execution depends on the user's active triggering behavior, including clicking interface buttons, issuing voice commands, or pressing physical remote control buttons. This invention does not limit this and is applicable to scenes requiring on-demand control, such as "Movie Viewing Mode" or "Away from Home Mode."

[0053] When a user selects an option in "Auto," the setting mode is set to Auto mode. In this mode, the scene will be executed automatically when the preset trigger conditions are met, without real-time user intervention. This is suitable for intelligent responses based on time, environmental changes, or device status linkage, such as "automatically turn on the lights when you come home" or "automatically turn on the air conditioner when the temperature is too high."

[0054] Step 203: When the automatic mode is set, determine the first trigger condition for starting the home scene based on the trigger condition setting control; determine the first target device to be controlled after starting the home scene based on the device setting control; generate the first home scene according to the first trigger condition and the first target device. In this embodiment of the invention, the triggering logic configuration of an automatic scene is completed by the user's operation of the triggering condition setting control. The triggering condition setting control is a mode setting control surrounded by a first ring. The ring area has "timing condition options", "environmental condition options" and "device condition options" distributed on it. The user can define the triggering criteria of the scene by selecting one of them.

[0055] In one embodiment, the first option box is a visual element used to indicate the currently selected state within the annular area of ​​the trigger condition setting control. On the interface, it appears as a movable highlighted area or color-block selection box, attached to the first ring. The first option box serves as a direct feedback carrier for the user's selection operation and can be used to clearly identify the currently set trigger condition type. In one example, the user can move the first option box to cover the area where the "Timing Condition Option" is located by sliding, clicking, or rotating. Upon detecting this coverage relationship, the system recognizes that the user has selected "Timing Condition" and proceeds to the detailed setting process for the timing condition.

[0056] In this embodiment of the invention, step 203, when the system is set to the automatic mode, determines the first trigger condition for activating the home scene based on the trigger condition setting control, including the following sub-steps: Sub-step S11: In response to the selection operation for the timing condition option, display the timing condition setting page and obtain the timing condition set on the timing condition setting page; When a user selects the "Timed Conditions" option by sliding the selection box, clicking, or rotating the ring, the user will be immediately redirected to or a pop-up will appear on the timed conditions settings page. The timed conditions settings page allows users to set specific time points (e.g., "19:00 every day"), repetition cycles (e.g., "weekdays," "Saturdays"), or time periods (e.g., "7:00 AM to 9:00 AM"). After the user completes the settings, the configured time parameters are retrieved and used as one of the first trigger conditions for activating the home scene, automatically executing the scene action at the specified time.

[0057] Sub-step S12, and / or, in response to the selection operation for the environmental condition option, display the environmental condition setting page and obtain the environmental conditions set on the environmental condition setting page; For example, Figure 3C This diagram illustrates an environmental condition setting page for a home scene configuration method according to an embodiment of the present invention. After the user selects "Environmental Conditions" as the trigger condition, they are directed to a detailed configuration page for environmental parameters. This page provides a variety of optional environmental trigger sub-conditions, which the user can set according to their actual needs. The options listed in the interface include "City," "Sunrise / Sunset," "Temperature," "Humidity," "Weather," "PM2.5," and "Air Quality," supporting multiple condition combinations to achieve more precise automated control.

[0058] Users can first select the associated city, such as "Zhuhai" from the city list, as the geographical location basis for the environmental data. Subsequently, specific conditions can be configured: In the "Temperature" option, users can set a threshold of "below" or "above". For example, selecting "above 25 ℃" means that the scenario will be triggered when the local temperature in Zhuhai exceeds 25 degrees Celsius.

[0059] "Humidity" can be used to set indoor or outdoor humidity conditions, such as "below 60%".

[0060] The "Weather" option allows you to choose from various weather conditions such as sunny, rainy, and cloudy.

[0061] "PM2.5" and "Air Quality" support setting numerical thresholds or levels (such as excellent, good, light pollution) to link with air purifiers or fresh air systems.

[0062] "Sunrise / Sunset" refers to time-related natural environmental conditions that can be set to automatically trigger a scene at sunrise or sunset, making it suitable for intelligent control of devices such as lights and curtains.

[0063] After the user completes the selection of required conditions and parameter settings, they can confirm the configuration by clicking the "OK" button. The selected environmental conditions will serve as the triggering basis for this scenario. If the user wants to discard the changes, they can click the "Cancel" button to exit the settings without saving the current operation. After the configuration is complete, these environmental conditions, together with other settings (such as mode selection and target device), will constitute a complete scenario logic, realizing intelligent response based on changes in the real environment.

[0064] Sub-step S13, and / or, in response to the selection operation for the device condition option, display the device condition setting page and obtain the device conditions set on the device condition setting page; When a user selects the "Device Conditions Option" by sliding the selection box, clicking directly, or rotating the ring, the user can be redirected to the Device Conditions Settings page. This page lists the monitorable smart devices in the user's home and their triggerable states, such as "Door Lock Status," "Sensor Status," "Curtain Open / Closed Status," and "Air Conditioner Operation Status." Users can select one or more target devices from the list and set specific state change conditions, such as "When the door lock is open," "When the human sensor detects movement," or "When the air conditioner is turned off." The devices and their state conditions configured on this page will be collected and recorded as a basis for subsequent determination of whether a scenario is triggered.

[0065] Sub-step S14: The timing condition, and / or the environmental condition, and / or the device condition, are determined as the trigger conditions for activating the home scene.

[0066] The method in this embodiment of the invention supports single-condition triggering as well as combined logic of multiple conditions, such as "simultaneous fulfillment of timing and device conditions" or "triggering upon fulfillment of either environmental or device conditions." Users can select the logical relationship between conditions (such as "AND" or "OR") in the settings page. Based on user configuration, the set timing conditions, and / or environmental conditions, and / or device conditions are integrated to generate the final trigger condition combination, which is then used as the first trigger condition for activating the home scene. This mechanism allows users to construct complex yet precise automation rules, such as "activating 'Homecoming Mode' at 18:00 every day when the user arrives home," or "activating the air purifier when indoor PM2.5 is above 75 or the air quality is lightly polluted."

[0067] Through the above steps, flexible support for various automatic triggering methods can be achieved. Users can freely combine elements such as time, environment, and device status according to actual life scenarios to build highly intelligent and personalized home automation logic, thereby improving the accuracy and practicality of scene response.

[0068] In this embodiment of the invention, step 203, which involves determining the first target device to be controlled after activating the home scene based on the device setting control, may include the following sub-steps: Sub-step S21: In response to the selection operation for the target device option, display the action parameter setting page corresponding to the target device, and obtain the action parameters set on the action parameter setting page; For example, Figure 3D The diagram shows a target device action parameter setting page of a home scene configuration method provided by an embodiment of the present invention. After the user selects a device (such as "Device 1") and enters its action parameter setting page, the interface provides multiple optional control commands to define the specific actions to be performed by the device when the scene is triggered.

[0069] Optional actions include: Immediate shutdown: This means that the device will immediately power off or stop operating when the scene is activated.

[0070] Delayed shutdown: Allows users to set a delay time (e.g., 5 minutes, 10 minutes) to shut down, suitable for scenarios that require buffer time, such as delaying the shutdown of air conditioners or humidifiers after falling asleep.

[0071] Power on: This means that the device will automatically turn on when the scene is triggered, and the operating mode, power, wind speed, brightness and other parameters can be further set when it is on, depending on the type of device. This invention does not limit this.

[0072] More settings: Clicking this option will take you to a more detailed configuration interface, which supports customizing specific working modes or advanced functions of the device, such as color modes for lights, sleep modes for air conditioners, and playlists for speakers.

[0073] After selecting an action, the user can confirm the configuration by clicking the "OK" button. The selected action will be saved and associated with the device. If the current operation needs to be abandoned, the user can click the "Cancel" button to exit the settings without applying any changes.

[0074] This design allows users to flexibly set diverse response behaviors for different devices to meet the needs of personalized life scenarios. At the same time, the clear option division and confirmation mechanism ensure the accuracy of configuration and the controllability of operation.

[0075] Sub-step S22, and / or, in response to a selection operation for a target device set option, display an action parameter setting page corresponding to the target device set, and obtain the action parameters set on the action parameter setting page; Exemplarily, Figure 3E It also shows a schematic diagram of the action parameter setting page for the target device set in the home scene configuration method provided by an embodiment of the present invention. After the user selects the "device set" option and enters its action parameter setting page, the interface will list the devices or subsets included in the set and provide unified control instruction options for batch operation of the entire set.

[0076] Power on: When the scene is triggered, all devices in the set will start simultaneously or in a preset order, which is applicable to scenarios such as the "go home mode" where multiple devices need to be turned on at one key.

[0077] Power off: When the scene is triggered, all devices in the set will be turned off uniformly, which is often used in the "leave home mode" or "sleep mode" to achieve centralized power-off management, improving safety and energy-saving effects.

[0078] In one example, if the device set contains subsets, the user can also choose to perform specific actions only on the subset to achieve more refined control. For example, while powering off the main set, the subset 1 can be separately set to remain in the running state.

[0079] After the user completes the action selection, the configuration can be confirmed by clicking the "OK" button, and the selected operation will be applied to the target device set; if the current selection needs to be abandoned, the "Cancel" button can be clicked to exit the setting without saving the changes.

[0080] Sub-step S23, and / or, in response to a selection operation for a target scene option, display an action parameter setting page corresponding to the target scene, and obtain the action parameters set on the action parameter setting page; When the user selects the "scene option" in the device setting control and selects an existing home scene (such as the "night mode" or "leave home mode"), in response to this selection operation, an action parameter setting page associated with the target scene can be popped up or jumped to. The action parameter setting page can configure the execution mode when the scene is called in the current main scene, including setting "whether to execute immediately", "whether to start with a delay", or "whether to overwrite the current device state", and the present invention does not limit this. After the configuration is completed, the set action parameters (such as execution timing, enabled state, etc.) can be collected and saved as the basis for linkage control.

[0081] Sub-step S24: Based on the target device and its corresponding action parameters, and / or the set of target devices and its corresponding action parameters, and / or the target scene and its corresponding action parameters, determine the first target device to be controlled after the home scene is activated.

[0082] In the method of this invention embodiment, the device, device set, or other scene selected by the user in the device settings control is associated and bound with the execution instructions configured in their respective action parameter settings pages. For example, if the user selects "Device 8" and sets it to "Power on and brightness to 80%", selects "Set 1" and sets it to "Power off all", and selects "Night Mode" and sets it to "Execute after a 30-second delay", these devices and their action parameters can be integrated to ultimately determine all the first target devices and their execution actions to be linked and controlled after the home scene is triggered.

[0083] The embodiments of the present invention not only support direct control of a single device or a group of devices, but also support the invocation and execution of other existing scenarios, realizing the modular construction and flexible reuse of complex scenarios, and significantly improving the scalability and intelligence level of home automation configuration.

[0084] In one embodiment, the second option box is used to identify the target device, device set, or scene selected by the user within the second annular area of ​​the device settings control. The second option box is presented as an adjustable visual selection area, typically a ring-shaped sector with a border or highlighted background. The initial coverage area can be automatically set based on the user's first selection, or it may be in an unselected state by default.

[0085] When users perform adjustment operations, they can dynamically change the coverage angle and range of the second option box on the second ring by dragging its edge or boundary control points, thereby increasing or decreasing the number of selected devices. By supporting dynamic adjustment of the size of the second option box, users can quickly complete batch selection and range correction of multiple devices on the same interface without having to click or repeat operations one by one.

[0086] Step 204: When the manual mode is set, determine that the second trigger condition for starting the home scene is manual trigger; based on the device setting control, determine the second target device to be controlled after starting the home scene; generate the second home scene according to the second trigger condition and the second target device.

[0087] For example, Figure 3FThe diagram also illustrates an interactive interface diagram of a home scene configuration method provided by an embodiment of the present invention. When the user selects the "manual" mode through the mode setting control, the system determines the triggering method of the scene as "manual triggering," meaning that the user needs to actively activate the scene by clicking the start button, using voice commands, or using quick switches. In response, the trigger condition setting control in the middle layer (i.e., the second ring, which includes timer, environment, device, and other condition options) will automatically be grayed out, as shown in the figure, indicating that the settings in this area are unavailable.

[0088] In manual mode, scenarios are executed by the user through active clicking (such as clicking the "Start Scenario" button in the app, triggering via voice command, or using a physical shortcut key). They do not rely on automatic conditions such as time, environmental changes, or device status, thus eliminating the need for trigger condition configuration. Graying out the center circle control effectively prevents accidental user operations while clearly conveying the interaction intent that "this part does not require configuration," improving interface guidance and operational efficiency.

[0089] Subsequently, the user selects the device to be controlled using the device settings controls (i.e., the outermost second ring). The user can slide the second option box to cover the target device or device set (e.g., "Device 1" or "Set 1"), or directly click on options such as "Device," "Device Set," or "Scene" to complete the selection. For each selected device, a pop-up or redirection page will appear as follows: Figure 3D-3E As shown, the system guides users to set specific actions (such as power on, power off, dimming, etc.). Devices that have not been set will display a "Not set" message, and will change to "Set" after the settings are completed.

[0090] Once all target devices and their actions are configured, "manual trigger" is used as the second trigger condition. Combined with the user-selected second target device and its action parameters, a complete and executable home scene, i.e., the second home scene, is generated. This scene can be manually started at any time when needed, achieving one-click control of multiple devices in a coordinated manner. The operation is intuitive and the configuration is efficient.

[0091] It should be noted that, for the sake of simplicity, the method embodiments are all described as a series of actions. However, those skilled in the art should understand that the embodiments of the present invention are not limited to the described order of actions, because according to the embodiments of the present invention, some steps can be performed in other orders or simultaneously. Furthermore, those skilled in the art should also understand that the embodiments described in the specification are preferred embodiments, and the actions involved are not necessarily essential to the embodiments of the present invention.

[0092] Reference Figure 4 The diagram illustrates a structural block diagram of a home scene configuration device provided by an embodiment of the present invention, which may specifically include the following modules: The interface display module 301 is used to display an interactive interface, which includes a mode setting control, a trigger condition setting control, and a device setting control. The mode setting module 302 is used to determine the setting mode based on the mode setting control; the setting mode includes manual mode or automatic mode. The automatic scene generation module 303 is used to determine the first trigger condition for opening the home scene based on the trigger condition setting control when the automatic mode is set; determine the first target device to be controlled after the home scene is opened based on the device setting control; and generate a first home scene according to the first trigger condition and the first target device. The manual scene generation module 304 is used to determine that the second trigger condition for starting the home scene is manual trigger when the mode is set to manual; to determine the second target device to be controlled after starting the home scene based on the device setting control; and to generate a second home scene according to the second trigger condition and the second target device.

[0093] This invention provides a unified interactive interface that includes mode setting controls, trigger condition setting controls, and device setting controls. This integrates the scene configuration process for manual and automatic modes into the same operating environment, allowing users to complete manual / automatic mode selection, trigger condition setting, and target device configuration all in one go on a single screen without having to navigate between pages. This simplifies and makes the scene configuration process more intuitive, reduces the difficulty for users to understand and operate, improves the efficiency of scene creation and user experience, and effectively solves the problem of users finding it difficult to easily synthesize personalized scenes.

[0094] As the apparatus embodiment is basically similar to the method embodiment, it is described in a relatively simple manner. For relevant details, please refer to the description of the method embodiment.

[0095] This invention also provides an electronic device, comprising: The processor, the memory, and the computer program stored in the memory and capable of running on the processor, when executed by the processor, implement the various processes of the above-described home scene configuration method embodiments and achieve the same technical effects. To avoid repetition, they will not be described again here.

[0096] This invention also provides a computer-readable storage medium storing a computer program. When the computer program is executed by a processor, it implements the various processes of the above-described home scenario configuration method embodiments and achieves the same technical effect. To avoid repetition, it will not be described again here.

[0097] The various embodiments in this specification are described in a progressive manner, with each embodiment focusing on the differences from other embodiments. The same or similar parts between the various embodiments can be referred to each other.

[0098] Those skilled in the art will understand that embodiments of the present invention can be provided as methods, apparatus, or computer program products. Therefore, embodiments of the present invention can take the form of entirely hardware embodiments, entirely software embodiments, or embodiments combining software and hardware aspects. Furthermore, embodiments of the present invention can take the form of computer program products implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0099] Embodiments of the present invention are described with reference to flowchart illustrations and / or block diagrams of methods, terminal devices (systems), and computer program products according to embodiments of the invention. It will be understood that each block of the flowchart illustrations and / or block diagrams, as well as combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing terminal device to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing terminal device, generate instructions for implementing the flowchart illustrations and / or block diagrams. Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.

[0100] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing terminal device to operate in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.

[0101] These computer program instructions can also be loaded onto a computer or other programmable data processing terminal equipment, causing a series of operational steps to be performed on the computer or other programmable terminal equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable terminal equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.

[0102] Although preferred embodiments of the present invention have been described, those skilled in the art, upon learning the basic inventive concept, can make other changes and modifications to these embodiments. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments as well as all changes and modifications falling within the scope of the embodiments of the present invention.

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

[0104] The above provides a detailed description of the configuration method, device, electronic device, and medium for a home scene provided by the present invention. Specific examples have been used to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only for the purpose of helping to understand the method and core ideas of the present invention. At the same time, for those skilled in the art, there will be changes in the specific implementation methods and application scope based on the ideas of the present invention. Therefore, the content of this specification should not be construed as a limitation of the present invention.

Claims

1. A method for configuring a home scene, characterized in that, The method includes: The interactive interface includes a mode setting control, a trigger condition setting control, and a device setting control. Based on the mode setting control, the setting mode is determined; the setting mode includes manual mode or automatic mode. When set to the automatic mode, the first trigger condition for activating the home scene is determined based on the trigger condition setting control; the first target device to be controlled after activating the home scene is determined based on the device setting control; and a first home scene is generated according to the first trigger condition and the first target device. When the manual mode is set, the second trigger condition for activating the home scene is determined to be manual triggering; based on the device setting control, the second target device to be controlled after activating the home scene is determined; and a second home scene is generated according to the second trigger condition and the second target device.

2. The home scene configuration method according to claim 1, characterized in that, The mode setting control includes a manual option and an automatic option; the manual option is used to set the manual mode, and the automatic option is used to set the automatic mode. The trigger condition setting control includes a timed condition option, an environmental condition option, and a device condition option; the timed condition option is used to set the timed conditions for activating the home scene; the environmental condition option is used to set the environmental conditions for activating the home scene; and the device condition option is used to set the device conditions for activating the home scene. The device settings control includes device options, device set options, and scene options; the device options are used to set the target devices to be controlled after the home scene is activated; the device set options are used to set the target device set to be controlled after the home scene is activated; and the scene options are used to set other home scenes to be linked and controlled after the home scene is activated.

3. The home scene configuration method according to claim 2, characterized in that, The shapes of the mode setting control, the trigger condition setting control, and the device setting control are arranged in concentric circles; The mode setting control is circular in shape, and the manual and automatic options are located within the circle. The trigger condition setting control is shaped like a first ring surrounding the mode setting control, and the timing condition option, the environment condition option, and the device condition option are distributed within the first ring; The device settings control is shaped like a first ring surrounding the trigger condition settings control, and the device options, the device set options, and the scene options are distributed in a second ring.

4. The home scene configuration method according to claim 2, characterized in that, The determination of the setting mode based on the mode setting control includes: In response to the selection operation for the manual option, the setting mode is determined to be manual mode; or, In response to the selection operation for the automatic option, the setting mode is determined to be automatic mode.

5. The home scene configuration method according to claim 2, characterized in that, The step of setting controls based on the trigger conditions to determine the trigger conditions for activating the home scene includes: In response to the selection operation for the timing condition option, the timing condition setting page is displayed, and the timing condition set on the timing condition setting page is obtained; And / or, in response to a selection operation for the environmental conditions option, display an environmental conditions settings page and obtain the environmental conditions set on the environmental conditions settings page; And / or, in response to a selection operation for the device condition option, display the device condition settings page and obtain the device conditions set on the device condition settings page; The timing conditions, and / or the environmental conditions, and / or the device conditions, are determined as the trigger conditions for activating the home scene.

6. The home scene configuration method according to claim 5, characterized in that, The trigger condition setting control further includes: a first option box; The operation of selecting the timing condition option is the operation of selecting the timing condition option in the first option box; The operation of selecting the environmental condition option is the operation of selecting the environmental condition option in the first option box; The operation of selecting the device condition option is the operation of selecting the device condition option in the first option box.

7. The home scene configuration method according to claim 4, characterized in that, The step of determining the first target device to be controlled after activating the home scene based on the device settings control includes: In response to the selection operation for the target device option, the action parameter setting page corresponding to the target device is displayed, and the action parameters set on the action parameter setting page are obtained; And / or, in response to a selection operation for a target device set option, display an action parameter setting page corresponding to the target device set, and obtain the action parameters set on the action parameter setting page; And / or, in response to a selection operation for a target scene option, display an action parameter setting page corresponding to the target scene, and obtain the action parameters set on the action parameter setting page; Based on the target device and its corresponding action parameters, and / or the set of target devices and their corresponding action parameters, and / or the target scene and its corresponding action parameters, determine the first target device to be controlled after the home scene is activated.

8. The home scene configuration method according to claim 7, characterized in that, The device settings control also includes: a second option box; The operation of selecting the target device option is the operation of selecting the target device option in the second option box; The operation of selecting the target device set option is the operation of selecting the target device set option in the second option box; The operation of selecting the target scene option is the operation of selecting the target scene option in the second option box.

9. The home scene configuration method according to claim 8, characterized in that, Also includes: In response to an adjustment operation on the second option box, the size of the second option box is adjusted.

10. A configuration device for a home scene, characterized in that, include: The interface display module is used to display the interactive interface, which includes mode setting controls, trigger condition setting controls, and device setting controls. The mode setting module is used to determine the setting mode based on the mode setting control; the setting mode includes manual mode or automatic mode. An automatic scene generation module is used, when the automatic mode is set, to determine the first trigger condition for activating the home scene based on the trigger condition setting control; to determine the first target device to be controlled after activating the home scene based on the device setting control; and to generate a first home scene according to the first trigger condition and the first target device. The manual scene generation module is used to determine that the second trigger condition for starting the home scene is manual trigger when the manual mode is set; to determine the second target device to be controlled after starting the home scene based on the device setting control; and to generate a second home scene according to the second trigger condition and the second target device.

11. An electronic device, characterized in that, include: A processor, a memory, and a computer program stored in the memory and capable of running on the processor, wherein the computer program, when executed by the processor, implements the steps of the home scene configuration method as described in any one of claims 1-9.

12. A computer-readable storage medium, characterized in that, A computer program is stored on the computer-readable storage medium, which, when executed by a processor, implements the steps of the home scene configuration method as described in any one of claims 1-9.