Sleep aid method, device, system, computer equipment and storage medium

By collecting user EEG data to determine the sleep stage and combining audio and low-frequency pulse technology, the problem of poor effect of the existing sleep aid system has been solved, significantly improving the sleep aid effect.

CN114053549BActive Publication Date: 2025-03-21XIAN SENYUE ELECTRONIC TECHNOLOGY CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202010750310.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-07-30
Publication Date
2025-03-21
Estimated Expiration
2040-07-30

AI Technical Summary

Technical Problem

The existing sleep aid system is difficult to effectively promote users to enter sleep by playing music, especially for users with severe insomnia.

Method used

By collecting the user's EEG data, the user's sleep stage is judged, and the preset audio file is played based on the sleep stage and the preset low-frequency pulses are output to help the user fall asleep.

Benefits of technology

Through the analysis of EEG data and targeted adjustment of audio and low-frequency pulses, the sleep aid effect is significantly improved, especially for users with severe insomnia.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114053549B_ABST
    Figure CN114053549B_ABST
Patent Text Reader

Abstract

The present application relates to a sleep-aiding method, device, system, computer equipment and storage medium. The method comprises: collecting the user's EEG data; judging the user's sleep stage based on the EEG data; playing a preset audio file based on the user's sleep stage and outputting a preset low-frequency pulse to the user. The above-mentioned sleep-aiding method, device, system, computer equipment and storage medium help the user fall asleep by collecting the user's EEG data; judging the user's sleep stage based on the EEG data; playing a preset audio file based on the user's sleep stage and outputting a preset low-frequency pulse to the user. It not only obtains the user's sleep state through the analysis of the EEG data, but also provides sleep-aiding according to the sleep state in a targeted manner, and integrates the two technical means of music and low-frequency pulses to provide sleep-aiding, thereby improving the sleep-aiding effect.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of automatic control technology, and in particular to a sleep aid method, device, system, computer equipment and storage medium. Background Art

[0002] As the pace of society accelerates, negative emotions such as work pressure and life pressure have accumulated for a long time, causing more and more people to have sleep disorders. Long-term insomnia will not only lead to inattention, decreased memory and thinking ability, and immune dysfunction, but also lead to depression and mental disorders. Effective sleep aids can guide users to fall asleep and promote physical and mental health.

[0003] Most existing sleep-aid systems induce users to fall asleep by playing sleep-aid music. However, in actual applications, it is difficult to effectively help users fall asleep simply by playing music, especially for users with severe insomnia. Summary of the invention

[0004] Based on this, it is necessary to provide a sleep aid method, device, system, computer equipment and storage medium to address the technical problem that the existing sleep aid system only helps sleep by playing music and the sleep aid effect is poor.

[0005] A method for aiding sleep, comprising:

[0006] Collect the user's EEG data;

[0007] Determining the user's sleep stage based on the EEG data;

[0008] A preset audio file is played based on the sleep stage of the user and a preset low-frequency pulse is output to the user.

[0009] In one embodiment, the audio is isochronous audio.

[0010] In one embodiment, playing a preset audio file based on the sleep stage of the user and outputting a preset low-frequency pulse to the user comprises:

[0011] Playing an audio file of a preset frequency band based on the sleep stage of the user;

[0012] If it is detected that the user enters a preset sleep stage after playing the preset audio file of the preset band, continue to play the audio file corresponding to the sleep stage;

[0013] If it is detected that the user has not entered the preset sleep stage after playing the preset audio file of the preset band, the audio file corresponding to the sleep stage continues to be played and a low-frequency pulse of a voltage corresponding to the sleep stage is output to the user.

[0014] In one embodiment, playing a preset audio file based on the sleep stage of the user and outputting a preset low-frequency pulse to the user comprises:

[0015] Playing an audio file of a preset band based on the sleep stage of the user, and outputting a preset low-frequency pulse based on the sleep stage of the user;

[0016] If it is detected that the user enters a preset sleep stage after playing the preset audio file of the preset band and outputting the preset low-frequency pulse, the audio file corresponding to the sleep stage continues to be played and the preset low-frequency pulse corresponding to the sleep stage is output.

[0017] In one of the embodiments, the preset audio file is provided with a corresponding playing volume and / or playing duration based on the sleep stage of the user;

[0018] The preset low-frequency pulse is provided with preset parameters based on the sleep stage of the user, and the preset parameters include at least one of power, waveform, pulse width and duty cycle.

[0019] A sleeping aid device, comprising:

[0020] A collection module, used to collect the user's EEG data;

[0021] A determination module, used for determining the sleep stage of the user based on the EEG data;

[0022] The sleep aid module is used to play a preset audio file based on the user's sleep stage and output preset low-frequency pulses to the user.

[0023] A sleep aid system, comprising:

[0024] An EEG acquisition device, used to collect the user's EEG data and transmit the EEG data to the control device;

[0025] A control device, for determining the sleep stage of the user based on the EEG data, generating a control instruction according to the sleep stage, and transmitting the control instruction to the audio playback device and the pulse generating device;

[0026] An audio playing device, used for playing a preset audio file corresponding to the sleep stage based on the control instruction;

[0027] A pulse generating device is used to output low-frequency pulses corresponding to the sleep stage based on the control instruction.

[0028] In one embodiment, the pulse generating device comprises:

[0029] A main control circuit, connected to the control device, for generating low-frequency pulses of corresponding parameters based on the control instructions, and transmitting the low-frequency pulses to the pulse output circuit;

[0030] A pulse output circuit, comprising an operational amplifier circuit and an output circuit, wherein the operational amplifier circuit is used to amplify the low-frequency pulse and output it to the output circuit, and the output circuit is used to output the amplified low-frequency pulse to a user;

[0031] The output circuit is connected to the main control circuit, and the main control circuit is also used to adjust the parameters of the low-frequency pulse output by the output circuit.

[0032] A computer device comprises a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the following steps are implemented:

[0033] Collect the user's EEG data;

[0034] Determining the user's sleep stage based on the EEG data;

[0035] A preset audio file is played based on the sleep stage of the user and a preset low-frequency pulse is output to the user.

[0036] A computer-readable storage medium stores a computer program, which, when executed by a processor, implements the following steps:

