Neurology sleep disorder monitoring method

By collecting EEG signals for multiple nights and using a neural network model, the environment's interference on EEG signals is removed, the accuracy of sleep disorder judgment is improved, and the accuracy problem of sleep monitoring in unfamiliar environments is solved.

CN118633951AActive Publication Date: 2024-09-13HENAN KANGMEIDA MEDICAL TECHNOLOGY CO LTD

Patent Information

Application Number
CN202411124435.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-16
Publication Date
2024-09-13
Estimated Expiration
2044-08-16

AI Technical Summary

Technical Problem

Existing sleep monitoring methods ignore the interference of patients' stress and discomfort in unfamiliar environments on brain electrical signals, which affects the accuracy of sleep disorder discrimination.

Method used

Collect EEG signals for at least two nights, use a pre-trained neural network model to divide the EEG signals into sleep stages, obtain initial sleep quality and environmental sensitivity, remove environmental interference by de-interfering with the EEG signals, and integrate de-interference on both sides EEG signals determine the patient's sleep quality.

Benefits of technology

By comparing the difference between the left and right EEG signals and the EEG signals from two nights, environmental interference is removed, the accuracy of sleep disorder judgment is improved, and the patient's real sleep situation in a familiar environment is reflected.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118633951A
    Figure CN118633951A
Patent Text Reader

Abstract

The invention relates to the technical field of electroencephalogram signal analysis and processing, in particular to a sleep disorder monitoring method for the neurology department. The method comprises the following steps: firstly, acquiring electroencephalogram signals of a patient during sleep; further performing sleep stage division on the electroencephalogram signals; further obtaining the initial sleep quality of each electroencephalogram signal; further according to the difference between the left-side electroencephalogram signal and the right-side electroencephalogram signal at the same night, the difference of initial sleep quality and the difference of electroencephalogram signals at the same side, interference-free electroencephalogram signals at each side are obtained; finally, the initial sleep quality of the interference-removed electroencephalogram signals on the two sides is fused, and the sleep quality of the patient is judged. By collecting the electroencephalogram signals of at least two late and comparing the difference between the left electroencephalogram signal and the right electroencephalogram signal and the difference between the electroencephalogram signals of at least two late, the influence of the environment on the electroencephalogram signals is removed, the sleep quality of the patient is evaluated, signal distortion of the patient in an unfamiliar environment is reduced, and the sleep disorder judgment accuracy of the patient is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of electroencephalogram signal analysis and processing, and in particular to a neurology sleep disorder monitoring method. Background Art

[0002] As modern medicine's understanding of sleep disorders gradually increases, sleep monitoring technology has been used more and more widely. Using polysomnography to monitor the discharge signals of brain nerves to analyze sleep structure, evaluate patients' sleep disorders, and assist relevant personnel in making judgments has become a basic method in sleep medicine clinical and scientific research.

[0003] However, most sleep monitoring methods only use one night's EEG data to judge patients' sleep disorders. This method ignores the interference of physiological phenomena such as tension and discomfort caused by unfamiliar environments on EEG signals. It believes that the measured EEG data represents the patient's situation in a familiar environment, which affects the final accuracy of sleep disorder judgment. Summary of the invention

[0004] In order to solve the technical problem that the patient's uncomfortable physiological reaction to the unfamiliar environment interferes with the EEG signal and affects the sleep disorder monitoring, the purpose of the present invention is to provide a neurological sleep disorder monitoring method, and the technical solution adopted is as follows: A neurological sleep disorder monitoring method, the method comprising: Acquire the patient's electroencephalogram (EEG) signal during sleep; the EEG signal at least includes the EEG signal of the first night and the EEG signal of the second night; the EEG signal of each night includes the left EEG signal and the right EEG signal; The EEG signals are divided into sleep stages using a pre-trained neural network model; the initial sleep quality of each EEG signal is obtained according to the distribution characteristics of the sleep stage of each EEG signal; the environmental sensitivity of the EEG signals each night is obtained according to the difference between the left EEG signal and the right EEG signal of the same night, combined with the difference in the initial sleep quality; the interference-free EEG signals of each side are obtained according to the environmental sensitivity corresponding to the first night and the environmental sensitivity corresponding to the second night, combined with the difference in the EEG signals on the same side; The initial sleep quality of the de-interfered EEG signals on both sides is fused to judge the patient's sleep quality.

[0005] Furthermore, the method for obtaining the initial sleep quality includes: The sleep stage includes at least short wakefulness and sleep stage 4; According to the number of short awakenings of each EEG signal, combined with the number and duration of the sleep stage 4, the initial sleep quality of each EEG signal is obtained; the number of short awakenings is negatively correlated with the initial sleep quality; the number and duration of the sleep stage 4 are both positively correlated with the initial sleep quality.

