Method, device, computer equipment and storage medium for analyzing heart sound signals

By cutting and clustering the heart sound envelope signal, building a feature template, and identifying each component of the heart sound signal, the accuracy and efficiency problems of heart sound signal analysis in the existing technology are solved, and the accuracy of diagnosis is improved.

CN118332425BActive Publication Date: 2024-10-18SOUTH CHINA NORMAL UNIV
View PDF 7 Cites 0 Cited by

Patent Information

Application Number
CN202410741421.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-06-11
Publication Date
2024-10-18
Estimated Expiration
2044-06-11

AI Technical Summary

Technical Problem

Existing technology is difficult to accurately analyze and identify heart sound signals, especially when noise interference and large individual differences occur, resulting in low diagnostic efficiency and poor accuracy.

Method used

By retrieving the first heart sound peak of the heart sound envelope signal, the heart sound envelope signal is cut and clustered, a characteristic heart sound template is constructed, waveform detection and feature statistics are performed, and each component of the heart sound signal is identified.

Benefits of technology

It simplifies the heart sound analysis process, improves detection accuracy and efficiency, and reduces the uncertainty of manual analysis.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118332425B_ABST
    Figure CN118332425B_ABST
Patent Text Reader

Abstract

The present invention relates to the field of signal processing technology, and in particular to a method for analyzing heart sound signals. The method comprises the following steps: searching for the first heart sound peak value of a heart sound envelope signal, cutting the heart sound envelope signal, obtaining a plurality of separated envelope signals reflecting a complete cardiac cycle, clustering the plurality of separated envelope signals and constructing templates, obtaining a plurality of categories of separated heart sound envelope signal clustering sets and a plurality of categories of characteristic heart sound templates, performing waveform detection on the characteristic heart sound templates, obtaining a plurality of categories of characteristic heart sound template waveform detection data, and mapping and feature statistics of separated heart sound envelope signals of the same category based on the characteristic heart sound template waveform detection data, so as to identify various components of the heart sound in the heart sound envelope signal, thereby simplifying the process of heart sound analysis and recognition, and improving the accuracy and efficiency of heart sound analysis.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of signal processing, and in particular to a method, device, computer equipment and storage medium for analyzing heart sound signals. Background Art

[0002] Heart sounds are closely related to the structural characteristics of the heart, such as the shape, hardness, degree of closure of the valves, the thickness of the heart wall, the width of the blood vessels, etc. Therefore, heart sounds can be used as an indicator of valvular diseases such as mitral valve, tricuspid valve, aortic valve sclerosis, insufficiency, prolapse, as well as structural defects of the heart such as hypertrophy of the atrial and ventricular walls.

[0003] Conventional heart sound diagnosis is usually completed by doctors' on-site auscultation, and this process is often only carried out during a short outpatient diagnosis time. However, certain pathological factors may trigger abnormal heart sounds only under certain conditions, such as accelerated heart rate, tension or low heart rate, and such abnormalities may not reappear during routine outpatient clinics. Therefore, if the heart sound signal can be recorded for a long time and properly screened by the equipment, it will help doctors make more accurate diagnoses.

[0004] Phonocardiogram (PCG) is a method of recording heart sound signals in digital form and visually analyzing them. In the past, phonocardiograms could be obtained through electronic stethoscopes. With the continuous development of Internet of Things technology, there are now portable, external heart sound collection devices that can collect heart sound signals for a long time.

[0005] The phonocardiogram presents the waveform of the amplitude of the heart sound that changes over time. The visual performance is a rapidly changing peak and trough, which is very unfavorable for manual processing. For example, it is difficult to judge the starting and ending points of the heart sound. Different doctors have different subjective bases, and the segmentation of heart sound is therefore inconsistent. Secondly, the heart sound signal is accompanied by a lot of noise during the recording process, such as talking, clothing friction, external noise, breathing, and the sound of organs such as the stomach and intestines. It is difficult for manual analysis to determine whether the occasional abnormal sound is a real heart sound or noise. Thirdly, there is no universal standard for phonocardiograms. Different heart sound acquisition equipment, different recording positions, differences in acquisition areas, and differences in recording environments will lead to large differences in phonocardiograms, which also brings great uncertainty to manual processing. From a diagnostic point of view, for long-term phonocardiograms, the heart sound characteristics of individual cardiac cycles are not representative. It is mainly necessary to examine statistically significant data such as the waveform, frequency, and location of typical heart murmurs. These statistical data come from a large number of heart sound signals in cardiac cycles, which are also difficult to obtain manually. Therefore, the use of computer-assisted methods to process heart sounds, extract sensitive features, automatically add annotations, classification and statistics can truly bring out the value of the phonocardiogram and make it a routine method for clinical diagnosis in cardiology. Summary of the invention

[0006] Based on this, the purpose of the present invention is to provide a method, device, computer equipment and storage medium for analyzing heart sound signals, by retrieving the first heart sound peak value of the heart sound envelope signal, cutting the heart sound envelope signal to obtain several separated envelope signals reflecting the complete cardiac cycle, clustering and template construction of the several separated envelope signals to obtain several categories of separated heart sound envelope signal clustering sets and several categories of characteristic heart sound templates, waveform detection of the characteristic heart sound templates to obtain several categories of characteristic heart sound template waveform detection data, based on the characteristic heart sound template waveform detection data, mapping and feature statistics of separated heart sound envelope signals of the same category to identify various components of the heart sound in the heart sound envelope signal, thereby simplifying the process of heart sound analysis and recognition and improving the accuracy and efficiency of heart sound analysis.

[0007] In a first aspect, an embodiment of the present application provides a method for analyzing a heart sound signal, comprising the following steps:

[0008] Obtaining an original heart sound signal, performing envelope detection on the original heart sound signal, and obtaining a heart sound envelope signal and peak location data of the heart sound envelope signal;

[0009] Adopting an adaptive threshold detection method to obtain a first heart sound peak value of the heart sound envelope signal; segmenting the heart sound envelope signal according to the first heart sound peak value and the peak location data to obtain a plurality of separated heart sound envelope signals;

[0010] Performing clustering processing and template construction on the plurality of separated heart sound envelope signals to obtain a plurality of categories of separated heart sound envelope signal clustering sets and a plurality of categories of characteristic heart sound templates, performing waveform detection on the plurality of categories of characteristic heart sound templates to obtain a plurality of categories of characteristic heart sound template waveform detection data;

[0011] According to several categories of characteristic heart sound template waveform detection data, the separated heart sound envelope signals of corresponding categories in the separated heart sound envelope signal clusters of several categories are mapped and feature statistics are performed to obtain the analysis results of the heart sound envelope signals.

[0012] In a second aspect, an embodiment of the present application provides a device for analyzing a heart sound signal, comprising:

[0013] A signal extraction module, used to obtain an original heart sound signal, perform envelope detection on the original heart sound signal, and obtain a heart sound envelope signal and peak location data of the heart sound envelope signal;

[0014] A signal segmentation module, configured to obtain a first heart sound peak value of the heart sound envelope signal by adopting an adaptive threshold detection method; segment the heart sound envelope signal according to the first heart sound peak value and the peak location data to obtain a plurality of separated heart sound envelope signals;

[0015] A waveform detection module, used for performing clustering processing and template construction on the plurality of separated heart sound envelope signals, obtaining a plurality of categories of separated heart sound envelope signal clustering sets and a plurality of categories of characteristic heart sound templates, performing waveform detection on the plurality of categories of characteristic heart sound templates, and obtaining a plurality of categories of characteristic heart sound template waveform detection data;

[0016] The signal analysis module is used to map and perform feature statistics on the separated heart sound envelope signals of corresponding categories in the separated heart sound envelope signal clusters of several categories according to the characteristic heart sound template waveform detection data of several categories, so as to obtain the analysis results of the heart sound envelope signals.

[0017] In a third aspect, an embodiment of the present application provides a computer device comprising a processor, a memory, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the steps of the method for analyzing cardiac sound signals as described in the first aspect are implemented.

[0018] In a fourth aspect, an embodiment of the present application provides a storage medium, wherein the storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the method for analyzing heart sound signals as described in the first aspect are implemented.

[0019] In an embodiment of the present application, a method, apparatus, computer device and storage medium for analyzing a heart sound signal are provided. The first heart sound peak value of the heart sound envelope signal is retrieved, the heart sound envelope signal is cut to obtain a number of separated envelope signals reflecting a complete cardiac cycle, the several separated envelope signals are clustered and template constructed to obtain several categories of separated heart sound envelope signal clustering sets and several categories of characteristic heart sound templates, waveform detection is performed on the characteristic heart sound templates to obtain several categories of characteristic heart sound template waveform detection data, and based on the characteristic heart sound template waveform detection data, the separated heart sound envelope signals of the same category are mapped and feature statistics are performed to identify the various components of the heart sound in the heart sound envelope signal, thereby simplifying the process of heart sound analysis and recognition and improving the accuracy and efficiency of heart sound analysis.

[0020] For better understanding and implementation, the present invention is described in detail below with reference to the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0021] Figure 1A schematic diagram of a flow chart of a method for analyzing heart sound signals provided in one embodiment of the present application;

[0022] Figure 2 A schematic diagram of S2 in the process of a heart sound signal analysis method provided by an embodiment of the present application;

[0023] Figure 3 A schematic diagram of S22 in the process of the heart sound signal analysis method provided by one embodiment of the present application;

[0024] Figure 4 A schematic diagram of S23 in the process of the heart sound signal analysis method provided by one embodiment of the present application;

[0025] Figure 5 A schematic diagram of S3 in the process of the heart sound signal analysis method provided by one embodiment of the present application;

[0026] Figure 6 A schematic diagram of S31 in the process of the heart sound signal analysis method provided by one embodiment of the present application;

[0027] Figure 7 A schematic diagram of S3 in the process of the heart sound signal analysis method provided by one embodiment of the present application;

[0028] Figure 8 A schematic diagram of S4 in the process of the heart sound signal analysis method provided by one embodiment of the present application;

[0029] Fig. 9 A schematic diagram of the structure of a heart sound signal analysis device provided in one embodiment of the present application;

[0030] Fig.10 A schematic diagram of the structure of a computer device provided for one embodiment of the present application. DETAILED DESCRIPTION

[0031] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the following exemplary embodiments do not represent all implementations consistent with the present application. Instead, they are merely examples of devices and methods consistent with some aspects of the present application as detailed in the appended claims.

[0032] The terms used in this application are for the purpose of describing specific embodiments only and are not intended to limit this application. The singular forms of "a", "said" and "the" used in this application and the appended claims are also intended to include plural forms unless the context clearly indicates other meanings. It should also be understood that the term "and / or" used herein refers to and includes any or all possible combinations of one or more associated listed items.

[0033] It should be understood that, although the terms first, second, third, etc. may be used in the present application to describe various information, these information should not be limited to these terms. These terms are only used to distinguish the same type of information from each other. For example, without departing from the scope of the present application, the first information may also be referred to as the second information, and similarly, the second information may also be referred to as the first information. Depending on the context, the words "if" / "if" as used herein may be interpreted as "at the time of" or "when" or "in response to determination".

[0034] See also Figure 1 , Figure 1 A flowchart of a method for analyzing heart sound signals provided in one embodiment of the present application is provided, wherein the method comprises the following steps:

[0035] S1: obtaining an original heart sound signal, performing envelope detection on the original heart sound signal, and obtaining a heart sound envelope signal and peak location data of the heart sound envelope signal.

[0036] The executor of the heart sound signal analysis method is an analysis device of the heart sound signal analysis method (hereinafter referred to as the analysis device). In an optional embodiment, the analysis device can be a computer device, a server, or a server cluster composed of multiple computer devices.

[0037] In an optional embodiment, the analysis device can obtain the original heart sound signal by querying a preset database. In another optional embodiment, the analysis device can use a heart sound acquisition device to collect heart sound signals at the apex beat, corresponding to the inner side of the mid-clavicular line of the fifth intercostal space in front of the human chest wall. The sampling rate is set at 1KHz to 20KHz. The heart sound signal is converted into a phonocardiogram after digital processing. Specifically, the heart sound acquisition device uses existing hardware equipment.

[0038] The envelope characteristics of the heart sound signal can better reflect the characteristics of the heart sound than the heart sound signal. The envelope characteristics include the effective time domain information of the heart sound signal. The analysis equipment performs envelope detection on the original heart sound signal to obtain the heart sound envelope signal, which is used to identify the various components of the heart sound, improve the detection accuracy, reduce the workload and calculation amount, so as to simplify the process of heart sound analysis and identification, thereby greatly improving the analysis and identification efficiency.

[0039] Specifically, the analysis device adopts a homomorphic filtering method to the heart sound envelope, performs envelope detection on the original heart sound signal, and obtains the heart sound envelope signal, as described below:

[0040] Length is T The original heart sound signal It can be expressed as its heart sound envelope signal and frequency modulated signals The product of x ( t ), a ( t ), f ( t )for , , exist t The value at time , the following relationship holds.

[0041]

[0042]

[0043] In the formula, For t The phase value at the moment.

[0044] Construct a logarithmic function, the logarithmic function expression is as follows:

[0045]

[0046] In the formula, y ( t ) is in t The value of the moment, ε Is a preset small positive number. y ( t ) can be approximated as follows,

[0047]

[0048] The logarithmic part of the envelope ln( a ( t )) is a low-frequency signal, the frequency logarithmic part ln| f ( t )| is a high-frequency signal, which can be approximated by filtering with a low-frequency filter L.

[0049]

[0050] Where L[ ] is the low-frequency filter function, indicating that the signal is processed by low-frequency filtering.

[0051] For L[y ( t )] to perform exponential operation, and subtract 1 to normalize the baseline to make it close to 0, and obtain the envelope value a ( t ) o ( t ), the obtained o ( t ) to obtain the heart sound envelope signal ,in, o ( t ) is as follows:

[0052]

