Apnea event screening model training method, device and computer equipment

Through slicing of sleep monitoring signals and deep learning model training, an automated apnea event screening model is formed, which solves the problem of low automation of portable polysomnography equipment and improves screening efficiency and accuracy.

CN114424934BActive Publication Date: 2024-10-18SHANGHAI SIXTH PEOPLES HOSPITAL +1
View PDF 7 Cites 0 Cited by

Patent Information

Application Number
CN202111659574.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-12-30
Publication Date
2024-10-18
Estimated Expiration
2041-12-30

AI Technical Summary

Technical Problem

Existing portable polysomnography equipment has a low degree of automation in screening apnea events and relies on physician interpretation, resulting in large individual differences and cannot be widely used.

Method used

By acquiring the sleep monitoring signal, analyzing and slicing it to obtain multiple segment signals, counting the diagnostic tag type and frequency of occurrence in each segment signal, and using the segment event number regression and event detection sub-model as well as the apnea syndrome screening sub-model for training. , forming an automated apnea event screening model.

Benefits of technology

It improves the accuracy and efficiency of the apnea event screening model, reduces the manual participation rate, and realizes automated interpretation of signals from portable polysomnography equipment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114424934B_ABST
    Figure CN114424934B_ABST
Patent Text Reader

Abstract

The present application relates to a method, device, computer equipment, storage medium and computer program product for training an apnea event screening model. The method includes: obtaining a sleep monitoring signal, analyzing the sleep detection signal, obtaining a diagnostic label of at least one sleep sub-time period corresponding to the sleep detection signal, determining a final screening result label corresponding to the sleep detection signal based on the diagnostic label of at least one sleep sub-time period corresponding to the sleep detection signal, slicing the sleep monitoring signal based on the equal-length division result of the total sleep time period corresponding to the sleep monitoring signal, obtaining multiple segment signals of the sleep monitoring signal, training an apnea event screening model, and obtaining a trained apnea event screening model. The use of this method can improve the accuracy of the final screening result of the apnea event screening model and reduce manual intervention.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of deep learning technology, and in particular to a method, device and computer equipment for training a sleep apnea event screening model. Background Art

[0002] Sleep Apnea Hypopnea Syndrome (SAHS) is a common sleep-related breathing disorder characterized by multiple episodes of reduced and stopped airflow during sleep. These episodes of reduced and stopped airflow are also called apnea events. Nighttime polysomnography (PSG) is the most commonly used standard for screening SAHS, which records multimodal physiological signals such as oral and nasal airflow, blood oxygen saturation, electrocardiogram, and sleep status. At present, it has become a medical norm to use portable polysomnography equipment with fewer leads to screen and preliminarily screen for SAHS. However, current portable polysomnography equipment has problems such as low automation and reliance on doctors' interpretation.

[0003] In the related art, manual feature extraction or sparse expression methods are generally used to screen individual apnea events based on sleep monitoring signals collected by portable polysomnography equipment. Such methods often require complex feature extraction and screening work, and have relatively large individual differences in different scenarios, and cannot be widely used in actual medical practice. Therefore, there is an urgent need for a apnea event screening model training method. Summary of the invention

[0004] Based on this, it is necessary to provide a sleep apnea event screening model training method, device, computer equipment, computer readable storage medium and computer program product to address the above technical problems.

[0005] In a first aspect, the present application provides a method for training a sleep apnea event screening model. The method comprises:

[0006] Acquire a sleep monitoring signal, wherein the sleep monitoring signal corresponds to a sleep process of the sleep detection individual;

[0007] Analyze the sleep detection signal to obtain a diagnostic label of at least one sleep sub-time period corresponding to the sleep detection signal, and determine a final screening result label corresponding to the sleep detection signal according to the diagnostic label of at least one sleep sub-time period corresponding to the sleep detection signal;

[0008] Slicing the sleep monitoring signal based on the equal-length division result of the total sleep time period corresponding to the sleep monitoring signal to obtain multiple segment signals of the sleep monitoring signal;

[0009] According to the diagnostic label of at least one sleep sub-time period corresponding to the sleep detection signal, counting the number of occurrences of each type of diagnostic label in each divided sub-time period in the equal-duration division result, and determining the type of diagnostic label that appears in each divided sub-time period;

[0010] Based on multiple segment signals of the sleep monitoring signal, the number of occurrences of each type of diagnostic label in each sub-time period, the type of diagnostic label that appears in each sub-time period and the final screening result label, the apnea event screening model is trained to obtain a trained apnea event screening model.

[0011] In one embodiment, according to the diagnostic label of at least one sleep sub-time period corresponding to the sleep detection signal, counting the number of occurrences of each type of diagnostic label in each divided sub-time period in the equal-duration division result includes:

[0012] Determine a sleep sub-time period corresponding to each divided sub-time period and meeting a preset condition, wherein the preset condition includes that all or part of the sleep sub-time period falls within the divided sub-time period;

[0013] According to the diagnostic labels of the sleep sub-time periods that meet the preset conditions and correspond to each divided sub-time period, the number of occurrences of each type of diagnostic label in each divided sub-time period is counted.

[0014] In one embodiment, the apnea event screening model includes a segment event number regression and event detection sub-model and an apnea syndrome screening sub-model; based on multiple segment signals of the sleep monitoring signal, the number of occurrences of each type of diagnostic label in each divided sub-time period, the type of diagnostic label that appears in each divided sub-time period, and the final screening result label, the apnea event screening model is trained, including:

[0015] Using multiple segment signals of the sleep monitoring signal as inputs of the segment event number regression and event detection sub-model, using the number of occurrences of each type of diagnostic label in each divided sub-time period and the type of diagnostic label that appears in each divided sub-time period as outputs of the segment event number regression and event detection sub-model, training the segment event number regression and event detection sub-model, and obtaining a trained segment event number regression and event detection sub-model;

[0016] The number of occurrences of each type of diagnostic label in each divided sub-time period and the type of diagnostic label that appears in each divided sub-time period are used as the input of the apnea syndrome screening sub-model, and the final screening result label is used as the output of the apnea syndrome screening sub-model. The apnea syndrome screening sub-model is trained to obtain the trained apnea syndrome screening sub-model.