[0006] Furthermore, the calculation method of the initial sleep quality includes: The product of the proportion of the sleep stage 4 in the corresponding EEG signal and the number of the sleep stage 4 is used as the first sleep quality parameter; according to the number of short awakenings in each EEG signal and combined with the first sleep quality parameter, the initial sleep quality of each EEG signal is obtained.

[0007] Furthermore, the method for obtaining the environmental sensitivity includes: Each of the EEG signals is segmented using a preset segment length to obtain a segmented EEG signal; the sleep depth of the sleep stage includes at least sleep stage 4, sleep stage 3, sleep stage 2, sleep stage 1, rapid eye movement stage, short wakefulness and wakefulness stage from deep to shallow; each of the sleep stages corresponds to a preset sleep stage score, and the preset sleep stage score is negatively correlated with the sleep depth of the sleep stage; Obtaining a first sensitivity based on the difference in the preset sleep stage scores of the segmented EEG signals at the same time and the left EEG signals and the right EEG signals of the same night; the difference in the preset sleep stage scores is positively correlated with the first sensitivity; Obtaining a second sensitivity according to the difference in the initial sleep quality between the left EEG signal and the right EEG signal on the same night; the difference in the initial sleep quality is positively correlated with the second sensitivity; The first sensitivity and the second sensitivity are integrated to obtain the environmental sensitivity of the EEG signal every night.

[0008] Furthermore, the method for obtaining the interference-free EEG signal includes: According to the difference in the environmental sensitivity between the EEG signal of the first night and the EEG signal of the second night, combined with the difference between the segmented EEG signal of the first night and the segmented EEG signal of the same side and the same sequence number of the second night, the correction parameter corresponding to each segmented EEG signal on each side is obtained; According to the difference characteristics of the data with the same sequence number in the ipsilateral EEG signal, combined with the corresponding correction parameters, the interference-free EEG signal of each side is obtained.

[0009] Furthermore, the method for obtaining the correction parameter includes: Mapping the difference between the environmental sensitivity of the EEG signal of the first night and the environmental sensitivity of the EEG signal of the second night to a preset numerical range, and using the mapped value as a first correction coefficient; The difference between the average value of the data in the segmented EEG signal of the first night and the average value of the data in the segmented EEG signal of the same side and the same sequence number of the second night is mapped to a preset numerical range, and the mapped value is used as the second correction coefficient of each segmented EEG signal corresponding to the EEG signal of the corresponding side; According to the first correction coefficient and the second correction coefficient of each segment in each side of the EEG signal, the correction parameter corresponding to each segment in each side of the EEG signal is obtained; the first correction coefficient is positively correlated with the correction parameter; the second correction coefficient is negatively correlated with the correction parameter.

[0010] Furthermore, the method of obtaining the interference-free EEG signal on each side based on the difference characteristics of the data with the same sequence number in the EEG signal on the same side in combination with the corresponding correction parameters includes: The difference between each data point in the EEG data of the first night and the data point with the same serial number on the same side in the EEG data of the second night, and the product of the correction parameter of the corresponding segment, are used as the interference parameter of the data point with the corresponding serial number on the corresponding side; The difference between each data point on each side of the second night's EEG data and the corresponding interference parameter is used as the interference-free data point of the corresponding serial number on the corresponding side.

[0011] Furthermore, the method for judging the patient's sleep quality includes: The average value of the initial sleep quality of the de-interfered EEG signals on both sides is obtained; when the average value of the initial sleep quality of the de-interfered EEG signals on both sides is less than a preset sleep quality threshold, it is determined that the patient has a sleep disorder.

[0012] Furthermore, the pre-trained neural network model is a Bi-RNN neural network model.

[0013] Furthermore, the sleep activities before collecting the EEG signals of the first night and the EEG signals of the second night are consistent, and the length of sleep time is consistent.

