Intelligent decision-making method and system for smart home, electronic equipment and storage medium

By introducing the cloud, gateway and sensor terminal into the smart home system, based on the decision matrix and deep learning model, the whole-home grid management and AI decision-making of the smart home system are realized, which solves the problem of the flexibility and flexibility of the decision-making hierarchy in the existing technology. The problem of low level of intelligence improves the response speed and level of intelligence.

CN118732522APending Publication Date: 2024-10-01FOSHAN QITE TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410983264.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-22
Publication Date
2024-10-01

AI Technical Summary

Technical Problem

Existing smart home control solutions lack flexible decision-making hierarchy and intelligent decision-making capabilities, and cannot flexibly adjust decision-making paths according to different scenarios, resulting in slow response speed, low intelligence, lack of AI decision-making capabilities, and difficulty in achieving automated decision-making and active control.

Method used

By introducing clouds, gateways and sensing terminals into smart home systems, decision-making devices are determined based on pre-configured execution attributes and decision matrices to achieve hierarchical storage and real-time synchronization of sensing data, with options of end-to-end, edge-to-end or The cloud-to-edge execution path combines deep learning models to update the decision matrix and actively control it.

Benefits of technology

It realizes grid-based management of the whole house and precise collaboration between sensing terminals and execution terminals, improves the level of intelligence, ensures the consistency and accuracy of data, and has AI decision-making capabilities to meet the personalized needs of users.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118732522A_ABST
    Figure CN118732522A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of data processing, in particular to an intelligent decision-making method and system for a smart home, electronic equipment and a storage medium, and the method comprises the steps that a sensing terminal obtains a pre-configured execution attribute, and determines decision-making equipment based on the execution attribute; the execution attributes comprise direct drive and linkage; when the execution attribute is direct drive, the decision-making equipment comprises a sensing terminal; when the execution attribute is linkage, the decision-making equipment comprises a sensing terminal, a cloud end and a gateway; when the sensing terminal detects sensing data, if the decision-making equipment further comprises a cloud end and a gateway, the sensing terminal uploads the sensing data to the cloud end and the gateway; the decision-making device generates execution data based on the sensing data and a decision-making matrix pre-configured in the decision-making device, determines an execution terminal associated with the execution data, and executes the execution data through the execution terminal; according to the invention, automatic decision and active control can be realized.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of data processing technology, and in particular to an intelligent decision-making method, system, electronic device and storage medium for a smart home. Background Art

[0002] Most smart home control solutions in related technologies adopt a single central control system, lack a flexible decision-making hierarchy, and cannot flexibly adjust the decision path according to different scenarios; they lack intelligent decision-making capabilities and cannot achieve automated decision-making and active control. Summary of the invention

[0003] In view of this, the purpose of the embodiments of the present invention is to provide an intelligent decision-making method, system, electronic device and storage medium for a smart home to solve one or more technical problems existing in the prior art and provide at least one beneficial option or create conditions.

[0004] On the one hand, an embodiment of the present invention provides an intelligent decision-making method for a smart home, which is applied to a smart home system, wherein the smart home system includes a cloud, a gateway, a sensor terminal, and an execution terminal;

[0005] The method comprises the following steps:

[0006] The sensor terminal obtains a pre-configured execution attribute, and determines a decision device based on the execution attribute; wherein the execution attribute includes direct drive and linkage; when the execution attribute is direct drive, the decision device includes the sensor terminal; when the execution attribute is linkage, the decision device includes the sensor terminal, the cloud, and the gateway;

[0007] When the sensor terminal detects the sensor data, if the decision-making device further includes a cloud and a gateway, the sensor terminal uploads the sensor data to the cloud and the gateway respectively;

[0008] The decision device generates execution data based on the sensor data and a decision matrix pre-configured in the decision device, determines an execution terminal associated with the execution data, and executes the execution data through the execution terminal.

[0009] Optionally, the method further comprises:

[0010] Establishing a local coordinate system of the device and a global coordinate system of the home space, and determining a spatial mapping relationship between the global coordinate system and the local coordinate system for each device; wherein the device includes a sensor terminal and an execution terminal arranged in the home space;

