Sleep abnormity protection method and device

文档序号:1615536 发布日期:2020-01-10 浏览:28次 中文

阅读说明:本技术 一种睡眠异常保护的方法及装置 (Sleep abnormity protection method and device ) 是由 路廷文 于 2019-08-29 设计创作,主要内容包括:本发明涉及一种睡眠异常保护的方法及装置,该方法包括:根据采集到的不同情绪及相应的生物电压确定不同情绪的多个生物电压范围,并将生物电压范围的阈值作为样本建立知识库;将知识库中的样本分成多个检索段,并在多个检索段中对监测到的人体处于睡眠状态下的实时生物电压进行并行检索;响应于实时生物电压落入多个检索段的其中一个检索段的首位样本和末位样本之间,以该检索段作为当前检索段,并停止其它多个检索段的检索;将当前检索段递归缩小直至确定实时生物电压落入任一生物电压范围内;响应于实时生物电压落入指定为异常的情绪的生物电压范围内,启动睡眠异常唤醒机制。由此实现了人在睡眠中异常情绪下的唤醒。(The invention relates to a sleep abnormity protection method and a device, wherein the method comprises the following steps: determining a plurality of biological voltage ranges of different emotions according to the collected different emotions and corresponding biological voltages, and establishing a knowledge base by taking threshold values of the biological voltage ranges as samples; dividing a sample in a knowledge base into a plurality of retrieval sections, and performing parallel retrieval on the monitored real-time biological voltage of the human body in a sleep state in the plurality of retrieval sections; in response to the real-time biological voltage falling between the first sample and the last sample of one of the retrieval sections, taking the retrieval section as the current retrieval section, and stopping retrieval of other retrieval sections; recursively reducing the current retrieval section until the real-time biological voltage is determined to fall into any biological voltage range; in response to the real-time bio-voltage falling within the bio-voltage range designated as an emotive of an anomaly, a sleep anomaly wake-up mechanism is initiated. Thereby achieving arousal of the person under abnormal emotion during sleep.)

1. A method of sleep disorder protection, the method comprising the steps of:

determining a plurality of biological voltage ranges of different emotions according to the collected different emotions and corresponding biological voltages, and establishing a knowledge base by taking threshold values of the biological voltage ranges as samples;

dividing the samples in the knowledge base into a plurality of retrieval sections, and performing parallel retrieval on the monitored real-time biological voltage of the human body in the sleep state in the plurality of retrieval sections;

in response to the real-time bioelectric voltage falling between a first sample and a last sample of one of the retrieval sections, taking the retrieval section as a current retrieval section, and stopping retrieval of other retrieval sections;

recursively reducing the current retrieval segment until the real-time bioelectric voltage is determined to fall into any bioelectric voltage range;

initiating a sleep disorder wake-up mechanism in response to the real-time bio-voltage falling within a bio-voltage range designated as a mood for disorder.

2. The method of claim 1, wherein the dividing the samples in the knowledge base into a plurality of search segments and the performing parallel search for the monitored real-time bioelectrical voltages of the human body in the sleep state in the plurality of search segments further comprises:

and sorting the samples in the retrieval section according to the size of the value.

3. The method of claim 2, wherein the responding that the real-time bioelectric voltage falls between a leading sample and a trailing sample of one of the search segments, with the search segment as a current search segment, and stopping the search of the other search segments further comprises:

in response to retrieving that the real-time bioelectric voltage falls outside of the first and last samples of one of the plurality of retrieval segments, stopping retrieval of the retrieval segment.

4. The method of claim 1, wherein recursively narrowing the current search segment until the real-time bio-voltage is determined to fall within any bio-voltage range further comprises:

and in response to the real-time biological voltage falling between the sample of the first reference bit and the sample of the second reference bit of the current retrieval section, taking the sample between the sample of the first reference bit and the sample of the second reference bit as the current retrieval section.

5. The method of claim 1, wherein recursively narrowing the current search segment until the real-time bio-voltage is determined to fall within any bio-voltage range further comprises:

and determining that the real-time bioelectric voltage falls in the bioelectric voltage range in response to that the first sample and the last sample of the current retrieval segment are both in the same bioelectric voltage range.

