Human sleep state monitoring method and intelligent household device

文档序号:120311 发布日期:2021-10-22 浏览:24次 中文

阅读说明:本技术 一种人体睡眠状态的监测方法和智能家居装置 (Human sleep state monitoring method and intelligent household device ) 是由 曹壬艳 高保华 刘聚科 刘金龙 徐贝贝 于 2020-04-17 设计创作,主要内容包括:本发明提供了一种人体睡眠状态的监测方法和智能家居装置。该方法包括:周期性地采集指定位置区域的目标人体的温度,得到人体温度采样值;计算当前采样点与之前相邻采样的人体温度采样值之间的温差,并判断温差是否小于或等于第一温度阈值;若是,则将当前采样点的人体温度采样值记录为温度参考值;若否,则获取第二温度阈值,根据当前采样点前记录的连续多个温度参考值对第二温度阈值进行修正得到第二修正温度阈值;根据当前采样点的人体温度采样值和第二修正温度阈值判断目标人体是否符合睡眠状态异常条件;若是,则确定目标人体的睡眠状态异常。本发明的方案可提高人体睡眠状态监测的针对性和准确性,特别适用于智能空调等智能家电的应用场合。(The invention provides a method for monitoring a human sleep state and an intelligent household device. The method comprises the following steps: periodically collecting the temperature of a target human body in a designated position area to obtain a human body temperature sampling value; calculating the temperature difference between the current sampling point and the human body temperature sampling value sampled adjacently before, and judging whether the temperature difference is less than or equal to a first temperature threshold value; if so, recording the human body temperature sampling value of the current sampling point as a temperature reference value; if not, acquiring a second temperature threshold, and correcting the second temperature threshold according to a plurality of continuous temperature reference values recorded in front of the current sampling point to obtain a second corrected temperature threshold; judging whether the target human body meets the abnormal condition of the sleep state or not according to the human body temperature sampling value of the current sampling point and a second correction temperature threshold; and if so, determining that the sleep state of the target human body is abnormal. The scheme of the invention can improve the pertinence and the accuracy of the human body sleep state monitoring, and is particularly suitable for the application occasions of intelligent household appliances such as an intelligent air conditioner and the like.)

1. A method for monitoring the sleep state of a human body comprises the following steps:

periodically collecting the temperature of a target human body in a designated position area to obtain a human body temperature sampling value;

calculating the temperature difference between the human body temperature sampling value of the current sampling point and the human body temperature sampling value of the previous adjacent sampling point, and judging whether the temperature difference is less than or equal to a first temperature threshold value;

if so, recording the human body temperature sampling value of the current sampling point as a temperature reference value;

if not, acquiring a second temperature threshold, and correcting the second temperature threshold according to a plurality of continuous temperature reference values recorded before the current sampling point to obtain a second corrected temperature threshold;

judging whether the target human body meets the abnormal condition of the sleep state or not according to the human body temperature sampling value of the current sampling point and the second correction temperature threshold;

and if so, determining that the sleep state of the target human body is abnormal.

2. The monitoring method according to claim 1,

the step of correcting the second temperature threshold value according to the continuous multiple temperature reference values recorded before the current sampling point to obtain a second corrected temperature threshold value comprises the following steps:

acquiring a sequence of temperature reference values within a first preset time before the current sampling point to obtain a first temperature reference value sequence;

acquiring a sequence of temperature reference values within the first preset time before the first temperature reference value sequence to obtain a second temperature reference value sequence;

calculating a ratio of the average of the first sequence of temperature reference values to the average of the second sequence of temperature reference values;

and multiplying the second temperature threshold by the ratio to obtain the second corrected temperature threshold.

3. The monitoring method according to claim 2,

the first preset time period is in the range of 24-48 h.

4. The monitoring method according to claim 1,

the sleep state exception condition includes:

and the human body temperature sampling value of the current sampling point is smaller than the second correction temperature threshold value.

5. The monitoring method according to claim 1,

the sleep state exception condition includes:

the human body temperature sampling value of the current sampling point is smaller than the second correction temperature threshold value, the temperature of the target human body is continuously smaller than the second correction temperature threshold value within a second preset time period from the current sampling point, and the second preset time period is smaller than or equal to the collection period of the human body temperature sampling value.