[0011] Associate the coordinates of each device in the global coordinate system with the corresponding execution properties.

[0012] Optionally, establishing a local coordinate system of the device and a global coordinate system of the home space, and determining a spatial mapping relationship between the global coordinate system and the local coordinate system for each device includes:

[0013] Get the local coordinate system of the device and the global coordinate system of the home space;

[0014] Set the transformation matrix, transform the local coordinate system of the device into the global coordinate system through the transformation matrix, and obtain the spatial mapping relationship between the global coordinate system and the local coordinate system of the device.

[0015] Optionally, the decision device generates execution data based on the sensor data and a decision matrix pre-configured in the decision device, including:

[0016] Acquire a decision matrix pre-configured in a decision device, wherein the decision matrix includes the type of sensing data, threshold conditions, and corresponding action instructions of the decision device;

[0017] Determine the type of sensing data corresponding to the sensing data based on the decision matrix in the decision device, and then determine the threshold condition corresponding to the type of sensing data;

[0018] Determine the corresponding action instruction when the sensing data meets the threshold condition as the execution data.

[0019] Optionally, the decision device generates execution data based on the sensor data and a decision matrix pre-configured in the decision device, determines an execution terminal associated with the execution data, and executes the execution data through the execution terminal, including:

[0020] The sensor terminal generates a first action instruction based on the sensor data, determines a first execution terminal associated with the sensor data, and executes the first action instruction through the first execution terminal.

[0021] Optionally, the decision device generates execution data based on the sensor data and a decision matrix pre-configured in the decision device, determines an execution terminal associated with the execution data, and executes the execution data through the execution terminal, including:

[0022] If the decision-making device further includes a cloud and a gateway, the sensor terminal uploads the sensor data to the gateway and the cloud respectively;

[0023] The gateway performs regional linkage judgment based on the sensor data, determines a second execution terminal associated with the sensor data, generates a corresponding second action instruction, and executes the second action instruction through the second execution terminal;

[0024] The cloud performs a global fusion judgment based on the sensor data, determines a third execution terminal associated with the sensor data, generates a corresponding third action instruction, and executes the third action instruction through the third execution terminal.

[0025] Optionally, the method further comprises:

[0026] The cloud obtains sensor data and execution data, inputs the sensor data and execution data into a pre-deployed deep learning model for training, generates a decision matrix, and updates the decision matrix to the device and the gateway.

[0027] On the other hand, an embodiment of the present invention provides an intelligent decision-making system for a smart home, the system is applied to a smart home system, the smart home system includes a cloud, a gateway, a sensor terminal and an execution terminal;

[0028] The system comprises:

[0029] The first module is used to obtain pre-configured execution attributes and determine a decision device based on the execution attributes; wherein the execution attributes include direct drive and linkage; when the execution attribute is direct drive, the decision device includes a sensor terminal; when the execution attribute is linkage, the decision device includes a sensor terminal, a cloud and a gateway;

[0030] The second module is used for uploading the sensor data to the cloud and the gateway respectively when the sensor terminal detects the sensor data, if the decision-making device also includes a cloud and a gateway;

[0031] The third module is used to generate execution data based on the sensor data and a decision matrix pre-configured in the decision device, and determine an execution terminal associated with the execution data, and execute the execution data through the execution terminal.

[0032] In another aspect, an embodiment of the present invention provides an electronic device, including:

[0033] at least one processor;

[0034] at least one memory for storing at least one program;

[0035] When the at least one program is executed by the at least one processor, the at least one processor implements the above method.

[0036] On the other hand, an embodiment of the present invention provides a computer-readable storage medium, in which a program executable by a processor is stored. When the program executable by the processor is executed by the processor, it is used to perform the above method.

