A method, apparatus and system for respiratory signal monitoring of a patient

By determining the weight gain coefficients of core and similar signals in the Adaboost algorithm and updating the respiratory signal weights using clustering and DTW matching, the accuracy problem of respiratory signal monitoring in patients with chronic diseases is solved, enabling early identification and differentiation of acute exacerbations of chronic diseases.

CN122556957BActive Publication Date: 2026-11-24中国人民解放军总医院第八医学中心
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202610710930.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2026-05-22
Publication Date
2026-11-24
Estimated Expiration
2046-05-22

AI Technical Summary

Technical Problem

The existing Adaboost algorithm has difficulty accurately distinguishing between acute respiratory problems and acute exacerbations of chronic diseases when monitoring respiratory signals in patients with chronic diseases whose physiological manifestations are not obvious, resulting in low classification accuracy.

Method used

By acquiring the respiratory signal dataset used to train the ensemble classifier, the weight gain coefficients of the core and similar signals are determined. Cluster analysis and DTW matching are then used to update the initial weights of the respiratory signals, thereby constructing a trained ensemble classifier and improving classification accuracy.

Benefits of technology

This improves the reliability of respiratory signal monitoring in patients with chronic diseases, prevents acute respiratory problems from masking the characteristics of chronic diseases, and ensures accurate identification and treatment of the condition.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122556957B_ABST
    Figure CN122556957B_ABST
Patent Text Reader

Abstract

This invention belongs to the field of biomedical signal processing and medical monitoring technology, specifically relating to a method, device, and system for monitoring respiratory signals in patients. The method includes: acquiring first and second subsets of respiratory signal data; determining the weight gain coefficient of the second signal based on the similarity between each second signal and each core signal in the second subset of respiratory signal data; performing matching analysis on each core signal and its corresponding similar signal, and determining the weight gain coefficient of the first signal based on the similarity between each core signal and each first signal; for each base classifier, updating the initial weight of each respiratory signal according to the weight gain coefficient, and combining the weights of the base classifiers to obtain a trained ensemble classifier for respiratory signal monitoring. This invention improves the accuracy of the trained ensemble classifier in monitoring patient respiratory signals by adaptively determining the weight gain coefficient of each training sample during the training process of the base classifier.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application belongs to the technical field of biomedical signal processing and medical monitoring, and particularly relates to a respiratory signal monitoring method, device and system for a patient. BACKGROUND

[0002] In the process of monitoring the respiration of a patient, for a chronic patient with no obvious physiological manifestations and not determined by a doctor, acute exacerbation may occur at some time due to infection, allergic reaction or environmental factors. At this time, the chronic patient may suddenly have acute respiratory distress, aggravated cough, increased sputum and other symptoms. On the surface, it looks like an ordinary acute respiratory problem, but in fact it is an acute exacerbation of a chronic problem. If the acute respiration of the chronic patient is not accurately monitored and distinguished from that of a non-chronic patient, and medical intervention is performed on the acute respiration of the chronic patient as an ordinary acute respiratory problem, the acute respiratory problem will recur, and more seriously, the chronic symptoms of the chronic patient will be aggravated.

[0003] For respiratory signal monitoring of a patient, the existing technology usually uses an Adaboost algorithm to classify respiratory signal data, and obtains the current respiratory condition of the patient based on the classification result. However, when a chronic patient with no obvious physiological manifestations has an acute respiratory problem, the data fluctuation and abnormality corresponding to the acute respiration are large, which masks the respiratory signal characteristics of the chronic patient, and often causes the classification of the Adaboost algorithm to be wrong. SUMMARY

[0004] In order to solve the technical problem of low classification accuracy of the Adaboost algorithm applied to respiratory signal monitoring, the purpose of the present application is to provide a respiratory signal monitoring method, device and system for a patient, and the technical solution adopted is as follows: One embodiment of the present application provides a respiratory signal monitoring method for a patient, which comprises the following steps: obtaining a respiratory signal data set for training an integrated classifier; the respiratory signal data set comprises a first respiratory signal data subset of a chronic patient and a second respiratory signal data subset of a non-chronic patient; determining each core signal from the first respiratory signal data subset, and determining a weight gain coefficient of each second signal in the second respiratory signal data subset according to the similarity between the second signal and the core signal; performing matching analysis on the core signal and the corresponding similar signal, and determining a weight gain coefficient of each first signal in the core signal according to the similarity between the core signal and each first signal in the clustering cluster to which the core signal belongs; For each base classifier, the initial weights of each respiratory signal in the respiratory signal dataset are updated according to the weight gain coefficients. The weights of the base classifiers are then combined to obtain the trained ensemble classifier. The trained ensemble classifier is used for respiratory signal monitoring.

[0005] Further, determining each core signal from the first subset of respiratory signal data includes: Clustering is performed on the first subset of respiratory signal data to obtain various clusters; For each of the clusters, a similarity analysis is performed between each first signal in the cluster and other first signals excluding itself to obtain a similarity score; the first signal is a respiratory signal in the first respiratory signal data subset; The core signal of each cluster is obtained by taking the maximum similarity and the corresponding first signal as the core signal of the corresponding cluster.

[0006] Further, determining the weighting gain coefficient of each second signal based on the similarity between each second signal and each core signal in the second respiratory signal data subset includes: For any second signal, a similarity analysis is performed between the second signal and each of the core signals to obtain various similarity scores. Based on these similarity scores, it is determined whether the second signal is a similar signal to the core signal, thus obtaining several similar signals corresponding to each core signal. The second signal is a respiratory signal in the second respiratory signal data subset. For any similar signal corresponding to any core signal, if a base classifier classifies it successfully, the similarity between the similar signal and the core signal is determined, and the number of base classifiers that classify the similar signal successfully is counted. Based on the similarity corresponding to the similar signals and the number of base classifiers that successfully classified the signals, the weight gain coefficients of the similar signals are determined, and then the weight gain coefficients of each second signal are determined.