6. The method of claim 1, wherein the determining a plurality of bioelectric voltage ranges of different emotions according to the collected different emotions and corresponding bioelectric voltages, and establishing a knowledge base using threshold values of the bioelectric voltage ranges as samples further comprises:

the method comprises the steps of collecting biological voltage of a human body in different physiological states, wherein the biological voltage is calm, excited, struggled, feared and angry, and determining the biological voltage range of the calm, excited, struggled, feared and angry in different physiological states.

7. The method of claim 6, wherein initiating a sleep disorder wake-up mechanism in response to the real-time bio-voltage falling within a bio-voltage range of an emotion designated as abnormal further comprises:

earning, fear, anger are designated as the abnormal emotion.

8. The method of claim 1, wherein the determining a plurality of bioelectric voltage ranges of different emotions according to the collected different emotions and corresponding bioelectric voltages, and establishing a knowledge base using threshold values of the bioelectric voltage ranges as samples further comprises:

the bioelectric voltage of the human body is collected in a specific time period, and the emotion of the human body is determined based on expression recognition technology.

9. The method of claim 1, wherein initiating the sleep exception wake mechanism comprises: the person in the sleeping state is awakened by means of sound and/or light and/or vibration alarm signals.

10. An apparatus for sleep abnormality protection, the apparatus comprising:

at least one processor; and

a memory storing program code executable by the processor, the program code when executed by the processor performing the method of any of claims 1 to 9.

Technical Field

The invention relates to the technical field of intelligent algorithms. The invention further relates to a sleep abnormity protection method and device.

Background

The proportion of the time occupied by sleeping in a day is large. Ensuring good sleep quality plays a very important role in ensuring good quality of life. There may be many problems in sleeping with a particular group of people (e.g., infants, elderly people, and seriously ill people), such as a large number of infants and nightmares crying more often, and other diseases and even shock may occur due to a large number of elderly people or patients who have a bad sleep or nightmares that are unable to wake up. The above undesirable consequences are largely avoided if a monitoring and protection mechanism is provided to awaken a sleeping person when he or she is likely to be experiencing an abnormal emotion due to nightmare.

Therefore, in view of the above problems, it is desirable to provide a protection mechanism for a sleeper in an abnormal state during sleep, which performs corresponding processing according to the sleep state of the sleeper through machine learning for different people.

Disclosure of Invention

In one aspect, the present invention provides a sleep disorder protection method based on the above object, wherein the method comprises the following steps:

determining a plurality of biological voltage ranges of different emotions according to the collected different emotions and corresponding biological voltages, and establishing a knowledge base by taking threshold values of the biological voltage ranges as samples;

dividing a sample in a knowledge base into a plurality of retrieval sections, and performing parallel retrieval on the monitored real-time biological voltage of the human body in a sleep state in the plurality of retrieval sections;

in response to the real-time biological voltage falling between the first sample and the last sample of one of the retrieval sections, taking the retrieval section as the current retrieval section, and stopping retrieval of other retrieval sections;

recursively reducing the current retrieval section until the real-time biological voltage is determined to fall into any biological voltage range;

in response to the real-time bio-voltage falling within the bio-voltage range designated as an emotive of an anomaly, a sleep anomaly wake-up mechanism is initiated.

An embodiment of the method for sleep anomaly protection according to the present invention, wherein the dividing the sample in the knowledge base into a plurality of search segments and performing parallel search on the monitored real-time bioelectric voltage of the human body in the sleep state in the plurality of search segments further comprises: and sorting the samples in the retrieval section according to the size of the value.

An embodiment of the sleep anomaly protection method according to the present invention, wherein in response to the real-time bio-voltage falling between the first sample and the last sample of one of the plurality of search segments, taking the search segment as the current search segment, and stopping the search of the other plurality of search segments further comprises: and stopping the retrieval of the retrieval section in response to the retrieval that the real-time biological voltage falls outside the first sample and the last sample of one of the plurality of retrieval sections.