[0037] The embodiments of the present invention include the following beneficial effects: In this embodiment, the decision data (i.e., the decision matrix) and the sensor data are implemented in layers, and the decision data, sensor data, and execution data are stored in the cloud, gateway, sensor terminal, and execution terminal, respectively. According to the requirements of different scenarios, select end-to-end, edge-to-end, or cloud-to-edge execution paths. Realize real-time synchronization and update of data to ensure data consistency and accuracy. The transmission path of the sensor data is determined by the sensor terminal. When the execution attribute of the sensor terminal is direct drive, only the sensor terminal needs to make a decision; when the execution attribute of the sensor terminal is linkage, the sensor terminal, the cloud, and the gateway make integrated linkage decisions, which can realize automated decision-making and active control. BRIEF DESCRIPTION OF THE DRAWINGS

[0038] 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 will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.

[0039] Figure 1 It is a schematic diagram of the steps of a smart decision-making method for a smart home provided by an embodiment of the present invention;

[0040] Figure 2 is an architecture diagram of a smart home system provided by an embodiment of the present invention;

[0041] Figure 3 It is a structural block diagram of an intelligent decision-making system for a smart home provided by an embodiment of the present invention;

[0042] Figure 4 It is a structural block diagram of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0043] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0044] It should be noted that, although the device schematic diagram is divided into modules and the flow chart shows a logical order, in some cases, the steps shown or described may be performed in a different order than the module division in the device or the order in the flow chart. The terms "first", "second", etc. in the specification, claims and the above drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence.

[0045] 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.

[0046] In addition, described feature, structure or characteristic can be combined in one or more embodiments in any suitable manner. In the following description, many specific details are provided to provide a full understanding of the embodiments of the present application. However, those skilled in the art will appreciate that the technical scheme of the present application can be put into practice without one or more of the specific details, or other methods, components, devices, steps, etc. can be adopted. In other cases, known methods, devices, realizations or operations are not shown or described in detail to avoid blurring the various aspects of the application.

[0047] The block diagrams shown in the accompanying drawings are only functional entities and do not necessarily correspond to physically independent entities. That is, these functional entities can be implemented in software form, or in one or more hardware charging modules or integrated circuits, or in different networks and / or processor devices and / or microcontroller devices.

[0048] The flowcharts shown in the accompanying drawings are only exemplary and do not necessarily include all the contents and operations / steps, nor must they be executed in the order described. For example, some operations / steps can be decomposed, and some operations / steps can be combined or partially combined, so the actual execution order may change according to actual conditions.

[0049] In the related technologies, the data interaction solutions of smart home systems mainly include the following methods:

[0050] Most of the smart home control solutions in related technologies use a single central control system, which makes it difficult to achieve grid management of the entire house. At the same time, the separation of decision data and sensor data also leads to problems such as slow response speed and low intelligence. In addition, the existing solutions lack AI decision-making capabilities, cannot achieve active control, and are difficult to meet users' personalized needs for smart homes.

[0051] In traditional smart home systems, there is a lack of effective unified coordination between various devices, resulting in low efficiency of smart control;

[0052] Lack of flexible decision-making hierarchy, unable to flexibly adjust decision paths according to different scenarios;

[0053] Lack of intelligent decision-making capabilities makes it impossible to achieve automated decision-making and proactive control.

[0054] To this end, the present invention provides an intelligent decision-making method, system, electronic device and storage medium for smart home, which has the characteristics of full house gridding, layering of decision data and sensor data, and AI decision-making capabilities. By unifying the whole house into a global coordinate system, accurate coordination between sensor terminals and execution terminals is achieved; by layered data storage, efficient execution path selection in different scenarios is achieved; by regularly updating the AI ​​decision matrix, active control is achieved and the level of intelligence is improved.

[0055] like Figure 1 As shown, Figure 1 An intelligent decision-making method for a smart home provided by an embodiment of the present invention is applied to a smart home system, wherein the smart home system includes a cloud, a gateway, a sensor terminal, and an execution terminal;

[0056] The following is an explanation of the cloud, gateway, sensor terminal, and execution terminal in the smart home system:

[0057] Cloud: The cloud, especially the smart home cloud server, as the core part of the entire system, has multiple functions. First, it provides data storage and processing capabilities, can centrally manage all data collected from sensor terminals, and perform necessary processing and analysis. Secondly, the cloud is also responsible for communicating with other parts (such as gateways, sensor terminals, and execution terminals) to ensure real-time transmission and synchronization of information. In addition, the cloud also has powerful computing power, can run complex algorithms and models, and provide AI decision-making support for the system. Finally, the cloud can also perform remote control and scheduled task settings, making it convenient for users to manage and control smart devices in their homes anytime, anywhere.

[0058] Gateway: As the central node of the system, the gateway is responsible for coordinating and managing the work of each part. It has communication connection functions, and can communicate and connect with sensor terminals and execution terminals through a variety of wireless technologies (such as Wi-Fi, Bluetooth, Zigbee, etc.) to achieve interconnection between devices. In addition, the gateway can also process and store the received data to provide support for subsequent intelligent control and analysis. At the same time, it also has security management functions, which can authenticate and control access to connected smart devices to protect the security of the home network. More importantly, the gateway can automatically control connected smart devices according to preset scenarios and rules, improving the convenience and comfort of home life.

[0059] Sensor terminal: The sensor terminal is the perception layer in the system, responsible for real-time monitoring and collection of various information in the home environment. Common sensor terminals include temperature and humidity sensor terminals, infrared sensor terminals, current sensor terminals, PM2.5 sensor terminals, door magnetic sensor terminals, and gas concentration sensor terminals. These sensor terminals can sense parameters such as temperature, humidity, air quality, and safety status in the home environment in real time, and send the collected data to the gateway or cloud for processing and analysis. Through real-time monitoring and data collection by the sensor terminal, the system can more accurately understand the status of the home environment and provide data support for subsequent intelligent control.

[0060] Execution terminal: The execution terminal is the execution layer in the system, responsible for executing corresponding operations according to the instructions of the cloud or gateway. The execution terminal can include various smart home devices, such as smart lighting equipment, smart security equipment, smart home appliances, etc. When the cloud or gateway makes a decision based on the data of the sensor terminal, it will send the corresponding instructions to the execution terminal. After receiving the instructions, the execution terminal will immediately perform the corresponding operations, such as adjusting the brightness of the lights, starting the security system, controlling the switches of home appliances, etc. Through the rapid response and precise execution of the execution terminal, the system can realize the intelligent control and management of the home environment.

[0061] In summary, the sensor terminal and the execution terminal are deployed in the home space. The cloud, gateway, sensor terminal and execution terminal each have different functions and together constitute the core part of the entire smart home system. They work together to provide users with a more convenient, comfortable and safe home living environment through functions such as data collection, communication connection, data processing and intelligent control.

[0062] The method comprises the following steps:

[0063] S100, the sensor terminal obtains a pre-configured execution attribute, and determines a decision device based on the execution attribute; wherein the execution attribute includes direct drive and linkage; when the execution attribute is direct drive, the decision device includes the sensor terminal; when the execution attribute is linkage, the decision device includes the sensor terminal, the cloud, and the gateway;

[0064] S200, when the sensor terminal detects sensor data, if the decision-making device further includes a cloud and a gateway, the sensor terminal uploads the sensor data to the cloud and the gateway respectively;

[0065] S300, the decision device generates execution data based on the sensor data and a decision matrix pre-configured in the decision device, determines an execution terminal associated with the execution data, and executes the execution data through the execution terminal.

[0066] In this embodiment, decision data (i.e., decision matrix) and sensor data are implemented in layers, by storing decision data, sensor data, and execution data on the end, edge, and cloud, respectively. According to the requirements of different scenarios, end-to-end, edge-to-end, or cloud-to-edge execution paths are selected to achieve real-time synchronization and update of data to ensure data consistency and accuracy.

[0067] In this embodiment, decisions are executed at the cloud, edge, and end layers, where the sensor terminal layer determines the transmission path of the sensor data. When the execution attribute of the sensor terminal is direct drive, only the sensor terminal needs to make decisions; when the execution attribute of the sensor terminal is linkage, the sensor terminal, cloud, and gateway make integrated and linked decisions, which can realize automated decision-making and active control.

[0068] In some embodiments, the method further comprises:

[0069] S101, establishing a local coordinate system of a device and a global coordinate system of a home space, and determining a spatial mapping relationship between the global coordinate system and the local coordinate system for each device; wherein the device includes a sensing terminal and an execution terminal arranged in the home space;

[0070] Specifically, this step realizes the whole house gridding, which is a method of integrating all the equipment, sensor terminals and execution terminals in a predefined global coordinate system. In this way, it is more convenient to manage and control the equipment in the whole house, and realize intelligent and automated home management.

[0071] The specific implementation process is:

[0072] Define the global coordinate system: First, determine a global coordinate system, which will serve as the benchmark for the entire home environment. The origin, direction, and unit length of the global coordinate system should be clear so that the subsequent mapping relationship can be established. For example, a three-dimensional global coordinate system can be established with the center point of the home space or a set fixed point as the origin.

[0073] Establishment of device coordinate system: For each sensor terminal and execution terminal, establish its local coordinate system. These local coordinate systems are based on their own physical position, orientation and characteristics.

[0074] Establishment of mapping relationship: Establish a mapping relationship between the global coordinate system and the local coordinate system of each device. This usually involves the calculation of the coordinate transformation matrix to ensure that the conversion from the local coordinate system to the global coordinate system is accurate.

[0075] S102, associating the coordinates of each device in the global coordinate system with the corresponding execution attributes;

[0076] Specifically, after obtaining the global coordinates of the device in the above steps, the coordinates of the device are associated with the device attributes, where the device attributes that need to be pre-configured include:

[0077] Network attributes: ID, network segment;

[0078] Perceptual attributes: space, human factors, environment, objects;

[0079] Measurement attributes: air, water quality, weather, human body, objects;

[0080] Safety attributes: detection, security, and fire protection;

[0081] Spatial attributes: coordinates in the global coordinate system;

[0082] Execution attributes: direct drive, linkage;

[0083] In this embodiment, the connection and communication between the sensor terminal, the execution terminal and the gateway are realized through the wireless communication protocol. The spatial attributes and execution attributes of the device are associated through device deployment and device attribute configuration. In the global coordinate system, the unified collection and processing of sensor terminal data and the precise control of the execution terminal are realized.

[0084] In some embodiments, the establishing of the local coordinate system of the device and the global coordinate system of the home space, and determining the spatial mapping relationship between the global coordinate system and the local coordinate system of each device includes:

[0085] S110, obtaining a local coordinate system of the device and a global coordinate system of the home space;

[0086] S120, setting a transformation matrix, converting the local coordinate system of the device into the global coordinate system through the transformation matrix, and obtaining a spatial mapping relationship between the global coordinate system and the local coordinate system of the device.

[0087] Specifically, the local coordinate system of the setting device (ie, the sensing terminal and the execution terminal) is expressed as: local =(X local ,Y local ,Z local ); Set the global coordinate system of the home space as: P global =(X global ,Y global ,Z global );

[0088] Set the transformation matrix to T and transform the local coordinate system to the global coordinate system using the following formula:

[0089]

[0090] The transformation matrix T is represented as a 4x4 matrix. The expression of the transformation matrix T is as follows:

[0091]

[0092] Among them, R is a 3*3 rotation matrix, T xyz is the translation vector.

[0093] Specifically, the transformation matrix is ​​expressed as follows:

[0094]

[0095] Among them, r ij Represents the element of the rotation matrix, t x , t y , t z Represents the translation vectors in the x, y, and z directions respectively.

[0096] The above steps enable the establishment of correct correspondence and mapping relationships between devices in different coordinate systems.

[0097] In some embodiments, the decision device generates execution data based on the sensor data and a decision matrix pre-configured in the decision device, including:

[0098] Acquire a decision matrix pre-configured in a decision device, wherein the decision matrix includes the type of sensing data, threshold conditions, and corresponding action instructions of the decision device;

[0099] Determine the type of sensing data corresponding to the sensing data based on the decision matrix in the decision device, and then determine the threshold condition corresponding to the type of sensing data;

[0100] Determine the corresponding action instruction when the sensing data meets the threshold condition as the execution data.