[0053] The analysis device performs peak retrieval on the heart sound envelope signal to obtain peak location data of the heart sound envelope signal, wherein the peak location data includes a plurality of peak points and amplitudes of the peak points.

[0054] S2: Adopting an adaptive threshold detection method to obtain a first heart sound peak value of the heart sound envelope signal, and segmenting the heart sound envelope signal according to the first heart sound peak value and the peak location data to obtain a plurality of separated heart sound envelope signals.

[0055] There are the first, second, third and fourth heart sounds in a cardiac cycle. The first heart sound occurs at the beginning of systole, marking the beginning of ventricular contraction. It is caused by the contraction of the ventricular muscle, the sudden closure of the mitral and tricuspid valves, and the subsequent ejection of blood into the arteries. The second heart sound occurs at the beginning of diastole, due to the rapid closure of the aortic valve, the impact of blood flow on the root of the aorta and the vibration of the ventricular wall.

[0056] In a cardiac cycle, the peak value corresponding to the moment of cardiac contraction is higher than that of cardiac diastole. In order to accurately and efficiently identify the cardiac cycle, in this embodiment, the analysis device adopts an adaptive threshold detection method to obtain the first heart sound peak value of the heart sound envelope signal, and confirms several first heart sound peak points in the heart sound envelope signal according to the first heart sound peak value and the peak positioning data. The first heart sound peak point is used as a segmentation point to segment the heart sound envelope signal, and the signal segments between adjacent first heart sound peak points are used as separated heart sound envelope signals. The cardiac cycle is identified with the beginning of atrial contraction as the starting point and the next beginning of atrial contraction as the end point, and several separated heart sound envelope signals are obtained, thereby realizing the division of the cardiac cycle of the heart sound envelope signal.

[0057] For identification of the first heart sound peak, see Figure 2 , Figure 2The schematic diagram of S2 in the process of the heart sound signal analysis method provided in one embodiment of the present application includes steps S21 to S23, which are specifically as follows:

[0058] S21: extracting a target heart sound envelope signal segment from the heart sound envelope signal, and obtaining a peak distribution histogram of the target heart sound envelope signal segment; on the peak distribution histogram, taking the amplitude of the local minimum point between the first peak point and the second peak point as the first heart sound retrieval threshold.

[0059] In this embodiment, the analysis device extracts the target heart sound envelope signal segment from the heart sound envelope signal. Specifically, the analysis device can select a heart sound envelope segment containing multiple cardiac cycles from the starting position of the heart sound envelope signal according to a preset sampling length as the target heart sound envelope signal segment.

[0060] The analysis device retrieves the waveform peak value, i.e., the local maximum value, within the target heart sound envelope signal segment according to the peak location data of the target heart sound envelope signal segment, and statistically calculates the probability distribution of the waveform peak value in each interval to obtain the peak distribution histogram of the target heart sound envelope signal segment.

[0061] The analysis device retrieves the local minimum point between the first peak point and the second peak point on the peak distribution histogram as a segmentation point, and uses the amplitude of the segmentation point as the first heart sound retrieval threshold, wherein the first peak point on the peak distribution histogram is the point with the largest amplitude on the target heart sound envelope signal segment, that is, the first heart sound peak point, and the peak value of the first peak point corresponds to the probability distribution of the first heart sound peak value, and the second peak point is a non-first heart sound peak point of the target heart sound envelope signal segment, and the peak value of the second peak point corresponds to the probability distribution of the non-first heart sound peak value.

[0062] In order to improve the accuracy of the first heart sound retrieval threshold recognition, in an optional embodiment, the analysis device filters out the peak point based on the preset minimum frequency threshold if the peak value of the peak point on the peak distribution histogram, that is, the probability distribution, is less than the preset minimum frequency threshold to reduce the negative impact of singular values.

[0063] S22: According to a preset initial cardiac cycle length, the heart sound envelope signal is divided into a plurality of initial cardiac cycle signal segments, and peak retrieval is performed on each of the plurality of initial cardiac cycle signal segments to obtain a plurality of candidate peak points and amplitudes of the candidate peak points.

[0064] Since abnormal heart sounds lead to inaccurate division of cardiac cycle, the changes and adjustments cannot be made in time, which easily leads to increased difficulty in the subsequent marking process of abnormal heart sounds due to inaccurate division of cardiac cycle.

[0065] In this embodiment, the analysis device divides the heart sound envelope signal into several initial cardiac cycle signal segments according to a preset initial cardiac cycle length, performs peak retrieval on each of the several initial cardiac cycle signal segments, and obtains several candidate peak points of the several initial cardiac cycle signal segments and the amplitudes of the candidate peak points.

[0066] Specifically, the initial cardiac cycle includes the longest cardiac cycle and the shortest cardiac cycle, and the longest cardiac cycle is an integer multiple of the shortest cardiac cycle. Figure 3 , Figure 3 The schematic diagram of S22 in the process of the heart sound signal analysis method provided in one embodiment of the present application includes steps S221 to S223, which are specifically as follows:

[0067] S221: According to the longest cardiac cycle, the heart sound envelope signal is divided into several longest cardiac cycle signal segments; according to the shortest cardiac cycle, the several longest cardiac cycle signal segments are divided to obtain several shortest cardiac cycle signal segments; peak retrieval is performed on several longest cardiac cycle signal segments and shortest cardiac cycle signal segments respectively to obtain several initial peak points of the longest cardiac cycle signal segments and several initial peak points as well as the amplitudes of several initial peak points.

[0068] In this embodiment, the analysis device divides the cardiac sound envelope signal into several longest cardiac cycle signal segments according to the longest cardiac cycle, and performs signal division on several of the longest cardiac cycle signal segments according to the shortest cardiac cycle to obtain several shortest cardiac cycle signal segments of the longest cardiac cycle signal segments, and performs peak retrieval on several of the longest cardiac cycle signal segments and the shortest cardiac cycle signal segments to obtain initial peak points of several of the longest cardiac cycle signal segments and several of the shortest cardiac cycle signal segments and the amplitudes of the initial peak points, wherein the initial peak point is a local maximum point.

[0069] S222: According to the plurality of initial peak points, in the plurality of longest cardiac cycle signal segments and the shortest cardiac cycle signal segments, obtain peak interval distances of a plurality of adjacent peak point combinations.

[0070] In this embodiment, the analysis device obtains the peak interval distances of a plurality of adjacent peak point combinations in a plurality of the longest cardiac cycle signal segments and the shortest cardiac cycle signal segments based on the plurality of initial peak points.

[0071] S223: If the peak interval distance is greater than or equal to the preset shortest peak interval threshold, all initial peak points in the adjacent peak point combination corresponding to the peak interval distance are taken as candidate peak points; if the peak interval distance is less than the shortest peak interval threshold, the initial peak point with the largest amplitude in the adjacent peak point combination corresponding to the peak interval distance is taken as the candidate peak point to obtain the amplitude of the candidate peak point.