6. The monitoring method according to claim 1,

the periodically acquiring the temperature of the target human body in the designated position area comprises the following steps:

and periodically acquiring the temperature of the target human body in the designated position area through infrared sensing.

7. The monitoring method according to claim 6,

before the periodically acquiring the temperature of the target human body of the designated position area through infrared sensing, the method further comprises the following steps:

carrying out infrared scanning on the designated position area to obtain temperature information of the designated position area;

determining the area of the region occupied by the target human body according to the temperature information of the designated position region;

judging whether the area of the region occupied by the target human body is smaller than a preset area threshold value or not;

and if so, executing the step of periodically acquiring the temperature of the target human body in the designated position area through infrared sensing.

8. The monitoring method according to claim 7,

the step of periodically collecting the temperature of the target human body in the designated location area through infrared sensing includes:

and periodically scanning the temperature of the area occupied by the target human body in the specified position area, and calculating the average temperature in the area occupied by the target human body as the temperature of the target human body in the specified position area.

9. The monitoring method according to claim 1,

after determining that the sleep state of the target human body is abnormal, the method further comprises the following steps:

generating a sleep state abnormal alarm signal;

sending an alarm prompt according to the sleep state abnormal alarm signal;

wherein the alert prompt includes a sound prompt and/or a vibration prompt.

10. An intelligent home device, comprising:

a temperature detection module configured to detect a temperature of a target human body in a designated location area; and

a control module, the control module comprising:

a processor; and

a memory storing computer program code;

the computer program code, when executed by the processor, causes the control module to perform a method of monitoring a human sleep state according to any one of claims 1-9.

Technical Field

The invention relates to the technical field of intelligent monitoring, in particular to a method for monitoring a human sleep state and an intelligent home device.

Background

When an individual (especially a child) sleeps, the person is easy to kick and catch a cold, and a guardian cannot monitor the sleeping state of the child in real time. At present, a plurality of techniques for monitoring the quilt kicked by children appear. In the prior art, when judging whether a child kicks a quilt or not, a fixed temperature threshold value is adopted as a judgment reference. And when the temperature of the specific part of the child is lower than the fixed temperature threshold value, judging that the child kicks off the quilt. However, in practical applications, the normal temperature of an individual (including a child) during sleep may also vary with recent weather, indoor environment, and other factors. Therefore, the fixed temperature threshold is used as the judgment reference, so that the judgment result is not accurate enough.

Disclosure of Invention

In view of the above problems, the present invention is proposed to provide a human sleep state monitoring method and a smart home device that overcome the above problems or at least partially solve the above problems.

An object of the present invention is to provide a method for monitoring a sleep state of a human body, which improves the accuracy of determining the sleep state of the human body by dynamically modifying a second temperature threshold for determining the sleep state of a target human body according to a historical temperature reference value of the target human body.

A further object of the present invention is to further improve the pertinence and accuracy of the sleep state determination of the human body by determining the attributes of the target human body before collecting the temperature of the target human body.

In particular, according to one aspect of the present invention, the present invention provides a method for monitoring a sleep state of a human body, comprising:

periodically collecting the temperature of a target human body in a designated position area to obtain a human body temperature sampling value;

calculating the temperature difference between the human body temperature sampling value of the current sampling point and the human body temperature sampling value of the previous adjacent sampling point, and judging whether the temperature difference is less than or equal to a first temperature threshold value;

if so, recording the human body temperature sampling value of the current sampling point as a temperature reference value;

if not, acquiring a second temperature threshold, and correcting the second temperature threshold according to a plurality of continuous temperature reference values recorded before the current sampling point to obtain a second corrected temperature threshold;

judging whether the target human body meets the abnormal condition of the sleep state or not according to the human body temperature sampling value of the current sampling point and a second correction temperature threshold;

and if so, determining that the sleep state of the target human body is abnormal.

Optionally, the modifying the second temperature threshold according to a plurality of continuous temperature reference values recorded before the current sampling point to obtain a second modified temperature threshold includes:

acquiring a sequence of temperature reference values within a first preset time before a current sampling point to obtain a first temperature reference value sequence;

acquiring a sequence of temperature reference values within a first preset time before the first temperature reference value sequence to obtain a second temperature reference value sequence;

