CN106919892A - Behavior monitoring method and device - Google Patents
Behavior monitoring method and device Download PDFInfo
- Publication number
- CN106919892A CN106919892A CN201510997343.4A CN201510997343A CN106919892A CN 106919892 A CN106919892 A CN 106919892A CN 201510997343 A CN201510997343 A CN 201510997343A CN 106919892 A CN106919892 A CN 106919892A
- Authority
- CN
- China
- Prior art keywords
- parameter
- sensor
- monitored
- behavior
- unit
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2218/00—Aspects of pattern recognition specially adapted for signal processing
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2218/00—Aspects of pattern recognition specially adapted for signal processing
- G06F2218/12—Classification; Matching
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Artificial Intelligence (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Signal Processing (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Emergency Alarm Devices (AREA)
- Alarm Systems (AREA)
Abstract
本发明公开了一种行为监测方法及装置,所述方法包括:确定设置于第一空间内的第一传感器检测到待监测对象的动作时,触发第二传感器对所述第一空间内的第一参数进行检测,获取所述第一参数的检测结果;将不少于第一设定时长的时间段内获取的所述第一参数的检测结果与参考检测结果进行比对,当比对结果表征拟合度达到设定阈值时,确定所述待监测对象的第一行为发生;确定所述待监测对象的第一行为发生时长大于第二设定时长时,输出告警信息。
The invention discloses a behavior monitoring method and device. The method includes: when it is determined that the first sensor arranged in the first space detects the movement of the object to be monitored, triggering the second sensor to monitor the behavior of the first sensor in the first space. A parameter is detected, and the detection result of the first parameter is obtained; the detection result of the first parameter obtained within a time period not less than the first set duration is compared with the reference detection result, and when the comparison result When the characterization fit reaches a set threshold, it is determined that the first behavior of the object to be monitored occurs; when it is determined that the duration of the first behavior of the object to be monitored occurs longer than a second set duration, an alarm message is output.
Description
技术领域technical field
本发明涉及行为监测技术,尤其涉及一种行为监测方法及装置。The invention relates to behavior monitoring technology, in particular to a behavior monitoring method and device.
背景技术Background technique
现有人体行为识别技术多基于视频监控的技术来实现,通过视频设备采集数据,利用图像处理算法对数据进行分析,从而识别用户的行为。通过视频识别用户行为的方式会导致用户隐私保护不够,图像处理算法复杂,硬件成本高,若要实现细致行为的识别,需要布设大量的视频监控设备,并且,视频识别用户行为的识别准确率低,识别结果的有效性容易受房屋结构和屋内光线的影响。Existing human behavior recognition technologies are mostly implemented based on video surveillance technology. Data are collected through video equipment and image processing algorithms are used to analyze the data to identify user behavior. Recognizing user behavior through video will lead to insufficient protection of user privacy, complex image processing algorithms, and high hardware costs. To achieve detailed behavior recognition, a large number of video surveillance equipment needs to be deployed, and the recognition accuracy of video recognition user behavior is low. , the validity of the recognition result is easily affected by the structure of the house and the light in the house.
鉴于上述缺点,视频监控技术在现实人体行为识别的应用中很难进行大规模的推广。In view of the above shortcomings, it is difficult to carry out large-scale promotion of video surveillance technology in the application of real human behavior recognition.
发明内容Contents of the invention
为解决上述技术问题,本发明实施例提供了一种行为监测方法及装置。In order to solve the above technical problems, embodiments of the present invention provide a behavior monitoring method and device.
一种行为监测方法,所述方法包括:A behavioral monitoring method, said method comprising:
确定设置于第一空间内的第一传感器检测到待监测对象的动作时,触发第二传感器对所述第一空间内的第一参数进行检测,获取所述第一参数的检测结果;When it is determined that the first sensor arranged in the first space detects the movement of the object to be monitored, trigger the second sensor to detect the first parameter in the first space, and obtain the detection result of the first parameter;
将不少于第一设定时长的时间段内获取的所述第一参数的检测结果与参考检测结果进行比对,当比对结果表征拟合度达到设定阈值时,确定所述待监测对象的第一行为发生;comparing the detection result of the first parameter obtained within a time period not less than the first set duration with the reference detection result, and when the comparison result indicates that the degree of fit reaches a set threshold, determine that the to-be-monitored The object's first behavior occurs;
确定所述待监测对象的第一行为发生时长大于第二设定时长时,输出告警信息。When it is determined that the occurrence time of the first behavior of the object to be monitored is longer than the second set time, an alarm message is output.
本发明实施例中,所述方法还包括:In an embodiment of the present invention, the method further includes:
在所述不少于第一设定时长的时间段内,确定设置于第二空间内的第一传感器检测到待监测对象的动作时,确定所述待监测对象未发生第一行为,使所述第二传感器停止检测工作。During the time period not less than the first set duration, when it is determined that the first sensor disposed in the second space detects the movement of the object to be monitored, it is determined that the object to be monitored does not have the first behavior, so that the The second sensor stops detecting work.
本发明实施例中,所述方法还包括:In an embodiment of the present invention, the method further includes:
当比对结果表征拟合度未达到设定阈值时,继续获取所述第一参数的检测结果,并继续将不少于第一设定时长的时间段内获取的所述第一参数的检测结果与参考检测结果进行比对,而比对结果表征拟合度始终未达到设定阈值,且确定设置于其他空间内的第一传感器始终未检测到待监测对象的动作,持续时长大于第三设定时长时,输出告警信息。When the degree of fit of the comparison result does not reach the set threshold, continue to obtain the detection result of the first parameter, and continue to detect the first parameter obtained within a time period not less than the first set duration The result is compared with the reference detection result, but the comparison result shows that the fitting degree has not reached the set threshold, and it is determined that the first sensor installed in other spaces has never detected the movement of the object to be monitored, and the duration is longer than the third sensor. When the duration is set, an alarm message will be output.
本发明实施例中,所述方法还包括:In an embodiment of the present invention, the method further includes:
在设定周期内,当所述待监测对象的第一行为发生时,触发第二传感器对所述第一空间内的第一参数进行检测;In the set period, when the first behavior of the object to be monitored occurs, triggering the second sensor to detect the first parameter in the first space;
将所述设定周期内的第一参数的检测结果作为训练样本,采用监督学习算法中的最小二乘积算法对所述设定周期内的第一参数的检测结果进行拟合,获得所述待监测对象的第一行为发生过程中所述第一空间内的第一参数随时间变化的趋势信息,将所述第一参数随时间变化的趋势信息作为所述参考检测结果。Using the detection result of the first parameter in the set period as a training sample, using the least squares algorithm in the supervised learning algorithm to fit the detection result of the first parameter in the set period to obtain the to-be Monitoring the trend information of the first parameter changing over time in the first space during the occurrence of the first behavior of the object, and using the trend information changing over time of the first parameter as the reference detection result.
本发明实施例中,所述第一传感器包括被动红外PIR传感器;In an embodiment of the present invention, the first sensor includes a passive infrared PIR sensor;
所述第二传感器包括湿度传感器。The second sensor includes a humidity sensor.
一种行为监测装置,所述装置包括:第一确定单元、触发单元、获取单元、对比单元、判断单元和输出单元,其中:A behavior monitoring device, the device comprising: a first determination unit, a trigger unit, an acquisition unit, a comparison unit, a judgment unit and an output unit, wherein:
第一确定单元,用于确定设置于第一空间内的第一传感器是否检测到待监测对象的动作,检测到所述待监测对象的动作时,触发所述触发单元;The first determination unit is configured to determine whether the first sensor arranged in the first space detects the movement of the object to be monitored, and triggers the trigger unit when the movement of the object to be monitored is detected;
触发单元,用于触发第二传感器对所述第一空间内的第一参数进行检测;a trigger unit, configured to trigger the second sensor to detect the first parameter in the first space;
获取单元,用于获取所述第二传感器的所述第一参数的检测结果;an acquisition unit, configured to acquire a detection result of the first parameter of the second sensor;
对比单元,用于将不少于第一设定时长的时间段内获取的所述第一参数的检测结果与参考检测结果进行比对,当比对结果表征拟合度达到设定阈值时,确定所述待监测对象的第一行为发生;A comparison unit, configured to compare the detection result of the first parameter acquired within a time period not less than the first set duration with the reference detection result, and when the comparison result indicates that the degree of fit reaches the set threshold, determining that the first behavior of the subject to be monitored occurs;
判断单元,用于判断所述待监测对象的第一行为发生时长是否大于第二设定时长,大于所述第二设定时长时触发所述输出单元;A judging unit, configured to judge whether the duration of the first behavior of the object to be monitored is greater than a second set duration, and trigger the output unit when greater than the second set duration;
输出单元,用于输出告警信息。The output unit is used to output alarm information.
本发明实施例中,所述装置还包括:第二确定单元和停止单元,其中:In the embodiment of the present invention, the device further includes: a second determining unit and a stopping unit, wherein:
第二确定单元,用于在所述不少于第一设定时长的时间段内,确定设置于第二空间内的第一传感器检测到待监测对象的动作时,确定所述待监测对象未发生第一行为,触发所述停止单元;The second determination unit is configured to determine that the object to be monitored is not detected when the first sensor disposed in the second space detects the movement of the object to be monitored within the time period not less than the first set duration. A first behavior occurs, triggering the stopping unit;
停止单元,用于使所述第二传感器停止检测工作。a stop unit, configured to stop the detection work of the second sensor.
本发明实施例中,所述装置还包括:第三确定单元;In the embodiment of the present invention, the device further includes: a third determining unit;
当所述对比单元的比对结果表征拟合度未达到设定阈值时,继续触发所述获取单元获取所述第一参数的检测结果,并继续触发所述比对单元将不少于第一设定时长的时间段内获取的所述第一参数的检测结果与参考检测结果进行比对,而比对结果表征拟合度始终未达到设定阈值,且通过所述第三确定单元确定设置于其他空间内的第一传感器始终未检测到待监测对象的动作,持续时长大于第三设定时长时,触发所述输出单元输出告警信息。When the comparison result of the comparison unit indicates that the fitting degree does not reach the set threshold, continue to trigger the acquisition unit to obtain the detection result of the first parameter, and continue to trigger the comparison unit to set the first parameter to be no less than the first parameter. The detection result of the first parameter acquired within the time period of the set duration is compared with the reference detection result, and the comparison result indicates that the degree of fit has never reached the set threshold, and the setting is determined by the third determining unit The first sensor in other spaces never detects the movement of the object to be monitored, and when the duration is longer than a third set duration, the output unit is triggered to output an alarm message.
本发明实施例中,所述装置还包括:In an embodiment of the present invention, the device further includes:
训练单元,用于在设定周期内,当所述待监测对象的第一行为发生时,触发第二传感器对所述第一空间内的第一参数进行检测;将所述设定周期内的第一参数的检测结果作为训练样本,采用监督学习算法中的最小二乘积算法对所述设定周期内的第一参数的检测结果进行拟合,获得所述待监测对象的第一行为发生过程中所述第一空间内的第一参数随时间变化的趋势信息,将所述第一参数随时间变化的趋势信息作为所述参考检测结果。The training unit is configured to trigger the second sensor to detect the first parameter in the first space when the first behavior of the object to be monitored occurs within the set period; The detection result of the first parameter is used as a training sample, and the least square product algorithm in the supervised learning algorithm is used to fit the detection result of the first parameter in the set period to obtain the occurrence process of the first behavior of the object to be monitored. The time-varying trend information of the first parameter in the first space is used as the reference detection result.
本发明实施例中,所述第一传感器包括被动红外PIR传感器;In an embodiment of the present invention, the first sensor includes a passive infrared PIR sensor;
所述第二传感器包括湿度传感器。The second sensor includes a humidity sensor.
本发明实施例提供的行为监测方法及装置,通过PIR传感器等对待监测对象进行检测,以确定待监测对象是否位于设定空间内,当检测到待监测对象位于设定空间内时,开启其他传感器对待监测对象的行为进行检测,当检测到待监测对象的某行为时,对该行为的持续时间进行检测,当超出设定阈值时,输出相应的告警信息。相应的告警信息可以输出给特定的对象,如与待监测对象相关的用户。本发明实施例的技术方案采用非侵入方式识别待监测对象的行为,保护了待监测对象的隐私,并采用传感器对待监测对象的行为进行检测,降低了识别算法的难度和系统部署成本,并提高了识别可靠性。In the behavior monitoring method and device provided by the embodiments of the present invention, the object to be monitored is detected by a PIR sensor to determine whether the object to be monitored is located in the set space, and when it is detected that the object to be monitored is located in the set space, other sensors are turned on The behavior of the object to be monitored is detected. When a behavior of the object to be monitored is detected, the duration of the behavior is detected. When the set threshold is exceeded, the corresponding alarm information is output. Corresponding alarm information can be output to specific objects, such as users related to the object to be monitored. The technical solution of the embodiment of the present invention uses a non-intrusive method to identify the behavior of the object to be monitored, protects the privacy of the object to be monitored, and uses sensors to detect the behavior of the object to be monitored, which reduces the difficulty of recognition algorithms and system deployment costs, and improves recognition reliability.
附图说明Description of drawings
图1为本发明实施例一的行为监测方法的流程示意图;FIG. 1 is a schematic flow diagram of a behavior monitoring method according to Embodiment 1 of the present invention;
图2为本发明实施例的行为监测系统的结构示意图;2 is a schematic structural diagram of a behavior monitoring system according to an embodiment of the present invention;
图3为本发明实施例二的行为监测方法的流程示意图;3 is a schematic flow diagram of a behavior monitoring method according to Embodiment 2 of the present invention;
图4为本发明实施例的待监测对象的行为参数统计结果示意图;4 is a schematic diagram of statistical results of behavioral parameters of an object to be monitored according to an embodiment of the present invention;
图5为本发明实施例的行为监测装置的结构组成示意图。FIG. 5 is a schematic diagram of the structure and composition of the behavior monitoring device according to the embodiment of the present invention.
具体实施方式detailed description
为了能够更加详尽地了解本发明实施例的特点与技术内容,下面结合附图对本发明实施例的实现进行详细阐述,所附附图仅供参考说明之用,并非用来限定本发明实施例。In order to understand the characteristics and technical contents of the embodiments of the present invention in more detail, the implementation of the embodiments of the present invention will be described in detail below in conjunction with the accompanying drawings. The attached drawings are only for reference and description, and are not intended to limit the embodiments of the present invention.
图1为本发明实施例一的行为监测方法的流程示意图,如图1所示,本示例的行为监测方法包括以下步骤:Fig. 1 is a schematic flow diagram of a behavior monitoring method in Embodiment 1 of the present invention. As shown in Fig. 1, the behavior monitoring method in this example includes the following steps:
步骤101:确定设置于第一空间内的第一传感器检测到待监测对象的动作时,触发第二传感器对所述第一空间内的第一参数进行检测,获取所述第一参数的检测结果。Step 101: When it is determined that the first sensor installed in the first space detects the movement of the object to be monitored, trigger the second sensor to detect the first parameter in the first space, and obtain the detection result of the first parameter .
本发明实施例中,第一传感器包括被动红外(PIR,Passive InfraRed)传感器等;第二传感器包括湿度传感器等。In the embodiment of the present invention, the first sensor includes a passive infrared (PIR, Passive InfraRed) sensor and the like; the second sensor includes a humidity sensor and the like.
第一空间可以包括卫生间、浴室等。待监测对象包括行动不便的老人、病人等对象。由于待监测对象行动不便,需要对其进入特定空间内的行为进行监测,避免发生意外。由于待监测空间一般属于私密的地方,如果采用摄像头等方式监测,将会导致待监测对象的隐私权不能获得有效保证。因此,本发明实施例中通过设置传感器的方式,实现对待监测对象的监测。The first space may include a toilet, a bathroom, and the like. The objects to be monitored include the elderly and patients with limited mobility. Since the object to be monitored is inconvenient to move, it is necessary to monitor its behavior in a specific space to avoid accidents. Since the space to be monitored is generally a private place, if a camera or other methods are used to monitor, the privacy of the object to be monitored will not be effectively guaranteed. Therefore, in the embodiment of the present invention, the monitoring of the object to be monitored is realized by setting sensors.
本发明实施例,当检测到待监测对象进入浴室或卫生间后,开启湿度传感器对待监测对象进行检测,当检测到待监测对象如进行洗澡时,将对待监测对象的洗澡时长进行检测,当检测到待监测对象的洗澡时长超出设定阈值时,将输出告警信息。In the embodiment of the present invention, when it is detected that the object to be monitored enters the bathroom or toilet, the humidity sensor is turned on to detect the object to be monitored. When it is detected that the object to be monitored is taking a bath, the bathing time of the object to be monitored will be detected. When the bathing time of the object to be monitored exceeds the set threshold, an alarm message will be output.
步骤102:将不少于第一设定时长的时间段内获取的所述第一参数的检测结果与参考检测结果进行比对,当比对结果表征拟合度达到设定阈值时,确定所述待监测对象的第一行为发生。Step 102: Compare the detection result of the first parameter acquired within a time period not less than the first set duration with the reference detection result, and when the fit of the comparison result reaches the set threshold, determine the The first behavior of the object to be monitored occurs.
本发明实施例中,通过第二传感器获取到的第一参数的检测结果,为保证待监测对象行为检测的准确性,需要获取一段时间内的第一参数的检测结果,并将一段时间内的第一参数的检测结果与参考检测结果进行比对,当比对结果表征拟合度达到设定阈值时,确定所述待监测对象的相关行为发生。如确定用户进入浴室后,将采集的几分钟内的湿度传感器数据用之前的参考数据进行拟合,当相关系数R2>70%时,则判定用户在洗澡。当相关系数R2<70%时,则判定用户没有在洗澡。本发明实施例中,设定阈值可以根据实际情况而设置,也可以设置为60%、65%、75%、80%、85%等。In the embodiment of the present invention, the detection result of the first parameter obtained by the second sensor, in order to ensure the accuracy of the behavior detection of the object to be monitored, it is necessary to obtain the detection result of the first parameter within a period of time, and the detection result of the first parameter within a period of time The detection result of the first parameter is compared with the reference detection result, and when the matching degree of the comparison result reaches a set threshold, it is determined that the relevant behavior of the object to be monitored occurs. For example, after it is determined that the user enters the bathroom, the humidity sensor data collected within a few minutes is fitted with the previous reference data. When the correlation coefficient R 2 >70%, it is determined that the user is taking a bath. When the correlation coefficient R 2 <70%, it is determined that the user is not taking a shower. In the embodiment of the present invention, the set threshold may be set according to the actual situation, and may also be set to 60%, 65%, 75%, 80%, 85% and so on.
本发明实施例中,在所述不少于第一设定时长的时间段内,确定设置于第二空间内的第一传感器检测到待监测对象的动作时,确定所述待监测对象未发生第一行为,使所述第二传感器停止检测工作。当确定待监测对象未进行洗澡等待监测行为时,需要关闭深度传感器等相关参数的检测设备。In the embodiment of the present invention, when it is determined that the first sensor installed in the second space detects the movement of the object to be monitored within the time period not less than the first set duration, it is determined that the object to be monitored has not occurred. The first behavior is to stop the detection work of the second sensor. When it is determined that the object to be monitored is not taking a bath and waiting for the monitoring behavior, it is necessary to turn off the detection equipment of relevant parameters such as the depth sensor.
在设定周期内,当所述待监测对象的第一行为发生时,触发第二传感器对所述第一空间内的第一参数进行检测;In the set period, when the first behavior of the object to be monitored occurs, triggering the second sensor to detect the first parameter in the first space;
将所述设定周期内的第一参数的检测结果作为训练样本,采用监督学习算法中的最小二乘积算法对所述设定周期内的第一参数的检测结果进行拟合,获得所述待监测对象的第一行为发生过程中所述第一空间内的第一参数随时间变化的趋势信息,将所述第一参数随时间变化的趋势信息作为所述参考检测结果。本发明实施例通过对待监测对象的行为产生的第一参数进行统计,形成训练数据,以尽可能获取待监测对象的参考检测结果的准确性,以便准确判断出待监测对象是否发生了待监测行为。Using the detection result of the first parameter in the set period as a training sample, using the least squares algorithm in the supervised learning algorithm to fit the detection result of the first parameter in the set period to obtain the to-be Monitoring the trend information of the first parameter changing over time in the first space during the occurrence of the first behavior of the object, and using the trend information changing over time of the first parameter as the reference detection result. In the embodiment of the present invention, the first parameter generated by the behavior of the object to be monitored is counted to form training data, so as to obtain the accuracy of the reference detection result of the object to be monitored as much as possible, so as to accurately determine whether the object to be monitored has occurred the behavior to be monitored .
步骤103:确定待监测对象的第一行为发生时长大于第二设定时长时,输出告警信息。Step 103: When it is determined that the occurrence time of the first behavior of the object to be monitored is longer than the second set time, an alarm message is output.
本发明实施例中,当确定待监测对象的第一行为发生时长较长而超过了不合理时长时,将输出告警信息。告警信息可以直接输出,也可以向第三方如999中心、待监测对象的监护人等发送。In the embodiment of the present invention, when it is determined that the first behavior of the object to be monitored takes place for a long time and exceeds an unreasonable time period, an alarm message will be output. The alarm information can be directly output, and can also be sent to a third party such as 999 center, the guardian of the object to be monitored, etc.
本发明实施例中,所述方法还包括:In an embodiment of the present invention, the method further includes:
当比对结果表征拟合度未达到设定阈值时,继续获取所述第一参数的检测结果,并继续将不少于第一设定时长的时间段内获取的所述第一参数的检测结果与参考检测结果进行比对,而比对结果表征拟合度始终未达到设定阈值,且确定设置于其他空间内的第一传感器始终未检测到待监测对象的动作,持续时长大于第三设定时长时,输出告警信息。即当待监测对象进入至第一空间内,但并未发生待检测的行为,而待监测对象在第一空间中停留的时长超出了不合理的时长,将同样会输出告警信息。When the degree of fit of the comparison result does not reach the set threshold, continue to obtain the detection result of the first parameter, and continue to detect the first parameter obtained within a time period not less than the first set duration The result is compared with the reference detection result, but the comparison result shows that the fitting degree has not reached the set threshold, and it is determined that the first sensor installed in other spaces has never detected the movement of the object to be monitored, and the duration is longer than the third sensor. When the duration is set, an alarm message will be output. That is, when the object to be monitored enters the first space, but the behavior to be detected does not occur, and the duration of the object to be monitored stays in the first space exceeds an unreasonable length of time, an alarm message will also be output.
以下通过示例,进一步阐明本发明实施例技术方案的实质。The essence of the technical solution of the embodiment of the present invention is further clarified through examples below.
图2为本发明实施例的行为监测系统的结构示意图,如图2所示,本发明实施例的行为监测系统中包括湿度传感器、PIR传感器、处理终端、存储器、应用服务器和告警输出对象如PC、手机客户端或999中心等。本发明实施例仅以图2所示的结构进行相关说明,并非用于限定本发明的保护范围。本发明实施例中,将以用户是否洗澡为监测行为,确定用户行为是否超出了不合理时长。本发明实施例的行为监测系统中各部分组件的功能描述如下:Fig. 2 is the structural representation of the behavior monitoring system of the embodiment of the present invention, as shown in Fig. 2, comprise humidity sensor, PIR sensor, processing terminal, memory, application server and warning output object such as PC in the behavior monitoring system of the embodiment of the present invention , mobile client or 999 center, etc. The embodiment of the present invention is only described with the structure shown in FIG. 2 , which is not intended to limit the protection scope of the present invention. In the embodiment of the present invention, whether the user takes a bath is used as the monitoring behavior to determine whether the user's behavior exceeds an unreasonable time period. The function description of each component in the behavior monitoring system of the embodiment of the present invention is as follows:
湿度传感器,用于测量空气中的相对湿度。如湿度传感器可安装于浴室或卫生间。Humidity sensor for measuring the relative humidity in the air. For example, the humidity sensor can be installed in the bathroom or toilet.
PIR传感器,被动式红外探测器,可探测人体是否有活动。通过PIR传感器,可监测用户是否进入了相应的监测区域。PIR sensor, a passive infrared detector, can detect whether the human body is active. Through the PIR sensor, it can monitor whether the user has entered the corresponding monitoring area.
处理终端,采集传感器数据并将数据传输给存储服务器和应用服务器。本发明实施例中,存储器也可以为存储服务器,或设置于处理终端中的存储设备等。存务器,用于存储各监测传感器的历史数据和应用服务器传送的洗澡开始时间,结束时间和洗澡时长等信息,并将此历史数据传给应用服务器用于洗澡异常判定的依据。应用服务器,用于根据传感器数据判定被监测对象是否在洗澡,并通过对历史数据的挖掘设定洗澡时间过长的报警阈值。若用户洗澡超时,则将洗澡异常的信息通知给用户的监护人等。PC或手机客户端,用于接收应用服务器发送的洗澡信息和异常信息并通知用户。Process the terminal, collect sensor data and transmit the data to the storage server and application server. In the embodiment of the present invention, the storage may also be a storage server, or a storage device installed in the processing terminal, or the like. The storage device is used to store the historical data of each monitoring sensor and the bathing start time, end time and bathing duration transmitted by the application server, and transmit the historical data to the application server for the basis of bathing abnormality judgment. The application server is used to determine whether the monitored object is taking a bath according to the sensor data, and set an alarm threshold for excessive bathing time by mining historical data. If the user takes a bath overtime, the user's guardian and the like are notified of abnormal bathing information. The PC or mobile phone client is used to receive the bathing information and abnormal information sent by the application server and notify the user.
图3为本发明实施例二的行为监测方法的流程示意图,如图3所示,本示例的行为监测方法包括以下处理步骤:Fig. 3 is a schematic flow chart of the behavior monitoring method of Embodiment 2 of the present invention. As shown in Fig. 3, the behavior monitoring method of this example includes the following processing steps:
检测浴室的PIR传感器是否有由无人到有人的信号跳变事件发生。Detect whether the PIR sensor in the bathroom has a signal jump event from no one to someone.
如果有由无人到有人的信号跳变事件发生,采集并存储浴室中湿度传感器的数据。If there is a signal jump event from no-occupancy to occupancy, the data of the humidity sensor in the bathroom is collected and stored.
在湿度传感器数据采集过程中,如果发生房屋其他房间有PIR信号突变事件发生,则判定用户离开浴室,并未有洗澡的行为发生。During the data collection process of the humidity sensor, if there is a PIR signal mutation event in other rooms of the house, it is determined that the user has left the bathroom and has not taken a bath.
本发明实施例中,一般是对独居的老人或病人进行行为监测,而当室内有多人时,需要对用户行为进行监测。In the embodiment of the present invention, the behavior monitoring of the elderly or patients living alone is generally performed, and when there are many people in the room, the user behavior needs to be monitored.
在湿度传感器数据采集过程中,如果未发生房屋其他房间有PIR信号突变事件发生,则判定用户还在浴室里,未离开。During the data collection process of the humidity sensor, if there is no PIR signal mutation event in other rooms of the house, it is determined that the user is still in the bathroom and has not left.
采集30天用户洗澡过程中湿度传感器的数值作为机器学习的训练样本,采用监督学习算法中的最小二乘积算法对数据进行拟合,获得洗澡过程中浴室湿度随时间变化的趋势图和方程,如图4所示。The value of the humidity sensor during the bathing process of the user for 30 days is collected as a training sample for machine learning, and the least square product algorithm in the supervised learning algorithm is used to fit the data to obtain the trend graph and equation of the bathroom humidity changing with time during the bathing process, as shown in Figure 4 shows.
当判定用户进入浴室后,将采集的几分钟内的湿度传感器数据用之前学习得到的模型进行拟合,查看拟合结果,当相关系数R2>70%时,则判定用户在洗澡。当相关系数R2<70%时,则判定用户没有在洗澡。When it is determined that the user has entered the bathroom, the humidity sensor data collected within a few minutes is fitted with the previously learned model, and the fitting results are checked. When the correlation coefficient R 2 >70%, it is determined that the user is taking a bath. When the correlation coefficient R 2 <70%, it is determined that the user is not taking a shower.
用户在洗澡时,当浴室PIR传感器由有人变无人的信号跳变事件发生时,如果房屋其他房间的PIR传感器由无人变有人的信号跳变事件发生,判定用户洗澡结束。When the user is taking a bath, when the PIR sensor in the bathroom changes from someone to no one, if the PIR sensor in other rooms of the house changes from no one to someone, it is determined that the user's bathing is over.
统计30天每次用户洗澡的时间,进行正态分布拟合,选取置信区间95%,从而设定洗澡超时的报警阈值。Count the bathing time of each user for 30 days, perform normal distribution fitting, and select a confidence interval of 95%, so as to set the alarm threshold for bathing timeout.
本发明实施例中,当确定用户并未发生洗澡行为,而其待在浴室的时间不合理的长如在浴室未洗澡而待了15分钟,则同样输出告警信息,以方便待监测用户的监护人及时采取相应措施,防止待监测对象发生意外。In the embodiment of the present invention, when it is determined that the user does not take a bath, and the time he stays in the bathroom is unreasonably long, such as staying in the bathroom for 15 minutes without taking a bath, an alarm message is also output to facilitate the guardian of the user to be monitored. Take corresponding measures in time to prevent accidents in the objects to be monitored.
图5为本发明实施例的行为监测装置的结构组成示意图,如图5所示,本发明实施例的行为监测装置包括:第一确定单元50、触发单元51、获取单元52、对比单元53、判断单元54和输出单元55,其中:Figure 5 is a schematic diagram of the structure of the behavior monitoring device of the embodiment of the present invention, as shown in Figure 5, the behavior monitoring device of the embodiment of the present invention includes: a first determination unit 50, a trigger unit 51, an acquisition unit 52, a comparison unit 53, Judging unit 54 and output unit 55, wherein:
第一确定单元50,用于确定设置于第一空间内的第一传感器是否检测到待监测对象的动作,检测到所述待监测对象的动作时,触发所述触发单元51;The first determination unit 50 is configured to determine whether the first sensor arranged in the first space detects the movement of the object to be monitored, and triggers the trigger unit 51 when the movement of the object to be monitored is detected;
触发单元51,用于触发第二传感器对所述第一空间内的第一参数进行检测;a trigger unit 51, configured to trigger the second sensor to detect the first parameter in the first space;
获取单元52,用于获取所述第二传感器的所述第一参数的检测结果;An acquisition unit 52, configured to acquire a detection result of the first parameter of the second sensor;
对比单元53,用于将不少于第一设定时长的时间段内获取的所述第一参数的检测结果与参考检测结果进行比对,当比对结果表征拟合度达到设定阈值时,确定所述待监测对象的第一行为发生;The comparison unit 53 is configured to compare the detection result of the first parameter obtained within a time period not less than the first set duration with the reference detection result, and when the comparison result indicates that the fitting degree reaches the set threshold , determining that the first behavior of the object to be monitored occurs;
判断单元54,用于判断所述待监测对象的第一行为发生时长是否大于第二设定时长,大于所述第二设定时长时触发所述输出单元;A judging unit 54, configured to judge whether the duration of occurrence of the first behavior of the object to be monitored is greater than a second set duration, and trigger the output unit when greater than the second set duration;
输出单元55,用于输出告警信息。The output unit 55 is configured to output alarm information.
在图5所示的行为监测装置的基础上,本发明实施例的行为监测装置还包括:第二确定单元(图5中未示出)和停止单元(图5中未示出),其中:On the basis of the behavior monitoring device shown in Figure 5, the behavior monitoring device of the embodiment of the present invention also includes: a second determination unit (not shown in Figure 5) and a stop unit (not shown in Figure 5), wherein:
第二确定单元,用于在所述不少于第一设定时长的时间段内,确定设置于第二空间内的第一传感器检测到待监测对象的动作时,确定所述待监测对象未发生第一行为,触发所述停止单元;The second determination unit is configured to determine that the object to be monitored is not detected when the first sensor disposed in the second space detects the movement of the object to be monitored within the time period not less than the first set duration. A first behavior occurs, triggering the stopping unit;
停止单元,用于使所述第二传感器停止检测工作。a stop unit, configured to stop the detection work of the second sensor.
在图5所示的行为监测装置的基础上,本发明实施例的行为监测装置还包括:第三确定单元(图5中未示出);On the basis of the behavior monitoring device shown in Figure 5, the behavior monitoring device according to the embodiment of the present invention further includes: a third determining unit (not shown in Figure 5);
当所述对比单元53的比对结果表征拟合度未达到设定阈值时,继续触发所述获取单元52获取所述第一参数的检测结果,并继续触发所述比对单元53将不少于第一设定时长的时间段内获取的所述第一参数的检测结果与参考检测结果进行比对,而比对结果表征拟合度始终未达到设定阈值,且通过所述第三确定单元确定设置于其他空间内的第一传感器始终未检测到待监测对象的动作,持续时长大于第三设定时长时,触发所述输出单元55输出告警信息。When the comparison result of the comparison unit 53 indicates that the degree of fit does not reach the set threshold, continue to trigger the acquisition unit 52 to obtain the detection result of the first parameter, and continue to trigger the comparison unit 53 to reduce the number of parameters. The detection result of the first parameter obtained within the first set time period is compared with the reference detection result, and the comparison result indicates that the degree of fit has not reached the set threshold, and through the third determination The unit determines that the first sensor arranged in another space has not detected the movement of the object to be monitored, and when the duration is longer than the third set time, the output unit 55 is triggered to output an alarm message.
在图5所示的行为监测装置的基础上,本发明实施例的行为监测装置还包括:训练单元(图5中未示出),用于在设定周期内,当所述待监测对象的第一行为发生时,触发第二传感器对所述第一空间内的第一参数进行检测;将所述设定周期内的第一参数的检测结果作为训练样本,采用监督学习算法中的最小二乘积算法对所述设定周期内的第一参数的检测结果进行拟合,获得所述待监测对象的第一行为发生过程中所述第一空间内的第一参数随时间变化的趋势信息,将所述第一参数随时间变化的趋势信息作为所述参考检测结果。On the basis of the behavior monitoring device shown in Figure 5, the behavior monitoring device of the embodiment of the present invention also includes: a training unit (not shown in Figure 5), used to When the first behavior occurs, the second sensor is triggered to detect the first parameter in the first space; the detection result of the first parameter in the set period is used as a training sample, and the least squares method in the supervised learning algorithm is used. The product algorithm is used to fit the detection results of the first parameter in the set period, and obtain the trend information of the first parameter in the first space in the first space during the occurrence of the first behavior of the object to be monitored. Taking the trend information of the first parameter over time as the reference detection result.
本发明实施例中,所述第一传感器包括被动红外PIR传感器;In an embodiment of the present invention, the first sensor includes a passive infrared PIR sensor;
所述第二传感器包括湿度传感器。The second sensor includes a humidity sensor.
本领域技术人员应当理解,上述各单元的实现功能可参照前述各实施例的行为监测方法的相关描述而理解。上述各单元的功能可通过运行于处理模块上的程序而实现,也可通过具体的逻辑电路而实现。Those skilled in the art should understand that the functions implemented by the above units can be understood with reference to the relevant descriptions of the behavior monitoring methods of the foregoing embodiments. The functions of the above units can be realized by programs running on the processing modules, or by specific logic circuits.
本发明实施例所记载的技术方案之间,在不冲突的情况下,可以任意组合。The technical solutions described in the embodiments of the present invention may be combined arbitrarily if there is no conflict.
在本发明所提供的几个实施例中,应该理解到,所揭露的方法和智能设备,可以通过其它的方式实现。以上所描述的设备实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,如:多个单元或组件可以结合,或可以集成到另一个系统,或一些特征可以忽略,或不执行。另外,所显示或讨论的各组成部分相互之间的耦合、或直接耦合、或通信连接可以是通过一些接口,设备或单元的间接耦合或通信连接,可以是电性的、机械的或其它形式的。In the several embodiments provided by the present invention, it should be understood that the disclosed methods and smart devices can be implemented in other ways. The device embodiments described above are only illustrative. For example, the division of the units is only a logical function division. In actual implementation, there may be other division methods, such as: multiple units or components can be combined, or May be integrated into another system, or some features may be ignored, or not implemented. In addition, the mutual coupling, or direct coupling, or communication connection between the various components shown or discussed may be through some interfaces, and the indirect coupling or communication connection of devices or units may be in electrical, mechanical or other forms. of.
上述作为分离部件说明的单元可以是、或也可以不是物理上分开的,作为单元显示的部件可以是、或也可以不是物理单元,即可以位于一个地方,也可以分布到多个网络单元上;可以根据实际的需要选择其中的部分或全部单元来实现本实施例方案的目的。The units described above as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place or distributed to multiple network units; Part or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
另外,在本发明各实施例中的各功能单元可以全部集成在一个第二处理单元中,也可以是各单元分别单独作为一个单元,也可以两个或两个以上单元集成在一个单元中;上述集成的单元既可以采用硬件的形式实现,也可以采用硬件加软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present invention may be fully integrated into a second processing unit, or each unit may be separately used as a unit, or two or more units may be integrated into one unit; The above-mentioned integrated units can be implemented in the form of hardware, or in the form of hardware plus software functional units.
以上所述,仅为本发明的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本发明的保护范围之内。The above is only a specific embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Anyone skilled in the art can easily think of changes or substitutions within the technical scope disclosed in the present invention. Should be covered within the protection scope of the present invention.
Claims (10)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201510997343.4A CN106919892B (en) | 2015-12-25 | 2015-12-25 | Behavior monitoring method and device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201510997343.4A CN106919892B (en) | 2015-12-25 | 2015-12-25 | Behavior monitoring method and device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN106919892A true CN106919892A (en) | 2017-07-04 |
| CN106919892B CN106919892B (en) | 2020-07-07 |
Family
ID=59455737
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201510997343.4A Active CN106919892B (en) | 2015-12-25 | 2015-12-25 | Behavior monitoring method and device |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN106919892B (en) |
Cited By (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN108281203A (en) * | 2018-02-28 | 2018-07-13 | 泰康保险集团股份有限公司 | A kind of prediction technique and device of abnormal behaviour |
| CN108494856A (en) * | 2018-03-21 | 2018-09-04 | 耘申信息科技(上海)有限公司 | A kind of management method and system of space service condition |
| CN110765967A (en) * | 2019-10-30 | 2020-02-07 | 腾讯科技(深圳)有限公司 | Action recognition method based on artificial intelligence and related device |
| CN111306803A (en) * | 2020-03-01 | 2020-06-19 | 苏州淘喜网络科技有限公司 | Water source supply control system and method based on big data |
| CN113357771A (en) * | 2021-05-28 | 2021-09-07 | 青岛海尔空调器有限总公司 | Air conditioner control method based on movable wearable device and movable wearable device |
| CN116110193A (en) * | 2023-03-29 | 2023-05-12 | 中国铁塔股份有限公司 | A kind of intelligent nursing method, device, electronic equipment and storage medium |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN103325080A (en) * | 2013-06-21 | 2013-09-25 | 电子科技大学 | Gerocamium intelligent nursing system and method based on Internet of Things technology |
| CN104112331A (en) * | 2014-01-07 | 2014-10-22 | 芜湖美的厨卫电器制造有限公司 | Method and system for performing safety alarm via water heater, and water heater |
| CN104376694A (en) * | 2013-08-13 | 2015-02-25 | 联想(北京)有限公司 | Monitoring method, electronic device and system |
| CN204576766U (en) * | 2015-03-26 | 2015-08-19 | 郭天铭 | Be exclusively used in the overtime reminiscences in toilet |
| CN105046883A (en) * | 2015-08-14 | 2015-11-11 | 上海正苒智能科技有限公司 | Monitoring and alarming system and method |
-
2015
- 2015-12-25 CN CN201510997343.4A patent/CN106919892B/en active Active
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN103325080A (en) * | 2013-06-21 | 2013-09-25 | 电子科技大学 | Gerocamium intelligent nursing system and method based on Internet of Things technology |
| CN104376694A (en) * | 2013-08-13 | 2015-02-25 | 联想(北京)有限公司 | Monitoring method, electronic device and system |
| CN104112331A (en) * | 2014-01-07 | 2014-10-22 | 芜湖美的厨卫电器制造有限公司 | Method and system for performing safety alarm via water heater, and water heater |
| CN204576766U (en) * | 2015-03-26 | 2015-08-19 | 郭天铭 | Be exclusively used in the overtime reminiscences in toilet |
| CN105046883A (en) * | 2015-08-14 | 2015-11-11 | 上海正苒智能科技有限公司 | Monitoring and alarming system and method |
Cited By (10)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN108281203A (en) * | 2018-02-28 | 2018-07-13 | 泰康保险集团股份有限公司 | A kind of prediction technique and device of abnormal behaviour |
| CN108281203B (en) * | 2018-02-28 | 2021-10-22 | 泰康保险集团股份有限公司 | Method and device for predicting abnormal behavior |
| CN108494856A (en) * | 2018-03-21 | 2018-09-04 | 耘申信息科技(上海)有限公司 | A kind of management method and system of space service condition |
| CN108494856B (en) * | 2018-03-21 | 2022-03-11 | 耘申信息科技(上海)有限公司 | Space use condition management method and system |
| CN110765967A (en) * | 2019-10-30 | 2020-02-07 | 腾讯科技(深圳)有限公司 | Action recognition method based on artificial intelligence and related device |
| CN110765967B (en) * | 2019-10-30 | 2022-04-22 | 腾讯科技(深圳)有限公司 | A kind of action recognition method and related device based on artificial intelligence |
| US12087069B2 (en) | 2019-10-30 | 2024-09-10 | Tencent Technology (Shenzhen) Company Limited | Artificial intelligence-based action recognition method and related apparatus |
| CN111306803A (en) * | 2020-03-01 | 2020-06-19 | 苏州淘喜网络科技有限公司 | Water source supply control system and method based on big data |
| CN113357771A (en) * | 2021-05-28 | 2021-09-07 | 青岛海尔空调器有限总公司 | Air conditioner control method based on movable wearable device and movable wearable device |
| CN116110193A (en) * | 2023-03-29 | 2023-05-12 | 中国铁塔股份有限公司 | A kind of intelligent nursing method, device, electronic equipment and storage medium |
Also Published As
| Publication number | Publication date |
|---|---|
| CN106919892B (en) | 2020-07-07 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN105608838B (en) | A kind of monitor system and method | |
| CN106919892B (en) | Behavior monitoring method and device | |
| Tabar et al. | Smart home care network using sensor fusion and distributed vision-based reasoning | |
| US10311695B2 (en) | Method and system for monitoring | |
| Sixsmith et al. | A smart sensor to detect the falls of the elderly | |
| CN104954733B (en) | Safety nursing system capable of actively detecting position of terminal device | |
| CN103815912B (en) | Old solitary people based on thermal infrared sensor array falls down behavior method of real-time | |
| JP2011129120A5 (en) | ||
| CN106934787B (en) | Intelligent access control method, system, server and equipment | |
| TW201331893A (en) | Intelligent monitoring system with automatic notification and intelligent monitoring device thereof | |
| KR20220113631A (en) | Dangerous situation detection device and dangerous situation detection method | |
| CN205451392U (en) | Monitor system | |
| WO2016175109A1 (en) | Monitoring device, monitoring method, monitoring program, and monitoring system | |
| CN102610054A (en) | Video-based getting up detection system | |
| KR102030935B1 (en) | INTEREST AREA MONITORING METHOD BASED ON IoT, DOOR USAGE RECOGNITION DEVICE AND INTEREST AREA MONITORING SYSTEM FOR PERFORMING THE SAME | |
| CN108564751A (en) | The monitoring method of cable tunnel anti-intrusion, apparatus and system | |
| US20240221382A1 (en) | Monitoring system and method for recognizing the activity of determined persons | |
| JP6115689B1 (en) | Fall detection device, fall detection method and monitored person monitoring device | |
| AU2015299180B2 (en) | A system for identifying a change in walking speed of a person. | |
| KR20150134820A (en) | An elevator monitor that restricts access through face recognition | |
| CN116071888A (en) | Method, device, electronic device and storage medium for early warning of abnormal mobile behavior of users | |
| CN108256283A (en) | A kind of occupancy recognition methods and device | |
| WO2016053192A1 (en) | An event detection method | |
| JP2025528868A (en) | Method for operating a fall detection system, device for operating a fall detection system and fall detection system | |
| TWM564801U (en) | High-privacy intelligent security notification system |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant |