Cardiopulmonary sound data detection method, device, equipment and medium based on cardiopulmonary sound separation

By collecting heart and lung sound data and performing position prediction, separation processing and attribute network analysis, the problem of low diagnostic accuracy caused by overlapping heart and lung sound frequencies is solved, and high-precision detection of heart and lung sound data is achieved.

CN117530719BActive Publication Date: 2024-09-03SHENZHEN RES INST OF BIG DATA +1
View PDF 16 Cites 0 Cited by

Patent Information

Application Number
CN202311546643.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-11-17
Publication Date
2024-09-03
Estimated Expiration
2043-11-17

AI Technical Summary

Technical Problem

The frequency range of the heart and lung sounds in the existing technology is highly overlapping, which causes the heart and lung sounds to be often mixed during the signal collection process and cannot be accurately separated, resulting in low accuracy and precision of the diagnostic results.

Method used

By collecting heart and lung sound data, it is sent to the location network for prediction to determine the collection location. The separation network performs separation processing, and is input to the heart attribute network and lung attribute network for analysis, and the comprehensive detection results are output.

Benefits of technology

The accuracy and precision of heart and lung sound data detection are improved, and the heart and lung murmurs and their occurrence locations can be quickly determined.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117530719B
    Figure CN117530719B
Patent Text Reader

Abstract

The present invention discloses a method, device, computer equipment and storage medium for detecting heart and lung sound data based on heart and lung sound separation. The method is implemented by: collecting the heart and lung sound data of the user to be detected; sending the heart and lung sound data to a position network for prediction to obtain the collection position of the heart and lung sound data; sending the heart and lung sound data to a separation network for separation processing to obtain heart sound data and lung sound data; inputting the heart sound data into a heart attribute network for analysis and processing to obtain heart rate and heart murmur data; inputting the lung sound data into a lung attribute network for analysis and processing to obtain respiratory rate and lung murmur data; based on the collection position, heart rate, heart murmur data, respiratory rate and lung murmur data, outputting a comprehensive detection result. By detecting the auscultation position and separating the heart and lung sounds, the accuracy and precision of the detection results can be effectively improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of heart and lung sound detection, and in particular to a heart and lung sound data detection method, device, computer equipment and storage medium based on heart and lung sound separation. Background Art

[0002] At present, due to various environmental factors and life stress factors, people are at an increased risk of suffering from heart disease and lung disease. Due to the high incidence, high mortality and high disability rates of these diseases, they seriously endanger people's health. The key to the treatment of such diseases lies in how to conduct accurate detection to achieve early diagnosis and treatment.

[0003] Since the heart and lungs are located close to each other, the frequency ranges of heart and lung sounds are highly overlapped. During the signal acquisition process, heart and lung sounds are often mixed. Therefore, only one of the heart sounds or lung sounds can be analyzed and diagnosed, or a general judgment can be made as to whether the heart and lung sounds are abnormal. The heart and lung sounds are not separated, resulting in large differences in the diagnosis results. Alternatively, although the heart and lung sounds can be separated and one of them can be simply analyzed, the focus of the work is still on the separation of heart and lung sounds, and the analysis results are relatively simple. In addition, the accuracy and precision of the existing heart and lung sound separation methods are limited, resulting in low accuracy and precision of the heart and lung sound data detection results. Summary of the invention

[0004] Based on this, it is necessary to provide a cardiopulmonary sound data detection method, device, computer equipment and storage medium based on cardiopulmonary sound separation to address the above technical issues, so as to solve at least one problem existing in the above-mentioned prior art.

[0005] In a first aspect, a method for detecting heart and lung sound data based on heart and lung sound separation is provided, comprising:

[0006] Collecting the heart and lung sound data of the user to be tested;

[0007] Sending the heart and lung sound data to a location network for prediction to obtain a collection location of the heart and lung sound data;

[0008] Sending the heart and lung sound data to a separation network for separation processing to obtain heart sound data and lung sound data;

[0009] Inputting the heart sound data into the heart attribute network for analysis and processing to obtain heart rate and heart murmur data;

[0010] Inputting the lung sound data into the lung attribute network for analysis and processing to obtain respiratory frequency and lung murmur data;

[0011] Based on the acquisition position, the heart rate, the heart murmur data, the respiratory rate, and the lung murmur data, a comprehensive detection result is output.