[0007] Furthermore, the step of determining whether the second signal is a similar signal to the core signal based on various similarity scores includes: If a similarity threshold is set, and there is at least one similarity greater than the similarity threshold, then the second signal is taken as a similar signal to the core signal corresponding to the maximum similarity; otherwise, the second signal is determined not to be a similar signal to the core signal.

[0008] Further, determining the weight gain coefficient of the similar signals based on the similarity corresponding to the similar signals and the number of successfully classified base classifiers includes: For similar signals, obtain the number of all base classifiers corresponding to the ensemble classifier, and determine the ratio of the number of successfully classified base classifiers to the total number of base classifiers; The weight gain coefficient of similar signals is obtained by combining the ratio and the similarity; both the ratio and the similarity are proportional to the weight gain coefficient.

[0009] Further, the step of performing matching analysis between each core signal and its corresponding similar signal, and determining the weight gain coefficient of each first signal based on the similarity between each core signal and each first signal in the cluster to which the core signal belongs, includes: Obtain the target similar signal of any core signal, and perform DTW matching on any core signal and the corresponding target similar signal to obtain several matching lines; the target similar signal is the similar signal with the highest similarity to any core signal. The x-coordinates of each inflection point on the target similarity signal are obtained based on the aforementioned matching lines; the inflection points are many-to-one or one-to-one data points on the target similarity signal. The degree of disorder in the matching line is analyzed based on the sequence of inflection point x-coordinates to determine the weight gain coefficient of the core signal; The weight gain coefficients of each first signal (excluding the core signal) in the cluster to which the core signal belongs are determined based on the similarity between the core signal and each other in the cluster to which the core signal belongs, as well as the weight gain coefficient of the core signal.

[0010] Furthermore, the step of analyzing the disorder of the matching line based on the inflection point abscissa sequence to determine the weight gain coefficient of the core signal includes: The difference sequence is obtained by calculating the difference between adjacent elements in the x-coordinate sequence of the inflection points. Based on the fluctuation of the change in the x-coordinate of the inflection point according to the difference sequence analysis, the weight gain coefficient of the core signal is determined.

[0011] Further, determining the weight gain coefficients of each first signal (excluding the core signal) in the cluster to which the core signal belongs, based on the similarity between each first signal (excluding the core signal) and the core signal in the cluster to which the core signal belongs, and the weight gain coefficient of the core signal, includes: For any first signal other than the core signal in the cluster to which the core signal belongs, the weight gain coefficient of the corresponding first signal is obtained by multiplying the similarity between the first signal and the core signal by the weight gain coefficient of the core signal.

[0012] Another embodiment of the present invention provides a respiratory signal monitoring system for a patient, comprising: The signal data acquisition module is used to acquire a respiratory signal dataset for training an ensemble classifier; the respiratory signal dataset includes a first respiratory signal data subset containing patients with chronic diseases and a second respiratory signal data subset containing patients without chronic diseases; The gain coefficient determination module is used to determine each core signal from the first respiratory signal data subset, and to determine the weight gain coefficient of each second signal based on the similarity between each second signal in the second respiratory signal data subset and each core signal. The matching analysis is performed on each core signal and its corresponding similar signal, and the weight gain coefficient of each first signal is determined by combining the similarity between each core signal and each first signal in the cluster to which the core signal belongs. The classifier acquisition module is used to update the initial weight of each respiratory signal in the respiratory signal dataset according to the weight gain coefficient for each base classifier, and combine the weights of the base classifiers to obtain the trained ensemble classifier. A respiratory signal monitoring module is used to monitor respiratory signals using the trained ensemble classifier.

[0013] Another embodiment of the present invention provides a respiratory signal monitoring device for a patient, the device including a processor and a memory, the processor being configured to process instructions stored in the memory to implement a respiratory signal monitoring method for a patient.

[0014] The present invention has the following beneficial effects: This invention provides a method, device, and system for monitoring respiratory signals in patients. It acquires different types of training datasets: a first subset of respiratory signal data from patients with chronic diseases and a second subset of respiratory signal data from patients without chronic diseases. This provides a data foundation for subsequent data analysis and helps the ensemble classifier learn different types of respiratory features. Core signals are selected from the first subset of respiratory signal data. Each core signal can characterize the respiratory features of a type of chronic disease. Determining core signals helps distinguish the respiratory features of different types of patients with chronic diseases and also improves data analysis efficiency. The weight gain coefficient of each second signal can be determined by the similarity between the second signal and the core signal. Furthermore, by matching each core signal with its corresponding similar signal and combining the similarity between each core signal and each first signal in its cluster, the weight gain coefficient of each first signal is determined. The weight gain coefficients obtained after data analysis can assign greater weight to the respiratory signals that represent distinguishable features. This provides clearer distinguishable feature inputs for the ensemble classifier and helps reduce the interference of acute problem signals on the learning of chronic disease features, thus building a data foundation for improving the reliability of patient respiratory signal monitoring. Attached Figure Description

[0015] To more clearly illustrate the technical solutions and advantages 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 drawings can be obtained based on these drawings without creative effort.

[0016] Figure 1 This is a flowchart illustrating the steps of a method for monitoring respiratory signals in a patient, according to an embodiment of the present invention. Figure 2 This is a flowchart illustrating the steps for determining the core signal in an embodiment of the present invention; Figure 3 This is a flowchart illustrating the steps for determining the weight gain coefficient of the second signal in an embodiment of the present invention. Figure 4 This is an example diagram of the acute respiratory signal curve of a patient with a chronic disease in an embodiment of the present invention; Figure 5 This is an example diagram of the acute respiratory signal curve of a patient without chronic disease in an embodiment of the present invention; Figure 6 This is a flowchart of step S3 in an embodiment of the present invention; Figure 7 This is a system structure diagram of a respiratory signal monitoring system for patients according to an embodiment of the present invention. Detailed Implementation

[0017] To further illustrate the technical means and effects adopted by the present invention to achieve its intended purpose, the specific implementation methods, structures, features, and effects of the technical solution proposed according to the present invention are described in detail below with reference to the accompanying drawings and preferred embodiments. In the following description, different "one embodiment" or "another embodiment" do not necessarily refer to the same embodiment. Furthermore, specific features, structures, or characteristics in one or more embodiments can be combined in any suitable form.

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

[0019] The application scenarios targeted by this invention can be: The biggest difference between patients with and without chronic diseases lies in the timeliness and urgency of the response. Acute respiratory problems in patients without chronic diseases require immediate intervention, while acute respiratory problems in patients with chronic diseases rely more on long-term control and management. The treatment methods are different, so it is necessary to enhance the differentiation of respiratory signal data between the two groups in order to avoid inappropriate treatment methods from affecting the patient's health.

[0020] Among these, chronic diseases with subtle physiological manifestations and not yet diagnosed by a doctor, such as chronic obstructive pulmonary disease (COPD), often present with only mild cough or shortness of breath after exertion in the early stages. As the disease progresses, the symptoms gradually worsen, but patients may attribute them to aging or lack of exercise, and routine physical examinations may fail to detect them. Many other chronic diseases of this type exist, and this invention will not list them all.

[0021] This invention proposes a method, device, and system for monitoring respiratory signals in patients. On the one hand, it assigns a large weight to the signal samples that can represent distinguishable features. On the other hand, it assigns a small weight change rate to the signal samples with large weights. This ensures that the ensemble classifier can learn the distinguishable features of the sample signals. This avoids the situation where respiratory problems caused by acute respiratory issues mask chronic diseases, and the respiratory signal data from two different processing methods are not distinguished in time, resulting in low reliability of patient respiratory signal monitoring.

[0022] Example 1 A method for monitoring respiratory signals in patients, such as Figure 1 As shown, the method includes the following steps: S1, Obtain the respiratory signal dataset for training the ensemble classifier.

[0023] Normally, current respiratory signal data can be obtained through a respiratory signal monitor. However, in order to train the classification performance of the ensemble classifier, the respiratory signal dataset in this embodiment is a historical dataset, i.e., a training dataset. The respiratory signal dataset in this embodiment consists of two types of respiratory signal data in which acute respiratory problems occur: a first subset of respiratory signal data from patients with chronic diseases and a second subset of respiratory signal data from patients without chronic diseases. The respiratory signals in the first subset of respiratory signal data can be referred to as the first signal, and the respiratory signals in the second subset of respiratory signal data can be referred to as the second signal. Patients with chronic diseases can include various types of chronic diseases.

[0024] The training data used to train the model is generally historical data. Therefore, the respiratory signal dataset used to train the ensemble classifier can be obtained through a data acquisition system that stores historical respiratory signals. The data acquisition period length of the respiratory signals in the same dataset is the same. The number of different types of respiratory signals in the respiratory signal dataset and the number of chronic disease types in the first respiratory signal data subset can be set by the implementer according to the specific actual situation. No specific limitation is made here.

[0025] Thus, this embodiment has obtained a respiratory signal dataset for training an ensemble classifier.

[0026] S2, determine each core signal from the first respiratory signal data subset, and determine the weight gain coefficient of each second signal based on the similarity between each second signal and each core signal in the second respiratory signal data subset.

[0027] AdaBoost is an ensemble learning algorithm that combines multiple weak classifiers to build a strong classifier. The core idea is to iteratively train a series of weak classifiers, focusing each subsequent classifier on samples misclassified by the previous classifier. Decision trees can be chosen as base classifiers for training. AdaBoost trains on different types of data; samples misclassified by one base classifier are given increased weights in the next, leading to faster correct classification of misclassified samples in subsequent base classifiers, thus enhancing the classification performance of the final ensemble classifier.

[0028] When monitoring respiratory signal data, the significant fluctuations in respiratory signal data caused by acute respiratory problems in patients with chronic diseases can mask the unique characteristics of their respiratory data. As a result, the ensemble classifier cannot accurately identify whether a patient has a chronic disease. Therefore, this implementation adaptively determines the weight of each sample during the ensemble classifier training process. Specifically, it updates the sample weights by determining the weight gain coefficient, enhancing the distinguishing features between the two types of respiratory data and ensuring that the ensemble classifier can learn these distinguishing features. Based on the updated sample weights, a well-trained ensemble classifier is obtained, enabling better patient identification and avoiding the identification of acute respiratory problems in patients without chronic diseases while failing to identify chronic respiratory problems in patients with chronic diseases.

[0029] In this embodiment, considering the variety of chronic diseases, such as chronic bronchitis, chronic obstructive pulmonary disease, bronchial asthma, and emphysema, the fluctuation characteristics of respiratory signals often differ when acute respiratory problems occur under different types of chronic diseases. Therefore, it is necessary to perform cluster analysis on a subset of the first respiratory signal data of patients with chronic diseases to ultimately obtain clusters of respiratory signal data corresponding to different types. In the cluster analysis, identifying the core signal is significant because it represents the characteristics of the entire cluster and provides a reference for subsequent data analysis.