calculating the ratio of the average value of the first temperature reference value sequence to the average value of the second temperature reference value sequence;

and multiplying the second temperature threshold by the ratio to obtain a second corrected temperature threshold.

Optionally, the first preset duration is in the range of 24-48 h.

Optionally, the sleep state exception condition comprises:

and the human body temperature sampling value of the current sampling point is smaller than the second correction temperature threshold value.

Optionally, the sleep state exception condition comprises:

the human body temperature sampling value of the current sampling point is smaller than the second correction temperature threshold value, the temperature of the target human body is continuously smaller than the second correction temperature threshold value within a second preset time length from the current sampling point, and the second preset time length is smaller than or equal to the collection period of the human body temperature sampling value.

Optionally, periodically acquiring the temperature of the target human body in the designated position area includes:

the temperature of the target human body in the designated location area is periodically collected through infrared sensing.

Optionally, before periodically acquiring the temperature of the target human body in the designated location area through infrared sensing, the monitoring method further comprises:

carrying out infrared scanning on the designated position area to obtain temperature information of the designated position area;

determining the area of the region occupied by the target human body according to the temperature information of the designated position region;

judging whether the area of the region occupied by the target human body is smaller than a preset area threshold value or not;

if yes, the step of periodically collecting the temperature of the target human body in the designated position area through infrared sensing is executed.

Optionally, the step of periodically acquiring the temperature of the target human body in the designated location area through infrared sensing comprises:

periodically, temperature scanning is carried out on the area occupied by the target human body in the designated position area, and the average temperature in the area occupied by the target human body is calculated and used as the temperature of the target human body in the designated position area.

Optionally, after determining that the sleep state of the target human body is abnormal, the monitoring method further includes:

generating a sleep state abnormal alarm signal;

sending an alarm prompt according to the abnormal sleep state alarm signal;

wherein the warning prompt comprises a sound prompt and/or a vibration prompt.

According to another aspect of the present invention, the present invention further provides a smart home apparatus, including:

a temperature detection module configured to detect a temperature of a target human body in a designated location area; and

a control module, the control module comprising:

a processor; and

a memory storing computer program code;

the computer program code, when executed by the processor, causes the control module to perform a method of monitoring a sleep state of a human body according to any of the preceding.

The invention provides a monitoring method of a human body sleep state and an intelligent home device, which are characterized in that the temperature of a target human body in a specified position area is periodically collected as a human body temperature sampling value, then, the temperature difference between the human body temperature sampling value of a current sampling point and the human body temperature sampling value of the previous adjacent sampling is calculated, whether the temperature difference is smaller than or equal to a first temperature threshold value or not is judged, if yes, the human body temperature sampling value of the current sampling point is recorded as a temperature reference value, if not, a second temperature threshold value is obtained, and the second temperature threshold value is corrected according to a plurality of continuous temperature reference values recorded before the current sampling point to obtain a second corrected temperature threshold value. And finally, judging whether the target human body meets the abnormal condition of the sleep state or not according to the human body temperature sampling value of the current sampling point and the second correction temperature threshold. Because the human body feels comfortable, the human body temperature cannot rise or fall rapidly, and therefore the human body temperature sampling value of the current sampling point, of which the temperature difference with the human body temperature sampling value sampled adjacently before is smaller than the first temperature threshold value, can be used as the temperature reference value of the comfortable temperature of the human body. And the change trend of the continuous multiple temperature reference values can also reflect the change of the normal temperature of the human body due to the change of factors such as recent weather, indoor environment and the like during sleeping. Therefore, when the sleep state is required to be judged, the second temperature threshold is corrected according to the continuous multiple temperature reference values recorded before the current sampling point to obtain the second corrected temperature threshold, so that the sleep state of the human body can be judged, the influence caused by the recent change of the normal temperature of the human body during sleep can be reduced or even eliminated, and the accuracy of judging the sleep state of the human body is improved.

Furthermore, before the temperature of the target human body in the designated position area is collected, the area of the area occupied by the target human body can be determined by performing infrared scanning on the designated position area, and whether the attribute of the target human body is child or not is determined by judging whether the area of the area occupied by the target human body is smaller than a preset area threshold value or not, so that the pertinence and the accuracy of monitoring the sleep state of the human body are further improved.