[0014] The present invention has the following beneficial effects: The present invention first obtains the patient's EEG signal during sleep to provide a data basis for subsequent analysis; further uses a pre-trained neural network model to divide the EEG signal into sleep stages, and divides different sleep levels into different sleep stages, in preparation for the subsequent evaluation of initial sleep quality; further extracts sleep information from the EEG signal, obtains the initial sleep quality of each EEG signal, characterizes the patient's sleep quality throughout the night, and provides a basis for subsequent analysis of the patient's sensitivity to the environment and eliminating the interference of the EEG signal due to the patient's discomfort with the unfamiliar environment; further obtains the environmental sensitivity of the EEG signal every night from both overall and local perspectives, which can integrate information from different dimensions and provide a more comprehensive and detailed evaluation result, so that external interference factors can be effectively eliminated in the future; further, according to the environmental sensitivity corresponding to the first night and the environmental sensitivity corresponding to the second night, combined with the difference in the EEG signal on the same side, obtains the interference-free EEG signal on each side, removes environmental interference, obtains a more accurate interference-free EEG signal, can more accurately reflect the patient's actual sleep situation in a familiar environment, and provides an evaluation basis for the final sleep quality evaluation; finally, the initial sleep quality of the interference-free EEG signals on both sides is integrated to judge the patient's sleep quality. The present invention collects EEG signals of at least two nights, compares the differences between the left and right EEG signals and the differences between the two nights, removes the influence of the environment on the EEG signals, evaluates the patient's sleep quality, reduces the signal distortion caused by the patient in an unfamiliar environment, and improves the accuracy of judging the patient's sleep disorder. BRIEF DESCRIPTION OF THE DRAWINGS

[0015] In order to more clearly illustrate the technical solutions and advantages in the embodiments of the present invention or the prior art, the drawings required for use in the embodiments or the prior art descriptions are briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0016] Figure 1 A flowchart of a neurological sleep disorder monitoring method provided by one embodiment of the present invention; Figure 2 A schematic diagram of a sleep stage division result based on EEG signals provided by an embodiment of the present invention; Figure 3 A flowchart of a method for acquiring environmental sensitivity provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0017] In order to further explain the technical means and effects adopted by the present invention to achieve the predetermined invention purpose, the following is a detailed description of the specific implementation method, structure, characteristics and effects of a neurological sleep disorder monitoring method proposed by the present invention in combination with the accompanying drawings and preferred embodiments. In the following description, different "one embodiment" or "another embodiment" does not necessarily refer to the same embodiment. In addition, specific features, structures or characteristics in one or more embodiments may be combined in any suitable form.

[0018] Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs.

[0019] The specific scheme of the neurological sleep disorder monitoring method provided by the present invention is described in detail below with reference to the accompanying drawings.

[0020] See also Figure 1 , which shows a flowchart of a neurological sleep disorder monitoring method provided by an embodiment of the present invention, specifically comprising: Step S1: Acquire the patient's EEG signals during sleep; the EEG signals at least include the first night's EEG signals and the second night's EEG signals; and each night's EEG signals include the left side EEG signals and the right side EEG signals.

[0021] In an embodiment of the present invention, in order to analyze the influence characteristics of the patient's tension or discomfort caused by the unfamiliar environment on the EEG signals, the EEG signals during sleep for at least two nights are collected. Studies have shown that sleep disorders in a new environment are caused by the left brain maintaining a certain active state, so both cerebral hemispheres need to be monitored.

[0022] In one embodiment of the present invention, the patient's EEG data is collected twice. In order to eliminate the interference of other factors as much as possible, the patient's activity intensity before going to bed and the time of falling asleep are kept consistent during the two EEG signal monitoring processes. The entire duration of the sleep record is from turning off the light until the patient turns on the light. The patient's EEG signal activity during the recording process is used to obtain the electrogram signals of different brain regions of the patient. Among them, the sampling frequency of the EEG signal is set to 500Hz, and the signal is preprocessed, filtered with a bandpass filter with a filtering range of 0.3Hz-35Hz, and the signal is amplified; sleep starts at 22:30 and the time is fixed to 8h.

[0023] Step S2: Use the pre-trained neural network model to divide the EEG signals into sleep stages; obtain the initial sleep quality of each EEG signal based on the distribution characteristics of the sleep stage of each EEG signal; obtain the environmental sensitivity of the EEG signals each night based on the difference between the left EEG signals and the right EEG signals of the same night, combined with the difference in initial sleep quality; obtain the denoised EEG signals on each side based on the environmental sensitivity corresponding to the first night and the environmental sensitivity corresponding to the second night, combined with the difference in the EEG signals on the same side.

[0024] The electrical waves in different hemispheres of the brain show different performances. One of the important manifestations of sleep disorders caused by unfamiliar environment is the different sleep levels of the left and right brain. Therefore, the greater the difference in sleep levels shown in the EEG data of the left and right brains, the higher the possibility of being affected by the environment. Therefore, we first divide the sleep levels, and divide different sleep levels into different sleep stages, in order to prepare for the subsequent evaluation of the initial sleep quality and ultimately remove the patient's discomfort and interference with the unfamiliar environment.

