CN113941071B - Sleep awakening method and device based on electroencephalogram, intelligent terminal and storage medium - Google Patents

Sleep awakening method and device based on electroencephalogram, intelligent terminal and storage medium Download PDF

Info

Publication number
CN113941071B
CN113941071B CN202111561593.5A CN202111561593A CN113941071B CN 113941071 B CN113941071 B CN 113941071B CN 202111561593 A CN202111561593 A CN 202111561593A CN 113941071 B CN113941071 B CN 113941071B
Authority
CN
China
Prior art keywords
sleep
score
time
state
user
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
Application number
CN202111561593.5A
Other languages
Chinese (zh)
Other versions
CN113941071A (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 Mental Flow Technology Co Ltd
Original Assignee
Shenzhen Mental Flow 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 Mental Flow Technology Co Ltd filed Critical Shenzhen Mental Flow Technology Co Ltd
Priority to CN202111561593.5A priority Critical patent/CN113941071B/en
Publication of CN113941071A publication Critical patent/CN113941071A/en
Application granted granted Critical
Publication of CN113941071B publication Critical patent/CN113941071B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61MDEVICES FOR INTRODUCING MEDIA INTO, OR ONTO, THE BODY; DEVICES FOR TRANSDUCING BODY MEDIA OR FOR TAKING MEDIA FROM THE BODY; DEVICES FOR PRODUCING OR ENDING SLEEP OR STUPOR
    • A61M21/00Other devices or methods to cause a change in the state of consciousness; Devices for producing or ending sleep by mechanical, optical, or acoustical means, e.g. for hypnosis
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • A61B5/48Other medical applications
    • A61B5/4806Sleep evaluation
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • A61B5/48Other medical applications
    • A61B5/4806Sleep evaluation
    • A61B5/4812Detecting sleep stages or cycles
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61MDEVICES FOR INTRODUCING MEDIA INTO, OR ONTO, THE BODY; DEVICES FOR TRANSDUCING BODY MEDIA OR FOR TAKING MEDIA FROM THE BODY; DEVICES FOR PRODUCING OR ENDING SLEEP OR STUPOR
    • A61M21/00Other devices or methods to cause a change in the state of consciousness; Devices for producing or ending sleep by mechanical, optical, or acoustical means, e.g. for hypnosis
    • A61M2021/0005Other devices or methods to cause a change in the state of consciousness; Devices for producing or ending sleep by mechanical, optical, or acoustical means, e.g. for hypnosis by the use of a particular sense, or stimulus
    • A61M2021/0027Other devices or methods to cause a change in the state of consciousness; Devices for producing or ending sleep by mechanical, optical, or acoustical means, e.g. for hypnosis by the use of a particular sense, or stimulus by the hearing sense
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61MDEVICES FOR INTRODUCING MEDIA INTO, OR ONTO, THE BODY; DEVICES FOR TRANSDUCING BODY MEDIA OR FOR TAKING MEDIA FROM THE BODY; DEVICES FOR PRODUCING OR ENDING SLEEP OR STUPOR
    • A61M21/00Other devices or methods to cause a change in the state of consciousness; Devices for producing or ending sleep by mechanical, optical, or acoustical means, e.g. for hypnosis
    • A61M2021/0005Other devices or methods to cause a change in the state of consciousness; Devices for producing or ending sleep by mechanical, optical, or acoustical means, e.g. for hypnosis by the use of a particular sense, or stimulus
    • A61M2021/0044Other devices or methods to cause a change in the state of consciousness; Devices for producing or ending sleep by mechanical, optical, or acoustical means, e.g. for hypnosis by the use of a particular sense, or stimulus by the sight sense
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61MDEVICES FOR INTRODUCING MEDIA INTO, OR ONTO, THE BODY; DEVICES FOR TRANSDUCING BODY MEDIA OR FOR TAKING MEDIA FROM THE BODY; DEVICES FOR PRODUCING OR ENDING SLEEP OR STUPOR
    • A61M21/00Other devices or methods to cause a change in the state of consciousness; Devices for producing or ending sleep by mechanical, optical, or acoustical means, e.g. for hypnosis
    • A61M2021/0005Other devices or methods to cause a change in the state of consciousness; Devices for producing or ending sleep by mechanical, optical, or acoustical means, e.g. for hypnosis by the use of a particular sense, or stimulus
    • A61M2021/0083Other devices or methods to cause a change in the state of consciousness; Devices for producing or ending sleep by mechanical, optical, or acoustical means, e.g. for hypnosis by the use of a particular sense, or stimulus especially for waking up

Landscapes

  • Health & Medical Sciences (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Animal Behavior & Ethology (AREA)
  • Physics & Mathematics (AREA)
  • Veterinary Medicine (AREA)
  • Engineering & Computer Science (AREA)
  • Public Health (AREA)
  • Biomedical Technology (AREA)
  • Heart & Thoracic Surgery (AREA)
  • General Health & Medical Sciences (AREA)
  • Pathology (AREA)
  • Biophysics (AREA)
  • Medical Informatics (AREA)
  • Molecular Biology (AREA)
  • Surgery (AREA)
  • Hematology (AREA)
  • Anesthesiology (AREA)
  • Psychology (AREA)
  • Acoustics & Sound (AREA)
  • Measurement And Recording Of Electrical Phenomena And Electrical Characteristics Of The Living Body (AREA)
  • Measurement Of The Respiration, Hearing Ability, Form, And Blood Characteristics Of Living Organisms (AREA)

Abstract

The invention discloses a sleep awakening method and device based on electroencephalogram, an intelligent terminal and a storage medium, wherein the method comprises the following steps: acquiring sleep data of a user based on brain waves; obtaining a sleep score according to the sleep data; and obtaining the timing time according to the sleep score. According to the embodiment of the invention, the sleep score is obtained by analyzing the acquired sleep data of the user, the timing time is determined according to the sleep score, and the user is awakened by the timing time, so that each user can customize the reminding time according to the actual condition of the user.

Description

Sleep awakening method and device based on electroencephalogram, intelligent terminal and storage medium
Technical Field
The invention relates to the technical field of artificial intelligence, in particular to a sleep awakening method and device based on electroencephalogram, an intelligent terminal and a storage medium.
Background
In busy life, people's pressure is bigger and bigger, and sleep no longer becomes regular, has needed to supply the sleep to adjust to weekends, but the alarm clock setting of early-rising among the prior art all sets up according to conventional time of getting up, does not set up according to everyone's work and healthy special condition, and user experience is not good.
Thus, there is still a need for improvement and development of the prior art.
Disclosure of Invention
The invention aims to solve the technical problems that in the prior art, an electroencephalogram-based sleep awakening method, an electroencephalogram-based sleep awakening device, an intelligent terminal and a storage medium are provided, and the problems that in the prior art, the early-rising alarm clock setting is set according to the conventional waking time, the setting is not carried out according to the special conditions of work and body health of each person, and the user experience is poor are solved.
The technical scheme adopted by the invention for solving the problems is as follows:
in a first aspect, an embodiment of the present invention provides a sleep wake-up method based on electroencephalogram, where the method includes:
acquiring sleep data of a user based on brain waves;
obtaining a sleep score according to the sleep data;
and obtaining timing time according to the sleep score, and awakening the user according to the timing time.
In one implementation, the sleep data includes a sleep state of the user and a sleep time corresponding to the sleep state.
In one implementation, the sleep state of the user includes: waking state, sleeping state, light sleeping state and deep sleeping state.
In one implementation, the deriving a sleep score from the sleep data includes:
mapping the sleep time corresponding to the waking state into a first sleep score according to a preset first mapping relation;
mapping the sleep time corresponding to the sleep-entering state into a second sleep score according to a preset second mapping relation;
mapping the sleep time corresponding to the light sleep state into a third sleep score according to a preset third mapping relation;
mapping the sleep time corresponding to the deep sleep state into a fourth sleep score according to a preset third mapping relation;
and performing weighted summation on the first sleep score, the second sleep score, the third sleep score and the fourth sleep score to obtain the sleep score.
In one implementation, the deriving a timing time from the sleep score includes:
searching the timing time corresponding to the sleep score in a preset database; wherein, the database stores the mapping relation between the sleep scores and the timing time.
In one implementation, the deriving a timing time according to the sleep score further comprises:
when the sleep score is greater than or equal to a preset score value, setting the timing time as a first preset time;
when the sleep score is smaller than a preset score value, subtracting the sleep score from the preset score value to obtain a score difference value;
obtaining the extension time according to the mapping relation between the score difference and the time; wherein the extension time is used for representing the time length of the user delayed to wake up;
and adding the first preset time to an extension time to obtain a timing time.
In one implementation, the waking up the user according to the timing time includes:
taking the timing time as alarm time;
and when the alarm time is up, voice or flashing light reminding is carried out.
In a second aspect, an embodiment of the present invention further provides a timing reminding device based on electroencephalogram, where the device includes: the sleep data acquisition module is used for acquiring sleep data of the user based on brain waves;
the sleep score acquisition module is used for acquiring a sleep score according to the sleep data;
and the user awakening module is used for obtaining the timing time according to the sleep score and awakening the user according to the timing time.
In a third aspect, an embodiment of the present invention further provides an intelligent terminal, including a memory, and one or more programs, where the one or more programs are stored in the memory, and configured to be executed by one or more processors, where the one or more programs include instructions for executing the electroencephalogram-based sleep-wake method according to any one of the above.
In a fourth aspect, an embodiment of the present invention further provides a non-transitory computer-readable storage medium, where instructions in the storage medium, when executed by a processor of an electronic device, enable the electronic device to perform the electroencephalogram-based sleep-wake method as described in any one of the above.
The invention has the beneficial effects that: the embodiment of the invention firstly acquires the sleep data of the user based on brain waves; then obtaining a sleep score according to the sleep data; finally, obtaining timing time according to the sleep score, and awakening the user according to the timing time; therefore, in the embodiment of the invention, the sleep score is obtained by analyzing the acquired sleep data of the user, the timing time is determined according to the sleep score, and the user is awakened by the timing time, so that each user can customize the reminding time according to the actual situation of the user.
Drawings
In order to more clearly illustrate the embodiments of the present invention 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, it is obvious that the drawings in the following description are only some embodiments described in the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a schematic flow chart of a sleep wake-up method based on electroencephalogram according to an embodiment of the present invention.
Fig. 2 is a schematic block diagram of a timing reminding device based on electroencephalogram according to an embodiment of the present invention.
Fig. 3 is a schematic block diagram of an internal structure of an intelligent terminal according to an embodiment of the present invention.
Detailed Description
The invention discloses a sleep awakening method, a sleep awakening device, an intelligent terminal and a storage medium based on electroencephalogram, and further describes the sleep awakening method, the sleep awakening device, the intelligent terminal and the storage medium in detail with reference to the attached drawings and by way of example in order to make the purposes, technical schemes and effects of the sleep awakening method clearer and clearer. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
As used herein, the singular forms "a", "an", "the" and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It will be further understood that the terms "comprises" and/or "comprising," when used in this specification, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof. It will be understood that when an element is referred to as being "connected" or "coupled" to another element, it can be directly connected or coupled to the other element or intervening elements may also be present. Further, "connected" or "coupled" as used herein may include wirelessly connected or wirelessly coupled. As used herein, the term "and/or" includes all or any element and all combinations of one or more of the associated listed items.
It will be understood by those skilled in the art that, unless otherwise defined, all terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs. It will be further understood that terms, such as those defined in commonly used dictionaries, should be interpreted as having a meaning that is consistent with their meaning in the context of the prior art and will not be interpreted in an idealized or overly formal sense unless expressly so defined herein.
Because among the prior art, the alarm clock setting of early rising all sets up according to conventional waking up time, does not set up according to everyone's work and healthy special circumstances, and user experience is not good.
In order to solve the problems in the prior art, the embodiment provides a sleep awakening method based on electroencephalogram, which obtains a sleep score through analyzing acquired sleep data of a user, determines a timing time according to the sleep score, and awakens the user by the timing time, so that each user can individually customize a reminding time according to the actual situation of the user. When the method is specifically implemented, firstly, sleep data of a user based on brain waves are acquired; and finally, obtaining timing time according to the sleep score, and awakening the user according to the timing time so as to provide customized reminding service for the user.
Exemplary method
The embodiment provides a sleep awakening method based on electroencephalogram, and the method can be applied to an intelligent terminal of a communication technology. As shown in fig. 1 in detail, the method includes:
s100, acquiring sleep data of a user based on brain waves;
specifically, the alarm clock among the prior art all draws and sets up, and some users 'work is the elastic system, if the user just sets up the alarm clock before sleeping, can not adjust after setting up, when the user can't fall asleep because pressure is big or fidgety, the sleep quality must greatly be influenced, when the alarm clock thinks about, the user probably does not have sleep this moment, he probably wants to get up late, but the alarm clock has already awakened him, he turns off the alarm clock and has really hardly got into sleep again, this brings very puzzlement for the user. The present invention thus provides for subsequent determination of the reminder time by acquiring sleep data for the user based on brain waves. In one implementation, the sleep data includes a sleep state of the user and a sleep time corresponding to the sleep state. The sleep states of the user include: waking state, sleeping state, light sleeping state and deep sleeping state. The sleep data may be a duration of the user in an awake state, a duration of the user in a sleep state, a duration of the user in a light sleep state, a duration of the user in a deep sleep state. For example, when the duration of the user in the awake state and the sleep-in state is particularly long, and may be in the two states to a little extent, the sleep quality of the user is poor, and when the duration of the user in the awake state and the sleep-in state is relatively short, and the user enters the light sleep state, especially the deep sleep state is relatively long, the sleep quality of the user is relatively good. In the present embodiment, the sleep data may be detected through three electrodes of one head ring in the brain wave module.
After obtaining the sleep data of the user, the following steps as shown in fig. 1 can be executed: s200, obtaining a sleep score according to the sleep data;
in practice, it is not possible to automatically adjust the timing by machine, if not quantifying the quality of sleep, by merely knowing how good or bad the sleep is. Therefore, the invention quantizes the acquired sleep data into the sleep score, and can accurately determine the timing time after the quantization result is obtained.
In order to obtain the sleep score, the obtaining the sleep score according to the sleep data comprises the following steps:
s201, mapping the sleep time corresponding to the waking state into a first sleep score according to a preset first mapping relation;
s202, mapping the sleep time corresponding to the sleep-entering state into a second sleep score according to a preset second mapping relation;
s203, mapping the sleep time corresponding to the light sleep state into a third sleep score according to a preset third mapping relation;
s204, mapping the sleep time corresponding to the deep sleep state into a fourth sleep score according to a preset third mapping relation;
s205, carrying out weighted summation on the first sleep score, the second sleep score, the third sleep score and the fourth sleep score to obtain the sleep score.
Specifically, the correspondence between the sleep time and the sleep score corresponding to the awake state, the correspondence between the sleep time and the sleep score corresponding to the sleep-in state, the correspondence between the sleep time and the sleep score corresponding to the light sleep state, and the correspondence between the time and the sleep score corresponding to the deep sleep state may be listed in advance. For example, the first sleep score is 90 when the awake state corresponds to a sleep time of 10 minutes to 20 minutes, and the first sleep score is 10 when the awake state corresponds to a sleep time of 30 minutes to 1 hour; when the sleep time corresponding to the sleep-in state is 10 minutes to 20 minutes, the second sleep score is 90, and when the sleep time corresponding to the sleep-in state is 30 minutes to 1 hour, the second sleep score is 10; when the sleep time corresponding to the light sleep state is 10 minutes to 20 minutes, the third sleep score is 10, and when the sleep time corresponding to the light sleep state is 30 minutes to 1 hour, the third sleep score is 90; the fourth sleep score is 10 when the sleep time corresponding to the deep sleep state is 1 hour to 2 hours, and the fourth sleep score is 90 when the sleep time corresponding to the deep sleep state is more than 6 hours. And then carrying out weighted summation on the first sleep score, the second sleep score, the third sleep score and the fourth sleep score to obtain the sleep score. Since, in practice, the influence factors of the awake state, the sleep-in state, the light sleep state and the deep sleep state on the sleep quality are different in magnitude, in order to obtain an accurate sleep score, the first sleep score, the second sleep score, the third sleep score and the fourth sleep score are weighted, wherein the weights of the awake state, the sleep-in state and the light sleep state can be all set to 0.1, the sleep score of the deep sleep state can be set to 0.7, and then the weighted sleep scores are summed up to obtain the sleep score.
After the sleep score is obtained, the following steps can be performed as shown in fig. 1: s300, obtaining timing time according to the sleep scores, and awakening the user according to the timing time.
In practice, the sleep quality can be obtained from the sleep score, so that the timing time can be determined according to the sleep score, if the sleep score is high, the sleep quality is good, the timing time can be advanced, the length of the advance is determined according to the sleep quality, the sleep quality of a user is very good, and the timing time can be advanced a little bit compared with the normal time, so that the user can get out for outdoor activities after getting up early; if the sleep score is low, the sleep quality is poor, the timing time can be pushed back, and if the sleep quality of the user is poor, the timing time can be pushed back a little more, so that the user can supplement sleep (the general user can sleep badly at night and can sleep very deeply in the morning).
In order to obtain the timing time, the obtaining the timing time according to the sleep score comprises the following steps:
searching the timing time corresponding to the sleep score in a preset database; wherein, the database stores the mapping relation between the sleep scores and the timing time.
Specifically, the correspondence between the sleep score and the timing time may be obtained in advance by counting the big data, and stored in the database. In an implementation manner, for each specific user, the system may be used to collect sleep data of the user in real time, store the sleep data of the user, and perform analysis and calculation through the background to obtain a corresponding relationship between the historical sleep score and the timing time of the user, so that the timing time of the user can be customized and adjusted according to the real-time situation of the user. In one implementation, the user can modify the data in real time according to the interface provided by the system to obtain a timing time that is satisfactory for the user. Thus, in either case, the timing time is dynamically changed.
In another implementation, the obtaining the timing time according to the sleep score further includes: when the sleep score is larger than or equal to a preset score value, setting the timing time as a first preset time; when the sleep score is smaller than a preset score value, subtracting the sleep score from the preset score value to obtain a score difference value; obtaining the extension time according to the mapping relation between the score difference and the time; wherein the extension time is used for representing the time length of the user delayed to wake up; and adding the first preset time to an extension time to obtain a timing time.
Specifically, assuming that the preset score value is 80, when the sleep score is greater than 80, which indicates that the sleep quality of the user is better, a user-used alarm time, i.e., a first preset time, such as 7:00, is set. When the sleep score is less than the preset score 80, subtracting the sleep score from the preset score value (for example, the sleep scores of the users using the system are 70,60 and 50 respectively), the score difference values are respectively 10,20 and 30, the bigger the score difference value is, the worse the sleep quality of the user is, the score difference value month timing time has a proportional mapping relation, for example, x is the score difference value on the abscissa, y is the timing time y on the ordinate, the mapping relation is y =2x +10, thus, the extension time can be obtained, the longer the score difference is, the larger the extension time is, the longer the time length of the user delayed awakening is shown, the smaller the score difference is, the shorter the extension time is, the time length of the user delayed awakening is shown, thus, the timing time for the user to be awakened finally can be obtained by adding the extension time to the alarm time which is originally set by the user.
After the timing time is obtained, the user can be awakened according to the timing time, and the awakening of the user according to the timing time comprises the following steps: taking the timing time as alarm time; and when the alarm time is up, voice or flashing light reminding is carried out.
Specifically, the timing time is used as the alarm time, and once the alarm time is up, the user is reminded in a manner of playing a song or getting up with voice, or the user is reminded in a manner of sending a flashing light. In addition, in order to enable a user to know the schedule of a day as soon as possible, the important schedule, the birthday reminder and the important event reminder sent by the associated mobile phone or other terminals can be synchronously broadcasted.
Exemplary device
As shown in fig. 2, an embodiment of the present invention provides a timing reminding device based on electroencephalogram, including a sleep data acquisition module 401, a sleep score acquisition module 402, and a user reminding module 403:
a sleep data acquisition module 401 for acquiring sleep data of the user based on brain waves;
a sleep score obtaining module 402, configured to obtain a sleep score according to the sleep data;
and the user awakening module 403 is configured to obtain a timing time according to the sleep score, and awaken the user according to the timing time.
Based on the above embodiment, the present invention further provides an intelligent terminal, and a schematic block diagram thereof may be as shown in fig. 3. The intelligent terminal comprises a processor, a memory, a network interface, a display screen and a temperature sensor which are connected through a system bus. Wherein, the processor of the intelligent terminal is used for providing calculation and control capability. The memory of the intelligent terminal comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The network interface of the intelligent terminal is used for being connected and communicated with an external terminal through a network. The computer program is executed by a processor to implement a brain wave-based sleep wake-up method. The display screen of the intelligent terminal can be a liquid crystal display screen or an electronic ink display screen, and the temperature sensor of the intelligent terminal is arranged inside the intelligent terminal in advance and used for detecting the operating temperature of internal equipment.
It will be understood by those skilled in the art that the schematic diagram in fig. 3 is only a block diagram of a part of the structure related to the solution of the present invention, and does not constitute a limitation to the intelligent terminal to which the solution of the present invention is applied, and a specific intelligent terminal may include more or less components than those shown in the figure, or combine some components, or have different arrangements of components.
In one embodiment, an intelligent terminal is provided that includes a memory, and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors, the one or more programs including instructions for: acquiring sleep data of a user based on brain waves;
obtaining a sleep score according to the sleep data;
and obtaining timing time according to the sleep score, and awakening the user according to the timing time.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, databases, or other media used in embodiments provided herein may include non-volatile and/or volatile memory. Non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDRSDRAM), Enhanced SDRAM (ESDRAM), Synchronous Link DRAM (SLDRAM), Rambus Direct RAM (RDRAM), direct bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
In summary, the present invention discloses a sleep wake-up method, device, intelligent terminal and storage medium based on electroencephalogram, the method includes: acquiring sleep data of a user based on brain waves; obtaining a sleep score according to the sleep data; and obtaining the timing time according to the sleep score. According to the embodiment of the invention, the sleep score is obtained by analyzing the acquired sleep data of the user, the timing time is determined according to the sleep score, and the user is awakened by the timing time, so that each user can customize the reminding time according to the actual condition of the user.
Based on the above embodiments, the present invention discloses a sleep wake-up method based on electroencephalogram, it should be understood that the application of the present invention is not limited to the above examples, and it will be obvious to those skilled in the art that modifications and variations can be made in the light of the above description, and all such modifications and variations should fall within the scope of the appended claims.

Claims (6)

1. A sleep wake-up method based on electroencephalogram, which is characterized by comprising the following steps:
acquiring sleep data of a user based on brain waves;
obtaining a sleep score according to the sleep data; the sleep data comprises a sleep state of a user and sleep time corresponding to the sleep state; the sleep state of the user comprises: waking state, sleeping state, light sleep state and deep sleep state; the obtaining a sleep score according to the sleep data comprises:
mapping the sleep time corresponding to the waking state into a first sleep score according to a preset first mapping relation;
mapping the sleep time corresponding to the sleep-entering state into a second sleep score according to a preset second mapping relation;
mapping the sleep time corresponding to the light sleep state into a third sleep score according to a preset third mapping relation;
mapping the sleep time corresponding to the deep sleep state into a fourth sleep score according to a preset fourth mapping relation;
carrying out weighted summation on the first sleep score, the second sleep score, the third sleep score and the fourth sleep score to obtain sleep scores; wherein the weight of the first sleep score corresponding to the waking state, the weight of the second sleep score corresponding to the falling asleep state and the weight of the third sleep score corresponding to the light sleeping state are all smaller than the weight of the fourth sleep score corresponding to the deep sleeping state;
obtaining timing time according to the sleep score, and awakening the user according to the timing time;
wherein the obtaining the timing time according to the sleep score comprises:
when the sleep score is greater than or equal to a preset score value, setting the timing time as a first preset time;
when the sleep score is smaller than a preset score value, subtracting the sleep score from the preset score value to obtain a score difference value;
obtaining the extension time according to the mapping relation between the score difference and the time; wherein the extension time is used for representing the time length of the user delayed to wake up;
and adding the first preset time to an extension time to obtain a timing time.
2. The brain electrical based sleep wake-up method according to claim 1, wherein said deriving a timing time from said sleep score further comprises:
searching the timing time corresponding to the sleep score in a preset database; wherein, the database stores the mapping relation between the sleep scores and the timing time.
3. The electroencephalogram-based sleep wake-up method according to claim 1, wherein the waking up the user according to the timing time includes:
taking the timing time as alarm time;
and when the alarm time is up, voice or flashing light reminding is carried out.
4. A timing reminding device based on brain electricity is characterized in that the device comprises:
the sleep data acquisition module is used for acquiring sleep data of the user based on brain waves;
the sleep score acquisition module is used for acquiring a sleep score according to the sleep data; the sleep data comprises a sleep state of a user and sleep time corresponding to the sleep state; the sleep state of the user comprises: waking state, sleeping state, light sleep state and deep sleep state; the obtaining a sleep score according to the sleep data comprises:
mapping the sleep time corresponding to the waking state into a first sleep score according to a preset first mapping relation;
mapping the sleep time corresponding to the sleep-entering state into a second sleep score according to a preset second mapping relation;
mapping the sleep time corresponding to the light sleep state into a third sleep score according to a preset third mapping relation;
mapping the sleep time corresponding to the deep sleep state into a fourth sleep score according to a preset fourth mapping relation;
carrying out weighted summation on the first sleep score, the second sleep score, the third sleep score and the fourth sleep score to obtain sleep scores; wherein the weight of the first sleep score corresponding to the waking state, the weight of the second sleep score corresponding to the falling asleep state and the weight of the third sleep score corresponding to the light sleeping state are all smaller than the weight of the fourth sleep score corresponding to the deep sleeping state;
the user reminding module is used for obtaining timing time according to the sleep score and awakening the user according to the timing time;
wherein the obtaining the timing time according to the sleep score comprises:
when the sleep score is greater than or equal to a preset score value, setting the timing time as a first preset time;
when the sleep score is smaller than a preset score value, subtracting the sleep score from the preset score value to obtain a score difference value;
obtaining the extension time according to the mapping relation between the score difference and the time; wherein the extension time is used for representing the time length of the user delayed to wake up;
and adding the first preset time to an extension time to obtain a timing time.
5. An intelligent terminal comprising a memory, and one or more programs, wherein the one or more programs are stored in the memory, and wherein the one or more programs being configured to be executed by the one or more processors comprises instructions for performing the method of any of claims 1-3.
6. A non-transitory computer-readable storage medium, wherein instructions in the storage medium, when executed by a processor of an electronic device, enable the electronic device to perform the method of any of claims 1-3.
CN202111561593.5A 2021-12-20 2021-12-20 Sleep awakening method and device based on electroencephalogram, intelligent terminal and storage medium Active CN113941071B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111561593.5A CN113941071B (en) 2021-12-20 2021-12-20 Sleep awakening method and device based on electroencephalogram, intelligent terminal and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111561593.5A CN113941071B (en) 2021-12-20 2021-12-20 Sleep awakening method and device based on electroencephalogram, intelligent terminal and storage medium

Publications (2)

Publication Number Publication Date
CN113941071A CN113941071A (en) 2022-01-18
CN113941071B true CN113941071B (en) 2022-04-26

Family

ID=79339379

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111561593.5A Active CN113941071B (en) 2021-12-20 2021-12-20 Sleep awakening method and device based on electroencephalogram, intelligent terminal and storage medium

Country Status (1)

Country Link
CN (1) CN113941071B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114652327B (en) * 2022-02-11 2023-03-24 北京赋思强脑科技有限公司 Sleep planning method and system based on electroencephalogram, intelligent terminal and storage medium
CN114451900B (en) * 2022-04-11 2022-09-27 深圳市心流科技有限公司 Sleep quality determination method and system based on electroencephalogram and storage medium
CN115202231B (en) * 2022-09-14 2022-12-09 深圳市心流科技有限公司 Intelligent household appliance reservation setting method based on sleep state and terminal equipment

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201845185U (en) * 2010-10-09 2011-05-25 明高五金制品(深圳)有限公司 Watch having sleep quality monitoring function
US10636524B2 (en) * 2016-08-26 2020-04-28 TCL Research America Inc. Method and system for optimized wake-up strategy via sleeping stage prediction with recurrent neural networks
EP3457411A1 (en) * 2017-09-15 2019-03-20 Koninklijke Philips N.V. Facilitating sleep improvement for a user
CN108391010A (en) * 2018-02-28 2018-08-10 广东欧珀移动通信有限公司 Alarm clock control method and related product
CN110433384A (en) * 2019-07-24 2019-11-12 喜临门家具股份有限公司 A kind of sleep music system
CN111202516B (en) * 2020-01-19 2023-04-07 北京道贞健康科技发展有限责任公司 Method and system for judging sleep depth based on precordial brain waves of sternum

Also Published As

Publication number Publication date
CN113941071A (en) 2022-01-18

Similar Documents

Publication Publication Date Title
CN113941071B (en) Sleep awakening method and device based on electroencephalogram, intelligent terminal and storage medium
CN111558120B (en) Sleep wake-up method, device, computer equipment and computer readable storage medium
US9692874B2 (en) Adjusting alarms based on sleep onset latency
WO2019205401A1 (en) Method for intelligent adjustment of ringtone of intelligent terminal, and control method and device thereof
CN114010206B (en) Sleep plan customizing method, system and terminal based on electroencephalogram signals
US10271784B2 (en) Facilitating restful sleep using reminders
CN114511160B (en) Method, device, terminal and storage medium for predicting sleep time
US20150116117A1 (en) System and method for providing sleep recommendations
US20190213060A1 (en) Facilitating Restful Sleep Using Reminders
CN109497978A (en) Blood-pressure measurement data modification method, system and sphygmomanometer
CN111657855B (en) Sleep evaluation and sleep awakening method and device and electronic equipment
CN114306873B (en) Sleep awakening method and device, intelligent eyeshade and storage medium
CN114191684B (en) Sleep control method and device based on electroencephalogram, intelligent terminal and storage medium
CN116931738B (en) Intervention stimulation method for dynamically adjusting current intensity based on brain waves
CN109846291A (en) A kind of intelligent pillow awakening method and intelligent pillow
CN109199336A (en) A kind of sleep quality quantization method, device and equipment based on machine learning
CN117531090B (en) Processing method and system for relieving sleep aiding based on intelligent watch
CN114652327B (en) Sleep planning method and system based on electroencephalogram, intelligent terminal and storage medium
WO2022037555A1 (en) Physiological data acquisition method and apparatus, and wearable device
CN114451900B (en) Sleep quality determination method and system based on electroencephalogram and storage medium
CN111163219A (en) Alarm clock processing method and device, storage medium and terminal
CN112764343A (en) Control method and device of smart watch, smart watch and storage medium
CN113542496B (en) Mobile terminal intelligent alarm clock processing method and device, mobile terminal and storage medium
JPWO2019116830A1 (en) Cognitive decline judgment system
CN110461032A (en) A kind of electricity-saving control method and device of mobile terminal

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