[0017] In one embodiment, the segment event number regression and event detection sub-model includes a weighted gradient class activation mapping network and a convolutional neural network; multiple segment signals of the sleep monitoring signal are used as inputs of the segment event number regression and event detection sub-model, the number of occurrences of each type of diagnostic label in each divided sub-time period and the type of diagnostic label that appears in each divided sub-time period are used as outputs of the segment event number regression and event detection sub-model, the segment event number regression and event detection sub-model is trained, and the trained segment event number regression and event detection sub-model is obtained, including:

[0018] Multiple fragment signals of sleep monitoring signals are used as the input of the convolutional neural network, the number of occurrences of each type of diagnostic label in each divided sub-time period is used as the output of the convolutional neural network, the feature map output by the convolutional neural network is used as the input of the weighted gradient class activation mapping network, and the type of diagnostic label appearing in each divided sub-time period is used as the output of the weighted gradient class activation mapping network. The weighted gradient class activation mapping network and the convolutional neural network are trained respectively to obtain the trained weighted gradient class activation mapping network and the trained convolutional neural network.

[0019] In one embodiment, a convolutional neural network includes a plurality of convolutional modules connected in sequence; the convolutional module includes a first layer set and a second layer set connected to each other, the first layer set includes a convolutional layer, a first regularization layer, an activation layer, a convolutional layer and a second regularization layer connected in sequence, and the second layer set includes an addition layer, an activation layer and a maximum pooling layer connected in sequence; for any convolutional module, the input of the second layer set in any convolutional module includes the output of the first layer set in any convolutional module and the output of the first layer set in the previous convolutional module of any convolutional module.

[0020] In one embodiment, the method further comprises:

[0021] Obtaining sleep monitoring signals to be screened;

[0022] The sleep monitoring signal to be screened is input into the trained sleep apnea event screening model to obtain the final screening result of the sleep monitoring signal to be screened.

[0023] In a second aspect, the present application also provides a device for training a model for screening apnea events. The device comprises:

[0024] A first acquisition module is used to acquire a sleep monitoring signal, wherein the sleep monitoring signal corresponds to a sleep process of the sleep detection individual;

[0025] a determination module, configured to analyze the sleep detection signal to obtain a diagnosis label of at least one sleep sub-period corresponding to the sleep detection signal, and determine a final screening result label corresponding to the sleep detection signal according to the diagnosis label of at least one sleep sub-period corresponding to the sleep detection signal;

[0026] A slicing module, configured to slice the sleep monitoring signal based on the equal-length division result of the total sleep time period corresponding to the sleep monitoring signal, to obtain multiple segment signals of the sleep monitoring signal;

[0027] A statistics module, for counting the number of occurrences of each type of diagnostic label in each divided sub-time period in the equal-duration division result according to the diagnostic label of at least one sleep sub-time period corresponding to the sleep detection signal, and determining the type of diagnostic label that appears in each divided sub-time period;

[0028] The training module is used to train the apnea event screening model based on multiple segment signals of the sleep monitoring signal, the number of occurrences of each type of diagnostic label in each divided sub-time period, the type of diagnostic label that appears in each divided sub-time period, and the final screening result label to obtain the trained apnea event screening model.

[0029] In a third aspect, the present application further provides a computer device. The computer device includes a memory and a processor, the memory stores a computer program, and the processor implements the following steps when executing the computer program:

[0030] Acquire a sleep monitoring signal, wherein the sleep monitoring signal corresponds to a sleep process of the sleep detection individual;

[0031] Analyze the sleep detection signal to obtain a diagnostic label of at least one sleep sub-time period corresponding to the sleep detection signal, and determine a final screening result label corresponding to the sleep detection signal according to the diagnostic label of at least one sleep sub-time period corresponding to the sleep detection signal;

[0032] Slicing the sleep monitoring signal based on the equal-length division result of the total sleep time period corresponding to the sleep monitoring signal to obtain multiple segment signals of the sleep monitoring signal;

[0033] According to the diagnostic label of at least one sleep sub-time period corresponding to the sleep detection signal, counting the number of occurrences of each type of diagnostic label in each divided sub-time period in the equal-duration division result, and determining the type of diagnostic label that appears in each divided sub-time period;

[0034] Based on multiple segment signals of the sleep monitoring signal, the number of occurrences of each type of diagnostic label in each sub-time period, the type of diagnostic label that appears in each sub-time period and the final screening result label, the apnea event screening model is trained to obtain a trained apnea event screening model.

[0035] In a fourth aspect, the present application further provides a computer-readable storage medium. The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the following steps are implemented:

[0036] Acquire a sleep monitoring signal, wherein the sleep monitoring signal corresponds to a sleep process of the sleep detection individual;

[0037] Analyze the sleep detection signal to obtain a diagnostic label of at least one sleep sub-time period corresponding to the sleep detection signal, and determine a final screening result label corresponding to the sleep detection signal according to the diagnostic label of at least one sleep sub-time period corresponding to the sleep detection signal;

[0038] Slicing the sleep monitoring signal based on the equal-length division result of the total sleep time period corresponding to the sleep monitoring signal to obtain multiple segment signals of the sleep monitoring signal;

[0039] According to the diagnostic label of at least one sleep sub-time period corresponding to the sleep detection signal, counting the number of occurrences of each type of diagnostic label in each divided sub-time period in the equal-duration division result, and determining the type of diagnostic label that appears in each divided sub-time period;

[0040] Based on multiple segment signals of the sleep monitoring signal, the number of occurrences of each type of diagnostic label in each sub-time period, the type of diagnostic label that appears in each sub-time period and the final screening result label, the apnea event screening model is trained to obtain a trained apnea event screening model.

[0041] In a fifth aspect, the present application further provides a computer program product. The computer program product includes a computer program, and when the computer program is executed by a processor, the following steps are implemented:

[0042] Acquire a sleep monitoring signal, wherein the sleep monitoring signal corresponds to a sleep process of the sleep detection individual;

[0043] Analyze the sleep detection signal to obtain a diagnostic label of at least one sleep sub-time period corresponding to the sleep detection signal, and determine a final screening result label corresponding to the sleep detection signal according to the diagnostic label of at least one sleep sub-time period corresponding to the sleep detection signal;

[0044] Slicing the sleep monitoring signal based on the equal-length division result of the total sleep time period corresponding to the sleep monitoring signal to obtain multiple segment signals of the sleep monitoring signal;

[0045] According to the diagnostic label of at least one sleep sub-time period corresponding to the sleep detection signal, counting the number of occurrences of each type of diagnostic label in each divided sub-time period in the equal-duration division result, and determining the type of diagnostic label that appears in each divided sub-time period;