The above and other objects, advantages and features of the present invention will become more apparent to those skilled in the art from the following detailed description of specific embodiments thereof, taken in conjunction with the accompanying drawings.

Drawings

Some specific embodiments of the invention will be described in detail hereinafter, by way of illustration and not limitation, with reference to the accompanying drawings. The same reference numbers in the drawings identify the same or similar elements or components. Those skilled in the art will appreciate that the drawings are not necessarily drawn to scale. In the drawings:

FIG. 1 is a flow chart of a method for monitoring a sleep state of a human body according to an embodiment of the invention;

FIG. 2 is a flow chart of a method for monitoring a sleep state of a human body according to another embodiment of the invention;

fig. 3 is a schematic structural diagram of a smart home device according to an embodiment of the present invention.

Detailed Description

In order to solve the above problems, embodiments of the present invention provide a method for monitoring a sleep state of a human body.

Fig. 1 is a flowchart illustrating a method for monitoring a sleep state of a human body according to an embodiment of the present invention. Referring to fig. 1, the method may include at least steps S102 to S112.

Step S102, the temperature of the target human body in the designated position area is periodically collected, and a human body temperature sampling value is obtained.

And step S104, calculating the temperature difference between the human body temperature sampling value of the current sampling point and the human body temperature sampling value of the previous adjacent sampling point, and judging whether the temperature difference is less than or equal to a first temperature threshold value. If yes, go to step S106, otherwise go to step S108.

And step S106, recording the human body temperature sampling value of the current sampling point as a temperature reference value.

And S108, acquiring a second temperature threshold, and correcting the second temperature threshold according to a plurality of continuous temperature reference values recorded before the current sampling point to obtain a second corrected temperature threshold. After that, the process proceeds to step S110.

And step S110, judging whether the target human body meets the abnormal condition of the sleep state or not according to the human body temperature sampling value of the current sampling point and the second correction temperature threshold value. If yes, go to step S112.

And step S112, determining that the sleep state of the target human body is abnormal.

According to the method for monitoring the sleep state of the human body, the temperature of the target human body in the designated position area is periodically collected to serve as a human body temperature sampling value, then the temperature difference between the human body temperature sampling value of the current sampling point and the human body temperature sampling value of the previous adjacent sampling is calculated, whether the temperature difference is smaller than or equal to a first temperature threshold value or not is judged, if yes, the human body temperature sampling value of the current sampling point is recorded as a temperature reference value, if not, a second temperature threshold value is obtained, and the second temperature threshold value is corrected according to a plurality of continuous temperature reference values recorded before the current sampling point to obtain a second corrected temperature threshold value. And finally, judging whether the target human body meets the abnormal condition of the sleep state or not according to the human body temperature sampling value of the current sampling point and the second correction temperature threshold. Because the human body feels comfortable, the human body temperature cannot rise or fall rapidly, and therefore the human body temperature sampling value of the current sampling point, of which the temperature difference with the human body temperature sampling value sampled adjacently before is smaller than the first temperature threshold value, can be used as the temperature reference value of the comfortable temperature of the human body. And the change trend of the continuous multiple temperature reference values can also reflect the change of the normal temperature of the human body due to the change of factors such as recent weather, indoor environment and the like during sleeping. Therefore, when the sleep state is required to be judged, the second temperature threshold is corrected according to the continuous multiple temperature reference values recorded before the current sampling point to obtain the second corrected temperature threshold, so that the sleep state of the human body can be judged, the influence caused by the recent change of the normal temperature of the human body during sleep can be reduced or even eliminated, and the accuracy of judging the sleep state of the human body is improved.

The designated location area referred to herein may refer to a sleeping area of the target person, such as an area where bedding is located, e.g., a bed in a room, an area where a sofa is located.

In the step S102, the temperature of the target human body may be acquired by a non-contact thermometry method (e.g., infrared sensing, etc.). The acquisition period of the temperature of the target human body can be set according to the actual application requirements, and can be generally set within the range of 10-30min, for example 20 min.

In step S104 above, the first temperature threshold may be set in the range of 1-2 ℃, e.g. 1.5 ℃.