[0037] Collect the user's EEG data;

[0038] Determining the user's sleep stage based on the EEG data;

[0039] A preset audio file is played based on the sleep stage of the user and a preset low-frequency pulse is output to the user.

[0040] The above-mentioned sleep-aiding method, device, system, computer equipment and storage medium collect the user's EEG data; determine the user's sleep stage based on the EEG data; play a preset audio file based on the user's sleep stage and output preset low-frequency pulses to the user to help the user fall asleep. It not only obtains the user's sleep state through analysis of the EEG data and provides sleep-aiding services based on the user's sleep state, but also integrates the two technical means of music and low-frequency pulses to provide sleep-aiding services, thereby improving the sleep-aiding effect. BRIEF DESCRIPTION OF THE DRAWINGS

[0041] Figure 1 It is a schematic diagram of a sleep aid method according to an embodiment of the present invention;

[0042] Figure 2 A schematic diagram of a sleep aid system corresponding to a sleep aid method according to an embodiment of the present invention;

[0043] Figure 3 It is a flowchart of a sleep aid method according to another embodiment of the present invention;

[0044] Figure 4 It is a flowchart of a sleep aid method according to another embodiment of the present invention;

[0045] Figure 5 This is a structural schematic diagram of a low-frequency pulse module of a sleep aid method according to an embodiment of the present invention;

[0046] Figure 6 A schematic diagram of a process of playing a preset audio file in a sleep aid method according to an embodiment of the present invention;

[0047] Figure 7 A schematic diagram of an application scenario of a sleep aid method according to an embodiment of the present invention;

[0048] Figure 8 is a structural block diagram of a sleep aid device according to an embodiment of the present invention;

[0049] Fig. 9 is a schematic diagram of a sleep aid system according to an embodiment of the present invention;

[0050] Fig.10 It is a structural schematic diagram of a pulse generating device of a sleep aid system according to an embodiment of the present invention;

[0051] Fig.11 FIG. 4 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION

[0052] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0053] In one embodiment, Figure 1 As shown, a sleep aid method is provided. This embodiment uses the method applied to a terminal as an example. It can be understood that the method can also be applied to a server, and can also be applied to a system including a terminal and a server, and is implemented through the interaction between the terminal and the server. In this embodiment, the method includes the following steps:

[0054] Step 100: Collect the user's EEG data.

[0055] It can be understood that the user's EEG data can reflect the user's current state.

[0056] The traditional EEG acquisition and processing system includes input, amplification, filtering, analysis and other components. So far, there are mainly the following types of human EEG signal acquisition and processing.

[0057] Clinically, magnetic resonance imaging (MRI), positron emission tomography (PET) and clinical electroencephalography (EEG) are considered to be stable and reliable technologies for detecting human brain wave signals. The principle of MRI technology is to use the resonance of hydrogen nuclei in the cells of human tissues and organs under the action of a magnetic field, record the resonance trajectory and reconstruct the data. When brain nerve cells are stimulated, the blood supply to the corresponding brain area changes, and the magnetic susceptibility of the area changes, thereby obtaining the activity of regional brain neurons. The principle of PET technology is to obtain the distribution concentration of radionuclides in the cross-section of human tissues by examining the high-energy photons generated by the collision of radionuclides and electrons, but in essence it is a detection of tissue metabolic processes. EEG technology obtains electroencephalographic images based on the principle of electromagnetics. It determines whether neurons are active normally through changes in the magnetic and electric fields generated by the activity of neurons in the head, and also obtains the activity location and intensity of neurons.

[0058] Electroencephalogram (EEG) is a modern auxiliary examination method that uses an electroencephalogram recorder to amplify the weak bioelectricity of the brain into a curve to help diagnose diseases. In clinical applications, the earlobe, nose tip or mastoid is generally used as the zero potential point on the body. The potential difference between the electrode placed at this point and the electrodes at other parts of the scalp is the recorded EEG signal.

[0059] Step 110: determine the user's sleep stage based on the EEG data.

[0060] For example, in each sleep stage of a person, the EEG signal has different rules, so the result of judging the sleep stage of the user can be obtained from the EEG data of the user.

[0061] Step 120 , playing a preset audio file based on the user's sleep stage and outputting a preset low-frequency pulse to the user.

[0062] It is understandable that playing the preset audio file and outputting the preset low-frequency pulse to the user can be performed simultaneously or sequentially, and different modes can be selected according to actual conditions. For example, the application position of the low-frequency pulse signal can be selected from specific acupuncture points on the user's brain to achieve a better sleep-aiding effect.

[0063] The above-mentioned sleep-aiding method collects the user's EEG data; determines the user's sleep stage based on the EEG data; plays a preset audio file based on the user's sleep stage and outputs preset low-frequency pulses to the user to help the user fall asleep. It not only obtains the user's sleep state through analysis of the EEG data, and provides sleep assistance based on the sleep state, but also integrates the two technical means of music and low-frequency pulses to provide sleep assistance, thereby improving the sleep-aiding effect.

[0064] In one embodiment, collecting the user's EEG data includes collecting the user's EEG signals; performing signal processing on the EEG signals to obtain EEG data, and the signal processing includes at least one of amplification, filtering, coupling, notching, and AD conversion.

[0065] In one embodiment, determining the sleep stage of the user based on the EEG data includes: determining the sleep stage of the user based on at least one feature of the amplitude, frequency, and waveform of the EEG data. Preferably, determining the sleep stage of the user based on the amplitude, frequency, and characteristic waveform of the EEG data at the same time.

[0066] In one of the embodiments, playing a preset audio file based on the user's sleep stage and outputting preset low-frequency pulses to the user includes playing an audio file of a preset band based on the user's sleep stage; if it is detected that the user enters a preset sleep stage after playing the preset audio file of the preset band, continuing to play the audio file corresponding to the sleep stage; if it is detected that the user does not enter the preset sleep stage after playing the preset audio file of the preset band, continuing to play the audio file corresponding to the sleep stage and outputting low-frequency pulses of a voltage corresponding to the sleep stage to the user.