[0072] In this embodiment, the analysis device compares the peak interval distances of several adjacent peak point combinations of several longest cardiac cycle signal segments and several adjacent peak point combinations of several shortest cardiac cycle signal segments with a preset shortest peak interval threshold; if the peak interval distance is greater than or equal to the shortest peak interval threshold, the initial peak points in the adjacent peak point combinations corresponding to the peak interval distance are all used as candidate peak points; if the peak interval distance is less than the shortest peak interval threshold, the initial peak point with the largest amplitude in the adjacent peak point combinations corresponding to the peak interval distance is used as a candidate peak point, and several candidate peak points of several longest cardiac cycle signal segments, several shortest cardiac cycle signal segments and the amplitudes of the candidate peak points are obtained.

[0073] S23: According to the amplitudes of the plurality of candidate peak points and the first heart sound retrieval threshold, a target peak point is identified from the plurality of candidate peak points, and the amplitude of the target peak point is used as the first heart sound peak value.

[0074] In this embodiment, the analysis device confirms the target peak point from several candidate peak points of several initial cardiac cycle signal segments according to the amplitudes of several candidate peak points of several initial cardiac cycle signal segments and the first heart sound retrieval threshold, and uses the amplitude of the target peak point as the first heart sound peak value to minimize the occurrence of inaccurate cardiac cycle division due to abnormal heart sounds and improve the accuracy of separated heart sound envelope signal division.

[0075] See also Figure 4 , Figure 4 The schematic diagram of S23 in the process of the heart sound signal analysis method provided in one embodiment of the present application includes steps S231 to S232, which are specifically as follows:

[0076] S231: Compare the amplitudes of several candidate peak points of several of the longest cardiac cycle signal segments with the first heart sound retrieval threshold respectively; if the amplitudes are greater than the first heart sound retrieval threshold, use the candidate peak points as target peak points; if the amplitudes are all less than the first heart sound retrieval threshold, lower the first heart sound retrieval threshold, and compare the amplitudes with the first heart sound retrieval threshold after the lowering until at least one target peak point is obtained.

[0077] In this embodiment, the analysis device compares the amplitudes of several candidate peak points of several longest cardiac cycle signal segments with the first heart sound retrieval threshold respectively; if the amplitudes are greater than the first heart sound retrieval threshold, it indicates that the candidate peak point is the first heart sound peak point, and the candidate peak point is used as the target peak point; if the amplitudes are all less than the first heart sound retrieval threshold, it indicates that the first heart sound retrieval threshold is set too high, and the first heart sound retrieval threshold is lowered, as follows:

[0078] H1=H1*0.8+P L *0.2

[0079] Where H1 is the first heart sound retrieval threshold, P L It is the maximum peak value in the longest cardiac cycle signal segment.

[0080] The analysis device compares the amplitude with the first heart sound retrieval threshold after the lowering process, and repeats this step until the first heart sound peak point in the longest cardiac cycle signal segment is identified to obtain at least one target peak point; if the amplitudes of several candidate peak points of the longest cardiac cycle signal segment are always less than the first heart sound retrieval threshold after the lowering process, the longest cardiac cycle signal segment is deleted to obtain several target peak points of the longest cardiac cycle signal segment.

[0081] S232: Compare the amplitudes of several candidate peak points of several said shortest cardiac cycle signal segments with the first heart sound retrieval threshold respectively; if the amplitude is greater than the first heart sound retrieval threshold, take the candidate peak point as the intermediate peak point, and count the total number of intermediate peak points of several said shortest cardiac cycle signal segments of the same said longest cardiac cycle signal segment; if the total number of intermediate peak points is greater than the preset target peak point number threshold, perform boosting processing on the first heart sound retrieval threshold, compare the amplitude with the first heart sound retrieval threshold after the boosting processing, until the total number of intermediate peak points is less than or equal to the target peak point number threshold, and take the intermediate peak point as the target peak point.

[0082] In the cardiac cycle, the peak values ​​corresponding to the closure of the mitral valve and the closure of the tricuspid valve are higher. In the present embodiment, the analysis device compares the amplitudes of several candidate peak points of several of the shortest cardiac cycle signal segments with the first heart sound retrieval threshold respectively. If the amplitude is greater than the first heart sound retrieval threshold, it indicates that the candidate peak point may be the peak point corresponding to the closure of the mitral valve or the closure of the tricuspid valve. The candidate peak point is taken as the intermediate peak point, and the total number of intermediate peak points of several of the shortest cardiac cycle signal segments of the same longest cardiac cycle signal segment is counted.

[0083] If the total number of intermediate peak points is greater than a preset target peak point number threshold, specifically, the target peak point number threshold is two, representing a peak point at the mitral valve closure moment and a peak point corresponding to the tricuspid valve closure moment in the first heart sound, it means that the first heart sound retrieval threshold is set too small, and a non-first heart sound peak point is identified. The analysis device performs an enhancement process on the first heart sound retrieval threshold, specifically as follows:

[0084] H1=H1*0.8+P S *0.2

[0085] Where P S It is the maximum peak value in the current shortest cardiac cycle signal segment.

[0086] The analysis device compares the amplitude with the first heart sound retrieval threshold after the boost processing, and repeats this step until the total number of intermediate peak points is less than or equal to the target peak point number threshold, and takes the intermediate peak point as the target peak point to obtain several target peak points of several of the longest cardiac cycle signal segments.

[0087] S3: performing clustering processing and template construction on the several separated heart sound envelope signals to obtain several categories of separated heart sound envelope signal clustering sets and several categories of characteristic heart sound templates, performing waveform detection on the several categories of characteristic heart sound templates to obtain several categories of characteristic heart sound template waveform detection data.

[0088] In order to improve the processing efficiency of separated heart sound envelope signals, in this embodiment, the analysis device performs clustering processing and template construction on the several separated heart sound envelope signals to obtain several categories of separated heart sound envelope signal clustering sets and several categories of characteristic heart sound templates.

[0089] The analysis device performs waveform detection on several categories of the characteristic heart sound templates to obtain several categories of characteristic heart sound template waveform detection data, wherein the characteristic heart sound template waveform detection data includes the position interval, peak point, starting point and ending point of the first heart sound and the second heart sound.

[0090] See also Figure 5 , Figure 5 The schematic diagram of S3 in the process of the heart sound signal analysis method provided in one embodiment of the present application includes steps S31 to S33, which are specifically as follows:

[0091] S31: Select a target separated heart sound envelope signal from a number of separated heart sound envelope signals as the characteristic heart sound template of the first category, and use other separated heart sound envelope signals as separated heart sound envelope signals to be classified; perform similarity matching on the characteristic heart sound template of the first category and one of the separated heart sound envelope signals to be classified, and obtain a matching result between the separated heart sound envelope signal to be classified and the characteristic heart sound template of the first category.

[0092] In this embodiment, the analysis device selects a target separated heart sound envelope signal from a number of separated heart sound envelope signals as the characteristic heart sound template of the first category, and uses other separated heart sound envelope signals as separated heart sound envelope signals to be classified, and uses a similarity matching method to perform similarity matching on the characteristic heart sound template of the first category and one of the separated heart sound envelope signals to be classified, so as to obtain a similarity matching result between the separated heart sound envelope signal to be classified and the characteristic heart sound template of the first category, wherein the similarity matching result includes a similar matching result and a non-similar matching result.