[0101] In some embodiments, the decision device generates execution data based on the sensor data and a decision matrix pre-configured in the decision device, and determines an execution terminal associated with the execution data, and executes the execution data through the execution terminal, including:

[0102] The sensor terminal generates a first action instruction based on the sensor data, determines a first execution terminal associated with the sensor data, and executes the first action instruction through the first execution terminal.

[0103] Specifically, no matter whether the execution attribute of the sensor terminal is direct drive or linkage, the decision device must include the sensor terminal. Therefore, when the sensor terminal detects the sensor data, a first action instruction is generated as the execution data, and the first action instruction is executed by the first execution terminal. The first execution terminal can be associated with the spatial attribute of the sensor terminal, or in combination with the network attribute, perception attribute, measurement attribute, and security attribute.

[0104] In some embodiments, the decision device generates execution data based on the sensor data and a decision matrix pre-configured in the decision device, and determines an execution terminal associated with the execution data, and executes the execution data through the execution terminal, including:

[0105] If the decision-making device further includes a cloud and a gateway, the sensor terminal uploads the sensor data to the gateway and the cloud respectively;

[0106] The gateway performs regional linkage judgment based on the sensor data, determines a second execution terminal associated with the sensor data, generates a corresponding second action instruction, and executes the second action instruction through the second execution terminal;

[0107] The cloud performs a global fusion judgment based on the sensor data, determines a third execution terminal associated with the sensor data, generates a corresponding third action instruction, and executes the third action instruction through the third execution terminal.

[0108] Specifically, the execution of all devices is triggered by the sensor terminal. When the sensor terminal detects the sensor data, the execution attribute of the sensor terminal is judged through the decision matrix of the sensor terminal itself. If the execution attribute is direct drive, when the sensor data exceeds the corresponding set threshold, the execution terminal connected to the sensor terminal is notified to perform the corresponding action.

[0109] In some embodiments, the execution scenario is: if the living room temperature is higher than the set value, the air conditioner is adjusted; in this embodiment, the decision matrix is ​​used in the sensor terminal to store and judge the execution attributes of the device and the corresponding threshold conditions. Its representation can be a two-dimensional data structure, and the decision matrix contains the sensor terminal type, sensor data type, execution attribute, threshold condition and corresponding action instructions.

[0110] The following is an example of a decision matrix representation of an embodiment:

[0111]

[0112]

[0113] It should be noted that the representation of this decision matrix is ​​only one of the embodiments, and can be expanded and adjusted according to actual needs. For example, more columns can be added to store additional information, such as the time interval for action execution, sensor terminal calibration data, etc. In particular, when making a decision matrix judgment, the judgment is made in sequence. In one embodiment, decision sequence 1 is executed first, and then decision sequence 2 is executed. When executing decision sequence 1, the execution attribute is first judged, and then it is judged whether it is within the execution threshold range. If it is within the execution threshold range, the action instruction is executed.

[0114] In some embodiments, if the execution attribute of the air conditioner is linkage, if the temperature sensing terminal detects that the temperature exceeds the set value, the air conditioner is notified to adjust the temperature; at the same time, the sensing terminal transmits the sensing data to the gateway, and the gateway makes a regional linkage judgment. In some embodiments, when the gateway receives data from the temperature sensing terminal and the human body sensing terminal, a regional joint judgment is made. If there are many people in the living room and the temperature may rise, the air volume of the air conditioner is adjusted in advance, and the environment is controlled before the temperature changes, thereby realizing active intelligence.

[0115] At the same time, the gateway uploads the sensor data to the cloud for global fusion judgment.

[0116] In one embodiment, the following scene linkage is executed: when the door sensor terminal detects that someone has left home, it is combined with all the human body sensor terminals globally. If there is no one globally, the leaving home scene linkage is executed, the cleaning robot is linked, and the security sensor terminal is turned on to enter the duty state.

[0117] In some embodiments, the method further comprises:

[0118] The cloud obtains sensor data and execution data, inputs the sensor data and execution data into a pre-deployed deep learning model for training, generates a decision matrix, and updates the decision matrix to the device and gateway.

