A sleep assistance device and its control method
By designing a sleep assist device that includes a control module, a transcranial microelectric stimulation module and a percutaneous electrical nerve stimulation module, analyzing the sleep state based on EEG signals and dynamically switching the working mode, the problem that existing sleep aid products fail to adjust their strategies in real time is solved, and the quality of sleep is improved.
Patent Information
- Application Number
- CN202310239023.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-03-07
- Publication Date
- 2025-08-05
- Estimated Expiration
- 2043-03-07
AI Technical Summary
Existing sleep aid products fail to adjust their sleep strategies in real time based on changes in their sleep state, resulting in unsatisfactory sleep effects.
A sleep assist device is designed, including a control module, a transcranial microelectric stimulation module and a percutaneous electrical nerve stimulation module. The signal acquisition module collects EEG signals, analyzes the sleep state, and dynamically switches the working mode based on changes in the sleep state, and outputs micro current signals for sleep stimulation.
It realizes dynamic adjustment of sleep strategies according to changes in sleep state, improves sleep aid effects, helps users to get to sleep faster and makes use more convenient.
Smart Images

Figure CN116370791B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of sleep aid devices, and in particular to a sleep aid device and a control method thereof. Background Art
[0002] As the quality of life improves, people are paying more attention to how to improve their sleep quality. High-quality sleep can allow people's brain and body to rest and recover, improve people's work and study efficiency, soothe emotions, and reduce the generation of negative emotions.
[0003] Currently, sleep aids on the market play soothing music or use sleep-inducing lighting to help users fall asleep quickly. Generally speaking, sleep states constantly change during sleep, and existing sleep aids mostly focus on accelerating sleep. They lack technical solutions for real-time adjustment of sleep strategies based on changes in sleep states, resulting in unsatisfactory sleep outcomes.
[0004] Therefore, the existing technology still needs to be improved and enhanced. Summary of the Invention
[0005] The technical problem to be solved by the present invention is to provide a sleep assistance device and a control method thereof in response to the above-mentioned defects of the prior art, aiming to solve the problem that there is no technical solution in the prior art to adjust the sleep strategy in real time based on changes in sleep state.
[0006] In order to solve the above technical problems, the technical solutions adopted by the present invention are as follows:
[0007] In a first aspect, the present invention provides a sleep aid device, comprising: a control module, a transcranial micro-electrical stimulation module and a transcutaneous electrical nerve stimulation module respectively connected to the control module, a signal acquisition module connected to the control module, and a dynamic switching module respectively connected to the signal acquisition module and the control module;
[0008] Wherein, the signal acquisition module is used to collect EEG signals;
[0009] The control module is used to analyze the user's sleep state based on the collected EEG signals, and control the transcranial micro-electrical stimulation module or the transcutaneous nerve electrical stimulation module to output micro-current signals based on the sleep state, wherein the sleep state includes a calm state and an active state;
[0010] The transcranial micro-electrical stimulation module and the transcutaneous nerve electrical stimulation module are both used to output a micro-current signal based on the micro-current signal, and to stimulate the user's sleep based on the micro-current signal;
[0011] The dynamic switching module is used to dynamically switch the working mode of the transcranial micro-electrical stimulation module or the transcutaneous nerve electrical stimulation module based on the changes in the sleep state. The working modes include: sleep mode and micro-electrical stimulation mode.
[0012] In one implementation, the device also includes: a time acquisition module, which is connected to the control module and the transcutaneous electrical nerve stimulation module respectively, and the time acquisition module is used to collect the working time of the transcutaneous electrical nerve stimulation module, and the control module controls the intensity information of the microcurrent signal output by the transcranial microelectrical stimulation module according to the working time.
[0013] In one implementation, the device also includes a status monitoring module, which is connected to the control module. The status monitoring module is used to determine the user's physical state change information within a preset time period based on image detection. The physical state change information is used to reflect whether the user's body is in an active state or a static state within the preset time period.
[0014] In a second aspect, an embodiment of the present invention further provides a method for controlling a sleep aid device, the method comprising:
[0015] Collecting brain electrical signals based on the signal acquisition module, and determining the user's sleep state based on the brain electrical signals, wherein the sleep state includes a calm state and an active state;
[0016] If the sleep state is the active state, controlling the transcutaneous electrical nerve stimulation module to output a first microcurrent signal, so as to control the sleep state to enter a quiet state based on the first microcurrent signal;
[0017] If the sleep state is the quiet state, the transcranial micro-electric stimulation module is switched to output a second micro-current signal, and the second micro-current signal is used to stimulate the user's sleep.
[0018] In one implementation, the method further includes:
[0019] Collecting user image information within a preset time period, and identifying and detecting the user image information to determine the user's physical state change information within the preset time period, the physical state change information being used to reflect whether the user's body is in an active state or a static state within the preset time period;
[0020] The sleep state is determined based on the body state change information and the brain electrical signal.
[0021] In one implementation, if the sleep state is the quiet state, switching the transcranial micro-electric stimulation module to output the second micro-current signal includes:
[0022] Obtaining the operating time of the transcutaneous electrical nerve stimulation module and determining level information corresponding to the operating time, wherein the operating time reflects the time taken for the sleep state to reach a calm state;
[0023] determining target strength information corresponding to the level information according to the level information;
[0024] The transcranial micro-electrical stimulation module is controlled to output a second micro-current signal with the target intensity information.
[0025] In one implementation, the level information is inversely proportional to the target strength information.
[0026] In one implementation, the method further includes:
[0027] determining a target stimulation duration corresponding to the level information according to the level information;
[0028] The transcranial micro-electrical stimulation module is controlled to perform sleep stimulation on the user for the target stimulation duration using the second micro-current signal.
[0029] In a third aspect, an embodiment of the present invention further provides a terminal device, wherein the terminal device includes a memory, a processor, and a control program for a sleep aid device stored in the memory and executable on the processor. When the processor executes the control program for the sleep aid device, the steps of the method for controlling a sleep aid device of any one of the above solutions are implemented.
[0030] In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium, wherein a control program for a sleep aid device is stored on the computer-readable storage medium. When the control program for the sleep aid device is executed by a processor, the steps of the control method for a sleep aid device described in any one of the above solutions are implemented.
[0031] Beneficial effects: Compared with the prior art, the present invention provides a sleep aid device, comprising: a control module, a transcranial micro-electric stimulation module and a transcutaneous nerve electrical stimulation module respectively connected to the control module, a signal acquisition module connected to the control module, and a dynamic switching module respectively connected to the signal acquisition module and the control module. In the present invention, the signal acquisition module is used to collect EEG signals. The control module is used to analyze the user's sleep state based on the collected EEG signals, and control the transcranial micro-electric stimulation module or the transcutaneous nerve electrical stimulation module to output a microcurrent signal based on the sleep state, and the sleep state includes a calm state and an active state. The transcranial micro-electric stimulation module and the transcutaneous nerve electrical stimulation module are both used to output a microcurrent signal based on the microcurrent signal, and perform sleep stimulation on the user based on the microcurrent signal. The dynamic switching module is used to dynamically switch the working mode of the transcranial micro-electric stimulation module or the transcutaneous nerve electrical stimulation module based on changes in the sleep state, and the working modes include: sleep mode and micro-electric stimulation mode. It can be seen that the sleep assistance device of the present invention can select the transcranial micro-electrical stimulation module and the transcutaneous nerve electrical stimulation module to stimulate the user's sleep based on changes in sleep state, helping the user to fall asleep better, with a better sleep-aiding effect, and providing convenience for the user. BRIEF DESCRIPTION OF THE DRAWINGS
[0032] Figure 1 This is a functional principle diagram of a sleep aid device provided by an embodiment of the present invention.
[0033] Figure 2 This is a flowchart of a specific implementation of a method for controlling a sleep aid device provided by an embodiment of the present invention.
[0034] Figure 3 This is a functional block diagram of a terminal device provided in an embodiment of the present invention. DETAILED DESCRIPTION
[0035] In order to make the purpose, technical solution and effect of the present invention clearer and more specific, the present invention is further described in detail below with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention.
[0036] The present embodiment provides a sleep assistance device, which includes: a control module, a transcranial micro-electrical stimulation module and a transcutaneous nerve electrical stimulation module respectively connected to the control module, a signal acquisition module connected to the control module, and a dynamic switching module respectively connected to the signal acquisition module and the control module. In the present embodiment, the signal acquisition module is used to collect EEG signals. The control module is used to analyze the user's sleep state based on the collected EEG signals, and control the transcranial micro-electrical stimulation module or the transcutaneous nerve electrical stimulation module to output a microcurrent signal based on the sleep state, and the sleep state includes a calm state and an active state. The transcranial micro-electrical stimulation module and the transcutaneous nerve electrical stimulation module are both used to output a microcurrent signal based on the microcurrent signal, and to stimulate the user's sleep based on the microcurrent signal. The dynamic switching module is used to dynamically switch the working mode of the transcranial micro-electrical stimulation module or the transcutaneous nerve electrical stimulation module based on changes in the sleep state, and the working modes include: sleep mode and micro-electrical stimulation mode. It can be seen that the sleep assistance device of the present invention can select the transcranial micro-electrical stimulation module and the transcutaneous nerve electrical stimulation module to stimulate the user's sleep based on changes in sleep state, helping the user to fall asleep better, with a better sleep-aiding effect, and providing convenience for the user.
[0037] For example, the signal acquisition module can first collect the user's EEG signal, and then analyze the EEG signal through the control module to determine the user's sleep state at this time. If the user's sleep state at this time is an active state, then the user needs to be stimulated to sleep. When performing sleep stimulation, the control module can first control the transcutaneous electrical nerve stimulation module to output a microcurrent signal, and perform microelectric stimulation on the user through the microcurrent signal to achieve a sleep-aiding effect. At this time, the signal acquisition module will collect the changes in the user's EEG signal in real time, and further determine the changes in the sleep state. If the user's sleep state changes to a calm state, the dynamic switching module will intervene at this time. The dynamic switching module will switch the working mode of the transcutaneous electrical nerve stimulation module to the sleep mode, and then switch the transcranial microelectric stimulation module to the microelectric stimulation mode. The control module will control the transcranial microelectric stimulation module to send a microcurrent signal, thereby further stimulating the user's sleep.
[0038] Exemplary devices
[0039] This embodiment provides a sleep aid device, such as Figure 1As shown in , the device includes: a signal acquisition module 10, a control module 20, a transcutaneous electrical nerve stimulation module 30, a transcranial micro-electrical stimulation module 40, a dynamic switching module 50, a time acquisition module 60 and a state monitoring module 70. Specifically, the control module 20 of this embodiment is connected to the transcranial micro-electrical stimulation module 40 and the transcutaneous electrical nerve stimulation module 30 respectively, the signal acquisition module 10 is connected to the control module 20, and the dynamic switching module 50 is connected to both the signal acquisition module 10 and the control module 20 respectively. The time acquisition module 60 is connected to the control module 20 and the transcutaneous electrical nerve stimulation module 30 respectively, and the state monitoring module 70 is connected to the control module 20. The signal acquisition module 10 of this embodiment is used to collect EEG signals. The control module 20 is used to analyze the user's sleep state based on the collected EEG signals, and control the transcranial micro-electrical stimulation module 40 or the transcutaneous electrical nerve stimulation module 30 to output microcurrent signals based on the sleep state, and the sleep state includes a calm state and an active state. The transcranial micro-electric stimulation module 40 and the transcutaneous nerve electrical stimulation module 30 are both used to output a micro-current signal based on the micro-current signal, and to perform sleep stimulation on the user based on the micro-current signal. The dynamic switching module 50 is used to dynamically switch the working mode of the transcranial micro-electric stimulation module 40 or the transcutaneous nerve electrical stimulation module 30 based on the changes in the sleep state, and the working modes include: sleep mode and micro-electric stimulation mode. The time acquisition module 60 is used to collect the working time of the transcutaneous nerve electrical stimulation module 30, and the control module 20 controls the intensity information of the micro-current signal output by the transcranial micro-electric stimulation module 40 according to the working time. The state monitoring module 70 is used to determine the user's body state change information within a preset time period based on image detection. The body state change information is used to reflect whether the user's body is in an active state or a static state within the preset time period.
[0040] That is to say, the control module 20 of this embodiment will analyze the EEG signals collected by the signal acquisition module 10 and determine the corresponding sleep state, and then control the transcranial micro-electrical stimulation module 40 or the transcutaneous nerve electrical stimulation module 30 to output a micro-current signal based on whether the sleep state is in a calm state or an active state to achieve sleep stimulation. In addition, this embodiment can provide a dynamic switching module 50 to switch the working mode of the transcranial micro-electrical stimulation module 40 or the transcutaneous nerve electrical stimulation module 30. For example, when the transcranial micro-electrical stimulation module 40 needs to be used, the working mode of the transcranial micro-electrical stimulation module 40 is controlled to be in micro-electrical stimulation mode, and the transcutaneous nerve electrical stimulation module 30 is controlled to be in sleep mode. When the transcutaneous nerve electrical stimulation module 30 needs to be used, the transcutaneous nerve electrical stimulation module 30 is controlled to be in micro-electrical stimulation mode, and the transcranial micro-electrical stimulation module 40 is controlled to be in sleep mode.
[0041] In this embodiment, the transcranial micro-electrical stimulation module 40 is in contact with the user's ear; the transcutaneous nerve electrical stimulation module 30 is in contact with the user's forehead, and the transcranial micro-electrical stimulation module 40 emits a microcurrent signal to stimulate the user's brain, change the brain waves of the user's brain, and prompt the brain to secrete neurotransmitters and hormones for suppressing insomnia and anxiety, so that the user can fall asleep faster. The microcurrent signal emitted by the transcutaneous nerve electrical stimulation module 30 can help the brain produce a neuromodulatory mechanism, including presynaptic inhibition of the dorsal horn of the spinal cord, endogenous pain control (through endorphins, enkephalins and dynorphins), and direct inhibition of abnormally excited nerves, so that the user can fall asleep faster. The difference between the two is that the current intensity of the transcranial micro-electrical stimulation module 40 is less than the current intensity of the transcranial micro-electrical stimulation module 40. In addition, the transcranial micro-electrical stimulation module 40 is in contact with the user's ear and stimulates from behind the ear, and the path for its stimulation signal to be transmitted to the brain is longer. The transcutaneous electrical nerve stimulation module 30 contacts the user's forehead, and its stimulation signal acts directly on the cerebral cortex. Relatively speaking, the path is shorter, so the transcutaneous electrical nerve stimulation module 30 is more effective in stimulating the human brain than the transcranial micro-electrical stimulation module 40. Because the transcranial micro-electrical stimulation module 40 contacts the user's ear, compared to the transcutaneous electrical nerve stimulation module 30, which needs to be attached to the user's forehead, the transcranial micro-electrical stimulation module 40 gives the user less foreign body sensation and a more comfortable experience. Therefore, in actual use, the control module 20 can choose which micro-electrical stimulation module to use based on the user's condition.
[0042] In specific applications, when performing sleep stimulation, if the sleep state is an active state, the control module 20 can first control the transcutaneous electrical nerve stimulation module 30 to output a microcurrent signal to stimulate the user's sleep, and based on the time acquisition module 60, record the working time of the transcutaneous electrical nerve stimulation module 30 in real time. When the user's sleep state is a sleep state, the transcranial micro-electrical stimulation module 40 can be switched based on the dynamic switching module 50 to output a microcurrent signal to stimulate the user's sleep. When controlling the microcurrent signal output by the transcranial micro-electrical stimulation module 40, this embodiment can control the intensity information of the microcurrent signal output by the transcranial micro-electrical stimulation module 40 according to the working time. Preferably, the working time of the transcutaneous electrical nerve stimulation module 30 is inversely proportional to the intensity information of the microcurrent signal output by the transcranial micro-electrical stimulation module 40. That is to say, the longer the transcutaneous electrical nerve stimulation module 30 works, the smaller the intensity information of the microcurrent signal output by the transcranial microelectrical stimulation module 40 is, indicating that the user has basically fallen asleep under the microcurrent stimulation of the transcutaneous electrical nerve stimulation module 30. At this time, the transcranial microelectrical stimulation module 40 only needs to output a microcurrent with very small intensity to further stimulate the user to fall asleep completely.
[0043] In another implementation, the state monitoring module 70 of this embodiment can also determine the user's physical state change information within a preset time period based on image detection. The physical state change information is used to reflect whether the user's body is active or inactive during the preset time period. This embodiment can combine this physical state change information with the EEG signal to comprehensively consider the user's sleep state. If the user's physical state change information reflects that the user's body is in an inactive state during the preset time period, and the EEG signal fluctuation amplitude within the same preset time period is less than a preset amplitude, then the sleep state can be determined to be in a calm state. In other words, this embodiment adds physical state change information as a condition for determining the sleep state. If the physical state change information reflects that the user's body is active during the preset time period, or if the EEG signal fluctuation amplitude within the same preset time period is greater than a preset amplitude, then the sleep state can be determined to be in an active state. This embodiment uses two conditions to determine the user's sleep state, which can more accurately obtain true results and better provide sleep stimulation.
[0044] In addition, specifically, the transcutaneous electrical nerve stimulation module 30 includes a forehead band, a plurality of airbags are provided inside the forehead band, and a micro-air pump corresponding to each of the airbags. Each airbag is provided with an electrical stimulation unit, which can emit a microcurrent signal. The electrical stimulation unit is supported by the airbags and attached to the user's forehead. When the user stops using the transcutaneous electrical nerve stimulation module 30 (i.e., controls the transcutaneous electrical nerve stimulation module 30 to enter sleep mode), the transcutaneous electrical nerve stimulation module 30 will first control the electrical stimulation unit to stop emitting microcurrent signals, and then use the micro-air pump to suck out the air in the corresponding airbag so that the electrical stimulation unit is no longer attached to the user's forehead; correspondingly, if the transcutaneous electrical nerve stimulation module 30 is to be turned on (i.e., controls the transcutaneous electrical nerve stimulation module 30 to enter the micro-electrical stimulation module), the airbag is first inflated by the micro-air pump so that the electrical stimulation unit is attached to the user's forehead, and then the electrical stimulation unit is controlled to emit current to help the user fall asleep. In this embodiment, when it is necessary to switch to the transcranial micro-electrical stimulation module 40 for micro-electrical stimulation, the dynamic switching module 50 can control the cessation of the use of the transcutaneous electrical nerve stimulation module 30 and use a micro-air pump to suck out the air in the corresponding airbag, so that the electrical stimulation unit of the transcutaneous electrical nerve stimulation module 30 is no longer attached to the user's forehead, reducing the foreign body sensation caused by the transcutaneous electrical nerve stimulation module 30 to the user. In this way, the transcutaneous electrical nerve stimulation module 30 is controlled to enter the sleep mode, and then the transcranial micro-electrical stimulation module 40 is controlled to enter the micro-electrical stimulation mode. In this embodiment, the transcranial micro-electrical stimulation module 40 and the transcutaneous electrical nerve stimulation module 30 achieve the same results.
[0045] Exemplary Methods
[0046] Based on the above embodiment, the present invention also provides a control method for a sleep aid device. The control method for a sleep aid device can be applied to a terminal device, which can be a computer, mobile phone, tablet or other intelligent product terminal connected to the sleep aid device. Alternatively, the control method for a sleep aid device of this embodiment can also be directly applied to the sleep aid device, and the above method can be implemented based on the controller in the sleep aid device. Specifically, Figure 2 As shown in , the control method of the sleep aid device of this embodiment includes the following steps:
[0047] Step S100: The signal acquisition module collects EEG signals, and determines the user's sleep state based on the EEG signals, where the sleep state includes a calm state and an active state.
[0048] Specifically, after collecting EEG signals, this embodiment analyzes the EEG signals. By analyzing the EEG signal fluctuation amplitude within a preset time period and comparing this fluctuation amplitude with a preset amplitude threshold, the user's sleep state at that time can be determined. The sleep state determined in this embodiment includes a calm state or an active state. Furthermore, this embodiment also uses a state monitoring module to collect user image information within a preset time period, identify and detect the user image information, and determine the user's physical state change information within the preset time period. The physical state change information reflects whether the user's body was active or inactive during the preset time period. The sleep state is determined based on the physical state change information and the EEG signals. If the user's physical state change information indicates that the user's body was in an active state during the preset time period, and the EEG signal fluctuation amplitude within the same preset time period is less than a preset amplitude, the sleep state can be determined to be a calm state. In other words, this embodiment adds physical state change information as a condition for determining sleep state. If the physical state change information indicates that the user's body was active during the preset time period, or if the EEG signal fluctuation amplitude within the same preset time period is greater than a preset amplitude, the sleep state can be determined to be an active state. This embodiment uses two conditions to determine the user's sleep state, which can obtain more accurate and realistic results to better stimulate sleep.
[0049] Step S200: If the sleep state is the active state, control the transcutaneous electrical nerve stimulation module to output a first microcurrent signal, so as to control the sleep state to enter a quiet state based on the first microcurrent signal.
[0050] If the sleep state is active, the control module can first control the transcutaneous electrical nerve stimulation module to output a first microcurrent signal to stimulate the user's sleep, so as to control the sleep state to enter a calm state based on the first microcurrent signal. The first microcurrent signal can stimulate the user's brain, change the user's brain waves, and prompt the brain to secrete neurotransmitters and hormones used to suppress insomnia and anxiety, so that the user can fall asleep faster. During specific control, the control module of this embodiment can control the transcutaneous electrical nerve stimulation module to inflate the airbag through a micro air pump so that the electrical stimulation unit is attached to the user's forehead, and then control the electrical stimulation unit to emit a first microcurrent signal to help the user fall asleep.
[0051] Step S300: If the sleep state is the quiet state, switch the transcranial micro-electric stimulation module to output a second micro-current signal, where the second micro-current signal is used to stimulate sleep of the user.
[0052] Under the micro-electric stimulation of the transcutaneous electrical nerve stimulation module, if the user's sleep state is transformed into a calm state, the dynamic switching module can control the cessation of the use of the transcutaneous electrical nerve stimulation module, and suck out the air in the corresponding airbag through the micro-air pump, so that the electrical stimulation unit of the transcutaneous electrical nerve stimulation module is no longer attached to the user's forehead, thereby controlling the transcutaneous electrical nerve stimulation module to enter the sleep mode, and then controlling the transcranial micro-electric stimulation module to enter the micro-electric stimulation mode. Similarly, the control module of this embodiment can control the transcranial micro-electric stimulation module to inflate the airbag through the micro-air pump, so that the electrical stimulation unit is attached to the user's forehead, and then control the electrical stimulation unit to emit a second microcurrent signal to help the user fall asleep. In this embodiment, the intensity of the first microcurrent signal is greater than the intensity of the second microcurrent signal. Specifically, when controlling the transcranial micro-electric stimulation module to perform micro-electric stimulation, this embodiment can also obtain the working time of the transcutaneous electrical nerve stimulation module through the time acquisition module, and determine the level information corresponding to the working time, wherein the working time reflects the time taken for the sleep state to reach a calm state. This embodiment can pre-set target intensity information corresponding to the level information. This target intensity is the intensity of the second microcurrent signal output by the transcranial microelectrical stimulation module. Then, based on the level information, this embodiment can determine the target intensity information corresponding to the level information. Finally, the transcranial microelectrical stimulation module is controlled to output the second microcurrent signal with the target intensity information. In this embodiment, the level information is inversely proportional to the target intensity information. Therefore, the intensity of the first microcurrent signal is greater than the intensity of the second microcurrent signal. In other words, the longer the transcutaneous electrical nerve stimulation module operates, the lower the intensity information of the microcurrent signal output by the transcranial microelectrical stimulation module becomes. This indicates that the user has essentially fallen asleep under the microcurrent stimulation of the transcutaneous electrical nerve stimulation module. At this point, the transcranial microelectrical stimulation module only needs to output a very low intensity microcurrent to further stimulate the user to fully fall asleep. Furthermore, this embodiment can pre-set a target stimulation duration corresponding to the level information. This target stimulation duration is the microelectrical stimulation duration of the transcranial microelectrical stimulation module. Therefore, this embodiment can control the transcranial microelectrical stimulation module to provide sleep stimulation to the user with the second microcurrent signal for the target stimulation duration. It can be seen that the duration and intensity of the micro-electrical stimulation of the transcranial micro-electrical stimulation module in this embodiment can be adjusted based on the working time of the transcutaneous nerve electrical stimulation module, which helps to achieve better sleep assistance.
[0053] The steps of the control method of the sleep aid device of this embodiment are the same as the functional principles of the modules in the above device embodiments, and are not described again here.
[0054] Based on the above embodiment, the present invention further provides a terminal device, the principle block diagram of the terminal device can be as follows: Figure 3 The terminal device may include one or more processors 100 ( Figure 3 (only one is shown), memory 101, and a computer program 102 stored in memory 101 and executable on one or more processors 100, for example, a control program for a sleep aid device. When one or more processors 100 execute computer program 102, each step of the control method of an embodiment of a sleep aid device can be implemented. Alternatively, when one or more processors 100 execute computer program 102, the functions of each module / unit in an embodiment of a sleep aid device can be implemented, without limitation.
[0055] In one embodiment, the processor 100 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor may be a microprocessor or any conventional processor.
[0056] In one embodiment, the memory 101 may be an internal storage unit of an electronic device, such as a hard disk or memory of the electronic device. The memory 101 may also be an external storage device of the electronic device, such as a plug-in hard disk, a smart media card (SMC), a secure digital (SD) card, a flash card, etc. equipped on the electronic device. Furthermore, the memory 101 may also include both an internal storage unit of the electronic device and an external storage device. The memory 101 is used to store computer programs and other programs and data required by the terminal device. The memory 101 may also be used to temporarily store data that has been output or is about to be output.
[0057] Those skilled in the art will understand that Figure 3 The principle block diagram shown in the figure is only a block diagram of a partial structure related to the solution of the present invention, and does not constitute a limitation on the terminal device to which the solution of the present invention is applied. The specific terminal device may include more or fewer components than shown in the figure, or combine certain components, or have a different component arrangement.
[0058] Those skilled in the art will understand that all or part of the processes in the above-mentioned embodiment methods can be implemented 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, operating database or other media used in the embodiments provided by the present invention may include non-volatile and / or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDR SDRAM), enhanced SDRAM (ESDRAM), synchronous link DRAM (SLDRAM), RAMbus direct RAM (RDRAM), direct RAMbus dynamic RAM (DRDRAM), and RAMbus dynamic RAM (RDRAM), etc.
[0059] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the various embodiments of the present invention.
Claims
1. A sleep aid device, characterized in that: The device includes: a control module, a transcranial micro-electrical stimulation module and a transcutaneous nerve electrical stimulation module respectively connected to the control module, a signal acquisition module connected to the control module, and a dynamic switching module respectively connected to the signal acquisition module and the control module; Wherein, the signal acquisition module is used to collect EEG signals; The control module is used to analyze the user's sleep state based on the collected EEG signals, and control the transcranial micro-electrical stimulation module or the transcutaneous nerve electrical stimulation module to output micro-current signals based on the sleep state, wherein the sleep state includes a calm state and an active state; The transcranial micro-electrical stimulation module contacts the ear of the user; the transcutaneous nerve electrical stimulation module contacts the forehead of the user, and both the transcranial micro-electrical stimulation module and the transcutaneous nerve electrical stimulation module are used to output a microcurrent signal based on the sleep state, and perform sleep stimulation on the user based on the microcurrent signal, wherein the current intensity of the transcranial micro-electrical stimulation module is less than the current intensity of the transcutaneous nerve electrical stimulation module; The dynamic switching module is used to dynamically switch the working mode of the transcranial micro-electrical stimulation module or the transcutaneous nerve electrical stimulation module based on the change of the sleep state, and the working mode includes: sleep mode and micro-electrical stimulation mode; The device further includes: a time acquisition module, the time acquisition module being connected to the control module and the transcutaneous electrical nerve stimulation module respectively, the time acquisition module being used to acquire the working time of the transcutaneous electrical nerve stimulation module, and the control module controlling the intensity information of the microcurrent signal output by the transcranial microelectrical stimulation module according to the working time; The device further includes a state monitoring module, the state monitoring module being connected to the control module, and the state monitoring module being configured to determine, based on image detection, information about changes in the user's physical state within a preset time period, wherein the information about changes in the physical state reflects whether the user's body is in an active state or a static state within the preset time period; If the body state change information reflects that the user's body is in a static state within the preset time period, and the EEG signal fluctuation amplitude within the same preset time period is less than the preset amplitude, then it is determined that the sleep state is in a quiet state; If the body state change information reflects that the user's body is in an active state within the preset time period, or the amplitude of the EEG signal fluctuation within the same preset time period is greater than a preset amplitude, then the sleep state is determined to be in an active state; The transcutaneous electrical nerve stimulation module and the transcranial micro-electrical stimulation module both include a forehead band, a plurality of airbags and micro-air pumps corresponding to the airbags are arranged inside the forehead band, and an electrical stimulation unit is arranged on each airbag. The electrical stimulation unit can emit a microcurrent signal, and the electrical stimulation unit is attached to the user's forehead through the support of the airbag. When the user stops using the transcutaneous electrical nerve stimulation module, the transcutaneous electrical nerve stimulation module will first control the electrical stimulation unit to stop emitting the microcurrent signal, and suck out the air in the corresponding airbag through the micro-air pump, so that the electrical stimulation unit is no longer attached to the user's forehead; correspondingly, if the transcutaneous electrical nerve stimulation module is to be turned on, the airbag is first inflated by the micro-air pump so that the electrical stimulation unit is attached to the user's forehead, and then the electrical stimulation unit is controlled to emit current to help the user fall asleep; When it is necessary to switch the transcranial micro-electrical stimulation module for micro-electrical stimulation, the dynamic switching module controls the cessation of the use of the transcutaneous electrical nerve stimulation module, and uses the micro-air pump to suck out the air in the corresponding airbag so that the electrical stimulation unit of the transcutaneous electrical nerve stimulation module is no longer attached to the user's forehead, thereby controlling the transcutaneous electrical nerve stimulation module to enter the sleep mode, and then controlling the transcranial micro-electrical stimulation module to enter the micro-electrical stimulation mode.
2. A control method for the sleep aid device according to claim 1, characterized in that: The control method includes: Collecting brain electrical signals based on the signal acquisition module, and determining the user's sleep state based on the brain electrical signals, wherein the sleep state includes a calm state and an active state; If the sleep state is the active state, controlling the transcutaneous electrical nerve stimulation module to output a first microcurrent signal, so as to control the sleep state to enter a quiet state based on the first microcurrent signal; If the sleep state is the quiet state, the transcranial micro-electric stimulation module is switched to output a second micro-current signal, and the second micro-current signal is used to stimulate the user's sleep.
3. The control method of the sleep aid device according to claim 2, characterized in that: The method further comprises: Collecting user image information within a preset time period, and identifying and detecting the user image information to determine the user's physical state change information within the preset time period, the physical state change information being used to reflect whether the user's body is in an active state or a static state within the preset time period; The sleep state is determined based on the body state change information and the brain electrical signal.
4. The control method of the sleep aid device according to claim 2, characterized in that: If the sleep state is the quiet state, switching the transcranial micro-electric stimulation module to output a second micro-current signal includes: Obtaining the operating time of the transcutaneous electrical nerve stimulation module and determining level information corresponding to the operating time, wherein the operating time reflects the time taken for the sleep state to reach a calm state; determining target strength information corresponding to the level information according to the level information; The transcranial micro-electrical stimulation module is controlled to output a second micro-current signal with the target intensity information.
5. The control method of the sleep aid device according to claim 4, characterized in that: The level information is inversely proportional to the target strength information.
6. The control method of the sleep aid device according to claim 5, characterized in that: The method further comprises: determining a target stimulation duration corresponding to the level information according to the level information; The transcranial micro-electrical stimulation module is controlled to perform sleep stimulation on the user for the target stimulation duration using the second micro-current signal.
7. A terminal device, characterized in that: The terminal device includes a memory, a processor, and a control program for a sleep aid device stored in the memory and executable on the processor. When the processor executes the control program for the sleep aid device, the steps of the method for controlling a sleep aid device according to any one of claims 2 to 6 are implemented.
8. A computer-readable storage medium, characterized in that The computer-readable storage medium stores a control program for a sleep aid device. When the control program for the sleep aid device is executed by a processor, the steps of the method for controlling a sleep aid device according to any one of claims 2 to 6 are implemented.
Citation Information
Patent Citations
Feedback type nerve electric stimulation system with in vitro sleep detection device and feedback type nerve electric stimulation method
CN102641554A
Sleep assisting method and system and storage medium
CN114588473A
Recovered feedback trainer of body and mind
CN205988477U