[0067] In one embodiment, playing a preset audio file based on the user's sleep stage and outputting a preset low-frequency pulse to the user also includes that the sleep stage includes the awake stage, the light sleep stage and the deep sleep stage; if the user is in the deep sleep stage, then stop playing the audio file and stop outputting the low-frequency pulse to the user. It is understandable that if the user enters deep sleep after receiving sleep assistance, that is, enters the N3 stage or REM stage of sleep, then no more sleep assistance is needed, and the audio file can be kept playing and the low-frequency pulse output can be stopped after a preset period of time, or it can be stopped immediately.

[0068] In one embodiment, outputting a preset low-frequency pulse to the user also includes detecting the temperature of the low-frequency pulse output location; if the temperature exceeds a preset threshold, the power of the low-frequency pulse is reduced. It can be understood that this is used to prevent the safety hazard to the user caused by local overheating during the low-frequency pulse electrical stimulation process.

[0069] In one embodiment, playing a preset audio file and outputting preset low-frequency pulses to the user based on the user's sleep stage also includes playing an audio file with a preset audio frequency, volume and duration based on the user's sleep stage and outputting a low-frequency pulse with a preset power, waveform, pulse width and duty cycle to the user.

[0070] Understandably, the EEG waveforms vary greatly when the brain is in different conditions (such as excitement, drowsiness, sleep, etc.). EEG waveforms can be divided into four basic types based on their frequency.

[0071] Delta wave: The frequency is 0.5 to 3.5 times per second, and the amplitude is 20 to 200 μv. Normal adults have almost no delta waves when awake, but delta waves may appear during sleep. It is generally believed that high-amplitude slow waves (delta waves or theta waves) may be the main manifestation of electrical activity when the cerebral cortex is in an inhibited state.

[0072] Theta wave: The frequency is 4 to 7 times per second, and the amplitude is 20 to 150 μv. Theta waves can appear when adults are sleepy. In early childhood, theta waves are commonly seen, and clear alpha waves appear after the age of ten.

[0073] α wave: The frequency is 8 to 13 times per second, and the amplitude is 20 to 100 μv. When a normal person is awake, quiet, and has their eyes closed, α waves can appear, and their amplitude changes from small to large, and then from large to small, and this repeated periodic change forms the "shuttle shape" of the α wave. Each α wave shuttle lasts about 1 to 2 seconds. When the subject opens his eyes or receives other exciting stimuli (such as mental arithmetic), the α wave disappears immediately and turns into a fast wave, which is called "α wave blocking". Therefore, it is believed that α waves are the main manifestation of electrical activity in the cerebral cortex when it is awake and quiet. Factors such as the frequency, amplitude, and spatial distribution of α waves are important indicators reflecting the functional state of the brain.

[0074] Beta waves: The frequency is 14 to 30 times per second, and the amplitude is 5 to 20 μv. Beta waves can appear when the subject opens his eyes to see things and thinks. It is generally believed that beta waves are the main manifestation of electrical activity when the cerebral cortex is in a tense and excited state.

[0075] During sleep, the EEG undergoes various changes, which vary with the depth of sleep. According to the different characteristics of the EEG, sleep can be divided into two states: non-rapid eye movement sleep (NREM sleep) and rapid eye movement sleep (REM sleep).

[0076] In the non-rapid eye movement sleep stage, the muscles of the whole body relax, there is no eye movement, and the visceral parasympathetic nerve activity is dominant. The heart rate and breathing slow down, the blood pressure decreases, the gastrointestinal motility increases, the basal metabolic rate is low, the brain temperature is slightly lower than when awake, and the total blood flow of the brain is reduced compared to when awake. Non-rapid eye movement sleep is divided into four stages according to its EEG characteristics, namely, the falling asleep stage, the light sleep stage, the moderate sleep stage, and the deep sleep stage. In the first stage of EEG, the waves are mainly θ waves, and there are no spindle waves or K complex waves. In fact, it is a transition stage from full wakefulness to sleep. The response to external stimuli is weakened, mental activities enter a floating state, and thinking is disconnected from reality; in the second stage, the brain waves are spindle waves and K complex waves, and the δ waves are less than 20%. In fact, people have entered real sleep; in the third stage, the δ waves in the brain waves account for 20% to 50%, which is a moderate deep sleep; in the fourth stage, the δ waves in the brain waves account for more than 50%, entering a deep sleep state, during which people are not easily awakened. Stages 3 to 4 of sleep are generally deep sleep, when the threshold for awakening is the highest.

[0077] During the rapid eye movement sleep stage, mixed-frequency desynchronized low-amplitude brain waves appear. Rapid eye movement, facial and limb muscles have many paroxysmal small twitches, sometimes there may be sucking movements of the lips, short sounds from the throat, athetosis, highly unstable visceral activity, irregular breathing, frequent changes in heart rate, increased gastric acid secretion, increased cerebral blood flow and metabolism, increased discharge activity of brain neurons in most areas, increased brain tissue temperature, and significantly increased brain oxygen consumption compared to wakefulness. The awakening threshold during rapid eye movement sleep is higher than that of NREM stage 1 sleep, and is between NREM stage 2 and 3 sleep.

[0078] During a full night of sleep, REM sleep and NREM sleep alternate for about 90 to 100 minutes, and this cycle of change is called a sleep cycle. Normal people first enter the NREM sleep period, and quickly enter the 2nd, 3rd, and 4th stages from stage 1 and continue. After 80-120 minutes of NREM sleep, the first REM sleep appears, and after a few minutes, the next NREM sleep enters, forming a cycle of NREM sleep and REM sleep. On average, REM sleep occurs every 90 minutes, and the closer to the end of sleep, the longer the duration of REM sleep gradually increases. Each time can last for 10-30 minutes. During the entire sleep period, this NREM-REM sleep cycle repeats 3-5 times. The stages of each cycle may not be complete, but they all start from stage 1. In the early morning, the depth of sleep in each cycle becomes shallower and no longer reaches stage 4. From the cyclic conversion of NREM sleep and REM sleep, it can be seen that the sleep process does not go from shallow to deep as soon as you fall asleep and continue until dawn, but deep and shallow, and deep and shallow sleep alternate continuously.