An embodiment of the sleep anomaly protection method according to the present invention, wherein recursively narrowing the current search segment until it is determined that the real-time bio-voltage falls within any of the bio-voltage ranges, further comprises: and in response to the real-time biological voltage falling between the sample of the first reference bit and the sample of the second reference bit of the current retrieval section, taking the sample between the sample of the first reference bit and the sample of the second reference bit as the current retrieval section.

An embodiment of the sleep anomaly protection method according to the present invention, wherein recursively narrowing the current search segment until it is determined that the real-time bio-voltage falls within any of the bio-voltage ranges, further comprises: and determining that the real-time biological voltage falls in the biological voltage range in response to the first sample and the last sample of the current retrieval section both being in the same biological voltage range.

In an embodiment of the sleep abnormality protection method according to the present invention, the determining a plurality of biological voltage ranges of different emotions according to the collected different emotions and corresponding biological voltages, and establishing a knowledge base using threshold values of the biological voltage ranges as samples further includes: collecting the biological voltage of the human body in different physiological states under calm, excitation, struggle, fear and anger emotion and determining the biological voltage range of the calm, excitation, struggle, fear and anger emotion in different physiological states.

In an embodiment of the method of sleep anomaly protection according to the invention, wherein in response to the real-time bio-voltage falling within the bio-voltage range of the mood specified as anomalous, initiating the sleep anomaly wake-up mechanism further comprises: struggling, fear, anger are specified as abnormal emotions.

In an embodiment of the sleep abnormality protection method according to the present invention, the determining a plurality of biological voltage ranges of different emotions according to the collected different emotions and corresponding biological voltages, and establishing a knowledge base using threshold values of the biological voltage ranges as samples further includes: the bioelectric voltage of the human body is collected in a specific time period, and the emotion of the human body is determined based on expression recognition technology.

An embodiment of the method of sleep abnormality protection according to the invention, wherein initiating the sleep abnormality wake-up mechanism comprises waking up the person in a sleeping state with a sound and/or light and/or vibration alarm signal.

In another aspect, the present invention further provides a sleep abnormality protection apparatus, wherein the apparatus includes:

at least one processor; and

a memory storing processor executable program code which, when executed by the processor, performs the method of sleep exception protection of any one of the preceding.

By adopting the technical scheme, the invention at least has the following beneficial effects: the bioelectric voltage range of each mental state is confirmed by collecting bioelectric voltages of the human body in different physiological states and different mental states (namely emotions), whether the human body is in the abnormal mental state or not is determined by searching in a knowledge base according to real-time monitored real-time bioelectric voltages when the human body is in the sleep state, and the human body is awakened by adopting an abnormal sleep awakening mechanism when the human body is determined to be in the abnormal mental state, so that the human body is prevented from being in the abnormal mental state due to reasons such as nightmare and the like, and adverse consequences caused by further physiological pathological changes of the human body are further prevented.

The present invention provides aspects of embodiments, which should not be used to limit the scope of the present invention. Other embodiments are contemplated in accordance with the techniques described herein, as will be apparent to one of ordinary skill in the art upon study of the following figures and detailed description, and are intended to be included within the scope of the present application.

Embodiments of the invention are explained and described in more detail below with reference to the drawings, but they should not be construed as limiting the invention.

Drawings

In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings that are required to be used in the description of the prior art and the embodiments will be briefly described below, parts in the drawings are not necessarily drawn to scale, and related elements may be omitted, or in some cases the scale may have been exaggerated in order to emphasize and clearly show the novel features described herein. In addition, the structural order may be arranged differently, as is known in the art.

Fig. 1 shows a schematic block diagram of an embodiment of a method of sleep exception protection according to the present invention.

Detailed Description

While the present invention may be embodied in various forms, there is shown in the drawings and will hereinafter be described some exemplary and non-limiting embodiments, with the understanding that the present disclosure is to be considered an exemplification of the invention and is not intended to limit the invention to the specific embodiments illustrated.

Fig. 1 shows a schematic block diagram of an embodiment of a method of sleep exception protection according to the present invention. In the illustrated embodiment, the method includes at least the steps of:

s1: determining a plurality of biological voltage ranges of different emotions according to the collected different emotions and corresponding biological voltages, and establishing a knowledge base by taking threshold values of the biological voltage ranges as samples;