[0046] Based on multiple segment signals of the sleep monitoring signal, the number of occurrences of each type of diagnostic label in each sub-time period, the type of diagnostic label that appears in each sub-time period and the final screening result label, the apnea event screening model is trained to obtain a trained apnea event screening model.

[0047] The above-mentioned apnea event screening model training method, device, computer equipment, storage medium and computer program product, BRIEF DESCRIPTION OF THE DRAWINGS

[0048] Figure 1 A diagram of an application environment of a method for training a apnea event screening model in one embodiment;

[0049] Figure 2 A schematic diagram of a flow chart of a method for training a apnea event screening model in one embodiment;

[0050] Figure 3 A structural block diagram of a segment event number regression and event detection sub-model in one embodiment;

[0051] Figure 4 is a structural block diagram of a convolutional neural network in one embodiment;

[0052] Figure 5 It is a structural block diagram of a apnea event screening model training device in one embodiment;

[0053] Figure 6 FIG. 4 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION

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

[0055] The apnea event screening model training method provided in the embodiment of the present application can be applied to Figure 1In the application environment shown. Among them, the portable polysomnography monitoring device 101 communicates with the server 102 through the network. The data storage system can store the data that the server 102 needs to process. The data storage system can be integrated on the server 102, or it can be placed on the cloud or other network servers. Among them, the server 102 can be but is not limited to various personal computers, laptops, smart phones, tablet computers, Internet of Things devices and portable wearable devices. The server 102 can also be implemented as an independent server or a server cluster consisting of multiple servers.

[0056] In one embodiment, Figure 2 As shown, a method for training a respiratory event screening model is provided, and the method is applied to Figure 1 The server in the example is used to illustrate the following steps:

[0057] 201. Obtain a sleep monitoring signal, wherein the sleep monitoring signal corresponds to a sleep process of a sleep detection individual;

[0058] 202. Analyze the sleep detection signal to obtain a diagnosis label of at least one sleep sub-time period corresponding to the sleep detection signal, and determine a final screening result label corresponding to the sleep detection signal according to the diagnosis label of at least one sleep sub-time period corresponding to the sleep detection signal;

[0059] 203. Slice the sleep monitoring signal based on the equal-length division result of the total sleep time period corresponding to the sleep monitoring signal to obtain multiple segment signals of the sleep monitoring signal;

[0060] 204. According to the diagnostic label of at least one sleep sub-time period corresponding to the sleep detection signal, count the number of occurrences of each type of diagnostic label in each divided sub-time period in the equal-duration division result, and determine the type of diagnostic label that appears in each divided sub-time period;

[0061] 205. Based on multiple segment signals of the sleep monitoring signal, the number of occurrences of each type of diagnostic label in each divided sub-time period, the type of diagnostic label that appears in each divided sub-time period, and the final screening result label, the apnea event screening model is trained to obtain a trained apnea event screening model.

[0062] In the above step 201, the sleep monitoring signal includes respiratory rate, arterial oxygen saturation, electroencephalogram, electrocardiogram and heart rate, etc. The sleep monitoring signal comes from a portable polysomnography monitoring device. The portable polysomnography monitoring device is not specifically limited in the embodiment of the present invention, including but not limited to: polysomnography (PSG). In addition, the sleep monitoring signal corresponds to the sleep detection individual, and the embodiment of the present invention does not specifically limit it. It can be the same individual or multiple individuals. A sleep process refers to a sleep process within a continuous period of time, for example, 8:00 pm on the first day to 7:00 am on the second day.

[0063] In the above step 202, based on the doctor's analysis of the sleep detection signal, a diagnostic label of at least one sleep sub-period corresponding to the sleep detection signal can be obtained, wherein the diagnostic labels include: hypopnea, central type, obstructive type and mixed type. The final screening result label refers to the severity of sleep apnea hypopnea syndrome, including 4 levels, namely asymptomatic, mild, moderate and severe.

[0064] In the above step 203, the number of diagnostic label types appearing in each divided sub-time period may be more than one, and diagnostic labels of the same type may appear in each divided sub-time period.

[0065] Specifically, after the portable polysomnography equipment obtains the sleep monitoring signal of an individual within a continuous time period, the doctor will analyze this sleep monitoring signal and determine the diagnostic labels of each sleep sub-time period of this sleep monitoring signal. The doctor then calculates the respiratory disorder index (Apnea–Hypopnea Index, AHI) based on the diagnostic labels of all sleep sub-time periods of this sleep monitoring signal and the number of occurrences of each type of diagnostic label in all divided sub-time periods, and determines the symptom level of the individual's sleep apnea-hypopnea syndrome based on the respiratory disorder index.

[0066] Before using the sleep monitoring signal to train the apnea event screening model, the sleep monitoring signal needs to be sliced. The slicing method is: first slice the time period corresponding to the sleep monitoring signal with equal length, and then slice the sleep monitoring signal according to the corresponding time slicing method. For example, for a sleep monitoring signal from 21:00 at night on the first day to 7:00 in the morning of the second day, first slice the time period from 21:00 at night to 7:00 in the morning with equal length, and the duration of each segment is 30 minutes. Then the time period is sliced ​​into 21:00-21:30, 21:30-22:00,..., 6:00-6:30 and 6:30-7:00; then the sleep monitoring signal is sliced ​​into the sleep monitoring signal in the time period of 21:00-21:30, the sleep monitoring signal in the time period of 21:30-22:00,..., the sleep monitoring signal in the time period of 6:00-6:30 and the sleep monitoring signal in the time period of 6:30-7:00.

[0067] The method provided in the embodiment of the present invention slices the sleep monitoring signal to obtain multiple segment sleep monitoring signals, and trains the sleep apnea event screening model based on the multiple segment sleep monitoring signals, thereby improving the accuracy of the final screening results of the sleep apnea event screening model. In addition, since there is no need for manual feature extraction, the manual participation rate is reduced, thereby improving the screening efficiency of the sleep apnea event screening model.

[0068] In combination with the above content, in one embodiment, according to the diagnostic label of at least one sleep sub-time period corresponding to the sleep detection signal, counting the number of occurrences of each type of diagnostic label in each divided sub-time period in the equal-duration division result includes:

[0069] 301. Determine a sleep sub-time period that satisfies a preset condition corresponding to each divided sub-time period, wherein the preset condition includes that all or part of the sleep sub-time period falls within the divided sub-time period;

