CN109833029A - A kind of sleep stage method, system and terminal device - Google Patents

A kind of sleep stage method, system and terminal device Download PDF

Info

Publication number
CN109833029A
CN109833029A CN201711202811.XA CN201711202811A CN109833029A CN 109833029 A CN109833029 A CN 109833029A CN 201711202811 A CN201711202811 A CN 201711202811A CN 109833029 A CN109833029 A CN 109833029A
Authority
CN
China
Prior art keywords
intelligent terminal
user
relationship
distance
hypnotic instrument
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
Application number
CN201711202811.XA
Other languages
Chinese (zh)
Other versions
CN109833029B (en
Inventor
宋雨
贺超
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Chuangda Yunrui Intelligent Technology Co Ltd
Original Assignee
Shenzhen Chuangda Yunrui Intelligent Technology Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Shenzhen Chuangda Yunrui Intelligent Technology Co Ltd filed Critical Shenzhen Chuangda Yunrui Intelligent Technology Co Ltd
Priority to CN201711202811.XA priority Critical patent/CN109833029B/en
Priority to PCT/CN2018/084633 priority patent/WO2019100660A1/en
Publication of CN109833029A publication Critical patent/CN109833029A/en
Application granted granted Critical
Publication of CN109833029B publication Critical patent/CN109833029B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons

Abstract

The application is suitable for medical detection technology, provides a kind of sleep stage method, system and terminal device, comprising: when intelligent terminal be in non-static condition, obtain between the hypnotic instrument and intelligent terminal of user's wearing towards relationship;If described meet the first preset condition towards relationship, the distance between the hypnotic instrument and the intelligent terminal are obtained;If the distance in the range of pre-determined distance, determines that user is in lucid interval.When intelligent terminal is in non-static condition during this, if detecting and meeting the first preset condition towards relationship between intelligent terminal and the hypnotic instrument that user wears, and the distance between intelligent terminal and hypnotic instrument are less than pre-determined distance, it then can determine that user is using intelligent terminal, and then determine that user is in lucid interval, improve the accuracy rate to sleep period judging result locating for user.

Description

A kind of sleep stage method, system and terminal device
Technical field
The application belongs to medical detection technology more particularly to a kind of sleep stage method, system and terminal device.
Background technique
With the continuous quickening of people's rhythm of life, various sleeping problems are continuously emerged, and people also increasingly pay close attention to oneself Sleep procedure in each sleep period sleep quality.When carrying out by stages to sleep, association (AASM) is slept according to the U.S. Promulgate based on the brain electrosleep of hypnotic instrument (Polysomnography, PSG) criterion (AASM criterion) by stages is led more, generally will Sleep is divided into: the W phase --- lucid interval (wakefulness) NREM phase -- non-rapid eye movement phase (non-rapid-eye- ) and REM phase --- the rapid eye movement phase (non-rapid-eye-movement) movement;Wherein, the NREM phase can be divided into shallowly again Sleep period and deep sleep phase.If without relatively large eye movement or body movement, single conduction wave root when user is in state of couching Often it will appear according to the judgement that the brain wave data of acquisition is in rapid eye movement sleep lucid interval or rapid eye movement phase to user Mistake reduces the accuracy of its judging result to the entire sleep procedure of user by stages.
Summary of the invention
In view of this, the embodiment of the present application provides a kind of sleep stage method, system and terminal device, it is existing to solve Hypnotic instrument is unable to judge accurately out whether user is in lucid interval when analyzing sleep stage locating for user in technology The problem of.
The first aspect of the embodiment of the present application provides a kind of sleep stage method, and the sleep stage method includes:
When intelligent terminal is in non-static condition, the direction obtained between the hypnotic instrument and intelligent terminal that user wears is closed System;
Judge described whether meet the first preset condition towards relationship, wherein described towards relationship includes that user wears institute Relationship when stating hypnotic instrument, between the face's direction and the direction of the display screen of the intelligent terminal of the user;
If it is described towards relationship meet the first preset condition, obtain between the hypnotic instrument and the intelligent terminal away from From;
If the distance in the range of pre-determined distance, determines that the user is in lucid interval.
The second aspect of the embodiment of the present application provides a kind of sleep stage system, and the sleep stage system includes:
First acquisition unit when being in non-static condition for intelligent terminal, obtains the hypnotic instrument and intelligence that user wears Between terminal towards relationship;
Judging unit, for judging described whether meet the first preset condition towards relationship, wherein described towards relationship packet Pass when including user's wearing hypnotic instrument, between the face's direction and the direction of the display screen of the intelligent terminal of the user System;
Second acquisition unit, for obtaining the hypnotic instrument and institute in first preset condition of satisfaction towards relationship State the distance between intelligent terminal;
Lucid interval judging unit when in the range of the distance is in pre-determined distance, determines that the user is in clear The phase of waking up.
The third aspect of the embodiment of the present application provides a kind of terminal device, including memory, processor and is stored in In the memory and the computer program that can run on the processor, when the processor executes the computer program It realizes such as the step of any one of sleep stage method the method.
The fourth aspect of the embodiment of the present application provides a kind of computer readable storage medium, the computer-readable storage Media storage has computer program, is realized when the computer program is executed by processor as any in the sleep stage method The step of item the method.
When terminal device is in non-static condition in embodiment provided by the present application, the hypnotic instrument and institute that user wears are obtained State between intelligent terminal towards relationship, wherein it is described towards relationship include user face towards and the intelligent terminal Relationship between the direction of display screen;Then judge described whether meet the first preset condition towards relationship;In its satisfaction first When preset condition, obtain the distance between hypnotic instrument and intelligent terminal, if distance between the two in the range of pre-determined distance, It then can determine that the user for wearing hypnotic instrument is in lucid interval.When intelligent terminal is in non-static condition during this, if inspection It measures and meets the first preset condition towards relationship between intelligent terminal and the hypnotic instrument of user's wearing, e.g., the two is in and faces The state in face, and the distance between intelligent terminal and hypnotic instrument are less than pre-determined distance, then can determine that user whole using intelligence End, and then determine that user is in lucid interval, improve the accuracy rate of the judging result to sleep period locating for user.
Detailed description of the invention
It in order to more clearly explain the technical solutions in the embodiments of the present application, below will be to embodiment or description of the prior art Needed in attached drawing be briefly described, it should be apparent that, the accompanying drawings in the following description is only some of the application Embodiment for those of ordinary skill in the art without any creative labor, can also be according to these Attached drawing obtains other attached drawings.
Fig. 1 is a kind of implementation process schematic diagram for sleep stage method that the embodiment of the present application one provides;
Fig. 2 is that the embodiment of the present application one provides the implementation process schematic diagram of step S12;
Fig. 3 is a kind of schematic diagram for sleep stage system that the embodiment of the present application two provides;
Fig. 4 is the schematic diagram for the terminal device that the embodiment of the present application three provides.
Specific embodiment
In being described below, for illustration and not for limitation, the tool of such as particular system structure, technology etc is proposed Body details, so as to provide a thorough understanding of the present application embodiment.However, it will be clear to one skilled in the art that there is no these specific The application also may be implemented in the other embodiments of details.In other situations, it omits to well-known system, device, electricity The detailed description of road and method, so as not to obscure the description of the present application with unnecessary details.
When terminal device is in non-static condition in embodiment provided by the present application, the hypnotic instrument and institute that user wears are obtained State between intelligent terminal towards relationship, wherein it is described towards relationship include user face towards and the intelligent terminal Relationship between the direction of display screen;Then judge described whether meet the first preset condition towards relationship;In its satisfaction first When preset condition, obtain the distance between hypnotic instrument and intelligent terminal, if distance between the two in the range of pre-determined distance, It then can determine that the user for wearing hypnotic instrument is in lucid interval.
In order to illustrate technical solution described herein, the following is a description of specific embodiments.
Embodiment one:
Step S11 when intelligent terminal is in non-static condition, is obtained between the hypnotic instrument and intelligent terminal that user wears Towards relationship, wherein it is described towards relationship include that user wears the hypnotic instrument when, the face of the user towards and the intelligence Relationship between the direction of the display screen of energy terminal;
Hypnotic instrument is worn when user sleeps in embodiment provided by the present application, its face when setting user wears hypnotic instrument Direction is with hypnotic instrument just facing towards in same direction.In order to improve the accuracy rate for whether being in lucid interval judgement to user, When intelligent terminal is in non-static condition, detects and obtain the direction between the hypnotic instrument and intelligent terminal of user's wearing and close System.
Wherein, the operation program for the hypnotic instrument that control user is worn is installed in the intelligent terminal, it is described to apply journey Sequence is used to control the operational mode of the hypnotic instrument and records the relevant data of user's sleep that the hypnotic instrument is monitored.
Optionally, the intelligent terminal includes smart phone, tablet computer etc..
Wherein, it is described towards relationship include the aobvious of the direction of user face or the positive direction of hypnotic instrument and intelligent terminal Relationship between the direction of display screen.For example, when the intelligent terminal is smart phone, the display screen and hypnotic instrument of smart phone Positive direction is in aspectant relationship.
Step S12 judges described whether meet the first preset condition towards relationship;
Face's direction and the display screen of the intelligent terminal at acquired family are judged in embodiment provided by the present application The requirement for whether meeting the first preset condition towards relationship between.Wherein, first preset condition includes user's pendant When wearing hypnotic instrument, hypnotic instrument just facing towards or the direction of face of user be in face-to-face with the display screen of the intelligent terminal State;Or both be generally in aspectant state.
Step S13 obtains the hypnotic instrument and the intelligent terminal if described meet the first preset condition towards relationship The distance between;
If described in embodiment provided by the present application meet the first preset condition towards relationship, hypnotic instrument and intelligence are obtained The distance between terminal.Obtain both apart from when distance between the two can be detected and calculated by infrared detection equipment, Signal strength when can also be by bluetooth connection between the two calculates distance between the two.
Step S14, if the distance in the range of pre-determined distance, determines that the user is in lucid interval.
After obtaining the distance between hypnotic instrument of intelligent terminal and user's wearing in the step, distance between the two is judged Whether in the range of pre-determined distance, if determining that user is in the state using intelligent terminal, so that it is determined that the user In lucid interval.
Optionally, the pre-determined distance can be 0.5 meter, or the size of other numerical value, specific pre-determined distance can It is set by user, it is not limited here.
When terminal device is in non-static condition in embodiment provided by the present application, the hypnotic instrument and institute that user wears are obtained State between intelligent terminal towards relationship, wherein it is described towards relationship include user face towards and the intelligent terminal Relationship between the direction of display screen;Then judge described whether meet the first preset condition towards relationship;In its satisfaction first When preset condition, obtain the distance between hypnotic instrument and intelligent terminal, if distance between the two in the range of pre-determined distance, It then can determine that the user for wearing hypnotic instrument is in lucid interval.When intelligent terminal is in non-static condition during this, if inspection It measures and meets the first preset condition towards relationship between intelligent terminal and the hypnotic instrument of user's wearing, e.g., the two is in and faces The state in face, and the distance between intelligent terminal and hypnotic instrument are less than pre-determined distance, then can determine that user whole using intelligence End, and then determine that user is in lucid interval, improve the accuracy rate of the judging result to sleep period locating for user.
Optionally, in another embodiment provided by the present application: step S12, it is described judge it is described whether full towards relationship The first preset condition of foot, comprising:
Step S21 detects the direction of the positive direction of the hypnotic instrument and the display screen of the intelligent terminal;
The direction of the positive direction of hypnotic instrument and the display screen of intelligent terminal is detected in the step, at this point, false in advance If the two is in the same coordinate system, the two angle relative to same reference axis in the coordinate system is detected respectively.
Step S22 is determined between the two towards relationship according to testing result;
Specifically, according to the angle relative to same reference axis both detected both determine towards relationship, wherein It is described towards relationship include relativeness (aspectant relationship).
Step S23 judges the front of the hypnotic instrument towards relationship and the display screen of the intelligent terminal is according to described It is no to be in opposite state;
Step S24 determines described towards relationship the first preset condition of satisfaction if the two is in opposite state.
Both when according to the direction for both determining to judge towards relationship in relativeness, i.e., in aspectant State, then determine the two meets the first preset condition towards relationship.
Optionally, the hypnotic instrument and intelligent terminal worn in another embodiment provided by the present application in the acquisition user Between towards before relationship, including
It detects whether in operating status for controlling the application program of the hypnotic instrument in the intelligent terminal, wherein The operating status includes by mode of operation and background operation state;
If the application program is in by mode of operation, determine that the intelligent terminal is in non-static condition.
It is whether in operating status for controlling the application program of hypnotic instrument in detection intelligent terminal in the step, if, Then determine that application program is to be in be in background operation state by mode of operation, if the application program is in by operation shape State can then directly determine intelligent terminal and be in non-static condition, for example, intelligent terminal may be in and hold due to being used by a user State is held, at this point, determining that intelligent terminal is in non-static condition.
Optionally, the hypnotic instrument and intelligent terminal worn in another embodiment provided by the present application in the acquisition user Between towards before relationship, further includes:
If the application program is in background operation state, the acceleration of the intelligent terminal is obtained;
When the acceleration meets the second preset condition, determine that the intelligent terminal is in non-static condition.
In the step, if the application program for controlling hypnotic instrument is in background operation state, by intelligent terminal Gyroscope or acceleration transducer etc. obtain the acceleration of intelligent terminal, and the acceleration is judged;Add described When speed meets the second preset condition (such as acceleration value is greater than 0 or is greater than a certain preset numerical value), then intelligent terminal is determined In non-static condition.
Optionally, the gyroscope in intelligent terminal can be also used for obtaining orientation, angle locating for intelligent terminal etc., in turn Whether the display screen in the front and intelligent terminal that determine hypnotic instrument is generally in aspectant state, described to be generally in face-to-face State refer to the state that can operate or watch intelligent terminal display screen when user is in state of couching to intelligent terminal.
Optionally, if the distance described in another embodiment provided by the present application is in the range of pre-determined distance, Determine that the user is in lucid interval, comprising:
Obtain signal strength when bluetooth connection between the intelligent terminal and the hypnotic instrument;
The distance between the intelligent terminal and the hypnotic instrument are calculated according to the signal strength;
The distance is judged whether in the range of pre-determined distance, if determining that the user is in lucid interval.
In the step when user prepares sleep and wears hypnotic instrument, it connect intelligent terminal with hypnotic instrument by bluetooth, So that the dormant data for the user that intelligent terminal can be detected with real-time reception hypnotic instrument.Computational intelligence terminal and hypnotic instrument it Between apart from when, obtain the signal strength of bluetooth connection between the two, calculated according to the signal strength by preset algorithm Distance between the two;Then the distance is judged whether in the range of pre-determined distance, if determining that the user is in Lucid interval.
Embodiment two:
Corresponding to sleep stage method described in foregoing embodiments, Fig. 3 shows sleep point provided by the embodiments of the present application The structural block diagram of phase system illustrates only part relevant to the embodiment of the present application for ease of description.
Referring to Fig. 3, which includes: to sentence first acquisition unit 31, judging unit 32, second acquisition unit 33, lucid interval Order member 34, wherein
First acquisition unit 31 when being in non-static condition for intelligent terminal, obtains the hypnotic instrument and intelligence that user wears Can between terminal towards relationship;
Judging unit 32, for judging described whether meet the first preset condition towards relationship, wherein described towards relationship When wearing the hypnotic instrument including user, the face of the user is towards between the direction of the display screen of the intelligent terminal Relationship;
Second acquisition unit 33, for it is described towards relationship meet the first preset condition when, obtain the hypnotic instrument with The distance between described intelligent terminal;
Lucid interval judging unit 34 determines that the user is in when in the range of the distance is in pre-determined distance Lucid interval.
Optionally, the judging unit 32, comprising:
Detection module, for detecting the court of the positive direction of the hypnotic instrument and the display screen of the intelligent terminal To;It determines according to testing result between the two towards relationship;
State determination module, for according to the positive and intelligent terminal for judging the hypnotic instrument towards relationship Whether display screen is in opposite state;If the two is in opposite state, determine described default towards relationship satisfaction first Condition.
Optionally, the lucid interval judging unit 34, comprising:
Signal strength obtains module, for obtaining signal when bluetooth connection between the intelligent terminal and the hypnotic instrument Intensity;
Computing module, for calculating the distance between the intelligent terminal and the hypnotic instrument according to the signal strength;
Distance judgment module, for judging the distance whether in the range of pre-determined distance, if determining the use Family is in lucid interval.
Optionally, the sleep stage system further include:
Application program detection unit is for detecting the application program in the intelligent terminal for controlling the hypnotic instrument It is no in operating status, wherein the operating status includes by mode of operation and background operation state;
First judging unit determines that the intelligent terminal is in if being in for the application program by mode of operation Non- static condition.
Optionally, the sleep stage system further include:
Second judging unit obtains the intelligent terminal if being in background operation state for the application program Acceleration;When the acceleration meets the second preset condition, determine that the intelligent terminal is in non-static condition.
It should be understood that the size of the serial number of each step is not meant that the order of the execution order in above-described embodiment, each process Execution sequence should be determined by its function and internal logic, the implementation process without coping with the embodiment of the present application constitutes any limit It is fixed.
Embodiment three:
Fig. 4 is the schematic diagram for the terminal device that one embodiment of the application provides.As shown in figure 4, the terminal of the embodiment is set Standby 4 include: processor 40, memory 41 and are stored in the meter that can be run in the memory 41 and on the processor 40 Calculation machine program 42.The processor 40 is realized when executing the computer program 42 in above-mentioned each sleep stage embodiment of the method The step of, such as step S11 to S14 shown in FIG. 1.Alternatively, realization when the processor 40 executes the computer program 42 The function of each module/unit in above-mentioned each Installation practice, such as the function of module 31 to 34 shown in Fig. 3.
Illustratively, the computer program 42 can be divided into one or more module/units, it is one or Multiple module/units are stored in the memory 41, and are executed by the processor 40, to complete the application.Described one A or multiple module/units can be the series of computation machine program instruction section that can complete specific function, which is used for Implementation procedure of the computer program 42 in the terminal device 4 is described.For example, the computer program 42 can be divided Be cut into: first acquisition unit, judging unit, second acquisition unit, lucid interval judging unit, each unit concrete function are as follows:
First acquisition unit when being in non-static condition for intelligent terminal, obtains the hypnotic instrument and intelligence that user wears Between terminal towards relationship;
Judging unit, for judging described whether meet the first preset condition towards relationship, wherein described towards relationship packet Pass when including user's wearing hypnotic instrument, between the face's direction and the direction of the display screen of the intelligent terminal of the user System;
Second acquisition unit, for obtaining the hypnotic instrument and institute in first preset condition of satisfaction towards relationship State the distance between intelligent terminal;
Lucid interval judging unit when in the range of the distance is in pre-determined distance, determines that the user is in clear The phase of waking up.
Further, the judging unit, comprising:
Detection module, for detecting the court of the positive direction of the hypnotic instrument and the display screen of the intelligent terminal To;It determines according to testing result between the two towards relationship;
State determination module, for according to the positive and intelligent terminal for judging the hypnotic instrument towards relationship Whether display screen is in opposite state;If the two is in opposite state, determine described default towards relationship satisfaction first Condition.
Further, the lucid interval judging unit, comprising:
Signal strength obtains module, for obtaining signal when bluetooth connection between the intelligent terminal and the hypnotic instrument Intensity;
Computing module, for calculating the distance between the intelligent terminal and the hypnotic instrument according to the signal strength;
Distance judgment module, for judging the distance whether in the range of pre-determined distance, if determining the use Family is in lucid interval.
Further, the sleep stage system further include:
Application program detection unit is for detecting the application program in the intelligent terminal for controlling the hypnotic instrument It is no in operating status, wherein the operating status includes by mode of operation and background operation state;
First judging unit determines that the intelligent terminal is in if being in for the application program by mode of operation Non- static condition.
Further, the sleep stage system further include:
Second judging unit obtains the intelligent terminal if being in background operation state for the application program Acceleration;When the acceleration meets the second preset condition, determine that the intelligent terminal is in non-static condition.
The terminal device 4 can be the calculating such as desktop PC, notebook, palm PC and cloud server and set It is standby.The terminal device may include, but be not limited only to, processor 40, memory 41.It will be understood by those skilled in the art that Fig. 4 The only example of terminal device 4 does not constitute the restriction to terminal device 4, may include than illustrating more or fewer portions Part perhaps combines certain components or different components, such as the terminal device can also include input-output equipment, net Network access device, bus etc..
Alleged processor 40 can be central processing unit (Central Processing Unit, CPU), can also be Other general processors, digital signal processor (Digital Signal Processor, DSP), specific integrated circuit (Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field- Programmable Gate Array, FPGA) either other programmable logic device, discrete gate or transistor logic, Discrete hardware components etc..General processor can be microprocessor or the processor is also possible to any conventional processor Deng.
The memory 41 can be the internal storage unit of the terminal device 4, such as the hard disk or interior of terminal device 4 It deposits.The memory 41 is also possible to the External memory equipment of the terminal device 4, such as be equipped on the terminal device 4 Plug-in type hard disk, intelligent memory card (Smart Media Card, SMC), secure digital (Secure Digital, SD) card dodge Deposit card (Flash Card) etc..Further, the memory 41 can also both include the storage inside list of the terminal device 4 Member also includes External memory equipment.The memory 41 is for storing needed for the computer program and the terminal device Other programs and data.The memory 41 can be also used for temporarily storing the data that has exported or will export.
It is apparent to those skilled in the art that for convenience of description and succinctly, only with above-mentioned each function Can unit, module division progress for example, in practical application, can according to need and by above-mentioned function distribution by different Functional unit, module are completed, i.e., the internal structure of described device is divided into different functional unit or module, more than completing The all or part of function of description.Each functional unit in embodiment, module can integrate in one processing unit, can also To be that each unit physically exists alone, can also be integrated in one unit with two or more units, it is above-mentioned integrated Unit both can take the form of hardware realization, can also realize in the form of software functional units.In addition, each function list Member, the specific name of module are also only for convenience of distinguishing each other, the protection scope being not intended to limit this application.Above system The specific work process of middle unit, module, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
In the above-described embodiments, it all emphasizes particularly on different fields to the description of each embodiment, is not described in detail or remembers in some embodiment The part of load may refer to the associated description of other embodiments.
Those of ordinary skill in the art may be aware that list described in conjunction with the examples disclosed in the embodiments of the present disclosure Member and algorithm steps can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions are actually It is implemented in hardware or software, the specific application and design constraint depending on technical solution.Professional technician Each specific application can be used different methods to achieve the described function, but this realization is it is not considered that exceed Scope of the present application.
In embodiment provided herein, it should be understood that disclosed device/terminal device and method, it can be with It realizes by another way.For example, device described above/terminal device embodiment is only schematical, for example, institute The division of module or unit is stated, only a kind of logical function partition, there may be another division manner in actual implementation, such as Multiple units or components can be combined or can be integrated into another system, or some features can be ignored or not executed.Separately A bit, shown or discussed mutual coupling or direct-coupling or communication connection can be through some interfaces, device Or the INDIRECT COUPLING or communication connection of unit, it can be electrical property, mechanical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme 's.
It, can also be in addition, each functional unit in each embodiment of the application can integrate in one processing unit It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list Member both can take the form of hardware realization, can also realize in the form of software functional units.
If the integrated module/unit be realized in the form of SFU software functional unit and as independent product sale or In use, can store in a computer readable storage medium.Based on this understanding, the application realizes above-mentioned implementation All or part of the process in example method, can also instruct relevant hardware to complete, the meter by computer program Calculation machine program can be stored in a computer readable storage medium, the computer program when being executed by processor, it can be achieved that on The step of stating each embodiment of the method.Wherein, the computer program includes computer program code, the computer program Code can be source code form, object identification code form, executable file or certain intermediate forms etc..Computer-readable Jie Matter may include: can carry the computer program code any entity or device, recording medium, USB flash disk, mobile hard disk, Magnetic disk, CD, computer storage, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium etc..It should be noted that described The content that computer-readable medium includes can carry out increasing appropriate according to the requirement made laws in jurisdiction with patent practice Subtract, such as in certain jurisdictions, according to legislation and patent practice, computer-readable medium do not include be electric carrier signal and Telecommunication signal.
Embodiment described above is only to illustrate the technical solution of the application, rather than its limitations;Although referring to aforementioned reality Example is applied the application is described in detail, those skilled in the art should understand that: it still can be to aforementioned each Technical solution documented by embodiment is modified or equivalent replacement of some of the technical features;And these are modified Or replacement, the spirit and scope of each embodiment technical solution of the application that it does not separate the essence of the corresponding technical solution should all Comprising within the scope of protection of this application.

Claims (10)

1. a kind of sleep stage method, which is characterized in that the sleep stage method includes:
When intelligent terminal is in non-static condition, obtain between the hypnotic instrument and intelligent terminal that user wears towards relationship;
Judge described whether meet the first preset condition towards relationship, wherein described towards relationship includes sleeping described in user wears Relationship when dormancy instrument, between the face's direction and the direction of the display screen of the intelligent terminal of the user;
If described meet the first preset condition towards relationship, the distance between the hypnotic instrument and the intelligent terminal are obtained;
If the distance in the range of pre-determined distance, determines that the user is in lucid interval.
2. sleep stage method as described in claim 1, which is characterized in that described to judge described whether meet towards relationship One preset condition, comprising:
Detect the direction of the positive direction of the hypnotic instrument and the display screen of the intelligent terminal;
It determines according to testing result between the two towards relationship;
Judge whether the front of the hypnotic instrument is opposite with the display screen of the intelligent terminal towards relationship according to described State;
If the two is in opposite state, determine described towards relationship the first preset condition of satisfaction.
3. sleep stage method as claimed in claim 1 or 2, which is characterized in that in the hypnotic instrument that the acquisition user wears Between intelligent terminal towards before relationship, including
It detects whether in operating status for controlling the application program of the hypnotic instrument in the intelligent terminal, wherein described Operating status includes by mode of operation and background operation state;
If the application program is in by mode of operation, determine that the intelligent terminal is in non-static condition.
4. sleep stage method as claimed in claim 3, which is characterized in that in the hypnotic instrument and intelligence of the acquisition user wearing Can between terminal towards before relationship, further includes:
If the application program is in background operation state, the acceleration of the intelligent terminal is obtained;
When the acceleration meets the second preset condition, determine that the intelligent terminal is in non-static condition.
5. sleep stage method as described in claim 1, which is characterized in that if the distance is in the range of pre-determined distance It is interior, then determine that the user is in lucid interval, comprising:
Obtain signal strength when bluetooth connection between the intelligent terminal and the hypnotic instrument;
The distance between the intelligent terminal and the hypnotic instrument are calculated according to the signal strength;
The distance is judged whether in the range of pre-determined distance, if determining that the user is in lucid interval.
6. a kind of sleep stage system, which is characterized in that the sleep stage system includes:
First acquisition unit when being in non-static condition for intelligent terminal, obtains hypnotic instrument and intelligent terminal that user wears Between towards relationship;
Judging unit, for judging described whether meet the first preset condition towards relationship, wherein described towards relationship includes using The relationship when hypnotic instrument is worn at family, between the face's direction and the direction of the display screen of the intelligent terminal of the user;
Second acquisition unit, for obtaining the hypnotic instrument and the intelligence in first preset condition of satisfaction towards relationship The distance between energy terminal;
Lucid interval judging unit determines that the user is in lucid interval when in the range of the distance is in pre-determined distance.
7. sleep stage system as claimed in claim 6, which is characterized in that the judging unit, comprising:
Detection module, for detecting the direction of the positive direction of the hypnotic instrument and the display screen of the intelligent terminal;Root It is determined according to testing result between the two towards relationship;
State determination module, for according to front and the display of the intelligent terminal for judging the hypnotic instrument towards relationship Whether screen is in opposite state;If the two is in opposite state, determine described towards relationship the first preset condition of satisfaction.
8. sleep stage system as described in claim 1, which is characterized in that the lucid interval judging unit, comprising:
Signal strength obtains module, strong for signal when obtaining bluetooth connection between the intelligent terminal and the hypnotic instrument Degree;
Computing module, for calculating the distance between the intelligent terminal and the hypnotic instrument according to the signal strength;
Distance judgment module, for judging the distance whether in the range of pre-determined distance, if determining at the user In lucid interval.
9. a kind of terminal device, including memory, processor and storage are in the memory and can be on the processor The computer program of operation, which is characterized in that the processor realizes such as claim 1 to 5 when executing the computer program The step of any one the method.
10. a kind of computer readable storage medium, the computer-readable recording medium storage has computer program, and feature exists In when the computer program is executed by processor the step of any one of such as claim 1 to 5 of realization the method.
CN201711202811.XA 2017-11-27 2017-11-27 Sleep staging method, system and terminal equipment Active CN109833029B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201711202811.XA CN109833029B (en) 2017-11-27 2017-11-27 Sleep staging method, system and terminal equipment
PCT/CN2018/084633 WO2019100660A1 (en) 2017-11-27 2018-04-26 Sleep stage classification method and system, and terminal device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711202811.XA CN109833029B (en) 2017-11-27 2017-11-27 Sleep staging method, system and terminal equipment

Publications (2)

Publication Number Publication Date
CN109833029A true CN109833029A (en) 2019-06-04
CN109833029B CN109833029B (en) 2021-04-30

Family

ID=66631318

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711202811.XA Active CN109833029B (en) 2017-11-27 2017-11-27 Sleep staging method, system and terminal equipment

Country Status (2)

Country Link
CN (1) CN109833029B (en)
WO (1) WO2019100660A1 (en)

Citations (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8192376B2 (en) * 2003-08-18 2012-06-05 Cardiac Pacemakers, Inc. Sleep state classification
CN102752458A (en) * 2012-07-19 2012-10-24 北京理工大学 Driver fatigue detection mobile phone and unit
CN103006225A (en) * 2013-01-11 2013-04-03 湖南纳雷科技有限公司 Sleep monitoring instrument capable of monitoring breathing state in sleep
CN103795865A (en) * 2014-02-12 2014-05-14 惠州Tcl移动通信有限公司 Mobile terminal
CN103892796A (en) * 2012-12-30 2014-07-02 青岛海尔软件有限公司 Wrist-mounted sleep monitoring system
CN104299025A (en) * 2014-09-22 2015-01-21 武汉天喻信息产业股份有限公司 Non-contact smart card with loss preventing function and working method thereof
CN104378491A (en) * 2013-08-14 2015-02-25 中兴通讯股份有限公司 Method and device for lightening screen of mobile terminal
CN104574817A (en) * 2014-12-25 2015-04-29 清华大学苏州汽车研究院(吴江) Machine vision-based fatigue driving pre-warning system suitable for smart phone
US20150306391A1 (en) * 2014-04-25 2015-10-29 Medtronic, Inc. Deep brain stimulation for sleep disorders
CN105231997A (en) * 2015-10-10 2016-01-13 沈阳熙康阿尔卑斯科技有限公司 Sleep quality judging method and sleep instrument
US20160106950A1 (en) * 2014-10-19 2016-04-21 Curzio Vasapollo Forehead-wearable light stimulator having one or more light pipes
CN105760739A (en) * 2016-04-22 2016-07-13 上海与德通讯技术有限公司 Iris-recognition-based unlocking method and system thereof
CN105852810A (en) * 2016-04-05 2016-08-17 福州市马尾区小微发明信息科技有限公司 Sleep control method
CN105997004A (en) * 2016-06-17 2016-10-12 美的集团股份有限公司 Sleep reminding method and sleep monitoring device
US20160334124A1 (en) * 2015-05-11 2016-11-17 Xiaomi Inc. Method and device for turning on air conditioner
CN106333691A (en) * 2016-10-27 2017-01-18 深圳市万机创意电子科技有限公司 The method and device for judging sleep state, rest state and motion state of human body
CN106667436A (en) * 2016-12-19 2017-05-17 深圳创达云睿智能科技有限公司 Sleep diagnosis method and system
US20170143252A1 (en) * 2015-11-24 2017-05-25 Xiaomi Inc. Sleep state detection method, apparatus and system

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8784293B2 (en) * 2008-10-07 2014-07-22 Advanced Brain Monitoring, Inc. Systems and methods for optimization of sleep and post-sleep performance
CN101815127B (en) * 2010-04-12 2014-08-20 中兴通讯股份有限公司 Mobile terminal and method for adjusting visual effect of screen thereof
KR101892233B1 (en) * 2012-08-03 2018-08-27 삼성전자주식회사 Method and apparatus for alarm service using context aware in portable terminal
JP6322659B2 (en) * 2016-02-17 2018-05-09 株式会社コーエーテクモゲームス Information processing program and information processing apparatus
CN106333672A (en) * 2016-09-12 2017-01-18 杨代辉 EEG-based fatigue monitoring and rapid restoration head-mounted device for people working under high pressure

Patent Citations (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8192376B2 (en) * 2003-08-18 2012-06-05 Cardiac Pacemakers, Inc. Sleep state classification
CN102752458A (en) * 2012-07-19 2012-10-24 北京理工大学 Driver fatigue detection mobile phone and unit
CN103892796A (en) * 2012-12-30 2014-07-02 青岛海尔软件有限公司 Wrist-mounted sleep monitoring system
CN103006225A (en) * 2013-01-11 2013-04-03 湖南纳雷科技有限公司 Sleep monitoring instrument capable of monitoring breathing state in sleep
CN104378491A (en) * 2013-08-14 2015-02-25 中兴通讯股份有限公司 Method and device for lightening screen of mobile terminal
CN103795865A (en) * 2014-02-12 2014-05-14 惠州Tcl移动通信有限公司 Mobile terminal
US20150306391A1 (en) * 2014-04-25 2015-10-29 Medtronic, Inc. Deep brain stimulation for sleep disorders
CN104299025A (en) * 2014-09-22 2015-01-21 武汉天喻信息产业股份有限公司 Non-contact smart card with loss preventing function and working method thereof
US20160106950A1 (en) * 2014-10-19 2016-04-21 Curzio Vasapollo Forehead-wearable light stimulator having one or more light pipes
CN104574817A (en) * 2014-12-25 2015-04-29 清华大学苏州汽车研究院(吴江) Machine vision-based fatigue driving pre-warning system suitable for smart phone
US20160334124A1 (en) * 2015-05-11 2016-11-17 Xiaomi Inc. Method and device for turning on air conditioner
CN105231997A (en) * 2015-10-10 2016-01-13 沈阳熙康阿尔卑斯科技有限公司 Sleep quality judging method and sleep instrument
US20170143252A1 (en) * 2015-11-24 2017-05-25 Xiaomi Inc. Sleep state detection method, apparatus and system
EP3173017A1 (en) * 2015-11-24 2017-05-31 Xiaomi Inc. Sleep state detection method, apparatus and system
CN105852810A (en) * 2016-04-05 2016-08-17 福州市马尾区小微发明信息科技有限公司 Sleep control method
CN105760739A (en) * 2016-04-22 2016-07-13 上海与德通讯技术有限公司 Iris-recognition-based unlocking method and system thereof
CN105997004A (en) * 2016-06-17 2016-10-12 美的集团股份有限公司 Sleep reminding method and sleep monitoring device
CN106333691A (en) * 2016-10-27 2017-01-18 深圳市万机创意电子科技有限公司 The method and device for judging sleep state, rest state and motion state of human body
CN106667436A (en) * 2016-12-19 2017-05-17 深圳创达云睿智能科技有限公司 Sleep diagnosis method and system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
徐礼胜等: "《基于体动射频信号的睡眠分期》", 《东北大学学报(自然科学版)》 *

Also Published As

Publication number Publication date
CN109833029B (en) 2021-04-30
WO2019100660A1 (en) 2019-05-31

Similar Documents

Publication Publication Date Title
US20200345317A1 (en) Device for health monitoring and response
CN105930631B (en) Method for measuring bio-signals and wearable electronic device thereof
US10119986B2 (en) Time and frequency domain based step counter
CN106456000B (en) The based drive estimation of biometric signal
WO2018176348A1 (en) Wearable device, wearing quality detection method and apparatus
TWI660332B (en) Parking space detection method and device
CN105769222B (en) A kind of method, apparatus and wearable device detecting driving condition based on heart rate variability
CN110262947A (en) Threshold alarm method, apparatus, computer equipment and storage medium
US20190175016A1 (en) Calculate Physiological State and Control Smart Environments via Wearable Sensing Elements
CN108492522A (en) A kind of alarm method and wearable device based on wearable device
CN106691423B (en) The wearable device and signal processing method of health of heart are assessed by heartbeat signal
CN105266780A (en) Intelligent wearable device and detection method for biological characteristic information
CN109283840A (en) A kind of portable device and its wearing state detection method and device
CN105868547A (en) User-health-state analysis method and system, device and terminal
CN109446017A (en) A kind of alarm algorithm generation method, monitoring system and terminal device
US20200324074A1 (en) Electronic device and method for providing information for stress relief by same
CN109492590A (en) A kind of distance detection method, distance detection device and terminal device
CN107331129B (en) A kind of loss judgment method and device based on motion sensor
CN110090024A (en) A kind of Poewr control method, system and wearable device
CN109670438A (en) Abnormal behaviour monitoring method, device, system and storage medium for intelligent desk lamp
US20200237295A1 (en) Method for calculating recovery index based on rem sleep stage and electronic device thereof
CN109833029A (en) A kind of sleep stage method, system and terminal device
CN109199325A (en) A kind of sleep monitor method and device
US20190274554A1 (en) Apparatus and method for determining circulatory disease potential
Grützmacher et al. Towards energy efficient sensor nodes for online activity recognition

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