In the above step S108, the second temperature threshold may be a default normal temperature value preset according to the target human body when the target human body sleeps, which represents a normal human body temperature of the target human body in a case where the quilt is not kicked. The second temperature threshold may be obtained through empirical statistics or research. In particular, in an embodiment of the present invention, the second temperature threshold may be set, for example, in the range of 36.3-37.2 ℃.

In some embodiments, the second temperature threshold may also be set based on the current season, or the indoor environment in which the designated location area is located, or the like. For example, different second temperature thresholds may be set for summer and winter. Alternatively, different second temperature thresholds may be set according to whether the indoor environment in which the designated location area is located is an air-conditioning heating environment or an air-conditioning cooling environment.

In an embodiment, the step of correcting the second temperature threshold according to a plurality of consecutive temperature reference values recorded before the current sampling point to obtain a second corrected temperature threshold may further be implemented as: and correcting the second temperature threshold according to the change trend of the continuous multiple temperature reference values recorded before the current sampling point to obtain a second corrected temperature threshold. Specifically, firstly, a sequence of temperature reference values within a first preset time before a current sampling point is obtained, and a first temperature reference value sequence is obtained. And then, acquiring a sequence of the temperature reference values within a first preset time before the first temperature reference value sequence to obtain a second temperature reference value sequence. And finally, calculating the ratio of the average value of the first temperature reference value sequence to the average value of the second temperature reference value sequence, and multiplying the second temperature threshold by the ratio to obtain a second corrected temperature threshold. The value of the first preset time can be set according to the actual application requirement, so that the temperature reference value sequence in the first preset time can sufficiently and timely reflect the recent change of the normal temperature of the human body during sleeping. Alternatively, the first preset duration may be set in the range of 24-48h, for example 24 h.

The following describes, by way of example, the step of correcting the second temperature threshold according to the variation trend of a plurality of consecutive temperature reference values recorded before the current sampling point. In this example, assuming that the first preset time is 24h, after reading the preset second temperature threshold Ts, first obtaining a sequence of temperature reference values within 24h before the current sampling point to obtain a first temperature reference value sequence: t11, T12, …, T1n (n is a positive integer greater than 2). And then acquiring a sequence of the temperature reference values within 24h before the first temperature reference value sequence to obtain a second temperature reference value sequence: t21, T22, …, T2m (m is a positive integer greater than 2). The average value T1v of the first temperature reference value sequence is calculated according to the formula T1v ═ T11+ T12+ … + T1n)/n, and the average value T2v of the second temperature reference value sequence is calculated according to the formula T2v ═ T21+ T22+ … + T2 m)/m. Finally, the second corrected temperature threshold Tc is calculated according to the following formula: tc is Ts x (T1v/T2 v).

In this embodiment, the ratio of the average value of the first temperature reference value sequence to the average value of the second temperature reference value sequence is used as a correction coefficient to correct the second temperature threshold. The ratio of the average value of the first temperature reference value sequence to the average value of the second temperature reference value sequence can reflect the recent change trend of the normal temperature of the human body during sleeping more accurately, so that the second corrected temperature threshold obtained by correcting according to the ratio is more fit with the current normal temperature of the human body, and the accuracy of judging the sleeping state of the human body is further improved.

In step S110, it is determined whether the target human body meets the abnormal condition of the sleep state according to the human body temperature sampling value of the current sampling point and the second corrected temperature threshold.

In one embodiment, the sleep state exception condition may include: and the human body temperature sampling value of the current sampling point is smaller than the second correction temperature threshold value. As described above, the second corrected temperature threshold is a value obtained by correcting the default normal temperature value when the target human body is sleeping, and when it is determined that the change of the temperature of the target human body between adjacent sampling points exceeds the first temperature threshold, if the human body temperature sampling value of the current sampling point is smaller than the second corrected temperature threshold, it indicates that the target human body kicks off a quilt, so that the temperature of the target human body is reduced to be lower than the normal temperature which should be kept when the target human body is sleeping.