s2: dividing a sample in a knowledge base into a plurality of retrieval sections, and performing parallel retrieval on the monitored real-time biological voltage of the human body in a sleep state in the plurality of retrieval sections;

s3: in response to the real-time biological voltage falling between the first sample and the last sample of one of the retrieval sections, taking the retrieval section as the current retrieval section, and stopping retrieval of other retrieval sections;

s4: recursively reducing the current retrieval section until the real-time biological voltage is determined to fall into any biological voltage range;

s5: in response to the real-time bio-voltage falling within the bio-voltage range designated as an emotive of an anomaly, a sleep anomaly wake-up mechanism is initiated.

Firstly, the aim of the invention is realized by combining software and hardware based on the conception of the invention. The hardware part adopts the existing basic data acquisition technology, wherein the biological voltage acquisition hardware part adopts the existing technology of extracting blood biological voltage by using a chip, obtains the variation values of biological micro-voltage of a holder under different states through a machine learning algorithm, and then records the acquired data into a database.

The software component based on the concept of the present invention is the algorithm based on steps S1 to S5 of the present invention. First, step S1 determines a plurality of bioelectric voltage ranges of different emotions according to different emotions of the human body in different physiological states and corresponding bioelectric voltages recorded in the database and collected by corresponding hardware. Since different physiological states (e.g., age, sex, weight, health, etc.) and different emotions have an effect on the bio-voltage, the same emotion will have different bio-voltage ranges in different physiological states. Since these bioelectric voltage ranges can be very small and fragmented, it is relatively cumbersome to monitor the bioelectric voltage during sleep in real time and perform range search matching, and a high-speed, multi-dimensional search algorithm is required. For this purpose, step S1 further establishes a knowledge base using the threshold values of the respective biological voltage ranges as samples according to the determined plurality of biological voltage ranges. The knowledge base is the basis for subsequent retrieval.

For quick retrieval in the knowledge base established in step S1, step S2 divides the samples in the knowledge base into a plurality of retrieval sections according to the size of the number of samples. Under the condition that the human body is in a sleep state, the blood bioelectric voltage is monitored in real time by using the hardware device (such as the chip) and the real-time bioelectric voltage is searched in a plurality of searching sections in parallel. It is noted that in the concept of the invention, communication is maintained between the various search segments. When it is found at the time of parallel retrieval that the real-time bioelectric voltage falls between the top sample and the bottom sample thereof in one of the plurality of retrieval sections, step S3 regards the retrieval section as the current retrieval section and notifies the other plurality of retrieval sections to stop the retrieval work therein. That is, once it is determined in a certain search segment that the real-time bioelectric voltage is already in the search segment, the search segment is taken as a basis for further search, and the other search segments are eliminated. Subsequently, step S4 recurses the current search segment step by step to narrow the range of the current search segment until it has been determined that the real-time bioelectric voltage falls within any one of the bioelectric voltage ranges. At this time, it is necessary to further confirm what mood (i.e., mental state) the biological voltage range in which the real-time biological voltage falls. When the biological voltage range in which the real-time biological voltage falls belongs to a mood specified as abnormal in advance, it is considered that the person in the sleep state may further have an adverse effect under the mood, and therefore step S5 starts a sleep abnormality wake-up mechanism to wake up the sleeper.

Further embodiments of the present invention will be described below, it being noted that the numbering of the steps mentioned therein is used only for the convenience of unambiguously indicating the step without any particular indication, and does not limit the order of the steps described.

In several embodiments of the sleep anomaly protection method of the present invention, the step S2 dividing the sample in the knowledge base into a plurality of search segments, and performing parallel search on the real-time bioelectric voltage of the monitored human body in the sleep state in the plurality of search segments further includes: and sorting the samples in the retrieval section according to the size of the value. In order to better select the current search segment in step S3 and further recurse in the current search segment in step S4, in this embodiment, the samples in the respective search segments are sorted in ascending or descending order according to the size of the value. Thus, the first sample and the last sample in each search segment represent the two thresholds of the search segment.