[0093] See also Figure 6 , Figure 6 The schematic diagram of S31 in the process of the heart sound signal analysis method provided in one embodiment of the present application includes steps S311 to S312, which are specifically as follows:

[0094] S311: According to the characteristic heart sound template of the first category, one of the separated heart sound envelope signals to be classified and a preset similarity index calculation algorithm, obtain a similarity index between the separated heart sound envelope signal to be classified and the characteristic heart sound signal template of the first category.

[0095] The similarity index calculation algorithm is:

[0096]

[0097] In the formula, is the similarity index, To separate the heart sound envelope signal, T is the sequence length of the separated heart sound envelope signal, For the k There are characteristic heart sound signal templates of different categories. is the sequence length of the characteristic heart sound signal template, min() is the minimum value function, To separate the heart sound envelope signal tThe value of the moment, is the first t The value of the moment.

[0098] In this embodiment, the analysis device obtains the similarity index between the separated heart sound envelope signal to be classified and the characteristic heart sound signal template of the first category based on the characteristic heart sound template of the first category, one of the separated heart sound envelope signals to be classified, and a preset similarity index calculation algorithm.

[0099] S312: Based on the similarity index and the preset similarity threshold; if the similarity index is greater than or equal to the similarity threshold, obtain the similarity matching result between the separated heart sound envelope signal to be classified and the characteristic heart sound template of the first category; if the similarity index is less than the similarity threshold, obtain the non-similar matching result between the separated heart sound envelope signal to be classified and the characteristic heart sound template of the first category.

[0100] In this embodiment, the analysis device is based on the similarity index and a preset similarity threshold; if the similarity index is greater than or equal to the similarity threshold, a similar matching result between the separated heart sound envelope signal to be classified and the characteristic heart sound template of the first category is obtained; if the similarity index is less than the similarity threshold, a non-similar matching result between the separated heart sound envelope signal to be classified and the characteristic heart sound template of the first category is obtained.

[0101] S32: If the matching result is a similar matching result, the separated heart sound envelope signal to be classified is classified into a cluster set of separated heart sound envelope signals of the same category as the characteristic heart sound template of the first category.

[0102] In this embodiment, if the similarity matching result is a similar matching result, the analysis device classifies the separated heart sound envelope signal to be classified into a cluster set of separated heart sound envelope signals of the same category as the characteristic heart sound template of the first category.

[0103] S33: If the matching result is a non-similar matching result, the separated heart sound envelope signal to be classified is classified into a cluster set of separated heart sound envelope signals of another category, and the separated heart sound envelope signal to be classified is used as a characteristic heart sound template of the other category, and the unclassified separated heart sound envelope signal is similarly matched with the characteristic heart sound template of the existing category, until several separated heart sound envelope signals to be classified are classified, and several categories of separated heart sound envelope signal cluster sets and several categories of characteristic heart sound templates are obtained.

[0104] If the similarity matching result is a non-similar matching result, the analysis device classifies the separated heart sound envelope signal to be classified into a cluster set of separated heart sound envelope signals of another category, and uses the separated heart sound envelope signal to be classified as the characteristic heart sound template of the other category, and performs similarity matching on the unclassified separated heart sound envelope signal and the characteristic heart sound template of the existing category, until several separated heart sound envelope signals to be classified are classified, and several categories of separated heart sound envelope signal cluster sets and several categories of characteristic heart sound templates are obtained. For specific embodiments, please refer to steps S311~S312, which will not be repeated here.

[0105] See also Figure 7 , Figure 7 The schematic diagram of S3 in the process of the heart sound signal analysis method provided by one embodiment of the present application includes steps S34 to S36, which are specifically as follows:

[0106] S34: Based on the first heart sound peak value, search for the second heart sound peak value of the characteristic heart sound template to obtain the first heart sound peak point and the second peak point of the characteristic heart sound template, and based on the preset shortest peak interval threshold, take the first heart sound peak point and the second heart sound peak point as the center to obtain the position interval where the first heart sound peak value is located, the position interval where the second heart sound peak point is located, and the peak type judgment result of the position interval.

[0107] In this embodiment, the analyzing device searches for the second heart sound peak value of the characteristic heart sound template according to the first heart sound peak value.

[0108] Specifically, the analysis device searches for the first heart sound peak point of the characteristic heart sound template according to the first heart sound peak value, searches for the maximum peak point within the interval of the signal length preset backward from the first heart sound peak point, and uses the amplitude of the maximum peak point as the second heart sound peak value.

[0109] The analysis device obtains the first heart sound peak point and the second peak point of the characteristic heart sound template, and according to the preset shortest peak interval threshold, takes the first heart sound peak point and the second heart sound peak point as the center, respectively, obtains the position interval where the first heart sound peak point is located and the position interval where the second heart sound peak point is located, and the peak type judgment result of the position interval, wherein the peak type judgment result includes a single-peak heart sound segment and a multi-peak heart sound segment.

[0110] Specifically, taking the first heart sound peak as an example, the analysis device performs a peak search on the position interval where the first heart sound peak is located; if peak points other than the first heart sound peak point are searched, a single-peak heart sound segment judgment result of the position interval where the first heart sound peak is located is obtained; if peak points other than the first heart sound peak point are not searched, a multi-peak heart sound segment judgment result of the position interval where the first heart sound peak is located is obtained. For the specific implementation of the peak type judgment result of the position interval where the second heart sound peak is located, please refer to the above description and will not be repeated here.

[0111] S35: If the peak type judgment result is a single-peak heart sound segment, obtain the maximum peak point of the corresponding position interval; search forward along the maximum peak point, and take the first position point with an amplitude less than a preset amplitude threshold as the starting point; search backward along the maximum peak point, and take the second position point with an amplitude less than the amplitude threshold as the ending point.

[0112] In this embodiment, if the peak type judgment result is a single-peak heart sound segment, the analysis device confirms the maximum peak point of the corresponding position interval, searches forward along the maximum peak point, and takes the first position point with an amplitude less than a preset amplitude threshold as the starting point; searches backward along the maximum peak point, and takes the second position point with an amplitude less than the amplitude threshold as the ending point.

[0113] S36: If the peak type judgment result is a multi-peak heart sound segment, obtain the first maximum peak point and the second maximum peak point of the corresponding position interval; search forward along the first maximum peak point, and take the first position point with an amplitude less than a preset amplitude threshold as the starting point; search backward along the second maximum peak point, and take the second position point with an amplitude less than the amplitude threshold as the ending point.

[0114] In this embodiment, if the peak type judgment result is a multi-peak heart sound segment, the analysis device obtains the first maximum peak point and the second maximum peak point of the corresponding position interval, wherein the first maximum peak point is the peak point at the moment of mitral valve closure, and the second maximum peak point is the peak point corresponding to the moment of tricuspid valve closure.

[0115] The analysis device searches forward along the first maximum peak point of the corresponding position interval, and takes the first position point with an amplitude less than a preset amplitude threshold as the starting point; searches backward along the second maximum peak point of the corresponding position interval, and takes the second position point with an amplitude less than the amplitude threshold as the ending point.

