Transaural closed-loop vagus nerve regulation device and related products
By collecting EEG signals in the ear and determining the threshold, the auricular vagus nerve stimulation method is adjusted, which solves the problem of inaccurate treatment results caused by the fixed stimulation method in the existing technology, realizes personalized treatment for different states of consciousness, and improves the efficiency of auricular vagus nerve stimulation. effect.
Patent Information
- Application Number
- CN202411045626.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-01
- Publication Date
- 2024-10-22
- Estimated Expiration
- 2044-08-01
AI Technical Summary
Existing auricular vagus nerve stimulation devices use fixed stimulation methods, resulting in inaccurate treatment effects and inability to effectively target different users' states of consciousness.
By collecting the user's in-ear EEG signals, the thresholds of Delta waves, Alpha waves and Beta waves are determined, and the ear vagus nerve stimulation method is adjusted to match the user's state of consciousness to achieve personalized ear vagus nerve stimulation.
It improves the therapeutic effect of auricular vagus nerve stimulation, enhances the adaptability to different states of consciousness, and improves the accuracy and effect of treatment.
Smart Images

Figure CN118557894B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of medical technology, and in particular to a trans-aural closed-loop vagus nerve regulation device and related products. Background Art
[0002] The vagus nerve is the longest and most widely distributed cranial nerve, involved in regulating multiple systems and maintaining homeostasis. Vagus nerve stimulation therapy is commonly used to treat epilepsy, depression, migraine, insomnia and other symptoms. It has the advantages of precise efficacy, safety, low cost, simple operation and easy promotion, making it have a wide range of application prospects.
[0003] Among them, ear vagus nerve stimulation can stimulate the input fibers of the ear vagus nerve, which can better play the overall regulatory role of the higher cortex and brain regulation. Existing ear vagus nerve stimulation devices often use a fixed stimulation method to stimulate the user when stimulating the user to treat the user. This stimulation method is not accurate enough, thereby affecting the therapeutic effect of ear vagus nerve stimulation on the user. Summary of the invention
[0004] The present application provides a closed-loop vagus nerve regulation device through the ear canal and related products, which adjusts the ear vagus nerve stimulation method based on the subject's state of consciousness after receiving ear vagus nerve stimulation, determines the appropriate ear vagus nerve stimulation method for each subject, and improves the therapeutic effect of ear vagus nerve stimulation.
[0005] In a first aspect, the present application provides a trans-aural closed-loop vagus nerve regulation device, the trans-aural closed-loop vagus nerve regulation device comprising an ear vagus nerve stimulation module, an in-ear electroencephalogram acquisition module, and a processing module;
[0006] An intra-ear EEG acquisition module, used for acquiring a plurality of first intra-ear EEG signals of a subject;
[0007] a processing module, configured to determine, based on the plurality of first intra-auricular electroencephalogram signals, a first threshold corresponding to a first Delta wave, a second threshold corresponding to a first Alpha wave, and a third threshold corresponding to a first Beta wave in the plurality of first intra-auricular electroencephalogram signals;
[0008] an ear vagus nerve stimulation module, used for stimulating the ear vagus nerve of the subject for a first preset duration;
[0009] The in-ear EEG acquisition module is further used to acquire a second in-ear EEG signal of the subject after the subject is subjected to a first preset duration of ear vagus nerve stimulation;
[0010] The processing module is further used to determine the state of consciousness of the subject based on the second intra-ear EEG signal, the first threshold, the second threshold, and the third threshold;
[0011] The processing module is also used to perform ear vagus nerve stimulation on the subject through the ear vagus nerve stimulation module based on the state of consciousness.
[0012] In a second aspect, the present application provides a closed-loop vagus nerve regulation method through the ear canal, the method is applied to a closed-loop vagus nerve regulation device through the ear canal, the closed-loop vagus nerve regulation device through the ear canal includes an ear vagus nerve stimulation module, an in-ear electroencephalogram acquisition module, and a processing module; the method includes:
[0013] collecting a plurality of first-ear electroencephalogram signals of the subject;
[0014] Based on the plurality of first intra-auricular electroencephalogram signals, determining a first threshold corresponding to a first Delta wave, a second threshold corresponding to a first Alpha wave, and a third threshold corresponding to a first Beta wave in the plurality of first intra-auricular electroencephalogram signals;
[0015] performing auricular vagus nerve stimulation on the subject for a first preset duration;
[0016] After the subject is subjected to a first preset duration of ear vagus nerve stimulation, collecting an electroencephalogram signal in a second ear of the subject;
[0017] The subject's state of consciousness is determined based on the second intra-ear EEG signal, the first threshold, the second threshold, and the third threshold; and the subject's ear vagus nerve is stimulated based on the state of consciousness.
[0018] In a third aspect, the present application provides an electronic device, comprising: a processor and a memory, the processor being connected to the memory, the memory being used to store a computer program, and the processor being used to execute the computer program stored in the memory, so that the electronic device performs the method of the second aspect.
[0019] In a fourth aspect, the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and the computer program enables a computer to execute the method of the second aspect.
[0020] In a fifth aspect, the present application provides a computer program product, which includes a non-transitory computer-readable storage medium storing a computer program, and is computer-operable to cause the computer to execute the method of the second aspect.
[0021] Implementing the embodiments of the present application has the following beneficial effects:
[0022] It can be seen that in the embodiment of the present application, a plurality of first intra-ear EEG signals of the subject are collected; based on the plurality of first intra-ear EEG signals, a first threshold corresponding to the first Delta wave, a second threshold corresponding to the first Alpha wave, and a third threshold corresponding to the first Beta wave in the plurality of first intra-ear EEG signals are determined; the subject is subjected to ear vagus nerve stimulation for a first preset duration; after the subject is subjected to ear vagus nerve stimulation for the first preset duration, a second intra-ear EEG signal of the subject is collected; based on the second intra-ear EEG signal, the first threshold, the second threshold, and the third threshold, the state of consciousness of the subject is determined; based on the state of consciousness, it is determined to perform ear vagus nerve stimulation on the subject. That is to say, the present application does not directly stimulate the subject through fixed ear vagus nerve stimulation, but first collects multiple first intra-ear EEG signals before the subject is subjected to ear vagus nerve stimulation, and determines the first threshold, the second threshold and the third threshold for each subject based on the multiple first intra-ear EEG signals in an individualized manner, and determines the first threshold, the second threshold and the third threshold for each subject in a state of consciousness without receiving stimulation, thereby improving the adaptability of the first threshold, the second threshold and the third threshold to each subject, so as to accurately determine the state of each subject in subsequent steps.
[0023] Furthermore, a second intra-ear EEG signal is collected again after the subject is subjected to auricular vagus nerve stimulation for a first preset duration, and characteristics of the second EEG signal are judged based on the first threshold, the second threshold, and the third threshold, so as to determine the subject's state of consciousness, and based on the state of consciousness, determine the auricular vagus nerve stimulation to be performed on the subject, and determine the auricular vagus nerve stimulation that matches the subject's state, that is, based on the subject's state, adjust the auricular vagus nerve stimulation so that appropriate auricular vagus nerve stimulation can be set for each subject in different states of consciousness, thereby improving the therapeutic effect of the auricular vagus nerve stimulation. BRIEF DESCRIPTION OF THE DRAWINGS
[0024] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0025] Figure 1 A schematic diagram of a scenario of closed-loop vagus nerve regulation through the ear canal provided in an embodiment of the present application;
[0026] Figure 2 A schematic diagram of a wearable device provided in an embodiment of the present application;
[0027] Figure 3A schematic diagram of a trans-aural closed-loop vagus nerve regulation device provided in an embodiment of the present application;
[0028] Figure 4 A schematic diagram of a closed-loop vagus nerve regulation method through the ear canal provided in an embodiment of the present application;
[0029] Figure 5 A schematic diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0030] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0031] The terms "first", "second", "third" and "fourth" etc. in the specification, claims and drawings of the present application are used to distinguish different objects, rather than to describe a specific order. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or units is not limited to the listed steps or units, but optionally includes steps or units that are not listed, or optionally includes other steps or units inherent to these processes, methods, products or devices.
[0032] Reference to "embodiments" herein means that a particular feature, result, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present application. The appearance of the phrase in various locations in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.
[0033] In order to facilitate understanding of the technical solution of the present application, the relevant technologies involved in the present application are first explained and illustrated.
[0034] It should be noted that the consciousness state in the present application includes the awake state and the sleep state, wherein the sleep state includes the slow-wave sleep state and the non-slow-wave sleep state.
[0035] The intra-ear EEG signal in this application records the brain's electrical activity by placing electrodes inside the ear or around the outer ear. This method is more covert and flexible than traditional whole-scalp EEG signals.
[0036] Slow-wave sleep state: also known as positive phase sleep state or non-rapid eye movement (NREM) sleep state, which is characterized by synchronized slow waves on the electroencephalogram. In this application, the slow-wave sleep state can also be called a deep sleep state.
[0037] Non-slow-wave sleep state: usually refers to the rapid eye movement (REM) sleep state, also known as the paradoxical sleep state or the rapid eye movement (REM) sleep state. Compared with the slow-wave sleep state, the brain activity during the rapid eye movement (REM) sleep state is more active, and the electroencephalogram shows a low-amplitude, high-frequency waveform. In this stage, the eye movement is rapid and accompanied by dreams. In this application, the non-slow-wave sleep state can also be referred to as a non-deep sleep state.
[0038] Delta wave: The frequency of the first Delta wave is usually between 0.5 and 4 Hz. This slow fluctuation mainly occurs in the deep non-rapid eye movement sleep stage, especially in the deep sleep stage of adults. When entering deep sleep, the activity of the first Delta wave gradually increases, and its intensity can be used as an indicator of sleep quality.
[0039] Alpha waves: The frequency of the first alpha wave is about 8 to 12 Hz, and it mainly occurs in adults when they are relaxed but awake, such as when they sit quietly with their eyes closed. The first alpha wave is usually associated with relaxation and meditation states, indicating that the brain is in a quiet but alert state.
[0040] Beta waves: The first beta wave usually has a frequency between 15 and 30 Hz and is the typical waveform of the brain when it is awake, especially when dealing with logical thinking, problem solving and concentration. The first beta wave reflects the brain's alertness and cognitive activity.
[0041] Vagus nerve stimulation mainly acts on the auricular branch of the vagus nerve and is a simple, non-invasive and low-cost therapy. With the widespread use of implantable vagus nerve stimulation, non-invasive vagus nerve stimulation devices are gradually being used in clinical practice. Among them, transauricular vagus nerve stimulation stimulates the auricular branch of the vagus nerve. The auricular branch of the vagus nerve is the only peripheral branch of the vagus nerve distributed to the skin, innervating the cavum concha and the cymba concha. In this application, transauricular vagus nerve stimulation can also be referred to as auricular vagus nerve. The two are essentially the same and can be distinguished.
[0042] Furthermore, the closed-loop vagus nerve regulation through the ear canal in the present application refers to adjusting the pattern of ear vagus nerve stimulation for the subject based on the subject's state of consciousness during ear vagus nerve stimulation, and determining the ear vagus nerve stimulation that matches the subject's state, that is, adjusting the ear vagus nerve stimulation based on the subject's state so that appropriate ear vagus nerve stimulation can be set for each subject in different states of consciousness, thereby achieving a closed loop of vagus nerve regulation through the ear canal.
[0043] It should be noted that in the present application, closed-loop vagus nerve regulation through the ear canal is mainly used to adjust the insomnia symptoms of the subjects.
[0044] See also Figure 1 , Figure 1 A schematic diagram of a scenario of closed-loop vagus nerve regulation through the ear canal provided in an embodiment of the present application.
[0045] like Figure 1 As shown, when the subject is subjected to closed-loop vagus nerve regulation through the ear canal, the ear vagus nerve stimulation module and the in-ear EEG acquisition module in the closed-loop vagus nerve regulation device through the ear canal need to contact the subject's ear, so that the ear vagus nerve of the subject is stimulated by the ear vagus nerve stimulation module, and the in-ear EEG acquisition module collects the subject's in-ear EEG signal. Specifically, through the two electrode points in the ear vagus nerve stimulation module (such as Figure 1 The subjects were subjected to ear vagus nerve stimulation by using two differential electrodes and a ground electrode (as shown in the figure) in the in-ear EEG acquisition module. Figure 1 The first in-ear EEG acquisition channel, the second in-ear EEG acquisition channel, and the in-ear EEG grounding channel shown in the figure collect the in-ear EEG signals of the subject; finally, Figure 1 The processing module in the device determines the subject's state of consciousness, and based on the state of consciousness, performs ear vagus nerve stimulation on the subject through the ear vagus nerve stimulation module. In the present application, the ear vagus nerve stimulation module and the in-ear EEG acquisition module can be integrated into a wearable device. Figure 2 As shown, the wearable device includes a positive stimulation electrode and a negative stimulation electrode of the ear vagus nerve stimulation module; and a first ear EEG acquisition channel, a second ear EEG acquisition channel, and an ear EEG grounding channel of the ear EEG acquisition module. When the ear vagus nerve is regulated on the subject, the subject can wear Figure 2 The wearable device shown collects the subject's intra-ear EEG signals through the first intra-ear EEG collection channel, the second intra-ear EEG collection channel and the intra-ear EEG grounding channel in the wearable device. The first intra-ear EEG collection channel and the second intra-ear EEG collection channel constitute two differential electrodes, the intra-ear EEG grounding channel is the ground electrode, and the current is sent through the stimulation positive electrode in the wearable device to stimulate the ear vagus nerve of the subject.
[0046] Further, Figure 2 The wearable device and processing module shown can integrate a closed-loop vagus nerve regulation device through the ear canal. Specifically, the in-ear EEG acquisition module in the wearable device acquires multiple first in-ear EEG signals of the subject, and the processing module obtains the multiple first in-ear EEG signals, and determines the first threshold corresponding to the first Delta wave, the second threshold corresponding to the first Alpha wave, and the third threshold corresponding to the first Beta wave in the multiple first in-ear EEG signals based on the multiple first in-ear EEG signals; then, the ear vagus nerve stimulation module in the wearable device performs ear vagus nerve stimulation on the subject for a first preset time, and after the ear vagus nerve stimulation is performed on the subject for the first preset time, the ear EEG acquisition module in the wearable device acquires the second in-ear EEG signal of the subject; finally, the processing module determines the subject's state of consciousness based on the second in-ear EEG signal, the first threshold, the second threshold, and the third threshold, and performs ear vagus nerve stimulation on the subject based on the state of consciousness.
[0047] It should be noted that the ear vagus nerve stimulation module, the intra-ear EEG acquisition module and the processing module in the present application can exist independently or be integrated into one processing unit, and the present application does not make any specific limitations thereon.
[0048] See also Figure 3 , Figure 3 A schematic diagram of a trans-aural closed-loop vagus nerve regulation device provided in an embodiment of the present application.
[0049] like Figure 3 As shown, the closed-loop vagus nerve regulation device through the ear canal includes an ear vagus nerve stimulation module, an intra-ear EEG acquisition module and a processing module.
[0050] Exemplarily, before the ear vagus nerve of the subject is regulated, the in-ear EEG acquisition module acquires multiple first in-ear EEG signals of the subject. Specifically, the number of the multiple first in-ear EEG signals is a preset number, and the in-ear EEG signals of the subject in a sober and calm state are first acquired. When the in-ear EEG acquisition module acquires the in-ear EEG signals, each segment of the in-ear EEG signals acquired will be subjected to noise discrimination by the processing module. If it is determined that the in-ear EEG signal is a noise segment, the noise segment of the in-ear EEG signal is discarded; if it is determined that the in-ear EEG signal is a non-noise segment, the non-noise segment of the in-ear EEG signal is used as the first in-ear EEG signal, until a preset number of multiple first in-ear EEG signals are acquired, wherein the duration of the multiple first in-ear EEG signals is the same.
[0051] Further, the processing module performs noise discrimination on the collected intra-ear EEG signal, including: determining the first energy of the first Beta wave and the second energy of the first Delta wave in the intra-ear EEG signal, if the first energy is greater than the second energy, the intra-ear EEG signal is a noise segment, which should be eliminated and not used as the first intra-ear EEG signal for subsequent threshold determination; if the first energy is less than the second energy, the intra-ear EEG signal is a non-noise segment, which should be retained as the first intra-ear EEG signal for subsequent threshold determination. In EEG analysis, noise segments usually refer to those time periods that do not contain useful neurophysiological information. If the energy of the first Beta wave is higher than that of the first Delta wave, this high-energy Beta activity may be caused by external interference or muscle activity, and is therefore not considered to be a true signal reflecting normal brain function. If the energy of the first Beta wave is abnormally elevated, this may be due to interference caused by muscle activity, electrode movement or other non-EEG activities. In this case, this part of the data may not be suitable for clinical evaluation or research purposes. Therefore, if the energy of the first Beta wave is higher than that of the first Delta wave, attention should be paid to checking whether there is an interference source, and considering excluding these noise segments to improve the accuracy of data analysis.
[0052] Exemplarily, after collecting a preset number of multiple first intra-ear EEG signals, the processing module obtains the multiple first intra-ear EEG signals, and based on the multiple first intra-ear EEG signals, determines the first threshold corresponding to the first Delta wave, the second threshold corresponding to the first Alpha wave, and the third threshold corresponding to the first Beta wave in the multiple first intra-ear EEG signals. Specifically including: denoising the multiple first intra-ear EEG signals to obtain multiple denoised first intra-ear EEG signals. Band-pass filtering the multiple denoised first intra-ear EEG signals to obtain multiple eighth intra-ear EEG signals corresponding to the first Delta wave, multiple ninth intra-ear EEG signals corresponding to the first Alpha wave, and multiple tenth intra-ear EEG signals corresponding to the first Beta wave.
[0053] First, multiple first-ear EEG signals are denoised to obtain multiple first-ear EEG signals after denoising, including: performing 50Hz notch filtering and 0.5-30Hz bandpass filtering on each of the multiple first-ear EEG signals. A bandstop filter is designed, and parameters are set to filter out 50Hz power frequency noise, remove 50Hz power line noise and its harmonics mixed in the first-ear EEG signal, which will have a significant impact on the first-ear EEG signal, covering or distorting the real signal of brain activity. By notch filtering, this external interference can be effectively reduced, thereby improving the quality and reliability of the first-ear EEG signal data. Using digital filtering technology, the low cutoff frequency is set to 0.5Hz and the high cutoff frequency is set to 30Hz through a bandpass filter. In order to retain Delta (0.5-4Hz), Alpha (8-12Hz) and Beta (15-30Hz), at the same time, this step also removes possible high-frequency noise and low-frequency drift, making data analysis more focused and clear.
[0054] Then, the multiple first-ear EEG signals after denoising are bandpass filtered, specifically, each first-ear EEG signal after denoising is bandpass filtered through a second-order bandpass filter, and multiple eighth-ear EEG signals corresponding to the first Delta wave (0.5-4Hz), multiple ninth-ear EEG signals corresponding to the first Alpha wave (8-12Hz), and multiple tenth-ear EEG signals corresponding to the first Beta wave (15-30Hz) are obtained.
[0055] Further, based on multiple eighth intra-auricular EEG signals, multiple ninth intra-auricular EEG signals, and multiple tenth intra-auricular EEG signals, a first threshold, a second threshold, and a third threshold are determined respectively.
[0056] Specifically, based on multiple eighth intra-ear EEG signals, a first threshold is determined, including windowing each eighth intra-ear EEG signal based on a first preset window to obtain multiple eighth intra-ear EEG signal segments corresponding to each eighth intra-ear EEG signal. The first preset window is slid along the timing direction of each eighth intra-ear EEG signal with a first preset step length to obtain multiple eighth intra-ear EEG signal segments corresponding to each eighth intra-ear EEG signal, wherein, because the first Delta wave fluctuates at a lower frequency, therefore, in order to fully reflect the change characteristics of the first Delta wave, the length of the first preset window should be greater than the preset threshold. The fifth standard deviation of the multiple eighth intra-ear EEG signal segments corresponding to each eighth intra-ear EEG signal is obtained. An example is given to determine the fifth standard deviation of the multiple eighth intra-ear EEG signal segments corresponding to the i-th eighth intra-ear EEG signal, wherein the i-th eighth intra-ear EEG signal is any one of the multiple eighth intra-ear EEG signals. Determine the sum of squares of the amplitudes of each eighth intra-auricular EEG signal segment in the ith eighth intra-auricular EEG signal, wherein the sum of squares represents the total energy of the corresponding eighth intra-auricular EEG signal segment; determine the standard deviation between the sum of squares of the amplitudes of each eighth intra-auricular EEG signal segment in the ith eighth intra-auricular EEG signal, thereby obtaining the fifth standard deviation of the ith eighth intra-auricular EEG signal.
[0057] Based on the fifth standard deviation of the multiple eighth intra-auricular EEG signal segments corresponding to each eighth intra-auricular EEG signal, the first average standard deviation of the multiple eighth intra-auricular EEG signals and the sixth standard deviation of the multiple eighth intra-auricular EEG signals are determined. That is, the fifth standard deviation corresponding to each eighth intra-auricular EEG signal is averaged to obtain the first average standard deviation of the multiple eighth intra-auricular EEG signals, and based on the fifth standard deviation corresponding to each eighth intra-auricular EEG signal, the standard deviation is calculated again to obtain the sixth standard deviation of the multiple eighth intra-auricular EEG signals.
[0058] The first threshold is determined based on the first average standard deviation and k times the sixth standard deviation. Specifically, the sum of the first average standard deviation and k times the sixth standard deviation can be used as the first threshold, or the difference between the first average standard deviation and k times the sixth standard deviation can be used as the first threshold.
[0059] It should be noted that in the present application, the first threshold value is used to determine whether the subject has entered a sleeping state. If the subject has entered a sleeping state, the first Delta wave should fluctuate greatly according to the changing properties of the first Delta wave when the subject enters a sleeping state from a waking state. Because the first average standard deviation is measured by the subject when the subject is awake, therefore, when judging whether the subject has entered a sleeping state, the difference between the first threshold value and the first average standard deviation should be as large as possible. In other words, the first threshold value cannot be determined solely based on the first average standard deviation as a basis for judging whether the subject has entered sleep. Because, if it is only greater than the first average standard deviation, it does not mean that the first Delta wave has fluctuated greatly, that is, it cannot be judged that the subject has entered a sleeping state.
[0060] Further, the sum of the first average standard deviation and k times the sixth standard deviation, or the difference between the first average standard deviation and k times the sixth standard deviation, is used as the first threshold. The sixth standard deviation represents the degree of fluctuation of the fifth standard deviation corresponding to the multiple eighth intra-auricular EEG signals. In order for the first threshold to have the function of judging whether the first Delta wave has a large fluctuation, the first threshold should be significantly higher than the maximum value of the fifth standard deviation of the multiple eighth intra-auricular EEG signals, or significantly lower than the minimum value of the fifth standard deviation of the multiple eighth intra-auricular EEG signals. Therefore, the absolute value of the difference between the first threshold and the maximum value in the fifth standard deviation, or the absolute value of the difference between the first threshold and the minimum value in the fifth standard deviation, should be greater than the fourth threshold and less than the fifth threshold. For example, k can be set to 8, 10, 12, etc. to ensure that the first threshold is significantly higher than the maximum value of the fifth standard deviation of the multiple eighth intra-auricular EEG signals, or significantly lower than the minimum value of the fifth standard deviation of the multiple eighth intra-auricular EEG signals. The fourth threshold and the fifth threshold are used to ensure that the absolute value of the difference between the first threshold and the maximum value in the fifth standard deviation, or the absolute value of the difference between the first threshold and the minimum value in the fifth standard deviation, are both within the range of the fourth threshold to the fifth threshold.
[0061] It can be seen that in the embodiment of the present application, the first threshold is determined based on the first average standard deviation and k times the sixth standard deviation, so that the first threshold is significantly higher than the maximum value of the fifth standard deviation of multiple eighth intra-auricular EEG signals, or significantly lower than the minimum value of the fifth standard deviation of multiple eighth intra-auricular EEG signals, so that the first threshold can have the function of judging whether the first Delta wave has a large fluctuation, thereby improving the accuracy of determining the first threshold, so as to further improve the accuracy of determining the subject's state of consciousness.
[0062] Based on the second preset window, each ninth intra-ear EEG signal is windowed to obtain multiple ninth intra-ear EEG signal segments corresponding to each ninth intra-ear EEG signal, wherein the length of the first preset window is greater than the length of the second preset window, because the eighth intra-ear EEG signal is the first Delta wave, and the ninth intra-ear EEG signal is the first Alpha wave, the first Delta wave fluctuates at a lower frequency, and the first Alpha wave fluctuates at a higher frequency, therefore, a shorter preset window length can reflect the variation characteristics of the first Alpha wave, so the length of the second preset window is less than the length of the first preset window. Obtain the seventh standard deviation of the multiple ninth intra-ear EEG signal segments corresponding to each ninth intra-ear EEG signal; based on the seventh standard deviation of the multiple ninth intra-ear EEG signal segments corresponding to each ninth intra-ear EEG signal, determine the second average standard deviation of the multiple ninth intra-ear EEG signals, and the eighth standard deviation of the multiple ninth intra-ear EEG signals. It should be noted that the method for determining the second average standard deviation of multiple ninth intra-ear EEG signals and the eighth standard deviation of multiple ninth intra-ear EEG signals is similar to the aforementioned method for determining the first average standard deviation of multiple eighth intra-ear EEG signals and the sixth standard deviation of multiple eighth intra-ear EEG signals, and this application will not elaborate on them here.
[0063] The second threshold is determined based on the second average standard deviation and n times the eighth standard deviation, where k is greater than n. Specifically, the sum of the second average standard deviation and n times the eighth standard deviation can be used as the second threshold, or the difference between the second average standard deviation and n times the eighth standard deviation can be used as the second threshold.
[0064] Based on the third preset window, each tenth intra-auricular EEG signal is windowed to obtain multiple tenth intra-auricular EEG signal segments corresponding to each tenth intra-auricular EEG signal, wherein the length of the first preset window is greater than the length of the third preset window, because the eighth intra-auricular EEG signal is the first Delta wave, and the tenth intra-auricular EEG signal is the first Beta wave, the first Delta wave fluctuates at a lower frequency, and the first Beta wave fluctuates at a higher frequency, therefore, a shorter preset window length can reflect the variation characteristics of the first Beta wave, so the length of the third preset window is less than the length of the first preset window. Obtain the ninth standard deviation of the multiple tenth intra-auricular EEG signal segments corresponding to each tenth intra-auricular EEG signal; based on the ninth standard deviation of the multiple tenth intra-auricular EEG signal segments corresponding to each tenth intra-auricular EEG signal, determine the third average standard deviation of the multiple tenth intra-auricular EEG signals, and the tenth standard deviation of the multiple tenth intra-auricular EEG signals. It should be noted that the method for determining the third average standard deviation of multiple tenth intra-ear EEG signals and the tenth standard deviation of multiple tenth intra-ear EEG signals is similar to the method for determining the first average standard deviation of multiple eighth intra-ear EEG signals and the sixth standard deviation of multiple eighth intra-ear EEG signals, and this application will not elaborate on them here.
[0065] The third threshold is determined based on the third average standard deviation and m times the tenth standard deviation, where k is greater than m. Specifically, the sum of the third average standard deviation and m times the tenth standard deviation can be used as the third threshold, or the difference between the third average standard deviation and m times the tenth standard deviation can be used as the third threshold.
[0066] It should be noted that in the present application, the second threshold and the third threshold are used to determine whether the subject is in a sober state, because the first Alpha wave and the first Beta wave are typical waveforms of the brain in a sober state. Therefore, it is possible to determine whether the subject is in a sober state based solely on the second threshold or the third threshold. Because the subject is in a sober state when calculating the second threshold and the third threshold, therefore, when using the second threshold or the third threshold to determine whether the subject is in a sober state, the second threshold should be as close as possible to the second average standard deviation of the subject in a sober state, and the third threshold should be as close as possible to the third average standard deviation of the subject in a sober state. Therefore, m and n should be as small as possible and both less than k. Therefore, the absolute value of the difference between the second threshold and the second average standard deviation, or the absolute value of the difference between the third threshold and the third average standard deviation should be less than the sixth threshold. For example, m or n can be 0, 2, etc. So that the second threshold is close to the second average standard deviation of the subject in the awake state, and the third threshold is close to the third average standard deviation of the subject in the awake state, wherein the sixth threshold is used to ensure that the absolute value of the difference between the second threshold and the second average standard deviation, or the absolute value of the difference between the third threshold and the third average standard deviation is less than the sixth threshold.
[0067] It can be seen that in the embodiment of the present application, multiple first intra-ear EEG signals of the subject are collected, and based on the multiple first intra-ear EEG signals, the first threshold corresponding to the first Delta wave, the second threshold corresponding to the first Alpha wave, and the third threshold corresponding to the first Beta wave in the multiple first intra-ear EEG signals are determined. The first threshold, the second threshold, and the third threshold are determined for each subject without receiving ear vagus nerve stimulation, and the adaptability of the first threshold, the second threshold, and the third threshold to each subject is improved, so as to accurately determine the state of consciousness of each subject in the subsequent steps.
[0068] Exemplarily, the ear vagus nerve stimulation module performs ear vagus nerve stimulation on the subject for a first preset duration. After the subject receives the ear vagus nerve stimulation for the first preset duration, the stimulation is stopped, and the intra-ear EEG acquisition module starts to acquire the subject's second intra-ear EEG signal, and determines the subject's state of consciousness based on the second intra-ear EEG signal, the first threshold, the second threshold, and the third threshold; then, based on the state of consciousness, the ear vagus nerve is stimulated on the subject.
[0069] Specifically, the subject's state of consciousness is determined based on the second intra-ear EEG signal, the first threshold, the second threshold, and the third threshold.
[0070] If the current moment satisfies the calculation condition, the third ear EEG signal of the second preset time length before the current moment and the fourth ear EEG signal of the third preset time length are obtained from the second ear EEG signal, wherein the third preset time length is less than the second preset time length. It should be noted that the calculation condition refers to the length of the second ear EEG signal reaching the second preset time length, wherein the third ear EEG signal is used to perform feature calculations on the second Delta wave, and the fourth ear EEG signal is used to perform feature calculations on the second Alpha wave and the second Beta wave, because the Delta wave fluctuates at a lower frequency, while the Alpha wave and the Beta wave fluctuate at a higher frequency, therefore, compared to the Alpha wave and the Beta wave, the Delta wave needs to collect a longer EEG signal to fully reflect the fluctuation characteristics of the Delta wave, so the third preset time length is less than the second preset time length. Further, in order to enable the obtained EEG signal to fully represent the fluctuation frequency of the corresponding wave, therefore, it is necessary to start judging the subject's state of consciousness only when the length of the second ear EEG signal reaches the second preset time length.
[0071] Specifically, the third ear electroencephalogram signal and the fourth ear electroencephalogram signal are denoised to obtain a denoised third ear electroencephalogram signal and a denoised fourth ear electroencephalogram signal; the denoised third ear electroencephalogram signal is band-pass filtered to obtain a fifth ear electroencephalogram signal corresponding to the second Delta wave;
[0072] The denoised fourth intra-auricular EEG signal is band-pass filtered to obtain a sixth intra-auricular EEG signal corresponding to the second Alpha wave and a seventh intra-auricular EEG signal corresponding to the second Beta wave. It should be noted that the specific denoising and band-pass filtering methods are similar to the aforementioned denoising of multiple first intra-auricular EEG signals and the band-pass filtering of multiple first intra-auricular EEG signals after denoising, and are not described in detail in this application.
[0073] Determine the first standard deviation of the fifth ear electroencephalogram signal, the second standard deviation of the sixth ear electroencephalogram signal, and the third standard deviation of the seventh ear electroencephalogram signal. Specifically, average the amplitude of the fifth ear electroencephalogram signal at each moment within the second preset time length, convert the amplitude into a positive number, and then calculate the standard deviation of the averaged amplitude to obtain the first standard deviation of the fifth ear electroencephalogram signal. It should be noted that the calculation method of the second standard deviation and the third standard deviation is similar to the calculation method of the first standard deviation, and this application will not repeat them here.
[0074] Optionally, the subject's state of consciousness is determined based on the first standard deviation, the second standard deviation, the third standard deviation, the first threshold, the second threshold, and the third threshold.
[0075] If the second standard deviation is greater than the second threshold, or the third standard deviation is greater than the third threshold, the subject's state of consciousness is determined to be awake. At the current moment, if the second standard deviation is greater than the second threshold, or the third standard deviation is greater than the third threshold, it means that the second Alpha wave in the EEG signal in the sixth ear or the second Beta wave in the EEG signal in the seventh ear is relatively active, and therefore the subject is in an awake state.
[0076] If the first standard deviation is greater than the first threshold, the subject's state of consciousness is determined to be a sleeping state. At the current moment, if the first standard deviation is greater than the first threshold, it means that the amplitude of the second Delta wave of the EEG signal in the fifth ear has significantly increased. Therefore, it can be determined that the subject is in a sleeping state, but it is still necessary to further determine whether it is a non-slow-wave sleep state or a slow-wave sleep state.
[0077] Furthermore, if the first standard deviation is greater than the first threshold, the fourth standard deviation of each moment within the fourth preset time length after the current moment is obtained in sequence. If the fourth standard deviation of each moment is greater than the first threshold, the subject's state of consciousness is determined to be a slow-wave sleep state; if the fourth standard deviation of any moment is less than the first threshold, the subject's state of consciousness is determined to be a non-slow-wave sleep state. It should be noted that the method of obtaining the fourth standard deviation of each moment within the fourth preset time length after the current moment is similar to the method of obtaining the first standard deviation of the current moment, and this application will not be repeated here.
[0078] For example, in the present application, it can be obtained moment by moment. In the present application, the second is used as the smallest division unit of the moment for example. If the current moment is the 6th second, and the current moment meets the calculation conditions, and it is determined that the first standard deviation corresponding to the current moment is greater than the first threshold, then the next moment of the current moment is obtained, that is, the fourth standard deviation of the seventh second is obtained, and the fourth standard deviation of the seventh second is judged. If the fourth standard deviation of the seventh second is less than the first threshold, then the fourth standard deviation of the eighth second is stopped, and the subject's state of consciousness is directly determined to be a non-slow-wave sleep state. If the fourth standard deviation of the seventh second is greater than the first threshold, the fourth standard deviation of the eighth second is continued to be obtained, and the fourth standard deviation of the eighth second is judged. If it is determined that the fourth standard deviation of each moment within the fourth preset time is greater than the first threshold, then the subject's state of consciousness is determined to be a slow-wave sleep state. This real-time method for determining the state of consciousness can speed up the efficiency of state determination, so as to further speed up the efficiency of ear vagus nerve regulation.
[0079] Exemplarily, after the processing module determines the subject's state of consciousness, the processing module performs auricular vagus nerve stimulation on the subject through the auricular vagus nerve stimulation module based on the state of consciousness.
[0080] Optionally, if the state of consciousness is awake, the collection of EEG signals in the ear is stopped, and the ear vagus nerve is stimulated in the first stimulation mode by the ear vagus nerve stimulation module until the first stimulation mode ends, and the EEG signals in the ear are continued to be collected to re-determine the state of consciousness of the subject. If the subject is still in an awake state, it means that the subject still needs greater intensity and longer time of ear vagus nerve stimulation before falling asleep. Therefore, the stimulation duration and stimulation intensity of the first stimulation mode are greater than those of the second stimulation mode.
[0081] It should be noted that the method for re-determining the subject's state of consciousness is similar to the aforementioned method for determining the subject's state of consciousness, and this application will not repeat them here. That is, after the first stimulation mode ends, the subject's state of consciousness will continue to be determined, and based on the state of consciousness, the subject's ear vagus nerve will be stimulated through the ear vagus nerve stimulation module. It should be noted that the method for stimulating the subject's ear vagus nerve through the ear vagus nerve stimulation module based on the state of consciousness is similar to the aforementioned method for stimulating the subject's ear vagus nerve based on the state of consciousness, and this application will not repeat them here.
[0082] Optionally, if the state of consciousness is a non-slow-wave sleep state, the collection of EEG signals in the ear is stopped, and the ear vagus nerve is stimulated in a second stimulation mode through the ear vagus nerve stimulation module, wherein the stimulation duration of the first stimulation mode is greater than the stimulation duration of the second stimulation mode, and after the second stimulation mode ends, the EEG signals in the ear are continued to be collected to re-determine the subject's state of consciousness. If the subject is in a non-slow-wave sleep state, it means that the subject has entered a sleep state, but has not yet entered a slow-wave sleep state. Therefore, the subject does not need a higher intensity and longer duration of ear vagus nerve stimulation. On the contrary, a higher intensity and longer duration of ear vagus nerve stimulation may affect the subject's sleep. Therefore, the subject only needs to be stimulated in a second stimulation mode of lighter intensity and shorter duration to help the subject enter a slow-wave sleep state.
[0083] It should be noted that the method for determining the subject's state of consciousness again is similar to the method for determining the subject's state of consciousness described above, and this application will not repeat it here. That is, after the second stimulation mode ends, the subject's state of consciousness will continue to be determined, and based on the state of consciousness, the subject's ear vagus nerve will be stimulated through the ear vagus nerve stimulation module.
[0084] Optionally, if the state of consciousness is a slow-wave sleep state, stop stimulating the ear vagus nerve of the subject, and continue to collect intra-ear EEG signals to re-determine the subject's state of consciousness, so as to switch to the first stimulation mode or the second stimulation mode, and stimulate the ear vagus nerve of the subject. After the subject enters a slow-wave sleep state, in order to avoid affecting the subject's sleep, the ear vagus nerve should not be stimulated, but the ear EEG signal should continue to be collected through the intra-ear EEG acquisition module to determine the subject's state of consciousness, so that if the subject enters a wakeful state or a non-slow-wave conscious state, it can be switched to the first stimulation mode or the second stimulation mode in time to stimulate the ear vagus nerve of the subject, thereby helping the subject to enter a slow-wave sleep state again.
[0085] It can be seen that in the embodiment of the present application, if the subject is in a wakeful state, it means that the subject still needs a greater intensity and a longer time of ear vagus nerve stimulation before falling asleep. Therefore, the stimulation duration and stimulation intensity of the first stimulation mode are greater than those of the second stimulation mode; if the subject is in a non-slow-wave sleep state, it means that the subject has entered a sleep state, but has not yet entered a slow-wave sleep state. Therefore, the subject does not need a greater intensity and a longer time of ear vagus nerve stimulation. On the contrary, a greater intensity and a longer time of ear vagus nerve stimulation may also affect the subject's sleep. Therefore, only a lighter intensity and a shorter time of the second stimulation mode is required to stimulate the ear vagus nerve of the subject. After the subject enters a slow-wave sleep state, in order to avoid affecting the subject's sleep, the ear vagus nerve should not be stimulated, but the acquisition module should continue to collect the electroencephalogram signal in the ear to determine the subject's state of consciousness, so that if the subject enters a wakeful state or a non-slow-wave consciousness state, it can be switched to the first stimulation mode or the second stimulation mode in time to stimulate the ear vagus nerve of the subject, thereby helping the subject to fall asleep again. Therefore, in the present application, the ear vagus nerve stimulation is not performed continuously on the subject at a fixed time and fixed intensity. Instead, the ear vagus nerve stimulation is adjusted based on the subject's state of consciousness, so that appropriate ear vagus nerve stimulation can be set for each subject in different states of consciousness, thereby improving the therapeutic effect of the ear vagus nerve stimulation.
[0086] It should be noted that in the embodiment of the present application, the settings of k in the first threshold, m in the second threshold, and n in the third threshold are described.
[0087] k in the first threshold, m in the second threshold, and n in the third threshold are strongly correlated with the judgment of the subject's state of consciousness and the re-stimulation of the subject's ear vagus nerve.
[0088] Because if it is determined that the subject's state of consciousness is a sleeping state, the subject will only be stimulated by the second stimulation mode with a lighter stimulation intensity and a shorter stimulation duration, or the subject will be stopped from being stimulated by the ear vagus nerve. Therefore, the value of k in the first threshold is crucial to the judgment of the subject's state of consciousness and the subsequent ear vagus nerve stimulation. The value of k in the first threshold depends on whether the judgment of the sleeping state is more stringent or loose, and whether it is more inclined to stimulate the ear vagus nerve of the subject in the first stimulation mode, or more inclined to stimulate the ear vagus nerve of the subject in the second stimulation mode, or to stop the ear vagus nerve stimulation. That is, the value of k can represent the tolerance for determining the sleeping state. If the judgment of the sleeping state is more stringent, that is, the lower the tolerance (that is, more inclined to stimulate the ear vagus nerve of the subject in the first stimulation mode), the value of k can be increased, and a higher first threshold can be set. If the judgment of the sleeping state is more loose, that is, the higher the tolerance (that is, more inclined to stimulate the ear vagus nerve of the subject in the second stimulation mode, or to stop the ear vagus nerve stimulation), the value of k can be reduced, and a lower first threshold can be set.
[0089] If it is determined that the subject's state of consciousness is awake, the subject's ear vagus nerve will be stimulated through the first stimulation mode with stronger stimulation intensity and longer stimulation duration. The values of m in the second threshold and n in the third threshold depend on whether the judgment of the awake state is more stringent or loose, and whether it is more inclined to stimulate the ear vagus nerve of the subject with the first stimulation mode, or more inclined to stimulate the ear vagus nerve of the subject with the second stimulation mode, or to stop vagus nerve stimulation. If the judgment of the awake state is more stringent (that is, it is more inclined to stimulate the ear vagus nerve of the subject with the second stimulation mode, or to stop vagus nerve stimulation), the value of m or n should be increased, and a higher second threshold or third threshold should be set; if the judgment of the awake state is more loose (that is, it is more inclined to stimulate the ear vagus nerve of the subject with the first stimulation mode), the value of m or n can be reduced, and a lower second threshold or third threshold can be set.
[0090] That is to say, if it is more inclined to stimulate the ear vagus nerve of the subject with the first stimulation mode, the value of k can be increased, a higher first threshold can be set, and the value of m or n can be lowered, and a lower second threshold or third threshold can be set; if it is more inclined to stimulate the ear vagus nerve of the subject with the second stimulation mode, or to stop ear vagus nerve stimulation, the value of k can be lowered, a lower first threshold can be set, and the value of m or n can be increased, and a higher second threshold or third threshold can be set.
[0091] In the embodiment of the present application, it can be seen that when determining k in the first threshold, m in the second threshold, and n in the third threshold, k in the first threshold, m in the second threshold, and n in the third threshold can be set based on whether it is more inclined to perform ear vagus nerve stimulation on the subject in the first stimulation mode, or more inclined to perform ear vagus nerve stimulation on the subject in the second stimulation mode, or to stop ear vagus nerve stimulation. If it is more inclined to perform ear vagus nerve stimulation on the subject in the first stimulation mode, the value of k can be increased, a higher first threshold can be set, and the value of m or n can be reduced, and a lower second threshold or third threshold can be set; the judgment of the sleep state of the subject can be made more stringent, that is, it is necessary to fully ensure that the ear vagus nerve is stimulated in the second stimulation mode or the stimulation is stopped after the subject enters the sleep state, so as to fully ensure the therapeutic effect of ear vagus nerve stimulation on the insomnia subject.
[0092] If it is more inclined to stimulate the ear vagus nerve of the subject with the second stimulation mode, or to stop ear vagus nerve stimulation, the value of k can be lowered, a lower first threshold can be set, and the value of m or n can be increased, and a higher second threshold or third threshold can be set; this can make the judgment of the subject's sleep state more relaxed, that is, as soon as the subject enters the sleep state, the ear vagus nerve will be stimulated with the second stimulation mode, or the stimulation will be stopped, which can improve the treatment efficiency and exercise the subject's own ability to regulate sleep.
[0093] It should be noted that the above-mentioned ear vagus nerve stimulation module, in-ear EEG acquisition module and processing module can be actual functional modules or logically divided functional modules, and this application does not limit this.
[0094] See also Figure 4 , Figure 4 A schematic flow chart of a closed-loop trans-auricular vagus nerve regulation method provided in an embodiment of the present application. The method is applied to the above-mentioned trans-auricular vagus nerve regulation device. The method includes but is not limited to the following steps:
[0095] S401: collecting multiple first-ear electroencephalogram signals of the subject;
[0096] S402: Based on the plurality of first intra-auricular electroencephalogram signals, determining a first threshold corresponding to a first Delta wave, a second threshold corresponding to a first Alpha wave, and a third threshold corresponding to a first Beta wave in the plurality of first intra-auricular electroencephalogram signals;
[0097] S403: performing ear vagus nerve stimulation on the subject for a first preset duration;
[0098] S404: After performing ear vagus nerve stimulation on the subject for a first preset time, collecting an electroencephalogram signal in a second ear of the subject;
[0099] S405: Determine the state of consciousness of the subject based on the second intra-ear EEG signal, the first threshold, the second threshold, and the third threshold;
[0100] S406: Based on the state of consciousness, the subject is subjected to auricular vagus nerve stimulation.
[0101] Among them, the specific implementation process of steps S401~S406 can refer to the specific functions of the above-mentioned ear vagus nerve stimulation module, in-ear EEG acquisition module and processing module, and will not be repeated here.
[0102] See also Figure 5 , Figure 5 It is a schematic diagram of an electronic device provided in an embodiment of the present application. Figure 5 The electronic device 500 shown may be the above-mentioned trans-aural closed-loop vagus nerve regulation device. Figure 5 The electronic device 500 shown includes a memory 501, a processor 502, a communication interface 503 and a bus 504. The memory 501, the processor 502 and the communication interface 503 are connected to each other through the bus 504.
[0103] Among them, the processor 502 can be integrated with the above-mentioned processing module functions, and is used to determine, based on multiple first intra-ear EEG signals, a first threshold corresponding to the first Delta wave, a second threshold corresponding to the first Alpha wave, and a third threshold corresponding to the first Beta wave in the multiple first intra-ear EEG signals; determine the subject's state of consciousness based on the second intra-ear EEG signal, the first threshold, the second threshold and the third threshold; and perform ear vagus nerve stimulation on the subject based on the state of consciousness.
[0104] The communication interface 503 may integrate the functions of the above-mentioned ear vagus nerve stimulation module and the in-ear EEG acquisition module, and is used to deliver ear vagus nerve stimulation to the subject and acquire in-ear EEG signals from the subject.
[0105] The memory 501 may be a read-only memory (ROM), a static storage device, a dynamic storage device or a random access memory (RAM). The memory 501 may store a program. When the program stored in the memory 501 is executed by the processor 502, the processor 502 and the communication interface 503 are used to execute the various steps of the closed-loop vagus nerve regulation method through the auditory canal of the embodiment of the present application.
[0106] The processor 502 can adopt a general central processing unit (CPU), a microprocessor, an application specific integrated circuit (ASIC), a graphics processing unit (GPU) or one or more integrated circuits to execute relevant programs to realize the functions required to be performed by the units in the transaural closed-loop vagus nerve regulation device, or to execute the transaural closed-loop vagus nerve regulation method of the method embodiment of the present application.
[0107] The processor 502 may also be an integrated circuit chip with signal processing capabilities. In the implementation process, each step in the closed-loop vagus nerve regulation method through the ear canal of the present application may be completed by an integrated logic circuit of hardware or software instructions in the processor 502. The above-mentioned processor 502 may also be a general-purpose processor, a digital signal processor (Digital Signal Processing, DSP), an application-specific integrated circuit (ASIC), a field programmable gate array (Field Programmable Gate Array, FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components. The methods, steps and logic block diagrams disclosed in the embodiments of the present application may be implemented or executed. The general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc. The steps of the method disclosed in the embodiments of the present application may be directly embodied as being executed by a hardware decoding processor, or may be executed by a combination of hardware and software modules in a decoding processor. The software module may be located in a mature storage medium in the art such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory or an electrically erasable programmable memory, a register, etc. The storage medium is located in the memory 501, and the processor 502 reads the information in the memory 501, and combines its hardware to complete the functions required to be performed by the units included in the transaural closed-loop vagus nerve regulation device of the embodiment of the present application, or executes the various steps in the transaural closed-loop vagus nerve regulation method of the method embodiment of the present application.
[0108] The communication interface 503 uses a transceiver such as, but not limited to, a transceiver, an input-output device, etc. to realize communication between the electronic device 500 and other devices or a communication network. For example, a preset number of multiple first intra-ear EEG signals of a subject can be collected through the communication interface 503. Specifically, when the communication interface 503 is an output device, it can be an ear vagus nerve stimulation module for performing ear vagus nerve stimulation on the subject for a first preset duration; when the communication interface 503 is an input device, it can be the above-mentioned intra-ear EEG collection module to collect a preset number of multiple first intra-ear EEG signals of the subject.
[0109] The bus 504 may include a path for transmitting information between various components of the device electronic device 500 (eg, the memory 501 , the processor 502 , the communication interface 503 ).
[0110] It should be noted that although Figure 5 The electronic device 500 shown only shows a memory, a processor, and a communication interface, but in the specific implementation process, those skilled in the art should understand that the electronic device 500 also includes other devices necessary for normal operation. At the same time, according to specific needs, those skilled in the art should understand that the electronic device 500 may also include hardware devices for implementing other additional functions. In addition, those skilled in the art should understand that the electronic device 500 may also only include the devices necessary to implement the embodiments of the present application, and does not necessarily include Figure 5 All devices shown in .
[0111] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0112] In the several embodiments provided in the present application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of units is only a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0113] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0114] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
[0115] If the function is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application can essentially or in other words, the part that contributes to the prior art or the part of the technical solution can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, server, or network device, etc.) to execute all or part of the steps of the various embodiments of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), disk or optical disk, and other media that can store program codes.
[0116] The above are only specific implementations of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
[0117] An embodiment of the present application also provides a computer-readable storage medium, which stores a computer program. The computer program is executed by a processor to implement part or all of the steps of any one of the trans-aural closed-loop vagus nerve regulation methods described in the above method embodiments.
[0118] An embodiment of the present application also provides a computer program product, which includes a non-transitory computer-readable storage medium storing a computer program, and the computer program is operable to cause a computer to execute part or all of the steps of any one of the trans-aural closed-loop vagus nerve regulation methods recorded in the above method embodiments.
[0119] It should be noted that, for the aforementioned method embodiments, for the sake of simplicity, they are all expressed as a series of action combinations, but those skilled in the art should be aware that the present application is not limited by the described order of actions, because according to the present application, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all optional embodiments, and the actions and modules involved are not necessarily required by the present application.
[0120] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0121] In the several embodiments provided in the present application, it should be understood that the disclosed devices can be implemented in other ways. For example, the device embodiments described above are only schematic, such as the division of units, which is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, and the indirect coupling or communication connection of devices or units can be electrical or other forms.
[0122] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0123] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above integrated unit may be implemented in the form of hardware or in the form of a software program module.
[0124] If the integrated unit is implemented in the form of a software program module and sold or used as an independent product, it can be stored in a computer-readable memory. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product. The computer software product is stored in a memory, including a number of instructions to enable a computer device (which can be a personal computer, server or network device, etc.) to execute all or part of the steps of the various embodiments of the present application. The aforementioned memory includes: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, RandomAccess Memory), mobile hard disk, disk or optical disk and other media that can store program codes.
[0125] Those skilled in the art will appreciate that all or part of the steps in the various methods of the above embodiments may be completed by instructing related hardware through a program, and the program may be stored in a computer-readable memory, which may include a flash drive, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, etc.
[0126] The embodiments of the present application are introduced in detail above. Specific examples are used in this article to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the method of the present application and its core idea. At the same time, for those skilled in the art, according to the idea of the present application, there will be changes in the specific implementation methods and application scope. In summary, the content of this specification should not be understood as a limitation on the present application.
Claims
1. A closed-loop vagus nerve regulation device through the ear canal, characterized in that: The device includes an ear vagus nerve stimulation module, an in-ear EEG acquisition module, and a processing module; The in-ear EEG acquisition module is used to acquire a plurality of first in-ear EEG signals of the subject; The processing module is used to determine, based on the multiple first intra-auricular electroencephalogram signals, a first threshold corresponding to the first Delta wave, a second threshold corresponding to the first Alpha wave, and a third threshold corresponding to the first Beta wave in the multiple first intra-auricular electroencephalogram signals, specifically for: De-noising the plurality of first intra-auricular electroencephalogram signals to obtain a plurality of first intra-auricular electroencephalogram signals after de-noising; Performing bandpass filtering on the denoised multiple first intra-auricular EEG signals to obtain multiple eighth intra-auricular EEG signals corresponding to the first Delta wave, multiple ninth intra-auricular EEG signals corresponding to the first Alpha wave, and multiple tenth intra-auricular EEG signals corresponding to the first Beta wave; Windowing each eighth intra-auricular electroencephalogram signal based on the first preset window to obtain a plurality of eighth intra-auricular electroencephalogram signal segments corresponding to each eighth intra-auricular electroencephalogram signal; Obtaining a fifth standard deviation of a plurality of eighth intra-auricular electroencephalogram signal segments corresponding to each eighth intra-auricular electroencephalogram signal; Determine a first average standard deviation of the plurality of eighth intra-auricular EEG signals and a sixth standard deviation of the plurality of eighth intra-auricular EEG signals based on a fifth standard deviation of the plurality of eighth intra-auricular EEG signal segments corresponding to each eighth intra-auricular EEG signal; determining the first threshold based on the first average standard deviation and k times the sixth standard deviation; Windowing each ninth intra-ear EEG signal based on the second preset window to obtain a plurality of ninth intra-ear EEG signal segments corresponding to each ninth intra-ear EEG signal, wherein the length of the first preset window is greater than the length of the second preset window; Obtaining the seventh standard deviation of a plurality of ninth intra-auricular electroencephalogram signal segments corresponding to each ninth intra-auricular electroencephalogram signal; Determine a second average standard deviation of the plurality of ninth intra-auricular EEG signals and an eighth standard deviation of the plurality of ninth intra-auricular EEG signals based on a seventh standard deviation of the plurality of ninth intra-auricular EEG signal segments corresponding to each ninth intra-auricular EEG signal; determining the second threshold based on the second average standard deviation and n times the eighth standard deviation, wherein k is greater than n; Windowing each tenth intra-auricular electroencephalogram signal based on a third preset window to obtain a plurality of tenth intra-auricular electroencephalogram signal segments corresponding to each tenth intra-auricular electroencephalogram signal, wherein the length of the first preset window is greater than the length of the third preset window; Obtaining a ninth standard deviation of a plurality of tenth intra-auricular electroencephalogram signal segments corresponding to each tenth intra-auricular electroencephalogram signal; Determine a third average standard deviation of the plurality of tenth intra-auricular EEG signals and a tenth standard deviation of the plurality of tenth intra-auricular EEG signals based on a ninth standard deviation of the plurality of tenth intra-auricular EEG signal segments corresponding to each tenth intra-auricular EEG signal; Determining the third threshold based on the third average standard deviation and m times the tenth standard deviation, wherein k is greater than m; The ear vagus nerve stimulation module is used to perform ear vagus nerve stimulation on the subject for a first preset duration; The in-ear EEG acquisition module is further used to acquire a second in-ear EEG signal of the subject after the subject is subjected to the auricular vagus nerve stimulation for the first preset time period; The processing module is further used to determine the state of consciousness of the subject based on the second intra-ear EEG signal, the first threshold, the second threshold, and the third threshold, specifically for: If the current moment satisfies the calculation condition, obtaining a third intra-ear EEG signal of a second preset time length before the current moment and a fourth intra-ear EEG signal of a third preset time length from the second intra-ear EEG signal, wherein the third preset time length is less than the second preset time length; De-noising the third intra-auricular electroencephalogram signal and the fourth intra-auricular electroencephalogram signal to obtain a de-noised third intra-auricular electroencephalogram signal and a de-noised fourth intra-auricular electroencephalogram signal; Band-pass filtering is performed on the denoised third ear electroencephalogram signal to obtain the fifth ear electroencephalogram signal corresponding to the second Delta wave; Band-pass filtering is performed on the denoised fourth ear EEG signal to obtain the sixth ear EEG signal corresponding to the second Alpha wave and the seventh ear EEG signal corresponding to the second Beta wave; Determine a first standard deviation of the fifth intra-auricular electroencephalogram signal, a second standard deviation of the sixth intra-auricular electroencephalogram signal, and a third standard deviation of the seventh intra-auricular electroencephalogram signal; determining the state of consciousness based on the first standard deviation, the second standard deviation, the third standard deviation, the first threshold, the second threshold, and the third threshold; The processing module is further used to perform auricular vagus nerve stimulation on the subject through the auricular vagus nerve stimulation module based on the state of consciousness.
2. The device according to claim 1, characterized in that In determining the state of consciousness based on the first standard deviation, the second standard deviation, the third standard deviation, the first threshold, the second threshold, and the third threshold, the processing module is specifically configured to: If the second standard deviation is greater than the second threshold, or the third standard deviation is greater than the third threshold, determining that the state of consciousness is a wakeful state; If the first standard deviation is greater than the first threshold, it is determined that the consciousness state is a sleeping state.
3. The device according to claim 2, characterized in that In terms of determining that the state of consciousness is a sleep state if the first standard deviation is greater than the first threshold, the processing module is specifically configured to: If the first standard deviation is greater than the first threshold, sequentially obtaining a fourth standard deviation at each moment within a fourth preset time length after the current moment; If the fourth standard deviation at each moment is greater than the first threshold, it is determined that the state of consciousness is a slow-wave sleep state; If the fourth standard deviation at any moment is smaller than the first threshold, it is determined that the state of consciousness is a non-slow-wave sleep state.
4. The device according to claim 3, characterized in that In terms of performing ear vagus nerve stimulation on the subject through the ear vagus nerve stimulation module based on the state of consciousness, the processing module is specifically used to: If the state of consciousness is the awake state, stop collecting the EEG signal in the ear, and stimulate the ear vagus nerve of the subject in the first stimulation mode through the ear vagus nerve stimulation module until the first stimulation mode ends, and continue to collect the EEG signal in the ear to re-determine the state of consciousness of the subject; If the state of consciousness is the non-slow-wave sleep state, stop collecting the EEG signal in the ear, and perform EEG stimulation on the subject in a second stimulation mode through the ear vagus nerve stimulation module, wherein the stimulation duration of the first stimulation mode is greater than the stimulation duration of the second stimulation mode, and continue to collect the EEG signal in the ear after the second stimulation mode ends to re-determine the state of consciousness of the subject; If the state of consciousness is a slow-wave sleep state, stop stimulating the subject's ear vagus nerve, and continue to collect electroencephalogram signals in the ear to re-determine the subject's state of consciousness, so as to switch to the first stimulation mode or the second stimulation mode to stimulate the subject's ear vagus nerve.
5. An electronic device, characterized in that: include: A processor and a memory, wherein the processor is connected to the memory, the memory is used to store a computer program, and the processor is used to execute the computer program stored in the memory, so that the electronic device performs the following steps: collecting a plurality of first-ear electroencephalogram signals of the subject; Based on the multiple first intra-auricular electroencephalogram signals, determining a first threshold corresponding to a first Delta wave, a second threshold corresponding to a first Alpha wave, and a third threshold corresponding to a first Beta wave in the multiple first intra-auricular electroencephalogram signals, including: De-noising the plurality of first intra-auricular electroencephalogram signals to obtain a plurality of first intra-auricular electroencephalogram signals after de-noising; Performing bandpass filtering on the denoised multiple first intra-auricular EEG signals to obtain multiple eighth intra-auricular EEG signals corresponding to the first Delta wave, multiple ninth intra-auricular EEG signals corresponding to the first Alpha wave, and multiple tenth intra-auricular EEG signals corresponding to the first Beta wave; Windowing each eighth intra-auricular electroencephalogram signal based on the first preset window to obtain a plurality of eighth intra-auricular electroencephalogram signal segments corresponding to each eighth intra-auricular electroencephalogram signal; Obtaining a fifth standard deviation of a plurality of eighth intra-auricular electroencephalogram signal segments corresponding to each eighth intra-auricular electroencephalogram signal; Determine a first average standard deviation of the plurality of eighth intra-auricular EEG signals and a sixth standard deviation of the plurality of eighth intra-auricular EEG signals based on a fifth standard deviation of the plurality of eighth intra-auricular EEG signal segments corresponding to each eighth intra-auricular EEG signal; determining the first threshold based on the first average standard deviation and k times the sixth standard deviation; Windowing each ninth intra-ear EEG signal based on the second preset window to obtain a plurality of ninth intra-ear EEG signal segments corresponding to each ninth intra-ear EEG signal, wherein the length of the first preset window is greater than the length of the second preset window; Obtaining the seventh standard deviation of a plurality of ninth intra-auricular electroencephalogram signal segments corresponding to each ninth intra-auricular electroencephalogram signal; Determine a second average standard deviation of the plurality of ninth intra-auricular EEG signals and an eighth standard deviation of the plurality of ninth intra-auricular EEG signals based on a seventh standard deviation of the plurality of ninth intra-auricular EEG signal segments corresponding to each ninth intra-auricular EEG signal; determining the second threshold based on the second average standard deviation and n times the eighth standard deviation, wherein k is greater than n; Windowing each tenth intra-auricular electroencephalogram signal based on a third preset window to obtain a plurality of tenth intra-auricular electroencephalogram signal segments corresponding to each tenth intra-auricular electroencephalogram signal, wherein the length of the first preset window is greater than the length of the third preset window; Obtaining a ninth standard deviation of a plurality of tenth intra-auricular electroencephalogram signal segments corresponding to each tenth intra-auricular electroencephalogram signal; Determine a third average standard deviation of the plurality of tenth intra-auricular EEG signals and a tenth standard deviation of the plurality of tenth intra-auricular EEG signals based on a ninth standard deviation of the plurality of tenth intra-auricular EEG signal segments corresponding to each tenth intra-auricular EEG signal; Determining the third threshold based on the third average standard deviation and m times the tenth standard deviation, wherein k is greater than m; Performing auricular vagus nerve stimulation on the subject for a first preset duration; After the subject is subjected to the first preset duration of auricular vagus nerve stimulation, collecting an electroencephalogram signal in a second ear of the subject; Determining the state of consciousness of the subject based on the second intra-ear EEG signal, the first threshold, the second threshold, and the third threshold includes: If the current moment satisfies the calculation condition, obtaining a third intra-ear EEG signal of a second preset time length before the current moment and a fourth intra-ear EEG signal of a third preset time length from the second intra-ear EEG signal, wherein the third preset time length is less than the second preset time length; De-noising the third intra-auricular electroencephalogram signal and the fourth intra-auricular electroencephalogram signal to obtain a de-noised third intra-auricular electroencephalogram signal and a de-noised fourth intra-auricular electroencephalogram signal; Band-pass filtering is performed on the denoised third ear electroencephalogram signal to obtain the fifth ear electroencephalogram signal corresponding to the second Delta wave; Band-pass filtering is performed on the denoised fourth ear EEG signal to obtain the sixth ear EEG signal corresponding to the second Alpha wave and the seventh ear EEG signal corresponding to the second Beta wave; Determine a first standard deviation of the fifth intra-auricular electroencephalogram signal, a second standard deviation of the sixth intra-auricular electroencephalogram signal, and a third standard deviation of the seventh intra-auricular electroencephalogram signal; determining the state of consciousness based on the first standard deviation, the second standard deviation, the third standard deviation, the first threshold, the second threshold, and the third threshold; Based on the state of consciousness, the subject is subjected to auris vagus nerve stimulation.
6. A computer-readable storage medium, characterized in that: The computer readable storage medium stores a computer program, and the computer program is executed by a processor to implement the following steps: collecting a plurality of first-ear electroencephalogram signals of the subject; Based on the multiple first intra-auricular electroencephalogram signals, determining a first threshold corresponding to a first Delta wave, a second threshold corresponding to a first Alpha wave, and a third threshold corresponding to a first Beta wave in the multiple first intra-auricular electroencephalogram signals, including: De-noising the plurality of first intra-auricular electroencephalogram signals to obtain a plurality of first intra-auricular electroencephalogram signals after de-noising; Performing bandpass filtering on the denoised multiple first intra-auricular EEG signals to obtain multiple eighth intra-auricular EEG signals corresponding to the first Delta wave, multiple ninth intra-auricular EEG signals corresponding to the first Alpha wave, and multiple tenth intra-auricular EEG signals corresponding to the first Beta wave; Windowing each eighth intra-auricular electroencephalogram signal based on the first preset window to obtain a plurality of eighth intra-auricular electroencephalogram signal segments corresponding to each eighth intra-auricular electroencephalogram signal; Obtaining a fifth standard deviation of a plurality of eighth intra-auricular electroencephalogram signal segments corresponding to each eighth intra-auricular electroencephalogram signal; Determine a first average standard deviation of the plurality of eighth intra-auricular EEG signals and a sixth standard deviation of the plurality of eighth intra-auricular EEG signals based on a fifth standard deviation of the plurality of eighth intra-auricular EEG signal segments corresponding to each eighth intra-auricular EEG signal; determining the first threshold based on the first average standard deviation and k times the sixth standard deviation; Windowing each ninth intra-ear EEG signal based on the second preset window to obtain a plurality of ninth intra-ear EEG signal segments corresponding to each ninth intra-ear EEG signal, wherein the length of the first preset window is greater than the length of the second preset window; Obtaining the seventh standard deviation of a plurality of ninth intra-auricular electroencephalogram signal segments corresponding to each ninth intra-auricular electroencephalogram signal; Determine a second average standard deviation of the plurality of ninth intra-auricular EEG signals and an eighth standard deviation of the plurality of ninth intra-auricular EEG signals based on a seventh standard deviation of the plurality of ninth intra-auricular EEG signal segments corresponding to each ninth intra-auricular EEG signal; determining the second threshold based on the second average standard deviation and n times the eighth standard deviation, wherein k is greater than n; Windowing each tenth intra-auricular electroencephalogram signal based on a third preset window to obtain a plurality of tenth intra-auricular electroencephalogram signal segments corresponding to each tenth intra-auricular electroencephalogram signal, wherein the length of the first preset window is greater than the length of the third preset window; Obtaining a ninth standard deviation of a plurality of tenth intra-auricular electroencephalogram signal segments corresponding to each tenth intra-auricular electroencephalogram signal; Determine a third average standard deviation of the plurality of tenth intra-auricular EEG signals and a tenth standard deviation of the plurality of tenth intra-auricular EEG signals based on a ninth standard deviation of the plurality of tenth intra-auricular EEG signal segments corresponding to each tenth intra-auricular EEG signal; Determining the third threshold based on the third average standard deviation and m times the tenth standard deviation, wherein k is greater than m; Performing auricular vagus nerve stimulation on the subject for a first preset duration; After the subject is subjected to the first preset duration of auricular vagus nerve stimulation, collecting an electroencephalogram signal in a second ear of the subject; Determining the state of consciousness of the subject based on the second intra-ear EEG signal, the first threshold, the second threshold, and the third threshold includes: If the current moment satisfies the calculation condition, obtaining a third intra-ear EEG signal of a second preset time length before the current moment and a fourth intra-ear EEG signal of a third preset time length from the second intra-ear EEG signal, wherein the third preset time length is less than the second preset time length; De-noising the third intra-auricular electroencephalogram signal and the fourth intra-auricular electroencephalogram signal to obtain a de-noised third intra-auricular electroencephalogram signal and a de-noised fourth intra-auricular electroencephalogram signal; Band-pass filtering is performed on the denoised third ear electroencephalogram signal to obtain the fifth ear electroencephalogram signal corresponding to the second Delta wave; Band-pass filtering is performed on the denoised fourth ear EEG signal to obtain the sixth ear EEG signal corresponding to the second Alpha wave and the seventh ear EEG signal corresponding to the second Beta wave; Determine a first standard deviation of the fifth intra-auricular electroencephalogram signal, a second standard deviation of the sixth intra-auricular electroencephalogram signal, and a third standard deviation of the seventh intra-auricular electroencephalogram signal; determining the state of consciousness based on the first standard deviation, the second standard deviation, the third standard deviation, the first threshold, the second threshold, and the third threshold; Based on the state of consciousness, the subject is subjected to auris vagus nerve stimulation.