[0025] It should be noted that using a neural network model to divide EEG signals into sleep stages is an existing technology. In one embodiment of the present invention, the neural network model uses a Bi-RNN neural network model, inputs a 30-second segmented EEG signal, and outputs the corresponding sleep stage; please refer to Figure 2 , which shows a schematic diagram of a sleep stage division result based on EEG signals provided by an embodiment of the present invention, wherein the figure includes the awake stage, rapid eye movement stage, sleep stage 1, sleep stage 2, sleep stage 3, sleep stage 4 and brief awakening, wherein the awake stage, rapid eye movement stage, sleep stage 1, sleep stage 2, sleep stage 3 and sleep stage 4 represent the patient's sleep stages from shallow to deep, and brief awakening is a brief awakening during the entire sleep process.

[0026] In other embodiments of the present invention, implementers may also use a multi-scale residual sleep automatic classification network or other network models, and adjust the data collection method to adapt to different classification method requirements, which will not be elaborated here.

[0027] After dividing the patient's EEG signals into sleep stages, we can extract the sleep information in the EEG signals based on the distribution characteristics of the sleep stages of each EEG signal, obtain the initial sleep quality of each EEG signal, and characterize the patient's sleep quality throughout the night. This provides a basis for subsequent analysis of the patient's sensitivity to the environment and for eliminating interference with the EEG signals due to the patient's discomfort with unfamiliar environments.

[0028] Preferably, in one embodiment of the present invention, it is considered that the more times of brief awakenings, the more frequently the patient's sleep is interrupted, the poor sleep continuity, and the worse the overall sleep quality; it is considered that the more times of deep sleep stage 4 and the longer the duration, the better the patient's physical health is, and sufficient deep sleep indicates that the patient's sleep structure is normal, and he can smoothly enter deep sleep, and the better the overall sleep quality; based on this, analysis is conducted from the two perspectives of brief awakenings and sleep stage 4, and the initial sleep quality of each EEG signal is obtained according to the number of brief awakenings of each EEG signal combined with the number and duration of sleep stage 4; the number of brief awakenings is negatively correlated with the initial sleep quality; the number and duration of sleep stage 4 are both positively correlated with the initial sleep quality.

[0029] Preferably, in one embodiment of the present invention, considering that the greater the proportion of sleep stage 4 in the whole night's EEG signals, the greater the number of sleep stage 4s, indicating that the duration of sleep stage 4 is longer, reflecting that the patient's sleep quality is higher, so the product of the proportion of sleep stage 4 in the corresponding EEG signals and the number of sleep stage 4s is used as the first sleep quality parameter; according to the number of short awakenings in each EEG signal combined with the first sleep quality parameter, the initial sleep quality of each EEG signal is obtained.

[0030] As an example, the left side of the EEG signal of the first night is selected as an example, the product of the number of sleep stage 4 and the proportion of the duration of sleep stage 4 to the total sleep time is used as the first sleep quality parameter, the number of short awake times plus the zero division parameter 1 is added and the reciprocal is taken as the second sleep quality parameter, and the product of the first sleep quality parameter and the second sleep quality parameter is used as the initial sleep quality of the left side of the EEG signal of the first night. The initial sleep quality corresponding to the right side of the EEG signal of the first night, the left side of the EEG signal of the second night, and the right side of the EEG signal of the second night are obtained in sequence.

[0031] As another example, the number of brief awakenings is mapped through a negative correlation function such as After mapping, the mapped value is used as the second sleep quality parameter to obtain the initial sleep quality, where Expressed as a natural constant is the exponential function of the base, is the independent variable.

[0032] Taking into account that the initial sleep quality is an overall feature obtained by analyzing the EEG signals during the entire sleep, it is necessary to further combine the local difference features to compare the left and right EEG signals, identify the differences in patients' responses in different brain areas, and obtain environmental sensitivity. Therefore, based on the difference between the left and right EEG signals on the same night, combined with the difference in initial sleep quality, and integrating the overall and local perspectives, we can integrate information from different dimensions to provide a more comprehensive and detailed evaluation result, and obtain the environmental sensitivity of EEG signals each night, so that external interference factors can be effectively eliminated in the future to ensure monitoring accuracy.

[0033] Preferably, in one embodiment of the present invention, the method for acquiring environmental sensitivity includes: See also Figure 3 , which shows a flow chart of a method for obtaining environmental sensitivity provided by an embodiment of the present invention, specifically comprising: Step S211: segmenting each of the EEG signals using a preset segment length to obtain segmented EEG signals; each of the sleep stages corresponds to a preset sleep stage score, and the preset sleep stage score is negatively correlated with the sleep depth of the sleep stage.

[0034] As an example: the preset segment length is 30 seconds, sleep stage 4 corresponds to 0.16, sleep stage 3 corresponds to 0.32, sleep stage 2 corresponds to 0.48, sleep stage 1 corresponds to 0.64, rapid eye movement stage corresponds to 0.8, and brief wakefulness and wakefulness stages correspond to 0.96.