[0119] In this embodiment, a deep learning model is deployed in the cloud, and the sensor data and execution data are transmitted to the cloud for real-time learning of the decision data and the execution data. After learning to generate a decision matrix, the decision matrix is ​​updated to the device and the gateway at a regular interval, and the hierarchical implementation control of the above steps is performed. The device and the gateway implement active control according to the decision matrix and intelligently adjust the home environment.

[0120] Compared with the prior art, the method provided by the present invention has the following advantages:

[0121] 1. Gridding the entire house, that is, unifying the entire house into a predefined global coordinate system. All sensor terminals and execution terminals have only their own local coordinate system and global coordinate system;

[0122] 2. Decision data and sensor data are layered. Decision data, sensor data, and execution data are stored on the end, edge, and cloud. According to different scenarios, execution is based on end-to-end execution, edge-to-end execution, or cloud-to-edge execution. In this way, the end-to-end execution path is executed in scenarios that require high real-time performance, and the cloud-to-end automation scenario is executed in the global scenario.

[0123] 3. It has AI decision-making capabilities. AI decision-making is completed by deep learning in the cloud to produce a decision matrix, and the learned decision matrix is ​​updated to the device and gateway regularly to perform active control.

[0124] See also Figure 3 , an embodiment of the present invention provides an intelligent decision-making system for a smart home, which is applied to a smart home system, wherein the smart home system includes a cloud, a gateway, a sensor terminal, and an execution terminal;

[0125] The system comprises:

[0126] The first module is used to obtain pre-configured execution attributes and determine a decision device based on the execution attributes; wherein the execution attributes include direct drive and linkage; when the execution attribute is direct drive, the decision device includes a sensor terminal; when the execution attribute is linkage, the decision device includes a sensor terminal, a cloud and a gateway;

[0127] The second module is used for uploading the sensor data to the cloud and the gateway respectively when the sensor terminal detects the sensor data, if the decision-making device also includes a cloud and a gateway;

[0128] The third module is used to generate execution data based on the sensor data and a decision matrix pre-configured in the decision device, and determine an execution terminal associated with the execution data, and execute the execution data through the execution terminal.

[0129] It can be seen that the contents of the above method embodiments are all applicable to the present system embodiments, the functions specifically implemented by the present system 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.

[0130] See also Figure 4 , an embodiment of the present invention provides an electronic device, including:

[0131] at least one processor;

[0132] at least one memory for storing at least one program;

[0133] When the at least one program is executed by the at least one processor, the at least one processor implements the above method.

[0134] It can be seen 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.

[0135] In addition, the embodiment of the present application also discloses a computer program product or a computer program, and the computer program product or the computer program is stored in a computer-readable storage medium. The processor of the computer device can read the computer program from the computer-readable storage medium, and the processor executes the computer program, so that the computer device performs the above method. Similarly, the contents in the above method embodiment are all applicable to the storage medium embodiment, and the functions specifically implemented by the storage medium embodiment are the same as those in the above method embodiment, and the beneficial effects achieved are also the same as those achieved by the above method embodiment.

[0136] 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 charging modules may be selected according to actual needs to achieve the purpose of the present embodiment.

[0137] Those skilled in the art will appreciate that all or some of the steps in the methods disclosed above, and the functional charging modules / units in the systems and devices may be implemented as software, firmware, hardware, or appropriate combinations thereof.

[0138] 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 that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0139] 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.

[0140] 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 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.

[0141] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0142] 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.

[0143] 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 is essentially 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, a server, or a network device, etc.) to execute all or part of the steps of the method described in each embodiment 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.

[0144] 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. An intelligent decision-making method for a smart home, characterized in that: Applied to a smart home system, the smart home system includes a cloud, a gateway, a sensor terminal and an execution terminal; The method comprises the following steps: The sensor terminal obtains a pre-configured execution attribute, and determines a decision device based on the execution attribute; wherein the execution attribute includes direct drive and linkage; when the execution attribute is direct drive, the decision device includes the sensor terminal; when the execution attribute is linkage, the decision device includes the sensor terminal, the cloud, and the gateway; When the sensor terminal detects the sensor data, if the decision-making device further includes a cloud and a gateway, the sensor terminal uploads the sensor data to the cloud and the gateway respectively; The decision device generates execution data based on the sensor data and a decision matrix pre-configured in the decision device, determines an execution terminal associated with the execution data, and executes the execution data through the execution terminal.