[0070] 302 . According to the diagnostic tags of the sleep sub-time periods that meet the preset conditions and correspond to each divided sub-time period, count the number of occurrences of each type of diagnostic tag in each divided sub-time period.

[0071] Specifically, after the sleep detection signal is sliced, it is necessary to determine the type of diagnostic label that appears in the sleep detection signal of each segment, the number of times each type of diagnostic label appears, and the number of times all diagnostic labels appear. The preset condition for judging whether a certain type of diagnostic label appears in a sleep detection signal of a segment is: determining whether the sleep sub-time period falls entirely or partially into the divided sub-time period. If the sleep sub-time period falls entirely or partially into the divided sub-time period, it is determined that the diagnostic label corresponding to the sleep sub-time period appears in the sleep monitoring signal of the divided sub-time period, so that the type of diagnostic label that appears in the sleep monitoring signal of the divided sub-time period, the number of times each type of diagnostic label appears, and the number of times all diagnostic labels appear can be determined.

[0072] The method provided by the embodiment of the present invention can count the number of occurrences of each type of diagnostic tag in each divided sub-time period by determining the sleep sub-time period that meets the preset conditions corresponding to each divided sub-time period.

[0073] In combination with the above, in one embodiment, the apnea event screening model includes a segment event number regression and event detection sub-model and an apnea syndrome screening sub-model; wherein, based on multiple segment signals of the sleep monitoring signal, the number of occurrences of each type of diagnostic label in each divided sub-time period, the type of diagnostic label that appears in each divided sub-time period, and the final screening result label, the apnea event screening model is trained, including:

[0074] 401. Using multiple segment signals of the sleep monitoring signal as inputs of the segment event number regression and event detection sub-model, using the number of occurrences of each type of diagnostic label in each divided sub-time period and the type of diagnostic label that appears in each divided sub-time period as outputs of the segment event number regression and event detection sub-model, training the segment event number regression and event detection sub-model, and obtaining a trained segment event number regression and event detection sub-model;

[0075] 402. The number of occurrences of each type of diagnostic label in each divided sub-time period and the type of diagnostic label that appears in each divided sub-time period are used as inputs of the apnea syndrome screening sub-model, and the final screening result label is used as the output of the apnea syndrome screening sub-model. The apnea syndrome screening sub-model is trained to obtain the trained apnea syndrome screening sub-model.

[0076] Specifically, when training the apnea event screening model, first, the segment event number regression and event detection sub-model are trained using multiple segment signals of the sleep monitoring signal. During the training process of the segment event number regression and event detection sub-model, the parameters of the segment event number regression and event detection sub-model are adjusted based on the regression loss function (L1 loss), the first mean square error (MSE) loss function, the number of occurrences of each type of diagnostic label in each divided sub-time period, and the type of diagnostic label appearing in each divided sub-time period, and then the trained segment event number regression and event detection sub-model is obtained.

[0077] Among them, the regression loss function (L1 loss) adjusts the parameters of the segment event number regression and event detection sub-model based on the number of occurrences of each type of diagnostic label in each divided sub-time period, and the first mean square error (MSE) loss function adjusts the parameters of the segment event number regression and event detection sub-model based on the type of diagnostic label that appears in each divided sub-time period.

[0078] Secondly, the parameters of the sleep apnea syndrome screening sub-model are adjusted based on the second mean squared error (MSE) loss function, the cross entropy loss function, the number of occurrences of each type of diagnostic label in each divided sub-time period, the type of diagnostic label appearing in each divided sub-time period, and the final screening result label corresponding to the sleep detection signal, and then the trained sleep apnea syndrome screening sub-model is obtained.

[0079] Finally, the trained apnea event screening model is composed of the trained segment event number regression and event detection sub-model and the trained apnea syndrome screening sub-model.

[0080] The method provided in the embodiment of the present invention can obtain the trained segment event number regression and event detection sub-model and the trained apnea syndrome screening sub-model by training the segment event number regression and event detection sub-model and the apnea syndrome screening sub-model, thereby obtaining the trained apnea event screening model.

[0081] In combination with the above, in one embodiment, the segment event number regression and event detection sub-model includes a weighted gradient class activation mapping network and a convolutional neural network; wherein, multiple segment signals of the sleep monitoring signal are used as inputs of the segment event number regression and event detection sub-model, the number of occurrences of each type of diagnostic label in each divided sub-time period and the type of diagnostic label that appears in each divided sub-time period are used as outputs of the segment event number regression and event detection sub-model, the segment event number regression and event detection sub-model is trained, and the trained segment event number regression and event detection sub-model is obtained, including:

[0082] Multiple fragment signals of sleep monitoring signals are used as the input of the convolutional neural network, the number of occurrences of each type of diagnostic label in each divided sub-time period is used as the output of the convolutional neural network, the feature map output by the convolutional neural network is used as the input of the weighted gradient class activation mapping network, and the type of diagnostic label appearing in each divided sub-time period is used as the output of the weighted gradient class activation mapping network. The weighted gradient class activation mapping network and the convolutional neural network are trained respectively to obtain the trained weighted gradient class activation mapping network and the trained convolutional neural network.

[0083] Specifically, the segment event number regression and event detection sub-models are as follows: Figure 3 As shown, the weighted gradient class activation mapping (Grad-CAM) network is a deep network based on gradient positioning for visual interpretation, which can provide "visual interpretation" for the classification objects of the convolutional neural network, making their feature areas more visible. Through the return of the feature map gradient, the partial sleep monitoring signal in the segment signal that has a greater impact on the output results of the segment event number regression and event detection sub-model can be obtained. Based on the sleep monitoring signal and the corresponding sleep monitoring signal with diagnostic labels, the parameters of the segment event number regression and event detection sub-model can be adjusted. Convolutional neural networks (CNN) include convolution layers, activation layers, and pooling layers.

[0084] The method provided in the embodiment of the present invention can improve the accuracy of the detection results output by the segment event number regression and event detection sub-model by adding a Grad-CAM network to the segment event number regression and event detection sub-model, thereby improving the accuracy of the output results of the apnea event screening model.

[0085] In combination with the above, in one embodiment, a convolutional neural network includes a plurality of convolutional modules connected in sequence; the convolutional module includes a first layer set and a second layer set connected to each other, the first layer set includes a convolutional layer, a first regularization layer, an activation layer, a convolutional layer, and a second regularization layer connected in sequence, and the second layer set includes an addition layer, an activation layer, and a maximum pooling layer connected in sequence; for any convolutional module, the input of the second layer set in any convolutional module includes the output of the first layer set in any convolutional module and the output of the first layer set in the previous convolutional module of any convolutional module.