[0035] It should be noted that, since 30 seconds of EEG signals are also input when the neural network model is used to divide the EEG signals into sleep stages, the segmentation operation here can be performed in the neural network model, and each segmented EEG signal corresponds to a preset sleep staging score. The local sleep quality of the EEG signal is standardized by scoring, thereby comparing the difference between the left EEG signal and the right EEG signal. In other embodiments of the present invention, the implementer may also set other preset sleep staging scores.

[0036] Step S212: obtaining a first sensitivity based on the difference in preset sleep stage scores of the segmented EEG signals at the same time and the left EEG signal and the right EEG signal of the same night; the difference in the preset sleep stage scores is positively correlated with the first sensitivity.

[0037] Taking into account that when patients are nervous or stressed about unfamiliar environments, the sleep level of the left cerebral hemisphere is shallower than that of the right cerebral hemisphere, and the EEG signals of the left brain are more active, so the preset sleep stage score of the left EEG signal at the same time will be higher than that of the right EEG signal. Therefore, the first sensitivity is obtained based on the difference in the preset sleep stage scores of the segmented EEG signals of the left and right EEG signals at the same time on the same night. The greater the difference in the preset sleep stage scores, the more active the left brain is compared with the right brain, the more sensitive it is to the environment, and the greater the first sensitivity.

[0038] As an example, to highlight the difference in the left and right brain sleep stage scores at the same time, Function is used for mapping. Taking the first night as an example, the calculation formula for the first sensitivity includes: ;in, Indicates the first sensitivity of the first night; sorts the segmented EEG signals by sampling time, represents the number of segmented EEG signals, Indicates the sequence number of the segmented EEG signal; Indicated by natural constant The exponential function with base ; Indicates the first night on the left Preset sleep stage scores for segmented EEG signals; The first night on the right The preset sleep stage score of the segmented EEG signal.

[0039] In the calculation formula of the first sensitivity, since the sampling time of the EEG signals on both sides of the same night starts at the same time and the segmentation method is the same, the time of the segmented EEG signals with the same sequence number is consistent; The larger the value is, the greater the difference in the preset sleep stage scores of the segmented EEG signals of the left and right sides of the same night at the same time, reflecting that the more active the left brain is, the more sensitive the patient is to the environment, the more likely the EEG signals are to be disturbed, and the greater the first sensitivity.

[0040] Step S213: obtaining a second sensitivity according to the difference in initial sleep quality between the left EEG signal and the right EEG signal on the same night; the difference in initial sleep quality is positively correlated with the second sensitivity.

[0041] As an example, taking the first night as an example, the absolute value of the difference between the initial sleep quality of the left EEG signal and the right EEG signal of the first night is used as the second sensitivity.

[0042] Step S214: The first sensitivity and the second sensitivity are integrated to obtain the environmental sensitivity of the EEG signal every night.

[0043] After obtaining the first sensitivity from a local perspective and the second sensitivity from a global perspective, the first sensitivity and the second sensitivity can be fused to comprehensively evaluate the environmental sensitivity of the EEG signal every night.

[0044] As an example, taking the first night as an example, the product of the first sensitivity and the second sensitivity is used as the environmental sensitivity.

[0045] In other embodiments of the present invention, the implementer may also adopt other positive correlation means such as weighted summation, for example, the weight of the first sensitivity is 0.6, and the weight of the second sensitivity is 0.4, to obtain the environmental sensitivity, which will not be repeated here.

[0046] Taking into account that as the test progresses, the patient's familiarity with the test environment will increase and the impact of the environment on the patient will become smaller and smaller, which is manifested in a gradual decrease in environmental sensitivity. Therefore, based on the environmental sensitivity corresponding to the first night and the second night, combined with the difference in the ipsilateral EEG signal, the interference-free EEG signal of each side is obtained. By comparing the environmental sensitivity of different nights and the difference in changes in the ipsilateral EEG signal, the environmental interference is removed and a more accurate interference-free EEG signal is obtained, which can more accurately reflect the patient's actual sleep condition in a familiar environment and provide an evaluation basis for the final sleep quality assessment.

[0047] Preferably, in one embodiment of the present invention, firstly, according to the change of environmental sensitivity and the change of segmented EEG signals, the changes of EEG signals at the same relative time are compared, for example, the two segmented EEG signals from 0 seconds to 30 seconds at 23:30 of the first night and from 0 seconds to 30 seconds at 23:30 of the second night, both on the left side, are compared, and the change characteristics of the environmental familiarity of each segmented EEG signal on each side are analyzed to identify the changes of the patient's different sensitivities to the environment in different time periods, thereby obtaining a correction coefficient, thereby removing interference and obtaining a de-interferenced EEG signal; Based on this, according to the difference in environmental sensitivity between the EEG signals of the first night and the second night, combined with the difference between the segmented EEG signals of the first night and the segmented EEG signals of the same side and the same sequence number of the second night, the correction parameters corresponding to each segmented EEG signal on each side are obtained; According to the difference characteristics of the data with the same sequence number in the ipsilateral EEG signal, combined with the corresponding correction parameters, the interference-free EEG signal of each side is obtained.