[0012] In one embodiment, sending the heart and lung sound data to a location network for prediction to obtain a collection location of the heart and lung sound data includes:

[0013] Sending the heart and lung sound data to the position network for prediction processing to obtain the probability of the heart and lung sound data being at different collection positions;

[0014] The acquisition position with the probability greater than a preset threshold is used as the acquisition position of the heart and lung sound data.

[0015] In one embodiment, the acquisition positions include heart auscultation positions and lung auscultation positions, the heart auscultation positions include the mitral valve area, the pulmonary valve area, the aortic valve area, the second auscultation area of ​​the aortic valve and the tricuspid valve area, and the lung auscultation positions include the left anterior chest, the left chest, the left back, the right anterior chest, the right chest and the right back.

[0016] In one embodiment, the heart attribute network includes a heart rate statistics network, and the heart sound data is input into a preset heart sound analysis network for analysis and processing to obtain the heart rate, including:

[0017] Counting the number of heart beats within a first preset time through the heart rate counting network;

[0018] Based on the number of heart beats, the heart rate is obtained.

[0019] In one embodiment, the heart attribute network includes a heart murmur network, and the step of inputting the heart sound data into the heart attribute network for analysis and processing to obtain the heart murmur data includes:

[0020] determining, by the heart murmur network, whether the heart sound data contains a heart murmur;

[0021] If yes, determine the occurrence period of the heart murmur, wherein the occurrence period includes the systolic period or the diastolic period.

[0022] In one embodiment, the lung attribute network includes a respiratory frequency statistics network, and the lung sound data is input into the lung attribute network for analysis and processing to obtain the respiratory frequency, including:

[0023] Counting the number of breaths within a second preset time through the respiratory frequency counting network;

[0024] The respiratory frequency is obtained according to the number of respirations.

[0025] In one embodiment, the lung attribute network includes a lung sound murmur network, and the step of inputting the lung sound data into the lung attribute network for analysis and processing to obtain the lung murmur data includes:

[0026] Determining whether the lung sound data contains lung murmurs by using the lung murmur network;

[0027] If so, determine the occurrence type of the lung murmur, wherein the occurrence type includes dry rales or wet rales.

[0028] In a second aspect, a cardiopulmonary sound data detection device based on cardiopulmonary sound separation is provided, comprising:

[0029] A heart and lung sound data collection unit, used to collect the heart and lung sound data of the user to be tested;

[0030] A collection position acquisition unit, used for sending the heart and lung sound data to a position network for prediction to obtain a collection position of the heart and lung sound data;

[0031] A heart and lung sound data separation unit, used for sending the heart and lung sound data to a separation network for separation processing to obtain heart sound data and lung sound data;

[0032] A heart sound data analysis unit, used for inputting the heart sound data into the heart attribute network for analysis and processing to obtain heart rate and heart murmur data;

[0033] A lung sound data analysis unit, used for inputting the lung sound data into the lung attribute network for analysis and processing to obtain respiratory frequency and lung murmur data;

[0034] A comprehensive detection result output unit is used to output a comprehensive detection result based on the acquisition position, the heart rate, the heart murmur data, the respiratory rate and the lung murmur data.

[0035] In a third aspect, a computer device is provided, including a memory and a processor, wherein the memory stores a computer program, and when the computer program is executed by the processor, the processor executes the cardiopulmonary sound data detection method based on cardiopulmonary sound separation as described above.

[0036] In a fourth aspect, a computer-readable storage medium is provided, storing a computer program, wherein when the computer program is executed by a processor, the processor executes the cardiopulmonary sound data detection method based on cardiopulmonary sound separation as described above.

[0037] The above-mentioned heart and lung sound data detection method, device, computer equipment and storage medium based on heart and lung sound separation, the method is implemented, including: collecting heart and lung sound data of the user to be detected; sending the heart and lung sound data to the position network for prediction, and obtaining the collection position of the heart and lung sound data; sending the heart and lung sound data to the separation network for separation processing, and obtaining heart sound data and lung sound data; inputting the heart sound data into the heart attribute network for analysis and processing, and obtaining heart rate and heart murmur data; inputting the lung sound data into the lung attribute network for analysis and processing, and obtaining respiratory frequency and lung murmur data; based on the collection position, the heart rate, the heart murmur data, the respiratory frequency and the lung murmur data, outputting a comprehensive detection result. In the embodiment of the present application, the auscultation position of the heart and lung sound data is determined, and the heart and lung sound data are separated to obtain separated heart sound data and lung sound data, and then the heart sound data and lung sound data are analyzed separately. By using the auscultation position and the analyzed data, a comprehensive test result is obtained, and the heart and lung murmur and the occurrence location can be quickly determined, thereby improving the accuracy and precision of the test result. BRIEF DESCRIPTION OF THE DRAWINGS