2. The method according to claim 1, characterized in that The method further comprises: Establishing a local coordinate system of the device and a global coordinate system of the home space, and determining a spatial mapping relationship between the global coordinate system and the local coordinate system for each device; wherein the device includes a sensor terminal and an execution terminal arranged in the home space; Associate the coordinates of each device in the global coordinate system with the corresponding execution properties.

3. The method according to claim 2, characterized in that The step of establishing a local coordinate system of the device and a global coordinate system of the home space, and determining a spatial mapping relationship between the global coordinate system and the local coordinate system of each device includes: Get the local coordinate system of the device and the global coordinate system of the home space; Set the transformation matrix, transform the local coordinate system of the device into the global coordinate system through the transformation matrix, and obtain the spatial mapping relationship between the global coordinate system and the local coordinate system of the device.

4. The method according to claim 1, characterized in that: The decision device generates execution data based on the sensor data and a decision matrix pre-configured in the decision device, including: Acquire a decision matrix pre-configured in a decision device, wherein the decision matrix includes the type of sensing data, threshold conditions, and corresponding action instructions of the decision device; Determine the type of sensing data corresponding to the sensing data based on the decision matrix in the decision device, and then determine the threshold condition corresponding to the type of sensing data; Determine the corresponding action instruction when the sensing data meets the threshold condition as the execution data.

5. The method according to claim 1, characterized in that: The decision device generates execution data based on the sensor data and a decision matrix pre-configured in the decision device, determines an execution terminal associated with the execution data, and executes the execution data through the execution terminal, including: The sensor terminal generates a first action instruction based on the sensor data, determines a first execution terminal associated with the sensor data, and executes the first action instruction through the first execution terminal.

6. The method according to claim 1 or 5, characterized in that: The decision device generates execution data based on the sensor data and a decision matrix pre-configured in the decision device, determines an execution terminal associated with the execution data, and executes the execution data through the execution terminal, including: If the decision-making device further includes a cloud and a gateway, the sensor terminal uploads the sensor data to the gateway and the cloud respectively; The gateway performs regional linkage judgment based on the sensor data, determines a second execution terminal associated with the sensor data, generates a corresponding second action instruction, and executes the second action instruction through the second execution terminal; The cloud performs a global fusion judgment based on the sensor data, determines a third execution terminal associated with the sensor data, generates a corresponding third action instruction, and executes the third action instruction through the third execution terminal.

7. The method according to claim 1, characterized in that The method further comprises: The cloud obtains sensor data and execution data, inputs the sensor data and execution data into a pre-deployed deep learning model for training, generates a decision matrix, and updates the decision matrix to the device and the gateway.

8. An intelligent decision-making system for a smart home, characterized in that: The system is applied to a smart home system, which includes a cloud, a gateway, a sensor terminal and an execution terminal; The system comprises: The first module is used to obtain pre-configured execution attributes and determine a decision device based on the execution attributes; wherein the execution attributes include direct drive and linkage; when the execution attribute is direct drive, the decision device includes a sensor terminal; when the execution attribute is linkage, the decision device includes a sensor terminal, a cloud and a gateway; The second module is used for uploading the sensor data to the cloud and the gateway respectively when the sensor terminal detects the sensor data, if the decision-making device also includes a cloud and a gateway; The third module is used to generate execution data based on the sensor data and a decision matrix pre-configured in the decision device, and determine an execution terminal associated with the execution data, and execute the execution data through the execution terminal.

9. An electronic device, characterized in that: include: at least one processor; at least one memory for storing at least one program; When the at least one program is executed by the at least one processor, the at least one processor implements the method according to any one of claims 1 to 7.

10. A computer-readable storage medium storing a program executable by a processor, characterized in that: The processor-executable program is used to perform the method according to any one of claims 1 to 7 when executed by the processor.