In another embodiment, the sleep state exception condition may include: the human body temperature sampling value of the current sampling point is smaller than the second correction temperature threshold value, the temperature of the target human body is continuously smaller than the second correction temperature threshold value within a second preset time length from the current sampling point, and the second preset time length is smaller than or equal to the collection period of the human body temperature sampling value. The second preset time period may be set in the range of 5-10min, for example. In this case, step S110 may be implemented specifically as follows: firstly, judging whether the human body temperature sampling value of the current sampling point is smaller than a second correction temperature threshold value. If so, further monitoring whether the temperature of the target human body is continuously smaller than a second correction temperature threshold value within a second preset time from the current sampling point. And only when the temperature of the target human body is continuously smaller than the second correction temperature threshold value within a second preset time from the current sampling point, judging that the sleep state of the target human body is abnormal (namely, the quilt is kicked off). By the method, misjudgment caused by accidental fluctuation of the target human body temperature can be reduced or even eliminated, and the accuracy of the judgment of the human body sleep state is improved.

As noted in the background of the invention herein, children are particularly prone to kicking while sleeping, and are therefore often the focus of sleep state monitoring. In practical applications, such as in the home, since there are typically many people in the home, adults other than children may be present in the designated location area. Therefore, in one embodiment, before step S102 is executed, the attribute of the target human body may also be determined, such as determining whether the target human body is a child.

In one embodiment, before periodically acquiring the temperature of the target human body in the designated location area through infrared sensing, the attributes of the target human body may be determined by: firstly, infrared scanning is carried out on a designated position area to obtain temperature information of the designated position area. Then, the area of the region occupied by the target human body is determined according to the temperature information of the designated position region. Specifically, the area with the temperature within the specified temperature range in the specified position area is determined according to the temperature information of the specified position area, and the area is taken as the area occupied by the target human body. The specified temperature range may be set to 35-40 ℃, for example, so that the target human body can be distinguished from other heat sources (such as lamps and the like). And finally, judging whether the area of the region occupied by the target human body is smaller than a preset area threshold value, if so, executing a step of periodically collecting the temperature of the target human body in the designated position region through infrared sensing. The preset area threshold value can be set according to a target human body to be monitored in practical application. Generally, in the case where the target human body as the monitoring target is a child, the preset area threshold may be set at 0.4-0.6m2In the range, for example, 0.5m2

In this embodiment, before the temperature of the target human body in the designated position area is collected, the area of the area occupied by the target human body is determined by performing infrared scanning on the designated position area, and whether the attribute of the target human body is a child is determined by judging whether the area of the area occupied by the target human body is smaller than a preset area threshold, so that the pertinence and the accuracy of monitoring the sleep state of the human body are further improved.

Further, in one embodiment, the step of periodically acquiring the temperature of the target human body in the designated location area through infrared sensing may be embodied as: periodically, temperature scanning is carried out on the area occupied by the target human body in the designated position area, and the average temperature in the area occupied by the target human body is calculated and used as the temperature of the target human body in the designated position area. That is to say, when each sampling point arrives, the temperature scanning is performed on the region occupied by the target human body in the designated position region once, and then the average temperature in the region occupied by the target human body is calculated and is used as the temperature of the target human body in the designated position region acquired by each sampling point.

It should be noted that the position of the region occupied by the target human body is not fixed, since the target human body is likely to move during sleep. Under the condition that the position of the area occupied by the target human body is changed, when each sampling point arrives, the temperature scanning of the area occupied by the target human body in the specified position area can be implemented as follows: the method comprises the steps of firstly carrying out infrared scanning on a designated position area to obtain temperature information of the designated position area, and then determining an area with the temperature within the designated temperature range in the designated position area as an area occupied by a target human body according to the temperature information of the designated position area, wherein the determined temperature information of the area of the target human body is the temperature scanning information of the area occupied by the target human body. Further, the average temperature in the region occupied by the target human body can be calculated as the temperature of the target human body in the designated location region based on the temperature information in the region occupied by the target human body.

The average temperature in the area occupied by the target human body is used as the temperature of the target human body, and compared with the prior art that the temperature of a specific part (such as forehead, feet and the like) of the target human body is used as a judgment object, the real temperature of the human body can be reflected more comprehensively and accurately. In addition, because the specific part of the human body does not need to be positioned, the complexity of temperature detection is reduced, and the processing efficiency is improved.