[0030] As a specific implementation method, the determination of the aforementioned core signal can be achieved through... Figure 2 The steps S201 to S203 shown yield the following results: S201, clustering is performed on the subset of the first respiratory signal data to obtain various clusters.

[0031] In this embodiment, the first respiratory signal data subset is processed by DBSCAN density clustering to obtain various clusters.

[0032] Each cluster can correspond to a respiratory signal when an acute respiratory problem occurs under a type of chronic disease. The implementation process of DBSCAN density clustering is existing technology and is not within the scope of protection of this invention, so it will not be described in detail here.

[0033] S202, for each cluster, perform similarity analysis between each first signal in the cluster and other first signals excluding itself to obtain each similarity sum.

[0034] In this embodiment, for any first signal in any cluster, the cosine similarity between the first signal and all other first signals in the cluster (excluding itself) is calculated. All cosine similarities corresponding to the first signal are summed to obtain the sum of similarities for the first signal, and thus the sum of similarities for each first signal in the same cluster is obtained. Of course, besides the cosine similarity calculation method, similarity analysis methods such as dynamic time-warped distance or Euclidean distance can also be used. This embodiment does not specifically limit the calculation method of similarity.

[0035] Each first signal in the same cluster has its corresponding similarity sum. The similarity sum can characterize the similarity between a single first signal and other first signals in the cluster. If a first signal is similar to other first signals in the cluster, the larger the similarity sum, the more likely the first signal is to characterize the breathing characteristics of the entire cluster, and the greater the possibility that the first signal is the core signal of the corresponding cluster.

[0036] S203, the maximum similarity and the corresponding first signal are used as the core signal of the corresponding cluster to obtain the core signal of each cluster.

[0037] In this embodiment, the greater the similarity sum of the first signals, the greater the degree to which the corresponding first signal represents the breathing characteristics of the entire cluster. Therefore, the first signal with the maximum similarity sum is selected from the clusters as the core signal, and the core signal of each cluster can be obtained.

[0038] After identifying each core signal from the first respiratory signal data subset, it is necessary to analyze the similarity between each core signal and each second signal in the second respiratory signal data subset in order to determine the weight gain coefficient of each second signal in the first respiratory signal data subset.

[0039] Here, the weight gain coefficient refers to the degree to which the weight of samples in the training set is increased. The larger the weight gain coefficient, the greater the increase in the weight of the corresponding respiratory signal. By analyzing the similarity between the core signal and the secondary signal, the distinction between patients with and without chronic diseases during acute respiratory events can be analyzed, thereby determining the weight gain coefficient of each secondary signal.

[0040] As one specific implementation, the weighting gain coefficient of the second signal can be determined by... Figure 3 Steps S211 to S213 shown are implemented as follows: S211, For any second signal, perform similarity analysis between the second signal and each core signal to obtain each similarity degree, and determine whether the second signal is a similar signal of the core signal based on each similarity degree, thereby obtaining several similar signals corresponding to each core signal.

[0041] The purpose of identifying similar signals is to find the respiratory signal that is most similar to the respiratory signal of each chronic disease type in the set of respiratory signals without chronic diseases. If the similar signal can be accurately classified by the base classifier, it means that the distinguishing features of the corresponding similar signal are obvious, and the weight of the corresponding similar signal needs to be increased, that is, the weight gain coefficient of the similar signal is enhanced.

[0042] Specifically, a similarity threshold is set. If there is at least one similarity greater than the similarity threshold, the second signal is taken as a similar signal to the core signal corresponding to the maximum similarity; otherwise, the second signal is determined not to be a similar signal to the core signal.

[0043] In this embodiment, the similarity between the second signal and each core signal is calculated, and each similarity is compared with a similarity threshold. If there are multiple core signals with similarity greater than the similarity threshold, the second signal is determined to be a similar signal of the core signal with the highest similarity. If all similarities corresponding to the second signal are less than the similarity threshold, it means that the second signal is not a similar signal of any core signal.

[0044] In this study, a single second signal can be compared with multiple core signals for similarity analysis, thus a single second signal can correspond to multiple similarities. The similarity can still be calculated using the cosine similarity method. Based on the range of cosine similarity values, a similarity threshold is set. The similarity threshold is used to assess whether the similarity between two signals meets certain similarity requirements. The similarity threshold can be set to 0.7, but implementers can also set the similarity threshold size according to specific similarity requirements; no specific limitation is made here.

[0045] S212, for any similar signal corresponding to any core signal, if a certain base classifier is successfully classified, the similarity between the similar signal and the core signal is determined, and the number of base classifiers that are successfully classified corresponding to the similar signal is counted.

[0046] In this embodiment, similarity and the number of successfully classified base classifiers are key indicators for determining the weight gain coefficient of the second signal. The greater the similarity between the similar signal and the core signal, the higher the classification accuracy in different classifiers. This indicates that even if the similar signal is highly similar to the core signal and difficult to distinguish, the base classifier can still accurately distinguish the attributes of the similar signal. Therefore, the corresponding similar samples should be given a larger weight, which helps to improve the ensemble classifier's ability to identify respiratory signals of chronic diseases.

[0047] Specifically, if a base classifier can distinguish each core signal from its corresponding similar signal, then the similarity between the core signal and its corresponding similar signal, as well as the number of successfully classified base classifiers, can be used as key factors for the weight gain coefficient of the similar signal. A successfully classified base classifier refers to a combination of auxiliary base classifiers pre-trained using the original equally weighted sets. The larger the number of successfully classified base classifiers, the more significant the differences between the core signal and its corresponding similar signal, despite their similar data features.