[0038] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings required for use in the description of the embodiments of the present invention will be briefly introduced below. Obviously, the accompanying drawings in the following description are only some embodiments of the present invention. For ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without paying creative labor.

[0039] Figure 1 is a flow chart of a method for detecting heart and lung sound data based on heart and lung sound separation in one embodiment of the present invention;

[0040] Figure 2 is a network architecture diagram of a method for detecting heart and lung sound data based on heart and lung sound separation in one embodiment of the present invention;

[0041] Figure 3 is a diagram of an implementation environment of a method for detecting heart and lung sound data based on heart and lung sound separation in one embodiment of the present invention;

[0042] Figure 4 is a structural schematic diagram of a heart and lung sound data detection device based on heart and lung sound separation in one embodiment of the present invention;

[0043] Figure 5 is a schematic diagram of a computer device in one embodiment of the present invention. DETAILED DESCRIPTION

[0044] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0045] In one embodiment, if Figure 1 As shown, a method for detecting heart and lung sound data based on heart and lung sound separation is provided, comprising the following steps:

[0046] In step S110, the heart and lung sound data of the user to be tested are collected;

[0047] In an embodiment of the present application, the heart and lung sound data of the user to be tested can be collected by a collection device, such as a stethoscope. The stethoscope can be an intelligent stethoscope, which can specifically include a probe, a sound guide tube, an earphone, and a memory, etc. The probe can be close to different collection parts of the user to collect the heart and lung sound data.

[0048] Furthermore, after the heart and lung sound data of the user to be detected is collected, the heart and lung sound data may be preprocessed, for example, the heart and lung sound data may be filtered to reduce the influence of noise.

[0049] In step S120, the heart and lung sound data are sent to a location network for prediction to obtain a collection location of the heart and lung sound data;

[0050] In an embodiment of the present application, the location network may be a classification network, such as ResNet or MobileNet, which may output a multidimensional vector, for example, a vector of 11, to represent 11 commonly used auscultation positions of the cardiopulmonary sound data, thereby determining the collection position of the cardiopulmonary sound data.

[0051] In an embodiment of the present application, the heart and lung sound data are sent to a location network for prediction to obtain a collection location of the heart and lung sound data, including:

[0052] Sending the heart and lung sound data to the position network for prediction processing to obtain the probability of the heart and lung sound data being at different collection positions;

[0053] The acquisition position with the probability greater than a preset threshold is used as the acquisition position of the heart and lung sound data.

[0054] Specifically, the heart and lung sound data can be input into the position network for classification processing to obtain a multi-dimensional vector. Then, a preset function, such as a softmax function, can be used to calculate the probability that the heart and lung sound data of the user to be detected come from each auscultation position. When the probability exceeds a preset threshold, for example, greater than 0.6, it can be considered that the heart and lung sound data are collected at this position.

[0055] Furthermore, if the probabilities of each auscultation position obtained are all less than the preset threshold, it can be considered that the heart and lung sound data are collected incorrectly, the heart and lung sound data are collected at other positions or the collection position cannot be determined. At this time, the heart and lung sound data can be collected again.

[0056] Among them, the collection position may include a heart auscultation position and a lung auscultation position, the heart auscultation position includes the mitral valve area, the pulmonary valve area, the aortic valve area, the second auscultation area of ​​the aortic valve and the tricuspid valve area, and the lung auscultation position includes the left anterior chest, the left chest, the left back, the right anterior chest, the right chest and the right back.

[0057] In an embodiment of the present application, the position network can be obtained in the following manner: by collecting a large amount of cardiopulmonary sound data, and setting valid position labels for the cardiopulmonary sound data, the valid position labels can correspond to each collection position, to form a cardiopulmonary sound sample data set, and then iteratively train the position network to be trained using the cardiopulmonary sound sample data set until the number of iterations reaches a preset number, or the loss value can be calculated using a preset loss function, and when the loss value reaches a preset loss threshold, the position network can be obtained.