[0048] It should be noted that the tests on the first and second nights started from the same time point and the segmentation method was the same, so the relative sampling time of the segmented EEG signals with the same sequence number was consistent.

[0049] Preferably, in one embodiment of the present invention, the difference in environmental sensitivity between the EEG signal of the first night and the EEG signal of the second night is represented by the difference in environmental sensitivity between the EEG signal of the first night and the EEG signal of the second night, the difference in environmental sensitivity between the EEG signal of the first night and the EEG signal of the second night is mapped to a preset numerical range, and the mapped value is used as the first correction coefficient; Considering that the average value of the data in the segmented EEG signal represents the overall concentrated characteristics of the segmented EEG signal, the difference in the segmented EEG signals of the same side and the same sequence number at different nights is represented by comparing the difference in the average values; therefore, the difference between the average value of the data in the segmented EEG signal of the first night and the average value of the data in the segmented EEG signal of the same side and the same sequence number at the second night is mapped to a preset numerical range, and the mapped value is used as the second correction coefficient of each segmented EEG signal corresponding to the EEG signal of the corresponding side; According to the first correction coefficient and the second correction coefficient of each segment in each side of the EEG signal, the correction parameter corresponding to each segment in each side of the EEG signal is obtained; the first correction coefficient is positively correlated with the correction parameter; the second correction coefficient is negatively correlated with the correction parameter.

[0050] As an example, the preset numerical range is 0.1 to 1.1. The value to be mapped is mapped to 0 to 1 through normalization methods such as maximum and minimum value normalization. In order to prevent the denominator from being zero, the overall data is offset by adding 0.1. Taking the left EEG signal as an example, the environmental sensitivity of the EEG signal of the first night is subtracted from the environmental sensitivity of the EEG signal of the second night, and the obtained difference is mapped to 0.1 to 1.1 as the first correction coefficient; the data average value corresponding to the segmented EEG signal on the left side of the first night is subtracted from the data average value corresponding to the segmented EEG signal of the same sequence number on the left side of the second night, and the obtained difference is mapped to 0.1 to 1.1 as the second correction coefficient; the ratio of the first correction coefficient to the second correction coefficient is used as the correction parameter for the corresponding segment sequence number.

[0051] In other embodiments of the present invention, the implementer may also set other preset value intervals; or may use a negative correlation mapping function such as , positive correlation mapping function such as The relevant mapping is performed, and the process of mapping to the preset value interval can be omitted, which will not be described in detail here.

[0052] Preferably, in one embodiment of the present invention, considering that the patient is familiar with the test environment, the intensity of interference of the patient's nervousness and other emotions on the EEG signal of the second night is reduced compared with the EEG signal of the first night, so correction is performed on the basis of the EEG signal of the second night; considering that the correction parameter represents the rate of change of environmental familiarity, the difference between the data points of the same side and the same sequence number between the first night and the second night represents the change in value, so the difference between each data point in the EEG data of the first night and the data point of the same side and the same sequence number in the EEG data of the second night is multiplied by the product of the correction parameter of the corresponding segment as the interference parameter of the data point of the corresponding sequence number on the corresponding side; The difference between each data point on each side of the EEG data of the second night and the corresponding interference parameter is used as the interference-free data point of the corresponding serial number on the corresponding side.

[0053] As an example, the calculation formula for removing interference data points includes: ;in, is the identifier of the left EEG signal; The left EEG signal Remove the interference data points; The left EEG signal of the second night data points; Indicates Correction parameters corresponding to data points; The left EEG signal of the first night data points; In the calculation formula for removing interference data points, The larger it is, the greater the difference in EEG signals at the same relative time; The larger it is, the faster the sensitivity of the EEG signal of the corresponding segment to the environment changes; The left EEG signal The interference parameter of the data points, The larger the value is, the greater the change in the EEG data at the corresponding time as the patient becomes gradually familiar with the environment, reflecting that the unfamiliar environment has a greater interference on this data point and the larger the interference parameter. Finally, by subtracting the interference parameter from the data point in the left EEG signal of the second night, the EEG signal data that excludes environmental influences is represented, providing a reliable basis for the final evaluation of sleep quality.