[0079] In addition to the study of sleep patterns, studies on some neurotransmitters and chemicals in the brain have found that: neurotransmitters in the brain, such as endogenous morphines (or endorphins), 5-HT (5-hydroxytryptamine), γ-aminobutyric acid (GABA), etc. have a calming and relaxing effect, which can restore a relaxed and pleasant healthy environment inside the brain; excitatory substances released by neurons, such as dopamine, acetylcholine, serotonin, etc. in the brain, can improve symptoms such as daytime mental fatigue, decreased attention, and decreased thinking caused by insomnia; stress hormones in the brain, including adrenaline (ADR), norepinephrine (NE), glucocorticoids (cortisol, corticosterone), angiotensin I (Aug positive), etc., can cause the brain to be in a state of tension and excitement, with phenomena such as increased heart rate and vasoconstriction.

[0080] According to the above rules, we can find that when a person is in deep sleep, the duration of NREM3 and 4 is longer, while the duration of REM is shorter. In addition, when the components in the brain that promote calmness and pleasure increase, and the components that make people feel nervous and excited are suppressed, the brain can get a good rest and is more conducive to deep sleep. The treatment of insomnia is basically based on this sleep principle.

[0081] Normal people experience several relatively stable states during sleep throughout the night. To better describe sleep, Rechtschaffen and Kales divided sleep into six stages (i.e., the R&K criteria) based on the performance of electroencephalogram (EEG), electrooculogram (EOG), and electromyography (EMG) during sleep: wakefulness (W), rapid eye movement (REM), and four non-rapid eye movement (NREM) sleep stages. NREM is further divided into sleep stage 1 (S1), sleep stage 2 (S2), sleep stage 3 (S3), and sleep stage 4 (S4). Sleep stages 1 and 2 are light sleep (LS), and sleep stages 3 and 4 are deep sleep (also called slow wave sleep (SWS)). At present, the R&K sleep staging standard revised by the American Academy of Sleep Medicine (AASM) in 2007 is widely used internationally. It combines the S3 and S4 stages in the R&K criteria into one stage, and uses W, R, N1, N2, and N3 to represent the wakefulness period, rapid eye movement sleep period, light sleep stage 1, light sleep stage 2, and deep sleep period, respectively.

[0082] During sleep, NREM and REM alternate, forming 4-6 NREM-REM sleep cycles, each lasting 90-120 minutes. During normal adult sleep, the sleep phases appear regularly in sequence, from W-N1-N2-N3-N2-REM, then repeating N2-N3-N2-REM, and so on, interconnected and repeating over and over again. The REM phase lasts about 100 minutes, accounting for 20%-25% of the total sleep time.

[0083] Exemplarily, sleep is divided into the following five stages: W stage (wakefulness), N1 stage (NREM1), N2 stage (NREM2), N3 stage (NREM3), REM stage. Among them, N1 and N2 belong to light sleep, N3 belongs to deep sleep, and REM stage also belongs to deep sleep, which is conducive to establishing new synaptic connections, promoting learning and memory activities and even the formation of innovative thinking, promoting the normal development of the nervous system, maintaining normal functions and repairing injuries. Dreams generally appear in this stage. Please refer to Table 1, which shows the characteristics of EEG signals in each sleep stage.

[0084] Table 1 EEG signal characteristics of each sleep stage

[0085]

[0086] See also Figure 2 , Figure 2 The figure is a schematic diagram of a sleep aid system corresponding to the sleep aid method of an embodiment of the present invention. Exemplarily, the sleep aid system includes an EEG acquisition module 210, a central control module 200, an audio module 230 and a low-frequency pulse module 220, wherein the central control module 200 includes a data processing unit and a control unit. Specifically, the EEG acquisition module 210 is used to collect the user's EEG data and input it into the data processing unit. The data processing unit determines the user's sleep stage based on the received EEG data. The control unit controls the audio module 230 to play the corresponding audio file based on the preset correspondence between the sleep stage and the audio information. The control unit controls the low-frequency pulse module 220 to work based on the preset correspondence between the sleep stage and the output signal parameters of the low-frequency pulse module 220.

[0087] It can be understood that collecting the user's EEG data includes collecting the user's EEG signal; performing signal processing on the EEG signal to obtain EEG data, and the signal processing includes at least one of amplification, filtering, coupling, notching and AD conversion. Specifically, the EEG acquisition module 210 includes at least one EEG acquisition channel. The specific form of the EEG acquisition module 210 is not limited here, but in order to facilitate the user to wear it to sleep, a portable acquisition device for collecting forehead EEG is often used. Its working principle is: after the user's EEG signal is collected by the EEG acquisition electrode, after passing through its internal parallel differential amplifier circuit and filtering circuit, the analog signal is amplified, and the amplified signal is filtered, coupled, notched and other series of processing by the EEG signal processing module, and finally the processed signal is transmitted to the AD conversion module. The AD conversion module converts different EEG signals into digital signals and transmits them to the main controller in the EEG acquisition module 210. The main controller sends the received EEG digital signal to the central control module 200 through wireless transmission according to a fixed transmission protocol and data format.

[0088] In another embodiment, determining the user's sleep stage based on EEG data includes: determining the user's sleep stage based on at least one feature of the amplitude, frequency, and waveform of the EEG data. Preferably, the user's sleep stage is determined based on the amplitude, frequency, and characteristic waveform of the EEG data at the same time.

[0089] In another embodiment, playing a preset audio file based on the user's sleep stage and outputting a preset low-frequency pulse to the user includes playing an audio file of a preset band based on the user's sleep stage; if it is detected that the user enters a preset sleep stage after playing the preset audio file of the preset band, then continuing to play the audio file corresponding to the sleep stage; if it is detected that the user does not enter the preset sleep stage after playing the preset audio file of the preset band, then continuing to play the audio file corresponding to the sleep stage and outputting a low-frequency pulse of a voltage corresponding to the sleep stage to the user. Figure 3 , Figure 3 It is a flow chart of a sleep aid method according to another embodiment of the present invention. Exemplarily, if the user has entered the N3 or REM sleep stage, no sleep aid is provided; if the user has not entered the N3 or REM sleep stage, a preset audio file corresponding to the sleep stage is played, and if the sleep aid achieves the preset effect after playing for a preset time, the corresponding preset audio file continues to be played, and if the preset sleep aid effect is not achieved, a preset low-frequency pulse is output to the user. It is understandable that the preset sleep aid effect here can be set in advance by the user. For example, it can be set that if the user is originally in the N1 stage, the user enters the N2 stage after playing the preset audio file for a period of time, then the preset effect is achieved. The specific setting method can be determined according to the actual situation and is not limited here.