In one embodiment, after the step S112 is performed to determine that the sleep state of the target human body is abnormal, a sleep state abnormality alarm signal may be further generated, and an alarm prompt may be further issued according to the sleep state abnormality alarm signal, so that the monitor may be timely reminded to know that the sleep state of the target human body is abnormal. The alert prompt may include an audible prompt and/or a vibratory prompt, etc. Audible prompts include, but are not limited to, music, voice, ringing, and the like. The vibration prompt can be sent by a mobile terminal (such as a mobile phone), an intelligent pillow and the like.

In the above, various implementation manners of each link of the embodiment shown in fig. 1 are introduced, and an implementation process of the method for monitoring a human sleep state of the present invention will be described in detail through a specific embodiment.

Fig. 2 is a flowchart illustrating a method for monitoring a sleep state of a human body according to an embodiment of the invention. Referring to fig. 2, the method may include at least the following steps S202 to S222.

Step S202, infrared scanning is carried out on the designated position area to obtain the temperature information of the designated position area, and the area of the target human body occupied area is determined according to the temperature information of the designated position area.

In the step, the area with the temperature of 35-40 ℃ in the designated position area is determined according to the temperature information of the designated position area and is used as the area occupied by the target human body.

Step S204, judging whether the area of the region occupied by the target human body is smaller than a preset area threshold value. If yes, go to step S206. If not, the process ends.

In this embodiment, the preset area threshold is set to 0.5m2. If the area of the target human body occupied area is less than 0.5m2Then the attribute of the target body may be determined to be a child.

Step S206, the temperature of the target human body in the designated position area is periodically collected through infrared sensing, and a human body temperature sampling value is obtained.

In this step, temperature scanning is periodically performed on the region occupied by the target human body in the designated location region, and the average temperature in the region occupied by the target human body is calculated as the temperature of the target human body in the designated location region. The acquisition cycle of the human body temperature sampling value is 20 min.

And step S208, calculating the temperature difference between the human body temperature sampling value of the current sampling point and the human body temperature sampling value of the previous adjacent sampling point.

Step S210, determining whether the temperature difference is less than or equal to a first temperature threshold. If yes, go to step S212, otherwise go to step S214.

The first temperature threshold is set to 2 ℃ in this embodiment.

And step S212, recording the human body temperature sampling value of the current sampling point as a temperature reference value. Thereafter, the process returns to step S206.

Step S214, obtaining a second temperature threshold, and correcting the second temperature threshold according to a plurality of continuous temperature reference values recorded before the current sampling point to obtain a second corrected temperature threshold.

In this step, specifically, a sequence of temperature reference values within a first preset time period before a current sampling point is obtained to obtain a first temperature reference value sequence, a sequence of temperature reference values within the first preset time period before the first temperature reference value sequence is obtained to obtain a second temperature reference value sequence, a ratio of an average value of the first temperature reference value sequence to an average value of the second temperature reference value sequence is calculated, and the obtained second temperature threshold is multiplied by the ratio to obtain a second corrected temperature threshold. The first preset duration is set to 24 h.

Step S216, determining whether the human body temperature sampling value of the current sampling point is smaller than a second correction temperature threshold value. If yes, go to step S218. If not, the process returns to step S206.

Step S218, monitoring whether the temperature of the target human body is continuously less than a second corrected temperature threshold value within a second preset time period from the current sampling point. If yes, go to step S220. If not, the process returns to step S206.

In this step, the second preset duration is set to 10 min.

Step S220, determining that the sleep state of the target human body is abnormal.

Step S222, generating a sleep state abnormal alarm signal, and sending an alarm prompt according to the sleep state abnormal alarm signal.

In the embodiment, the intelligent pillow is used for vibration prompt, so that a guardian can be reminded in time.

The embodiment of the invention can monitor the sleeping state of the target human body pertinently and accurately, and remind in time when the sleeping state of the target human body is abnormal, thereby being very suitable for monitoring whether a child kicks the quilt or not in sleeping.

Based on the same technical concept, the embodiment of the invention also provides an intelligent household device. Fig. 3 shows a schematic structural diagram of the smart home device 10 according to an embodiment of the present invention. Referring to fig. 3, the smart home device 10 may generally include a temperature detection module 100 and a control module 200. The temperature detection module 100 detects the temperature of a target human body in a designated location area. The control module 200 is connected to the temperature detection module 100, and the control module 200 controls the temperature detection module 100 to detect the temperature of the target human body in the designated location area and obtains the detected temperature of the target human body from the temperature detection module 100. The control module 200 may include a processor 210, and a memory 220 storing computer program code. The computer program code, when executed by the processor 220, causes the control module 200 to perform the method of monitoring a human sleep state of any one or a combination of the preceding embodiments.