[0048] S213. Based on the similarity of the similar signals and the number of base classifiers that successfully classified them, determine the weight gain coefficient of the similar signals, and then determine the weight gain coefficient of each second signal.

[0049] Specifically, for similar signals, the number of all base classifiers corresponding to the ensemble classifier is obtained, and the ratio of the number of successfully classified base classifiers to the total number of base classifiers is determined. The weight gain coefficient of the similar signal is obtained by combining the ratio and the similarity. Both the ratio and the similarity are proportional to the weight gain coefficient.

[0050] In this embodiment, the ratio and similarity are multiplied to obtain the weight gain coefficient of the corresponding similar signals. Both the ratio and similarity represent the degree of similarity; one represents the proportion of base classifiers that successfully classified the signal, and the other represents the degree of similarity between the core signal and similar signals. Both are dimensionless data and can be multiplied together.

[0051] The ratio represents the proportion of the number of base classifiers that successfully classify similar signals out of the total number of base classifiers. The larger the ratio, the more base classifiers can accurately distinguish the core signal from its corresponding similar signal. The more obvious the distinguishing features of the similar signals, the greater the weight gain coefficient of the corresponding similar signals should be. The similarity between the core signal and its corresponding similar signal represents the similarity between the core signal and its corresponding similar signal. The greater the similarity, the more accurately the base classifier can distinguish the two signals even when their data distribution features are similar. The more obvious the non-chronic respiratory features represented by the similar signals, the greater the weight gain coefficient of the similar signals should be.

[0052] After obtaining the weighted gain coefficients of each similar signal in the second respiratory signal data subset, the weighted gain coefficients are determined for other second signals in the second respiratory signal data subset besides the similar signals.

[0053] As an example, the steps for determining the weight gain coefficient of any second signal other than a similar signal may include: First, determine the similarity between the second signal and each similar signal, and take the similar signal with the highest similarity as the control similar signal; second, calculate the product of the similarity between the second signal and its corresponding control similar signal and the weight gain coefficient of the control similar signal, and take it as the weight gain coefficient of the second signal.

[0054] Of course, to facilitate classification, the weight gain coefficients of the remaining second signals in the second respiratory signal data subset, excluding similar signals, can be directly assigned to 0.

[0055] Thus, this embodiment has obtained the weight gain coefficient of each second signal in the second respiratory signal data subset.

[0056] S3. Perform matching analysis on each core signal and its corresponding similar signal, and determine the weight gain coefficient of each first signal by combining the similarity between each core signal and each first signal in the cluster to which the core signal belongs.

[0057] Compared to acute respiratory signals without chronic diseases, acute respiratory signals with chronic diseases exhibit more pronounced characteristics. This is because the chronic disease features are global; that is, each point on each first signal within the first respiratory signal data subset carries partial information about the chronic disease. Acute respiratory signal curves in patients with chronic diseases consistently fluctuate, and the inspiratory and expiratory volumes are often unequal. An example of an acute respiratory signal curve for a patient with a chronic disease is shown below. Figure 4 As shown, the acute respiratory signal curves of patients without chronic diseases are relatively stable, and the inspiratory and expiratory volumes are more uniform and similar. An example of an acute respiratory signal curve for patients without chronic diseases is shown below. Figure 5 As shown, a matching analysis is performed between the core signal and the target similar signal. The more chaotic the matching line is due to the core signal, the greater the weight is assigned to the core signal.

[0058] Therefore, by performing matching analysis between the core signal and its corresponding similar signals, the weight gain coefficient of the core signal can be determined. Then, by combining the similarity between each core signal and each first signal in the cluster to which the core signal belongs, the weight gain coefficients of the other first signals besides the core signal can be determined.

[0059] As one specific implementation method, step S3 above can be achieved through... Figure 6 The steps S31 to S34 are implemented as follows: S31, acquire the target similar signal of any core signal, and perform DTW matching on any core signal and the corresponding target similar signal to obtain several matching lines.

[0060] The target similarity signal is the similarity signal with the highest similarity to any core signal. A core signal may correspond to multiple similar signals. During matching analysis, it is necessary to first select the most similar signal from among the multiple similar signals to facilitate more accurate comparative analysis of different types of respiratory signals.

[0061] The implementation process of DTW (Dynamic Time Warping) matching is existing technology and is not within the scope of protection of this invention, so it will not be described in detail here.

[0062] S32, obtain the x-coordinates of each inflection point on the target similar signal based on several matching lines.

[0063] Inflection points are data points on similar target signals that are either many-to-one or one-to-one. Inflection points can represent the differences in respiratory characteristics between patients with chronic respiratory diseases and those without chronic respiratory diseases.

[0064] Specifically, based on the distribution of matching lines between the core signal and the target similar signal, many-to-one or one-to-one data points are determined on the curve of the target similar signal as inflection points, and then the abscissa of the inflection points on the two-dimensional coordinate system is determined, and the abscissas of all the inflection points are used to form a sequence of inflection point abscissas.

[0065] In this coordinate system, the horizontal axis can be the time point, and the vertical axis can be the breathing amplitude.

[0066] S33. Based on the analysis of the cross-coordinate sequence of the inflection points, determine the degree of disorder in the matching line and the weight gain coefficient of the core signal.

[0067] Specifically, the difference between adjacent elements in the inflection point x-coordinate sequence is calculated to obtain a difference sequence; the degree of fluctuation of the inflection point x-coordinate change is analyzed based on the difference sequence to determine the weight gain coefficient of the core signal.