[0058] Among them, the effective location tag can be marked by professionals such as doctors.

[0059] Among them, the loss function can be a cross entropy, a square loss function, etc.

[0060] In the embodiment of the present application, it is not necessary to set the valid position label for each heart and lung sound data, because a variety of open source and non-open source data sets are used in the sample data set. When a label does not exist in a certain set of data, the label value can be counted as -1, and the item can be excluded when calculating the loss. For example, when training the acquisition position detection, if one piece of sample data does not have a valid position label, it can be recorded as -1, and the data can be excluded when calculating the loss.

[0061] In step S130, the heart and lung sound data are sent to a separation network for separation processing to obtain heart sound data and lung sound data;

[0062] In an embodiment of the present application, the separation network may be a separation network such as an NMF model or an LSTM network. By inputting the heart and lung sound data into the separation network, the heart and lung sound data is denoised to remove external noise, and then separated to obtain heart sound data and lung sound data. Then, the heart sound data and lung sound data are denoised respectively to obtain pure heart sound data and lung sound data. Through secondary denoising, the influence of noise can be reduced and the accuracy of subsequent analysis of the heart sound data and lung sound data can be improved.

[0063] In an embodiment of the present application, the separation network can be obtained in the following manner: by collecting a large amount of cardiopulmonary sound data to form a cardiopulmonary sound sample data set, and then iteratively training the separation network to be trained using the cardiopulmonary sound sample data set until the number of iterations reaches a preset number of times, or the loss value reaches a preset loss threshold, to obtain the separation network.

[0064] In one embodiment of the present application, if the heart and lung sound data include heart sound data and lung sound data, the separated and denoised heart sound data can be input into the heart attribute network, and the separated and denoised lung sound data can be input into the lung attribute network; if the heart and lung sound data only contains one of the heart sound data or the lung sound data, only the denoising is performed on it and it is input into the corresponding analysis network; if it does not contain heart and lung sounds, no analysis is performed.

[0065] In step S140, the heart sound data is input into the heart attribute network for analysis and processing to obtain heart rate and heart murmur data;

[0066] In an embodiment of the present application, the heart attribute network may include a heart rate statistics network and a heart murmur network, wherein the heart attribute network may use an audio processing library (librosa) to visualize the separated heart sound data. Fast Fourier transform and filter may be performed in the heart rate statistics network to achieve heart rate acquisition. The murmur network is a classification network, for example, it may be ResNet or MobileNet, etc., which may determine whether there is a heart murmur.

[0067] See also Figure 2 , Figure 3 In one embodiment of the present application, the heart attribute network includes a heart rate statistics network, and the heart sound data is input into a preset heart sound analysis network for analysis and processing to obtain the heart rate, including:

[0068] Counting the number of heart beats within a first preset time through the heart rate counting network;

[0069] Based on the number of heart beats, the heart rate is obtained.

[0070] Specifically, the heart sound statistics network can output a positive number by counting the number of heart fluctuations within a first preset time contained in the cardiopulmonary data and converting it based on heart rate = number / time*60, thereby obtaining the heart rate.

[0071] The first preset time may be a specific time value, such as 3 seconds, 5 seconds, etc., and may be set according to actual conditions.

[0072] See also Figure 2 , Figure 3 In one embodiment of the present application, the heart attribute network includes a heart murmur network, and the heart sound data is input into the heart attribute network for analysis and processing to obtain the heart murmur data, including:

[0073] determining, by the heart murmur network, whether the heart sound data contains a heart murmur;

[0074] If yes, determine the occurrence period of the heart murmur, wherein the occurrence period includes the systolic period or the diastolic period.

[0075] Specifically, the heart murmur network can be a two-classification network, which is used to output a two-dimensional vector, which is used to represent the systolic period and the diastolic period, and whether there is a murmur. For example, the label of the systolic period is 0, and the label of the diastolic period is 1. In addition, the label without murmur is 0, and the label with murmur is 1, so as to obtain whether there is murmur in the heart sound data, and if so, determine which period of the heart murmur data the murmur is in.