[0090] See also Figure 4 , Figure 4FIG. 1 is a flow chart of a sleep aid method according to another embodiment of the present invention. In this embodiment, if it is detected that the user needs sleep aid, a preset audio file is played simultaneously and a preset low-frequency pulse is output to the user.

[0091] In another embodiment, playing a preset audio file based on the user's sleep stage and outputting a preset low-frequency pulse to the user also includes the sleep stage including the awake stage, the light sleep stage and the deep sleep stage; if the user is in the deep sleep stage, stop playing the audio file and stop outputting the low-frequency pulse to the user. It can be understood that if the user enters a deep sleep after receiving sleep assistance, that is, enters the N3 or REM sleep stage, then there is no need for sleep assistance, and the audio file can be kept playing and the low-frequency pulse output can be stopped after a preset period of time, or it can be stopped immediately. Specifically, the awake stage is the W sleep stage, the light sleep stage is the N1 and N2 sleep stages, and the deep sleep stage is the N3 and REM sleep stages.

[0092] See also Figure 5 , Figure 5 The structure diagram of the low-frequency pulse module 220 of the sleep aid method according to an embodiment of the present invention is shown. Specifically, the low-frequency pulse module 220 is connected to the central control module 200 via wireless communication, and the low-frequency pulse module 220 includes a low-frequency pulse output unit 224, a low-frequency signal driving circuit unit 223, a main controller 222, a wireless receiving unit 221, and a power supply. Among them, the power supply is divided into a driving power supply 226 and a working power supply 225, wherein the driving power supply 226 is used to power the low-frequency signal driving circuit unit 223, and the working power supply 225 is used to power the main controller 222. The power supply adopts a rechargeable battery, which is convenient to carry and has a charge and discharge protection function.

[0093] For example, in the entire control system, the low-frequency pulse module 220 receives the instruction of the central control module 200 to start the low-frequency pulse signal output through the wireless receiving unit 221, analyzes the instruction data, drives the low-frequency signal output according to the data protocol, and uploads the characteristics and parameters of the output signal to the central control module 200 through wireless transmission. In this embodiment, the low-frequency pulse output module can be in the form of ear clips, and the two ear clips are respectively added to the two ears of the user. In other embodiments, the low-frequency pulse module 220 can be in other ways, such as electrodes applied to specific acupuncture points on the user's brain, etc., as long as the effect of applying low-frequency pulses to the user is achieved.

[0094] In another embodiment, outputting a preset low-frequency pulse to the user also includes detecting the temperature of the low-frequency pulse output position; if the temperature exceeds a preset threshold, the power of the low-frequency pulse is reduced. Specifically, the low-frequency pulse output unit 224 is also provided with a temperature sensor to prevent the safety hazard to the user caused by local overheating during the low-frequency pulse electrical stimulation. The detected temperature of the temperature sensor is transmitted to the central control module 200 via the main controller 222. When the detected temperature exceeds the preset threshold, the central control module 200 controls the low-frequency pulse module 220 to reduce the output power. The priority of this control is higher than the priority of regulating the signal parameters of the low-frequency pulse module 220 based on the sleep stage.

[0095] In another embodiment, based on the user's sleep stage, playing a preset audio file and outputting a preset low-frequency pulse to the user further includes playing an audio file with a preset audio frequency, playback volume, and playback duration, and outputting a low-frequency pulse with a preset power, waveform, pulse width, and duty cycle to the user based on the user's sleep stage. Figure 6 , Figure 6 The figure is a flowchart of playing a preset audio file in a sleep aid method according to an embodiment of the present invention. It can be understood that the audio module 230 is in communication with the central control module 200, and the audio module 230 is provided with one or more audio file libraries, each of which includes at least one audio file, and each audio file library has a preset corresponding relationship with the sleep stage. Exemplarily, the audio module 230 can be integrated with the central control module 200 in a computer device or a mobile terminal, for example, it can be embedded in a handheld device with an operating system such as a tablet computer / mobile phone, and is integrated with the entire system. Specifically, the central control module 200 controls the audio module 230 to play the audio file matching the result according to the result of sleep staging. The audio module 230 stores isochronous audio files with playing frequency bands of α band, θ band and δ band respectively. When the user is in the W stage of sleep, the central control module 200 controls the audio module 230 to play the isochronous audio file of α band; when the user enters the N1 stage of sleep, the central control module 200 controls the audio module 230 to play the isochronous audio file of θ band and reduces the volume by 50%; when the user enters the N2 stage of sleep, the central control module 200 controls the audio module 230 to play the isochronous audio file of δ band and reduces the volume by 50%; when the user enters the N3 stage or REM stage of sleep, the audio file is stopped after playing for a period of time or stopped immediately. It can be understood that isochronous audio, also known as rhythm transmission audio, achieves the effect of brain pulse transmission through audio transmission. Compared with the pulsation of both ears, isochronous audio can achieve good results directly through audio external playback without the help of headphones. In other embodiments, audio files of other bands may be added as long as they have a sleep-inducing effect.

[0096] Exemplarily, according to the sleep staging result, the central control module 200 controls the low-frequency pulse module 220 to generate a matching sleep-aiding low-frequency pulse signal, mainly outputting a 0.5HZ pulse low-frequency signal, and outputting different pulse voltage signals for different sleep states. There are a total of 5 different signal voltage levels corresponding to different sleep stages, and the low-frequency pulse output voltage corresponding to the W stage to the REM stage decreases in sequence. The following is an exemplary corresponding relationship:

[0097] W phase: 13-15V;

[0098] N1 stage: 10-13V;

[0099] N2 stage: 6-10V;

[0100] N3 or REM stage: 0-6V. When in N3 or REM stage, the low-frequency pulse module 220 automatically stops working after a preset period of time.