[0116] S37: Obtain the first heart sound position interval and the second heart sound position interval of the characteristic heart sound template according to the starting point and the ending point of the position interval where the first heart sound peak point is located and the position interval where the second heart sound peak point is located.

[0117] In this embodiment, the analysis device obtains the position interval of the first heart sound and the position interval of the second heart sound of the characteristic heart sound template based on the starting point and the ending point of the position interval where the first heart sound peak point is located and the position interval where the second heart sound peak point is located.

[0118] S4: According to the characteristic heart sound template waveform detection data of several categories, the separated heart sound envelope signals of corresponding categories in the separated heart sound envelope signal clustering of several categories are mapped and feature counted to obtain the analysis result of the heart sound envelope signal.

[0119] In this embodiment, the analysis device maps and performs feature statistics on the separated heart sound envelope signals of corresponding categories in the separated heart sound envelope signal clusters of several categories based on the characteristic heart sound template waveform detection data of several categories, and obtains the analysis results of the heart sound envelope signals, wherein the analysis results include heart sound waveform detection results and heart sound feature statistics results.

[0120] See also Figure 8 , Figure 8 The schematic diagram of S4 in the process of the heart sound signal analysis method provided in one embodiment of the present application includes steps S41 to S42, which are specifically as follows:

[0121] S41: According to several categories of characteristic heart sound template waveform detection data, several separated heart sound envelope signals in the separated heart sound envelope signal cluster of the corresponding category are mapped to obtain heart sound waveform detection data of several separated heart sound envelope signals, and the heart sound waveform detection data of several separated heart sound envelope signals are combined to obtain the heart sound waveform detection result of the heart sound envelope signal.

[0122] In this embodiment, the analysis device maps several separated heart sound envelope signals in the separated heart sound envelope signal cluster of the corresponding category according to several categories of characteristic heart sound template waveform detection data to obtain heart sound waveform detection data of several separated heart sound envelope signals. Specifically, the analysis device uses the characteristic heart sound template waveform detection data of the same category as the characteristic heart sound template waveform detection data of the separated heart sound envelope signals of the same category to realize the mapping operation.

[0123] The analyzing device combines the heart sound waveform detection data of a plurality of the separated heart sound envelope signals to obtain the heart sound waveform detection result of the heart sound envelope signal.

[0124] S42: Perform feature statistics based on the heart sound waveform detection data of several separated heart sound envelope signals to obtain heart sound feature statistical data of several separated heart sound envelope signals, combine the heart sound feature statistical data of several separated heart sound envelope signals to obtain heart sound feature statistical results of the heart sound envelope signal.

[0125] In this embodiment, the analysis device performs feature statistics based on the heart sound waveform detection data of several of the separated heart sound envelope signals to obtain heart sound feature statistical data of several of the separated heart sound envelope signals, wherein the heart sound feature statistical data include the occurrence frequency, amplitude statistics, duration statistics, duration and cardiac cycle ratio statistics, occurrence time statistics, and occurrence time and cardiac cycle ratio statistics of the first heart sound and the second heart sound.

[0126] The analyzing device combines the heart sound feature statistical data of a plurality of the separated heart sound envelope signals to obtain the heart sound feature statistical results of the heart sound envelope signal.

[0127] In an optional embodiment, the analysis device responds to a display instruction, which is issued by a user and received by the analysis device. The analysis device marks the peak point, starting point, ending point, peak point amplitude, and average amplitude of the first heart sound, the second heart sound, and the manually marked heart sound at corresponding positions in the original heart sound signal and the heart sound envelope signal based on the heart sound waveform detection data and heart sound feature statistical data in the analysis results of the heart sound envelope signal, and generates a columnar thumbnail marked with the starting point, ending point, and average amplitude of the first heart sound, the second heart sound, and the manually marked heart sound, and displays it on a preset display interface.

[0128] Please refer to Fig. 9 , Fig. 9 This is a schematic diagram of the structure of a heart sound signal analysis device provided by an embodiment of the present application. The device can implement all or part of the heart sound signal analysis device through software, hardware, or a combination of both. The device 9 includes:

[0129] A signal extraction module 91 is used to obtain an original heart sound signal, perform envelope detection on the original heart sound signal, and obtain a heart sound envelope signal and peak location data of the heart sound envelope signal;

[0130] A signal segmentation module 92, configured to obtain a first heart sound peak value of the heart sound envelope signal by adopting an adaptive threshold detection method, and segment the heart sound envelope signal according to the first heart sound peak value and the peak location data to obtain a plurality of separated heart sound envelope signals;

[0131] A waveform detection module 93 is used to perform clustering processing and template construction on the plurality of separated heart sound envelope signals, obtain a plurality of categories of separated heart sound envelope signal clustering sets and a plurality of categories of characteristic heart sound templates, perform waveform detection on the plurality of categories of characteristic heart sound templates, and obtain a plurality of categories of characteristic heart sound template waveform detection data;

[0132] The signal analysis module 94 is used to map and perform feature statistics on the separated heart sound envelope signals of corresponding categories in the separated heart sound envelope signal clusters of several categories according to the characteristic heart sound template waveform detection data of several categories, so as to obtain the analysis results of the heart sound envelope signals.

[0133] In an embodiment of the present application, an original heart sound signal is obtained through a signal extraction module, and envelope detection is performed on the original heart sound signal to obtain a heart sound envelope signal and peak location data of the heart sound envelope signal; a first heart sound peak of the heart sound envelope signal is obtained through a signal segmentation module using an adaptive threshold detection method, and the heart sound envelope signal is segmented according to the first heart sound peak and the peak location data to obtain a plurality of separated heart sound envelope signals; a waveform detection module is used to perform clustering processing and template construction on the plurality of separated heart sound envelope signals to obtain a plurality of categories of separated heart sound envelope signal clustering sets and a plurality of categories of characteristic heart sound templates, and waveform detection is performed on the plurality of categories of characteristic heart sound templates to obtain a plurality of categories of characteristic heart sound template waveform detection data; a signal analysis module is used to map and perform feature statistics on the separated heart sound envelope signals of the corresponding categories in the plurality of categories of separated heart sound envelope signal clustering sets according to the plurality of categories of characteristic heart sound template waveform detection data to obtain an analysis result of the heart sound envelope signal. By retrieving the first heart sound peak of the heart sound envelope signal, the heart sound envelope signal is cut to obtain several separated envelope signals reflecting the complete cardiac cycle, clustering processing and template construction are performed on the several separated envelope signals to obtain several categories of separated heart sound envelope signal clustering sets and several categories of characteristic heart sound templates, waveform detection is performed on the characteristic heart sound templates to obtain several categories of characteristic heart sound template waveform detection data, and based on the characteristic heart sound template waveform detection data, the separated heart sound envelope signals of the same category are mapped and feature statistics are performed to identify the various components of the heart sound in the heart sound envelope signal, thereby simplifying the process of heart sound analysis and recognition and improving the accuracy and efficiency of heart sound analysis.