[0086] Specifically, the convolutional neural network of the embodiment of the present invention is as follows: Figure 4 As shown, the embodiment of the present invention does not specifically limit the number of convolution modules, and the number of convolution modules is determined according to actual needs. During the training process, it can be adjusted according to the test results of the apnea event screening model. In addition, the connection method of every two adjacent convolution modules is the same.

[0087] The method provided by the embodiment of the present invention can form a convolutional neural network by connecting convolution modules, so that the input segment signal can be convolved to obtain the detection result of the corresponding segment signal, and then the parameters of the segment event number regression and event detection sub-model are adjusted based on the output result, the type of diagnostic label corresponding to the segment signal and the number of occurrences of each type of diagnostic label corresponding to the segment signal, so as to improve the accuracy of the detection results of the segment event number regression and event detection sub-model.

[0088] In combination with the above content, in one embodiment, the method further includes:

[0089] 501. Obtain a sleep monitoring signal to be screened;

[0090] 502. Input the sleep monitoring signal to be screened into the trained apnea event screening sub-model to obtain a final screening result of the sleep monitoring signal to be screened.

[0091] Specifically, after obtaining the trained apnea event screening model, the trained apnea event screening model needs to be tested and used. Therefore, it is necessary to verify and test the trained apnea event screening model in combination with clinical use, including obtaining the sleep monitoring signal to be screened of the monitored individual, and then inputting the sleep monitoring signal to be screened into the trained apnea event screening sub-model to obtain the final screening result of the sleep monitoring signal to be screened.

[0092] Compared with the methods in the related art that require manual feature extraction or sparse expression to analyze the sleep monitoring signals collected by the portable polysomnography monitoring device, the method provided by the embodiment of the present invention adds a sleep apnea event screening model based on deep learning, which can fully learn the doctor's diagnosis results and interpret the sleep monitoring signals collected by the portable polysomnography monitoring device, thereby making the final screening results output by the sleep apnea event screening model highly accurate.

[0093] It should be understood that, although the various steps in the flowcharts involved in the above-mentioned embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above-mentioned embodiments can include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.

[0094] Based on the same inventive concept, the embodiment of the present application also provides an apnea event screening model training device for implementing the apnea event screening model training method involved above. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme recorded in the above method, so the specific limitations in one or more apnea event screening model training device embodiments provided below can refer to the limitations of the apnea event screening model training method above, and will not be repeated here.

[0095] In one embodiment, Figure 5 As shown, a sleep apnea event screening model training device is provided, comprising: a first acquisition module 501, a determination module 502, a slicing module 503, a statistics module 504 and a training module 505, wherein:

[0096] A first acquisition module 501 is used to acquire a sleep monitoring signal, wherein the sleep monitoring signal corresponds to a sleep process of a sleep detection individual;

[0097] The determination module 502 is used to analyze the sleep detection signal to obtain a diagnosis label of at least one sleep sub-time period corresponding to the sleep detection signal, and determine a final screening result label corresponding to the sleep detection signal according to the diagnosis label of at least one sleep sub-time period corresponding to the sleep detection signal;

[0098] A slicing module 503 is used to slice the sleep monitoring signal based on the equal-length division result of the total sleep time period corresponding to the sleep monitoring signal to obtain multiple segment signals of the sleep monitoring signal;

[0099] A statistics module 504 is used to count the number of occurrences of each type of diagnostic label in each divided sub-time period in the equal-duration division result according to the diagnostic label of at least one sleep sub-time period corresponding to the sleep detection signal, and determine the type of diagnostic label that appears in each divided sub-time period;

[0100] The training module 505 is used to train the apnea event screening model based on multiple segment signals of the sleep monitoring signal, the number of occurrences of each type of diagnostic label in each divided sub-time period, the type of diagnostic label appearing in each divided sub-time period and the final screening result label to obtain a trained apnea event screening model.

[0101] In one embodiment, the statistics module 504 includes:

[0102] A first determining submodule is used to determine a sleep sub-time period that satisfies a preset condition corresponding to each divided sub-time period, wherein the preset condition includes that all or part of the sleep sub-time period falls within the divided sub-time period;

[0103] The statistical submodule is used to count the number of occurrences of each type of diagnostic label in each divided sub-time period according to the diagnostic labels of the sleep sub-time period that meet the preset conditions corresponding to each divided sub-time period.

[0104] In one embodiment, the training module 505 includes:

[0105] A first training submodule is used to use multiple segment signals of the sleep monitoring signal as inputs of the segment event number regression and event detection submodel, use the number of occurrences of each type of diagnostic label in each divided subtime period and the type of diagnostic label that appears in each divided subtime period as outputs of the segment event number regression and event detection submodel, train the segment event number regression and event detection submodel, and obtain a trained segment event number regression and event detection submodel;

[0106] The second training submodule is used to use the number of occurrences of each type of diagnostic label in each divided sub-time period and the type of diagnostic label that appears in each divided sub-time period as the input of the sleep apnea syndrome screening sub-model, and the final screening result label as the output of the sleep apnea syndrome screening sub-model, to train the sleep apnea syndrome screening sub-model to obtain the trained sleep apnea syndrome screening sub-model.

[0107] In one embodiment, the first training submodule includes:

[0108] The training unit is used to use multiple segment signals of the sleep monitoring signal as the input of the convolutional neural network, use the number of occurrences of each type of diagnostic label in each divided sub-time period as the output of the convolutional neural network, use the feature map output by the convolutional neural network as the input of the weighted gradient class activation mapping network, use the type of diagnostic label appearing in each divided sub-time period as the output of the weighted gradient class activation mapping network, train the weighted gradient class activation mapping network and the convolutional neural network respectively, and obtain the trained weighted gradient class activation mapping network and the trained convolutional neural network.

[0109] In one embodiment, the training unit comprises

[0110] A connecting subunit, used to connect multiple convolution modules in sequence; wherein the convolution module includes a first layer set and a second layer set that are connected to each other, the first layer set includes a convolution layer, a first regularization layer, an activation layer, a convolution layer, and a second regularization layer that are connected in sequence, and the second layer set includes an addition layer, an activation layer, and a maximum pooling layer that are connected in sequence; for any convolution module, the input of the second layer set in any convolution module includes the output of the first layer set in any convolution module and the output of the first layer set in the previous convolution module of any convolution module.