[0054] It should be noted that relative time is the time distance between the data collection time and the starting time of each test. For example, the test starts at 22:30 every night, and 23:00 every night is the same relative time. At the same time, the sampling frequency is consistent, so the sorting starts from the start time of the test every night. The data points with the same serial number are data points with the same relative time, and the segmented EEG signals with the same serial number are segments with the same relative time.

[0055] Similarly, all interference-free data points of the left EEG signals are obtained in turn to obtain the interference-free EEG signals, and the interference-free EEG signals on the right are obtained.

[0056] Step S3: The initial sleep quality of the interference-free EEG signals on both sides is integrated to determine the patient's sleep quality.

[0057] After removing the interference of emotions such as tension caused by unfamiliar environment on the patient's EEG signals, the sleep quality can be evaluated based on the de-interfered EEG signals on both sides. Considering that the initial sleep quality can represent the patient's sleep quality for the whole night, the initial sleep quality of the de-interfered EEG signals on both sides is integrated to judge the patient's sleep quality.

[0058] Preferably, in one embodiment of the present invention, the average value of the initial sleep quality of the EEG signals without interference on both sides is obtained; when the average value of the initial sleep quality of the EEG signals without interference on both sides is less than a preset sleep quality threshold, it is determined that the patient has a sleep disorder.

[0059] As an example, the preset sleep quality threshold is 0.68.

[0060] It should be noted that the present invention cannot replace doctors in making diagnosis results. The present invention is only an auxiliary means for doctors and other relevant personnel to evaluate the patient's sleep quality. When it is determined that the patient has a sleep disorder, doctors and other relevant personnel need to combine other methods, such as lumbar puncture to detect cerebrospinal fluid, to determine the patient's sleep disorder.

[0061] In summary, in order to solve the technical problem that the patient's uncomfortable physiological reaction to the unfamiliar environment interferes with the EEG signal and affects the monitoring of sleep disorders, the present invention first obtains the patient's EEG signal during sleep; further uses the pre-trained neural network model to divide the EEG signal into sleep stages; further obtains the initial sleep quality of each EEG signal according to the distribution characteristics of the sleep stage of each EEG signal; further obtains the environmental sensitivity of the EEG signal every night according to the difference between the left EEG signal and the right EEG signal of the same night, combined with the difference in initial sleep quality; further obtains the interference-free EEG signal on each side according to the environmental sensitivity corresponding to the first night and the environmental sensitivity corresponding to the second night, combined with the difference in the EEG signal on the same side; finally, the initial sleep quality of the interference-free EEG signals on both sides is fused to judge the patient's sleep quality. The present invention collects EEG signals of at least two nights, compares the difference between the left and right EEG signals and the difference between the EEG signals of the two nights, removes the influence of the environment on the EEG signal, and evaluates the patient's sleep quality, reduces the signal distortion caused by the patient in an unfamiliar environment, and improves the accuracy of the patient's sleep disorder judgment.

[0062] It should be noted that the sequence of the above embodiments of the present invention is only for description and does not represent the advantages and disadvantages of the embodiments. The processes depicted in the accompanying drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.

[0063] The various embodiments in this specification are described in a progressive manner, and the same or similar parts between the various embodiments can be referenced to each other, and each embodiment focuses on the differences from other embodiments.

Claims

1. A method for monitoring sleep disorders in neurology, It is characterized in that The method comprises: Acquire the patient's electroencephalogram (EEG) signal during sleep; the EEG signal at least includes the EEG signal of the first night and the EEG signal of the second night; the EEG signal of each night includes the left EEG signal and the right EEG signal; The EEG signals are divided into sleep stages using a pre-trained neural network model; the initial sleep quality of each EEG signal is obtained according to the distribution characteristics of the sleep stage of each EEG signal; the environmental sensitivity of the EEG signals each night is obtained according to the difference between the left EEG signal and the right EEG signal of the same night, combined with the difference in the initial sleep quality; the interference-free EEG signals of each side are obtained according to the environmental sensitivity corresponding to the first night and the environmental sensitivity corresponding to the second night, combined with the difference in the EEG signals on the same side; The initial sleep quality of the de-interfered EEG signals on both sides is fused to judge the patient's sleep quality.

2. A neurological sleep disorder monitoring method according to claim 1, It is characterized in that The method for obtaining the initial sleep quality includes: The sleep stage includes at least short wakefulness and sleep stage 4; According to the number of short awakenings of each EEG signal, combined with the number and duration of the sleep stage 4, the initial sleep quality of each EEG signal is obtained; the number of short awakenings is negatively correlated with the initial sleep quality; the number and duration of the sleep stage 4 are both positively correlated with the initial sleep quality.

3. A neurological sleep disorder monitoring method according to claim 2, It is characterized in that The calculation method of the initial sleep quality includes: The product of the proportion of the sleep stage 4 in the corresponding EEG signal and the number of the sleep stage 4 is used as the first sleep quality parameter; according to the number of short awakenings in each EEG signal and combined with the first sleep quality parameter, the initial sleep quality of each EEG signal is obtained.