[0134] Please refer to Fig.10 , Fig.10The computer device 100 is a schematic diagram of a computer device according to an embodiment of the present application. The computer device 100 includes: a processor 101, a memory 102, and a computer program 103 stored in the memory 102 and executable on the processor 101; the computer device may store a plurality of instructions, which are suitable for being loaded and executed by the processor 101. Figures 1 to 8 The method steps of the embodiment shown in the figure can be found in the specific implementation process. Figures 1 to 8 The specific description of the illustrated embodiment will not be repeated here.

[0135] Among them, the processor 101 may include one or more processing cores. The processor 101 uses various interfaces and lines to connect various parts in the server, and executes various functions and processes data of the heart sound signal analysis device 9 by running or executing instructions, programs, code sets or instruction sets stored in the memory 102, and calling the data in the memory 102. Optionally, the processor 101 can be implemented in at least one hardware form of digital signal processing (Digital Signal Processing, DSP), field programmable gate array (Field-Programmable Gate Array, FPGA), and programmable logic array (Programble Logic Array, PLA). The processor 101 can integrate one or a combination of a central processing unit 101 (Central Processing Unit, CPU), an image processor 101 (Graphics Processing Unit, GPU) and a modem. Among them, the CPU mainly processes the operating system, user interface and application programs; the GPU is responsible for rendering and drawing the content to be displayed on the touch display screen; the modem is used to process wireless communication. It can be understood that the above-mentioned modem may not be integrated into the processor 101, and it can be implemented separately through a chip.

[0136] The memory 102 may include a random access memory 102 (RAM) or a read-only memory 102 (Read-Only Memory). Optionally, the memory 102 includes a non-transitory computer-readable storage medium. The memory 102 may be used to store instructions, programs, codes, code sets or instruction sets. The memory 102 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for at least one function (such as touch instructions, etc.), instructions for implementing the above-mentioned various method embodiments, etc.; the data storage area may store data involved in the above-mentioned various method embodiments, etc. The memory 102 may also be optionally at least one storage device located away from the aforementioned processor 101.

[0137] The present application also provides a storage medium that can store multiple instructions, which are suitable for the processor to load and execute the above-mentioned Figures 1 to 8 For the method steps of the embodiment, the specific execution process can be found in Figures 1 to 8 The specific description of the embodiment will not be repeated here.

[0138] The technicians in the relevant field 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 for illustration. In practical applications, the above-mentioned function allocation can be 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. The functional units and modules in the embodiment can be integrated in a processing unit, or each unit can exist physically separately, or two or more units can be integrated in one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of software functional units. In addition, the specific names of the functional units and modules are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of this application. The specific working process of the units and modules in the above-mentioned system can refer to the corresponding process in the aforementioned method embodiment, which will not be repeated here.

[0139] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described or recorded in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0140] Those skilled in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraint algorithm of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.

[0141] In the embodiments provided by the present invention, it should be understood that the disclosed devices / terminal equipment and methods can be implemented in other ways. For example, the device / terminal equipment embodiments described above are only schematic. For example, the division of the modules or units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0142] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0143] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0144] If the integrated module / unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the present invention implements all or part of the processes in the above-mentioned embodiment method, and can also be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium, and when the computer program is executed by a processor, the steps of the above-mentioned method embodiments can be implemented. Among them, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form, etc.

[0145] The present invention is not limited to the above-mentioned embodiments. If various changes or modifications to the present invention do not depart from the spirit and scope of the present invention, and if these changes and modifications fall within the scope of the claims and equivalent technologies of the present invention, the present invention is also intended to include these changes and modifications.

Claims

1. A method for analyzing heart sound signals, characterized in that: The following steps are involved: Obtaining an original heart sound signal, performing envelope detection on the original heart sound signal, and obtaining a heart sound envelope signal and peak location data of the heart sound envelope signal; Extracting a target heart sound envelope signal segment from the heart sound envelope signal, and obtaining a peak distribution histogram of the target heart sound envelope signal segment; on the peak distribution histogram, taking the amplitude of the local minimum point between the first peak point and the second peak point as the first heart sound retrieval threshold; According to the preset longest cardiac cycle, the heart sound envelope signal is divided into a number of longest cardiac cycle signal segments; according to the preset shortest cardiac cycle, a number of the longest cardiac cycle signal segments are divided to obtain a number of shortest cardiac cycle signal segments; a peak search is performed on a number of the longest cardiac cycle signal segments and a number of the shortest cardiac cycle signal segments respectively to obtain a number of initial peak points of the longest cardiac cycle signal segments and a number of initial peak points and amplitudes of the initial peak points; According to the plurality of initial peak points, in the plurality of longest cardiac cycle signal segments and the shortest cardiac cycle signal segments, obtaining peak interval distances of a plurality of adjacent peak point combinations; If the peak interval distance is greater than or equal to the preset shortest peak interval threshold, all initial peak points in the adjacent peak point combination corresponding to the peak interval distance are taken as candidate peak points; if the peak interval distance is less than the shortest peak interval threshold, the initial peak point with the largest amplitude in the adjacent peak point combination corresponding to the peak interval distance is taken as a candidate peak point, and a plurality of candidate peak points and the amplitudes of the candidate peak points are obtained; According to the amplitudes of the plurality of candidate peak points and the first heart sound retrieval threshold, respectively identify a target peak point from the plurality of candidate peak points, and use the amplitude of the target peak point as the first heart sound peak value; Segmenting the heart sound envelope signal according to the first heart sound peak value and the peak location data to obtain a plurality of separated heart sound envelope signals; Performing clustering processing and template construction on the plurality of separated heart sound envelope signals to obtain a plurality of categories of separated heart sound envelope signal clustering sets and a plurality of categories of characteristic heart sound templates, performing waveform detection on the plurality of categories of characteristic heart sound templates to obtain a plurality of categories of characteristic heart sound template waveform detection data; According to several categories of characteristic heart sound template waveform detection data, the separated heart sound envelope signals of corresponding categories in the separated heart sound envelope signal clusters of several categories are mapped and feature statistics are performed to obtain the analysis results of the heart sound envelope signals.

2. The heart sound signal analysis method according to claim 1, characterized in that: The step of confirming a target peak point from a plurality of candidate peak points according to the amplitudes of the plurality of candidate peak points and the first heart sound retrieval threshold comprises the following steps: Comparing the amplitudes of several candidate peak points of several of the longest cardiac cycle signal segments with the first heart sound retrieval threshold respectively; If the amplitude is greater than the first heart sound retrieval threshold, the candidate peak point is used as the target peak point; if the amplitudes are all less than the first heart sound retrieval threshold, the first heart sound retrieval threshold is reduced, and the amplitude is compared with the first heart sound retrieval threshold after the reduction process until at least one target peak point is obtained; Comparing the amplitudes of several candidate peak points of several of the shortest cardiac cycle signal segments with the first heart sound retrieval threshold respectively; If the amplitude is greater than the first heart sound retrieval threshold, the candidate peak point is taken as the intermediate peak point, and the total number of intermediate peak points of several shortest cardiac cycle signal segments of the same longest cardiac cycle signal segment is counted; if the total number of intermediate peak points is greater than the preset target peak point number threshold, the first heart sound retrieval threshold is boosted, and the amplitude is compared with the first heart sound retrieval threshold after the boosting process until the total number of intermediate peak points is less than or equal to the target peak point number threshold, and the intermediate peak point is taken as the target peak point.