[0076] In the embodiment of the present application, when judging the murmur, the diastolic period and the systolic period are performed separately, that is, the heart sound data can be first divided into diastolic heart sound data and systolic heart sound data, and then the murmur judgment is performed on the diastolic heart sound data and the systolic heart sound data respectively, wherein the systolic period is only performed on the part with a label of 0 after segmentation, and the diastolic period is only performed on the part with a label of 1 after segmentation, and the trained binary classification model is used to judge whether the heart sound data has a murmur. Based on the occurrence period and whether there is a murmur, a two-dimensional vector is output, for example, (0, 0) or (0, 1) or (1, 0) or (1, 1).

[0077] Furthermore, during the training phase of the heart murmur network, the collected training sample data can be labeled as originating from the systolic period or the diastolic period, and then input into the original heart murmur network for iterative training until the number of iterations reaches a preset number, or the loss value can be calculated through a preset loss function. When the loss value reaches a preset loss threshold, the heart murmur network can be obtained.

[0078] The systolic period or diastolic period may be marked by a doctor or other professional.

[0079] Among them, the loss function can be a cross entropy, a square loss function, etc.

[0080] In the embodiment of the present application, it is not necessary to mark each heart sound data with the systolic or diastolic period label, because a variety of open source and non-open source data sets are used in the sample data set. When a label does not exist in a certain set of data, the label value can be counted as -1, and the item can be excluded in the final loss calculation.

[0081] In step S150, the lung sound data is input into the lung attribute network for analysis and processing to obtain respiratory frequency and lung murmur data;

[0082] In an embodiment of the present application, the lung attribute network may include a respiratory frequency statistics network and a lung sound murmur network. Among them, the lung sound attribute network can use the audio processing library (librosa) to visualize the separated lung sound data. The lung attribute network uses librosa to visualize the separated lung sounds. Fast Fourier transform and filter are performed in the statistical network to obtain the respiratory frequency. The murmur network is a classification network, such as ResNet or MobileNet, which can detect lung murmurs.

[0083] See also Figure 2 , Figure 3 In one embodiment of the present application, the lung attribute network includes a respiratory frequency statistics network, and the lung sound data is input into the lung attribute network for analysis and processing to obtain the respiratory frequency, including:

[0084] Counting the number of breaths within a second preset time through the respiratory frequency counting network;

[0085] The respiratory frequency is obtained according to the number of respirations.

[0086] Specifically, the respiratory frequency statistics network can output an integer. By counting the number of breaths in the lung sound data within a preset time and performing calculation and conversion, an approximate respiratory frequency can be obtained. For example, the number of breaths = number / time*60 is converted to obtain the respiratory frequency.

[0087] The second preset time may be a specific time value, such as 3 seconds, 5 seconds, etc., and may be set according to actual conditions.

[0088] See also Figure 2 , Figure 3 In one embodiment of the present application, the lung attribute network includes a lung sound murmur network, and the lung sound data is input into the lung attribute network for analysis and processing to obtain the lung murmur data, including:

[0089] Determining whether the lung sound data contains lung murmurs by using the lung murmur network;

[0090] If so, determine the occurrence type of the lung murmur, wherein the occurrence type includes dry rales or wet rales.

[0091] Specifically, the lung murmur network can output a two-dimensional vector, where the two dimensions represent dry rales and wet rales respectively, label 0 represents absence, and label 1 represents presence, which is used to identify whether there is a murmur in the lungs, and if so, determine the type of murmur.

[0092] In the embodiment of the present application, when judging the murmur, dry rales and wet rales can be judged separately. The trained binary classification model is used to judge whether the lung sound data has murmurs. If there is a lung murmur, the type of the murmur is determined, thereby determining the lung murmur data.

[0093] Furthermore, during the training phase, the heart murmur network can annotate the collected training sample data into a two-dimensional array (0, 0) representing neither, (0, 1) representing only wet rales, (1, 0) representing only dry rales, and (1, 1) representing both. Then, the data is input into the original lung murmur network for iterative training until the number of iterations reaches a preset number, or the loss value can be calculated by a preset loss function. When the loss value reaches a preset loss threshold, the lung murmur network can be obtained.

[0094] The wet rales or dry rales may be marked by doctors or other professionals.

[0095] Among them, the loss function can be a cross entropy, a square loss function, etc.

