CN114027799B - Method and device for determining time point of falling asleep - Google Patents
Method and device for determining time point of falling asleep Download PDFInfo
- Publication number
- CN114027799B CN114027799B CN202111523130.XA CN202111523130A CN114027799B CN 114027799 B CN114027799 B CN 114027799B CN 202111523130 A CN202111523130 A CN 202111523130A CN 114027799 B CN114027799 B CN 114027799B
- Authority
- CN
- China
- Prior art keywords
- duration
- signal
- determining
- sum
- time
- 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.)
- Active
Links
Images
Classifications
-
- A—HUMAN NECESSITIES
- A61—MEDICAL OR VETERINARY SCIENCE; HYGIENE
- A61B—DIAGNOSIS; SURGERY; IDENTIFICATION
- A61B5/00—Measuring for diagnostic purposes; Identification of persons
- A61B5/48—Other medical applications
- A61B5/4806—Sleep evaluation
- A61B5/4809—Sleep detection, i.e. determining whether a subject is asleep or not
-
- A—HUMAN NECESSITIES
- A61—MEDICAL OR VETERINARY SCIENCE; HYGIENE
- A61B—DIAGNOSIS; SURGERY; IDENTIFICATION
- A61B5/00—Measuring for diagnostic purposes; Identification of persons
- A61B5/02—Detecting, measuring or recording pulse, heart rate, blood pressure or blood flow; Combined pulse/heart-rate/blood pressure determination; Evaluating a cardiovascular condition not otherwise provided for, e.g. using combinations of techniques provided for in this group with electrocardiography or electroauscultation; Heart catheters for measuring blood pressure
- A61B5/0205—Simultaneously evaluating both cardiovascular conditions and different types of body conditions, e.g. heart and respiratory condition
-
- A—HUMAN NECESSITIES
- A61—MEDICAL OR VETERINARY SCIENCE; HYGIENE
- A61B—DIAGNOSIS; SURGERY; IDENTIFICATION
- A61B5/00—Measuring for diagnostic purposes; Identification of persons
- A61B5/48—Other medical applications
- A61B5/4806—Sleep evaluation
- A61B5/4812—Detecting sleep stages or cycles
-
- A—HUMAN NECESSITIES
- A61—MEDICAL OR VETERINARY SCIENCE; HYGIENE
- A61B—DIAGNOSIS; SURGERY; IDENTIFICATION
- A61B5/00—Measuring for diagnostic purposes; Identification of persons
- A61B5/02—Detecting, measuring or recording pulse, heart rate, blood pressure or blood flow; Combined pulse/heart-rate/blood pressure determination; Evaluating a cardiovascular condition not otherwise provided for, e.g. using combinations of techniques provided for in this group with electrocardiography or electroauscultation; Heart catheters for measuring blood pressure
- A61B5/024—Detecting, measuring or recording pulse rate or heart rate
-
- A—HUMAN NECESSITIES
- A61—MEDICAL OR VETERINARY SCIENCE; HYGIENE
- A61B—DIAGNOSIS; SURGERY; IDENTIFICATION
- A61B5/00—Measuring for diagnostic purposes; Identification of persons
- A61B5/08—Detecting, measuring or recording devices for evaluating the respiratory organs
- A61B5/0816—Measuring devices for examining respiratory frequency
-
- A—HUMAN NECESSITIES
- A61—MEDICAL OR VETERINARY SCIENCE; HYGIENE
- A61B—DIAGNOSIS; SURGERY; IDENTIFICATION
- A61B5/00—Measuring for diagnostic purposes; Identification of persons
- A61B5/103—Detecting, measuring or recording devices for testing the shape, pattern, colour, size or movement of the body or parts thereof, for diagnostic purposes
- A61B5/11—Measuring movement of the entire body or parts thereof, e.g. head or hand tremor, mobility of a limb
- A61B5/1118—Determining activity level
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D30/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing energy consumption in communication networks in wireless communication networks
Abstract
The application provides a method and a device for determining a time point of falling asleep, wherein the method comprises the following steps: acquiring a physiological signal; determining a first ratio of a first sum of the first duration and the second duration to the total duration at any time within a preset time period; determining a second sum, wherein the second sum is the sum of all first ratios which are greater than a first preset threshold value within a preset time period; wherein the first duration is a duration associated with the first signal, the second duration is a duration associated with the second signal, the third duration is a duration associated with the third signal, and the total duration is a sum of the first duration, the second duration, and the third duration; and determining the time point when the first ratio is greater than the first preset threshold and the second sum is greater than the second preset threshold as the time point of falling asleep within the preset time period. Through the application, the technical problem that the non-contact sleep monitoring equipment in the prior art cannot determine the sleeping point due to incomplete monitoring data is solved.
Description
Technical Field
The application relates to the technical field of health monitoring, in particular to a method and a device for determining a time point of falling asleep.
Background
With the development of economy and the improvement of living standard of people, people pay more and more attention to the health state of the body. Sleep monitoring is an important scenario in the field of health monitoring, wherein non-contact sleep monitoring, such as sleep belts, sleep monitors and the like, is favored because of its ease of use. The technical problem that a sleep point cannot be determined due to incomplete monitoring data exists in non-contact sleep monitoring equipment in the prior art.
Disclosure of Invention
An object of the embodiments of the present application is to provide a method and an apparatus for determining a sleep-in time point, which solve the technical problem that the sleep-in time point cannot be determined due to incomplete monitoring data in a non-contact sleep monitoring device in the prior art. The specific technical scheme is as follows:
in a first aspect implemented by the present application, there is provided a method for determining a time point of falling asleep, the method including: acquiring a physiological signal, wherein the physiological signal comprises a first signal associated with heartbeat, a second signal associated with respiration and a third signal associated with body movement; determining a first ratio of a first sum of the first duration and the second duration to the total duration at any time within a preset time period; determining a second sum value, wherein the second sum value is the sum value of all first ratio values which are larger than a first preset threshold value in a preset time period; wherein the first duration is a duration associated with the first signal, the second duration is a duration associated with the second signal, the third duration is a duration associated with the third signal, and the total duration is a sum of the first duration, the second duration, and the third duration; and determining the time point when the first ratio is greater than the first preset threshold and the second sum is greater than the second preset threshold as the time point of falling asleep within the preset time period.
In a second aspect of this application, there is also provided an apparatus for determining a time point of falling asleep, the apparatus including: the device comprises an acquisition module, a processing module and a display module, wherein the acquisition module is used for acquiring physiological signals, and the physiological signals comprise a first signal related to heartbeat, a second signal related to respiration and a third signal related to body movement; the first determining module is used for determining a first ratio of a first sum of the first duration and the second duration to the total duration at any time within a preset time period; determining a second sum, wherein the second sum is the sum of all first ratios which are greater than a first preset threshold value within a preset time period; wherein the first duration is a duration associated with the first signal, the second duration is a duration associated with the second signal, the third duration is a duration associated with the third signal, and the total duration is a sum of the first duration, the second duration, and the third duration; and the second determining module is used for determining the time point which meets the condition that the first ratio is greater than the first preset threshold value and the second sum value is greater than the second preset threshold value as the time point of falling asleep within the preset time period.
In a third aspect of the present application, there is also provided an electronic device, including a processor, a communication interface, a memory, and a communication bus, where the processor, the communication interface, and the memory complete communication with each other through the communication bus; a memory for storing a computer program; a processor for implementing the method steps of the first aspect when executing the program stored in the memory.
In a fourth aspect implemented by the present application, there is also provided a computer-readable storage medium having stored therein instructions, which, when run on a computer, cause the computer to execute the method for determining a point in time to fall asleep described in the above first aspect.
According to the method and the device for determining the time point of falling asleep, the physiological signals are obtained, wherein the physiological signals comprise a first signal related to heartbeat, a second signal related to respiration and a third signal related to body movement; determining a first ratio of a first sum of the first duration and the second duration to the total duration at any time within a preset time period; determining a second sum, wherein the second sum is the sum of all first ratios which are greater than a first preset threshold value within a preset time period; the first time length is the time length associated with the first signal, the second time length is the time length associated with the second signal, the third time length is the time length associated with the third signal, and the total time length is the sum of the first time length, the second time length and the third time length; determining a time point which meets the condition that the first ratio is greater than a first preset threshold value and the second sum is greater than a second preset threshold value as a time point of falling asleep within a preset time period; that is to say, the time point of falling asleep is determined according to the physiological signals related to heartbeat, respiration and body movement, so that the technical problem that the falling asleep point cannot be determined due to incomplete monitoring data of the non-contact sleep monitoring device in the prior art is solved.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below.
Fig. 1 is a flowchart of a method for determining a sleep time point in an embodiment of the present application;
FIG. 2 is a second flowchart of a method for determining a sleep time point according to an embodiment of the present application;
FIG. 3 is a third flowchart of a method for determining a sleep time point according to an embodiment of the present application;
fig. 4 is a flowchart illustrating an exemplary method for determining a sleep-in time point according to an embodiment of the present application;
FIG. 5 is a diagram illustrating a relationship between a first ratio and time according to an embodiment of the present application;
fig. 6 is a schematic structural diagram of a device for determining a sleep time point in an embodiment of the present application;
fig. 7 is a second schematic structural diagram of a device for determining a sleep time point in an embodiment of the present application;
fig. 8 is a third schematic structural diagram of the determination device for the time point of falling asleep in the embodiment of the present application;
fig. 9 is a fourth schematic structural view of the device for determining a sleep-in time point in the embodiment of the present application;
fig. 10 is a fifth schematic view of the determining apparatus for determining a sleep time point in the embodiment of the present application;
fig. 11 is a schematic structural diagram of an electronic device in an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
In the following description, suffixes such as "module", "unit" used to indicate elements are used only for facilitating the explanation of the present application and have no specific meaning in themselves. Thus, "module" and "component" may be used in a mixture.
The technical solutions in the embodiments of the present application will be described below with reference to the drawings in the embodiments of the present application. The embodiment of the application provides a method for determining a time point of falling asleep, and as shown in fig. 1, the method includes the following steps:
acquiring a physiological signal, wherein the physiological signal comprises a first signal related to heartbeat, a second signal related to respiration and a third signal related to body movement;
it should be noted that the first signal associated with the heartbeat includes a heart rate, a heartbeat count, and a heartbeat intensity; the second signal associated with respiration comprises respiration frequency, respiration count and respiration intensity; the third signal related to the body movement comprises the body movement time length and the body movement intensity; the heartbeat counting is the heartbeat frequency collected by the sleep monitor in single sampling time, the single sampling time can be 2min, and the heartbeat intensity is the absolute value of the single heartbeat monitored by the sleep monitor when the amplitude is the highest; the respiratory counting is the respiratory frequency collected by the sleep monitor in a single sampling time, the single sampling time can be 2min, and the respiratory intensity is the absolute value of the maximum single respiratory amplitude value monitored by the sleep monitor; the body movement duration refers to the duration of the body movement monitored by the sleep monitor within the sampling time, the single sampling time can be 2min, and the body movement intensity refers to the absolute value of the body movement monitored by the sleep monitor when the amplitude is the highest.
104, determining a first ratio of a first sum of the first duration and the second duration to the total duration at any time within a preset time period; determining a second sum, wherein the second sum is the sum of all first ratios which are greater than a first preset threshold value within a preset time period; the first time length is the time length associated with the first signal, the second time length is the time length associated with the second signal, the third time length is the time length associated with the third signal, and the total time length is the sum of the first time length, the second time length and the third time length;
here, the first ratio is less than or equal to 1.
And 106, determining the time point which meets the condition that the first ratio is greater than the first preset threshold value and the second sum value is greater than the second preset threshold value as the time point of falling asleep within a preset time period.
When the first ratio of the sum of the first time length and the second time length to the total time length is greater than a first preset threshold value, the heartbeat and breathing speed of the user is reduced, the body movement is reduced, and the change accords with the physiological change of the user entering a sleep state, so that the time point of falling asleep can be determined accordingly.
Acquiring physiological signals through the steps 102 to 106 of the embodiment of the present application, wherein the physiological signals include a first signal associated with heartbeat, a second signal associated with respiration, and a third signal associated with body movement; determining a first ratio of a first sum of the first duration and the second duration to the total duration at any time within a preset time period; determining a second sum, wherein the second sum is the sum of all first ratios which are greater than a first preset threshold value within a preset time period; the first time length is the time length associated with the first signal, the second time length is the time length associated with the second signal, the third time length is the time length associated with the third signal, and the total time length is the sum of the first time length, the second time length and the third time length; determining a time point which meets the condition that the first ratio is greater than a first preset threshold value and the second sum is greater than a second preset threshold value as a time point of falling asleep within a preset time period; that is to say, the method for determining a point in time to fall asleep provided by the embodiment of the present application can determine the point in time to fall asleep according to the physiological signal associated with heartbeat, respiration, and body movement, thereby solving a technical problem that the point in time to fall asleep cannot be determined due to incomplete monitoring data in the non-contact sleep monitoring device in the prior art.
In an optional implementation manner of the embodiment of the present application, the determining, from within the preset time period, a time point when the first ratio is greater than the first preset threshold and the second sum is greater than the second preset threshold as the time point of falling asleep, as shown in fig. 2, includes:
step 202: determining time points, within a preset time period, of which the first ratio is greater than a first preset threshold and the second sum is greater than a second preset threshold as candidate sleep time points;
wherein, it should be noted that the preset time period is within the duration of a single sleep; when the first ratio of the sum of the first duration and the second duration to the total duration is greater than a first preset threshold, the heartbeat and respiration speed of the user are reduced, the body movement is reduced, and the change accords with the physiological change of the user entering the sleep state, so that the time point of falling asleep can be determined accordingly.
Step 204: sorting the candidate falling-asleep time points according to time;
the time sorting means sorting according to a time sequence in a single sleep duration.
Step 206: and determining the candidate falling asleep point with the most advanced time in the sequencing result as the falling asleep time point.
It should be noted that the candidate falling asleep point with the most advanced time in the ranking result refers to the candidate falling asleep point with the most advanced time within the duration of a single sleep.
Therefore, the method for determining the time point of falling asleep provided by the embodiment of the application can add the time point meeting the condition of the time point of falling asleep into the candidate falling asleep point, and then determine the candidate falling asleep point with the most advanced time as the falling asleep point.
In an optional implementation manner of the embodiment of the present application, the method for determining a time point of falling asleep, as shown in fig. 3, further includes:
step 302: determining a duration of physiological energy associated with the first signal to be a first duration;
it should be noted that the first signal refers to a signal associated with a heartbeat, and the physiological energy associated with the first signal is a heartbeat energy.
Step 304: determining a duration of physiological energy associated with the second signal to be a second duration;
the second signal is a signal related to respiration, and the physiological energy related to the second signal is respiratory energy.
Step 306: the duration of the physiological energy associated with the third signal is determined to be a third duration.
The third signal is a signal related to body motion, and the physiological energy related to the third signal is body motion energy.
Therefore, the method for determining the time point of falling asleep provided by the embodiment of the application can determine the duration of the physiological energy associated with the time point of falling asleep according to the heartbeat, the respiration and the body movement respectively.
In an optional implementation manner of the embodiment of the present application, the method for determining the time point of falling asleep provided in the embodiment of the present application,
the physiological energy associated with the first signal is determined by the following equation:
wherein h is E Is the physiological energy associated with the first signal, h r Is the heart rate, h c Counting heartbeats h s Is the intensity of the heartbeat; the heartbeat intensity is used for representing the amplitude of the heartbeat;
the heart rate is the number of beats per minute in a resting state, and in an exemplary example, the heart rate is 60 to 100 beats/minute; the heartbeat counting is the heartbeat frequency acquired by the sleep monitor in single sampling time, and the single sampling time can be 1min; the heartbeat intensity refers to an absolute value of the single heartbeat monitored by the sleep monitor when the amplitude value is the highest.
The physiological energy associated with the second signal is determined by the following equation:
wherein, b E Being physiological energy associated with the second signal, b r Is the respiratory rate, b c Counting for breathing, b s Is the respiratory intensity; the breath intensity is used for representing the amplitude during respiration;
it should be noted that the breathing rate refers to the number of breaths per minute, and in an exemplary embodiment, the breathing rate is 12 to 20 breaths/min; the counting of breaths refers to the number of breaths collected by the sleep monitor within a single sampling time, and the single sampling time can be 1min; the respiratory intensity refers to the absolute value of the single breath monitored by the sleep monitor when the amplitude is the highest.
The physiological energy associated with the third signal is determined by the following equation:
t E =t t ×t s
wherein, t E Is the physiological energy associated with the third signal, t t Is the body movement time length, t s The body movement strength; body motion intensity is used to characterize the amplitude of physical activity.
The body movement time duration refers to the time duration that the sleep monitor monitors the body movement within the sampling time, and the single sampling time can be 1min; the body movement intensity refers to an absolute value of the body movement monitored by the sleep monitor when the amplitude is the highest.
Therefore, the method for determining the time point of falling asleep provided by the embodiment of the application can determine the physiological energy associated with the physiological parameters according to the physiological parameters related to heartbeat, respiration and body movement.
In an alternative implementation manner of the embodiment of the present application, the method for determining the time point of falling asleep provided by the embodiment of the present application,
the first duration is determined by the following equation:
wherein h is t Is a first duration, h r Is the heart rate, h c Counting the heartbeat;
it should be noted that the first time length is a time length of physiological energy associated with the heartbeat signal;refers to the single heartThe number of seconds required by the heartbeat, the product of the number of seconds required by a single heartbeat and the heartbeat count is the duration required by measuring the heartbeat count, and the unit of the first duration is second.
The second duration is determined by the following equation:
wherein, b t Is a second time period, b r As the breathing frequency, b c Counting breaths;
wherein, it should be noted that, the second time period refers to the time period of the physiological energy associated with the respiration signal,the number of seconds required by a single breath is measured, the product of the number of seconds required by the single breath and the number of breaths is the time length required by the measured number of breaths, and the unit of the second time length is second.
The third time period is the body movement time period t t 。
It should be noted that the third time period refers to a time period of physiological energy associated with the body motion signal, and a unit of the third time period is second.
Therefore, the method for determining the time point of falling asleep provided by the embodiment of the application can determine the length of the duration corresponding to the physiological energy associated with the physiological energy according to the physiological parameters related to heartbeat, respiration and body movement.
In an optional implementation manner of the embodiment of the present application, an example of the method for determining a time point of falling asleep, which is provided by the embodiment of the present application, includes acquiring physiological signal data associated with heartbeat, respiration, and body movement, and physiological energy calculated according to the acquired physiological signal data, as shown in table 1, in a certain time period by a sleep monitor.
TABLE 1
It should be noted that the physiological energy obtained from the signal associated with the heartbeat is the heartbeat energy; the physiological energy derived from the respiration-related signal is respiratory energy; the physiological energy derived from the signal associated with the body motion is body motion energy.
Therefore, the method for determining the time point of falling asleep provided by the embodiment of the application can calculate the corresponding time length according to the physiological signal data which is acquired by the sleep monitor and is associated with heartbeat, respiration and body movement, and further help determine the time point of falling asleep.
In an optional implementation manner of the embodiment of the present application, another exemplary method for determining a time point of falling asleep provided by the embodiment of the present application determines the time point of falling asleep X 1 As shown in fig. 4, the process of (a) includes:
step 402: acquiring physiological signal data related to heartbeat, respiration and body movement;
step 404: determining a duration of physiological energy associated with the first signal to be a first duration; the physiological energy associated with the first signal is determined by the following equation:
wherein h is t Is a first duration, h r Is the heart rate, h c Counting the heartbeats;
step 406: determining a duration of physiological energy associated with the second signal to be a second duration; the second duration is determined by the following equation:
wherein, b t Is a second duration, b r As the breathing frequency, b c Counting breaths;
step 408: determining a duration of physiological energy associated with the third signal to be a third duration; the third time period is the body movement time period t t ;
Step 410: determining a first ratio of a first sum of the first duration and the second duration to the total duration at any time within a preset time period;wherein rho is a first ratio;
step 412: determining a second sum value under the condition that the first ratio is greater than a first preset threshold value;wherein f (x) is a second sum, [ m, m + n [ ]]Is a sliding window;
step 414: determining a second sum value under the condition that the first ratio is less than or equal to a first preset threshold value; f (x) =0, wherein f (x) is a second sum;
step 416: determining time points, within a preset time period, of which the first ratio is greater than a first preset threshold and the second sum is greater than a second preset threshold as candidate sleep time points;
step 418: sorting the candidate falling-asleep time points according to time;
step 420: the candidate falling asleep point X with the most advanced time in the sequencing result 1 Is determined as the time point of falling asleep.
The relationship between the first ratio and time in this embodiment is shown in fig. 5, where X is to be noted 1 The earliest time point in the time points that the first ratio is greater than the first preset threshold value and the second sum is greater than the second preset threshold value is satisfied.
Therefore, the method for determining the time point of falling asleep provided by the embodiment of the application can determine the time point of falling asleep according to the physiological signals associated with heartbeat, respiration and body movement, so that the technical problem that the time point of falling asleep cannot be determined due to incomplete monitoring data of the non-contact sleep monitoring device in the prior art is solved.
An embodiment of the present application provides a device for determining a time point of falling asleep, and as shown in fig. 6, the device includes:
an obtaining module 62, configured to obtain a physiological signal, where the physiological signal includes a first signal associated with heartbeat, a second signal associated with respiration, and a third signal associated with body movement;
a first determining module 64, configured to determine a first ratio of a first sum of the first duration and the second duration to the total duration at any time within a preset time period; determining a second sum value, wherein the second sum value is the sum value of all first ratio values which are larger than a first preset threshold value in a preset time period; the first time length is the time length associated with the first signal, the second time length is the time length associated with the second signal, the third time length is the time length associated with the third signal, and the total time length is the sum of the first time length, the second time length and the third time length;
and a second determining module 66, configured to determine, from within a preset time period, a time point when the first ratio is greater than the first preset threshold and the second sum is greater than the second preset threshold as a time point of falling asleep.
By the device for determining the time point of falling asleep provided by the embodiment of the application, a physiological signal is acquired by an acquisition module, wherein the physiological signal comprises a first signal associated with heartbeat, a second signal associated with respiration and a third signal associated with body movement; the first determining module determines a first ratio of a first sum of the first duration and the second duration to the total duration at any time within a preset time period; determining a second sum, wherein the second sum is the sum of all first ratios which are greater than a first preset threshold value within a preset time period; wherein the first duration is a duration associated with the first signal, the second duration is a duration associated with the second signal, the third duration is a duration associated with the third signal, and the total duration is a sum of the first duration, the second duration, and the third duration; the second determining module determines a time point meeting the condition that the first ratio is greater than a first preset threshold value and the second sum is greater than a second preset threshold value as a time point of falling asleep within a preset time period; that is to say, the time point of falling asleep is determined according to the physiological signals related to heartbeat, respiration and body movement, so that the technical problem that the falling asleep point cannot be determined due to incomplete monitoring data of the non-contact sleep monitoring device in the prior art is solved.
In an optional implementation manner of the embodiment of the present application, the second determining module 64 provided in the embodiment of the present application, as shown in fig. 7, further may include:
a first determining unit 72, configured to determine, as a candidate time point of falling asleep, a time point within a preset time period when a first ratio is greater than a first preset threshold and a second sum is greater than a second preset threshold;
a sorting unit 74, configured to sort the candidate falling-asleep time points according to time;
a second determining unit 76, configured to determine the candidate falling asleep point closest to the front time in the sorting result as the falling asleep time point.
In an optional implementation manner of the embodiment of the present application, the apparatus for determining a time point of falling asleep, as shown in fig. 8, further may include:
a third determining module 82 for determining a duration of the physiological energy associated with the first signal to be the first duration;
a fourth determining module 84 for determining the duration of the physiological energy associated with the second signal to be the second duration;
a fifth determining module 86 for determining the duration of the physiological energy associated with the third signal to be the third duration.
In an optional implementation manner of the embodiment of the present application, the apparatus for determining a time point of falling asleep, as shown in fig. 9, further may include:
a sixth determining module 92, configured to determine the physiological energy associated with the first signal by the following formula:
wherein h is E Is the physiological energy associated with the first signal, h r Is the heart rate, h c Counting heartbeats h s Is the intensity of the heartbeat; the heartbeat intensity is used for representing the amplitude of the heartbeat;
a seventh determining module 94, configured to determine the physiological energy associated with the second signal by the following formula:
wherein, b E Being physiological energy associated with the second signal, b r As the breathing frequency, b c Counting for breathing, b s Is the respiration intensity; the breath intensity is used for representing the amplitude during breathing;
an eighth determining module 96, configured to determine the physiological energy associated with the third signal by the following formula:
t E =t t ×t s
wherein, t E Is the physiological energy associated with the third signal, t t Is the body movement time length, t s The body movement strength; body motion intensity is used to characterize the amplitude of physical activity. .
In an optional implementation manner of the embodiment of the present application, the apparatus for determining a time point of falling asleep provided by the embodiment of the present application, as shown in fig. 10, further may include:
a ninth determining module 1002, configured to determine the first duration by the following formula:
wherein h is t Is a first duration, h r Is the heart rate, h c Counting the heartbeats;
a tenth determining module 1004 for determining the second duration by the following formula:
wherein, b t Is a second duration, b r Is the respiratory rate, b c Counting breaths;
an eleventh determining module 1006, configured to determine the third duration as the body movement duration t t 。
The embodiment of the present application further provides an electronic device, as shown in fig. 11, including a processor 1101, a communication interface 1102, a memory 1103 and a communication bus 1104, where the processor 1101, the communication interface 1102 and the memory 1103 complete mutual communication through the communication bus 1104,
a memory 1103 for storing a computer program;
the processor 1101 is configured to implement the method steps in fig. 1 when executing the program stored in the memory 1103, and the functions of the method steps are the same as those of the method steps in fig. 1, and are not described herein again.
The communication bus mentioned in the above terminal may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The communication bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown in FIG. 11, but that does not indicate only one bus or one type of bus.
The communication interface is used for communication between the terminal and other equipment.
The Memory may include a Random Access Memory (RAM), and may also include a non-volatile Memory (non-volatile Memory), such as at least one disk Memory. Alternatively, the memory may be at least one memory device located remotely from the processor.
The Processor may be a general-purpose Processor, and includes a Central Processing Unit (CPU), a Network Processor (NP), and the like; the Integrated Circuit may also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic device, or discrete hardware components.
In yet another embodiment provided by the present application, a computer-readable storage medium is further provided, which has instructions stored therein, and when the instructions are executed on a computer, the instructions cause the computer to execute the method for determining a sleep time point described in any of the above embodiments.
In a further embodiment provided by the present application, there is also provided a computer program product containing instructions which, when run on a computer, cause the computer to perform the method for determining a point in time to fall asleep as described in any of the above embodiments.
In the above embodiments, the implementation may be wholly or partially realized by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. The procedures or functions described in accordance with the embodiments of the application are all or partially generated when the computer program instructions are loaded and executed on a computer. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored in a computer readable storage medium or transmitted from one computer readable storage medium to another, for example, from one website site, computer, server, or data center to another website site, computer, server, or data center via wired (e.g., coaxial cable, fiber optic, digital Subscriber Line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device, such as a server, a data center, etc., that incorporates one or more of the available media. The usable medium may be a magnetic medium (e.g., floppy Disk, hard Disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., solid State Disk (SSD)), among others.
It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrases "comprising a," "8230," "8230," or "comprising" does not exclude the presence of additional like elements in a process, method, article, or apparatus that comprises the element.
All the embodiments in the present specification are described in a related manner, and the same and similar parts among the embodiments may be referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, for the system embodiment, since it is substantially similar to the method embodiment, the description is simple, and for the relevant points, reference may be made to the partial description of the method embodiment.
The above description is only for the preferred embodiment of the present application, and is not intended to limit the scope of the present application. Any modification, equivalent replacement, improvement and the like made within the spirit and principle of the present application are included in the scope of protection of the present application.
Claims (6)
1. A method for determining a point in time to fall asleep, comprising:
acquiring a physiological signal, wherein the physiological signal comprises a first signal associated with heartbeat, a second signal associated with respiration and a third signal associated with body movement;
determining a first ratio of a first sum of the first duration and the second duration to the total duration at any time within a preset time period; determining a second sum, wherein the second sum is the sum of all first ratios which are greater than a first preset threshold value in the preset time period; wherein the first duration is a duration associated with the first signal, the second duration is a duration associated with the second signal, a third duration is a duration associated with the third signal, and the total duration is a sum of the first duration, the second duration, and the third duration;
determining a time point when the first ratio is greater than the first preset threshold and the second sum is greater than the second preset threshold as a time point of falling asleep within the preset time period;
wherein, from the preset time period, determining a time point when the first ratio is greater than the first preset threshold and the second sum is greater than the second preset threshold as a time point of falling asleep, including:
determining the time point in the preset time period, at which the first ratio is greater than the first preset threshold and the second sum is greater than the second preset threshold, as a candidate time point of falling asleep;
sorting the candidate falling-asleep time points according to time;
and determining the candidate falling asleep time point with the most advanced time in the sequencing result as the falling asleep time point.
2. The method of claim 1, wherein prior to said determining the first ratio of the first sum of the first duration and the second duration to the total duration, the method further comprises:
determining a duration of physiological energy associated with the first signal as the first duration;
determining a duration of physiological energy associated with the second signal as the second duration;
determining a duration of physiological energy associated with the third signal as the third duration.
3. An apparatus for determining a point in time to fall asleep, comprising:
an acquisition module for acquiring a physiological signal, wherein the physiological signal comprises a first signal associated with heartbeat, a second signal associated with respiration, and a third signal associated with body movement;
the first determining module is used for determining a first ratio of a first sum of the first duration and the second duration to the total duration at any time within a preset time period; determining a second sum, wherein the second sum is the sum of all first ratios which are greater than a first preset threshold value in the preset time period; wherein the first duration is a duration associated with the first signal, the second duration is a duration associated with the second signal, the third duration is a duration associated with the third signal, and the total duration is a sum of the first duration, the second duration, and the third duration;
a second determining module, configured to determine, from within the preset time period, a time point when the first ratio is greater than the first preset threshold and the second sum is greater than a second preset threshold as a time point of falling asleep;
wherein the second determining module comprises:
a first determining unit, configured to determine, as a candidate time point of falling asleep, a time point within the preset time period when the first ratio is greater than the first preset threshold and the second sum is greater than the second preset threshold;
the sorting unit is used for sorting the candidate falling-asleep time points according to time;
a second determining unit, configured to determine the candidate sleep-onset time point with the most advanced time in the ranking result as the sleep-onset time point.
4. The apparatus of claim 3, comprising:
a third determination module to determine a duration of physiological energy associated with the first signal to be the first duration;
a fourth determination module to determine a duration of physiological energy associated with the second signal to be the second duration;
a fifth determination module to determine a duration of physiological energy associated with the third signal to be the third duration.
5. An electronic device is characterized by comprising a processor, a communication interface, a memory and a communication bus, wherein the processor and the communication interface are used for realizing mutual communication by the memory through the communication bus;
a memory for storing a computer program;
a processor for implementing the method of any one of claims 1-2 when executing a program stored in a memory.
6. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the method according to any one of claims 1-2 。
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111523130.XA CN114027799B (en) | 2021-12-13 | 2021-12-13 | Method and device for determining time point of falling asleep |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111523130.XA CN114027799B (en) | 2021-12-13 | 2021-12-13 | Method and device for determining time point of falling asleep |
Publications (2)
Publication Number | Publication Date |
---|---|
CN114027799A CN114027799A (en) | 2022-02-11 |
CN114027799B true CN114027799B (en) | 2023-03-14 |
Family
ID=80146829
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202111523130.XA Active CN114027799B (en) | 2021-12-13 | 2021-12-13 | Method and device for determining time point of falling asleep |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114027799B (en) |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105792733A (en) * | 2013-11-28 | 2016-07-20 | 皇家飞利浦有限公司 | Sleep monitoring device |
CN108697348A (en) * | 2018-03-16 | 2018-10-23 | 深圳和而泰数据资源与云技术有限公司 | A kind of physiologic information monitoring method and physiologic information monitoring pad, a kind of mattress |
CN111938584A (en) * | 2020-07-21 | 2020-11-17 | 深圳数联天下智能科技有限公司 | Sleep monitoring method and equipment |
CN111938588A (en) * | 2020-07-24 | 2020-11-17 | 深圳数联天下智能科技有限公司 | Method for detecting sleep state, sleep monitor and storage medium |
CN112971724A (en) * | 2021-02-07 | 2021-06-18 | 北京海思瑞格科技有限公司 | Method for detecting sleeping point |
CN113576419A (en) * | 2021-08-20 | 2021-11-02 | 珠海格力电器股份有限公司 | Method and device for determining sleep time of user |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP5785791B2 (en) * | 2010-06-15 | 2015-09-30 | 積水ハウス株式会社 | Sleep state determination device |
CN105877701B (en) * | 2016-03-24 | 2019-02-19 | 安徽华米信息科技有限公司 | Real-time sleep cycle analysis method and device, intelligent wearable device |
CN106326672B (en) * | 2016-08-31 | 2019-04-09 | 珠海多士科技有限公司 | Sleep detection method and system |
CN106419841A (en) * | 2016-09-13 | 2017-02-22 | 深圳市迈迪加科技发展有限公司 | Method, device and system for evaluating sleep |
-
2021
- 2021-12-13 CN CN202111523130.XA patent/CN114027799B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105792733A (en) * | 2013-11-28 | 2016-07-20 | 皇家飞利浦有限公司 | Sleep monitoring device |
CN108697348A (en) * | 2018-03-16 | 2018-10-23 | 深圳和而泰数据资源与云技术有限公司 | A kind of physiologic information monitoring method and physiologic information monitoring pad, a kind of mattress |
CN111938584A (en) * | 2020-07-21 | 2020-11-17 | 深圳数联天下智能科技有限公司 | Sleep monitoring method and equipment |
CN111938588A (en) * | 2020-07-24 | 2020-11-17 | 深圳数联天下智能科技有限公司 | Method for detecting sleep state, sleep monitor and storage medium |
CN112971724A (en) * | 2021-02-07 | 2021-06-18 | 北京海思瑞格科技有限公司 | Method for detecting sleeping point |
CN113576419A (en) * | 2021-08-20 | 2021-11-02 | 珠海格力电器股份有限公司 | Method and device for determining sleep time of user |
Also Published As
Publication number | Publication date |
---|---|
CN114027799A (en) | 2022-02-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Masa et al. | Effectiveness of sequential automatic-manual home respiratory polygraphy scoring | |
US20140350355A1 (en) | Monitoring and managing sleep breathing disorders | |
CN114176521B (en) | Sleep staging method and device based on radar information and terminal | |
CN108511067A (en) | Method for early warning and electronic equipment | |
CN111588384A (en) | Method, device and equipment for obtaining blood sugar detection result | |
CN106021957A (en) | Community health cloud service system based on family | |
Ahanathapillai et al. | Assistive technology to monitor activity, health and wellbeing in old age: The wrist wearable unit in the USEFIL project | |
CN111685731B (en) | Sleep data processing method, device, equipment and storage medium | |
CN114027799B (en) | Method and device for determining time point of falling asleep | |
CN111341416A (en) | Psychological stress assessment model processing method and related equipment | |
Penzel et al. | Alternative algorithms and devices in sleep apnoea diagnosis: what we know and what we expect | |
CN111508585A (en) | Diet recommendation method, device, storage medium and system | |
US20160361011A1 (en) | Determining resting heart rate using wearable device | |
CN107280650B (en) | Method and device for acquiring characteristic parameters of living body | |
CN113164101B (en) | Respiratory arrest detection system, method, computing device and storage medium | |
JP7130228B2 (en) | typology discriminator | |
CN111481189A (en) | Sleep evaluation method and device | |
CN114041751B (en) | Bed leaving monitoring method and device, electronic equipment and storage medium | |
US20230389862A1 (en) | Systems and methods for sleep state tracking | |
WO2023058200A1 (en) | Fatigue degree calculation device, fatigue degree calculation method, and storage medium | |
WO2023008099A1 (en) | Sleep/waking determination system, sleep/waking determination method, and program | |
WO2024066502A1 (en) | Respiration monitoring method and device | |
CN113995394B (en) | Method, device and equipment for processing physiological signal and storage medium | |
JP7466548B2 (en) | Apparatus and system for generating a respiratory alarm | |
US11853874B2 (en) | Prediction and reporting of medical events |
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 |