Household scenarized intelligent control method and system based on Internet of Things
By establishing a scene recognition model and a behavior probability calculation module in the smart home system to identify user scenarios and send control instructions, the problem of insufficient scene control and operational complexity of the smart home system is solved, personalized automated control is achieved, and user experience is improved. experience and energy efficiency.
Patent Information
- Application Number
- CN202410914751.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-09
- Publication Date
- 2024-10-11
AI Technical Summary
Existing smart home systems lack scene-based control capabilities and cannot achieve refined and personalized intelligent control. Users need to operate different devices through multiple applications or interfaces. The operation is complex and unfriendly, and there is a lack of interconnection between devices of different brands. standard.
By obtaining the user's scene characteristics in the home environment, establishing a scene recognition model, using sensors and cameras to identify the current scene, calculating the user's possible behavioral probabilities, and sending control instructions to smart devices, realizing personalized automated control of the smart home system.
The response sensitivity and degree of personalization of the smart home system have been improved. Users do not need to manually adjust the equipment. The system can predict and respond to user needs, provide a more suitable living environment, save energy, enhance living comfort and satisfaction, and simplify user operation processes.
Smart Images

Figure CN118759868A_ABST
Abstract
Description
Technical Field
[0001] The present invention proposes a scenario-based intelligent control method and system for a home based on the Internet of Things, belonging to the technical field of intelligent home control. Background Art
[0002] With the rapid development of information technology and network communication technology, smart home has gradually become an important part of modern life. As one of the core technologies of smart home, Internet of Things technology makes it possible to automatically control and remotely monitor home devices. The Internet of Things uses various sensors, actuators and network devices to realize real-time data collection, transmission and processing, thereby providing users with a convenient, comfortable and intelligent living environment. Although Internet of Things technology has made certain progress in the field of smart home, how to achieve refined and scenario-based intelligent control is still an important research direction.
[0003] Most of the current smart home systems are still limited to the control of a single device or a single function. Fragmented control, such as independent operation of smart lights and smart curtains, lacks integrity and scene linkage. The degree of intelligence is limited. Many existing smart home systems mainly perform tasks based on preset rules. They lack the ability to learn user habits and adaptively adjust, and cannot truly meet the personalized and dynamically changing user needs. There is often a lack of effective interconnection standards between smart devices of different brands or types, which makes users face many obstacles in achieving multi-device collaboration. Users need to use multiple applications or interfaces to control different smart devices, which makes the operation complicated and not user-friendly. Summary of the invention
[0004] The present invention provides a home scene-based intelligent control method and system based on the Internet of Things to solve the above-mentioned problems:
[0005] The present invention proposes a scenario-based intelligent control method for a home based on the Internet of Things, the method comprising:
[0006] Obtain various scenes of the user in the home environment, extract relevant features for each scene, and establish a scene recognition model for each scene based on the relevant features;
[0007] Acquire the current scene through sensors and cameras, use the scene recognition model to recognize the current scene, and adjust the parameters of the prediction model based on the recognized scene;
[0008] Acquire user home context information through the camera, and calculate the probability of each possible behavior of the user based on the adjusted model combined with the context information;
[0009] Send control instructions to smart devices based on the probability of each possible behavior.
[0010] Furthermore, various scenes of the user in the home environment are obtained, relevant features are extracted for each scene, and a scene recognition model is established for each scene based on the relevant features, including:
[0011] Obtain various scenarios of the user in the home environment, each scenario is defined by time, location, activity and environment;
[0012] A set of features is defined for each scenario, the features including: time, location, device status, and user habits;
[0013] Based on the above features, a scene recognition model is established for each scene through the Bayesian network, including:
[0014] List all relevant features and determine the dependencies between all relevant features, where time affects user location, user location and time jointly affect device status, user location affects environmental conditions, and user habits depend on time and location;
[0015] Build a network structure based on dependencies, Time→Location, Location→DeviceStatus, Time→DeviceStatus, Location→LightLevel, Time, Location→UserHabit;
[0016] Based on the network structure, a conditional probability distribution is defined, which describes the conditional probability of each feature given by its parent node, i.e., its dependent node, P(Location|Time), P(DeviceStatus|Time, Location), P(LightLevel|Location), P(UserHabit|Time, Location);
[0017] Collect data, split 30% of the data as a test data set, and estimate a conditional probability table based on 70% of the data, where the data comes from user behavior information recorded by sensors, cameras, and other devices;
[0018] The conditional probability is calculated by the maximum likelihood estimation in the statistical method. The conditional probability reflects the frequency of occurrence of variables under different conditions and the strength of the dependency relationship. A preliminary scene recognition model is constructed based on the network structure and the conditional probability table.
[0019] The prediction performance of the preliminary scene recognition model is tested based on the reserved test data set, and the parameters of the preliminary scene recognition model are adjusted according to the test results, including: modifying the network structure and re-estimating the probability value to obtain the scene recognition model.
[0020] Furthermore, the current scene is acquired through sensors and cameras, the scene recognition model is used to recognize the current scene, and the parameters of the prediction model are adjusted based on the recognized scene, including:
[0021] Acquire the current scene parameters in the home environment through sensors and cameras. The current scene parameters include: time, weather, user location, user behavior, and device switch status;
[0022] Inputting current scene parameters into a scene recognition model to identify the current scene;
[0023] Based on the identified scenarios, obtain the state transition patterns of similar scenarios in historical scenario data, and adjust the parameters of the prediction model based on the state transition patterns β and λ, specifically, the prediction model is:
[0024]
[0025] Among them, P(q t ∣q t-1 ,C t ) indicates that in the context information C t Under the given conditions, from state q t-1 Transfer to state q t The probability of t represents the current state at time t, q t-1 represents the state at time t-1, Ct represents the context information at time t, including time, location, and device usage, and β represents the scaling factor, which is used to adjust the sensitivity of the transition probability. Indicates that from state q t-1 To state q t The basic transition probability reflects the transition probability without the influence of context information. λ is a weight parameter used to adjust the influence of context information on the transition probability. f(C t ) is the context influence function, which represents the comprehensive influence of context information on state transition, Q represents the set of all possible states, q j Represents a state in a state collection.
[0026] Furthermore, the user's home context information is obtained through the camera and the sensor, and the probability of each possible behavior of the user is calculated based on the adjusted model combined with the context information, including:
[0027] Use cameras installed in the home to capture continuous video streams, record users' activities and behavior patterns at home, and process the captured video data, including compression, format conversion, and noise removal;
[0028] Extract key features from the video using image processing and computer vision techniques, such as the user’s location, action type, and interaction with objects, including turning on smart home devices;
[0029] The extracted key features are used to define and identify the user's contextual situation through a scene recognition model, the identified situation is converted into a state, and the state is input into the prediction model to calculate the probability of each possible user behavior.
[0030] Furthermore, control instructions are sent to the smart home based on the probability of each possible behavior, including:
[0031] defining a probability threshold used to determine when to convert a probability into a control action;
[0032] Associate a set of related device control operations with each behavior;
[0033] Generate specific control instructions based on the probability output by the prediction model and the predefined behavioral device control operation mapping.
[0034] The present invention proposes a home scene-based intelligent control system based on the Internet of Things, the system comprising:
[0035] Establish a scene recognition model module to obtain various scenes of the user in the home environment, extract relevant features for each scene, and establish a scene recognition model for each scene based on the relevant features;
[0036] A module for adjusting parameters of a prediction model, used to obtain a current scene through a sensor and a camera, identify the current scene using the scene recognition model, and adjust parameters of the prediction model based on the identified scene;
[0037] A behavior probability acquisition module is used to acquire user home context information through a camera, and calculate the probability of each possible behavior of the user based on the adjusted model combined with the context information;
[0038] The sending instruction module is used to send control instructions to the smart device based on the probability of each possible behavior.
[0039] Furthermore, the building of the scene recognition model module includes:
[0040] Obtain various scene modules, which are used to obtain various scenes of the user in the home environment. Each scene is defined according to time, location, activity and environment;
[0041] A feature definition module is used to define a set of features for each scene, wherein the features include: time, location, device status, and user habits;
[0042] A Bayesian model module is established to establish a scene recognition model for each scene through a Bayesian network based on the above features, including:
[0043] A feature and dependency determination module is used to list all relevant features and determine the dependencies between all relevant features, wherein the dependencies are that time affects user location, user location and time jointly affect device status, user location affects environmental conditions, and user habits depend on time and location;
[0044] Build a network structure module, which is used to build a network structure based on dependencies, Time→Location, Location→DeviceStatus, Time→DeviceStatus, Location→LightLevel, Time, Location→UserHabit;
[0045] Define a conditional probability distribution module, which is used to define a conditional probability distribution based on the network structure, wherein the conditional probability distribution describes the conditional probability of each feature given by its parent node, i.e., its dependent node, P(Location|Time), P(DeviceStatus|Time, Location), P(LightLevel|Location), P(UserHabit|Time, Location);
[0046] A data collection module is used to collect data, separate 30% of the data as a test data set, and estimate a conditional probability table based on 70% of the data. The data comes from user behavior information recorded by sensors, cameras and other devices;
[0047] A conditional probability calculation module is used to calculate the conditional probability through the maximum likelihood estimation in the statistical method. The conditional probability reflects the frequency of occurrence of variables under different conditions and the strength of the dependency relationship. A preliminary scene recognition model is constructed based on the network structure and the conditional probability table.
[0048] The correction model module is used to test the prediction performance of the preliminary scene recognition model based on the reserved test data set, and adjust the parameters of the preliminary scene recognition model according to the test results, including: modifying the network structure and re-estimating the probability value to obtain the scene recognition model.
[0049] Furthermore, the parameter module for adjusting the prediction model includes:
[0050] The module for obtaining current scene parameters is used to obtain the current scene parameters in the home environment through sensors and cameras. The current scene parameters include: time, weather, user location, user behavior and device switch status;
[0051] A scene recognition module is used to input current scene parameters into a scene recognition model to recognize the current scene;
[0052] The prediction model parameter adjustment module is used to obtain the state transition mode of similar scenarios in historical scenario data based on the identified scenarios, and adjust the parameters of the prediction model based on the state transition mode. β and λ, specifically, the prediction model is:
[0053]
[0054] Among them, P(q t ∣q t-1 ,C t ) indicates that in the context information C t Under the given conditions, from state q t-1 Transfer to state q t The probability of t represents the current state at time t, q t-1 represents the state at time t-1, Ct represents the context information at time t, including time, location, and device usage, and β represents the scaling factor, which is used to adjust the sensitivity of the transition probability. Indicates that from state q t-1 To state q t The basic transition probability reflects the transition probability without the influence of context information. λ is a weight parameter used to adjust the influence of context information on the transition probability. f(C t ) is the context influence function, which represents the comprehensive influence of context information on state transition, Q represents the set of all possible states, q j Represents a state in a state collection.
[0055] Furthermore, in a home scenario-based intelligent control system based on the Internet of Things, the behavior probability acquisition module includes:
[0056] Use cameras installed in the home to capture continuous video streams, record users' activities and behavior patterns at home, and process the captured video data, including compression, format conversion, and noise removal;
[0057] Extract key features from the video using image processing and computer vision techniques, such as the user’s location, action type, and interaction with objects, including turning on smart home devices;
[0058] The extracted key features are used to define and identify the user's contextual situation through a scene recognition model, the identified situation is converted into a state, and the state is input into the prediction model to calculate the probability of each possible user behavior.
[0059] Furthermore, in a home scenario-based intelligent control system based on the Internet of Things, the sending instruction module includes:
[0060] A preset threshold module, used to define a probability threshold, wherein the probability threshold is used to determine when to convert the probability into a control action;
[0061] An association operation module is used to associate a group of related device control operations with each behavior;
[0062] The instruction generation module is used to generate specific control instructions according to the probability output by the prediction model and the predefined behavior device control operation mapping.
[0063] Beneficial effects of the present invention: realize personalized automation, improve the responsiveness and personalization of the smart home system, the system can automatically adjust the environment settings according to the user's specific scenes and behavioral habits, improve user experience and comfort, users do not need to manually adjust the home equipment, the system predicts and responds to user needs, provides a more suitable living environment, greatly enhances living comfort and satisfaction, saves energy and improves efficiency, accurate scene recognition and behavior prediction can avoid resource waste (such as lights and heaters are turned on for too long), thereby saving energy. Adaptability and intelligence, the system can learn the user's behavior patterns and preferences, and these predictions and adjustments will become more accurate and efficient over time. BRIEF DESCRIPTION OF THE DRAWINGS
[0064] Figure 1 This is a schematic diagram of a home scenario-based intelligent control method based on the Internet of Things described in the present invention. DETAILED DESCRIPTION
[0065] In order to more clearly understand the above-mentioned purpose, features and advantages of the present invention, the present invention is described in detail below in conjunction with the accompanying drawings and specific embodiments. It should be noted that the embodiments of the present application and the features in the embodiments can be combined with each other without conflict.
[0066] In the following description, many specific details are set forth to facilitate a full understanding of the present invention. The embodiments described are only a part of the embodiments of the present invention, rather than all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0067] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art of the present invention. The terms used in the specification of the present invention herein are only for the purpose of describing specific embodiments and are not intended to limit the present invention.
[0068] One embodiment of the present invention provides a scenario-based intelligent control method for a home based on the Internet of Things, the method comprising:
[0069] Obtain various scenes of the user in the home environment, extract relevant features for each scene, and establish a scene recognition model for each scene based on the relevant features;
[0070] Acquire the current scene through sensors and cameras, use the scene recognition model to recognize the current scene, and adjust the parameters of the prediction model based on the recognized scene;
[0071] Acquire user home context information through the camera, and calculate the probability of each possible behavior of the user based on the adjusted model combined with the context information;
[0072] Send control instructions to smart devices based on the probability of each possible behavior.
[0073] The working principle and effect of the above technical solution are as follows: scene definition and feature extraction, defining common scenes in the home environment (such as dining, resting, working, entertainment, etc.), obtaining data in different scenes through sensors and cameras, and extracting relevant features. These features may include environmental parameters (such as light, temperature), user location, user behavior patterns, time tags, etc.; scene recognition model establishment, using Bayesian network to train the scene recognition model based on the extracted features; the model can predict the scene in the current living environment based on the real-time input sensor and visual data; model dynamic adjustment, adjusting the prediction model parameters according to the real-time recognized scene, for example, if the model recognizes that the user is working, the model may be adjusted to prioritize work-related environment settings (such as lighting adjustment); behavior probability calculation and device control, combining the current scene and the user's context information (such as location, activity mode, environmental status, etc.), calculate the probability of various behaviors that the user may engage in, and send corresponding control instructions to the smart home device based on the predicted behavior probability to automatically adjust the environment (such as adjusting the air conditioning temperature, light brightness, playing music, etc.). Personalized automation improves the responsiveness and personalization of smart home systems. The system can automatically adjust environmental settings according to the user's specific scenarios and behavioral habits. It improves user experience and comfort. Users do not need to manually adjust home devices. The system predicts and responds to user needs, provides a more suitable living environment, and greatly enhances living comfort and satisfaction. Energy saving and efficiency improvement. Accurate scene recognition and behavior prediction can avoid resource waste (such as lights and heaters being turned on for too long), thereby saving energy. Adaptability and intelligence. The system can learn user behavior patterns and preferences. Over time, these predictions and adjustments will become more accurate and efficient.
[0074] One embodiment of the present invention is a scenario-based intelligent control method for a home based on the Internet of Things, which obtains various scenarios of a user in a home environment, extracts relevant features for each scenario, and establishes a scene recognition model for each scenario based on the relevant features, including:
[0075] Obtain various scenarios of the user in the home environment, each scenario is defined by time, location, activity and environment;
[0076] A set of features is defined for each scenario, the features including: time, location, device status, and user habits;
[0077] Based on the above features, a scene recognition model is established for each scene through the Bayesian network, including:
[0078] List all relevant features and determine the dependencies between all relevant features, where time (Time) affects user location (Location), user location (Location) and time (Time) jointly affect device status (DeviceStatus), user location (Location) affects environmental conditions (LightLevel), and user habits depend on time (Time) and location (Location);
[0079] Build a network structure based on dependencies, Time→Location, Location→DeviceStatus, Time→DeviceStatus, Location→LightLevel, Time, Location→UserHabit;
[0080] Based on the network structure, a conditional probability distribution is defined, which describes the conditional probability of each feature given by its parent node, i.e., its dependent node, P(Location|Time), P(DeviceStatus|Time, Location), P(LightLevel|Location), P(UserHabit|Time, Location);
[0081] Collect data, split 30% of the data as a test data set, and estimate a conditional probability table based on 70% of the data, where the data comes from user behavior information recorded by sensors, cameras, and other devices;
[0082] The conditional probability is calculated by the maximum likelihood estimation in the statistical method. The conditional probability reflects the frequency of occurrence of variables under different conditions and the strength of the dependency relationship. A preliminary scene recognition model is constructed based on the network structure and the conditional probability table.
[0083] The prediction performance of the preliminary scene recognition model is tested based on the reserved test data set, and the parameters of the preliminary scene recognition model are adjusted according to the test results, including: modifying the network structure and re-estimating the probability value to obtain the scene recognition model.
[0084] The working principle and effect of the above technical solution are as follows: scene definition and feature identification, dividing the user's behavior in the home environment into different scenes, each scene is defined by time, location, activity and environmental factors, and a set of features are defined for each scene: time, location, device status and user habits. The Bayesian network is established, all relevant features are listed, and the dependencies between these features are determined. For example, the user's location is affected by time, and the device status is determined by time and location. The network structure is built based on the determined dependencies, and the conditional probability distribution is defined for each feature, such as P (Location|Time) represents the probability distribution of the location under the condition of a given time; collect user behavior data through sensors, cameras and other devices, use 70% of the data to estimate the conditional probability table in the network, and use statistical methods such as maximum likelihood estimation to calculate the conditional probability;
[0085] Model testing and optimization: Use the remaining 30% test data to evaluate the prediction performance of the scene recognition model; adjust the model parameters according to the test results, including modifying the network structure and re-estimating the conditional probability values, and finally obtain the adjusted scene recognition model. Accurate context recognition, integrating multi-source data and complex dependencies, improves the accuracy of scene recognition, which enables the smart home system to more accurately identify different life scenarios and make more adaptive responses; enhanced predictive capabilities, using the ability of Bayesian networks to deal with uncertainty and complexity, enhance the ability to predict future user behavior, which is particularly important in automated response and resource allocation; dynamic adaptive system, through continuous data collection and continuous optimization of models, the system can learn and adapt to changes in user behavior, improving long-term usage efficiency and user satisfaction; personalized user experience, incorporating user habits and historical behaviors into the model, allowing the system to provide more personalized services, such as environmental control, entertainment recommendations, etc., thereby greatly increasing user comfort and convenience; intelligent and convenient operation, automated scene recognition reduces the need for manual intervention by users, and through intelligent control of home appliances, simplifies the user's operating process and improves the convenience of life; this technical solution not only optimizes the management of the home environment, but also improves the quality of life of users and the overall intelligence level of the smart home system.
[0086] In one embodiment of the present invention, a current scene is acquired through a sensor and a camera, the current scene is recognized using the scene recognition model, and parameters of the prediction model are adjusted based on the recognized scene, including:
[0087] Acquire the current scene parameters in the home environment through sensors and cameras. The current scene parameters include: time, weather, user location, user behavior, and device switch status;
[0088] Inputting current scene parameters into a scene recognition model to identify the current scene;
[0089] Based on the identified scenarios, obtain the state transition patterns of similar scenarios in historical scenario data, and adjust the parameters of the prediction model based on the state transition patterns β and λ, specifically, the prediction model is:
[0090]
[0091] Among them, P(q t ∣q t-1 ,C t ) indicates that in the context information C t Under the given conditions, from state q t-1 Transfer to state q t The probability of t represents the current state at time t, q t-1 represents the state at time t-1, Ct represents the context information at time t, including time, location, and device usage, and β represents the scaling factor, which is used to adjust the sensitivity of the transition probability. Indicates that from state q t-1 To state q t The basic transition probability reflects the transition probability without the influence of context information. λ is a weight parameter used to adjust the influence of context information on the transition probability. f(C t ) is the context influence function, which represents the comprehensive influence of context information on state transition, Q represents the set of all possible states, q j Represents a state in a state collection.
[0092] It is a core element in the prediction model, defining the probability of transition from one state to another without context. Through scene recognition, it may be found that some transitions are more common or different from the usual situation. For example, if it is recognized that it is a weekend morning, the probability of the user transitioning from the "sleeping" state to the "watching TV" state may be higher than on weekdays.
[0093] β is a parameter that controls the "temperature" of the transition probability, which affects the sensitivity of the model to historical data. Adjusting this parameter can make the model more sensitive or more stable, depending on the dynamics of the current scene. λ is a coefficient that adjusts the weight of contextual information in the prediction. A higher λ value means that contextual information (such as time, place, etc.) has a greater impact on the prediction. Scene changes, such as from working hours to rest time, may require increasing or decreasing the value of λ to adapt to changes in behavior patterns.
[0094] in,
[0095] Among them, the room number ranges from 1 to N, T is the time feature, L is the location feature, that is, the room number, D is the device usage feature, F is the maximum value of the device usage frequency on that day, N is the room number, w1 is the weight coefficient of the time feature, indicating the influence of time in the context information, w2 is the weight coefficient of the location feature, indicating the influence of the location in the context information, and w3 is the weight coefficient of the device usage feature, indicating the influence of the device usage in the context information.
[0096] The working principle and effect of the above technical solution are as follows: scene parameter collection, collecting real-time data of the current home environment through sensors and cameras, such as time, weather, user location, user behavior and device switch status, etc.; scene recognition, inputting the collected scene parameters into a pre-trained scene recognition model, which uses the input parameters to identify the current specific scene and obtain the state transition mode of similar scenes. After identifying the current scene, the model retrieves historical scene data, finds historical scenes similar to the current scene, and analyzes the state transition mode of these scenes; prediction model parameter adjustment, adjusts the parameters in the prediction model according to the obtained state transition mode. β and λ. β is a scaling factor used to adjust the sensitivity of the state transition probability; λ is a weight parameter used to adjust the influence of context information on the transition probability. The probability of state transition is calculated using the adjusted β and λ, as well as the basic transition probabilities in historical data, calculate the probability that the current state will transition from one state to another given the context information. Improve prediction accuracy. By combining the context information of the current scene and the state transition patterns of similar scenes in historical data, the prediction model can more accurately predict changes in user behavior and device status. This approach can better understand complex dependencies and dynamic changes; Dynamic adaptive adjustment. The model is constantly adjusted according to the real-time environment and user behavior, which improves the adaptability and response speed of the system. Without manual intervention, the system can automatically adjust the key parameters of its behavior prediction; Enhanced personalized experience. By analyzing the historical behavior patterns and scene data of individual users, the system can provide services that are more in line with personal habits and needs, for example, automatically adjusting the temperature, lighting and other equipment status of the room to suit the user's personal preferences; Energy saving and efficiency improvement. Efficient state prediction and conversion management help reduce energy waste. The system can automatically shut down unnecessary equipment at the ideal time, adjust energy use, optimize overall energy efficiency, and improve decision support. Advanced scene recognition and state prediction technology provides powerful decision support to help users and system administrators make more informed decisions. The above technical solutions not only enhance the adaptability of the smart home system to user behavior and environmental changes, but also greatly improve the efficiency of the entire system and the quality of life of users.
[0097] An embodiment of the present invention is a scenario-based intelligent control method for a home based on the Internet of Things, which obtains user home context information through a camera and a sensor, and calculates the probability of each possible behavior of the user based on an adjusted model combined with the context information, including:
[0098] Use cameras installed in the home to capture continuous video streams, record users' activities and behavior patterns at home, and process the captured video data, including compression, format conversion, and noise removal;
[0099] Extract key features from the video using image processing and computer vision techniques, such as the user’s location, action type, and interaction with objects, including turning on smart home devices;
[0100] The extracted key features are used to define and identify the user's contextual situation through a scene recognition model, the identified situation is converted into a state, and the state is input into the prediction model to calculate the probability of each possible user behavior.
[0101] The working principle and effect of the above technical solution are as follows: video data capture and preprocessing, using the camera installed in the home to capture the continuous video stream of the user at home, and performing preprocessing operations such as compression, format conversion and denoising on the captured video data to optimize the efficiency and accuracy of subsequent image processing; image processing and feature extraction, applying image processing and computer vision technology to process the preprocessed video data. These technologies include motion detection, object recognition and tracking, etc., extracting key features from the video, including the user's location, action type, interaction with home devices (such as turning on or off the device), etc., scene recognition: using the extracted key features, using the pre-trained scene recognition model to define and identify the user's current context, such as dining, work, rest, etc., state transition and behavior prediction, converting the recognized scene into a specific state, and then inputting these states into the prediction model. The prediction model calculates the probability of various behaviors that the user may take in the future based on the current state and historical data, such as continuing an activity, changing an activity, or interacting with a device. Enhance the accuracy of behavior prediction, by deeply understanding the user's behavior patterns and contextual situations, the prediction model can more accurately predict the user's future behavior. High-precision scene recognition and refined feature extraction make behavior prediction more in line with real life; automation and intelligent control are improved. Automatic recognition of scenes and prediction of user behavior can make smart home systems more intelligent and automated, such as automatically adjusting environmental settings (light, temperature), media playback and security monitoring; user experience is optimized. The system can respond in advance by understanding user behavior and expected needs, greatly improving user experience and satisfaction. For example, the system can automatically adjust the indoor temperature before the user arrives home, or automatically dim the lights when the user starts watching TV. Resource efficiency is improved. Accurate behavior prediction can effectively save resources, such as energy and time. By intelligently scheduling equipment operation, unnecessary consumption can be reduced, the energy efficiency of the system can be improved, and excessive or ineffective use can be reduced. Security is improved. The combination of video surveillance and behavioral analysis can enhance family safety, detect abnormal behavior or potential threats in a timely manner, and automatically take response measures, which not only improves the user's living comfort and convenience, but also effectively improves energy utilization and family safety levels.
[0102] An embodiment of the present invention is a scenario-based intelligent control method for a home based on the Internet of Things, which sends a control instruction to a smart home based on the probability of each possible behavior, including:
[0103] defining a probability threshold used to determine when to convert a probability into a control action;
[0104] Associate a set of related device control operations with each behavior;
[0105] Generate specific control instructions based on the probability output by the prediction model and the predefined behavioral device control operation mapping.
[0106] The probability threshold can be set to 60% for reference.
[0107] The working principle and effect of the above technical solution are as follows: probability threshold definition, setting a specific probability threshold to evaluate whether to execute the control action related to the user behavior. The threshold is a decisive parameter used to determine whether the probability of the behavior prediction is high enough to trigger the relevant device control operation. The behavior is associated with the device control operation. Each user behavior (such as leaving the room, starting to watch TV, etc.) is associated with a set of predefined device control operations (such as turning off the lights, turning on the TV). These associations are pre-set based on the understanding of user behavior and device usage; generating control instructions, according to the behavior probability output by the prediction model, the system checks the device control operation associated with each behavior. If the probability of the behavior exceeds the preset probability threshold, the system will generate the corresponding device control instruction and send the instruction to the relevant home automation system or device for execution. Automated and responsive device control, the system can automatically identify user behavior and trigger the corresponding device operation when the behavior probability exceeds the set threshold, realizing seamless automated control in the smart home environment; improving user experience, users do not need to manually switch device status or set up, everything is done automatically, greatly improving the convenience and comfort of living. For example, it can automatically turn on the lights when it detects that a user is about to enter the room, or adjust the lights and sound system when the user starts watching a movie; optimize energy efficiency, by ensuring that devices are operated only when needed (such as electrical devices are only turned on when the user is present), the system not only enhances the user experience, but also helps save energy and reduce unnecessary electricity consumption; reduce user burden, users do not need to remember the control methods of various devices or worry about whether they have forgotten to turn off the devices. The system automatically adjusts the device status according to the user's actual behavior and environmental needs; improve safety, automatically turn off electrical appliances and systems when the user leaves the room or house, reducing potential safety risks such as fire. At the same time, the system can automatically execute safety protocols in emergency situations, such as automatically turning on the alarm system when a fire is detected; by combining advanced behavior prediction technology with actual device control operations, the above technical solutions not only make smart home systems more intelligent and automated, but also improve quality of life, safety and energy efficiency.
[0108] One embodiment of the present invention is a scenario-based intelligent control system for a home based on the Internet of Things, characterized in that the system comprises:
[0109] Establish a scene recognition model module to obtain various scenes of the user in the home environment, extract relevant features for each scene, and establish a scene recognition model for each scene based on the relevant features;
[0110] A module for adjusting parameters of a prediction model, used to obtain a current scene through a sensor and a camera, identify the current scene using the scene recognition model, and adjust parameters of the prediction model based on the identified scene;
[0111] A behavior probability acquisition module is used to acquire user home context information through a camera, and calculate the probability of each possible behavior of the user based on the adjusted model combined with the context information;
[0112] The sending instruction module is used to send control instructions to the smart device based on the probability of each possible behavior.
[0113] The working principle and effect of the above technical solution are as follows: scene definition and feature extraction, defining common scenes in the home environment (such as dining, resting, working, entertainment, etc.), obtaining data in different scenes through sensors and cameras, and extracting relevant features. These features may include environmental parameters (such as light, temperature), user location, user behavior patterns, time tags, etc.; scene recognition model establishment, using Bayesian network to train the scene recognition model based on the extracted features; the model can predict the scene in the current living environment based on the real-time input sensor and visual data; model dynamic adjustment, adjusting the prediction model parameters according to the real-time recognized scene, for example, if the model recognizes that the user is working, the model may be adjusted to prioritize work-related environment settings (such as lighting adjustment); behavior probability calculation and device control, combining the current scene and the user's context information (such as location, activity mode, environmental status, etc.), calculate the probability of various behaviors that the user may engage in, and send corresponding control instructions to the smart home device based on the predicted behavior probability to automatically adjust the environment (such as adjusting the air conditioning temperature, light brightness, playing music, etc.). Personalized automation improves the responsiveness and personalization of smart home systems. The system can automatically adjust environmental settings according to the user's specific scenarios and behavioral habits; improve user experience and comfort,
[0114] Users do not need to manually adjust the devices at home. The system predicts and responds to user needs, provides a more suitable living environment, and greatly enhances living comfort and satisfaction. Energy saving and efficiency improvement: accurate scene recognition and behavior prediction can avoid waste of resources (such as lights and heaters being turned on for too long), thereby saving energy. Adaptability and intelligence: the system can learn user behavior patterns and preferences, and these predictions and adjustments will become more accurate and efficient over time.
[0115] In one embodiment of the present invention, a home scene-based intelligent control system based on the Internet of Things, the scene recognition model building module includes:
[0116] Obtain various scene modules, which are used to obtain various scenes of the user in the home environment. Each scene is defined according to time, location, activity and environment;
[0117] A feature definition module is used to define a set of features for each scene, wherein the features include: time, location, device status, and user habits;
[0118] A Bayesian model module is established to establish a scene recognition model for each scene through a Bayesian network based on the above features, including:
[0119] A feature and dependency determination module is used to list all relevant features and determine the dependencies between all relevant features, wherein the dependencies are that time affects user location, user location and time jointly affect device status, user location affects environmental conditions, and user habits depend on time and location;
[0120] Build a network structure module, which is used to build a network structure based on dependencies, Time→Location, Location→DeviceStatus, Time→DeviceStatus, Location→LightLevel, Time, Location→UserHabit;
[0121] Define a conditional probability distribution module, which is used to define a conditional probability distribution based on the network structure, wherein the conditional probability distribution describes the conditional probability of each feature given by its parent node, i.e., its dependent node, P(Location|Time), P(DeviceStatus|Time, Location), P(LightLevel|Location), P(UserHabit|Time, Location);
[0122] A data collection module is used to collect data, separate 30% of the data as a test data set, and estimate a conditional probability table based on 70% of the data. The data comes from user behavior information recorded by sensors, cameras and other devices;
[0123] A conditional probability calculation module is used to calculate the conditional probability through the maximum likelihood estimation in the statistical method. The conditional probability reflects the frequency of occurrence of variables under different conditions and the strength of the dependency relationship. A preliminary scene recognition model is constructed based on the network structure and the conditional probability table.
[0124] The correction model module is used to test the prediction performance of the preliminary scene recognition model based on the reserved test data set, and adjust the parameters of the preliminary scene recognition model according to the test results, including: modifying the network structure and re-estimating the probability value to obtain the scene recognition model.
[0125] The working principle and effect of the above technical solution are as follows: scene definition and feature identification, dividing the user's behavior in the home environment into different scenes, each scene is defined by time, location, activity and environmental factors, and a set of features are defined for each scene: time, location, device status and user habits. The Bayesian network is established, all relevant features are listed, and the dependencies between these features are determined. For example, the user's location is affected by time, and the device status is determined by time and location. The network structure is built based on the determined dependencies, and the conditional probability distribution is defined for each feature, such as P (Location|Time) represents the probability distribution of the location under the condition of a given time; collect user behavior data through sensors, cameras and other devices, use 70% of the data to estimate the conditional probability table in the network, and use statistical methods such as maximum likelihood estimation to calculate the conditional probability;
[0126] Model testing and optimization: Use the remaining 30% test data to evaluate the prediction performance of the scene recognition model; adjust the model parameters according to the test results, including modifying the network structure and re-estimating the conditional probability values, and finally obtain the adjusted scene recognition model. Accurate context recognition, integrating multi-source data and complex dependencies, improves the accuracy of scene recognition, which enables the smart home system to more accurately identify different life scenarios and make more adaptive responses; enhanced predictive capabilities, using the ability of Bayesian networks to deal with uncertainty and complexity, enhance the ability to predict future user behavior, which is particularly important in automated response and resource allocation; dynamic adaptive system, through continuous data collection and continuous optimization of models, the system can learn and adapt to changes in user behavior, improving long-term usage efficiency and user satisfaction; personalized user experience, incorporating user habits and historical behaviors into the model, allowing the system to provide more personalized services, such as environmental control, entertainment recommendations, etc., thereby greatly increasing user comfort and convenience; intelligent and convenient operation, automated scene recognition reduces the need for manual intervention by users, and through intelligent control of home appliances, simplifies the user's operating process and improves the convenience of life; this technical solution not only optimizes the management of the home environment, but also improves the quality of life of users and the overall intelligence level of the smart home system.
[0127] In one embodiment of the present invention, a scenario-based intelligent control system for a home based on the Internet of Things, the parameter module for adjusting the prediction model includes:
[0128] The module for obtaining current scene parameters is used to obtain the current scene parameters in the home environment through sensors and cameras. The current scene parameters include: time, weather, user location, user behavior and device switch status;
[0129] A scene recognition module is used to input current scene parameters into a scene recognition model to recognize the current scene;
[0130] The prediction model parameter adjustment module is used to obtain the state transition mode of similar scenarios in historical scenario data based on the identified scenarios, and adjust the parameters of the prediction model based on the state transition mode. β and λ, specifically, the prediction model is:
[0131] Among them, P(q t ∣q t-1 ,C t ) indicates that in the context information C t Under the given conditions, from state q t-1 Transfer to state q t The probability of t represents the current state at time t, q t-1 represents the state at time t-1, Ct represents the context information at time t, including time, location, and device usage, and β represents the scaling factor, which is used to adjust the sensitivity of the transition probability. Indicates that from state q t-1 To state q t The basic transition probability reflects the transition probability without the influence of context information. λ is a weight parameter used to adjust the influence of context information on the transition probability. f(C t ) is the context influence function, which represents the comprehensive influence of context information on state transition, Q represents the set of all possible states, q j Represents a state in a state collection.
[0132] It is a core element in the prediction model, defining the probability of transition from one state to another without context. Through scene recognition, it may be found that some transitions are more common or different from the usual situation. For example, if it is recognized that it is a weekend morning, the probability of the user transitioning from the "sleeping" state to the "watching TV" state may be higher than on weekdays.
[0133] β is a parameter that controls the "temperature" of the transition probability, which affects the sensitivity of the model to historical data. Adjusting this parameter can make the model more sensitive or more stable, depending on the dynamics of the current scene. λ is a coefficient that adjusts the weight of contextual information in the prediction. A higher λ value means that contextual information (such as time, place, etc.) has a greater impact on the prediction. Scene changes, such as from working hours to rest time, may require increasing or decreasing the value of λ to adapt to changes in behavior patterns.
[0134] The working principle and effect of the above technical solution are as follows: scene parameter collection, collecting real-time data of the current home environment through sensors and cameras, such as time, weather, user location, user behavior and device switch status, etc.; scene recognition, inputting the collected scene parameters into a pre-trained scene recognition model, which uses the input parameters to identify the current specific scene and obtain the state transition mode of similar scenes. After identifying the current scene, the model retrieves historical scene data, finds historical scenes similar to the current scene, and analyzes the state transition mode of these scenes; prediction model parameter adjustment, adjusts the parameters in the prediction model according to the obtained state transition mode. β and λ. β is a scaling factor used to adjust the sensitivity of the state transition probability; λ is a weight parameter used to adjust the influence of context information on the transition probability. The probability of state transition is calculated using the adjusted β and λ, as well as the basic transition probabilities in historical data, calculate the probability that the current state will transition from one state to another given the context information. Improve prediction accuracy. By combining the context information of the current scene and the state transition patterns of similar scenes in historical data, the prediction model can more accurately predict changes in user behavior and device status. This approach can better understand complex dependencies and dynamic changes; Dynamic adaptive adjustment. The model is constantly adjusted according to the real-time environment and user behavior, which improves the adaptability and response speed of the system. Without manual intervention, the system can automatically adjust the key parameters of its behavior prediction; Enhanced personalized experience. By analyzing the historical behavior patterns and scene data of individual users, the system can provide services that are more in line with personal habits and needs, for example, automatically adjusting the temperature, lighting and other equipment status of the room to suit the user's personal preferences; Energy saving and efficiency improvement. Efficient state prediction and conversion management help reduce energy waste. The system can automatically shut down unnecessary equipment at the ideal time, adjust energy use, optimize overall energy efficiency, and improve decision support. Advanced scene recognition and state prediction technology provides powerful decision support to help users and system administrators make more informed decisions. The above technical solutions not only enhance the adaptability of the smart home system to user behavior and environmental changes, but also greatly improve the efficiency of the entire system and the quality of life of users.
[0135] In one embodiment of the present invention, a scenario-based intelligent control system for a home based on the Internet of Things, the module for obtaining behavior probability includes:
[0136] Use cameras installed in the home to capture continuous video streams, record users' activities and behavior patterns at home, and process the captured video data, including compression, format conversion, and noise removal;
[0137] Extract key features from the video using image processing and computer vision techniques, such as the user’s location, action type, and interaction with objects, including turning on smart home devices;
[0138] The extracted key features are used to define and identify the user's contextual situation through a scene recognition model, the identified situation is converted into a state, and the state is input into the prediction model to calculate the probability of each possible user behavior.
[0139] In one embodiment of the present invention, the sending instruction module includes:
[0140] A preset threshold module, used to define a probability threshold, wherein the probability threshold is used to determine when to convert the probability into a control action;
[0141] An association operation module is used to associate a group of related device control operations with each behavior;
[0142] The instruction generation module is used to generate specific control instructions according to the probability output by the prediction model and the predefined behavior device control operation mapping.
[0143] The probability threshold can be set to 60% for reference.
[0144] The working principle and effect of the above technical solution are as follows: probability threshold definition, setting a specific probability threshold to evaluate whether to execute the control action related to the user behavior. The threshold is a decisive parameter used to determine whether the probability of the behavior prediction is high enough to trigger the relevant device control operation. The behavior is associated with the device control operation. Each user behavior (such as leaving the room, starting to watch TV, etc.) is associated with a set of predefined device control operations (such as turning off the lights, turning on the TV). These associations are pre-set based on the understanding of user behavior and device usage; generating control instructions, according to the behavior probability output by the prediction model, the system checks the device control operation associated with each behavior. If the probability of the behavior exceeds the preset probability threshold, the system will generate the corresponding device control instruction and send the instruction to the relevant home automation system or device for execution. Automated and responsive device control, the system can automatically identify user behavior and trigger the corresponding device operation when the behavior probability exceeds the set threshold, realizing seamless automated control in the smart home environment; improving user experience, users do not need to manually switch device status or set up, everything is done automatically, greatly improving the convenience and comfort of living. For example, it can automatically turn on the lights when it detects that a user is about to enter the room, or adjust the lights and sound system when the user starts watching a movie; optimize energy efficiency, by ensuring that devices are operated only when needed (such as electrical devices are only turned on when the user is present), the system not only enhances the user experience, but also helps save energy and reduce unnecessary electricity consumption; reduce user burden, users do not need to remember the control methods of various devices or worry about whether they have forgotten to turn off the devices. The system automatically adjusts the device status according to the user's actual behavior and environmental needs; improve safety, automatically turn off electrical appliances and systems when the user leaves the room or house, reducing potential safety risks such as fire. At the same time, the system can automatically execute safety protocols in emergency situations, such as automatically turning on the alarm system when a fire is detected; by combining advanced behavior prediction technology with actual device control operations, the above technical solutions not only make smart home systems more intelligent and automated, but also improve quality of life, safety and energy efficiency.
[0145] Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include these modifications and variations.
Claims
1. A home scene-based intelligent control method based on the Internet of Things, It is characterized in that The method comprises: Obtain various scenes of the user in the home environment, extract relevant features for each scene, and establish a scene recognition model for each scene based on the relevant features; Acquire the current scene through sensors and cameras, identify the current scene using the scene recognition model, and adjust the parameters of the prediction model based on the identified scene; Acquire user home context information through the camera, and calculate the probability of each possible behavior of the user based on the adjusted model combined with the context information; Send control instructions to smart devices based on the probability of each possible behavior.
2. According to the method of intelligent control of home scenes based on the Internet of Things in claim 1, It is characterized in that Obtain various scenes of the user in the home environment, extract relevant features for each scene, and establish a scene recognition model for each scene based on the relevant features, including: Obtain various scenarios of the user in the home environment, each scenario is defined by time, location, activity and environment; A set of features is defined for each scenario, the features including: time, location, device status, and user habits; Based on the above features, a scene recognition model is established for each scene through the Bayesian network, including: List all relevant features and determine the dependencies between all relevant features, where time affects user location, user location and time jointly affect device status, user location affects environmental conditions, and user habits depend on time and location; Build a network structure based on dependencies, Time→Location, Location→DeviceStatus, Time→DeviceStatus, Location→LightLevel, Time, Location→UserHabit; Based on the network structure, a conditional probability distribution is defined, which describes the conditional probability of each feature given by its parent node, i.e., its dependent node, P(Location|Time), P(DeviceStatus|Time, Location), P(LightLevel|Location), P(UserHabit|Time, Location); Collect data, split 30% of the data as a test data set, and estimate a conditional probability table based on 70% of the data, where the data comes from user behavior information recorded by sensors, cameras, and other devices; The conditional probability is calculated by the maximum likelihood estimation in the statistical method. The conditional probability reflects the frequency of occurrence of variables under different conditions and the strength of the dependency relationship. A preliminary scene recognition model is constructed based on the network structure and the conditional probability table. The prediction performance of the preliminary scene recognition model is tested based on the reserved test data set, and the parameters of the preliminary scene recognition model are adjusted according to the test results, including: modifying the network structure and re-estimating the probability value to obtain the scene recognition model.
3. According to the method of intelligent control of home scenes based on the Internet of Things in claim 1, It is characterized in that Acquiring the current scene through the sensor and the camera, identifying the current scene using the scene recognition model, and adjusting the parameters of the prediction model based on the identified scene, including: Acquire the current scene parameters in the home environment through sensors and cameras. The current scene parameters include: time, weather, user location, user behavior, and device switch status; Inputting current scene parameters into a scene recognition model to identify the current scene; Based on the identified scenarios, obtain the state transition patterns of similar scenarios in historical scenario data, and adjust the parameters of the prediction model based on the state transition patterns β and λ, specifically, the prediction model is: in, Indicates that in the context information C t Under the given conditions, from state q t-1 Transfer to state q t The probability of t represents the current state at time t, q t-1 represents the state at time t-1, Ct represents the context information at time t, including time, location, and device usage, and β represents the scaling factor, which is used to adjust the sensitivity of the transition probability. Indicates that from state q t-1 To state q t The basic transition probability reflects the transition probability without the influence of context information. λ is a weight parameter used to adjust the influence of context information on the transition probability. f(C t ) is the context influence function, which represents the comprehensive influence of context information on state transition, Q represents the set of all possible states, q j Represents a state in a state collection.
4. According to the method for intelligent home scene control based on the Internet of Things in claim 1, It is characterized in that The user's home context information is obtained through cameras and sensors, and the probability of each possible user behavior is calculated based on the adjusted model combined with the context information, including: Use cameras installed in the home to capture continuous video streams, record users' activities and behavior patterns at home, and process the captured video data, including compression, format conversion, and noise removal; Extract key features from the video using image processing and computer vision techniques, such as the user’s location, action type, and interaction with objects, including turning on smart home devices; The extracted key features are used to define and identify the user's contextual situation through a scene recognition model, the identified situation is converted into a state, and the state is input into the prediction model to calculate the probability of each possible user behavior.
5. According to the method of intelligent home scene control based on the Internet of Things in claim 1, It is characterized in that Send control instructions to the smart home based on the probability of each possible behavior, including: defining a probability threshold used to determine when to convert a probability into a control action; Associate a set of related device control operations with each behavior; Generate specific control instructions based on the probability output by the prediction model and the predefined behavioral device control operation mapping.
6. A home scene-based intelligent control system based on the Internet of Things. It is characterized in that The system comprises: Establish a scene recognition model module to obtain various scenes of the user in the home environment, extract relevant features for each scene, and establish a scene recognition model for each scene based on the relevant features; A module for adjusting parameters of a prediction model, used to obtain a current scene through a sensor and a camera, identify the current scene using the scene recognition model, and adjust parameters of the prediction model based on the identified scene; A behavior probability acquisition module is used to acquire user home context information through a camera, and calculate the probability of each possible behavior of the user based on the adjusted model combined with the context information; The sending instruction module is used to send control instructions to the smart device based on the probability of each possible behavior.
7. According to claim 6, a home scene-based intelligent control system based on the Internet of Things, It is characterized in that The scene recognition model building module comprises: Obtain various scene modules, which are used to obtain various scenes of the user in the home environment. Each scene is defined according to time, location, activity and environment; A feature definition module is used to define a set of features for each scene, wherein the features include: time, location, device status, and user habits; A Bayesian model module is established to establish a scene recognition model for each scene through a Bayesian network based on the above features, including: A feature and dependency determination module is used to list all relevant features and determine the dependencies between all relevant features, wherein the dependencies are that time affects user location, user location and time jointly affect device status, user location affects environmental conditions, and user habits depend on time and location; Build a network structure module, which is used to build a network structure based on dependencies, Time→Location, Location→DeviceStatus, Time→DeviceStatus, Location→LightLevel, Time, Location→UserHabit; Define a conditional probability distribution module, which is used to define a conditional probability distribution based on the network structure, wherein the conditional probability distribution describes the conditional probability of each feature given by its parent node, i.e., its dependent node, P(Location|Time), P(DeviceStatus|Time, Location), P(LightLevel|Location), P(UserHabit|Time, Location); A data collection module is used to collect data, separate 30% of the data as a test data set, and estimate a conditional probability table based on 70% of the data. The data comes from user behavior information recorded by sensors, cameras and other devices; A conditional probability calculation module is used to calculate the conditional probability through the maximum likelihood estimation in the statistical method. The conditional probability reflects the frequency of occurrence of variables under different conditions and the strength of the dependency relationship. A preliminary scene recognition model is constructed based on the network structure and the conditional probability table. The correction model module is used to test the prediction performance of the preliminary scene recognition model based on the reserved test data set, and adjust the parameters of the preliminary scene recognition model according to the test results, including: modifying the network structure and re-estimating the probability value to obtain the scene recognition model.
8. According to claim 6, a home scene-based intelligent control system based on the Internet of Things, It is characterized in that The parameter module for adjusting the prediction model includes: The module for obtaining current scene parameters is used to obtain the current scene parameters in the home environment through sensors and cameras. The current scene parameters include: time, weather, user location, user behavior and device switch status; A scene recognition module is used to input current scene parameters into a scene recognition model to recognize the current scene; The prediction model parameter adjustment module is used to obtain the state transition mode of similar scenarios in historical scenario data based on the identified scenarios, and adjust the parameters of the prediction model based on the state transition mode. β and λ, specifically, the prediction model is: in, Indicates that in the context information C t Under the given conditions, from state q t-1 Transfer to state q t The probability of t represents the current state at time t, q t-1 represents the state at time t-1, Ct represents the context information at time t, including time, location, and device usage, and β represents the scaling factor, which is used to adjust the sensitivity of the transition probability. Indicates that from state q t-1 To state q t The basic transition probability reflects the transition probability without the influence of context information. λ is a weight parameter used to adjust the influence of context information on the transition probability. f(C t ) is the context influence function, which represents the comprehensive influence of context information on state transition, Q represents the set of all possible states, q j Represents a state in a state collection.
9. According to claim 6, a home scene-based intelligent control system based on the Internet of Things, It is characterized in that The behavior probability acquisition module includes: Use cameras installed in the home to capture continuous video streams, record users' activities and behavior patterns at home, and process the captured video data, including compression, format conversion, and noise removal; Extract key features from the video using image processing and computer vision techniques, such as the user’s location, action type, and interaction with objects, including turning on smart home devices; The extracted key features are used to define and identify the user's contextual situation through a scene recognition model, the identified situation is converted into a state, and the state is input into the prediction model to calculate the probability of each possible user behavior.
10. According to claim 6, a home scene-based intelligent control system based on the Internet of Things, It is characterized in that The sending instruction module includes: A preset threshold module, used to define a probability threshold, wherein the probability threshold is used to determine when to convert the probability into a control action; An association operation module, used to associate a group of related device control operations with each behavior; The instruction generation module is used to generate specific control instructions according to the probability output by the prediction model and the predefined behavior device control operation mapping.
Citation Information
Patent Citations
Method, system and robot for identifying and controlling household appliances based on intention
CN106462124A
A method and apparatus for predicting user behavior of household appliances based on hidden Markov model
CN109242176A
Intention recognition method and device, equipment and medium
CN110909543A
Intelligent lamp self-adaptive scene recognition system and method based on Bayesian network
CN111556630A
User preference prediction system and method based on probability and hidden Markov model
CN113934930A
Cited By
Intelligent furniture linkage control method and system based on space-time perception technology
CN119087828A
Control method and device, electronic equipment and storage medium
CN119356085A
Multi-interaction method and system for energy-saving illuminating lamp and household equipment
CN119364600A
Household appliance and control method thereof
CN119511833A
Scene-adaptive digital human behavior prediction method and device, and storage medium
CN119992655A