[0096] In the embodiment of the present application, it is not necessary to label each lung sound data with the label of wet rales or dry rales, because a variety of open source and non-open source data sets are used in the sample data set. When a label does not exist in a certain set of data, the label value can be counted as -1, and the item can be excluded in the final loss calculation.

[0097] In step S160, a comprehensive detection result is output based on the acquisition position, the heart rate, the heart murmur data, the respiratory rate, and the lung murmur data.

[0098] In the embodiment of the present application, after obtaining the heart murmur data, lung murmur data and the acquisition location, the data can be output as a comprehensive test result according to the preset template and medical advice can be given. For example, if there is a heart murmur, it is recommended to see a doctor for further examination such as electrocardiogram, and if there is a lung murmur, it is recommended to see a doctor for examination such as filming, and the information of the data segment and the original audio can be provided to the doctor for auxiliary diagnosis. The information of the data segment and the original audio can be provided to the doctor for auxiliary diagnosis.

[0099] The embodiment of the present application provides a method for detecting heart and lung sound data based on heart and lung sound separation, and the method includes: collecting heart and lung sound data of a user to be detected; sending the heart and lung sound data to a position network for prediction to obtain the collection position of the heart and lung sound data; sending the heart and lung sound data to a separation network for separation processing to obtain heart sound data and lung sound data; inputting the heart sound data into a heart attribute network for analysis and processing to obtain heart rate and heart murmur data; inputting the lung sound data into a lung attribute network for analysis and processing to obtain respiratory rate and lung murmur data; based on the collection position, the heart rate, the heart murmur data, the respiratory rate and the lung murmur data, outputting a comprehensive detection result. In the embodiment of the present application, by determining the auscultation position of the heart and lung sound data, and by separating the heart and lung sound data to obtain the separated heart sound data and lung sound data, and then respectively analyzing the heart sound data and lung sound data, and obtaining a comprehensive detection result through the auscultation position and the analyzed data, the heart and lung murmur and the occurrence position can be quickly determined, thereby improving the accuracy and precision of the detection result.

[0100] It should be understood that the order of execution of the steps in the above embodiment does not necessarily mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiment of the present invention.

[0101] In one embodiment, a heart and lung sound data detection device based on heart and lung sound separation is provided, and the heart and lung sound data detection device based on heart and lung sound separation corresponds to the heart and lung sound data detection method based on heart and lung sound separation in the above embodiment. Figure 4 As shown, the heart and lung sound data detection device based on heart and lung sound separation includes a heart and lung sound data acquisition unit 10, an acquisition position acquisition unit 20, a heart and lung sound data separation unit 30, a heart sound data analysis unit 40, a lung sound data analysis unit 50 and a comprehensive detection result output unit 60. The functional modules are described in detail as follows:

[0102] The heart and lung sound data collection unit 10 is used to collect the heart and lung sound data of the user to be tested;

[0103] A collection position acquisition unit 20, used for sending the heart and lung sound data to a position network for prediction to obtain a collection position of the heart and lung sound data;

[0104] A heart and lung sound data separation unit 30, used to send the heart and lung sound data to a separation network for separation processing to obtain heart sound data and lung sound data;

[0105] A heart sound data analysis unit 40, used for inputting the heart sound data into the heart attribute network for analysis and processing to obtain heart rate and heart murmur data;

[0106] A lung sound data analysis unit 50 is used to input the lung sound data into the lung attribute network for analysis and processing to obtain respiratory frequency and lung murmur data;

[0107] The comprehensive detection result output unit 60 is used to output a comprehensive detection result based on the acquisition position, the heart rate, the heart murmur data, the respiratory rate and the lung murmur data.

[0108] In one embodiment of the present application, the acquisition position acquisition unit 20 is further used to:

[0109] Sending the heart and lung sound data to the position network for prediction processing to obtain the probability of the heart and lung sound data being at different collection positions;

[0110] The acquisition position with the probability greater than a preset threshold is used as the acquisition position of the heart and lung sound data.

[0111] In one embodiment of the present application, the acquisition positions include a heart auscultation position and a lung auscultation position, the heart auscultation position includes the mitral valve area, the pulmonary valve area, the aortic valve area, the second auscultation area of ​​the aortic valve and the tricuspid valve area, and the lung auscultation position includes the left anterior chest, the left chest, the left back, the right anterior chest, the right chest and the right back.