[0101] In other embodiments, the power, waveform, pulse width and duty cycle of the low-frequency pulse can be adjusted according to actual conditions, as long as the sleep-aiding effect is achieved.

[0102] See also Figure 7 , Figure 7 The figure is a schematic diagram of an application scenario of a sleep aid method according to an embodiment of the present invention. Specifically, the EEG acquisition module 210 (EEG acquisition) is fixed on the forehead of the user, and the collected EEG signal is transmitted to the central control module 200 provided in a computer or mobile terminal through wireless transmission after AD conversion. The data processing unit in the central control module 200 obtains the current sleep stage of the user after further processing, and the control unit controls the audio module 230 and the low-frequency pulse module 220 to assist sleep based on the sleep stage.

[0103] It should be understood that although Figure 1 The steps in the flowchart are shown in sequence as indicated by the arrows, but these steps are not necessarily executed in the order indicated by the arrows. Unless otherwise specified in this document, there is no strict order restriction for the execution of these steps, and these steps can be executed in other orders. Moreover, Figure 1 At least part of the steps may include multiple steps or multiple stages. These steps or stages are not necessarily performed at the same time, but can be performed at different times. The execution order of these steps or stages is not necessarily sequential, but can be performed in turn or alternately with other steps or at least part of the steps or stages in other steps.

[0104] In one embodiment, Figure 8As shown, a sleep aid device is provided, including: a collection module 800, a judgment module 810 and a sleep aid module 820, wherein:

[0105] The acquisition module 800 is used to acquire the user's EEG data.

[0106] The acquisition module 800 is also used for:

[0107] Collecting the user's EEG signals;

[0108] The electroencephalogram signal is processed to obtain electroencephalogram data, and the signal processing includes at least one of amplification, filtering, coupling, notching and AD conversion.

[0109] The determination module 810 is used to determine the user's sleep stage based on the EEG data.

[0110] The determination module 810 is further used to determine the user's sleep stage based on at least one feature of the amplitude, frequency and waveform of the EEG data.

[0111] The sleep aid module 820 is used to play a preset audio file based on the user's sleep stage and output preset low-frequency pulses to the user.

[0112] The sleep aid module 820 is also used for:

[0113] Playing audio files with preset bands based on the user's sleep stage;

[0114] If it is detected that the user has entered a preset sleep stage after playing a preset audio file of a preset band, the audio file corresponding to the sleep stage continues to be played;

[0115] If it is detected that the user has not entered the preset sleep stage after playing the preset audio file of the preset band, the audio file corresponding to the sleep stage continues to be played and a low-frequency pulse of a voltage corresponding to the sleep stage is output to the user.

[0116] The sleep aid module 820 is also used for: the sleep stage includes the awake stage, the light sleep stage and the deep sleep stage;

[0117] If the user is in a deep sleep stage, the audio file is stopped from playing and the output of low-frequency pulses to the user is stopped.

[0118] The sleep aid module 820 is also used for:

[0119] Detect the temperature at the low-frequency pulse output location;

[0120] If the temperature exceeds a preset threshold, the power of the low-frequency pulses is reduced.

[0121] The sleep aid module 820 is also used to play an audio file with a preset audio frequency, volume and duration based on the user's sleep stage, and output a low-frequency pulse with a preset power, waveform, pulse width and duty cycle to the user.

[0122] For the specific definition of the sleep aid device, please refer to the definition of the sleep aid method above, which will not be repeated here. Each module in the above sleep aid device can be implemented in whole or in part by software, hardware and a combination thereof. The above modules can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory of the computer device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.

[0123] See also Fig. 9 , Fig. 9 FIG. 4 is a schematic diagram of a sleep aid system according to an embodiment of the present invention.

[0124] In this embodiment, the sleep aid system includes:

[0125] The EEG acquisition device 10 is used to collect the EEG data of the user and transmit the EEG data to the control device 20;

[0126] The control device 20 is used to determine the sleep stage of the user based on the EEG data, generate control instructions according to the sleep stage, and transmit the control instructions to the audio playback device 30 and the pulse generating device 40;

[0127] The audio playing device 40 is used to play a preset audio file corresponding to the sleep stage based on the control instruction;

[0128] The pulse generating device 30 is used to output low-frequency pulses corresponding to the sleep stage based on the control instruction.

[0129] See also Fig.10 , Fig.10 Schematic diagram of the structure of the pulse generating device 30 of the sleep aid system according to an embodiment of the present invention. In this embodiment, the pulse generating device 30 includes a main control circuit 32, which is connected to the control device 20 and is used to generate low-frequency pulses of corresponding parameters based on control instructions and transmit the low-frequency pulses to the pulse output circuit 34; the pulse output circuit 34 is used to amplify the low-frequency pulses and output them to the user.

[0130] Exemplarily, the pulse generating device 30 further includes: a receiving circuit 31 for receiving control instructions from the control device 20; a main control circuit 32 connected to the receiving circuit 31 for generating low-frequency pulses of corresponding parameters based on the control instructions, and transmitting the low-frequency pulses to the pulse output circuit 34; and a pulse output circuit 34 for amplifying the low-frequency pulses and outputting them to the user. It can be understood that the receiving circuit 31 can receive the control instructions through electrical connection or wireless connection. Exemplarily, the main control circuit 32 can be a control chip such as a single-chip microcomputer. In this embodiment, the pulse generating device 30 can be in the form of an ear clip, and the two ear clips are respectively clamped on the earlobes of the two ears of the user. In other embodiments, the pulse generating device 30 can be in other ways, such as electrodes applied to specific acupuncture points on the user's brain, etc., as long as the effect of applying low-frequency pulses to the user is achieved.

[0131] In another embodiment, based on the above embodiment, the pulse output circuit 34 further includes: an operational amplifier circuit, connected to the main control circuit 32, for amplifying the low-frequency pulse to a preset voltage amplitude and outputting it to the output circuit; an output circuit, connected to the operational amplifier circuit, for outputting the amplified low-frequency pulse to the user. Specifically, the operational amplifier circuit mainly performs operational amplification of the voltage amplitude of the low-frequency pulse. The operational amplifier circuit amplifies the voltage amplitude of the low-frequency signal on the basis of ensuring a constant current (output current is less than 600uA). In a specific embodiment, the input voltage amplitude of the operational amplifier circuit is 0-3.3V, and the output voltage amplitude is 5-12V.

