A remote monitoring and early warning system for home environment based on artificial intelligence
By introducing an artificial intelligence analysis module into the home environment monitoring system, combined with real-time sensor data and surveillance videos, abnormal behaviors and risks are identified, which solves the problems of insufficient personalization and neglect of behavioral changes in the existing system, and improves monitoring accuracy and safety. sex.
Patent Information
- Application Number
- CN202411105176.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-13
- Publication Date
- 2024-10-29
- Estimated Expiration
- 2044-08-13
AI Technical Summary
Existing home environment monitoring systems lack personalized considerations in alarm decisions and ignore behavioral changes after residents leave the house, resulting in low alarm accuracy and reliability.
A home environment remote monitoring and early warning system based on artificial intelligence is designed, including an information receiving module, a home environment safety assessment module, a residential behavior safety assessment module, an alarm push module and a cloud database. Through real-time sensing monitoring data and surveillance video analysis, Carry out personalized risk assessment and emergency response, sense the living status of residents, identify abnormal behaviors, and push alarms.
It achieves personalized and detailed monitoring of the home environment and residents, reduces false alarms and omissions, provides more comprehensive and considerate protection, and ensures the safety of the lives and property of residents.
Smart Images

Figure CN118644952B_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of home environment monitoring, and specifically is a home environment remote monitoring and early warning system based on artificial intelligence. Background Art
[0002] Elderly people living alone may face a variety of potential risks in their daily lives, including but not limited to falls, sudden illnesses, environmental changes, etc. If these problems are not promptly addressed and dealt with, they will seriously threaten their life safety and quality of life. Therefore, it is crucial to develop an intelligent home environment monitoring system that can be applied to elderly people living alone.
[0003] In the prior art, there are also some solutions related to home environment monitoring and early warning that can be applied to elderly people living alone. For example, the Chinese patent number is CN2020111042253, which is an invention patent application for an intelligent care system and identification method for the elderly behavior. It is based on a network camera, an audio collector, and a physiological information collector. The convolutional neural network model of the client concentrator performs abnormal information detection and multimodal information fusion capability analysis on the collected audio, image, and physiological information multimodal information, and then identifies the behavior and health status of the elderly, transmits it to the central application server through the network transmission system, and sends the abnormal information to the information terminal, which greatly realizes comprehensive intelligent monitoring of dangerous conditions of elderly people at home.
[0004] Another invention patent application for a home environment monitoring and alarm system with Chinese patent number CN201611081377X collects home environment data through sensors and sends it to the control system via a gateway device. The control system receives the home environment data sent by the gateway device and compares the home environment data with the threshold set by the client. If the home environment data is greater than the set threshold, the sampling frequency of the sensor is recalculated and the alarm mode is triggered. When the data collected by the sensor changes, an alarm can be issued in a timely manner and pushed to the client.
[0005] Although the above scheme proposes some solutions, the existing technology still has the following limitations, specifically: 1. The existing technology for home environment monitoring generally involves dimensions such as water consumption, electricity consumption, gas leakage and fire smoke. Its alarm decision mainly depends on whether the monitoring value reaches or exceeds the preset warning threshold. This "one-size-fits-all" approach does not fully consider the specific needs of different families, different residents and different environmental conditions, lacks personalized considerations, and lacks in-depth and detailed analysis of each environmental parameter dimension, resulting in low accuracy and reliability of alarm decisions.
[0006] 2. Existing technologies for behavioral care and management of residents mainly focus on activities within the home, ignoring behavioral changes after residents leave the home, such as length of time away from home and abnormal behavior at the time of leaving home, resulting in potential safety hazards being ignored. Summary of the invention
[0007] In order to overcome the shortcomings of the background technology, the embodiment of the present invention provides a home environment remote monitoring and early warning system based on artificial intelligence, which can effectively solve the problems involved in the above-mentioned background technology.
[0008] The purpose of the present invention can be achieved through the following technical solutions: A home environment remote monitoring and early warning system based on artificial intelligence, including: an information receiving module, a home environment safety assessment module, a residential behavior safety assessment module, an alarm push module and a cloud database.
[0009] The information receiving module is connected to the home environment safety assessment module and the residential behavior safety assessment module respectively, and the home environment safety assessment module and the residential behavior safety assessment module are both connected to the alarm push module, and the cloud database is connected to the home environment safety assessment module and the residential behavior safety assessment module respectively.
[0010] The information receiving module is used to receive real-time sensor monitoring data and real-time surveillance video of the target residence, wherein the real-time sensor monitoring data includes water consumption data, electricity consumption data, gas concentration and smoke concentration.
[0011] The home environment safety assessment module is used to organize the current sensor monitoring data to evaluate the home environment safety of the current target residence, screen the home environment safety risks of the current target residence and carry out corresponding emergency treatment.
[0012] The residential behavior security assessment module is used to retrieve the most recent door sensing data to perceive the living status of the residents in the current target residence, which can be either at home or away from home, and identify the corresponding abnormal activities of the residents in the current target residence.
[0013] The alarm push module is used to generate an alarm window for the safety risks of the home environment of the current target residence and the abnormal activities of the residents and push it to the application terminal.
[0014] The cloud database is used to store the historical water usage data, historical door sensing data and historical sleep data of the target residence in the current season, store the total current characteristic curve set and branch voltage characteristic curve set corresponding to the power overload state and power short circuit state, and store the set of abnormal human activity postures.
[0015] Compared with the prior art, the embodiments of the present invention have at least the following advantages or beneficial effects: (1) The present invention uses a water monitoring unit, an electricity monitoring unit, a gas monitoring unit and a smoke monitoring unit to conduct personalized and detailed analysis and consideration of the water risk hazards, electricity risk hazards, gas leakage risk hazards and fire risk hazards in the target residential home environment, and promptly adopts corresponding emergency measures, which not only makes the system monitoring more accurate and effectively reduces the possibility of false alarms and missed alarms, but also protects the life and property safety of the residents.
[0016] (2) The present invention senses the living status of the residents in the current target residence, collects the activity postures of the residents in the target residence in each video frame of the current monitoring video when they are at home, screens and excludes abnormal behaviors such as long-term immobility or falls due to the possibility of sleeping, and helps the residents or their families take timely measures to prevent the occurrence of potential dangers.
[0017] (3) After sensing that the current resident status of the target residence is away from home, the present invention analyzes the irrationality of the duration of absence and the time of departure relative to the historical absence status of the resident, thereby making up for the defect of the prior art that ignores the behavioral changes of the resident after leaving the residence, and providing more comprehensive and considerate protection for the resident. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] The present invention is further described using the accompanying drawings, but the embodiments in the accompanying drawings do not constitute any limitation to the present invention. A person skilled in the art can obtain other drawings based on the following drawings without creative work.
[0019] Figure 1 It is a schematic diagram of module connection of the present invention. DETAILED DESCRIPTION
[0020] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not 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.
[0021] Reference Figure 1 As shown, the present invention provides a home environment remote monitoring and early warning system based on artificial intelligence, including: an information receiving module, a home environment safety assessment module, a living behavior safety assessment module, an alarm push module and a cloud database.
[0022] The information receiving module is connected to the home environment safety assessment module and the residential behavior safety assessment module respectively, and the home environment safety assessment module and the residential behavior safety assessment module are both connected to the alarm push module, and the cloud database is connected to the home environment safety assessment module and the residential behavior safety assessment module respectively.
[0023] The information receiving module is used to receive real-time sensor monitoring data and real-time surveillance video of the target residence, wherein the real-time sensor monitoring data includes water consumption data, electricity consumption data, gas concentration and smoke concentration.
[0024] It should be noted that the above water consumption data is collected in real time by the flow meter, the electricity consumption data is collected in real time by the smart meter, the gas concentration is collected in real time by the catalytic combustion sensor installed in the gas pipeline, and the smoke concentration is collected in real time by the photoelectric smoke sensor.
[0025] The home environment safety assessment module is used to organize current sensor monitoring data to assess the home environment safety of the current target residence, screen for potential safety risks in the home environment of the current target residence, and perform corresponding emergency treatment.
[0026] Specifically, the home environment safety assessment module includes a water monitoring unit, an electricity monitoring unit, a gas monitoring unit and a smoke monitoring unit.
[0027] The water use monitoring unit is used to evaluate the water safety of the target residential home environment based on the current water use data, and screen whether the current target residence has abnormal water leakage risk or abnormal water use risk, and if so, cut off the water supply source.
[0028] The electricity monitoring unit is used to evaluate the electricity safety of the target residential home environment based on the current electricity consumption data, and screen whether the current target residence has a risk of electricity overload or a risk of electricity short circuit. If the screening shows that there is a risk, the power supply is cut off.
[0029] The gas monitoring unit is used to evaluate the gas safety of the target residential home environment according to the current gas concentration, and screen whether there is a risk of gas leakage in the current target residence. If the screening shows that there is a risk of gas leakage, emergency treatment of the gas leakage is carried out.
[0030] The smoke monitoring unit is used to screen whether there is a fire risk hazard in the current target residence according to the current smoke concentration, and if the screening shows that there is a fire risk emergency, fire risk emergency treatment is carried out.
[0031] It should be noted that the above-mentioned gas leak emergency response and fire risk emergency response both need to be combined with the most recent door sensing data to perceive the living status of the current residents in the target residence. If they are at home, emergency broadcasts and evacuation instructions will be given through the loudspeaker equipment in the target residence. If they are away from home, the relevant emergency departments will be automatically notified, and the automatic sprinkler fire extinguishing system in the target residence will be activated during the fire risk emergency response process.
[0032] Specifically, the screening of whether the current target residence has an abnormal water leakage risk includes: extracting the household water intake and purified water consumption at each unit time point of each day in the current season recorded in the historical water consumption data of the target residence stored in the cloud database, substituting them into a rectangular coordinate system with time as the horizontal axis and water volume as the vertical axis, drawing the historical water intake change curve and historical water consumption change curve of the target residence in the current season and importing them into Matlab software to obtain the corresponding best fitting functions, which are respectively recorded as , mark the time points corresponding to the first and last endpoints of the curve as , using the formula Calculate the water loss rate of the target residence in the current season.
[0033] According to the current water use data recorded in the current monitoring period, the household water intake and purified water consumption at each unit time point are combined with the target residence's water transmission loss rate in the current season to calculate the target residence's leakage risk coefficient for the current monitoring period. If it is greater than the preset leakage risk coefficient warning threshold, the current target residence is screened for abnormal leakage risk hazards, otherwise it is screened for non-existence.
[0034] It should be noted that the calculation process of the water leakage risk coefficient of the above-mentioned target residence in the current monitoring period includes: multiplying the household water intake at each unit time point in the current monitoring period by the water transmission loss rate of the target residence in the current season, and obtaining the reasonable water transmission loss at each unit time point in the current monitoring period, and comparing it with the difference between the household water intake and the purified water consumption at the corresponding time point. If the reasonable water transmission loss at a unit time point in the current monitoring period is less than the difference between the water intake and the purified water consumption at the unit time point, then the unit time point is recorded as an abnormal time point, and the abnormal time points and their corresponding water transmission loss excess at the current monitoring period are obtained accordingly. , is the number of each abnormal time point in the current monitoring period, , according to the formula Get the water leakage risk coefficient of the target residence during the current monitoring period, where The number of The reasonable water loss at an abnormal time point, is a natural constant.
[0035] Specifically, the screening of whether the current target residence has abnormal water usage risk hazards includes: calculating the historical daily average net water consumption per unit time period of the target residence in the current season and using this to plan the low water usage standard and the peak water usage standard, and dividing the target residence into various water usage characteristic time period sequences, including a low water usage time period sequence, a peak water usage time period sequence and a horizontal peak water usage time period sequence.
[0036] It should be noted that the calculation process of the above-mentioned historical average daily unit time period clean water consumption of the target residence in the current season is: count the historical average daily clean water consumption of the target residence in each unit time period of each day in the current season, and calculate the average value through the mean to obtain the historical average daily unit time period clean water consumption of the target residence in the current season.
[0037] The specific planning process for the above-mentioned low-peak water use standards and peak water use standards is as follows: the low-peak water use standard is set as the product of the target residential's historical daily average unit time period net water consumption in the current season and the preset multiple; the peak water use standard is set as the product of the target residential's historical daily average unit time period net water consumption in the current season and the preset multiple.
[0038] Exemplarily, the preset multiple specifically refers to 1, the valley water consumption standard is the product of 0.5 times the historical average daily clean water consumption per unit time period of the target residence in the current season, and the peak water consumption standard is the product of 1.5 times the historical average daily clean water consumption per unit time period of the target residence in the current season.
[0039] The unit time period when the net water consumption is less than or equal to the valley water consumption standard is taken as the valley water consumption period, the unit time period when the net water consumption is greater than or equal to the peak water consumption standard is taken as the peak water consumption period, and the unit time period when the net water consumption is greater than the valley water consumption standard but less than the peak water consumption standard is taken as the horizontal peak water consumption period. In this way, the valley water consumption period sequence, peak water consumption period sequence and horizontal peak water consumption period sequence of the target residence are sorted out.
[0040] According to the matching of the water consumption of the target residence in the current monitoring period and the water consumption characteristics of the water consumption characteristic period sequence, the water consumption period characteristic abnormality index of the target residence in the current monitoring period is analyzed. .
[0041] It should be noted that the above The analysis process is as follows: according to the target residence’s current monitoring period, the total amount of clean water consumption at each unit time point is accumulated to obtain the target residence’s current monitoring period total amount of clean water consumption, which is then compared with the target residence’s current monitoring period corresponding to the water consumption characteristic interval of the water consumption characteristic time period sequence. If the target residence’s current monitoring period total amount of clean water consumption is within the clean water consumption characteristic interval of its corresponding water consumption characteristic time period sequence, then the water consumption period characteristic abnormality index of the target residence’s current monitoring period is set. 0, otherwise calculate the deviation of the total amount of clean water consumption of the target residence in the current monitoring period and the clean water consumption characteristic interval of its corresponding water consumption characteristic period sequence, and compare it with the total amount of clean water consumption of the target residence in the current monitoring period to obtain the water consumption period characteristic abnormality index of the target residence in the current monitoring period .
[0042] Calculate the cumulative clean water consumption of the target residence during the current monitoring period corresponding to the historical peak water consumption sequence of the season, compare it with the cumulative clean water consumption of the target residence during the current monitoring period, and analyze the abnormal index of the cumulative water consumption of the target residence during the current monitoring period. .
[0043] It should be noted that the calculation process of the cumulative clean water consumption of the target residential building's historical peak water consumption period sequence corresponding to the current monitoring period span is as follows: the cumulative clean water consumption of the target residential building's historical peak water consumption period sequence for each day of the season is counted, and multiplied by the ratio of the current monitoring period span to the peak water consumption period sequence, to obtain the cumulative clean water consumption of the target residential building's historical peak water consumption period sequence for each day of the season corresponding to the current monitoring period span, and the cumulative clean water consumption of the target residential building's historical peak water consumption period sequence for the season corresponding to the current monitoring period span is obtained by mean calculation.
[0044] It should also be noted that the above The analysis process is as follows: if the cumulative clean water consumption of the target residence during the current monitoring period is less than or equal to the cumulative clean water consumption of the target residence during the historical peak water consumption period of the season corresponding to the span of the current monitoring period, the cumulative water consumption abnormality index of the target residence during the current monitoring period is set. If the target house is 0, the deviation between the cumulative clean water consumption of the target house in the current monitoring period and the cumulative clean water consumption of the target house in the current season corresponding to the span of the current monitoring period is obtained. The cumulative clean water consumption of the target house in the current monitoring period is compared with the cumulative clean water consumption of the target house in the current monitoring period to obtain the abnormal index of the cumulative water consumption of the target house in the current monitoring period. .
[0045] Calculate the maximum historical water consumption change rate of the target residence in the current season, compare it with the maximum water consumption change rate of the target residence during the current monitoring period, and analyze the abnormal water consumption change index of the target residence during the current monitoring period .
[0046] It should be noted that the calculation process of the above-mentioned maximum historical water use change rate of the target residence in the current season is as follows: calculate the deviation of the net water use at each unit time point on each day of the target residence in the current season and its previous unit time point, and use the ratio of it to the unit time length as the water use change rate at each unit time point on each day of the target residence in the current season, and select the maximum value from them as the maximum historical water use change rate of the target residence in the current season.
[0047] It should also be noted that the above The analysis process is the same as The analysis process is consistent.
[0048] Will The accumulated value multiplied by the corresponding preset weights is used as the water use risk coefficient of the target residence during the current monitoring period. If it is greater than the preset water use risk coefficient warning threshold, the current target residence is screened for abnormal water use risk hazards; otherwise, no risk exists.
[0049] Specifically, the screening of whether the current target residence has a hidden danger of power overload risk or a hidden danger of power short circuit risk includes: for the total circuit current value and each branch voltage value at each unit time point in the current monitoring time period recorded in the current power consumption data, drawing the total circuit current change curve and each branch voltage change curve of the current monitoring time period of the target residence, and according to the total circuit current characteristic curve set and branch voltage characteristic curve set corresponding to the power overload state and power short circuit state stored in the cloud database, analyzing the reference matching degree of the current and voltage changes of the target residence in the current monitoring time period with the power overload characteristics and power short circuit characteristics, and using this as a screening basis for whether the current target residence has a hidden danger of power overload risk or a hidden danger of power short circuit risk.
[0050] It should be noted that the specific analysis process of the reference matching degree between the current and voltage changes of the target residence during the current monitoring period and the power overload characteristics is as follows: the total circuit current change curve of the target residence during the current monitoring period is compared with each curve in the total circuit current characteristic curve set corresponding to the power overload state, and the proportion of the curve overlap length is used as the matching degree, from which the maximum matching degree is selected as the reference matching degree between the total circuit current change curve of the target residence during the current monitoring period and the total circuit current characteristic curve set corresponding to the power overload state. Similarly, the reference matching degree of each branch voltage change curve of the target residence during the current monitoring period and the branch voltage characteristic curve set corresponding to the power overload state is obtained, and the average reference matching degree of the branch voltage change curve of the target residence during the current monitoring period and the branch voltage characteristic curve set corresponding to the power overload state is obtained by mean calculation. ,Will and The product of is used as the reference matching degree between the current and voltage changes of the target residence during the current monitoring period and the power overload characteristics.
[0051] The analysis process of the reference matching degree between the current and voltage changes of the target residence during the current monitoring period and the power short-circuit characteristics is as follows: The same analysis method is used to obtain the reference matching degree of the circuit total current change curve of the target residence during the current monitoring period and the circuit total current characteristic curve set corresponding to the power short circuit state. , and the reference matching degree of each branch voltage change curve of the target residence during the current monitoring period and the branch voltage characteristic curve set corresponding to the power short-circuit state, and the maximum value is selected as the effective reference matching degree of the branch voltage change curve of the target residence during the current monitoring period and the branch voltage characteristic curve set corresponding to the power overload state ,Will and The product of is used as the reference matching degree between the current and voltage changes of the target residence during the current monitoring period and the power short-circuit characteristics.
[0052] Specifically, the screening of whether the current target residence has a risk of gas leakage includes: if the current gas concentration of the target residence is greater than or equal to a preset gas concentration warning threshold, then the current target residence is screened for a risk of gas leakage; otherwise, the gas concentrations monitored at a preset number of historical unit time points before the current time point of the target residence are extracted, and the continuous growth rate of the current gas concentration of the target residence is calculated. If it is greater than or equal to the preset gas concentration continuous growth rate warning threshold, then the current target residence is screened for a risk of gas leakage; if it is less than the preset gas concentration continuous growth rate warning threshold, then the screening does not exist.
[0053] It should be noted that the calculation process of the above-mentioned continuous growth rate of the current gas concentration of the target residence is as follows: number them in chronological order, record the gas concentrations monitored at the preset number of historical unit time points before the current time point of the target residence and the gas concentration at the current time point as , The numbers of the preset number of historical unit time points before the current time point of the target residence and the current time point, , according to the formula Get the continuous growth rate of the current gas concentration in the target residence, where The number of historical unit time points and the current time point of the target residence before the current time point. The target residence before the current time point The gas concentration monitored at a historical unit time point.
[0054] Specifically, the screening method for determining whether the current target residence has a fire risk hazard is consistent with the screening method for determining whether the current target residence has a gas leakage risk hazard.
[0055] The embodiment of the present invention uses a water monitoring unit, an electricity monitoring unit, a gas monitoring unit and a smoke monitoring unit to conduct personalized and detailed analysis and consideration of the water risk hazards, electricity risk hazards, gas leakage risk hazards and fire risk hazards in the target residential home environment, and promptly adopts corresponding emergency measures, which not only makes the system monitoring more accurate and effectively reduces the possibility of false alarms and missed alarms, but also protects the life and property safety of the residents.
[0056] The residential behavior safety assessment module is used to retrieve the most recent door sensing data to sense the living status of the residents in the current target residence, which can be either at home or away from home, and identify abnormal activity behaviors corresponding to the residents in the current target residence.
[0057] Specifically, the residential behavior safety assessment module includes a home behavior safety assessment unit and a away-from-home behavior safety assessment unit.
[0058] The home behavior safety assessment unit is used to organize the current monitoring video and identify whether the residents of the current target residence have any abnormal activities at home.
[0059] The away-from-home behavior safety assessment unit is used to identify whether a resident of the current target residence has engaged in abnormal away-from-home behavior based on the most recent door sensing data.
[0060] Specifically, the identification of whether the residents of the current target residence have abnormal home activities includes: decomposing the current surveillance video to obtain video frames, identifying key feature points of the human body in the video frames after image preprocessing, and thereby outlining the activity postures of the residents in each video frame, and calculating the change amplitude of the activity postures of the residents in each video frame and its adjacent video frames. If the change amplitudes are all less than a preset reasonable threshold value of the activity posture change amplitude, it is identified that the residents of the current target residence are in a stationary state.
[0061] It should be noted that the calculation process of the change amplitude of the activity posture of the resident members in the above-mentioned video frame and its adjacent video frame is: construct a rectangular coordinate system with the lower left corner point of the video frame as the origin to obtain the position coordinates of each key feature point of the human body in the activity posture of the resident members in each video frame, calculate the position coordinate deviation distance of each corresponding key feature point of the human body in the activity posture of the resident members in each video frame and its adjacent video frame and accumulate them, and take the ratio of the accumulated value to the preset position coordinate deviation reference value as the change amplitude of the activity posture of the resident members in each video frame and its adjacent video frame.
[0062] It should also be noted that the above-mentioned key feature points of the human body include but are not limited to the head, neck, shoulders, wrists, knees, hands, etc.
[0063] According to the historical sleep data of the residents of the target residence in the current season, the residents of the target residence are divided into sleep period sequences. If the current time point is within the sleep period sequence, it is identified that the residents of the current target residence do not have abnormal stillness behavior; otherwise, it is identified that the residents of the current target residence do have abnormal stillness behavior.
[0064] It should be noted that the process of dividing the sleep period sequence of the above-mentioned target residential residents is: extracting the historical sleep data records of the target residential residents in the current season, each historical sleep period of each day, initializing an empty period sequence, traversing the historical sleep data records of each day and each sleep period, adding new periods and removing overlapping periods, to form the sleep period sequence of the target residential residents. It should be noted that the historical sleep data records of the target residential residents in the current season can be collected through electronic devices worn by the residents.
[0065] If the change range of the activity posture of the residents in any video frame and its adjacent video frame is greater than or equal to the preset reasonable threshold of the activity posture change range, it is recognized that the residents of the current target residence are in an active state, and the activity postures of the residents in each video frame are compared with the abnormal human activity posture set stored in the cloud database. The similarity between the activity postures of the residents in each video frame and each abnormal activity posture in the abnormal human activity posture set is calculated, and the maximum similarity is selected. If it is greater than the preset standard similarity, it is recognized that the residents of the current target residence have abnormal posture behavior, otherwise it is recognized that it does not exist.
[0066] It should also be noted that the calculation process of the similarity between the activity postures of the resident members in the above-mentioned video frame images and the abnormal activity postures in the set of abnormal human activity postures is: placing the activity postures of the resident members in each video frame image on the first layer of the software, placing each abnormal activity posture in the set of abnormal human activity postures on the second layer of the software, scaling the activity postures of the resident members in each video frame image to the same proportion as each abnormal activity posture in the set of abnormal human activity postures for overlap comparison, and directly feedback the similarity between the activity postures of the resident members in each video frame image and each abnormal activity posture in the set of abnormal human activity postures through the similarity measurement tool of the software.
[0067] Exemplarily, the above software may be OpenCV or OpenPose.
[0068] Abnormal static behavior and abnormal posture behavior are considered together as abnormal home activity behavior.
[0069] It should be further explained that, if it is identified that the resident of the current target residence has any one of abnormal posture behavior and abnormal still behavior, it is deemed that the resident of the current target residence has abnormal activity behavior at home.
[0070] The embodiment of the present invention senses the living status of the residents in the current target residence, collects the activity postures of the residents in the target residence in each video frame of the current monitoring video when they are at home, screens and excludes the possibility of sleeping, immobilizing for a long time, or abnormal behaviors such as falling, so as to help the residents or their families take timely measures to prevent the occurrence of potential dangers.
[0071] Specifically, the identifying whether the current target residence resident has any abnormal activity away from home includes: obtaining the time interval of the current target residence resident being away from home based on the time point of the target residence resident being away from home fed back by the most recent door sensing data.
[0072] Extract the time points of each time the residents left home on each day and the corresponding time intervals of leaving home recorded in the historical door sense data of the target residence in the current season stored in the cloud database, plan the regular travel time sequence, low-frequency travel time sequence and zero travel time sequence of the residents of the target residence in the current season and set their corresponding abnormal risk factors for leaving home, and then obtain the abnormal risk factors for leaving home corresponding to the travel time sequence of the time points where the residents of the target residence left home .
[0073] It should be noted that the planning process of the regular travel time sequence, low-frequency travel time sequence and zero travel time sequence of the above-mentioned target residence's residents in the current season is as follows: a day is divided into various unit time periods, and the duration of the unit time period spans 1 hour. According to the time points of the residents' historical leaving home on each day recorded in the historical door sensing data of the target residence in the current season, the total number of historical leaving home for each unit time period of the day by the residents of the target residence in the current season is counted, and the historical average daily total number of leaving home for the residents of the target residence in the current season is calculated. The unit time period in which the historical total number of leaving home for the residents of the target residence in the current season is less than the historical average daily total number of leaving home and greater than 0 is regarded as a low-frequency travel time period, the unit time period in which the historical total number of leaving home for the residents of the target residence in the current season is greater than or equal to the historical average daily total number of leaving home is regarded as a regular travel time period, and the unit time period in which the historical total number of leaving home for the residents of the target residence in the current season is 0 is regarded as a zero travel time period. In this way, the regular travel time sequence, low-frequency travel time sequence and zero travel time sequence of the residents of the target residence in the current season are sorted and planned.
[0074] The regular travel time sequence, low-frequency travel time sequence and zero travel time sequence of the target residence residents in the current season correspond to abnormal risk factors of leaving home as follows: 0.1, 0.2 and 0.7.
[0075] Arrange the time intervals between each time the residents leave home on each day in history from small to large, calculate the abnormal time intervals between each time the residents of the target residence leave home in the current season based on the interquartile range of the arrangement sequence, and compare it with the time intervals between each time the residents of the current target residence leave home to obtain the abnormal risk factor for the time intervals between each time the residents of the current target residence leave home. .
[0076] It should be noted that the specific process of calculating the abnormal away-from-home interval warning threshold for the members living in the target residence in the current season based on the interquartile range of the arrangement sequence is as follows: the arrangement sequence is divided into 4 blocks, and the values at the division points are recorded as quartiles, the difference between the third quartile and the first quartile is taken as the interquartile range, and the cumulative value of the product of the third quartile and the fourth quartile by preset multiples is taken as the abnormal away-from-home interval warning threshold for the members living in the target residence in the current season.
[0077] For example, if the sequence of the time intervals between the residents of the target residence leaving home on each day and each time they leave home in history is arranged as follows: , the time unit in the sequence is hours, and the sequence is divided into 4 sections, of which the first quartile is , the third quartile is 1, and the interquartile range is , then by the formula Get the abnormal time interval warning threshold of the target residence residents in the current season, where It is a preset multiple, usually in the range of between.
[0078] It should also be noted that the above The process of obtaining is as follows: if the current target residence resident’s time away from home interval is longer than the target residence resident’s abnormal time away from home interval warning threshold, then the ratio of the difference between the two and the target residence resident’s abnormal time away from home interval warning threshold is used as On the contrary, if the time interval between the current target residence residents and their absence from home is less than the abnormal time interval between the current target residence residents and their absence from home warning threshold, Set to 0.
[0079] Depend on , The abnormal risk coefficient of leaving home for the current target residential resident is accumulated. If it is greater than or equal to the preset abnormal risk coefficient warning threshold for leaving home, it is identified that the current target residential resident has abnormal activity behavior away from home.
[0080] After sensing that the living status of the resident in the current target residence is away from home, the embodiment of the present invention analyzes the irrationality of the length of time the resident has been away from home and the time of departure relative to the historical absence situation, thereby making up for the defect of the prior art that ignores the behavioral changes of the resident after leaving the residence, and providing more comprehensive and considerate protection for the resident.
[0081] The alarm push module is used to generate an alarm window for pushing the home environment safety risk hazards and abnormal activities of the residents of the current target residence to the application terminal.
[0082] The cloud database is used to store the historical water use data, historical door sensing data and historical sleep data of the target residence in the current season, store the total current characteristic curve set and branch voltage characteristic curve set corresponding to the power overload state and power short circuit state, and store the abnormal human activity posture set.
[0083] The data sources in the cloud database of this embodiment are shown in Table 1 below.
[0084] Table 1 Detailed description of data sources in cloud database
[0085]
[0086] The above contents are merely examples and explanations of the structure of the present invention. The technicians in this technical field may make various modifications or additions to the specific embodiments described or replace them in a similar manner. As long as they do not deviate from the structure of the invention or exceed the scope defined by the present invention, they should all fall within the protection scope of the present invention.
Claims
1. A remote monitoring and early warning system for home environment based on artificial intelligence, It is characterized in that The system includes: An information receiving module is used to receive real-time sensor monitoring data and real-time monitoring video of the target residence, wherein the real-time sensor monitoring data includes water consumption data, electricity consumption data, gas concentration and smoke concentration; The home environment safety assessment module is used to organize the current sensor monitoring data to assess the home environment safety of the current target residence, screen the home environment safety risk hazards of the current target residence and carry out corresponding emergency treatment; The residential behavior safety assessment module is used to retrieve the most recent door sensing data to sense the living status of the residents in the current target residence, which can be either at home or away from home, and identify the corresponding abnormal activities of the residents in the current target residence; An alarm push module is used to generate an alarm window for the safety risk hazards of the home environment of the current target residence and the abnormal activities of the residents and push it to the application terminal; A cloud database is used to store the historical water consumption data, door sensing data, and sleep data of the residents of the target residence in the current season, store the total current characteristic curve set and branch voltage characteristic curve set corresponding to the power overload state and power short circuit state, and store the abnormal human activity posture set; The home environment safety assessment module includes a water use supervision unit, an electricity use supervision unit, a gas supervision unit and a smoke supervision unit; The water use monitoring unit is used to evaluate the water safety of the target residential environment based on the current water use data, and screen whether the current target residential area has abnormal water leakage risk or abnormal water use risk, and cut off the water supply source if the screening shows that there is a risk of abnormal water leakage or abnormal water use; The power monitoring unit is used to evaluate the power safety of the target residential environment based on the current power consumption data, and screen whether the current target residential environment has a power overload risk or a power short circuit risk, and if the screening shows that there is a power overload risk or a power short circuit risk, the power supply is cut off; The gas monitoring unit is used to evaluate the gas safety of the target residential environment according to the current gas concentration, screen whether there is a gas leakage risk in the current target residential area, and perform emergency treatment for gas leakage if the risk exists; The smoke monitoring unit is used to screen whether the current target residence has a fire risk hazard according to the current smoke concentration, and if the screening shows that there is a fire risk emergency treatment; The screening of whether the current target residence has abnormal water use risk hazards includes: calculating the historical daily average net water consumption per unit time period of the target residence in the current season and using this to plan the low-peak water use standard and the peak water use standard, and dividing the target residence into various water use characteristic time period sequences, including the low-peak water use time period sequence, the peak water use time period sequence and the horizontal peak water use time period sequence; According to the matching of the water consumption of the target residence in the current monitoring period and the water consumption characteristics of the water consumption characteristic period sequence, the water consumption period characteristic abnormality index of the target residence in the current monitoring period is analyzed. ; Calculate the cumulative clean water consumption of the target residence during the current monitoring period corresponding to the historical peak water consumption sequence of the season, compare it with the cumulative clean water consumption of the target residence during the current monitoring period, and analyze the abnormal index of the cumulative water consumption of the target residence during the current monitoring period. ; Calculate the maximum historical water consumption change rate of the target residence in the current season, compare it with the maximum water consumption change rate of the target residence during the current monitoring period, and analyze the abnormal water consumption change index of the target residence during the current monitoring period ; Will The accumulated value multiplied by the corresponding preset weights is used as the water use risk coefficient of the target residence during the current monitoring period. If it is greater than the preset water use risk coefficient warning threshold, the current target residence is screened for abnormal water use risk hazards; otherwise, no risk exists.
2. According to claim 1, a home environment remote monitoring and early warning system based on artificial intelligence, Features: The residential behavior safety assessment module includes a home behavior safety assessment unit and a away-from-home behavior safety assessment unit; The home behavior safety assessment unit is used to sort out the current surveillance video and identify whether the residents of the current target residence have any abnormal home activities; The away-from-home behavior safety assessment unit is used to identify whether a resident of the current target residence has engaged in abnormal away-from-home behavior based on the most recent door sensing data.
3. According to claim 1, a home environment remote monitoring and early warning system based on artificial intelligence, Features: The screening of whether the current target residence has an abnormal water leakage risk includes: extracting the household water intake and purified water consumption at each unit time point of each day in the current season recorded in the historical water consumption data of the target residence stored in the cloud database, substituting them into a rectangular coordinate system with time as the horizontal axis and water volume as the vertical axis, drawing the historical water intake change curve and historical water consumption change curve of the target residence in the current season and importing them into Matlab software to obtain the corresponding best fitting functions, which are respectively recorded as , mark the time points corresponding to the first and last endpoints of the curve as , using the formula Calculate the water loss rate of the target residence in the current season; According to the current water use data recorded in the current monitoring period, the household water intake and purified water consumption at each unit time point are combined with the target residence's water transmission loss rate in the current season to calculate the target residence's leakage risk coefficient for the current monitoring period. If it is greater than the preset leakage risk coefficient warning threshold, the current target residence is screened for abnormal leakage risk hazards, otherwise it is screened for non-existence.
4. According to claim 1, a home environment remote monitoring and early warning system based on artificial intelligence, Features: The screening of whether the current target residence has a hidden danger of power overload risk or power short circuit risk includes: for the total circuit current value and each branch voltage value at each unit time point in the current monitoring time period recorded by the current power consumption data, drawing a total circuit current change curve and each branch voltage change curve for the current monitoring time period of the target residence, and analyzing the reference matching degree of the current and voltage changes in the current monitoring time period of the target residence with the power overload characteristics and the power short circuit characteristics according to the total circuit current characteristic curve set and the branch voltage characteristic curve set corresponding to the power overload state and the power short circuit state stored in the cloud database, so as to use this as a screening basis for whether the current target residence has a hidden danger of power overload risk or a hidden danger of power short circuit risk; The specific analysis process of the reference matching degree between the current and voltage changes of the target residence during the current monitoring period and the power overload characteristics is as follows: the total circuit current change curve of the target residence during the current monitoring period is compared with each curve in the total circuit current characteristic curve set corresponding to the power overload state, and the proportion of the curve overlap length is used as the matching degree, from which the maximum matching degree is selected as the reference matching degree between the total circuit current change curve of the target residence during the current monitoring period and the total circuit current characteristic curve set corresponding to the power overload state. Similarly, the reference matching degree of each branch voltage change curve of the target residence during the current monitoring period and the branch voltage characteristic curve set corresponding to the power overload state is obtained, and the average reference matching degree of the branch voltage change curve of the target residence during the current monitoring period and the branch voltage characteristic curve set corresponding to the power overload state is obtained by mean calculation. ,Will and The product of is used as the reference matching degree between the current and voltage changes of the target residence during the current monitoring period and the power overload characteristics; The analysis process of the reference matching degree between the current and voltage changes of the target residence during the current monitoring period and the power short-circuit characteristics is as follows: The same analysis method is used to obtain the reference matching degree of the circuit total current change curve of the target residence during the current monitoring period and the circuit total current characteristic curve set corresponding to the power short circuit state. , and the reference matching degree of each branch voltage change curve of the target residence during the current monitoring period and the branch voltage characteristic curve set corresponding to the power short-circuit state, and the maximum value is selected as the effective reference matching degree of the branch voltage change curve of the target residence during the current monitoring period and the branch voltage characteristic curve set corresponding to the power overload state ,Will and The product of is used as the reference matching degree between the current and voltage changes of the target residence during the current monitoring period and the power short-circuit characteristics.
5. According to claim 1, a home environment remote monitoring and early warning system based on artificial intelligence, Features: The screening of whether the current target residence has a gas leakage risk hazard includes: if the current gas concentration of the target residence is greater than or equal to a preset gas concentration warning threshold, then the current target residence is screened for a gas leakage risk hazard; otherwise, the gas concentrations monitored at a preset number of historical unit time points before the current time point of the target residence are extracted, and the continuous growth rate of the current gas concentration of the target residence is calculated. If it is greater than or equal to the preset gas concentration continuous growth rate warning threshold, then the current target residence is screened for a gas leakage risk hazard; if it is less than the preset gas concentration continuous growth rate warning threshold, then the screening does not exist.
6. According to claim 5, a home environment remote monitoring and early warning system based on artificial intelligence, Features: The screening method for determining whether the current target residence has a fire risk hazard is consistent with the screening method for determining whether the current target residence has a gas leakage risk hazard.
7. According to claim 2, a home environment remote monitoring and early warning system based on artificial intelligence, Features: The method for identifying whether the residents of the current target residence have abnormal home activities includes: decomposing the current surveillance video to obtain video frames, identifying key feature points of the human body in the video frames after image preprocessing, outlining and obtaining the activity postures of the residents in each video frame, calculating the change amplitude of the activity postures of the residents in each video frame and its adjacent video frames, and if the change amplitudes are all less than a preset reasonable threshold value of the change amplitude of the activity postures, then identifying that the residents of the current target residence are in a stationary state; According to the historical sleep data of the residents of the target residence in the current season, the sleep time sequence of the residents of the target residence is divided. If the current time point is within the sleep time sequence, it is identified that the residents of the current target residence do not have abnormal static behavior, otherwise it is identified that the residents of the current target residence have abnormal static behavior; If the change range of the activity posture of the residents in any video frame and its adjacent video frame is greater than or equal to the preset reasonable threshold of the activity posture change range, it is recognized that the residents of the current target residence are in an active state, and the activity postures of the residents in each video frame are compared with the abnormal human activity posture set stored in the cloud database, and the maximum similarity is selected. If it is greater than the preset standard similarity, it is recognized that the residents of the current target residence have abnormal posture behavior, otherwise it is recognized that there is no abnormal posture behavior; Abnormal static behavior and abnormal posture behavior are considered together as abnormal home activity behavior.
8. According to claim 2, a home environment remote monitoring and early warning system based on artificial intelligence, Features: The identifying whether the current target residence resident has abnormal activities away from home includes: obtaining the time interval of the current target residence resident away from home according to the time point of the target residence resident leaving home fed back by the most recent door sensing data; Extract the time points of each time the residents left home on each day and the corresponding time intervals of leaving home recorded in the historical door sense data of the target residence in the current season stored in the cloud database, plan the regular travel time sequence, low-frequency travel time sequence and zero travel time sequence of the residents of the target residence in the current season and set their corresponding abnormal risk factors for leaving home, and then obtain the abnormal risk factors for leaving home corresponding to the travel time sequence of the time points where the residents of the target residence left home ; Arrange the time intervals between each time the residents leave home on each day in history from small to large, calculate the abnormal time intervals between each time the residents of the target residence leave home in the current season based on the interquartile range of the arrangement sequence, and compare it with the time intervals between each time the residents of the current target residence leave home to obtain the abnormal risk factor for the time intervals between each time the residents of the current target residence leave home. ; Depend on , The abnormal risk coefficient of leaving home for the current target residential resident is accumulated. If it is greater than or equal to the preset abnormal risk coefficient warning threshold for leaving home, it is identified that the current target residential resident has abnormal activity behavior away from home.
Citation Information
Patent Citations
Home environment monitoring and alarming system
CN106530599A
Intelligent nursing system for behaviors of old people and identification method.
CN112216065A
IoT-based smart home security protection system
CN107798813A
Smart home safety monitoring system
CN108846991A
Intelligent water affair user request processing system based on Internet
CN115471359A