[0112] In one embodiment of the present application, the heart attribute network includes a heart rate statistics network, and the heart sound data analysis unit 40 is also used for:

[0113] Counting the number of heart beats within a first preset time through the heart rate counting network;

[0114] Based on the number of heart beats, the heart rate is obtained.

[0115] In one embodiment of the present application, the heart attribute network includes a heart murmur network, and the heart sound data analysis unit 40 is further used to:

[0116] determining, by the heart murmur network, whether the heart sound data contains a heart murmur;

[0117] If yes, determine the occurrence period of the heart murmur, wherein the occurrence period includes the systolic period or the diastolic period.

[0118] In one embodiment of the present application, the lung attribute network includes a respiratory frequency statistics network, and the lung sound data analysis unit 50 is also used for:

[0119] Counting the number of breaths within a second preset time through the respiratory frequency counting network;

[0120] The respiratory frequency is obtained according to the number of respirations.

[0121] In one embodiment of the present application, the lung attribute network includes a lung sound murmur network, the lung attribute network includes a respiratory frequency statistics network, and the lung sound data analysis unit 50 is further used to:

[0122] Determining whether the lung sound data contains lung murmurs by using the lung murmur network;

[0123] If so, determine the occurrence type of the lung murmur, wherein the occurrence type includes dry rales or wet rales.

[0124] In the embodiment of the present application, the auscultation position of the heart and lung sound data is determined, and the heart and lung sound data are separated to obtain separated heart sound data and lung sound data, and then the heart sound data and lung sound data are analyzed separately. By using the auscultation position and the analyzed data, a comprehensive test result is obtained, and the heart and lung murmur and the occurrence location can be quickly determined, thereby improving the accuracy and precision of the test result.

[0125] For the specific limitations of the cardiopulmonary sound data detection device based on cardiopulmonary sound separation, please refer to the limitations of the cardiopulmonary sound data detection method based on cardiopulmonary sound separation mentioned above, which will not be repeated here. Each module in the above-mentioned cardiopulmonary sound data detection device based on cardiopulmonary sound separation can be implemented in whole or in part through software, hardware and a combination thereof. The above-mentioned modules can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory of the computer device in the form of software, so that the processor can call and execute the operations corresponding to the above-mentioned modules.

[0126] In one embodiment, a computer device is provided. The computer device may be a terminal device, and its internal structure diagram may be as follows: Figure 5 As 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 readable storage medium. The readable storage medium stores computer-readable instructions. The network interface of the computer device is used to communicate with an external terminal through a network connection. When the computer-readable instructions are executed by the processor, a cardiopulmonary sound data detection method based on cardiopulmonary sound separation is implemented. The readable storage medium provided in this embodiment includes a non-volatile readable storage medium and a volatile readable storage medium.

[0127] In an embodiment of the present application, a computer device is provided, including a memory, a processor, and computer-readable instructions stored in the memory and executable on the processor. When the processor executes the computer-readable instructions, the steps of the cardiopulmonary sound data detection method based on cardiopulmonary sound separation as described above are implemented.

[0128] In an embodiment of the application, a readable storage medium is provided, wherein the readable storage medium stores computer-readable instructions, and when the computer-readable instructions are executed by a processor, the steps of the cardiopulmonary sound data detection method based on cardiopulmonary sound separation as described above are implemented.

[0129] Those of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be implemented by instructing related hardware through computer-readable instructions, and the computer-readable instructions can be stored in a non-volatile readable storage medium or a volatile readable storage medium. When the computer-readable instructions are executed, they may include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application may include non-volatile and / or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), etc.

[0130] Those skilled in the art can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example. In actual applications, the above-mentioned functions can be distributed and completed by different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above.

[0131] The embodiments described above are only used to illustrate the technical solutions of the present invention, rather than to limit the same. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. Such modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention, and should all be included in the protection scope of the present invention.

Claims

1. A method for detecting heart and lung sound data based on heart and lung sound separation, characterized in that: The method comprises: Collecting the heart and lung sound data of the user to be tested; Sending the heart and lung sound data to a location network for prediction to obtain a collection location of the heart and lung sound data; Sending the heart and lung sound data to a separation network for separation processing to obtain heart sound data and lung sound data; Inputting the heart sound data into the heart attribute network for analysis and processing to obtain heart rate and heart murmur data; Inputting the lung sound data into the lung attribute network for analysis and processing to obtain respiratory frequency and lung murmur data; Based on the acquisition position, the heart rate, the heart murmur data, the respiratory rate, and the lung murmur data, a comprehensive detection result is output.