[0132] In another embodiment, the output circuit is also connected to the main control circuit 32, and the main control circuit 32 adjusts the parameters of the low-frequency pulse output by the output circuit. Specifically, the parameters of the low-frequency pulse include but are not limited to at least one of frequency, pulse width and duty cycle. It can be understood that in order to further regulate the pulse width, frequency, duty cycle and other parameters of the output low-frequency pulse, the output circuit is also connected to the main control circuit 32, and the main control circuit 32 performs output control on the output circuit. The frequency, pulse width, duty cycle and other parameters of the pulse signal output by the operational amplifier circuit can be further adjusted by adjusting the switching frequency, thereby expanding the regulation range and outputting a plurality of pulse signals with different frequencies.

[0133] In another embodiment, on the basis of the above embodiment, the pulse generating device 30 further includes a boost power supply 35, which is connected between the main control circuit 32 and the pulse output circuit 34, and is used to power the pulse output circuit 34 based on the control of the main control circuit 32 to amplify the low-frequency pulse. Specifically, the main controller triggers the boost power supply 35 through the pulse mode, and the output voltage value is adjusted by the pulse mode. The boost power supply 35 supplies power to the operational amplifier circuit through a DC4V power supply to control its amplification amplitude. In this technical solution, the output end of the boost power supply 35 is connected to a constant current voltage regulator tube, which has the characteristics of low forward voltage drop and short reverse recovery time, thereby ensuring the stability of the output voltage.

[0134] In another embodiment, on the basis of the above embodiment, the pulse generating device 30 further includes a signal processing circuit 33, which is connected between the main control circuit 32 and the pulse output circuit 34, and is used for signal processing such as amplification, voltage division, and reference adjustment of the low-frequency pulse generated by the main control circuit 32. Specifically, the signal processing circuit 33 completes the processing of the low-frequency pulse output by the main control circuit 32, and the signal processing circuit 33 includes an operational amplifier, a voltage division circuit, an RC circuit, and a power supply part, and sequentially completes the amplification, voltage division, and reference adjustment of the low-frequency pulse signal.

[0135] In another embodiment, based on the above embodiment, the pulse generating device 30 further includes a working power supply 36, which is connected to the main control circuit 32 and is used to supply power to the main control circuit 32. Specifically, the working power supply 36 uses a rechargeable battery, which is convenient to carry and has a charge and discharge protection function.

[0136] In one embodiment, a computer device is provided. The computer device may be a terminal, and its internal structure diagram may be as follows: Fig. 9 As shown. The computer device includes a processor, a memory, a communication interface, a display screen and an input device connected through a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile 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 the operating system and the computer program in the non-volatile storage medium. The communication interface of the computer device is used to communicate with an external terminal in a wired or wireless manner, and the wireless manner can be achieved through WIFI, an operator network, NFC (near field communication) or other technologies. When the computer program is executed by the processor, a method of helping sleep is implemented. The display screen of the computer device can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer device can be a touch layer covering the display screen, or a button, trackball or touchpad set on the computer device housing, or an external keyboard, touchpad or mouse, etc.

[0137] Those skilled in the art will understand that Fig. 9 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.

[0138] In one embodiment, a computer device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and when the processor executes the computer program, the following steps are implemented:

[0139] Collect the user's EEG data;

[0140] Determine the user's sleep stage based on EEG data;

[0141] A preset audio file is played based on the user's sleep stage and a preset low-frequency pulse is output to the user.

[0142] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:

[0143] Playing audio files with preset bands based on the user's sleep stage;

[0144] If it is detected that the user has entered a preset sleep stage after playing a preset audio file of a preset band, the audio file corresponding to the sleep stage continues to be played;

[0145] If it is detected that the user has not entered the preset sleep stage after playing the preset audio file of the preset band, the audio file corresponding to the sleep stage continues to be played and a low-frequency pulse of a voltage corresponding to the sleep stage is output to the user.

[0146] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:

[0147] Playing an audio file of a preset band based on the sleep stage of the user, and outputting a preset low-frequency pulse based on the sleep stage of the user;

[0148] If it is detected that the user enters a preset sleep stage after playing the preset audio file of the preset band and outputting the preset low-frequency pulse, the audio file corresponding to the sleep stage continues to be played and the preset low-frequency pulse corresponding to the sleep stage is output.

[0149] In one embodiment, a computer readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, the following steps are implemented:

[0150] Collect the user's EEG data;

[0151] Determine the user's sleep stage based on EEG data;

[0152] A preset audio file is played based on the user's sleep stage and a preset low-frequency pulse is output to the user.

[0153] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0154] Playing audio files with preset bands based on the user's sleep stage;

[0155] If it is detected that the user has entered a preset sleep stage after playing a preset audio file of a preset band, the audio file corresponding to the sleep stage continues to be played;

[0156] If it is detected that the user has not entered the preset sleep stage after playing the preset audio file of the preset band, the audio file corresponding to the sleep stage continues to be played and a low-frequency pulse of a voltage corresponding to the sleep stage is output to the user.

[0157] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0158] Playing an audio file of a preset band based on the sleep stage of the user, and outputting a preset low-frequency pulse based on the sleep stage of the user;

[0159] If it is detected that the user enters a preset sleep stage after playing the preset audio file of the preset band and outputting the preset low-frequency pulse, the audio file corresponding to the sleep stage continues to be played and the preset low-frequency pulse corresponding to the sleep stage is output.

[0160] The above-mentioned sleep-aiding method, device, system, computer equipment and storage medium collect the user's EEG data; determine the user's sleep stage based on the EEG data; play a preset audio file based on the user's sleep stage and output preset low-frequency pulses to the user to help the user fall asleep. It not only obtains the user's sleep state through analysis of the EEG data and provides sleep-aiding services based on the user's sleep state, but also integrates the two technical means of music and low-frequency pulses to provide sleep-aiding services, thereby improving the sleep-aiding effect.

[0161] Those of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory or optical memory, etc. Volatile memory can include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM).