In one embodiment, the temperature detection module 100 may be an infrared sensing module.

In one embodiment, the smart home device 10 may be a smart air conditioner. The temperature detection module 100 and the control module 200 can operate in both a standby state and an operating state of the smart air conditioner. After the control module 200 determines that the sleep state of the target human body is abnormal (i.e., the quilt is kicked off), an air conditioner adjusting signal can be generated, so that the operation parameters (including the operation temperature, the air supply speed, the air supply direction and the like) of the intelligent air conditioner are adjusted according to the air conditioner adjusting signal to ensure that the target human body is comfortable to sleep. Specifically, for example, after determining that the sleep state of the target human body is abnormal, the intelligent air conditioner may be subjected to at least one of the following adjustment operations: the operation temperature is increased, the air supply speed is reduced, and the air supply direction is adjusted to be not opposite to the target human body, so that the target is prevented from catching a cold.

In one embodiment, the smart home device 10 may also be in linkage with a smart pillow. In this case, the control module 200 sends the generated sleep state abnormality alarm signal to the cloud server, the cloud server sends the sleep state abnormality alarm signal to the intelligent pillow, and the intelligent pillow performs vibration prompt according to the sleep state abnormality alarm signal and timely prompts a user of the intelligent pillow.

Compared with the prior art in the field of intelligent home furnishing, the scheme of the invention realizes the technical effects of efficiently and accurately automatically monitoring the sleep state of the human body and intelligently adjusting the intelligent home furnishing device according to the monitoring result, and improves the intelligent level.

According to any one or a combination of multiple optional embodiments, the embodiment of the present invention can achieve the following advantages:

the method for monitoring the sleep state of the human body and the intelligent home device provided by the embodiment of the invention periodically collect the temperature of a target human body in a designated position area as a human body temperature sampling value, then calculate the temperature difference between the human body temperature sampling value of the current sampling point and the human body temperature sampling value of the previous adjacent sampling, judge whether the temperature difference is less than or equal to a first temperature threshold value, if so, record the human body temperature sampling value of the current sampling point as a temperature reference value, if not, obtain a second temperature threshold value, and correct the second temperature threshold value according to a plurality of continuous temperature reference values recorded before the current sampling point to obtain a second corrected temperature threshold value. And finally, judging whether the target human body meets the abnormal condition of the sleep state or not according to the human body temperature sampling value of the current sampling point and the second correction temperature threshold. Because the human body feels comfortable, the human body temperature cannot rise or fall rapidly, and therefore the human body temperature sampling value of the current sampling point, of which the temperature difference with the human body temperature sampling value sampled adjacently before is smaller than the first temperature threshold value, can be used as the temperature reference value of the comfortable temperature of the human body. And the change trend of the continuous multiple temperature reference values can also reflect the change of the normal temperature of the human body due to the change of factors such as recent weather, indoor environment and the like during sleeping. Therefore, when the sleep state is required to be judged, the second temperature threshold is corrected according to the continuous multiple temperature reference values recorded before the current sampling point to obtain the second corrected temperature threshold, so that the sleep state of the human body can be judged, the influence caused by the recent change of the normal temperature of the human body during sleep can be reduced or even eliminated, and the accuracy of judging the sleep state of the human body is improved.

Furthermore, before the temperature of the target human body in the designated position area is collected, the area of the area occupied by the target human body can be determined by performing infrared scanning on the designated position area, and whether the attribute of the target human body is child or not is determined by judging whether the area of the area occupied by the target human body is smaller than a preset area threshold value or not, so that the pertinence and the accuracy of monitoring the sleep state of the human body are further improved.

Thus, it should be appreciated by those skilled in the art that while a number of exemplary embodiments of the invention have been illustrated and described in detail herein, many other variations or modifications consistent with the principles of the invention may be directly determined or derived from the disclosure of the present invention without departing from the spirit and scope of the invention. Accordingly, the scope of the invention should be understood and interpreted to cover all such other variations or modifications.

14页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:血压的测量方法、装置及可穿戴设备

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!