Smart home management system and method, electronic equipment and storage medium
By adopting layered design ideas and integrating multiple AI technologies in the smart home management system, the problems of lack of systematization of existing smart home management systems, lack of data support for business, and lack of security guarantees for deployment are solved, and efficient and standardized smart home management is achieved.
Patent Information
- Application Number
- CN202411815904.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-10
- Publication Date
- 2025-02-25
AI Technical Summary
The existing smart home management systems have problems such as lack of systematization of applications, lack of data support for business, and lack of security guarantees for deployment, resulting in low management efficiency and poor results.
Using the hierarchical design idea, a smart home management system including the application service layer, the business logic layer and the service deployment layer is built, integrating functions such as speech recognition, natural language processing, artificial intelligence large models and vector retrieval to realize standardized smart home management.
Through layered design ideas, standardized smart home management can be realized, management efficiency can be improved, management effect can be improved, and users' smart home management needs can be met.
Smart Images

Figure CN119511752A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of artificial intelligence technology, and in particular to a smart home management system, method, electronic device and storage medium. Background Art
[0002] With the rapid development of science and technology, smart home devices have gradually become a necessity for modern family life. Smart home is based on the house as a platform, using a complete set of smart home system design solutions such as integrated wiring technology, network communication technology, security technology, automatic control technology, audio and video technology to integrate facilities related to home life, build an efficient management system for residential facilities and family schedule affairs, improve home safety, convenience, comfort, artistry, and achieve an environmentally friendly and energy-saving living environment.
[0003] Currently, smart home management systems face problems such as lack of systematization of applications, lack of data support for businesses, and lack of security guarantees for deployment. They are unable to meet users' smart home management needs, resulting in low efficiency and poor results in smart home management. Summary of the invention
[0004] The main purpose of the embodiments of the present application is to propose a smart home management system, method, electronic device and storage medium, which can realize standardized smart home management, improve smart home management efficiency, and enhance smart home management effects.
[0005] On the one hand, the embodiment of the present application proposes a smart home management system, the system includes an application service layer, a business logic layer and a service deployment layer;
[0006] The application service layer is used to receive the home management control instruction, determine the corresponding target home management application service according to the home management control instruction, and generate the corresponding service call instruction;
[0007] The business logic layer is used to receive the service call instruction, determine a target task processing logic from a plurality of task processing logics, determine a plurality of target home management agents associated with the target task processing logic, and call each of the target home management agents according to the target task processing logic to execute the home management task;
[0008] The service deployment layer is used to store the home management intelligent entity and each task processing logic, and manage each task processing logic and each home management intelligent entity.
[0009] In some embodiments, the application service layer includes a user interaction module and an instruction generation module;
[0010] The user interaction module is used to collect the corresponding home management control instruction in response to the user interaction operation, identify the home management control instruction, and determine the corresponding home management control information;
[0011] The instruction generation module is used to parse the home management control information, determine the target home management application service that matches the home management control information from multiple home management application services, and generate a service call instruction corresponding to the target home management application service.
[0012] In some embodiments, the business logic layer includes an agent calling module and a task logic calling module;
[0013] The task logic calling module is used to determine the home management task according to the service calling instruction, obtain the task logic calling mapping relationship, determine the target task processing logic corresponding to the home management task from the multiple task processing logics according to the task logic calling mapping relationship, and call the target task processing logic;
[0014] The agent calling module is used to determine the business logic and data flow according to the target task processing logic, determine each target home management agent that matches the business logic from multiple home management agents according to the business logic, and call each target home management agent according to the business logic and the data flow to execute the home management task.
[0015] In some embodiments, the service deployment layer includes an agent management module and a task logic management module;
[0016] The agent management module is used to store each of the home management agents and manage each of the home management agents, including at least training, deployment, version control and optimization of the agents and agent data management, wherein the agent data includes agent structure data and agent identification data;
[0017] The task logic management module is used to store each of the task processing logics and manage each of the task processing logics, including at least data modification and data deletion of the task processing logic.
[0018] In some embodiments, the application service layer further includes a data collection module and a service result feedback module;
[0019] The data collection module is used to collect task processing data generated when each of the target home management agents performs the home management task;
[0020] The service result feedback module is used to obtain multiple service evaluation quantitative indicators and the task processing data corresponding to the home management task, and determine the service evaluation result based on the task processing data. The service evaluation result includes the quantitative indicator value of each service evaluation quantitative indicator corresponding to the task processing data.
[0021] In some embodiments, the service deployment layer further includes a resource management module and a data management module;
[0022] The resource management module is used to manage the task processing resources of the home management task, including at least task computing resource management, network management and information security management;
[0023] The data management module is used to store the task processing data and the service evaluation result, and manage the task processing data and the service evaluation result.
[0024] In some embodiments, the home management service includes smart home device management service, family health management service, home entertainment management service, home security monitoring management service, education assistance management service and personalized home customization service.
[0025] On the other hand, an embodiment of the present application provides a smart home management method, the method comprising the following steps:
[0026] Receive a home management control instruction, determine a corresponding target home management application service according to the home management control instruction, and generate a corresponding service call instruction;
[0027] According to the service call instruction, determine a target task processing logic from a plurality of task processing logics, and according to the target task processing logic, determine a plurality of target home management agents associated with the target task processing logic;
[0028] The target home management agents are called according to the target task processing logic to execute the home management tasks.
[0029] On the other hand, an embodiment of the present application provides an electronic device, which includes a memory and a processor, wherein the memory stores a computer program, and the processor executes the smart home management method described above when executing the computer program.
[0030] On the other hand, an embodiment of the present application provides a computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, it implements the smart home management method described above.
[0031] The embodiments of the present application include at least the following beneficial effects: the present application provides a smart home management system, method, electronic device and storage medium, which receives home management control instructions through the application service layer, determines the corresponding target home management application service and generates the corresponding service call instruction according to the home management control instruction, receives the service call instruction through the business logic layer, determines the corresponding target task processing logic and each target home management intelligent body, calls each target home management intelligent body to perform the home management task according to the target task processing logic, stores each home management intelligent body and multiple task processing logics corresponding to each home management intelligent body through the service deployment layer, and manages each task processing logic and each home management intelligent body. The present application can adopt a layered design approach to construct a smart home management system, realize standardized smart home management, improve the efficiency of smart home management, enhance the effect of smart home management, and meet the smart home management needs of users. BRIEF DESCRIPTION OF THE DRAWINGS
[0032] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and, together with the description, serve to explain the principles of the invention.
[0033] In order to more clearly illustrate the embodiments of the present invention 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.
[0034] Figure 1 It is a structural diagram of a smart home management system provided by an embodiment of the present application;
[0035] Figure 2 It is a schematic diagram of the structure of the application service layer in an embodiment of the present application;
[0036] Figure 3 It is a schematic diagram of the structure of the business logic layer in an embodiment of the present application;
[0037] Figure 4 It is a schematic diagram of the task logic call mapping relationship in the embodiment of the present application;
[0038] Figure 5 It is a schematic diagram of the target task processing logic in an embodiment of the present application;
[0039] Figure 6 It is a structural diagram of the service deployment layer in an embodiment of the present application;
[0040] Figure 7 is a schematic diagram of the structure of the resource management module in an embodiment of the present application;
[0041] Figure 8 is another structural diagram of the application service layer in an embodiment of the present application;
[0042] Fig. 9 is a flow chart of a smart home management method provided by an embodiment of the present application;
[0043] Fig.10 It is a schematic diagram of the hardware structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0044] In order to make the purpose, technical solutions and advantages of the present application clearer, the present application is further described in detail below in conjunction with the accompanying drawings and examples. It should be understood that the specific embodiments described herein are only used to explain the present application and are not intended to limit the present application. When the following description refers to the drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the embodiments of the present application. They are only examples of devices and methods consistent with some aspects of the embodiments of the present application as detailed in the attached claims.
[0045] It is understood that the terms "first", "second", etc. used in this application can be used to describe various concepts in this article, but unless otherwise specified, these concepts are not limited by these terms. These terms are only used to distinguish one concept from another concept. For example, without departing from the scope of the embodiment of the present application, the first information may also be referred to as the second information, and similarly, the second information may also be referred to as the first information. Depending on the context, the words "if" and "if" as used herein can be interpreted as "at the time of" or "when" or "in response to determination".
[0046] The terms "at least one", "multiple", "each", "any", etc. used in this application, at least one includes one, two or more, multiple includes two or more, each refers to each of the corresponding multiple, and any refers to any one of the multiple.
[0047] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art to which this application belongs. The terms used herein are only for the purpose of describing the embodiments of this application and are not intended to limit this application.
[0048] It should be noted that in each specific implementation of the present application, when it comes to the need to perform relevant processing based on data related to user identity or characteristics such as user information, user behavior data, user historical data, and user location information, the user's permission or consent will be obtained first, and the collection, use, and processing of these data will comply with relevant laws, regulations, and standards. In addition, when the embodiment of the present application needs to obtain the user's sensitive personal information, the user's separate permission or consent will be obtained through a pop-up window or by jumping to a confirmation page. After clearly obtaining the user's separate permission or consent, the necessary user-related data for the normal operation of the embodiment of the present application will be obtained.
[0049] Before describing the embodiments of the present application in detail, some nouns and terms involved in the embodiments of the present application are first described. The nouns and terms involved in the embodiments of the present application are subject to the following explanations.
[0050] 1) Business logic: refers to the rules and processes that an entity unit should have in order to provide services to another entity unit. In the software system, the business logic layer is responsible for defining business logic (rules, workflows, data integrity, etc.), receiving data requests from the presentation layer, submitting requests to the data access layer after logical judgment, and delivering data access results.
[0051] 2) Data flow: refers to the process of how data flows between various systems or components in an information system or business process. In BI (Business Intelligence) projects, data flow is the key to solving problems at the data application and data analysis levels. Data Flow Diagram (DFD) is a graphical tool used to describe the data flow in a system, including the system's functions, inputs, outputs, and data storage.
[0052] At present, the technical development of smart home management systems is still in the stage of exploration and improvement. First, because the AI model has not yet formed a standardized system, the industry lacks a unified application methodology and quantitative evaluation standards, which leads to difficulties in the project evaluation and design stages. Secondly, the vertical field model data support is insufficient, and enterprises generally lack the data resources accumulated in the early stage. The existing data mainly exists in a structured form, which is horizontally fragmented and lacks vertical associations, resulting in data barriers. It is impossible to establish the coupling of information features from a high dimension, which affects the maximization of data value. In addition, data tracing is difficult, problem location is difficult, the data flow between the user platform and the business system is complex and diverse, and there are challenges in tracing data in the later stage, which increases maintenance costs and system failure risks. At the same time, the intelligent service applications in the home scene are complex and diverse, and the user's voice input often has the characteristics of colloquialism, simple words and implicit intentions, making it difficult for traditional semantic parsing methods to accurately identify user intentions. In addition, the lack of modularity, flexibility and scalability of the technology platform also limits its wide application in home smart services.
[0053] Therefore, the existing smart home management systems face problems such as lack of systematization in applications, lack of data support for businesses, and lack of security in deployment.
[0054] Based on this, the embodiments of the present application propose a smart home management system, method, electronic device and storage medium, which adopts a layered design concept to construct a smart home management system including an application service layer, a business logic layer and a service deployment layer. The smart home management system integrates functions such as speech recognition, natural language processing, artificial intelligence large models and vector retrieval, provides comprehensive smart home management services, and meets users' smart home management needs.
[0055] Reference Figure 1 , Figure 1 It is an optional structural diagram of a smart home management system provided by an embodiment of the present application, the system includes an application service layer, a business logic layer and a service deployment layer;
[0056] The application service layer is used to receive the home management control instruction, determine the corresponding target home management application service according to the home management control instruction, and generate the corresponding service call instruction;
[0057] The business logic layer is used to receive the service call instruction, determine the target task processing logic from multiple task processing logics, determine several target home management intelligent agents associated with the target task processing logic according to the target task processing logic, call each target home management intelligent agent according to the target task processing logic, and execute the home management task;
[0058] The service deployment layer is used to store the home management intelligent agent and each task processing logic, and manage each task processing logic and each home management intelligent agent.
[0059] In some embodiments, optionally, the home management service includes smart home device management service, family health management service, home entertainment management service, home security monitoring management service, education assistance management service and personalized home customization service.
[0060] In some embodiments, reference Figure 2 , Figure 2 is an optional structural diagram of the application service layer in the embodiment of the present application, the application service layer includes a user interaction module and an instruction generation module;
[0061] A user interaction module, for collecting corresponding home management control instructions in response to user interaction operations, identifying the home management control instructions, and determining corresponding home management control information;
[0062] The instruction generation module is used to parse the home management control information, determine the target home management application service that matches the home management control information from multiple home management application services, and generate a service call instruction corresponding to the target home management application service.
[0063] In some embodiments, the application service layer integrates speech recognition and AI technology to implement various home management services. The application service layer provides home management services including smart home device management services, family health management services, home entertainment management services, home security monitoring management services, education assistance management services, and personalized home customization services. The specific contents of each home management service are as follows:
[0064] Smart home device management service: Control all smart devices in the home, such as lights, air conditioners, and home appliances, through voice commands. Users can adjust various devices in the home through simple voice commands, achieving one-click operation and scenario-based management;
[0065] Family health management service: Integrate various health monitoring devices and data in the family scene, provide real-time monitoring, analysis and feedback of health data through voice interaction, help users manage the health status of family members, and provide personalized health advice and reminders;
[0066] Home entertainment management service: Provides rich entertainment content through voice commands, including video on demand, music playback, game interaction, etc. Users can search and control playback content through voice and enjoy high-quality home entertainment experience;
[0067] Educational assistance management service: Provide intelligent educational support for students at home, including online courses, study guidance, homework management, etc. Users can use voice to query courses, manage study plans, and answer questions about knowledge points to improve learning efficiency;
[0068] Home security monitoring and management service: control and monitor home security equipment, such as smart door locks, surveillance cameras, alarm systems, etc., through voice commands. Users can view real-time monitoring images, query security logs, and control security equipment through voice to ensure home safety;
[0069] Personalized home customization service: Analyze user behaviors and preferences through AI technology to provide personalized services and suggestions, such as personalized movie recommendations, news recommendations, shopping suggestions, travel reminders, etc., to meet users' personalized needs.
[0070] In some embodiments, the user interaction module includes a user interaction platform, which responds to user interaction operations through the user interaction platform to collect the user's home management control instructions, including voice instructions or physical button touch instructions, and implements control and management of each home smart management service according to the home management control instructions.
[0071] For example, a user inputs a fuzzy request through voice, and the corresponding home management control instruction is: "I am in a bad mood and want to watch a movie that suits me." Based on the home management control instruction, natural speech processing and semantic recognition are performed to determine the home management control information as: turn on the TV to automatically play a highly recommended comedy movie. The corresponding target home management application service is a personalized home customization service.
[0072] In some embodiments, the instruction generation module determines a target home management application service that matches the home management control information from multiple home management application services, and generates a corresponding service call instruction, which includes a call instruction and home management control information of the target home management application service.
[0073] In some embodiments, reference Figure 3 , Figure 3 It is an optional structural diagram of the business logic layer in the embodiment of the present application, and the business logic layer includes an agent calling module and a task logic calling module;
[0074] The task logic calling module is used to determine the home management task according to the service calling instruction, obtain the task logic calling mapping relationship, determine the target task processing logic corresponding to the home management task from multiple task processing logics according to the task logic calling mapping relationship, and call the target task processing logic;
[0075] The intelligent agent calling module is used to determine the business logic and data flow according to the target task processing logic, determine the target home management intelligent agents that match the business logic from multiple home management intelligent agents according to the business logic, and call each target home management intelligent agent according to the business logic and data flow to perform home management tasks.
[0076] In some embodiments, the task processing logic includes business logic and data flow, which are closely related. The business logic defines the processing rules and processes of the data, and the data flow describes how the data flows in the system.
[0077] The task logic calling module determines the home management task according to the home management control information contained in the service calling instruction, and determines the corresponding target task processing logic according to the home management task. For example, if the home management control information is: turn on the living room TV, then the corresponding home management task is the living room TV turning on task. According to the task logic calling mapping relationship, the target task processing logic corresponding to the living room TV turning on task is obtained from the service deployment layer. According to the target task processing logic, each target home management agent associated with the living room TV turning on task is called from the service deployment layer to execute the living room TV turning on task.
[0078] For example, the task logic call mapping relationship is used to represent the mapping relationship between each task processing logic and each home management task, referring to Figure 4 , Figure 4 It is an optional schematic diagram of the task logic call mapping relationship in the embodiment of the present application, wherein the task logic call mapping relationship includes task processing logic 1 to N and home management tasks 1 to N, home management task 1 is associated with task processing logic 1, home management task 2 is associated with task processing logic 2, home management task N is associated with task processing logic N, and so on.
[0079] In some embodiments, reference Figure 5 , Figure 5 It is an optional schematic diagram of the target task processing logic in the embodiment of the present application, wherein the target processing task logic is: the application service layer outputs data 1, receives data 1 through home management intelligent body 1, parses and processes data 1, outputs data 2, receives data 2 through home management intelligent body 2, parses and processes data 2, outputs data 3, receives data 3 through home management intelligent body 3, parses and processes data 3, outputs data 4, receives data 4 through the target home control device, and executes related functions. The target home management intelligent bodies associated with the target processing task logic include home management intelligent body 1, home management intelligent body 2 and home management intelligent body 3, which call home management intelligent body 1, home management intelligent body 2 and home management intelligent body 3 in sequence.
[0080] In some embodiments, the home management intelligent agent integrates the AI big model and intelligent agent technology to achieve flexible business deployment and decision-making. The AI big model performs business orchestration, scheduling, decision-making and execution. The home management intelligent agents communicate and collaborate through the service bus, so that data and instructions can be transmitted efficiently and reliably.
[0081] Exemplarily, the home management agent may include, but is not limited to, a user management agent, a device management agent, a data processing agent, an intelligent recommendation agent, a security management agent, a health monitoring agent, and a learning progress management agent, as follows:
[0082] User management agent: responsible for user identity authentication and permission allocation, using AI algorithms to analyze user behavior data and generate personalized service recommendations;
[0083] Device management agent: Automatically identify and manage smart devices in the home through AI big models, and optimize the linkage and control strategies between devices;
[0084] Data processing agent: Use AI big models to preprocess and analyze data, including data cleaning, feature extraction, and pattern recognition, to improve data accuracy and effectiveness;
[0085] Intelligent recommendation agent: Analyzes the user's historical behavior and preferences through deep learning algorithms, generates personalized recommendations in real time, and improves user experience. The voice processing agent uses natural language processing (NLP) technology to achieve voice recognition, semantic understanding, and intent analysis, supporting natural interaction between users and the system;
[0086] Security management agent: uses AI models to monitor abnormal situations in the home environment, provides real-time warnings and generates emergency response plans, which can be used to implement home security monitoring and management services;
[0087] Health monitoring agent: It analyzes health data through AI models, provides personalized health advice and early warning services, and can be used to implement family health management services;
[0088] Learning progress management agent: uses machine learning algorithms to track users’ learning progress and generate personalized learning plans and reports, which can be used to implement educational auxiliary management services;
[0089] Anomaly detection agent: Utilizes big data analysis and AI technology to monitor abnormal situations in the system in real time and take corresponding measures to implement home security monitoring and management services.
[0090] In some embodiments, the service deployment layer is seamlessly integrated with the business logic layer and the application service layer, referring to Figure 6 , Figure 6 It is an optional structural diagram of the service deployment layer in the embodiment of the present application, and the service deployment layer includes an agent management module and a task logic management module;
[0091] An agent management module is used to store each home management agent and manage each home management agent accordingly, including at least agent training, deployment, version control and optimization, and agent data management. The agent data includes agent structure data and agent identification data.
[0092] The task logic management module is used to store each task processing logic and manage each task processing logic, including at least data modification and data deletion of the task processing logic.
[0093] In some embodiments, the agent management module is responsible for the training, deployment, version control and optimization of each home management agent. Through automated tools and platforms, the update and iteration of each home management agent can quickly respond to business needs, while realizing parallel management and collaborative work of multiple models, and unified management and version control of agent data (such as static code), and through continuous integration and continuous deployment (CI / CD) tools, the high quality and rapid release of each home management agent are maintained. At the same time, the agent management module provides a model calling interface, and the agent calling module calls each home management agent through the model calling interface.
[0094] In some embodiments, the task logic management module stores and manages each task processing logic through a distributed database and a data lake, and provides a data calling interface. The task logic calling module calls each task processing logic according to the data calling interface.
[0095] In some embodiments, the service deployment layer further includes a resource management module and a data management module;
[0096] A resource management module, used to manage the task processing resources of the home management task, including at least task computing resource management, network management and information security management;
[0097] The data management module is used to store task processing data and service evaluation results, and manage the task processing data and service evaluation results.
[0098] In some embodiments, the data management module stores and manages the massive data generated during the operation of the system, including task processing data and service evaluation results, through a distributed database and a data lake, and supports efficient reading and writing of data.
[0099] In some embodiments, reference Figure 7 , Figure 7It is an optional structural diagram of the resource management module in the embodiment of the present application. The resource management module includes a computing resource management unit, a network management unit and an information security management unit. Specifically, the computing resource management module is responsible for task computing resource management. Through virtualization and containerization technology, it dynamically allocates and manages the computing resources required by the system to ensure the efficient operation of each intelligent agent and AI large model, and optimizes resource utilization through load balancing and resource scheduling algorithms; the network management unit is responsible for network management, which includes the configuration and management of internal and external networks of the system, so that data transmission between modules is efficient and stable, and high-availability and high-performance network connections are achieved through multi-level network architecture design; the information security management unit is responsible for information security management, and through a variety of security strategies and technical means, it ensures the overall security of the system, including identity authentication, authority management, data encryption, firewalls and intrusion detection, etc., so that the system is protected from external attacks and internal leaks, and security threats are discovered and handled in a timely manner through security monitoring and auditing.
[0100] In some embodiments, reference Figure 8 , Figure 8 is another optional structural diagram of the application service layer in the embodiment of the present application, and the application service layer also includes a data collection module and a service result feedback module;
[0101] A data collection module is used to collect task processing data generated when each target home management agent performs home management tasks;
[0102] The service result feedback module is used to obtain multiple service evaluation quantitative indicators and task processing data corresponding to the home management task, and determine the service evaluation result based on the task processing data. The service evaluation result includes the quantitative indicator value of each service evaluation quantitative indicator corresponding to the task processing data.
[0103] In some embodiments, for home device control tasks, when a user controls a smart home device (such as turning on a light or adjusting the temperature) through voice commands, it is necessary to calculate the total response time from when the user issues a voice command to when the device executes the command. The service evaluation quantitative indicators include the device response time, which are as follows:
[0104] T response =T recognition +T processing +T excecution ;
[0105] Among them, T response Refers to the total response time, that is, the time from the user speaking to the device executing the command, T recognition Refers to the speech recognition time, that is, the time it takes for the system to convert the user's speech into text, T processing Refers to the semantic processing time, that is, the time it takes for the system to parse the user's voice command and generate specific execution instructions.excecution Refers to the device execution time, that is, the time it takes for the device to receive an instruction and perform the corresponding operation.
[0106] For scene management tasks, when switching between preset smart home scenes (such as switching from "home mode" to "away mode"), the success rate of scene switching needs to be evaluated. The service evaluation quantitative indicators include scene switching efficiency, as follows:
[0107]
[0108] Among them, E transition Refers to the scene switching efficiency, that is, the percentage of successful switching times to the total number of attempts, N success Refers to the number of successful switching, that is, the number of successful scene switching, N total Refers to the total number of switching attempts, that is, the number of attempts to switch all scenes.
[0109] For health monitoring tasks, in home health monitoring, by analyzing the data of health parameters (such as heart rate and blood pressure), detect whether there are abnormal conditions. The service evaluation quantitative indicators include health parameter abnormality detection, as follows:
[0110]
[0111] Among them, D anomaly Refers to the abnormal detection value, that is, the abnormal degree of the detected health parameter, x i It refers to the i-th health parameter value, that is, the currently measured health parameter value, μ is the mean of the health parameter, that is, the average value of the health parameter over a period of time, σ is the standard deviation of the health parameter, that is, the fluctuation range of the health parameter over a period of time, and N refers to the number of parameters, that is, the total number of health parameters detected.
[0112] For home entertainment tasks, in video on demand services, personalized movies or programs are recommended to users based on their viewing history and preferences. The quantitative indicators for service evaluation include the recommendation system score, as follows:
[0113]
[0114] Among them, S recommendation Refers to the recommendation score, that is, the recommendation score calculated based on user preferences, ω i refers to the weight, that is, the importance of a specific feature in the recommendation system, i (u,v) refers to the specific feature function between user u and video v, that is, the calculation of the matching degree between user and video by feature i, and N refers to the number of features, that is, the total number of features considered by the recommendation system.
[0115] For educational assistance tasks, in the family education assistance service, the learning progress of online courses is monitored by evaluating the number of learning modules completed by users. The quantitative indicators of service evaluation include learning progress evaluation, as follows:
[0116]
[0117] Among them, P learning Refers to the learning progress, that is, the percentage of learning modules completed by the user to the total number of modules, M completed Refers to the number of completed modules, that is, the number of learning modules that the user has completed, M total Refers to the total number of modules, i.e. the number of all learning modules in the course.
[0118] For home security monitoring tasks, in the home security monitoring system, by evaluating the accuracy of the alarm, the system can correctly identify security threats and reduce false alarms. The service evaluation quantitative indicators include alarm accuracy, as follows:
[0119]
[0120] Among them, A alert Refers to the alarm accuracy, that is, the percentage of correct alarms to the total alarms, N tp With N fp Refers to the number of true alarms and the number of false alarms respectively.
[0121] For intelligent recommendation tasks, customized services or products are recommended to users based on their preferences and historical behaviors. The quantitative indicators for service evaluation include preference matching, as follows:
[0122]
[0123] Among them, M perference Refers to the preference matching degree, that is, the matching score calculated according to user preferences, ω i Refers to the weight, that is, the importance of a specific feature in the matching calculation, sim(p i ,u i ) refers to the similarity function between user preference p and service feature u, that is, the calculation of the matching degree between feature i and user and service, and N refers to the number of features, that is, the total number of features considered in the matching degree calculation.
[0124] Reference Fig. 9 , Fig. 9 This is an optional flowchart of a smart home management method provided by an embodiment of the present application. The method may include but is not limited to steps S101 to S103:
[0125] Step S101, receiving a home management control instruction, determining a corresponding target home management application service according to the home management control instruction and generating a corresponding service call instruction;
[0126] Step S102, determining a target task processing logic from a plurality of task processing logics according to the service call instruction, and determining a plurality of target home management agents associated with the target task processing logic according to the target task processing logic;
[0127] Step S103, calling each target home management agent according to the target task processing logic to execute the home management task.
[0128] It can be understood that the contents of the above method embodiments are all applicable to the present device embodiments, the functions specifically implemented by the present device embodiments are the same as those of the above method embodiments, and the beneficial effects achieved are also the same as those achieved by the above method embodiments.
[0129] The embodiment of the present application also provides an electronic device, the electronic device includes a memory and a processor, the memory stores a computer program, and the processor implements the above-mentioned smart home management method when executing the computer program. The electronic device can be any smart terminal including a tablet computer.
[0130] It can be understood that the contents of the above system embodiments are all applicable to the present method embodiments, the functions specifically implemented by the present method embodiments are the same as those of the above system embodiments, and the beneficial effects achieved are also the same as those achieved by the above system embodiments.
[0131] See also Fig.10 , Fig.10 The hardware structure of an electronic device of another embodiment is illustrated, and the electronic device includes:
[0132] The processor 901 may be implemented by a general-purpose CPU (Central Processing Unit), a microprocessor, an application-specific integrated circuit (Application Specific Integrated Circuit, ASIC), or one or more integrated circuits, and is used to execute relevant programs to implement the technical solutions provided in the embodiments of the present application;
[0133] The memory 902 can be implemented in the form of a read-only memory (ROM), a static storage device, a dynamic storage device, or a random access memory (RAM). The memory 902 can store an operating system and other application programs. When the technical solution provided in the embodiment of this specification is implemented by software or firmware, the relevant program code is stored in the memory 902, and the processor 901 calls and executes the smart home management method of the embodiment of this application;
[0134] Input / output interface 903, used to implement information input and output;
[0135] Communication interface 904, used to realize communication interaction between the device and other devices, which can be realized by wired mode (such as USB, network cable, etc.) or wireless mode (such as mobile network, WIFI, Bluetooth, etc.);
[0136] A bus 905 that transmits information between various components of the device (e.g., the processor 901, the memory 902, the input / output interface 903, and the communication interface 904);
[0137] The processor 901 , the memory 902 , the input / output interface 903 and the communication interface 904 are connected to each other in communication within the device via a bus 905 .
[0138] An embodiment of the present application also provides a computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, the above-mentioned smart home management method is implemented.
[0139] It can be understood that the contents of the above method embodiments are all applicable to the present storage medium embodiments, the functions specifically implemented by the present storage medium embodiments are the same as those of the above method embodiments, and the beneficial effects achieved are also the same as those achieved by the above method embodiments.
[0140] The memory, as a non-transient computer-readable storage medium, can be used to store non-transient software programs and non-transient computer executable programs. In addition, the memory may include a high-speed random access memory, and may also include a non-transient memory, such as at least one disk storage device, a flash memory device, or other non-transient solid-state storage device. In some embodiments, the memory may optionally include a memory remotely disposed relative to the processor, and these remote memories may be connected to the processor via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0141] The embodiment of the present application provides a smart home management system, method, electronic device and storage medium, which receives a home management control instruction through an application service layer, determines the corresponding target home management application service and generates a corresponding service call instruction according to the home management control instruction, receives the service call instruction through a business logic layer, determines the corresponding target task processing logic and each target home management intelligent body, calls each target home management intelligent body to perform the home management task according to the target task processing logic, stores each home management intelligent body and multiple task processing logics corresponding to each home management intelligent body through a service deployment layer, and manages each task processing logic and each home management intelligent body. The embodiment of the present application can adopt a hierarchical design approach to construct a smart home management system, realize standardized smart home management, improve the efficiency of smart home management, enhance the effect of smart home management, and meet the smart home management needs of users.
[0142] The embodiments described in the embodiments of the present application are intended to more clearly illustrate the technical solutions of the embodiments of the present application and do not constitute a limitation on the technical solutions provided in the embodiments of the present application. Those skilled in the art will appreciate that with the evolution of technology and the emergence of new application scenarios, the technical solutions provided in the embodiments of the present application are also applicable to similar technical problems.
[0143] Those skilled in the art will appreciate that the technical solutions shown in the figures do not constitute a limitation on the embodiments of the present application, and may include more or fewer steps than shown in the figures, or a combination of certain steps, or different steps.
[0144] The device embodiments described above are merely illustrative, and the units described as separate components may or may not be physically separated, that is, they may be located in one place or distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0145] Those skilled in the art will appreciate that all or some of the steps in the methods disclosed above, and the functional modules / units in the systems and devices may be implemented as software, firmware, hardware, or a suitable combination thereof.
[0146] The terms "first", "second", "third", "fourth", etc. (if any) in the specification 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.
[0147] It should be understood that in the present application, "at least one (item)" means one or more, and "plurality" means two or more. "And / or" is used to describe the association relationship of associated objects, indicating that three relationships may exist. For example, "A and / or B" can mean: only A exists, only B exists, and A and B exist at the same time, where A and B can be singular or plural. The character " / " generally indicates that the objects associated before and after are in an "or" relationship. "At least one of the following" or similar expressions refers to any combination of these items, including any combination of single or plural items. For example, at least one of a, b or c can mean: a, b, c, "a and b", "a and c", "b and c", or "a and b and c", where a, b, c can be single or multiple.
[0148] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the above units is only a logical function division. There may be other division methods in actual implementation, such as 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 devices or units, which can be electrical, mechanical or other forms.
[0149] The units described above 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.
[0150] 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.
[0151] It should be appreciated that embodiments of the present invention may be implemented or enforced by computer hardware, a combination of hardware and software, or by computer instructions stored in a non-transitory computer-readable memory. The method may be implemented in a computer program using standard programming techniques including a non-transitory computer-readable storage medium configured with a computer program, wherein the storage medium so configured causes the computer to operate in a specific and predefined manner - according to the methods and drawings described in the specific embodiments. Each program may be implemented in a high-level procedural or object-oriented programming language to communicate with a computer system. However, if desired, the program may be implemented in an assembly or machine language. In any case, the language may be a compiled or interpreted language. In addition, the program may be run on a programmed ASIC for this purpose.
[0152] If the integrated 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 technical solution of the present application, 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, and the computer software product is stored in a storage medium, including multiple instructions to enable a computer device (which can be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods of various embodiments of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (Read-Only Memory, referred to as ROM), random access memory (Random Access Memory, referred to as RAM), disk or optical disk and other media that can store programs.
[0153] The preferred embodiments of the present invention are described above with reference to the accompanying drawings, but the scope of the rights of the present invention is not limited thereto. Any modification, equivalent substitution and improvement made by a person skilled in the art without departing from the scope and essence of the present invention should be within the scope of the rights of the present invention.
Claims
1. A smart home management system, characterized in that: The system includes an application service layer, a business logic layer, and a service deployment layer; The application service layer is used to receive the home management control instruction, determine the corresponding target home management application service according to the home management control instruction, and generate the corresponding service call instruction; The business logic layer is used to receive the service call instruction, determine a target task processing logic from a plurality of task processing logics, determine a plurality of target home management agents associated with the target task processing logic, and call each of the target home management agents according to the target task processing logic to execute the home management task; The service deployment layer is used to store the home management intelligent entity and each task processing logic, and manage each task processing logic and each home management intelligent entity.
2. The smart home management system according to claim 1, characterized in that: The application service layer includes a user interaction module and an instruction generation module; The user interaction module is used to collect the corresponding home management control instruction in response to the user interaction operation, identify the home management control instruction, and determine the corresponding home management control information; The instruction generation module is used to parse the home management control information, determine the target home management application service that matches the home management control information from multiple home management application services, and generate a service call instruction corresponding to the target home management application service.
3. The smart home management system according to claim 2, characterized in that: The business logic layer includes an agent calling module and a task logic calling module; The task logic calling module is used to determine the home management task according to the service calling instruction, obtain the task logic calling mapping relationship, determine the target task processing logic corresponding to the home management task from the multiple task processing logics according to the task logic calling mapping relationship, and call the target task processing logic; The agent calling module is used to determine the business logic and data flow according to the target task processing logic, determine each target home management agent that matches the business logic from multiple home management agents according to the business logic, and call each target home management agent according to the business logic and the data flow to execute the home management task.
4. The smart home management system according to claim 1, characterized in that: The service deployment layer includes an agent management module and a task logic management module; The agent management module is used to store each of the home management agents and manage each of the home management agents, including at least training, deployment, version control and optimization of the agents and agent data management, wherein the agent data includes agent structure data and agent identification data; The task logic management module is used to store each of the task processing logics and manage each of the task processing logics, including at least data modification and data deletion of the task processing logic.
5. The smart home management system according to claim 1, characterized in that: The application service layer also includes a data collection module and a service result feedback module; The data collection module is used to collect task processing data generated when each of the target home management agents performs the home management task; The service result feedback module is used to obtain multiple service evaluation quantitative indicators and the task processing data corresponding to the home management task, and determine the service evaluation result based on the task processing data. The service evaluation result includes the quantitative indicator value of each service evaluation quantitative indicator corresponding to the task processing data.
6. The smart home management system according to claim 5, characterized in that: The service deployment layer also includes a resource management module and a data management module; The resource management module is used to manage the task processing resources of the home management task, including at least task computing resource management, network management and information security management; The data management module is used to store the task processing data and the service evaluation result, and manage the task processing data and the service evaluation result.
7. The smart home management system according to claim 1, characterized in that: The home management services include smart home equipment management services, family health management services, home entertainment management services, home security monitoring management services, education assistance management services and personalized home customization services.
8. A smart home management method, characterized in that: The method comprises the following steps: Receive a home management control instruction, determine a corresponding target home management application service according to the home management control instruction, and generate a corresponding service call instruction; According to the service call instruction, determine a target task processing logic from a plurality of task processing logics, and according to the target task processing logic, determine a plurality of target home management agents associated with the target task processing logic; The target home management agents are called according to the target task processing logic to execute the home management tasks.
9. An electronic device, characterized in that: The electronic device includes a memory and a processor, the memory stores a computer program, and the processor implements the smart home management method described in claim 8 when executing the computer program.
10. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the smart home management method of claim 8 is implemented.
Citation Information
Cited By
Home monitoring method and system based on multi-agent large model
CN120751089A
Intelligent household system based on agent and control method
CN121857358A