3. The heart sound signal analysis method according to claim 2, characterized in that: The clustering process and template construction of the plurality of separated heart sound envelope signals to obtain a plurality of categories of separated heart sound envelope signal clustering sets and a plurality of categories of characteristic heart sound templates comprises the following steps: Selecting a target separated heart sound envelope signal from a plurality of separated heart sound envelope signals as a characteristic heart sound template of a first category, and selecting other separated heart sound envelope signals as separated heart sound envelope signals to be classified; Performing similarity matching on the characteristic heart sound template of the first category and one of the separated heart sound envelope signals to be classified, to obtain a matching result between the separated heart sound envelope signal to be classified and the characteristic heart sound template of the first category; If the matching result is a similar matching result, the separated heart sound envelope signal to be classified is classified into a cluster set of separated heart sound envelope signals of the same category as the characteristic heart sound template of the first category; If the matching result is a non-similar matching result, the separated heart sound envelope signal to be classified is classified into a cluster set of separated heart sound envelope signals of another category, and the separated heart sound envelope signal to be classified is used as a characteristic heart sound template of the other category, and the unclassified separated heart sound envelope signal is matched with the characteristic heart sound template of the existing category for similarity, until several separated heart sound envelope signals to be classified are classified, and several categories of separated heart sound envelope signal cluster sets and several categories of characteristic heart sound templates are obtained.

4. The heart sound signal analysis method according to claim 3, characterized in that: The method of performing similarity matching on the characteristic heart sound template of the first category and one of the separated heart sound envelope signals to be classified to obtain a similarity matching result between the separated heart sound envelope signal to be classified and the characteristic heart sound template of the first category comprises the steps of: According to the characteristic heart sound template of the first category, one of the separated heart sound envelope signals to be classified and a preset similarity index calculation algorithm, obtaining a similarity index between the separated heart sound envelope signal to be classified and the characteristic heart sound signal template of the first category; According to the similarity index and the preset similarity threshold; if the similarity index is greater than or equal to the similarity threshold, obtaining a similarity matching result between the separated heart sound envelope signal to be classified and the characteristic heart sound template of the first category; If the similarity index is less than the similarity threshold, a non-similar matching result between the separated heart sound envelope signal to be classified and the characteristic heart sound template of the first category is obtained.

5. The method for analyzing heart sound signals according to any one of claims 1 to 4, characterized in that: The characteristic heart sound template waveform detection data includes the position interval of the first heart sound and the position interval of the second heart sound, the maximum peak point, the starting point and the ending point; The waveform detection is performed on the characteristic heart sound templates of several categories to obtain the waveform detection data of the characteristic heart sound templates of several categories, including the steps of: According to the first heart sound peak value, searching for the second heart sound peak value of the characteristic heart sound template, obtaining the first heart sound peak point and the second heart sound peak point of the characteristic heart sound template; according to the preset shortest peak interval threshold, taking the first heart sound peak point and the second heart sound peak point as the center, obtaining the position interval where the first heart sound peak value is located, the position interval where the second heart sound peak point is located, and the peak type judgment result of the position interval; If the peak type judgment result is a single-peak heart sound segment, obtain the maximum peak point of the corresponding position interval; search forward along the maximum peak point, and take the first position point whose amplitude is less than a preset amplitude threshold as the starting point; Searching backward along the maximum peak point, and taking a second position point whose amplitude is smaller than the amplitude threshold as a termination point; If the peak type judgment result is a multi-peak heart sound segment, obtain the first maximum peak point and the second maximum peak point of the corresponding position interval; search forward along the first maximum peak point, and take the first position point whose amplitude is less than the preset amplitude threshold as the starting point; Searching backward along the second maximum peak point, and taking a second position point whose amplitude is smaller than the amplitude threshold as a termination point; The first heart sound position interval and the second heart sound position interval of the characteristic heart sound template are obtained according to the starting point and the ending point of the position interval where the first heart sound peak point is located and the position interval where the second heart sound peak point is located.

6. The heart sound signal analysis method according to claim 5, characterized in that: The analysis results include heart sound waveform detection results and heart sound feature statistical results; The method of detecting characteristic heart sound template waveform data of several categories, mapping and feature counting of the separated heart sound envelope signals of corresponding categories in the separated heart sound envelope signal clustering of several categories, and obtaining the analysis result of the heart sound envelope signal comprises the steps of: According to several categories of characteristic heart sound template waveform detection data, mapping several separated heart sound envelope signals in the separated heart sound envelope signal clustering set of the corresponding category to obtain heart sound waveform detection data of several separated heart sound envelope signals, combining the heart sound waveform detection data of several separated heart sound envelope signals to obtain the heart sound waveform detection result of the heart sound envelope signal; Based on the heart sound waveform detection data of several of the separated heart sound envelope signals, feature statistics are performed to obtain heart sound feature statistical data of several of the separated heart sound envelope signals, and the heart sound feature statistical data of several of the separated heart sound envelope signals are combined to obtain the heart sound feature statistical results of the heart sound envelope signal.

7. A device applied to the heart sound signal analysis method according to claim 1, characterized in that: include: A signal extraction module, used to obtain an original heart sound signal, perform envelope detection on the original heart sound signal, and obtain a heart sound envelope signal and peak location data of the heart sound envelope signal; A signal segmentation module, configured to obtain a first heart sound peak value of the heart sound envelope signal by adopting an adaptive threshold detection method; segment the heart sound envelope signal according to the first heart sound peak value and the peak location data to obtain a plurality of separated heart sound envelope signals; A waveform detection module, used for performing clustering processing and template construction on the plurality of separated heart sound envelope signals, obtaining a plurality of categories of separated heart sound envelope signal clustering sets and a plurality of categories of characteristic heart sound templates, performing waveform detection on the plurality of categories of characteristic heart sound templates, and obtaining a plurality of categories of characteristic heart sound template waveform detection data; The signal analysis module is used to map and perform feature statistics on the separated heart sound envelope signals of corresponding categories in the separated heart sound envelope signal clusters of several categories according to the characteristic heart sound template waveform detection data of several categories, so as to obtain the analysis results of the heart sound envelope signals.

8. A computer device, characterized in that: The method comprises a processor, a memory, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the heart sound signal analysis method according to any one of claims 1 to 6 when executing the computer program.

Citation Information

Patent Citations

  • Intelligent electronic auscultation control system and method, storage medium and electronic auscultator

    CN112274174A

  • Heart sound detection method and system based on deep learning and heterogeneous integration strategy

    CN116975693A

  • Heart sound and electrocardio combined diagnosis method and system based on dual-mode dual-input

    CN117349600A

  • Extraction method and device of ballistocardiogram signal, computer equipment and storage medium

    CN117838103A

  • Medical decision support system

    US20120130263A1