[0111] In one embodiment, the apnea event screening model training device further includes:

[0112] A second acquisition module is used to acquire the sleep monitoring signal to be screened;

[0113] The input module is used to input the sleep monitoring signal to be screened into the trained sleep apnea event screening model to obtain the final screening result of the sleep monitoring signal to be screened.

[0114] Each module in the above-mentioned apnea event screening model training device can be implemented in whole or in part by software, hardware, or a combination thereof. Each of the above-mentioned modules can be embedded in or independent of a processor in a computer device in the form of hardware, or can be stored in a memory in a computer device in the form of software, so that the processor can call and execute the operations corresponding to each of the above modules.

[0115] In one embodiment, a computer device is provided. The computer device may be a server, and its internal structure diagram may be as follows: Figure 6As shown. The computer device includes a processor, a memory and a network interface connected through a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The network interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a method for training a sleep apnea event screening model is implemented.

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

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

[0118] Acquire a sleep monitoring signal, wherein the sleep monitoring signal corresponds to a sleep process of the sleep detection individual;

[0119] Analyze the sleep detection signal to obtain a diagnostic label of at least one sleep sub-time period corresponding to the sleep detection signal, and determine a final screening result label corresponding to the sleep detection signal according to the diagnostic label of at least one sleep sub-time period corresponding to the sleep detection signal;

[0120] Slicing the sleep monitoring signal based on the equal-length division result of the total sleep time period corresponding to the sleep monitoring signal to obtain multiple segment signals of the sleep monitoring signal;

[0121] According to the diagnostic label of at least one sleep sub-time period corresponding to the sleep detection signal, counting the number of occurrences of each type of diagnostic label in each divided sub-time period in the equal-duration division result, and determining the type of diagnostic label that appears in each divided sub-time period;

[0122] Based on multiple segment signals of the sleep monitoring signal, the number of occurrences of each type of diagnostic label in each sub-time period, the type of diagnostic label that appears in each sub-time period and the final screening result label, the apnea event screening model is trained to obtain a trained apnea event screening model.

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

[0124] Determine a sleep sub-time period corresponding to each divided sub-time period and meeting a preset condition, wherein the preset condition includes that all or part of the sleep sub-time period falls within the divided sub-time period;

[0125] According to the diagnostic labels of the sleep sub-time periods that meet the preset conditions and correspond to each divided sub-time period, the number of occurrences of each type of diagnostic label in each divided sub-time period is counted.

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

[0127] Using multiple segment signals of the sleep monitoring signal as inputs of the segment event number regression and event detection sub-model, using the number of occurrences of each type of diagnostic label in each divided sub-time period and the type of diagnostic label that appears in each divided sub-time period as outputs of the segment event number regression and event detection sub-model, training the segment event number regression and event detection sub-model, and obtaining a trained segment event number regression and event detection sub-model;

[0128] The number of occurrences of each type of diagnostic label in each divided sub-time period and the type of diagnostic label that appears in each divided sub-time period are used as the input of the apnea syndrome screening sub-model, and the final screening result label is used as the output of the apnea syndrome screening sub-model. The apnea syndrome screening sub-model is trained to obtain the trained apnea syndrome screening sub-model.

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

[0130] Multiple fragment signals of sleep monitoring signals are used as the input of the convolutional neural network, the number of occurrences of each type of diagnostic label in each divided sub-time period is used as the output of the convolutional neural network, the feature map output by the convolutional neural network is used as the input of the weighted gradient class activation mapping network, and the type of diagnostic label appearing in each divided sub-time period is used as the output of the weighted gradient class activation mapping network. The weighted gradient class activation mapping network and the convolutional neural network are trained respectively to obtain the trained weighted gradient class activation mapping network and the trained convolutional neural network.

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

[0132] Connect multiple convolution modules in a convolutional neural network in sequence; the convolution module includes a first layer set and a second layer set that are connected to each other, the first layer set includes a convolution layer, a first regularization layer, an activation layer, a convolution layer, and a second regularization layer that are connected in sequence, and the second layer set includes an addition layer, an activation layer, and a maximum pooling layer that are connected in sequence; for any convolution module, the input of the second layer set in any convolution module includes the output of the first layer set in any convolution module and the output of the first layer set in the previous convolution module of any convolution module.

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

[0134] Obtaining sleep monitoring signals to be screened;

[0135] The sleep monitoring signal to be screened is input into the trained sleep apnea event screening model to obtain the final screening result of the sleep monitoring signal to be screened.

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

[0137] Acquire a sleep monitoring signal, wherein the sleep monitoring signal corresponds to a sleep process of the sleep detection individual;

[0138] Analyze the sleep detection signal to obtain a diagnostic label of at least one sleep sub-time period corresponding to the sleep detection signal, and determine a final screening result label corresponding to the sleep detection signal according to the diagnostic label of at least one sleep sub-time period corresponding to the sleep detection signal;

[0139] Slicing the sleep monitoring signal based on the equal-length division result of the total sleep time period corresponding to the sleep monitoring signal to obtain multiple segment signals of the sleep monitoring signal;

[0140] According to the diagnostic label of at least one sleep sub-time period corresponding to the sleep detection signal, counting the number of occurrences of each type of diagnostic label in each divided sub-time period in the equal-duration division result, and determining the type of diagnostic label that appears in each divided sub-time period;

[0141] Based on multiple segment signals of the sleep monitoring signal, the number of occurrences of each type of diagnostic label in each sub-time period, the type of diagnostic label that appears in each sub-time period and the final screening result label, the apnea event screening model is trained to obtain a trained apnea event screening model.

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

[0143] Determine a sleep sub-time period corresponding to each divided sub-time period and meeting a preset condition, wherein the preset condition includes that all or part of the sleep sub-time period falls within the divided sub-time period;

[0144] According to the diagnostic labels of the sleep sub-time periods that meet the preset conditions and correspond to each divided sub-time period, the number of occurrences of each type of diagnostic label in each divided sub-time period is counted.

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

[0146] Using multiple segment signals of the sleep monitoring signal as inputs of the segment event number regression and event detection sub-model, using the number of occurrences of each type of diagnostic label in each divided sub-time period and the type of diagnostic label that appears in each divided sub-time period as outputs of the segment event number regression and event detection sub-model, training the segment event number regression and event detection sub-model, and obtaining a trained segment event number regression and event detection sub-model;