4. A neurological sleep disorder monitoring method according to claim 1, It is characterized in that The method for obtaining the environmental sensitivity includes: Each of the EEG signals is segmented using a preset segment length to obtain a segmented EEG signal; the sleep depth of the sleep stage includes at least sleep stage 4, sleep stage 3, sleep stage 2, sleep stage 1, rapid eye movement stage, short wakefulness and wakefulness stage from deep to shallow; each of the sleep stages corresponds to a preset sleep stage score, and the preset sleep stage score is negatively correlated with the sleep depth of the sleep stage; Obtaining a first sensitivity based on the difference in the preset sleep stage scores of the segmented EEG signals at the same time and the left EEG signals and the right EEG signals of the same night; the difference in the preset sleep stage scores is positively correlated with the first sensitivity; Obtaining a second sensitivity according to the difference in the initial sleep quality between the left EEG signal and the right EEG signal on the same night; the difference in the initial sleep quality is positively correlated with the second sensitivity; The first sensitivity and the second sensitivity are integrated to obtain the environmental sensitivity of the EEG signal every night.

5. A neurological sleep disorder monitoring method according to claim 4, It is characterized in that The method for obtaining the interference-free electroencephalogram signal comprises: According to the difference in the environmental sensitivity between the EEG signal of the first night and the EEG signal of the second night, combined with the difference between the segmented EEG signal of the first night and the segmented EEG signal of the same side and the same sequence number of the second night, the correction parameter corresponding to each segmented EEG signal on each side is obtained; According to the difference characteristics of the data with the same sequence number in the ipsilateral EEG signal, combined with the corresponding correction parameters, the interference-free EEG signal of each side is obtained.

6. A neurological sleep disorder monitoring method according to claim 5, It is characterized in that The method for obtaining the correction parameters includes: Mapping the difference between the environmental sensitivity of the EEG signal of the first night and the environmental sensitivity of the EEG signal of the second night to a preset numerical range, and using the mapped value as a first correction coefficient; The difference between the average value of the data in the segmented EEG signal of the first night and the average value of the data in the segmented EEG signal of the same side and the same sequence number of the second night is mapped to a preset numerical range, and the mapped value is used as the second correction coefficient of each segmented EEG signal corresponding to the EEG signal of the corresponding side; According to the first correction coefficient and the second correction coefficient of each segment in each side of the EEG signal, the correction parameter corresponding to each segment in each side of the EEG signal is obtained; the first correction coefficient is positively correlated with the correction parameter; the second correction coefficient is negatively correlated with the correction parameter.

7. A neurological sleep disorder monitoring method according to claim 5, It is characterized in that The method of obtaining the interference-free EEG signal on each side according to the difference characteristics of the data with the same sequence number in the EEG signal on the same side in combination with the corresponding correction parameters includes: The difference between each data point in the EEG data of the first night and the data point with the same serial number on the same side in the EEG data of the second night, and the product of the correction parameter of the corresponding segment, are used as the interference parameter of the data point with the corresponding serial number on the corresponding side; The difference between each data point on each side of the second night's EEG data and the corresponding interference parameter is used as the interference-free data point of the corresponding serial number on the corresponding side.

8. A neurological sleep disorder monitoring method according to claim 1, It is characterized in that The method for judging the patient's sleep quality comprises: The average value of the initial sleep quality of the de-interfered EEG signals on both sides is obtained; when the average value of the initial sleep quality of the de-interfered EEG signals on both sides is less than a preset sleep quality threshold, it is determined that the patient has a sleep disorder.

9. A neurological sleep disorder monitoring method according to claim 1, It is characterized in that The pre-trained neural network model is a Bi-RNN neural network model.

10. A neurological sleep disorder monitoring method according to claim 1, It is characterized in that The sleep activities before the EEG signals of the first night and the EEG signals of the second night were consistent, and the sleep time was consistent.

Citation Information

Patent Citations

  • Method and equipment for recognizing left brain and right brain

    CN104161512A

  • Method for classifying sleep stages on basis of sleep EGG (electroencephalogram) signal detection

    CN105496363A

  • Sleep data validity analysis method and device and wearable equipment

    CN113520339A

  • Devices and systems for contextual and physiological-based detection, monitoring, reporting, entertainment, and control of other devices

    US20070100666A1

  • Body motion monitor

    US20190133499A1

Cited By

  • Electromyographic signal acquisition method and system for acupuncture physiotherapy

    CN119033392A

  • Myoelectric signal acquisition method and system for acupuncture therapy

    CN119033392B