[0068] In this embodiment, the variance or standard deviation of the difference sequence is calculated, and the variance or standard deviation is normalized to obtain a normalized value. The obtained normalized value is used as the weight gain coefficient of the core signal.

[0069] The normalization process can be implemented by maximum and minimum value normalization. In the current batch of data being processed, the variance or standard deviation of the difference sequence corresponding to all core signals is calculated, and the maximum and minimum values ​​of this batch are taken for normalization. The larger the variance or standard deviation of the difference sequence, the more disordered the matching line is, and the larger the weight gain coefficient of the core signal is.

[0070] S34. Based on the similarity between the core signal and each other first signal in the cluster to which the core signal belongs, and the weight gain coefficient of the core signal, determine the weight gain coefficient of each other first signal in the cluster to which the core signal belongs, and the weight gain coefficient of the core signal.

[0071] Specifically, for any first signal other than the core signal in the cluster to which the core signal belongs, the weight gain coefficient of the corresponding first signal is obtained by multiplying the similarity between the first signal and the core signal and the weight gain coefficient of the core signal.

[0072] In this embodiment, when the weight gain coefficient of the core signal is large, the similarity between the first signal and the core signal is greater, and the weight gain coefficient of the first signal is also larger. It is also worth noting that the maximum value of cosine similarity is 1, so the weight gain coefficient of the first signal is less than or equal to the weight gain coefficient of the core signal of the corresponding cluster.

[0073] Thus, this embodiment has obtained the weight gain coefficient of each first signal in the first respiratory signal data subset.

[0074] S4. For each base classifier, the initial weights of each respiratory signal in the respiratory signal dataset are updated according to the weight gain coefficients. Combined with the weights of the base classifiers, the trained ensemble classifier is obtained.

[0075] To ensure that the ensemble classifier can learn distinguishing features and thus avoid the failure to identify chronic respiratory diseases in a timely manner due to acute respiratory problems, this embodiment assigns a large weight to the respiratory signals that can represent distinguishing features, and the weight changes of the corresponding respiratory signals are small.

[0076] First, obtain the initial weight of each respiratory signal.

[0077] In this embodiment, the initial weight of each respiratory signal in the respiratory signal dataset is evenly distributed. The initial weight of each respiratory signal can be equal to the reciprocal of the total number of respiratory signals in the dataset. The respiratory signal is either a first signal or a second signal, which is a collective term for two different types of samples.

[0078] Secondly, based on the initial weight and weight gain coefficient of each respiratory signal in the respiratory signal dataset, the corrected weight of each respiratory signal is determined.

[0079] In this embodiment, the formula for calculating the correction weight of any respiratory signal can be: In the formula, Let represent the corrected weight of the i-th respiratory signal, and n represent the total number of respiratory signals in the respiratory signal dataset. The initial weights of the respiratory signals are indicated. This represents the weighting gain coefficient of the i-th respiratory signal.

[0080] Referring to the calculation process of the corrected weight of the i-th respiratory signal, the corrected weight of each respiratory signal in the respiratory signal dataset can be obtained, which will not be described again here.

[0081] It is worth noting that for respiratory signals with large weight gain coefficients, it is necessary to avoid the weights becoming smaller during subsequent weight updates, so as to avoid weakening the ensemble classifier's ability to distinguish features.

[0082] In the original weight update process, the weights are usually adjusted using the misclassification rate of each respiratory signal. This embodiment adds an attenuation coefficient to adjust the misclassification rate, thereby avoiding excessive weight changes for respiratory signals with large weight gain coefficients. Specifically, it prevents the weights of certain samples from rapidly increasing or decreasing during iteration. The corrected misclassification rate for each respiratory signal is equal to the original misclassification rate of the corresponding respiratory signal multiplied by the attenuation coefficient.

[0083] When setting the attenuation coefficient, it's crucial to balance the adjustment range of sample weights. This ensures the algorithm can address difficult-to-classify samples while avoiding excessively drastic weight changes. One approach is to use an empirical method, typically setting the attenuation coefficient between 0 and 1, with common empirical values ​​of 0.5 or 0.8. The specific value can be adjusted based on the characteristics of the respiratory signal dataset. Another approach is to use an adaptive adjustment method, dynamically adjusting the attenuation coefficient based on the misclassification rate of the respiratory signals. When the misclassification rate is high, the attenuation coefficient is increased to slow weight changes; conversely, when the misclassification rate is low, the attenuation coefficient is decreased to accelerate weight adjustment.

[0084] For each base classifier, when obtaining the sample weights of the training data during the training process of the base classifier, the sample weights of each training data can be obtained by following the steps for determining the corrected weights of each respiratory signal in the respiratory signal dataset. Then, combined with the weights of the corresponding base classifier, the Adaboost algorithm is used to train the ensemble classifier to obtain the trained ensemble classifier.

[0085] In this embodiment, the training process of the ensemble classifier is existing technology and is not within the scope of protection of this invention; therefore, it will not be described in detail here. The weights of the base classifier can be determined according to the original weight acquisition method in the Adaboost algorithm, such as directly using the misclassification rate of the classifier. The higher the misclassification rate, the smaller the weight. This is also existing technology and will not be described in detail here.

[0086] It should be noted that by improving the way the weight of each respiratory signal in the respiratory signal dataset is determined, the respiratory signal characteristics of patients with chronic diseases can be highlighted, thereby improving the classification accuracy of the Adaboost algorithm for respiratory signal monitoring.

[0087] S5 uses a trained ensemble classifier to monitor respiratory signals.