[0147] The number of occurrences of each type of diagnostic label in each divided sub-time period and the type of diagnostic label that appears in each divided sub-time period are used as the input of the apnea syndrome screening sub-model, and the final screening result label is used as the output of the apnea syndrome screening sub-model. The apnea syndrome screening sub-model is trained to obtain the trained apnea syndrome screening sub-model.

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

[0149] Multiple fragment signals of sleep monitoring signals are used as the input of the convolutional neural network, the number of occurrences of each type of diagnostic label in each divided sub-time period is used as the output of the convolutional neural network, the feature map output by the convolutional neural network is used as the input of the weighted gradient class activation mapping network, and the type of diagnostic label appearing in each divided sub-time period is used as the output of the weighted gradient class activation mapping network. The weighted gradient class activation mapping network and the convolutional neural network are trained respectively to obtain the trained weighted gradient class activation mapping network and the trained convolutional neural network.

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

[0151] Connect multiple convolution modules in a convolutional neural network in sequence; the convolution module includes a first layer set and a second layer set that are connected to each other, the first layer set includes a convolution layer, a first regularization layer, an activation layer, a convolution layer, and a second regularization layer that are connected in sequence, and the second layer set includes an addition layer, an activation layer, and a maximum pooling layer that are connected in sequence; for any convolution module, the input of the second layer set in any convolution module includes the output of the first layer set in any convolution module and the output of the first layer set in the previous convolution module of any convolution module.

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

[0153] Obtaining sleep monitoring signals to be screened;

[0154] The sleep monitoring signal to be screened is input into the trained sleep apnea event screening model to obtain the final screening result of the sleep monitoring signal to be screened.

[0155] In one embodiment, a computer program product is provided, comprising a computer program, which, when executed by a processor, implements the following steps:

[0156] Acquire a sleep monitoring signal, wherein the sleep monitoring signal corresponds to a sleep process of the sleep detection individual;

[0157] Analyze the sleep detection signal to obtain a diagnostic label of at least one sleep sub-time period corresponding to the sleep detection signal, and determine a final screening result label corresponding to the sleep detection signal according to the diagnostic label of at least one sleep sub-time period corresponding to the sleep detection signal;

[0158] Slicing the sleep monitoring signal based on the equal-length division result of the total sleep time period corresponding to the sleep monitoring signal to obtain multiple segment signals of the sleep monitoring signal;

[0159] According to the diagnostic label of at least one sleep sub-time period corresponding to the sleep detection signal, counting the number of occurrences of each type of diagnostic label in each divided sub-time period in the equal-duration division result, and determining the type of diagnostic label that appears in each divided sub-time period;

[0160] Based on multiple segment signals of the sleep monitoring signal, the number of occurrences of each type of diagnostic label in each sub-time period, the type of diagnostic label that appears in each sub-time period and the final screening result label, the apnea event screening model is trained to obtain a trained apnea event screening model.

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

[0162] Determine a sleep sub-time period corresponding to each divided sub-time period and meeting a preset condition, wherein the preset condition includes that all or part of the sleep sub-time period falls within the divided sub-time period;

[0163] According to the diagnostic labels of the sleep sub-time periods that meet the preset conditions and correspond to each divided sub-time period, the number of occurrences of each type of diagnostic label in each divided sub-time period is counted.

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

[0165] Using multiple segment signals of the sleep monitoring signal as inputs of the segment event number regression and event detection sub-model, using the number of occurrences of each type of diagnostic label in each divided sub-time period and the type of diagnostic label that appears in each divided sub-time period as outputs of the segment event number regression and event detection sub-model, training the segment event number regression and event detection sub-model, and obtaining a trained segment event number regression and event detection sub-model;

[0166] The number of occurrences of each type of diagnostic label in each divided sub-time period and the type of diagnostic label that appears in each divided sub-time period are used as the input of the apnea syndrome screening sub-model, and the final screening result label is used as the output of the apnea syndrome screening sub-model. The apnea syndrome screening sub-model is trained to obtain the trained apnea syndrome screening sub-model.

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

[0168] Multiple fragment signals of sleep monitoring signals are used as the input of the convolutional neural network, the number of occurrences of each type of diagnostic label in each divided sub-time period is used as the output of the convolutional neural network, the feature map output by the convolutional neural network is used as the input of the weighted gradient class activation mapping network, and the type of diagnostic label appearing in each divided sub-time period is used as the output of the weighted gradient class activation mapping network. The weighted gradient class activation mapping network and the convolutional neural network are trained respectively to obtain the trained weighted gradient class activation mapping network and the trained convolutional neural network.

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

[0170] Connect multiple convolution modules in a convolutional neural network in sequence; the convolution module includes a first layer set and a second layer set that are connected to each other, the first layer set includes a convolution layer, a first regularization layer, an activation layer, a convolution layer, and a second regularization layer that are connected in sequence, and the second layer set includes an addition layer, an activation layer, and a maximum pooling layer that are connected in sequence; for any convolution module, the input of the second layer set in any convolution module includes the output of the first layer set in any convolution module and the output of the first layer set in the previous convolution module of any convolution module.

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

[0172] Obtaining sleep monitoring signals to be screened;

[0173] The sleep monitoring signal to be screened is input into the trained sleep apnea event screening model to obtain the final screening result of the sleep monitoring signal to be screened.

[0174] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties.

[0175] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in the present application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetoresistive random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, etc., but are not limited to this.

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

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

Claims