In some embodiments of the sleep anomaly protection method of the present invention, the step S3, in response to the real-time bioelectric voltage falling between the top sample and the bottom sample in one of the plurality of search segments, regarding the search segment as the current search segment, and stopping the search of the other plurality of search segments further comprises: and stopping the retrieval of the retrieval section in response to the retrieval that the real-time biological voltage falls outside the first sample and the last sample of one of the plurality of retrieval sections. As proposed in the aforementioned step S3, the current search fragment notifies other search fragments to stop searching. On the other hand, if the real-time bioelectric voltage is found to fall outside the first sample and the last sample in a certain search segment, the search segment is considered to be incapable of continuing the search for the real-time bioelectric voltage, and therefore the search segment is actively eliminated.

In one or more embodiments of the sleep anomaly protection method of the present invention, the step S4 recursively narrowing the current search segment until it is determined that the real-time bioelectric voltage falls within any one of the bioelectric voltage ranges further comprises: and in response to the real-time biological voltage falling between the sample of the first reference bit and the sample of the second reference bit of the current retrieval section, taking the sample between the sample of the first reference bit and the sample of the second reference bit as the current retrieval section. That is, when the real-time bio-voltage falls between the sample of the first reference bit and the sample of the second reference bit of the current search segment, i.e., the samples other than the sample of the first reference bit and the sample of the second reference bit can be eliminated, the current search segment is narrowed down to take the sample between the sample of the first reference bit and the sample of the second reference bit as a new current search segment. Preferably, for the current search segment, the first reference bit is the first bit and the second reference bit is the middle bit, or the first reference bit is the middle bit and the second reference bit is the last bit.

In some embodiments of the sleep anomaly protection method of the present invention, the step S4 recursively narrowing the current search segment until the real-time bio-voltage is determined to fall within any of the bio-voltage ranges further comprises: and determining that the real-time biological voltage falls in the biological voltage range in response to the first sample and the last sample of the current retrieval section both being in the same biological voltage range. The step S4 is directed to progressively recursing the current search segment to narrow the range of the current search segment until it can be determined that the real-time bio-voltage falls within any bio-voltage range, and further in some embodiments is directed to determining that the current search segment falls within the bio-voltage range when both the first sample and the last sample of the (recursively narrowed) current search segment are within a same bio-voltage range, and further determining that the real-time bio-voltage falls within the bio-voltage range.

In several embodiments of the sleep abnormality protection method of the present invention, the step S1 determining a plurality of biological voltage ranges of different emotions according to the collected different emotions and corresponding biological voltages, and establishing a knowledge base using the threshold values of the biological voltage ranges as samples further includes: collecting the biological voltage of the human body in different physiological states under calm, excitation, struggle, fear and anger emotion and determining the biological voltage range of the calm, excitation, struggle, fear and anger emotion in different physiological states. In a preferred embodiment, the different emotions (i.e., mental states) involved in step S1 preferably include but are not limited to, emotions such as calm, excited, struggled, feared, angry, etc., that is, the bioelectric voltage under the emotion needs to be collected and the bioelectric voltage ranges of the different physiological states under the emotion need to be determined.

In some embodiments of the sleep abnormality protection method of the present invention, the step S5, in response to the real-time bio-voltage falling within the bio-voltage range of the emotion designated as abnormal, the initiating the sleep abnormality wake-up mechanism further comprises: struggling, fear, anger are specified as abnormal emotions. That is, but not limited to, an emotion of struggling, fear, anger as an adverse consequence that may cause further pathology, etc. is preferred. Furthermore, the mood or mental state designated as abnormal may be adjusted for different physiological conditions (e.g., age, health, etc.) of the person being protected (i.e., sleeper).

In one or more embodiments of the sleep disorder protection method of the present invention, the step S1 determining a plurality of bioelectric voltage ranges of different emotions according to the collected different emotions of the human body in different states and corresponding bioelectric voltages, and establishing a knowledge base using the threshold values of the bioelectric voltage ranges as samples further includes: the bioelectric voltage of the human body is collected in a specific time period, and the emotion of the human body is determined based on expression recognition technology. As described above, the bioelectric voltage in step S1 is collected by extracting the blood bioelectric voltage using an existing chip. In order to better perform the method of the invention, or to accumulate a sufficient amount of bio-voltage data in the database, the acquisition process needs to last for a certain period of time, e.g. several days. In addition, while the bioelectric voltage is collected using the chip, it is necessary to determine what emotion the collected bioelectric voltage corresponds to using an appropriate expression recognition technique.