[0088] In this embodiment, the trained ensemble classifier is saved and loaded when prediction is needed. For new respiratory signal data, the same preprocessing and feature extraction operations as the training data are performed first. The extracted features are input into the trained ensemble classifier, which will output the prediction result of whether the new respiratory signal data is caused by the presence or absence of chronic disease.

[0089] This concludes the embodiment of monitoring the patient's respiratory signals.

[0090] Example 2 A respiratory signal monitoring system for a patient is provided, which implements the steps of the aforementioned respiratory signal monitoring method for a patient. The system structure diagram is shown below. Figure 7 As shown, it includes: The signal data acquisition module 701 is used to acquire a respiratory signal dataset for training an integrated classifier; the respiratory signal dataset includes a first respiratory signal data subset containing patients with chronic diseases and a second respiratory signal data subset containing patients without chronic diseases; The gain coefficient determination module 702 is used to determine each core signal from the first respiratory signal data subset and determine the weight gain coefficient of each second signal based on the similarity between each second signal in the second respiratory signal data subset and each core signal. The matching analysis is performed on each core signal and its corresponding similar signal, and the weight gain coefficient of each first signal is determined by combining the similarity between each core signal and each first signal in the cluster to which the core signal belongs. The classifier acquisition module 703 is used to update the initial weight of each respiratory signal in the respiratory signal dataset according to the weight gain coefficient for each base classifier, and combine the weights of the base classifiers to obtain the trained ensemble classifier. The respiratory signal monitoring module 704 is used to monitor respiratory signals using the trained ensemble classifier.

[0091] Example 3 A respiratory signal monitoring device for a patient includes a processor and a memory, the processor being used to process instructions stored in the memory to implement a respiratory signal monitoring method for a patient.

[0092] This invention provides a method, device, and system for monitoring respiratory signals in patients, comprising: acquiring different types of training datasets, namely a first respiratory signal data subset of patients with chronic diseases and a second respiratory signal data subset of patients without chronic diseases, which provides a data foundation for subsequent data analysis and helps the ensemble classifier learn different types of respiratory features; selecting each core signal in the first respiratory signal data subset, where a single core signal can characterize the respiratory features of a type of chronic disease, and determining the core signals helps distinguish the respiratory features of different types of patients with chronic diseases, while also improving data analysis efficiency; determining the weight gain coefficient of each second signal based on the similarity between the second signal and the core signal; further determining the weight gain coefficient of each first signal by matching each core signal with its corresponding similar signal and combining the similarity between each core signal and each first signal in the cluster to which the core signal belongs, and assigning greater weight to the respiratory signals that can represent distinguishable features after data analysis, so as to ensure that the ensemble classifier can learn distinguishable features, thereby avoiding the situation where respiratory problems caused by acute problems mask chronic diseases, and the failure to distinguish between respiratory signal data from two different processing methods in a timely manner, resulting in low reliability of patient respiratory signal monitoring.

[0093] The above-described embodiments are only used to illustrate the technical solutions of the present invention, and are not intended to limit it. Although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present invention, and should all be included within the protection scope of the present invention.

Claims

1. A method for monitoring respiratory signals in patients, characterized in that, Includes the following steps: A respiratory signal dataset is obtained for training an ensemble classifier; the ensemble classifier is Adaboost; the respiratory signal dataset includes a first respiratory signal data subset containing patients with chronic diseases and a second respiratory signal data subset containing patients without chronic diseases, wherein the chronic diseases are one of chronic bronchitis, chronic obstructive pulmonary disease, bronchial asthma, and emphysema; the respiratory signal dataset consists of respiratory signal data from patients experiencing acute respiratory problems. Each core signal is determined from the first respiratory signal data subset, and the weight gain coefficient of each second signal is determined based on the similarity between each second signal in the second respiratory signal data subset and each core signal. DTW matching analysis is performed on each core signal and its corresponding similar signal, and the weight gain coefficient of each first signal is determined by combining the similarity between each core signal and each first signal in the cluster to which the core signal belongs. For each base classifier, the initial weights of each respiratory signal in the respiratory signal dataset are updated according to the weight gain coefficients. The weights of the base classifiers are then combined to obtain the trained ensemble classifier. The trained ensemble classifier was used for respiratory signal monitoring. The determination of each core signal from the first respiratory signal data subset includes: Clustering is performed on the first subset of respiratory signal data to obtain various clusters; For each of the clusters, a similarity analysis is performed between each first signal in the cluster and other first signals excluding itself to obtain a similarity score; the first signal is a respiratory signal in the first respiratory signal data subset; The core signal of each cluster is obtained by taking the maximum similarity and the corresponding first signal as the core signal of the corresponding cluster. The step of determining the weight gain coefficient of each second signal based on the similarity between each second signal and each core signal in the second respiratory signal data subset includes: For any second signal, a similarity analysis is performed between the second signal and each of the core signals to obtain various similarity scores. Based on these similarity scores, it is determined whether the second signal is a similar signal to the core signal, thus obtaining several similar signals corresponding to each core signal. The second signal is a respiratory signal in the second respiratory signal data subset. For any similar signal corresponding to any core signal, if a base classifier classifies it successfully, the similarity between the similar signal and the core signal is determined, and the number of base classifiers that classify the similar signal successfully is counted. Based on the similarity corresponding to the similar signals and the number of base classifiers that successfully classified the signals, the weight gain coefficients of the similar signals are determined, and then the weight gain coefficients of each second signal are determined.