1. A method for training a sleep apnea event screening model, characterized in that: The method comprises: Acquire a sleep monitoring signal, where the sleep monitoring signal corresponds to a sleep process of the sleep detection individual; Analyze the sleep monitoring signal to obtain a diagnostic label of at least one sleep sub-time period corresponding to the sleep monitoring signal, and determine a final screening result label corresponding to the sleep monitoring signal according to the diagnostic label of at least one sleep sub-time period corresponding to the sleep monitoring signal; Slicing the sleep monitoring signal based on the equal-length division result of the total sleep time period corresponding to the sleep monitoring signal to obtain multiple segment signals of the sleep monitoring signal; Determine a sleep sub-time period that satisfies a preset condition corresponding to each divided sub-time period, wherein the preset condition includes that the sleep sub-time period falls entirely or partially within the divided sub-time period; count the number of occurrences of each type of diagnostic label in each divided sub-time period according to the diagnostic label of the sleep sub-time period that satisfies the preset condition corresponding to each divided sub-time period, and determine the type of diagnostic label that appears in each divided sub-time period; Based on the multiple segment signals of the sleep monitoring signal, the number of occurrences of each type of diagnostic label in each divided sub-time period, the type of diagnostic label that appears in each divided sub-time period, and the final screening result label, the apnea event screening model is trained to obtain a trained apnea event screening model; The apnea event screening model includes a segment event number regression and event detection sub-model and an apnea syndrome screening sub-model; the apnea event screening model is trained based on multiple segment signals of the sleep monitoring signal, the number of occurrences of each type of diagnostic label in each divided sub-time period, the type of diagnostic label appearing in each divided sub-time period and the final screening result label, including: Using multiple segment signals of the sleep monitoring signal as inputs of the segment event number regression and event detection sub-model, using the number of occurrences of each type of diagnostic label in each divided sub-time period and the type of diagnostic label that appears in each divided sub-time period as outputs of the segment event number regression and event detection sub-model, training the segment event number regression and event detection sub-model to obtain a trained segment event number regression and event detection sub-model; The number of occurrences of each type of diagnostic label in each divided sub-time period and the type of diagnostic label that appears in each divided sub-time period are used as the input of the sleep apnea syndrome screening sub-model, and the final screening result label is used as the output of the sleep apnea syndrome screening sub-model. The sleep apnea syndrome screening sub-model is trained to obtain the trained sleep apnea syndrome screening sub-model.

2. The method according to claim 1, characterized in that: The segment event number regression and event detection submodel includes a weighted gradient class activation mapping network and a convolutional neural network; the multiple segment signals of the sleep monitoring signal are used as the input of the segment event number regression and event detection submodel, the number of occurrences of each type of diagnostic label in each divided sub-time period and the type of diagnostic label appearing in each divided sub-time period are used as the output of the segment event number regression and event detection submodel, and the segment event number regression and event detection submodel is trained to obtain the trained segment event number regression and event detection submodel, including: The multiple segment signals of the sleep monitoring signal are used as the input of the convolutional neural network, the number of occurrences of each type of diagnostic label in each divided sub-time period is used as the output of the convolutional neural network, the feature map output by the convolutional neural network is used as the input of the weighted gradient class activation mapping network, and the type of diagnostic label appearing in each divided sub-time period is used as the output of the weighted gradient class activation mapping network. The weighted gradient class activation mapping network and the convolutional neural network are trained respectively to obtain a trained weighted gradient class activation mapping network and a trained convolutional neural network.

3. The method according to claim 2, characterized in that The convolutional neural network includes a plurality of convolutional modules connected in sequence; the convolutional module includes a first layer set and a second layer set connected to each other, the first layer set includes a convolutional layer, a first regularization layer, an activation layer, a convolutional layer and a second regularization layer connected in sequence, and the second layer set includes an addition layer, an activation layer and a maximum pooling layer connected in sequence; for any convolutional module, the input of the second layer set in any convolutional module includes the output of the first layer set in any convolutional module and the output of the first layer set in the convolutional module before any convolutional module.

4. The method according to any one of claims 1 to 3, characterized in that The method further comprises: Obtaining sleep monitoring signals to be screened; The sleep monitoring signal to be screened is input into the trained sleep apnea event screening model to obtain a final screening result of the sleep monitoring signal to be screened.

5. A sleep apnea event screening model training device, characterized in that: The device comprises: A first acquisition module is used to acquire a sleep monitoring signal, where the sleep monitoring signal corresponds to a sleep process of the sleep detection individual; a determination module, configured to analyze the sleep monitoring signal to obtain a diagnosis label of at least one sleep sub-time period corresponding to the sleep monitoring signal, and determine a final screening result label corresponding to the sleep monitoring signal according to the diagnosis label of at least one sleep sub-time period corresponding to the sleep monitoring signal; A slicing module, configured to slice the sleep monitoring signal based on the equal-length division result of the total sleep time period corresponding to the sleep monitoring signal, to obtain a plurality of segment signals of the sleep monitoring signal; A statistical module, used to determine the sleep sub-time period that meets the preset conditions corresponding to each divided sub-time period, wherein the preset conditions include that the sleep sub-time period falls entirely or partially within the divided sub-time period; based on the diagnostic labels of the sleep sub-time period that meets the preset conditions corresponding to each divided sub-time period, count the number of occurrences of each type of diagnostic label in each divided sub-time period, and determine the type of diagnostic label that appears in each divided sub-time period; A training module, configured to train an apnea event screening model based on a plurality of segment signals of the sleep monitoring signal, the number of occurrences of each type of diagnostic label in each divided sub-time period, the type of diagnostic label that appears in each divided sub-time period, and the final screening result label, to obtain a trained apnea event screening model; The apnea event screening model includes a segment event number regression and event detection sub-model and an apnea syndrome screening sub-model; Wherein, the training module is specifically used for: a first training submodule, configured to use the multiple segment signals of the sleep monitoring signal as inputs of the segment event number regression and event detection submodel, use the number of occurrences of each type of diagnostic label in each divided subtime period and the type of diagnostic label that appears in each divided subtime period as outputs of the segment event number regression and event detection submodel, train the segment event number regression and event detection submodel, and obtain a trained segment event number regression and event detection submodel; The second training submodule is used to use the number of occurrences of each type of diagnostic label in each divided sub-time period and the type of diagnostic label that appears in each divided sub-time period as the input of the sleep apnea syndrome screening submodel, and use the final screening result label as the output of the sleep apnea syndrome screening submodel, to train the sleep apnea syndrome screening submodel, and obtain the trained sleep apnea syndrome screening submodel.

6. A computer device comprising a memory and a processor, wherein the memory stores a computer program, characterized in that: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 4 are implemented.

7. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 4 are implemented.

8. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 4 are implemented.

Citation Information

Patent Citations

  • Sleep apnea detection method based on self-adaption residual-error comparison algorithm

    CN107049283A

  • Image discriminable region joint extraction method based on convolution characteristic spectrums of multiple groups of k classifications

    CN110619358A

  • Sleep analysis method and system, electronic equipment and storage medium

    CN111297327A

  • Tooth mark tongue recognition algorithm based on convolutional neural network

    CN111476259A

  • OSAHS diagnostic method based on probability integrated regression model

    CN111685774A