In an embodiment of the method of sleep disorder protection of the present invention, the initiating of the sleep disorder wake-up mechanism referred to in step S5 comprises waking up the person in a sleeping state with a sound and/or light and/or vibration alarm signal. When it is monitored and retrieved that the sleeping person is in an abnormal emotional state, it is necessary to activate the abnormal sleep arousal mechanism to arouse it, preferably by means including a sound and/or light and/or vibration alarm signal. The alarm signals can be adjustably combined according to the sensitivity of the human body to sound, light, vibration and the like.

In another aspect, the present invention further provides a sleep abnormality protection apparatus, wherein the apparatus includes: at least one processor; and a memory storing processor executable program code which, when executed by the processor, performs the method of sleep exception protection of any one of the preceding.

The devices and apparatuses disclosed in the embodiments of the present invention may be various electronic terminal apparatuses, such as a mobile phone, a Personal Digital Assistant (PDA), a tablet computer (PAD), a smart television, and the like, or may be a large terminal apparatus, such as a server, and therefore the scope of protection disclosed in the embodiments of the present invention should not be limited to a specific type of device and apparatus. The client disclosed in the embodiment of the present invention may be applied to any one of the above electronic terminal devices in the form of electronic hardware, computer software, or a combination of both.

The computer-readable storage media (e.g., memory) described herein may be either volatile memory or nonvolatile memory, or may include both volatile and nonvolatile memory. By way of example, and not limitation, nonvolatile memory can include Read Only Memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM), which can act as external cache memory. By way of example and not limitation, RAM is available in a variety of forms such as synchronous RAM (DRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), double data rate SDRAM (DDR SDRAM), Enhanced SDRAM (ESDRAM), Synchronous Link DRAM (SLDRAM), and Direct Rambus RAM (DRRAM). The storage devices of the disclosed aspects are intended to comprise, without being limited to, these and other suitable types of memory.

By adopting the technical scheme, the invention at least has the following beneficial effects: the bioelectric voltage range of each mental state is confirmed by collecting bioelectric voltages of the human body in different physiological states and different mental states (namely emotions), whether the human body is in the abnormal mental state or not is determined by searching in a knowledge base according to real-time monitored real-time bioelectric voltages when the human body is in the sleep state, and the human body is awakened by adopting an abnormal sleep awakening mechanism when the human body is determined to be in the abnormal mental state, so that the human body is prevented from being in the abnormal mental state due to reasons such as nightmare and the like, and adverse consequences caused by further physiological pathological changes of the human body are further prevented.

It is to be understood that the features listed above for the different embodiments may be combined with each other to form further embodiments within the scope of the invention, where technically feasible. Furthermore, the specific examples and embodiments described herein are non-limiting, and various modifications of the structure, steps and sequence set forth above may be made without departing from the scope of the invention.

In this application, the use of the conjunction of the contrary intention is intended to include the conjunction. The use of definite or indefinite articles is not intended to indicate cardinality. In particular, references to "the" object or "an" and "an" object are intended to mean one of many such objects possible. However, although elements of the disclosed embodiments of the invention may be described or claimed in the singular, the plural is contemplated unless limitation to the singular is explicitly stated. Furthermore, the conjunction "or" may be used to convey simultaneous features, rather than mutually exclusive schemes. In other words, the conjunction "or" should be understood to include "and/or". The term "comprising" is inclusive and has the same scope as "comprising".

The above-described embodiments, particularly any "preferred" embodiments, are possible examples of implementations, and are presented merely for a clear understanding of the principles of the invention. Many variations and modifications may be made to the above-described embodiments without departing substantially from the spirit and principles of the technology described herein. All such modifications are intended to be included within the scope of this disclosure.

10页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种个体癌症样本的生物标记物识别方法

网友询问留言

已有0条留言

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

精彩留言,会给你点赞!