Sleep monitoring and early warning method and system based on respiration data analysis and medium
A sleep monitoring and early warning system was built by using millimeter-wave radar and deep learning networks to monitor and warn of sleep status and apnea-hypopnea index in real time, which improves the accuracy and comfort of sleep monitoring and solves the comfort and accuracy problems of traditional equipment.
Patent Information
- Application Number
- CN202511894219.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-12-16
- Publication Date
- 2026-01-16
- Estimated Expiration
- 2045-12-16
AI Technical Summary
Traditional contact sleep monitoring devices are uncomfortable and lack consideration for the user's own factors, resulting in low monitoring accuracy.
Millimeter-wave radar is used to capture body surface movements caused by breathing. A sleep state and sleep apnea-hypopnea index prediction model is built through a deep learning network. Real-time data collection and early warning are provided to generate treatment plans.
It improves the accuracy and comfort of sleep monitoring, decouples the intrinsic relationship between the macroscopic structure of sleep and respiratory events, and solves the problem of insufficient model generalization ability caused by the scarcity of radar data annotation.
Smart Images

Figure CN121337281A_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of sleep monitoring, in particular to a sleep monitoring and early warning method and system based on respiratory data analysis and a medium. BACKGROUND
[0002] Sleep monitoring is a key means to evaluate and diagnose various sleep disorders, mainly by recording physiological signals (such as electroencephalogram, respiration, heart rate, etc.) in sleep to judge sleep quality. Sleep monitoring is a medical examination method for objectively evaluating individual night sleep condition, and is widely used to identify sleep apnea, nocturnal seizures, insomnia and behavioral disorders, etc. The sleep apnea hypopnea index changes with the user's physical and mental state, and the sleep apnea hypopnea index refers to the number of apnea and hypopnea per hour of sleep time. Apnea refers to the complete stop of oral and nasal respiratory airflow for more than 10 seconds during sleep; hypopnea refers to a decrease in respiratory airflow intensity (amplitude) by more than 50% from the baseline level, accompanied by a decrease in blood oxygen saturation by more than 4% from the baseline level or micro-awakening. Traditional contact sleep monitoring devices are uncomfortable, and lack consideration of the user's own reasons, resulting in low monitoring accuracy. SUMMARY
[0003] The present application overcomes the shortcomings of the prior art and provides a sleep monitoring and early warning method, system and medium based on respiratory data analysis.
[0004] To achieve the above purpose, the technical scheme adopted by the present application is as follows: The present application provides a sleep monitoring and early warning method based on respiratory data analysis in the first aspect, comprising the following steps: The millimeter wave radar emits electromagnetic waves and receives the echoes reflected by the micro-movement of the human chest and abdomen to capture the body surface movement caused by respiration, forming real-time respiratory data; The real-time respiratory data is preprocessed to separate the respiratory harmonic component and distinguish between chest breathing and abdominal breathing, and a sleep state and sleep apnea hypopnea index prediction model is constructed based on a deep learning network; Real-time respiratory data of the user is collected, and the respiratory data of the user is predicted by the sleep state and sleep apnea hypopnea index prediction model to estimate the sleep state and sleep apnea hypopnea index of the user; According to the sleep state and sleep apnea hypopnea index of the user, an early warning is made, and at the same time, a relevant treatment plan is generated according to the early warning information.
[0005] Further, in the sleep monitoring and early warning method based on respiratory data analysis, the millimeter wave radar emits electromagnetic waves and receives the echoes reflected by the micro-movement of the human chest and abdomen to capture the body surface movement caused by respiration, forming real-time respiratory data, specifically: By installing a millimeter wave radar in a predetermined area, using the millimeter wave radar to work in a 60-64GHz frequency band, adopting a frequency-modulated continuous wave to transmit an electromagnetic wave and receiving a back wave reflected by a human body chest and abdomen micro-motion to capture a body surface motion caused by respiration; The number of transmitting and receiving antennas is configured in the millimeter wave radar, the number of transmitting and receiving antennas is initialized, the respiratory data for capturing the body surface motion caused by respiration is collected and tested based on the number of transmitting and receiving antennas using a multiple-input multiple-output array, and the spatial resolution of the current data is collected through the test; A spatial resolution threshold is set, whether the spatial resolution of the current data is greater than the spatial resolution threshold is judged, if the spatial resolution of the current data is greater than the spatial resolution threshold, the current transmitting and receiving antenna number is arranged, and real-time respiratory data is collected.
[0006] If the spatial resolution of the current data is not greater than the spatial resolution threshold, the number of current transmitting and receiving antennas is adjusted until the spatial resolution of the current data is greater than the spatial resolution threshold.
[0007] Further, in the sleep monitoring and early warning method based on respiratory data analysis, the real-time respiratory data is preprocessed, the respiratory harmonic component is separated, and the chest breathing and abdominal breathing are distinguished, specifically: The real-time respiratory data is filtered and denoised to remove noise and obtain preprocessed respiratory data, and the preprocessed respiratory data is processed by a phase extraction algorithm to obtain phase change data caused by respiration; The phase change data caused by respiration is processed by a multipath elimination technique to reduce environmental reflection interference, and a variational mode decomposition algorithm is introduced to decompose the phase change data caused by respiration by the variational mode decomposition algorithm; The respiratory harmonic component is separated by decomposition, and the chest breathing and abdominal breathing are distinguished based on the respiratory harmonic component.
[0008] Further, in the sleep monitoring and early warning method based on respiratory data analysis, a sleep state and sleep apnea hypopnea index prediction model is constructed based on a deep learning network, specifically: A sleep state and sleep apnea hypopnea index prediction model is constructed based on a deep learning network, sleep state data, chest breathing and abdominal breathing data are collected to form a large-scale contact respiratory signal database, and sleep staging and sleep apnea hypopnea index estimation are simultaneously performed in a unified framework; By estimating, the intrinsic relationship between the macroscopic structure of sleep and respiratory events is decoupled, and the knowledge of sleep breathing characteristics learned from contact breathing signals is transferred to millimeter-wave radar signals through a domain adversarial training mechanism. The thoracic and abdominal breathing data are used as model inputs, and the sleep stages and sleep apnea-hypopnea index are used as model outputs. The learning rate and number of training sessions are set. The sleep state and sleep apnea-hypopnea index prediction model is trained based on the learning rate and the number of training sessions. When the prediction accuracy of the sleep state and sleep apnea-hypopnea index prediction model reaches the preset prediction accuracy data, the sleep state and sleep apnea-hypopnea index prediction model is output.
[0009] Furthermore, in the sleep monitoring and early warning method based on respiratory data analysis, the user's respiratory data is collected in real time, and the user's respiratory data is predicted using a sleep state and sleep apnea-hypopnea index prediction model to estimate the user's sleep state and sleep apnea-hypopnea index, specifically as follows: Real-time collection of user breathing data, and input of the user breathing data into the sleep state and sleep apnea-hypopnea index prediction model for prediction; The system estimates and obtains the user's sleep state and sleep apnea-hypopnea index, and outputs the user's sleep state and sleep apnea-hypopnea index.
[0010] Furthermore, in the sleep monitoring and early warning method based on respiratory data analysis, an early warning is issued based on the user's sleep state and sleep apnea-hypopnea index, specifically as follows: Set the user's sleep state and the range of the sleep apnea-hypopnea index evaluation indicators, and determine whether the user's sleep state and sleep apnea-hypopnea index are within the range of the user's sleep state and sleep apnea-hypopnea index evaluation indicators. If the user's sleep state and sleep apnea-hypopnea index are within the range of the user's sleep state and sleep apnea-hypopnea index evaluation indicators, then normal information is generated and displayed in a preset manner. If the user's sleep state and sleep apnea-hypopnea index are not within the range of the user's sleep state and sleep apnea-hypopnea index evaluation indicators, an early warning message will be generated and displayed in a preset manner.
[0011] Furthermore, in sleep monitoring and early warning methods based on respiratory data analysis, relevant treatment plans are generated based on the early warning information, specifically as follows: Based on the warning information, the changes in the user's sleep state characteristics and sleep apnea-hypopnea index data within a preset time period are obtained, and a real-time sleep structure map is constructed based on the changes in the user's sleep state characteristics within the preset time period. Users upload various sleep structure diagrams and historical treatment plans under sleep apnea-hypopnea index data to build a database, and input the various sleep structure diagrams and historical treatment plans under sleep apnea-hypopnea index data into the database for storage; Real-time sleep structure graphs and sleep apnea-hypopnea index data are input into the database for data matching. Through data matching, the optimal treatment plan under the current real-time sleep structure graph and sleep apnea-hypopnea index data is obtained. Based on the current real-time sleep structure map and sleep apnea-hypopnea index data, the optimal treatment plan is generated.
[0012] Furthermore, in sleep monitoring and early warning methods based on respiratory data analysis, noise is removed by filtering and denoising the real-time respiratory data. Specifically: The real-time respiratory data is processed by Hampel filtering to remove outliers from the original CSI sequence, and Gaussian filtering and linear interpolation are used to smooth the data and handle possible data loss. The respiratory frequency band signal was extracted using a Butterworth low-pass filter, and signal anomalies caused by large-scale body movement were identified and suppressed by Z-Score anomaly detection. The filtered signal is peaked by local peak detection, the breathing rate is calculated, and noise is removed.
[0013] A second aspect of the present invention provides a sleep monitoring and early warning system based on respiratory data analysis, including a memory and a processor. The memory includes a sleep monitoring and early warning method program based on respiratory data analysis. When the processor executes the sleep monitoring and early warning method program based on respiratory data analysis, it implements the steps of any of the sleep monitoring and early warning methods based on respiratory data analysis described in the present invention.
[0014] A third aspect of the present invention provides a computer-readable storage medium including a sleep monitoring and early warning method program based on respiratory data analysis, wherein when the sleep monitoring and early warning method program based on respiratory data analysis is executed by a processor, it implements the steps of the sleep monitoring and early warning method based on respiratory data analysis as described in any one of the present invention.
[0015] This invention addresses the shortcomings of the prior art and has the following beneficial effects: This invention utilizes millimeter-wave radar to capture body surface movements caused by respiration by emitting electromagnetic waves and receiving echoes reflected from subtle movements of the human chest and abdomen, forming real-time respiratory data. This data is then preprocessed to separate respiratory harmonic components and distinguish between thoracic and abdominal breathing. A sleep state and sleep apnea-hypopnea index (PAH-index) prediction model is constructed based on a deep learning network. This allows for real-time acquisition of the user's respiratory data, prediction of the user's sleep state and PAH-index using the model, and finally, early warning based on the user's sleep state and PAH-index. Simultaneously, relevant treatment plans are generated based on the warning information. This invention pre-trains a deep learning model that simultaneously performs sleep staging and PAH estimation within a unified framework, effectively decoupling the intrinsic relationship between the macroscopic structure of sleep and respiratory events. Then, through a domain adversarial training mechanism, sleep respiratory feature knowledge learned from contact respiratory signals is transferred to millimeter-wave radar signals, addressing the problem of insufficient model generalization ability caused by the scarcity of radar data annotations. Attached Figure Description
[0016] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other embodiments can be obtained from these drawings without creative effort.
[0017] Figure 1 A flowchart illustrating the overall process of sleep monitoring and early warning methods based on respiratory data analysis is provided. Figure 2 A system block diagram of a sleep monitoring and early warning system based on respiratory data analysis is shown. Detailed Implementation
[0018] To better understand the above-mentioned objectives, features, and advantages of the present invention, the present invention will be further described in detail below with reference to the accompanying drawings and specific embodiments. It should be noted that, unless otherwise specified, the embodiments and features described in these embodiments can be combined with each other.
[0019] Many specific details are set forth in the following description in order to provide a full understanding of the invention. However, the invention may also be practiced in other ways different from those described herein, and therefore the scope of protection of the invention is not limited to the specific embodiments disclosed below.
[0020] like Figure 1As shown, the first aspect of the present invention provides a sleep monitoring and early warning method based on respiratory data analysis, comprising the following steps: Millimeter-wave radar is used to capture body surface movements caused by breathing by emitting electromagnetic waves and receiving echoes reflected by the slight movements of the human chest and abdomen, thus forming real-time respiratory data. By preprocessing real-time respiratory data, respiratory harmonic components are separated, and thoracic breathing and abdominal breathing are distinguished. A prediction model for sleep state and sleep apnea-hypopnea index is constructed based on a deep learning network. Real-time collection of user breathing data; prediction of user breathing data using sleep state and sleep apnea-hypopnea index prediction model; estimation of user sleep state and sleep apnea-hypopnea index. The system provides early warnings based on the user's sleep status and sleep apnea-hypopnea index, and generates relevant treatment plans based on the warning information.
[0021] It should be noted that this invention pre-trains a deep learning model on a large-scale contact breathing signal database (such as a multi-center database containing 15,785 nights). This model simultaneously estimates sleep stages and the apnea-hypopnea index (AHI) within a unified framework, effectively decoupling the intrinsic relationship between the macroscopic structure of sleep and respiratory events. Then, through a domain adversarial training mechanism, the sleep breathing feature knowledge learned from contact breathing signals is transferred to millimeter-wave radar signals, solving the problem of insufficient model generalization ability caused by the scarcity of radar data annotations.
[0022] Furthermore, in sleep monitoring and early warning methods based on respiratory data analysis, millimeter-wave radar is used to capture body surface movements caused by breathing by emitting electromagnetic waves and receiving echoes reflected from the subtle movements of the human chest and abdomen, thus forming real-time respiratory data. Specifically: By installing millimeter-wave radar in a predetermined area, the millimeter-wave radar operates in the 60-64 GHz frequency band, uses frequency-modulated continuous wave to transmit electromagnetic waves and receives the echoes reflected by the slight movements of the human chest and abdomen to capture the surface movements caused by breathing. Configure the number of transmitting and receiving antennas in the millimeter-wave radar, initialize the number of transmitting and receiving antennas, and use a multi-input multi-output array based on the number of transmitting and receiving antennas to collect and test respiratory data that captures body surface movements caused by breathing. Through the test, determine the spatial resolution of the current data. Set a spatial resolution threshold to determine if the spatial resolution of the current data is greater than the spatial resolution threshold. If the spatial resolution of the current data is greater than the spatial resolution threshold, arrange the antennas according to the current number of transmitting and receiving antennas and collect real-time respiratory data.
[0023] If the spatial resolution of the current data is not greater than the spatial resolution threshold, adjust the number of current transmit and receive antennas until the spatial resolution of the current data is greater than the spatial resolution threshold.
[0024] It should be noted that millimeter-wave radar operates in the 60-64 GHz frequency band, employing frequency-modulated continuous wave mode. It captures body surface movements caused by respiration by emitting electromagnetic waves and receiving echoes reflected from subtle movements of the human chest and abdomen. By integrating a predetermined number of transmitting and receiving antennas at the radar front end, optimizing the number of transmitting and receiving antennas, and improving the spatial resolution of the multiple-input multiple-output (MIMO) array, the rationality of millimeter-wave radar data acquisition can be enhanced.
[0025] Furthermore, in sleep monitoring and early warning methods based on respiratory data analysis, real-time respiratory data is preprocessed to separate respiratory harmonic components and distinguish between thoracic and abdominal breathing, specifically: By filtering and denoising real-time respiratory data to remove noise, preprocessed respiratory data is obtained. Then, a phase extraction algorithm is used to process the preprocessed respiratory data to obtain phase change data caused by respiration. Multipath cancellation technology is used to process the phase change data caused by respiration to reduce environmental reflection interference, and variational mode decomposition algorithm is introduced to decompose the phase change data caused by respiration. By decomposing the components, respiratory harmonic components are separated, and thoracic breathing and abdominal breathing are distinguished based on these components.
[0026] It should be noted that by filtering and denoising the real-time breathing data, noise is removed, specifically as follows: Outlier removal was performed on the raw CSI sequence by using Hampel filtering on real-time respiratory data, and Gaussian filtering and linear interpolation were used to smooth the data and handle possible data loss. The respiratory frequency band signal was extracted using a Butterworth low-pass filter, and signal anomalies caused by large-scale body movement were identified and suppressed by Z-Score anomaly detection. The filtered signal is peaked by local peak detection, the breathing rate is calculated, and noise is removed.
[0027] It should be noted that after preprocessing, the phase changes caused by breathing are obtained through a phase extraction algorithm from the raw radar signal. Subsequently, multipath cancellation technology is used to reduce environmental reflection interference, and then variational mode decomposition (VMD) is used to separate the breathing harmonic components, effectively distinguishing between thoracic breathing and abdominal breathing.
[0028] Furthermore, in the sleep monitoring and early warning method based on respiratory data analysis, a predictive model for sleep state and sleep apnea-hypopnea index is constructed based on a deep learning network, specifically as follows: A prediction model for sleep state and sleep apnea-hypopnea index is constructed based on a deep learning network. Sleep state data, thoracic breathing data and abdominal breathing data are collected to form a large-scale contact breathing signal database. Sleep stage and sleep apnea-hypopnea index are estimated simultaneously within a unified framework. By estimating, the intrinsic relationship between the macroscopic structure of sleep and respiratory events is decoupled, and the knowledge of sleep breathing characteristics learned from contact breathing signals is transferred to millimeter-wave radar signals through a domain adversarial training mechanism. Use thoracic breathing and abdominal breathing data as model input, and sleep stages and sleep apnea-hypopnea index as model output, and set the learning rate and number of training sessions. The sleep state and sleep apnea-hypopnea index prediction model is trained based on the learning rate and the number of training sessions. When the prediction accuracy of the sleep state and sleep apnea-hypopnea index prediction model reaches the preset prediction accuracy data, the sleep state and sleep apnea-hypopnea index prediction model is output.
[0029] It should be noted that a deep learning model is pre-trained on a large-scale contact respiratory signal database (such as a multi-center database containing 15,785 nights). This model simultaneously performs sleep staging and apnea-hypopnea index (AHI) estimation within a unified framework, effectively decoupling the intrinsic relationship between the macroscopic structure of sleep and respiratory events. Then, through a domain adversarial training mechanism, the sleep respiratory feature knowledge learned from contact respiratory signals is transferred to millimeter-wave radar signals, solving the problem of insufficient model generalization ability caused by the scarcity of radar data annotations. The domain adversarial training mechanism is the core technology for improving the model's cross-domain generalization ability by eliminating the distribution difference between the source and target domains through adversarial learning. Its key lies in the dynamic game between the feature extractor and the domain classifier. It mainly consists of three parts: a feature extractor, a threshold classifier, and a gradient inversion layer. In the feature extractor, the input is mapped to the feature space, with the goal of generating "domain-independent features" that the domain classifier cannot distinguish. In the threshold classifier, it determines whether the feature comes from the source or target domain, with the goal of maximizing the classification accuracy. In the gradient inversion layer, the gradient sign is reversed during backpropagation, creating an adversarial relationship between the feature extractor and the domain classifier—the former attempts to "confuse" the latter, while the latter tries to "decipher" the domain origin.
[0030] Furthermore, in the sleep monitoring and early warning method based on respiratory data analysis, the user's respiratory data is collected in real time. The user's respiratory data is then predicted using a sleep state and sleep apnea-hypopnea index prediction model to estimate the user's sleep state and sleep apnea-hypopnea index. Specifically: Real-time collection of users' breathing data; inputting users' breathing data into the sleep state and sleep apnea-hypopnea index prediction model for prediction. The system estimates and obtains the user's sleep state and sleep apnea-hypopnea index, and outputs the user's sleep state and sleep apnea-hypopnea index.
[0031] Furthermore, in sleep monitoring and early warning methods based on respiratory data analysis, early warnings are issued based on the user's sleep state and sleep apnea-hypopnea index, specifically as follows: Set the user's sleep status and the range of evaluation indicators for sleep apnea-hypopnea index, and determine whether the user's sleep status and sleep apnea-hypopnea index are within the range of evaluation indicators. If the user's sleep status and sleep apnea-hypopnea index are within the range of the user's sleep status and sleep apnea-hypopnea index evaluation indicators, then normal information is generated and displayed according to the preset method; If the user's sleep state and sleep apnea-hypopnea index are outside the evaluation range of the user's sleep state and sleep apnea-hypopnea index, an early warning message will be generated and displayed according to the preset method.
[0032] It should be noted that sleep states include light sleep, deep sleep, and wakefulness. The Sleep Apnea-Hypopnea Index (AHI) refers to the number of apneas and hypopneas per hour of sleep. Apnea is defined as the complete cessation of airflow through the mouth and nose for more than 10 seconds during sleep; hypopnea is defined as a reduction in airflow intensity (amplitude) of more than 50% compared to baseline levels during sleep, accompanied by a decrease in blood oxygen saturation of ≥4% or micro-awakening. The system can be configured to generate an alert and display it according to a preset method when the patient is in deep sleep and the AHI is ≥5 times per hour. Otherwise, a normal alert will be generated.
[0033] Furthermore, in sleep monitoring and early warning methods based on respiratory data analysis, relevant treatment plans are generated based on the early warning information, specifically as follows: Based on the early warning information, the changes in the user's sleep state characteristics and sleep apnea-hypopnea index data within a preset time period are obtained, and a real-time sleep structure map is constructed based on the changes in the user's sleep state characteristics within a preset time period. Users upload various sleep structure diagrams and historical treatment plans under sleep apnea-hypopnea index data to build a database, and input the various sleep structure diagrams and historical treatment plans under sleep apnea-hypopnea index data into the database for storage; Real-time sleep structure graphs and sleep apnea-hypopnea index data are input into the database for data matching. Through data matching, the optimal treatment plan is obtained under the current real-time sleep structure graph and sleep apnea-hypopnea index data. Based on the current real-time sleep structure map and sleep apnea-hypopnea index data, the optimal treatment plan is generated.
[0034] It should be noted that this method can recommend relevant treatment plans, such as recommending continuous positive airway pressure (CPAP) therapy for patients with severe sleep apnea.
[0035] In addition, this method also includes: An array of multiple miniature microphones is deployed in the bedroom to collect snoring and breathing sounds. Beamforming technology is used to amplify the sound signal from the direction of the bed, and a deep neural network is introduced. A random forest algorithm is used to classify audio segments, identify different types of snoring sounds, and associate these different types of snoring sounds with sleep apnea events to generate correlation data. This correlation data is then input into the neural network for training. The neural network is used to identify regular changes in breathing patterns during different sleep stages, and this regularity is used to construct the user's original sleep data. With the user's authorization, the user's original sleep data is processed using a Markov model to generate the user's original sleep data state sequence change characteristics, and the system determines whether there are any abnormal states in these characteristics. When abnormal states are found in the user's original sleep data state sequence change characteristics, an early warning is issued.
[0036] It should be noted that the random forest algorithm is used to classify audio segments, identify different types of snoring sounds (such as simple snoring, partial airway obstruction sounds, etc.), and associate them with sleep apnea events. Since autonomic nervous system regulation in different sleep stages causes regular changes in breathing patterns, these changes can also be reflected in sound characteristics. The system further optimizes the accuracy of sleep monitoring by analyzing the rhythm and intensity of breathing sounds.
[0037] In addition, this method also includes: The sleep monitor incorporates millimeter-wave radar to monitor the patient's sleep state in real time, identifying wakefulness, difficulty falling asleep, or shallow sleep based on the monitored sleep state. The user uploads their personal pathological information, and feature extraction is performed based on this information to determine if central sleep apnea or sleep rhythm disorders are present. When central sleep apnea or sleep rhythm disorders are present, the intensity, frequency, and duration of magnetic stimulation from the sleep monitor are automatically optimized based on the identified wakefulness, difficulty falling asleep, or shallow sleep. During stimulation intervals, the sleep monitor guides the user through specific breathing pattern training, and their compliance and physiological responses are monitored in real time, forming a closed-loop intervention.
[0038] It should be noted that this method monitors the user's breathing signals in real time. When central sleep apnea (characterized by the loss of breathing effort) or sleep rhythm disorder is detected, the pulsed magnetic stimulation system is automatically activated. By applying a magnetic field to the relevant areas of the brain's respiratory center (such as the brainstem), the excitability of neurons is regulated, helping to restore a normal breathing rhythm.
[0039] A second aspect of the present invention provides a sleep monitoring and early warning system based on respiratory data analysis, including a memory and a processor. The memory includes a sleep monitoring and early warning method program based on respiratory data analysis. When the sleep monitoring and early warning method program based on respiratory data analysis is executed by the processor, it implements the steps of any one of the sleep monitoring and early warning methods based on respiratory data analysis.
[0040] A third aspect of the present invention provides a computer-readable storage medium including a sleep monitoring and early warning method program based on respiratory data analysis, wherein when the sleep monitoring and early warning method program based on respiratory data analysis is executed by a processor, it implements the steps of any one of the sleep monitoring and early warning methods based on respiratory data analysis.
[0041] In the several embodiments provided in this application, it should be understood that the disclosed devices and methods can be implemented in other ways. The device embodiments described above are merely illustrative. For example, the division of units is only a logical functional division, and in actual implementation, there may be other division methods, such as: multiple units or components can be combined, or integrated into another system, or some features can be ignored or not executed. In addition, the coupling, direct coupling, or communication connection between the various components shown or discussed can be through some interfaces, and the indirect coupling or communication connection between devices or units can be electrical, mechanical, or other forms.
[0042] The units described above as separate components may or may not be physically separate. The components shown as units may or may not be physical units. They may be located in one place or distributed across multiple network units. Some or all of the units may be selected to achieve the purpose of this embodiment according to actual needs.
[0043] In addition, in the various embodiments of the present invention, each functional unit can be integrated into one processing unit, or each unit can be a separate unit, or two or more units can be integrated into one unit; the integrated unit can be implemented in hardware or in the form of hardware plus software functional units.
[0044] Those skilled in the art will understand that all or part of the steps of the above method embodiments can be implemented by hardware related to program instructions. The aforementioned program can be stored in a computer-readable storage medium. When the program is executed, it performs the steps of the above method embodiments. The aforementioned storage medium includes various media capable of storing program code, such as mobile storage devices, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.
[0045] Alternatively, if the integrated units of this invention are implemented as software functional modules and sold or used as independent products, they can also be stored in a computer-readable storage medium. Based on this understanding, the technical solutions of the embodiments of this invention, or the parts that contribute to the prior art, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the methods of the various embodiments of this invention. The aforementioned storage medium includes various media capable of storing program code, such as mobile storage devices, ROM, RAM, magnetic disks, or optical disks.
[0046] The above are merely specific embodiments of the present invention, but the scope of protection of the present invention is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the technical scope disclosed in the present invention should be included within the scope of protection of the present invention. Therefore, the scope of protection of the present invention should be determined by the scope of the claims.
Claims
1. A sleep monitoring and alerting method based on respiratory data analysis, characterized in that, The method comprises the following steps: Real-time respiratory data is formed by capturing body surface movement caused by respiration through millimeter wave radar by emitting electromagnetic waves and receiving echoes reflected by chest and abdominal micro-movement of the human body; Respiratory harmonic components are separated from the real-time respiratory data, and chest breathing and abdominal breathing are distinguished, and a sleep state and sleep apnea hypopnea index prediction model is constructed based on a deep learning network; Real-time respiratory data of a user is collected, and the sleep state and sleep apnea hypopnea index prediction model is used to predict the respiratory data of the user to estimate the sleep state and sleep apnea hypopnea index of the user; According to the sleep state and sleep apnea hypopnea index of the user, a warning is given, and a related treatment scheme is generated according to the warning information.
2. The sleep monitoring and alerting method based on respiratory data analysis according to claim 1, characterized in that, Real-time respiratory data is formed by capturing body surface movement caused by respiration through millimeter wave radar by emitting electromagnetic waves and receiving echoes reflected by chest and abdominal micro-movement of the human body, specifically: A millimeter wave radar is installed in a predetermined area, the millimeter wave radar works in a 60-64GHz frequency band, and a frequency-modulated continuous wave is used to emit electromagnetic waves and receive echoes reflected by chest and abdominal micro-movement of the human body to capture body surface movement caused by respiration; The number of transmitting and receiving antennas in the millimeter wave radar is configured, the number of transmitting and receiving antennas is initialized, and the respiratory data of the captured body surface movement caused by respiration is collected and tested based on the number of transmitting and receiving antennas using a multiple-input multiple-output array, and the spatial resolution of the current data is collected through testing; A spatial resolution threshold is set, and it is judged whether the spatial resolution of the current data is greater than the spatial resolution threshold, if the spatial resolution of the current data is greater than the spatial resolution threshold, the current transmitting and receiving antennas are arranged according to the number, and real-time respiratory data is collected; If the spatial resolution of the current data is not greater than the spatial resolution threshold, the number of current transmitting and receiving antennas is adjusted until the spatial resolution of the current data is greater than the spatial resolution threshold.
3. The sleep monitoring and alerting method based on respiratory data analysis as claimed in claim 1, wherein, Real-time respiratory data is preprocessed to separate respiratory harmonic components and distinguish chest breathing and abdominal breathing, specifically: The real-time respiratory data is filtered and denoised to remove noise, and the preprocessed respiratory data is obtained, and the preprocessed respiratory data is processed by a phase extraction algorithm to obtain phase change data caused by respiration; The phase change data caused by respiration is processed using a multipath elimination technique to reduce environmental reflection interference, and a variational mode decomposition algorithm is introduced to decompose the phase change data caused by respiration by the variational mode decomposition algorithm; Respiratory harmonic components are separated by decomposition, and chest breathing and abdominal breathing are distinguished based on the respiratory harmonic components.
4. The sleep monitoring and alerting method based on respiratory data analysis as claimed in claim 1, wherein, A sleep state and sleep apnea hypopnea index prediction model is constructed based on a deep learning network, specifically: A sleep state and sleep apnea hypopnea index prediction model is constructed based on a deep learning network, sleep state data, chest breathing data and abdominal breathing data are collected to form a large-scale contact respiratory signal database, and sleep staging and sleep apnea hypopnea index estimation are simultaneously performed in a unified framework; Through estimation, the internal correlation between sleep macrostructure and respiratory events is decoupled, and through a domain adversarial training mechanism, sleep respiratory feature knowledge learned from contact respiratory signals is transferred to millimeter wave radar signals; The chest breathing data and the abdominal breathing data are input into the model as model inputs, and the sleep staging and the sleep apnea hypopnea index are output as model outputs, and a learning rate and a training number are set; The sleep state and sleep apnea hypopnea index prediction model is trained based on the learning rate and the training number, and when the prediction accuracy of the sleep state and sleep apnea hypopnea index prediction model reaches a preset prediction accuracy data, the sleep state and sleep apnea hypopnea index prediction model is output.
5. The sleep monitoring and alerting method based on respiratory data analysis as claimed in claim 1, wherein, Real-time respiratory data of a user is collected, and the respiratory data of the user is predicted by the sleep state and sleep apnea hypopnea index prediction model to estimate the sleep state and sleep apnea hypopnea index of the user, specifically: Real-time respiratory data of a user is collected, and the respiratory data of the user is input into the sleep state and sleep apnea hypopnea index prediction model for estimation; Through estimation, the sleep state and sleep apnea hypopnea index of the user are obtained, and the sleep state and sleep apnea hypopnea index of the user are output.
6. The sleep monitoring and alerting method based on respiratory data analysis as claimed in claim 1, wherein, According to the sleep state and sleep apnea hypopnea index of the user, a warning is given, specifically: An evaluation index range of the sleep state and sleep apnea hypopnea index of the user is set, and it is determined whether the sleep state and sleep apnea hypopnea index of the user are within the evaluation index range of the sleep state and sleep apnea hypopnea index of the user; If the sleep state and sleep apnea hypopnea index of the user are within the evaluation index range of the sleep state and sleep apnea hypopnea index of the user, normal information is generated and displayed in a preset manner; If the sleep state and sleep apnea hypopnea index of the user are not within the evaluation index range of the sleep state and sleep apnea hypopnea index of the user, a warning information is generated and displayed in a preset manner.
7. The sleep monitoring and alerting method based on respiratory data analysis as claimed in claim 1, wherein, According to the warning information, a related treatment scheme is generated, specifically: The sleep state feature changes and sleep apnea hypopnea index data of the user within a preset time are obtained according to the warning information, and a real-time sleep structure diagram is constructed based on the sleep state feature changes of the user within the preset time; The user uploads historical treatment schemes under each sleep structure diagram and sleep apnea hypopnea index data, constructs a database, and inputs the historical treatment schemes under each sleep structure diagram and sleep apnea hypopnea index data into the database for storage; The real-time sleep structure diagram and sleep apnea hypopnea index data are input into the database for data matching, and through the data matching, the optimal treatment scheme under the current real-time sleep structure diagram and sleep apnea hypopnea index data is obtained; The related treatment scheme is generated based on the optimal treatment scheme under the current real-time sleep structure diagram and sleep apnea hypopnea index data.
8. The sleep monitoring and alerting method based on respiratory data analysis as claimed in claim 3, wherein, The real-time respiratory data is filtered and denoised to remove noise, specifically: The Hampel filter is used to remove outliers from the original CSI sequence, and the Gaussian filter and linear interpolation are used to smooth the data and solve the possible data loss problem; The Butterworth low-pass filter is used to extract the respiratory frequency band signal, and the Z-Score anomaly detection is used to identify and suppress the signal anomaly caused by the large-scale movement of the body; The filtered signal is peak searched through local peak detection, the respiratory rate is calculated, and the noise part is removed.
9. A sleep monitoring and alert system based on respiratory data analysis, characterized in that, The memory includes a sleep monitoring and early warning method based on respiratory data analysis program, and the sleep monitoring and early warning method based on respiratory data analysis program is executed by the processor to realize the steps of the sleep monitoring and early warning method based on respiratory data analysis of any one of claims 1-7.
10. A computer-readable storage medium, characterized in that, The memory includes a sleep monitoring and early warning method based on respiratory data analysis program, and the sleep monitoring and early warning method based on respiratory data analysis program is executed by the processor to realize the steps of the sleep monitoring and early warning method based on respiratory data analysis of any one of claims 1-7.
Citation Information
Patent Citations
Non-contact sleep respiration monitoring method and system based on millimeter wave radar
CN116269298A
Sleep apnea type distinguishing method based on millimeter wave radar
CN120616491A
Cited By
Breathing health auxiliary monitoring method and system for chronic lung diseases
CN122140224A