[0162] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0163] The above-mentioned embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the invention patent. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the patent of the present application shall be subject to the attached claims.

Claims

1. A sleep aid device, characterized in that: The device comprises: A collection module, used to collect the user's EEG data; A judgment module, for judging the sleep stage of the user based on the EEG data; the sleep stage includes a wakefulness stage, a light sleep stage and a deep sleep stage; the wakefulness stage is the W stage of sleep, the light sleep stage is the N1 and N2 stages of sleep, and the deep sleep stage is the N3 stage and the REM stage of sleep; A sleep aid module is used to play a preset audio file of a preset band based on the user's sleep stage and according to a preset correspondence between the sleep stage and the audio information; if it is detected that the user enters the preset sleep stage after playing the preset audio file of the preset band, the audio file corresponding to the sleep stage continues to be played; if it is detected that the user does not enter the preset sleep stage after playing the preset audio file of the preset band, the audio file corresponding to the sleep stage continues to be played and a low-frequency pulse of a voltage corresponding to the sleep stage is output to the user according to the preset correspondence between the sleep stage and the output signal parameter; the preset sleep stage includes the N2 stage of the light sleep stage.

2. A sleep aid system, characterized in that: The sleep aid system comprises: An EEG acquisition device, used to collect the user's EEG data and transmit the EEG data to the control device; A control device, for determining the sleep stage of a user based on the EEG data, generating a control instruction according to the sleep stage, and transmitting the control instruction to an audio playback device and a pulse generating device; the sleep stage includes a wakefulness stage, a light sleep stage, and a deep sleep stage; the wakefulness stage is a W stage of sleep, the light sleep stage is an N1 and N2 stage of sleep, and the deep sleep stage is an N3 and REM stage of sleep; the control instruction includes playing a preset audio file of a preset band based on the sleep stage of the user and according to a preset correspondence between the sleep stage and the audio information; if the user is detected to have entered the preset sleep stage after playing the preset audio file of the preset band, the audio file of the corresponding sleep stage continues to be played; if the user is detected not to have entered the preset sleep stage after playing the preset audio file of the preset band, the audio file of the corresponding sleep stage continues to be played and a low-frequency pulse of a voltage corresponding to the sleep stage is output to the user according to the preset correspondence between the sleep stage and the output signal parameter; the preset sleep stage includes the N2 stage of the light sleep stage; An audio playing device, used for playing a preset audio file corresponding to the sleep stage based on the control instruction; A pulse generating device is used to output low-frequency pulses corresponding to the sleep stage based on the control instruction.

3. The sleep aid system according to claim 2, characterized in that: The pulse generating device comprises: A main control circuit, connected to the control device, for generating low-frequency pulses of corresponding parameters based on the control instructions, and transmitting the low-frequency pulses to the pulse output circuit; A pulse output circuit, comprising an operational amplifier circuit and an output circuit, wherein the operational amplifier circuit is used to amplify the low-frequency pulse and output it to the output circuit, and the output circuit is used to output the amplified low-frequency pulse to a user; The output circuit is connected to the main control circuit, and the main control circuit is also used to adjust the parameters of the low-frequency pulse output by the output circuit.

4. A computer device comprising a memory and a processor, wherein the memory stores a computer program, characterized in that: When the processor executes the computer program, the following steps are performed: Collect the user's EEG data; Determine the user's sleep stage based on the EEG data; the sleep stage includes the awake stage, the light sleep stage and the deep sleep stage; the awake stage is the W stage of sleep, the light sleep stage is the N1 and N2 stages of sleep, and the deep sleep stage is the N3 and REM stages of sleep; Based on the sleep stage of the user, and according to a preset correspondence between the sleep stage and the audio information, a preset audio file of a preset band is played; If it is detected that the user enters a preset sleep stage after playing the preset audio file of the preset band, the audio file corresponding to the sleep stage continues to be played; the preset sleep stage includes the N2 stage of the light sleep stage; If it is detected that the user has not entered the preset sleep stage after playing the preset audio file of the preset band, the audio file corresponding to the sleep stage continues to be played and a low-frequency pulse of voltage corresponding to the sleep stage is output to the user according to the preset correspondence between the sleep stage and the output signal parameter.

5. The computer device according to claim 4, characterized in that The audio is isochronous audio.

6. The computer device according to claim 4, characterized in that After determining the sleep stage of the user based on the EEG data, the method further includes: Playing a preset audio file of a preset band based on the sleep stage of the user, and outputting a preset low-frequency pulse based on the sleep stage of the user; If it is detected that the user enters a preset sleep stage after playing the preset audio file of the preset band and outputting the preset low-frequency pulse, the audio file corresponding to the sleep stage continues to be played and the preset low-frequency pulse corresponding to the sleep stage is output.

7. The computer device according to claim 6, characterized in that The preset audio file is provided with a corresponding playing volume and / or playing duration based on the sleep stage of the user; The preset low-frequency pulse is provided with preset parameters based on the sleep stage of the user, and the preset parameters include at least one of power, waveform, pulse width and duty cycle.

8. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the following steps are performed: Collect the user's EEG data; Determine the user's sleep stage based on the EEG data; the sleep stage includes the awake stage, the light sleep stage and the deep sleep stage; the awake stage is the W stage of sleep, the light sleep stage is the N1 and N2 stages of sleep, and the deep sleep stage is the N3 and REM stages of sleep; Based on the sleep stage of the user, and according to a preset correspondence between the sleep stage and the audio information, a preset audio file of a preset band is played; If it is detected that the user enters a preset sleep stage after playing the preset audio file of the preset band, the audio file corresponding to the sleep stage continues to be played; the preset sleep stage includes the N2 stage of the light sleep stage; If it is detected that the user has not entered the preset sleep stage after playing the preset audio file of the preset band, the audio file corresponding to the sleep stage continues to be played and a low-frequency pulse of voltage corresponding to the sleep stage is output to the user according to the preset correspondence between the sleep stage and the output signal parameter.

Citation Information

Patent Citations

  • Play control method and related product

    CN108874130A

  • Music controlled electric instrument for treating insomnia

    CN1293072A

  • Garment capable of treating insomnia

    CN202068977U