2. The method for detecting heart and lung sound data based on heart and lung sound separation according to claim 1, characterized in that: The step of sending the heart and lung sound data to a location network for prediction to obtain a collection location of the heart and lung sound data includes: Sending the heart and lung sound data to the location network for prediction processing to obtain the probability of the heart and lung sound data being at different collection locations; The acquisition position with the probability greater than a preset threshold is used as the acquisition position of the heart and lung sound data.

3. The method for detecting heart and lung sound data based on heart and lung sound separation according to claim 2, characterized in that: The acquisition positions include heart auscultation positions and lung auscultation positions. The heart auscultation positions include the mitral valve area, the pulmonary valve area, the aortic valve area, the second aortic valve auscultation area and the tricuspid valve area. The lung auscultation positions include the left anterior chest, the left chest, the left back, the right anterior chest, the right chest and the right back.

4. The method for detecting heart and lung sound data based on heart and lung sound separation according to claim 1, characterized in that: The heart attribute network includes a heart rate statistics network, and the heart sound data is input into a preset heart sound analysis network for analysis and processing to obtain the heart rate, including: The heart rate counting network is used to count the number of heart beats within a first preset time; and the heart rate is obtained based on the number of heart beats.

5. The method for detecting heart and lung sound data based on heart and lung sound separation according to claim 1, characterized in that: The heart attribute network includes a heart murmur network, and the heart sound data is input into the heart attribute network for analysis and processing to obtain the heart murmur data, including: Through the heart murmur network, it is determined whether the heart sound data contains heart murmur; if so, the occurrence period of the heart murmur is determined, wherein the occurrence period includes the systolic period or the diastolic period.

6. The method for detecting heart and lung sound data based on heart and lung sound separation according to claim 1, characterized in that: The lung attribute network includes a respiratory frequency statistics network, and the lung sound data is input into the lung attribute network for analysis and processing to obtain the respiratory frequency, including: The breathing frequency counting network is used to count the number of breaths within a second preset time; and the breathing frequency is obtained according to the number of breaths.

7. The method for detecting heart and lung sound data based on heart and lung sound separation according to claim 1, characterized in that: The lung attribute network includes a lung sound murmur network, and the lung sound data is input into the lung attribute network for analysis and processing to obtain lung murmur data, including: Determining whether the lung sound data contains lung murmurs by using the lung sound murmur network; If so, determine the occurrence type of the lung murmur, wherein the occurrence type includes dry rales or wet rales.

8. A cardiopulmonary sound data detection device based on cardiopulmonary sound separation, characterized in that: The device comprises: A heart and lung sound data collection unit, used to collect the heart and lung sound data of the user to be tested; A collection position acquisition unit, used for sending the heart and lung sound data to a position network for prediction to obtain a collection position of the heart and lung sound data; A heart and lung sound data separation unit, used for sending the heart and lung sound data to a separation network for separation processing to obtain heart sound data and lung sound data; A heart sound data analysis unit, used for inputting the heart sound data into the heart attribute network for analysis and processing to obtain heart rate and heart murmur data; A lung sound data analysis unit, used for inputting the lung sound data into the lung attribute network for analysis and processing to obtain respiratory frequency and lung murmur data; A comprehensive detection result output unit is used to output a comprehensive detection result based on the acquisition position, the heart rate, the heart murmur data, the respiratory rate and the lung murmur data.

9. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the computer program is executed by the processor, the processor executes the cardiopulmonary sound data detection method based on cardiopulmonary sound separation as described in any one of claims 1 to 7.

10. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the processor executes the cardiopulmonary sound data detection method based on cardiopulmonary sound separation as described in any one of claims 1 to 7.

Citation Information

Patent Citations

  • Coronary heart disease surveillance and diagnosis device

    CN107693044A

  • Real-time heart and lung sound automatic separation method of electrostethophone

    CN110236589A

  • Bone-conduction digital auscultation system for automatic separation of heart and lung sounds

    CN110251152A

  • Electronic heart-lung sound data annotation management method and device

    CN111700636A

  • Automatic heart and lung sound separation method based on complex number deep neural networks

    CN113229842A