Working scene creation method of smart home and related equipment
By obtaining smart home devices and user expectation information and using natural language processing technology to generate scene logic, the problem of fixing smart home scene templates is solved, personalized scene creation is realized, and user experience is improved.
Patent Information
- Application Number
- CN202311090653.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-08-28
- Publication Date
- 2025-02-28
AI Technical Summary
The existing smart home scene templates are fixed and cannot effectively meet users' personalized needs, resulting in poor user experience.
By obtaining target devices and expected information, analyzing user needs using natural language processing technology, generating preliminary scenario logic, and creating work scenarios based on this logic.
It realizes the automatic creation of personalized work scenarios based on user needs, solves the problem of fixed scene templates, and improves the user experience.
Smart Images

Figure CN119535999A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of smart home technology, and in particular to a method for creating a working scene of a smart home and related equipment. Background Art
[0002] At present, most smart homes are developed and generated based on the developer's perspective to generate control strategies. Developers use common sense, living habits and user surveys to summarize common pain points, and then create smart home control strategies that solve common pain points and fill in the adapter devices, and then give AIOT capabilities to achieve the effect of intelligently solving user pain points. In this process, developers often fall into the inherent thinking of "I think" and develop fixed scene templates for overall control of smart homes. These scene templates can only solve the basic needs of some users. Over time, the development highlights of overall control of smart homes have become increasingly difficult to explore, and the optimization of experience has become less and less significant. Summary of the invention
[0003] In view of the above problems, the present invention is proposed to provide a smart home work scene creation method and related equipment that overcome the above problems or at least partially solve the above problems, which can solve the problem of fixed scene templates for overall control of the smart home and achieve the purpose of improving user experience.
[0004] Specifically, the present invention provides a method for creating a working scene of a smart home, comprising:
[0005] Acquire target devices and expected information for creating a work scenario, wherein the target devices configured in the work scenario will execute the configured scenario actions when a scenario trigger condition is met;
[0006] Obtaining candidate functions of the target device according to the device information of the target device and preset function logic constraint rules;
[0007] According to the candidate functions of the target device, natural language processing is performed on the expected information to obtain a preliminary scene logic, wherein the preliminary scene logic includes the scene trigger condition configured for the working scene and the scene action configured for the target device;
[0008] Create the working scene according to the preliminary scene logic.
[0009] Optionally, obtaining a target device for creating a work scenario includes:
[0010] Acquire a candidate application space for limiting the application scope of the work scene, wherein the candidate application space is a subspace or a total space of the current space;
[0011] Determine a target application space from the candidate application spaces;
[0012] Obtain device information of candidate devices in the target application space;
[0013] The target device is determined from the candidate devices.
[0014] Optionally, obtaining preliminary scene logic according to the device information of the target device and preset functional logic constraint rules includes:
[0015] Generate a mapping relationship between preset device information and function information to create the function logic constraint rule;
[0016] Obtaining device information of the target device;
[0017] According to the functional logic constraint rule, determining the preset device information that is consistent with the device information of the target device to obtain the corresponding functional information of the target device;
[0018] The preliminary scenario logic is obtained according to the functional information of the target device.
[0019] The step of creating the working scene according to the preliminary scene logic includes:
[0020] Extracting the scene triggering condition and the scene action from the preliminary scene logic;
[0021] Determine or adjust the scene trigger condition and the scene action to adjust the preliminary scene logic;
[0022] Create the working scene according to the adjusted preliminary scene logic.
[0023] Optionally, after creating the working scene according to the preliminary scene logic, the method further includes:
[0024] Building a scenario testing tool for the work scenario according to the device information of the target device and preset functional logic constraint rules;
[0025] Input the working scenario into the scenario testing tool, run the target device, and obtain a self-test result;
[0026] In response to the self-test result satisfying the preset expected condition, it is determined that the work scene is created.
[0027] Optionally, before obtaining the target device and expected information for creating the work scenario, the method further includes:
[0028] Acquire a terminal identifier of a user terminal used to receive the work scenario creation request, wherein the user terminal configured in the creation request will execute the configured instruction collection action when a request triggering condition is met;
[0029] The work scene creation request is generated on the user terminal.
[0030] The present invention also provides a device for creating a working scene of a smart home, comprising:
[0031] An acquisition unit, configured to acquire a target device and expected information for creating a work scenario, wherein the target device configured in the work scenario will execute a configured scenario action when a scenario trigger condition is met;
[0032] an identification unit, configured to obtain candidate functions of the target device according to device information of the target device and preset function logic constraint rules;
[0033] A configuration unit is used to perform natural language processing on the expected information according to the candidate functions of the target device to obtain preliminary scene logic.
[0034] Optionally, the working scene creation device further includes:
[0035] The compiling unit is used to generate a mapping relationship between preset device information and function information to create the function logic constraint rule.
[0036] The present invention also provides a machine-readable storage medium on which a machine executable program is stored. When the machine executable program is executed by a processor, it implements any of the above-mentioned work scene creation methods.
[0037] The present invention also provides a smart home system, including a memory and a processor, wherein the memory stores a computer program, and the processor is configured to execute the work scene creation method described in any one of the above items through the computer program.
[0038] In the method for creating a work scene for a smart home of the present invention, the target device and expected information for creating the work scene are first obtained; then the candidate functions of the target device are obtained according to the device information of the target device and the preset functional logic constraint rules, and the expected information is subjected to natural language processing according to the candidate functions of the target device to obtain the preliminary scene logic, and finally the technical means for creating the work scene is completed according to the preliminary scene logic, so as to achieve the effect of automatically creating the work scene according to the needs of the user. Since the technical scheme of the present invention obtains the preliminary scene logic by natural language processing of the expected information, and creates the work scene according to the preliminary scene logic, rather than creating the work scene by setting the scene fixed target in the prior art, compared with the prior art, it can solve the problem of fixed scene templates for overall control of smart homes, allowing users to design work scenes with thousands of faces, thereby achieving the purpose of improving user experience.
[0039] Based on the following detailed description of specific embodiments of the present invention in conjunction with the accompanying drawings, those skilled in the art will become more aware of the above and other objects, advantages and features of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS
[0040] Hereinafter, some specific embodiments of the present invention will be described in detail in an exemplary and non-limiting manner with reference to the accompanying drawings. The same reference numerals in the accompanying drawings indicate the same or similar components or parts. It should be understood by those skilled in the art that these drawings are not necessarily drawn to scale. In the accompanying drawings:
[0041] Figure 1 is a schematic flow chart of a method for creating a working scene of a smart home according to an embodiment of the present invention;
[0042] Figure 2 is a schematic flow chart of obtaining a target device in a method for creating a smart home work scene according to an embodiment of the present invention;
[0043] Figure 3 is a schematic flow chart of obtaining preliminary scene logic in a method for creating a working scene of a smart home according to an embodiment of the present invention;
[0044] Figure 4 is a schematic flow chart of determining or adjusting preliminary scene logic in a method for creating a working scene of a smart home according to an embodiment of the present invention;
[0045] Figure 5 is a schematic structural diagram of a machine-readable storage medium according to an embodiment of the present invention;
[0046] Figure 6 is a schematic structural diagram of a smart home system according to an embodiment of the present invention. DETAILED DESCRIPTION
[0047] Refer to the following Figures 1 to 6 To describe the working scene creation method and related equipment of the smart home of the embodiment of the present invention. In the description of this embodiment, it should be understood that the terms "first" and "second" are used for descriptive purposes only, and cannot be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, the features defined as "first" and "second" may explicitly or implicitly include at least one of the features, that is, include one or more of the features. In the description of the present invention, the meaning of "multiple" is at least two, such as two, three, etc., unless otherwise clearly and specifically defined. When a feature "includes or contains" one or some of the features it covers, unless otherwise specifically described, this indicates that other features are not excluded and other features may be further included.
[0048] In the description of the present embodiment, the description with reference to the terms "one embodiment", "some embodiments", "illustrative embodiments", "examples", "specific examples", or "some examples" means that the specific features, structures, materials, or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials, or characteristics described may be combined in any one or more embodiments or examples in a suitable manner.
[0049] Figure 1 is a schematic flow chart of a method for creating a working scene of a smart home according to an embodiment of the present invention. Figure 1 As shown, an embodiment of the present invention provides a method for creating a working scene of a smart home, comprising the following steps:
[0050] Step S1: Acquire target devices and expected information for creating a work scene, wherein the target devices configured in the work scene will execute the configured scene actions when the scene triggering conditions are met.
[0051] Step S2: Obtain candidate functions of the target device according to the device information of the target device and preset function logic constraint rules.
[0052] Step S3: According to the candidate functions of the target device, natural language processing is performed on the expected information to obtain preliminary scene logic, wherein the preliminary scene logic includes scene trigger conditions configured for the working scene and scene actions configured for the target device.
[0053] Step S4: Create a work scenario based on the preliminary scenario logic.
[0054] In this embodiment, the target device includes various smart homes that support data transmission. For example, the target device includes but is not limited to smart air conditioners, smart lamps, smart water heaters, smart curtains, human sensors, and infrared intrusion detectors. Users can control the above target devices through user terminals to achieve the home scene effects they want to achieve.
[0055] The user selects the target device through the user terminal and inputs the desired information in natural language, where the desired information is the effect of the working scenario that the user wants the target device to achieve. The natural language input method includes but is not limited to voice input and text input.
[0056] The work scene is the home scene that the user wants to create.
[0057] The preset function logic constraint rules include but are not limited to the mapping relationship between the communication protocol, the device information and the function information of the device. For example, the target device is an air conditioner, and the unique identifier of the air conditioner is ID1. The candidate functions of the target device can be found according to ID1.
[0058] The candidate functions include any functions that can be realized by the device. For example, if the target device is an air conditioner, the candidate functions of the air conditioner include but are not limited to on, off, cooling mode, heating mode, temperature setting, scheduled on, scheduled off, and sleep mode.
[0059] Natural language processing of expected information refers to identifying and transforming the expected information based on a preset natural language processing model to obtain preliminary scene logic; then selecting, setting and combining candidate functions of the target device according to the preliminary scene logic to complete the creation of the entire work scene.
[0060] The natural language processing model adopted in the present invention is the GPT model, which has strong natural language recognition capabilities and can identify the user's true intention from the expected information.
[0061] In this embodiment, the method for creating a work scene for a smart home of the present invention first obtains the target device and expected information for creating the work scene; then, based on the candidate functions of the target device, natural language processing is performed on the expected information to obtain a preliminary scene logic, and finally, a technical means for completing the creation of the work scene is used based on the preliminary scene logic.
[0062] Through the work scene creation method of this embodiment, the present invention achieves the effect of creating a work scene according to the needs of the user, can solve the problem of fixed scene templates for overall control of the smart home, and allows users to design work scenes for different people, thereby achieving the purpose of improving user experience.
[0063] Furthermore, the present invention allows users to become designers of work scenes, which can meet the needs of target groups with high interest and requirements for intelligent experience and enhance the user experience.
[0064] In some embodiments of the present invention, obtaining a target device for creating a work scene includes the following steps:
[0065] Step S11: Acquire a candidate application space for limiting the application scope of the work scene, wherein the candidate application space is a subspace or the total space of the current space.
[0066] Step S12: Determine a target application space from the candidate application spaces.
[0067] Step S13: Obtain device information of candidate devices in the target application space.
[0068] Step S14: Determine the target device from the candidate devices.
[0069] The candidate application space is the application space created on the user terminal when the user binds the candidate device; the application space includes but is not limited to the kitchen, bedroom, living room, study, elderly bedroom, bathroom, children's bedroom, etc. The specific application space name can be set by the user.
[0070] Candidate devices include, but are not limited to, smart air conditioners, smart lamps, smart water heaters, smart curtains, human sensors, and infrared intrusion detectors. Candidate devices include all kinds of smart homes that support data transmission.
[0071] In this embodiment, before selecting a target device in the user terminal, the user first opens the user terminal to select a custom scene template, then selects a target application space from the candidate application spaces in the custom scene template; and then selects a target device from the candidate devices in the target application space.
[0072] The user terminal is software that can create work scenarios, such as apps, mini-programs, etc., which can be downloaded and used on mobile devices. Mobile devices include but are not limited to mobile phones, laptops, PCs, and personal terminals.
[0073] Through the work scene creation method of this embodiment, users can select application space and target devices according to their needs, which improves the user experience.
[0074] In some embodiments of the present invention, obtaining preliminary scene logic according to device information of the target device and preset functional logic constraint rules includes the following steps:
[0075] Step S21: Generate a mapping relationship between preset device information and function information to create function logic constraint rules.
[0076] Step S22: Obtain device information of the target device.
[0077] Step S23: According to the functional logic constraint rule, determine the preset device information that is consistent with the device information of the target device to obtain the corresponding functional information of the target device.
[0078] Step S24: Obtain preliminary scene logic based on the functional information of the target device.
[0079] The device information of the target device includes but is not limited to the device name, device ID, and device location.
[0080] The preset device information includes candidate device information and target device information, including but not limited to device name, device identification, and device location.
[0081] Functional information includes but is not limited to basic functions, advanced functions, invalid commands, alarm commands and other information of the device.
[0082] The mapping relationship is the relationship between the preset device information and the functions that can be performed by the preset device, which is a one-to-many or one-to-one relationship.
[0083] In this embodiment, according to the device information of the target device and the functional logic constraint rules, the preset device information consistent with the target device information is found, and then the functional information of the preset device is configured to the target device to obtain the candidate functions of the target device.
[0084] Based on step S3, the expected information is processed by natural language according to the GPT model to obtain accurate target device information, trigger conditions of the target device, and execution actions of the target device. Then, the function that the user wants to execute is selected from the candidate functions of the target device, and the scene trigger conditions and scene actions are configured for the device.
[0085] The scene trigger condition is the trigger condition of the target device in the working scene, and the scene action is the execution action of the target device in the working scene.
[0086] For example, if a child goes to bed at 10 p.m., an environment of 26 degrees is suitable.
[0087] The trigger conditions include: time: 22:00, location: child’s bedroom.
[0088] Target devices involved: Smart lights and smart air conditioners in bedrooms.
[0089] Execution action: Smart lights are turned off, smart air conditioner is turned on and the temperature is set to 26 degrees.
[0090] The conventional measures are: users manually turn off the lights, turn on the air conditioner and adjust the set temperature to 26 degrees.
[0091] Through the work scenario creation method of this embodiment, based on the acquired target device and expected information, the user's expressed needs are automatically analyzed from the expected information, and then the corresponding trigger conditions and execution actions are matched for the target device, saving the user's operation of the device and improving the user experience.
[0092] In some embodiments of the present invention, creating a work scene according to the preliminary scene logic includes the following steps:
[0093] Step S31: extracting scene trigger conditions and scene actions from the preliminary scene logic.
[0094] Step S32: Determine or adjust the scene triggering conditions and scene actions to adjust the preliminary scene logic.
[0095] Step S33: Create a work scene according to the adjusted preliminary scene logic.
[0096] The scene trigger condition is the trigger condition of the target device in the working scene, and the scene action is the execution action of the target device in the working scene.
[0097] In this embodiment, the scene trigger conditions and scene actions extracted from the preliminary scene logic will be displayed to the user terminal for the user to view and modify. When the user finds a problem, the user can modify these scene trigger conditions and scene actions. After the user completes and confirms the modification on the user terminal, the AIOT cloud will improve the preliminary scene logic based on the user's modification, and then create a work scene based on the improved preliminary scene logic to complete the creation of the entire work scene.
[0098] Alternatively, the scene trigger conditions and scene actions extracted from the preliminary scene logic will be displayed to the user terminal for the user to view and modify. When the user does not find a problem, he can directly confirm it on the user terminal. The AIOT cloud will create a work scene based on the preliminary scene logic and complete the creation of the entire work scene.
[0099] Through the work scene creation method of this embodiment, the user can determine or modify the scene trigger conditions and scene actions generated by the user terminal to better meet the user's needs and enhance the user experience.
[0100] In some embodiments of the present invention, after creating a work scene according to the preliminary scene logic, the work scene creation method further includes:
[0101] Build scenario testing tools for work scenarios based on the device information of the target device and preset functional logic constraint rules.
[0102] Input the working scenario into the scenario test tool, run it on the target device, and obtain the self-test result.
[0103] In response to the self-test result satisfying the preset expected conditions, it is determined that the work scenario is created.
[0104] In this embodiment, the present invention provides a scenario testing tool, into which the work scenario created by the user is input, and then the scenario testing tool controls the actual operation of the target device according to the work scenario created by the user, and displays the real scenario effect to the user.
[0105] For example, after creating a work scene according to the preliminary scene logic, the user selects the scene self-test on the user terminal. The user terminal will input the work scene created by the user into the scene testing tool, and then the scene testing tool will control the operation of the target device to obtain the self-test results; when it is determined that the self-test results meet the preset expected conditions, the work scene is determined to have been created.
[0106] When the test results of the scenario testing tool meet the preset expected conditions, the work scenario is determined to be created successfully. The user can choose to start the created work scenario immediately or at a scheduled time on the user terminal.
[0107] Through the work scene creation method of this embodiment, the present invention provides a scene testing tool to truly simulate the work scene created by the user, showing the user the real running effect, and improving the reliability of the work scene created by the user.
[0108] In some embodiments of the present invention, before obtaining the target device and expected information for creating a work scene, it also includes: obtaining the terminal identification of a user terminal for receiving a work scene creation request, wherein the user terminal configured in the creation request will execute the configured instruction collection action when the request trigger condition is met; and generating a work scene creation request on the user terminal.
[0109] In this embodiment, when a user registers at a user terminal, a unique terminal identifier is generated. When the user selects to create a work scene at the user terminal, the user terminal adds the terminal identifier to a work scene creation request, generating a work scene creation request with a unique identifier, so that the user terminal only collects the target device and expected information selected by the registered user.
[0110] Through the work scene creation method of this embodiment, the user terminal will only collect the target device selected and the expected information input by the registered user, avoiding the problem of target device collection errors or expected information collection errors when multiple users create work scenes on the user terminal at the same time, thereby improving the security and reliability of the user terminal.
[0111] In some embodiments of the present invention, the present invention allows users to design work scenes for different people. The following is one of the specific application examples of the present invention.
[0112] For example, couple A and B live with their parents all year round, and their child is 5 years old. During their time together, they find that everyone has different requirements for ambient temperature, light brightness, bathing temperature and time, and home safety. They hope that there is a scene that can meet everyone's expectations. At this time, user A opens the user terminal corresponding to the present invention: a smart home APP, and clicks to select a custom scene.
[0113] Step 1: Select the application space: study, children's bedroom, elderly bedroom, living room, bathroom, whole house.
[0114] Step 2: The APP displays all the home appliances that support smart control in the user's home by space: air conditioners (study, children's bedroom, elderly bedroom, living room), smart lamps (study, children's bedroom, elderly bedroom, living room, bathroom, whole house), smart curtains (children's bedroom, elderly bedroom), human body sensor (whole house), infrared intrusion detector (living room), and water heater (bathroom).
[0115] Step 3: The user selects the target devices that need to participate in the custom scene, such as selecting all.
[0116] Step 4: The user inputs the effects, actions and conditions of the scene he / she expects to achieve by voice or text: ① Children finish school at 17:00 every day, wash up at 20:00, and go to bed at 22:00, which is suitable for an environment of 26 degrees; the elderly wash up at 21:00 every day, go to bed at 22:00, and prefer an environment of 26-27 degrees; users A and B get home at 19:00 every day, read in the study from 20:00 to 22:00, keep the room temperature at 25 degrees when reading, wash up at 22:00, and go to bed at 23:00. ② Pay special attention to the behavior of the elderly and children, and notify the owner of the family in time if they fall or have abnormal conditions. ③ When getting up at night, the lights are turned on wherever the person walks, and the lights are turned off when the person leaves.
[0117] Step 5: The server transmits the above text to the AIOT cloud. The AIOT cloud recognizes and understands the text, adapts it to the device function, combines it into conditional actions with scene logic, and feeds it back to a smart home APP. A preliminary version of the scene is displayed to the user, such as
[0118] Whole House:
[0119] Human body sensor: It senses the whole house and executes the alarm command when it detects someone falling.
[0120] Smart lamps: After 10 p.m., when the movement of people is sensed, the floor lamps will execute the turn-on command.
[0121] bathroom:
[0122] The water heater starts heating at 19:00, and the water heater temperature is monitored in real time from 19:00 to 22:00. Heating will be started if the temperature is detected to be lower than the set temperature. Monitoring will no longer be carried out after 22:00.
[0123] Children's bedroom:
[0124] When the human body sensor senses that there is someone in the room, the smart lamps execute the turn-on command, the smart curtains execute the turn-off command, the air conditioner starts running, and the temperature is automatically set to 26 or 27 degrees. After 22:00, when the smart bed senses that there is someone, the smart lights execute the turn-off command.
[0125] Elderly bedroom:
[0126] When the human body sensor senses that there is someone in the room, the smart lamps execute the turn-on command, the smart curtains execute the turn-off command, the air conditioner starts running, and the temperature is automatically set to 26 degrees. After 10 p.m., when the smart bed senses that there is someone in the room, the smart lights execute the turn-off command.
[0127] study:
[0128] When the human body sensor senses that there is someone in the room, the smart lamps execute the turn-on command, the smart curtains execute the turn-off command, the air conditioner starts running, and the temperature is automatically set to 25 degrees. After 10 p.m., when the study senses that there is no one in the room, the smart lights execute the turn-off command.
[0129] Step 6: Users optimize and supplement the scene logic of the initial version.
[0130] Step 7: Click on the scene self-test, the server will send commands under simulated scene conditions, the device will actually execute the commands, and the scene effect will be visualized.
[0131] Step 8: The scene self-test is completed, the scene is created successfully, and the user can choose to start it immediately or on time.
[0132] In this embodiment, the AIOT cloud has strong natural language recognition capabilities, including a GPT model, which can recognize and understand the user's true intentions and convert the user's true intentions into device trigger conditions and scenario actions.
[0133] The server includes functions such as system services, integration services, monitoring management, and tool integration. It is also an important transmission port for users to issue device commands through user terminals, and scenario testing tools are stored in the server.
[0134] The user terminal has a front-end entrance for users to edit and create work scenes. The process is convenient and clear, the page is neat and beautiful, and it supports scene self-testing and effect preview.
[0135] The present invention does not force users to fill in scene trigger conditions and scene actions according to templates. Instead, it uses machine learning to identify user intentions, and then generates home scene effects, lowering the experience threshold of most smart home appliance users for smart capabilities; and can adapt the functions supported by the device according to user intentions to maximize the smart capabilities of the device; there is no need for developers to participate in the conception and creation of fixed home scene templates, all of which are left to C-end users to complete, with 0 development cycle, 0 waiting time, and regardless of the complexity of the scene, it can be created and used immediately.
[0136] The present invention also provides a device for creating a working scene of a smart home, comprising:
[0137] An acquisition unit, used to acquire a target device and expected information for creating a work scene, wherein the target device configured in the work scene will execute the configured scene action when a scene trigger condition is met;
[0138] An identification unit, used to obtain candidate functions of the target device according to device information of the target device and preset function logic constraint rules;
[0139] The configuration unit is used to perform natural language processing on the expected information according to the candidate functions of the target device to obtain preliminary scene logic.
[0140] In this embodiment, the work scene creation device provided by the present invention first obtains the target device and expected information for creating the work scene through the acquisition unit; then obtains the candidate functions of the target device selected by the user through the identification unit; and then configures the target device involved in the expected information and its trigger conditions, execution actions and candidate functions of the target device through the configuration unit to obtain preliminary scene logic.
[0141] Through the work scene creation device of this embodiment, the effect of creating preliminary scene logic according to the needs of users is achieved, which can solve the problem of fixed templates for overall control of smart home scenes, thereby allowing users to design work scenes with thousands of faces, thereby improving the user experience.
[0142] In some embodiments of the present invention, the work scene creation device further includes:
[0143] The compilation unit is used to generate a mapping relationship between preset device information and function information to create function logic constraint rules.
[0144] In this embodiment, the work scene creation device also includes a compilation unit for creating functional logic rules for preset devices, so that the target device selected by the user is matched with the preset device based on the functional logic rules to configure candidate functions for the target device.
[0145] The candidate functions include all functions that the target device can perform. For example, if the target device is an air conditioner, its candidate functions include but are not limited to turning on, turning off, adjusting the set temperature, sleep mode, strong mode, cooling mode, heating mode, etc.
[0146] Through the compilation unit of this embodiment, the created functional logic constraint rules can allow the target device to be configured with its proper candidate functions, thereby improving the reliability and accuracy of configuring the candidate functions for the target device.
[0147] like Figure 5 As shown, the present invention further provides a machine-readable storage medium 40 on which a machine executable program 41 is stored. When the machine executable program 41 is executed by a processor, the work scene creation method of any of the above embodiments is implemented.
[0148] like Figure 6 As shown, the present invention also provides a smart home system 50, including a memory 520 and a processor 510, wherein the memory 520 stores a machine executable program 41, and the processor 510 is configured to execute the work scene creation method in any of the above embodiments through the machine executable program 41.
[0149] In some embodiments of the present invention, the main parts involved in the smart home system of the present invention include:
[0150] IoT Open Platform: IoT Open Platform has the ability to create and configure device backplane functions and generate logic constraint files based on communication protocols. Communication protocols are part of the function logic constraint rules.
[0151] Logical constraint file: It has the ability to generate multiplexed data from one end. The file contains the unique identifier of the device, basic functions, advanced functions, invalid commands, alarms, logical constraint conditions and actions of the device backplane, byte position of the function, type of function, read / write type and other information to ensure that the backplane can identify and execute the issued commands. The logical constraint file includes candidate functions and device information of the device.
[0152] AIOT Cloud: Supports ① the combination and adaptation of intelligent capabilities and device baseboard functions, docking with the IoT open platform, and real-time acquisition of the trigger conditions, execution actions and other device information of the generated or updated devices to ensure the correct execution of intelligent capabilities. ② It has strong natural language recognition capabilities and has built a GPT model that can identify and understand the user's true intentions and convert them into device trigger conditions and execution actions.
[0153] Server: The server includes system services, integrated services, monitoring management, tool integration and other functions. It is also an important transmission port for users to issue device commands through user terminals. In addition, the server stores scenario testing tools, which are convenient for user terminals to call for working scenario testing.
[0154] User terminal: It has a front-end entrance for users to edit and create scenes. The process is convenient and clear, the page is neat and beautiful, and it supports scene self-testing and effect preview.
[0155] In this embodiment, the server transmits the expected information input by the user terminal through text or voice to the AIOT cloud. The AIOT cloud recognizes and processes the expected information through the GPT model, and adapts it with the device information selected by the user, the preset functional logic rules, and the preset device information to form the initial scene logic, and feeds back the scene trigger conditions and scene actions in the initial scene logic to the user terminal to complete the creation of the initial version of the work scene. Then the user adjusts or determines the scene trigger conditions and scene actions on the user terminal, and then performs a scene self-test; when the test results meet the preset expected conditions, the work scene is successfully created. The user can choose to start immediately or start at a scheduled time on the user terminal to experience the work scene.
[0156] The present invention emphasizes not only starting from the user, but also emphasizing user self-feedback and customization. The platform aggregates and classifies capabilities, clearly reflects conditional actions and restrictions, and enables users to complete scene building conveniently and clearly on the C-end. On the one hand, the present invention meets the needs of target groups with high interest and high requirements for intelligent experience, and on the other hand, it can truly open the bottleneck of scene developers and design scenes with thousands of faces for thousands of people.
[0157] If the integrated units in the above embodiments are implemented in the form of software functional units and sold or used as independent products, they can be stored in the machine-readable storage medium of the above computer. Based on such understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for enabling one or more computer devices (which may be personal computers, servers or network devices, etc.) to execute all or part of the steps of the methods of various embodiments of the present invention.
[0158] In the several embodiments provided in the present application, it should be understood that the disclosed user terminal can be implemented in other ways. Among them, the device embodiments described above are only schematic, for example, the division of units is only a logical function division, and there may be other division methods in actual implementation, for example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of units or modules, which can be electrical or other forms.
[0159] At this point, those skilled in the art should recognize that, although multiple exemplary embodiments of the present invention have been shown and described in detail herein, many other variations or modifications that conform to the principles of the present invention can still be directly determined or derived based on the content disclosed in the present invention without departing from the spirit and scope of the present invention. Therefore, the scope of the present invention should be understood and recognized as covering all these other variations or modifications.
Claims
1. A method for creating a working scene of a smart home, characterized in that: include: Acquire target devices and expected information for creating a work scenario, wherein the target devices configured in the work scenario will execute the configured scenario actions when a scenario trigger condition is met; Obtaining candidate functions of the target device according to the device information of the target device and preset function logic constraint rules; According to the candidate functions of the target device, natural language processing is performed on the expected information to obtain a preliminary scene logic, wherein the preliminary scene logic includes the scene trigger condition configured for the working scene and the scene action configured for the target device; Create the working scene according to the preliminary scene logic.
2. The working scene creation method according to claim 1, characterized in that: The step of obtaining a target device for creating a work scene includes: Acquire a candidate application space for limiting the application scope of the work scene, wherein the candidate application space is a subspace or a total space of the current space; Determine a target application space from the candidate application spaces; Obtain device information of candidate devices in the target application space; The target device is determined from the candidate devices.
3. The working scene creation method according to claim 1, characterized in that: The obtaining of preliminary scene logic according to the device information of the target device and the preset functional logic constraint rules includes: Generate a mapping relationship between preset device information and function information to create the function logic constraint rule; Acquire device information of the target device; According to the functional logic constraint rule, determining the preset device information that is consistent with the device information of the target device to obtain the corresponding functional information of the target device; The preliminary scenario logic is obtained according to the functional information of the target device.
4. The working scene creation method according to claim 1, characterized in that: The step of creating the working scene according to the preliminary scene logic includes: Extracting the scene triggering condition and the scene action from the preliminary scene logic; Determine or adjust the scene trigger condition and the scene action to adjust the preliminary scene logic; Create the working scene according to the adjusted preliminary scene logic.
5. The working scene creation method according to claim 1, characterized in that: After creating the working scenario according to the preliminary scenario logic, the process further includes: Building a scenario testing tool for the work scenario according to the device information of the target device and preset functional logic constraint rules; Input the working scenario into the scenario testing tool, run the target device, and obtain a self-test result; In response to the self-test result satisfying the preset expected condition, it is determined that the work scene is created.
6. The working scene creation method according to claim 1 or 5, characterized in that: Before obtaining the target device and expected information for creating a work scenario, it also includes: Acquire a terminal identifier of a user terminal used to receive the work scenario creation request, wherein the user terminal configured in the creation request will execute the configured instruction collection action when a request triggering condition is met; The work scene creation request is generated on the user terminal.
7. A device for creating a working scene of a smart home, characterized in that: include: An acquisition unit, configured to acquire a target device and expected information for creating a work scenario, wherein the target device configured in the work scenario will execute a configured scenario action when a scenario trigger condition is met; an identification unit, configured to obtain candidate functions of the target device according to device information of the target device and preset function logic constraint rules; A configuration unit is used to perform natural language processing on the expected information according to the candidate functions of the target device to obtain preliminary scene logic.
8. The working scene creation device according to claim 7, characterized in that: Also includes: The compiling unit is used to generate a mapping relationship between preset device information and function information to create the function logic constraint rule.
9. A machine-readable storage medium having a machine executable program stored thereon, wherein the machine executable program, when executed by a processor, implements the work scene creation method according to any one of claims 1 to 6.
10. A smart home system, comprising a memory and a processor, characterized in that: The memory stores a computer program, and the processor is configured to execute the work scene creation method described in any one of claims 1 to 6 through the computer program.
Citation Information
Patent Citations
Electronic equipment control method, control platform, electronic equipment and storage medium
CN113093565A
Intelligent scene updating method and device
CN113703334A
Scene publishing method, storage medium and electronic device
CN114721626A
Intelligent equipment control system, method, device and equipment
CN115202217A
Custom execution control method and device applied to smart home equipment and app
CN115453896A
Cited By
Scene rule creation method and device, equipment and storage medium
CN120729659A