Scene creation method of intelligent equipment, storage medium and electronic device
By displaying the conditions and actions supported by the scenes supported by smart devices, responding to the user's choice, solving the problem of cumbersome processes when creating the scene, and improving the efficiency and user experience of scene creation.
Patent Information
- Application Number
- CN202411114647.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-14
- Publication Date
- 2025-01-21
AI Technical Summary
When users create scenes, the process of adding conditions and actions is cumbersome and time-consuming, resulting in poor user experience.
Provide a scenario creation method for intelligent devices. By displaying the conditions and actions of the scene creation, it responds to user choices and complete scene creation. Support conditions include manual trigger, device changes, environmental changes, timing scenes, etc., and thections include adding equipment, delay, scenes, and message notifications.
By intuitively displaying the supported conditions and actions when creating a scene, users can quickly select and create scenes, shorten the process of adding action skills, reduce adding time, improve the efficiency of smart devices in scene creation, and enhance user experience.
Smart Images

Figure CN119335888A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of smart home / smart family technology, and more specifically, to a scene creation method, storage medium and electronic device. Background Art
[0002] With the popularization of intelligence, more and more people like to interact with smart devices to improve their quality of life. At the same time, many home appliance platforms have given great support in the field of intelligence, accelerating the promotion of intelligence. Therefore, after users purchase smart devices, how to better play the value of smart devices and realize the linkage of smart devices in the whole house scene becomes the key.
[0003] At present, many platforms distinguish types when creating scenes, usually including manual and automatic modes. In the selected mode, users need to follow the process step by step to complete the addition in order to create the scene. The addition process is cumbersome and time-consuming, resulting in a poor user experience.
[0004] Accordingly, the art needs a new technical solution to solve the above problems. Summary of the invention
[0005] This application aims to solve the above technical problems, that is, to solve the problem that when users create scenes, the process of adding conditions, actions, etc. is cumbersome and time-consuming, resulting in a poor user experience.
[0006] In order to achieve the above objectives, in a first aspect, the present application provides a scene creation method for a smart device, the method comprising:
[0007] Based on the scene creation instructions, show the conditions and actions that can be added to the scene creation.
[0008] In response to the conditions and actions selected by the user, the scene creation is completed;
[0009] Among them, the conditions supported by the scene creation include manual triggering, adding scene corpus, device changes, environmental changes, timed scenes, and at least one of arriving at or leaving a place, and the actions supported by the scene creation include adding devices, adding delays, adding scenes, and message notifications.
[0010] In an optional technical solution of the scene creation method of the above-mentioned smart device, the completing the scene creation in response to the conditions and actions selected by the user includes:
[0011] When the user selects multiple conditions and / or actions, obtaining the relationship between the multiple conditions and / or actions;
[0012] In response to the multiple conditions and / or actions selected by the user, and the relationship between the multiple conditions and / or actions, completing the creation of the nested scene;
[0013] The relationship between the multiple conditions and / or actions includes and and or, and the nested scene includes at least two sub-scenes.
[0014] In an optional technical solution of the scene creation method of the above-mentioned smart device, after responding to the conditions and actions selected by the user, the method further includes:
[0015] Determining whether the conditions and actions selected by the user meet preset rules;
[0016] If so, the scene creation is completed based on the conditions and actions selected by the user.
[0017] In an optional technical solution of the scene creation method of the above-mentioned smart device, the completing the scene creation in response to the conditions and actions selected by the user further includes:
[0018] When the action selected by the user is adding a device, obtaining usage information of the added device;
[0019] Acquire configuration information of the added device based on the usage information;
[0020] Complete the scene creation based on the configuration information;
[0021] The added device selected by the user includes one or more added devices, and the types of the multiple added devices are the same or different.
[0022] In an optional technical solution of the scene creation method of the above-mentioned smart device, the method further includes:
[0023] Obtain user home information; the user home information includes information of smart devices bound to the user;
[0024] Based on the user's family information, obtain a corresponding scene to be enabled;
[0025] Based on the scene creation instruction, the scene to be enabled is displayed.
[0026] In an optional technical solution of the scene creation method of the above-mentioned smart device, the method further includes:
[0027] Get the user-defined scene name;
[0028] Or, the scene name is generated based on the conditions and actions selected by the user.
[0029] In an optional technical solution of the scene creation method of the above-mentioned smart device, after completing the scene creation in response to the conditions and actions selected by the user, the method further includes:
[0030] In response to a user's editing operation on a condition and / or an action in the scene, updating the scene;
[0031] The editing operation includes adding, deleting, or modifying at least one of the conditions and / or actions.
[0032] In a second aspect, the present application provides a scene creation device for a smart device, the device comprising:
[0033] A display module is configured to display the added conditions and actions supported by the scene creation based on the scene creation instruction;
[0034] A creation module, configured to complete scene creation in response to conditions and / or actions selected by a user;
[0035] Among them, the conditions supported by the scene creation include manual triggering, adding scene corpus, device changes, environmental changes, timed scenes, and at least one of arriving at or leaving a place, and the actions supported by the scene creation include adding devices, adding delays, adding scenes, and message notifications.
[0036] In a third aspect, the present application provides a readable storage medium, in which a plurality of program codes are stored, and the program codes are suitable for being loaded and run by a processor to execute any one of the scene creation methods for smart devices described above.
[0037] In a fourth aspect, the present application provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the scene creation method for a smart device as described in any one of the above is implemented.
[0038] It can be understood by those skilled in the art that, in the technical solution of the present application, firstly, based on the scene creation instruction, the conditions and actions supported by the scene creation are displayed, and then the scene creation is completed in response to the conditions and actions selected by the user; wherein, the conditions supported by the scene creation include at least one of manual triggering, adding scene corpus, device changes, environmental changes, timed scenes, and arriving at or leaving a certain place, and the actions supported by the scene creation include at least one of adding devices, adding delays, adding scenes, and message notifications. Through the above implementation, the supported conditions and actions when creating a scene can be intuitively displayed on the scene creation interface, allowing users to quickly select and create scenes, effectively shortening the process of adding action skills, reducing the adding time, and improving the efficiency of smart devices when creating scenes, thereby improving the user experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0039] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.
[0040] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.
[0041] Figure 1 is a schematic diagram of a hardware environment of an interaction method of a smart device according to an embodiment of the present application;
[0042] Figure 2 is a flowchart of the main steps of a scene creation method for a smart device according to an embodiment of the present application;
[0043] Figure 3 This is a schematic diagram of a scene creation page of a smart device according to an embodiment of the present application;
[0044] Figure 4 It is a schematic diagram of the main process of a scene recommendation method for a smart device according to an embodiment of the present application;
[0045] Figure 5 It is a main flow diagram of a scene creation method for a smart device according to an embodiment of the present application;
[0046] Figure 6 is a flow chart of a scene creation method for a smart device according to an embodiment of the present application;
[0047] Figure 7 is a main structural block diagram of a scene creation device for a smart device according to an embodiment of the present application;
[0048] Figure 8 It is a main structural block diagram of an electronic device used to execute the scene creation method of a smart device according to an embodiment of the present application. DETAILED DESCRIPTION
[0049] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present application.
[0050] It should be noted that the terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0051] In the description of the present application, "module" and "processor" may include hardware, software or a combination of the two. A module may include hardware circuits, various suitable sensors, communication ports, and memories, and may also include software parts, such as program codes, or a combination of software and hardware. The processor may be a central processing unit, a microprocessor, a digital signal processor, or any other suitable processor. The processor has data and / or signal processing functions. The processor may be implemented in software, hardware, or a combination of the two. Non-temporary computer-readable storage media include any suitable medium that can store program codes, such as a magnetic disk, a hard disk, an optical disk, a flash memory, a read-only memory, a random access memory, and the like. The term "A and / or B" means all possible combinations of A and B, such as just A, just B, or A and B. The singular terms "one" and "the" may also include plural forms.
[0052] As mentioned in the background technology section, with the popularization of intelligence, more and more people like to interact with smart devices to improve their quality of life. At the same time, many home appliance platforms have given great support in the field of intelligence, accelerating the promotion of intelligence. Therefore, after users purchase smart devices, how to better play the value of smart devices and realize the linkage of smart devices in the whole house scene becomes the key.
[0053] At present, many platforms distinguish types when creating scenes, usually including manual and automatic modes. In the selected mode, users need to follow the process step by step to complete the addition in order to create the scene. The addition process is cumbersome and time-consuming, resulting in a poor user experience.
[0054] In order to solve the above problems, the present application provides a scene creation method, a storage medium and an electronic device.
[0055] According to one aspect of the embodiment of the present application, the scene creation method is widely used in smart home (SmartHome), smart home, smart home equipment ecology, smart residential (Intelligence House) ecology and other whole-house intelligent digital control application scenarios. Optionally, in this embodiment, the above scene creation method can be applied to Figure 1 In the hardware environment composed of the terminal device 102 and the server 104 shown in FIG. Figure 1 As shown, the server 104 is connected to the terminal device 102 via a network, and can be used to provide services (such as application services, etc.) for the terminal or a client installed on the terminal. A database can be set on the server or independently of the server to provide data storage services for the server 104. Cloud computing and / or edge computing services can be configured on the server or independently of the server to provide data computing services for the server 104.
[0056] The network may include but is not limited to at least one of the following: wired network, wireless network. The wired network may include but is not limited to at least one of the following: wide area network, metropolitan area network, local area network, and the wireless network may include but is not limited to at least one of the following: WIFI (Wireless Fidelity), Bluetooth. The terminal device 102 may be but is not limited to a PC, a mobile phone, a tablet computer, a smart air conditioner, a smart range hood, a smart refrigerator, a smart oven, a smart stove, a smart washing machine, a smart water heater, a smart washing device, a smart dishwasher, a smart projection device, a smart TV, a smart clothes drying rack, a smart curtain, a smart audio and video, a smart socket, a smart speaker, a smart fresh air device, a smart kitchen and bathroom device, a smart bathroom device, a smart sweeping robot, a smart window cleaning robot, a smart mopping robot, a smart air purification device, a smart steamer, a smart microwave oven, a smart kitchen treasure, a smart purifier, a smart water dispenser, a smart door lock, etc.
[0057] In some embodiments, see the attached Figure 2 , Figure 2 1 is a flowchart of the main steps of a scene creation method for a smart device according to an embodiment of the present application. Figure 2 As shown, the scene creation method of the smart device in the embodiment of the present application mainly includes the following steps S201 to S202.
[0058] Step S201: Based on the scene creation instruction, display the conditions and actions that scene creation supports adding;
[0059] The conditions supported by scene creation include at least one of manual triggering, adding scene corpus, device change, environment change, timed scene, and arriving at or leaving a place, and the actions supported by scene creation include at least one of adding device, adding delay, adding scene, and message notification.
[0060] Step S202: In response to the conditions and actions selected by the user, the scene creation is completed.
[0061] Based on the method described in steps S201 to S202 above, the supported conditions and actions when creating a scene can be intuitively displayed in the scene creation interface, allowing users to quickly select and create scenes, effectively shortening the process of adding action skills and reducing the adding time, thereby improving the efficiency of smart devices in scene creation, thereby enhancing the user experience.
[0062] The above scene creation method is further explained below.
[0063] In some embodiments, after purchasing a smart device, the user can complete the smart device binding in the smart home app, and then enter the scene creation interface to complete the scene creation, thereby realizing the linkage of scene devices throughout the house.
[0064] In some embodiments of the above step S201, when the user clicks on the scene creation entrance of the smart home App, he will enter the scene creation interface. At this time, the App will receive the scene creation instruction. Furthermore, based on the scene creation instruction, the conditions and actions supported by the scene creation can be displayed to help the user view which conditions and actions are supported when creating the scene, so that the user can make free choices according to his wishes.
[0065] See attached Figure 3 , Figure 3 Schematic diagram of a scene creation page of a smart device according to an embodiment of the present application. Figure 3 As shown, the scene creation page can display the conditions and actions that scene creation supports adding.
[0066] Specifically, the scene creation supports adding conditions including manual triggering, adding scene corpus, device changes, environment changes, timed scenes, and at least one of arriving at or leaving a place.
[0067] Manual triggering means that users can directly manually activate specific smart home scenes. For example, users can click a specific button on the smart home app or press the corresponding button on the smart home remote control to start a scene such as "party mode" with flashing lights and cheerful music playing on the speakers.
[0068] Adding scene corpus means adding user-specified voice commands to trigger the desired scene. For example, when the user says "get ready for bed", the smart home system will understand and start the "sleep mode", turn off unnecessary smart devices, and adjust the lights and temperature.
[0069] Device change means that when the status of a smart device changes, the relevant scene will be triggered. For example, when a smart camera detects someone entering the house, it can trigger the "Welcome Home Mode" to turn on the lights and air conditioning in the living room.
[0070] Environmental changes refer to corresponding scenarios triggered when indoor or outdoor environmental parameters change. For example, when the indoor humidity is below a certain level, the "humidification mode" will automatically start, turning on the humidifier.
[0071] Timed scenes allow users to set specific times in advance to trigger scenes. For example, you can set the "wake-up mode" to start at 7 a.m. every morning, automatically draw the curtains, play soft music, etc.
[0072] Arriving or leaving a place means triggering the corresponding scene when the user arrives at or leaves a specific geographical location. For example, when the user leaves home, the "security mode" is triggered to start the monitoring and alarm system at home.
[0073] Among them, manual triggering and adding scene corpus are manual modes, which require users to manually operate or speak specific voice commands to trigger the required scenes; device changes, environmental changes, timed scenes, and arriving at or leaving a place are automatic modes, which will automatically trigger the scenes when the corresponding conditions are met.
[0074] It should be pointed out that when creating a scene, the categories of conditions and actions that can be added can be directly displayed, regardless of whether it is manual mode or automatic mode. In a scene triggered by automatic mode, manual mode can still be added, and there is no limitation here.
[0075] The above is a description of the conditions that support adding scene creation.
[0076] Furthermore, the scene creation supports adding actions including at least one of adding devices, adding delays, adding scenes, and message notifications.
[0077] Adding a device means that the user can incorporate the smart device into the execution action of the scene. For example, adding a smart projector in the "movie viewing mode".
[0078] In some embodiments, when the action selected by the user is to add a device, usage information of the added device can be obtained, configuration information of the added device can be obtained based on the usage information, and scene creation can be completed based on the configuration information.
[0079] Specifically, when a user chooses to add a device during scene creation, the smart home system can obtain the relevant usage information of the device, thereby understanding certain specific functions or skills of the device that the user frequently uses. Then, based on this usage information, the configuration information of the device can be obtained from the settings that have been configured in the background. This configuration information is set in advance based on the user's previous usage. Finally, the scene creation can be automatically completed based on the configuration information, reducing the process of users manually setting skill attributes.
[0080] For example, if a user often uses the reading mode of a smart desk lamp at high frequency at night, when the user chooses to add a smart desk lamp to a newly created scene, the smart home system will obtain the configuration information of the desk lamp's reading mode (including specific brightness and color temperature) based on previously recorded user usage habits, and apply it to the new scene, making the creation of the new scene more in line with the user's actual needs and habits.
[0081] The added device selected by the user may include one or more added devices, and the types of the multiple added devices may be the same (such as multiple smart bulbs of the same brand and model) or different (such as a smart speaker and a smart camera). Furthermore, for devices of the same type, not only does it support multiple selections by users, but it also supports grouping and displaying the devices of the same type, so that users can clearly see and manage the selected devices.
[0082] For example, when creating a "smart living room scene", users may choose to add multiple devices of different types, such as smart TVs, smart air conditioners, and smart sweeping robots; they may also choose to add multiple devices of the same type, such as three smart sockets that control different appliances respectively, and these smart sockets of the same type will be displayed in groups so that users can see at a glance.
[0083] The above is a further explanation of adding equipment.
[0084] Adding a delay means setting a certain time delay to execute related actions after the smart device meets the trigger conditions. For example, in the "night mode", after detecting that the user has gotten up, the bathroom light will be turned on after a delay of 5 seconds to avoid sudden strong light stimulation.
[0085] Adding a scene means that you can nest other sub-scenes in a main scene. For example, you can add "Music Playing Scene" and "Light Flashing Scene" to "Family Gathering Scene".
[0086] Message notification means sending a notification message to the user when a specific scenario is triggered or completed. For example, when the "security alarm mode" is triggered, an alarm message is sent to the user's mobile phone.
[0087] The above is a further explanation of the actions added to support scene creation.
[0088] It should be pointed out that the above examples of conditions and actions supported by scene creation are only illustrative. In actual applications, technical personnel in this field can set corresponding conditions and actions according to specific scenarios and requirements, and no limitation is made here.
[0089] In some implementations of the above step S201, when the user completes the binding of the smart device in the smart home App, the smart home system will recommend scenes that can be enabled to the user based on the information of the smart devices owned by the user's home.
[0090] Specifically, the smart home app can obtain the user's home information, obtain the corresponding scenes to be activated based on the user's home information, and display the scenes to be activated based on the scene creation instructions. The user's home information includes the information of the smart devices bound to the user.
[0091] See attached Figure 4 , Figure 4 It is a main flow chart of a scene recommendation method for a smart device according to an embodiment of the present application.
[0092] like Figure 4 As shown, the smart home app can query the scene center through the server for the scenes to be enabled;
[0093] The scene center can obtain the user's family information from the family center based on the user's ID information, including the user's bound smart device information;
[0094] The home center returns the user's home information to the scene center;
[0095] The scene center queries the big data platform for scenes to be activated based on the user's family information;
[0096] The big data platform recommends scenes to be activated to the scene center based on the user's family information and sorts them according to preset rules; among them, the preset rules can be determined based on factors such as the frequency of use, preference, and practicality of the scenes by most similar users, and are not limited here.
[0097] For example, after analysis, the big data platform found that families with smart speakers and smart lights generally prefer to enable the "smart voice control lighting scene" first. So for users with the same device configuration, this scene will be recommended first on these two pages and ranked in a relatively forward position.
[0098] Furthermore, the scene center can filter the scenes to be enabled, that is, screen and process the scenes to be enabled recommended by the big data platform, with the aim of providing users with more accurate scene recommendations that are more in line with their actual needs and usage habits.
[0099] Specifically, filtering can be performed based on multiple factors such as device compatibility, user's historical operation records, and security, filtering out scenes that are incompatible with the user's existing devices or cannot operate normally. If the user has explicitly rejected certain similar scenes before, these scenes may be filtered out. At the same time, scenes that may have security risks or hazards can be filtered out.
[0100] For example, if the user's network environment is unstable, the scene center may filter out scenes that have high network requirements to avoid problems when the user is using it. Or if the user's home smart device version is low and cannot support certain complex scene functions, these scenes will also be filtered out. Through such a filtering mechanism, the scenes to be enabled that are ultimately recommended to the user are more in line with the user's actual situation, improving the user experience and the actual availability of the scene.
[0101] Furthermore, the scene center can display the filtered scenes to be enabled on the scene creation interface of the smart home app for users to choose.
[0102] The above is a further description of step S201. The following is a further description of step S202.
[0103] In some embodiments of the above step S202, the user may select one condition and one action, or may select multiple conditions and / or actions.
[0104] When the user selects multiple conditions and / or actions, the relationship between the multiple conditions and / or actions can be obtained; and in response to the multiple conditions and / or actions selected by the user, and the relationship between the multiple conditions and / or actions, the creation of the nested scene is completed.
[0105] Among them, the relationship between multiple conditions and / or actions includes and and or.
[0106] For example, if the user selects the condition "Indoor temperature is higher than 28 degrees and the time is after 7 pm", and the action is "Turn on the air conditioner and adjust it to 25 degrees", then the action of turning on the air conditioner and adjusting it to 25 degrees will be executed only when the indoor temperature is higher than 28 degrees and the time is after 7 pm. If the user selects the condition "Indoor humidity is lower than 40% or it is raining outside", and the action is "Start humidifier", then the humidifier will be started as long as either of the two conditions is met: indoor humidity is lower than 40% or it is raining outside.
[0107] Furthermore, the nested scene includes at least two sub-scenes, that is, a main scene includes other sub-scenes.
[0108] For example, a user sets a main scene of "home mode", which may contain sub-scenes such as "turn on lights", "turn on air conditioner", and "start speaker to play music". When the "home mode" is triggered, the smart home system will execute these nested sub-scenes in the preset order, realizing the linkage and function of a series of smart devices.
[0109] For example, the main scene of "sleep mode" may contain sub-scenes such as "close curtains scene", "dim lights scene", and "start air purifier scene", thereby creating a comfortable sleeping environment for users.
[0110] By creating nested scenes, the scene settings of smart homes can be made richer, more flexible and personalized to meet the diverse needs of users.
[0111] Furthermore, after the user selects conditions and actions, it can be determined whether the conditions and actions selected by the user meet preset rules; if so, the scene creation is completed based on the conditions and actions selected by the user; otherwise, the user can be prompted to reselect.
[0112] For details, see the attached Figure 5 , Figure 5 It is a main flow chart of a scene creation method for a smart device according to an embodiment of the present application.
[0113] like Figure 5 As shown, after the user selects the corresponding conditions and actions in the smart home app, the app will send the conditions and actions selected by the user to the server, and the server will call the interface of the scene center to determine whether the conditions and actions selected by the user meet the preset rules;
[0114] The preset rules may include the rationality, completeness, and compatibility of conditions and actions. For example, if a user adds the condition and action of "turn on the air conditioner when the indoor temperature is higher than 30 degrees", the interface of the scene center will check rules such as whether the temperature monitoring device is connected normally and whether the air conditioner supports remote control.
[0115] Furthermore, if the conditions and actions added by the user meet the preset rules, the scene center will send the preset rules to the App through the server, and the scene creation can be successfully completed at this time; if the conditions and actions added by the user do not meet the preset rules, corresponding prompts may be given, such as "Your air conditioner does not support this remote control function, please replace the device or modify the action" and other corresponding prompts to inform the user which aspects need to be modified or supplemented in order to successfully complete the scene creation.
[0116] In some embodiments, when creating a scene, the smart home app can obtain a user-defined scene name, or generate a scene name based on conditions and actions selected by the user.
[0117] Specifically, there are two ways to obtain scene names. One is to obtain scene names set by users, such as when users customize a scene as "Warm Night Mode". The other is when users only select related conditions and actions without actively naming it, the smart home app can automatically generate a scene name based on the conditions and actions selected by the user. For example, when the user selects the condition "Indoor light is dark" and the action "Turn on the living room lights", the smart home app can automatically generate a name such as "Living room fill light scene".
[0118] These two methods can provide convenience for users, not only meeting the needs of users for personalized naming, but also providing a default name generation service when the user has not named the scene, making the identification and management of scenes clearer and more convenient.
[0119] Furthermore, in some embodiments, after the scene creation is completed, the smart home app can update the scene in response to the user's editing operation on the conditions and / or actions in the scene; wherein the editing operation includes at least one of adding, deleting, and modifying conditions and / or actions.
[0120] Specifically, if the user wants to adjust the conditions and / or actions in an already created scene, such as adding some new conditions or actions, deleting some existing conditions or actions, or modifying existing conditions and actions, the smart home app will respond to these editing operations and update the corresponding scene.
[0121] For example, a user creates a "morning mode" scene, with the initial conditions of "7 am" and "indoor brightness below a certain value", and the action of "opening the curtains and playing soft music". Later, if the user wants to modify this scene, he may add a new condition, such as "outdoor weather is sunny", or delete the condition of "indoor brightness below a certain value", or change "play soft music" to "play energetic music". The smart home app will update the "morning mode" scene based on these editing operations to meet the user's latest needs.
[0122] The above is a further description of step S202.
[0123] In some embodiments, see the attached Figure 6 , Figure 6 It is a flowchart of a scene creation method for a smart device according to an embodiment of the present application.
[0124] like Figure 6 As shown, users can add conditions and actions through the scene creation interface of the smart home app.
[0125] When adding conditions, you can choose to manually trigger, add scene data, device changes, environment changes, timed scenes, and at least one of arriving at or leaving a certain place. You can also choose to add the device corresponding to the condition and select the corresponding skill settings to complete the addition of the condition.
[0126] When adding an action, you can choose to add at least one of the following: add device, add delay, add scene, and message notification, and select the corresponding skill settings or obtain the configuration information of the added device to complete the action addition;
[0127] Furthermore, the smart home app will call the interface of the scene center through the server for the conditions and actions selected by the user to determine whether the conditions and actions selected by the user meet the preset rules, and save the scene when the preset rules are met to complete the scene creation.
[0128] For example, the condition selected by the user is "environmental change", which can be specifically "when the outdoor temperature is lower than 5 degrees or the outdoor humidity PM2.5 is higher than X", triggering subsequent actions.
[0129] The actions selected by the user include:
[0130] Add device: Select air conditioner to start the air conditioner to participate in the execution of this scenario;
[0131] Add a delay of 5 minutes, that is, the subsequent actions will be executed 5 minutes after the conditions are met;
[0132] Add device: Select Dehumidifier to start the dehumidifier to participate in the execution of this scenario.
[0133] Message notification: Send notification when dehumidification is completed. After dehumidification is completed, relevant notification will be sent to the user;
[0134] Add scene: Execute the scene. Specifically, you can nest the air conditioning scene and the dehumidifier scene to work together.
[0135] Finally, the smart home app can automatically generate scene names based on the conditions and actions selected by the user, such as "Smart response scene for low temperature and high humidity environment" and save them.
[0136] The above is a further explanation of the scene creation method for the smart device provided in this application.
[0137] Through the above implementation, the supported conditions and actions when creating a scene can be intuitively displayed in the scene creation interface, allowing users to quickly select and create scenes, effectively shortening the process of adding action skills and reducing the adding time, thereby improving the efficiency of smart devices in scene creation, thereby enhancing the user experience.
[0138] It should be pointed out that although the various steps in the above embodiments are described in a specific order, those skilled in the art can understand that in order to achieve the effect of the present application, different steps do not have to be executed in such an order. They can be executed simultaneously (in parallel) or in other orders. These changes are within the scope of protection of the present application.
[0139] Furthermore, the present application also provides a scene creation device for a smart device, see the attached Figure 7 , Figure 7 1 is a main structural block diagram of a scene creation device for a smart device according to an embodiment of the present application. Figure 7 As shown, the scene creation device of the smart device mainly includes a display module 701 and a creation module 702.
[0140] The display module 701 is configured to display the added conditions and actions supported by the scene creation based on the scene creation instruction. The creation module 702 is configured to complete the scene creation in response to the conditions and / or actions selected by the user. The added conditions supported by the scene creation include at least one of manual triggering, adding scene corpus, device changes, environmental changes, timed scenes, and arriving at or leaving a certain place, and the added actions supported by the scene creation include at least one of adding devices, adding delays, adding scenes, and message notifications.
[0141] The technicians in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example for illustration. In practical applications, the above-mentioned function allocation can be completed by different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiment can be integrated in a processing unit, or each unit can exist physically separately, or two or more units can be integrated in one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of software functional units. In addition, the specific names of the functional units and modules are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of this application. The specific working process of the units and modules in the above-mentioned system can refer to the corresponding process in the aforementioned method embodiment, which will not be repeated here.
[0142] Furthermore, the present application also provides an electronic device for executing the scene creation method of the smart device of the embodiment of the present application.
[0143] See attached Figure 8 , Figure 8 1 is a main structural block diagram of an electronic device for executing the scene creation method of a smart device according to an embodiment of the present application. Figure 8 As shown, the electronic device 8 includes a processor 801, a memory 802, and a computer program 803 stored in the memory 802 and executable on the processor 801. When the processor 801 executes the computer program 803, the steps in the above-mentioned various method embodiments are implemented. Alternatively, when the processor 801 executes the computer program 803, the functions of each module / unit in the above-mentioned device embodiment are implemented.
[0144] Exemplarily, the computer program 803 may be divided into one or more modules / units, which are stored in the memory 802 and executed by the processor 801 to complete the present application. The one or more modules / units may be a series of computer program instruction segments capable of completing specific functions, which are used to describe the execution process of the computer program 803 in the electronic device 8.
[0145] The electronic device 8 may be a desktop computer, a notebook, a PDA, a cloud server, etc. The electronic device 8 may include but is not limited to a processor 801 and a memory 802. Those skilled in the art will appreciate that Figure 8 It is only an example of the electronic device 8 and does not constitute a limitation of the electronic device 8. It may include more or fewer components than shown in the figure, or a combination of certain components, or different components. For example, the electronic device may also include input and output devices, network access devices, buses, etc.
[0146] The processor 801 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or the processor may be any conventional processor, etc.
[0147] The memory 802 may be an internal storage unit of the electronic device 8, for example, a hard disk or memory of the electronic device 10. The memory 802 may also be an external storage device of the electronic device 8, for example, a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (FlashCard), etc. equipped on the electronic device 8. Further, the memory 802 may also include both an internal storage unit of the electronic device 8 and an external storage device. The memory 802 is used to store computer programs and other programs and data required by the electronic device 8. The memory 802 may also be used to temporarily store data that has been output or is to be output.
[0148] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described or recorded in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0149] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments applied for herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.
[0150] In the embodiments provided in the present application, it should be understood that the disclosed devices / electronic devices and methods can be implemented in other ways. For example, the device / electronic device embodiments described above are merely schematic. For example, the division of modules or units is only a logical function division. There may be other division methods in actual implementation. Multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces, indirect coupling or communication connection of devices or units, which may be electrical, mechanical or other forms.
[0151] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0152] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0153] Further, the present application also provides a computer-readable storage medium. If the integrated module / unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the present application implements all or part of the process in the above-mentioned scene creation method embodiment of the intelligent device, and can also be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium, and the computer program can be executed by the processor. The steps of the scene creation method embodiment of each intelligent device can be implemented. The computer program may include computer program code, and the computer program code may be in source code form, object code form, executable file or some intermediate form. The computer-readable medium may include: any entity or device capable of carrying computer program code, recording medium, U disk, mobile hard disk, disk, optical disk, computer memory, read-only memory (ROM), random access memory (RAM), electric carrier signal, telecommunication signal and software distribution medium, etc.
[0154] It should be noted that the user information (including but not limited to the user's device information, user personal information, smart device usage information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in the embodiments of the present disclosure are all information and data authorized by the user or fully authorized by all parties.
[0155] The data acquisition, collection and other actions involved in the embodiments of the present disclosure are all performed after authorization by the user or the object or after full authorization by all parties.
[0156] So far, the technical solutions of the present application have been described in conjunction with the preferred embodiments shown in the accompanying drawings. However, it is easy for those skilled in the art to understand that the protection scope of the present application is obviously not limited to these specific embodiments. Without departing from the principles of the present application, those skilled in the art can make equivalent changes or substitutions to the relevant technical features, and the technical solutions after these changes or substitutions will fall within the protection scope of the present application.
Claims
1. A scene creation method for a smart device, characterized in that: The method comprises: Based on the scene creation instructions, show the conditions and actions that can be added to the scene creation. In response to the conditions and actions selected by the user, the scene creation is completed; Among them, the conditions supported by the scene creation include manual triggering, adding scene corpus, device changes, environmental changes, timed scenes, and at least one of arriving at or leaving a place, and the actions supported by the scene creation include adding devices, adding delays, adding scenes, and message notifications.
2. The scene creation method of the smart device according to claim 1, characterized in that: The step of completing the scene creation in response to the conditions and actions selected by the user includes: When the user selects multiple conditions and / or actions, obtaining the relationship between the multiple conditions and / or actions; In response to the multiple conditions and / or actions selected by the user, and the relationship between the multiple conditions and / or actions, completing the creation of the nested scene; The relationship between the multiple conditions and / or actions includes and and or, and the nested scene includes at least two sub-scenes.
3. The scene creation method of the smart device according to claim 2, characterized in that: After responding to the conditions and actions selected by the user, the method further includes: Determining whether the conditions and actions selected by the user meet preset rules; If so, the scene creation is completed based on the conditions and actions selected by the user.
4. The scene creation method of the smart device according to claim 1, characterized in that: In response to the conditions and actions selected by the user, completing the scene creation further includes: When the action selected by the user is adding a device, obtaining usage information of the added device; Acquire configuration information of the added device based on the usage information; Complete the scene creation based on the configuration information; The added device selected by the user includes one or more added devices, and the types of the multiple added devices are the same or different.
5. The scene creation method of the smart device according to claim 1, characterized in that: The method further comprises: Obtain user home information; the user home information includes information of smart devices bound to the user; Based on the user's family information, obtain a corresponding scene to be enabled; Based on the scene creation instruction, the scene to be enabled is displayed.
6. The scene creation method of a smart device according to any one of claims 1 to 5, characterized in that: The method further comprises: Get the user-defined scene name; Or, the scene name is generated based on the conditions and actions selected by the user.
7. The scene creation method of the smart device according to claim 6, characterized in that: After completing the scene creation in response to the conditions and actions selected by the user, the method further includes: In response to a user's editing operation on a condition and / or an action in the scene, updating the scene; The editing operation includes adding, deleting, or modifying at least one of the conditions and / or actions.
8. A scene creation device for a smart device, characterized in that: The device comprises: A display module is configured to display the added conditions and actions supported by the scene creation based on the scene creation instruction; A creation module, configured to complete scene creation in response to conditions and / or actions selected by a user; Among them, the conditions supported by the scene creation include manual triggering, adding scene corpus, device changes, environmental changes, timed scenes, and at least one of arriving at or leaving a place, and the actions supported by the scene creation include adding devices, adding delays, adding scenes, and message notifications.
9. A computer-readable storage medium, characterized in that: The computer-readable storage medium includes a stored program, wherein the program executes the scene creation method for a smart device according to any one of claims 1 to 7 when running.
10. An electronic device comprising a memory and a processor, characterized in that: The memory stores a computer program, and the processor is configured to execute the scene creation method of the smart device according to any one of claims 1 to 7 through the computer program.
Citation Information
Cited By
Intelligent equipment scene creating method and device, storage medium and computer equipment
CN120780372A