2. The method for monitoring respiratory signals in a patient according to claim 1, characterized in that, The step of determining whether the second signal is a similar signal to the core signal based on various similarity scores includes: If a similarity threshold is set, and there is at least one similarity greater than the similarity threshold, then the second signal is taken as a similar signal to the core signal corresponding to the maximum similarity; otherwise, the second signal is determined not to be a similar signal to the core signal.

3. The method for monitoring respiratory signals in a patient according to claim 1, characterized in that, The step of determining the weight gain coefficient of similar signals based on the similarity corresponding to the similar signals and the number of successfully classified base classifiers includes: For similar signals, obtain the number of all base classifiers corresponding to the ensemble classifier, and determine the ratio of the number of successfully classified base classifiers to the total number of base classifiers; The weight gain coefficient of similar signals is obtained by combining the ratio and the similarity; both the ratio and the similarity are proportional to the weight gain coefficient.

4. The method for monitoring respiratory signals in a patient according to claim 1, characterized in that, The step of performing matching analysis between each core signal and its corresponding similar signal, and determining the weight gain coefficient of each first signal based on the similarity between each core signal and each first signal in the cluster to which the core signal belongs, includes: Obtain the target similar signal of any core signal, and perform DTW matching on any core signal and the corresponding target similar signal to obtain several matching lines; the target similar signal is the similar signal with the highest similarity to any core signal. The x-coordinates of each inflection point on the target similarity signal are obtained based on the aforementioned matching lines; the inflection points are many-to-one or one-to-one data points on the target similarity signal. The degree of disorder in the matching line is analyzed based on the sequence of inflection point x-coordinates to determine the weight gain coefficient of the core signal; The weight gain coefficients of each first signal (excluding the core signal) in the cluster to which the core signal belongs are determined based on the similarity between the core signal and each other in the cluster to which the core signal belongs, as well as the weight gain coefficient of the core signal.

5. The method for monitoring respiratory signals in a patient according to claim 4, characterized in that, The step of analyzing the disorder of the matching line based on the inflection point abscissa sequence to determine the weight gain coefficient of the core signal includes: The difference sequence is obtained by calculating the difference between adjacent elements in the x-coordinate sequence of the inflection points. Based on the fluctuation of the change in the x-coordinate of the inflection point according to the difference sequence analysis, the weight gain coefficient of the core signal is determined.

6. The method for monitoring respiratory signals in a patient according to claim 5, characterized in that, The step of determining the weight gain coefficients of each first signal (excluding the core signal) in the cluster to which the core signal belongs, based on the similarity between the core signal and each other first signal in the cluster to which the core signal belongs, and the weight gain coefficient of the core signal, includes: For any first signal other than the core signal in the cluster to which the core signal belongs, the weight gain coefficient of the corresponding first signal is obtained by multiplying the similarity between the first signal and the core signal by the weight gain coefficient of the core signal.

7. A respiratory signal monitoring system for a patient, characterized in that, include: The signal data acquisition module is used to acquire a respiratory signal dataset for training an ensemble classifier; the ensemble classifier is Adaboost; the respiratory signal dataset includes a first respiratory signal data subset containing patients with chronic diseases and a second respiratory signal data subset containing patients without chronic diseases, wherein the chronic diseases are one of chronic bronchitis, chronic obstructive pulmonary disease, bronchial asthma, and emphysema; the respiratory signal dataset consists of respiratory signal data from patients experiencing acute respiratory problems. The gain coefficient determination module is used to determine each core signal from the first respiratory signal data subset, and to determine the weight gain coefficient of each second signal based on the similarity between each second signal in the second respiratory signal data subset and each core signal. DTW matching analysis is performed on each core signal and its corresponding similar signal, and the weight gain coefficient of each first signal is determined by combining the similarity between each core signal and each first signal in the cluster to which the core signal belongs. The classifier acquisition module is used to update the initial weight of each respiratory signal in the respiratory signal dataset according to the weight gain coefficient for each base classifier, and combine the weights of the base classifiers to obtain the trained ensemble classifier. A respiratory signal monitoring module is used to monitor respiratory signals using the trained ensemble classifier. The determination of each core signal from the first respiratory signal data subset includes: Clustering is performed on the first subset of respiratory signal data to obtain various clusters; For each of the clusters, a similarity analysis is performed between each first signal in the cluster and other first signals excluding itself to obtain a similarity score; the first signal is a respiratory signal in the first respiratory signal data subset; The core signal of each cluster is obtained by taking the maximum similarity and the corresponding first signal as the core signal of the corresponding cluster. The step of determining the weight gain coefficient of each second signal based on the similarity between each second signal and each core signal in the second respiratory signal data subset includes: For any second signal, a similarity analysis is performed between the second signal and each of the core signals to obtain various similarity scores. Based on these similarity scores, it is determined whether the second signal is a similar signal to the core signal, thus obtaining several similar signals corresponding to each core signal. The second signal is a respiratory signal in the second respiratory signal data subset. For any similar signal corresponding to any core signal, if a base classifier classifies it successfully, the similarity between the similar signal and the core signal is determined, and the number of base classifiers that classify the similar signal successfully is counted. Based on the similarity corresponding to the similar signals and the number of base classifiers that successfully classified the signals, the weight gain coefficients of the similar signals are determined, and then the weight gain coefficients of each second signal are determined.

8. A respiratory signal monitoring device for a patient, characterized in that, The device includes a processor and a memory, the processor being used to process instructions stored in the memory to implement a method for monitoring respiratory signals for a patient as described in any one of claims 1-6.

Citation Information

Patent Citations

  • CAS-based chronic disease health monitoring method and system

    CN120392040A

  • Region dividing device, method, and program, similarity determining apparatus, method, and program, and feature quantity deriving apparatus, method, and program

    US20210183061A1