Typical heart beat recognition method and device, computer equipment and storage medium

By processing ECG signal data through clustering and deduplication, typical heartbeats are screened out, which solves the problem of low heartbeat recognition efficiency in the existing technology and improves the accuracy of heart disease diagnosis.

CN118734092AActive Publication Date: 2024-10-01WUHAN UNITED IMAGING HEALTHCARE SURGICAL TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202310346272.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-03-31
Publication Date
2024-10-01
Estimated Expiration
2043-03-31

AI Technical Summary

Technical Problem

Existing heartbeat recognition algorithms have low recognition efficiency in personalized ECG data and cannot fully identify typical heartbeats, resulting in poor diagnosis and assessment of heart disease.

Method used

By obtaining the heartbeat data, a clustering algorithm is used to filter out typical heartbeat data that meets the preset typicality conditions. The waveform morphology and interval characteristics are combined for deduplication processing, and the typical values ​​are determined to screen out typical heartbeat data with high representativeness.

Benefits of technology

It improves the efficiency and representativeness of heartbeat recognition, can more accurately filter out typical heartbeat data, reduces the number of user annotations, and improves the accuracy of diagnosis and assessment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118734092A_ABST
    Figure CN118734092A_ABST
Patent Text Reader

Abstract

The invention relates to a typical heart beat recognition method and device, computer equipment, a storage medium and a computer program product. The method comprises the steps of obtaining cardiac beat data of a target object; according to at least two heart beat description features corresponding to the heart beat data, clustering the heart beat data to obtain heart beat clustering results corresponding to the heart beat description features; and in the cardiac beat clustering result, screening out target typical cardiac beat data meeting a preset typicality condition. By adopting the method, the typical cardiac beat data which can represent the overall cardiac beat data of the target object can be more comprehensively screened out, and the typical cardiac beat of the target object can be efficiently identified from the cardiac beat data of the target object.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of electrocardiogram signals, and in particular to a typical heartbeat recognition method, apparatus, computer equipment, storage medium and computer program product. Background Art

[0002] ECG signals can comprehensively reflect the electrical activity of the heart, and play an important role in the diagnosis of heart disease and the evaluation of heart function. The heartbeat is the basic component of the ECG signal. A normal ECG signal will contain several heartbeats, and each heartbeat (a complete cardiac cycle) includes a group of sequentially occurring P waves, QRS waves, T waves, and U waves. The accuracy of heartbeat classification is of great significance to the diagnosis of heart disease and the evaluation of heart function.

[0003] In related technologies, the type of heartbeat can be effectively identified through automated heartbeat recognition algorithms. However, due to the large differences between individuals, existing heartbeat recognition algorithms can only guarantee the overall performance of heartbeat recognition, that is, to obtain the overall effect in a large amount of population data, while for specific patients, the overall effect of the algorithm is often very different from the individual application effect. This requires obtaining personal ECG data to establish a personalized heartbeat classification model for specific patients.

[0004] In the related art, when obtaining personal ECG data, doctors often only mark the ECG data of the first 5 minutes of an individual, and use the marked ECG data of the first 5 minutes to establish a personalized heartbeat classification model for the individual. However, this method is relatively rigid and not targeted. The amount of marked ECG data of the first 5 minutes is limited, and it is impossible to efficiently and comprehensively identify the typical heartbeat of an individual. Therefore, the related art has the problem of low efficiency in identifying typical heartbeats. Summary of the invention

[0005] Based on this, it is necessary to provide a typical heartbeat recognition method, apparatus, computer device, computer-readable storage medium and computer program product that can improve the recognition efficiency of typical heartbeats in response to the above technical problems.

[0006] In a first aspect, the present application provides a typical heartbeat recognition method. The method comprises:

[0007] Obtaining heartbeat data of the target object;

[0008] Clustering each of the heartbeat data according to at least two heartbeat description features corresponding to the heartbeat data to obtain a heartbeat clustering result corresponding to each of the heartbeat description features;

[0009] Among the heartbeat clustering results, target typical heartbeat data that meets a preset typicality condition is screened out.

[0010] In one embodiment, the step of selecting target typical heartbeat data that meets a preset typicality condition from the heartbeat clustering result includes:

[0011] In the heartbeat clustering results corresponding to each of the heartbeat description features, heartbeat data that meets a preset candidate condition is screened out to obtain a candidate heartbeat data set corresponding to each of the heartbeat description features;

[0012] The candidate heartbeat data sets corresponding to the heartbeat description features are deduplicated to obtain the target typical heartbeat data.

[0013] In one embodiment, performing deduplication processing on the candidate heartbeat data sets corresponding to each of the heartbeat description features to obtain the target typical heartbeat data includes:

[0014] Deduplication processing is performed on the candidate heartbeat data sets corresponding to each of the heartbeat description features to obtain a typical heartbeat data set after deduplication;

[0015] Determine a typical value corresponding to each typical heartbeat data in the typical heartbeat data set; the typical value is determined based on the correlation between the corresponding typical heartbeat data and other typical heartbeat data; the other typical heartbeat data is the typical heartbeat data in the typical heartbeat data set except the corresponding typical heartbeat data;

[0016] Typical heartbeat data whose corresponding typical values ​​are greater than a preset typical value threshold are screened out from the typical heartbeat data set as the target typical heartbeat data.

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

[0018] The typical heartbeat data whose corresponding typical value in the typical heartbeat data set is less than the preset typical value threshold is used as the standby typical heartbeat data;

[0019] In response to a request for supplementing heartbeat data, data satisfying the request for supplementing heartbeat data is selected from the spare typical heartbeat data and supplemented into the target typical heartbeat data.

[0020] In one embodiment, determining a typical value corresponding to each typical heartbeat data in the typical heartbeat data set includes:

[0021] For any typical heartbeat data in the typical heartbeat data set, determine the correlation between the any typical heartbeat data and each typical heartbeat data other than the any typical heartbeat data, and obtain each correlation corresponding to the any typical heartbeat data;

[0022] The inverse of the sum of the correlations corresponding to any typical heartbeat data is determined to obtain a typical value corresponding to any typical heartbeat data.

[0023] In one embodiment, the algorithm used to cluster the heartbeat data is a density clustering algorithm; each of the heartbeat clustering results includes a number of data clusters and a number of noise points; the data cluster includes a number of core points and a number of boundary points; in the heartbeat clustering results corresponding to the heartbeat description features, the heartbeat data that meets the preset candidate conditions is screened out to obtain the candidate heartbeat data set corresponding to the heartbeat description features, including:

[0024] Screening out noise points that meet a first preset candidate number from a number of noise points in each of the heartbeat clustering results, and screening out core points that meet a second preset candidate number and boundary points that meet a third preset candidate number from each of the data clusters corresponding to each of the heartbeat clustering results;

[0025] According to the noise points, core points and boundary points screened out for each of the heartbeat clustering results, a candidate heartbeat data set corresponding to each of the heartbeat description features is determined.

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

[0027] Determine a one-dimensional array for describing the waveform shape of the heartbeat data, and obtain waveform shape features corresponding to the heartbeat data;

[0028] Determine the temporal distance between the R wave of each heartbeat data and the R waves of two adjacent heartbeat data to obtain the heartbeat interval characteristics corresponding to the heartbeat data;

[0029] The at least two heartbeat description features are determined according to the waveform morphology features and the heartbeat interval features.

[0030] In a second aspect, the present application also provides a typical heartbeat recognition device. The device comprises:

[0031] An acquisition module, used to acquire the heartbeat data of the target object;

[0032] A clustering module, used for clustering each of the heartbeat data according to at least two heartbeat description features corresponding to the heartbeat data, to obtain a heartbeat clustering result corresponding to each of the heartbeat description features;

[0033] The screening module is used to screen out target typical heartbeat data that meets preset typicality conditions from the heartbeat clustering results.

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

[0035] Obtaining heartbeat data of the target object;

[0036] Clustering each of the heartbeat data according to at least two heartbeat description features corresponding to the heartbeat data to obtain a heartbeat clustering result corresponding to each of the heartbeat description features;

[0037] Among the heartbeat clustering results, target typical heartbeat data that meets a preset typicality condition is screened out.

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

[0039] Obtaining heartbeat data of the target object;

[0040] Clustering each of the heartbeat data according to at least two heartbeat description features corresponding to the heartbeat data to obtain a heartbeat clustering result corresponding to each of the heartbeat description features;

[0041] Among the heartbeat clustering results, target typical heartbeat data that meets a preset typicality condition is screened out.

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

[0043] Obtaining heartbeat data of the target object;

[0044] Clustering each of the heartbeat data according to at least two heartbeat description features corresponding to the heartbeat data to obtain a heartbeat clustering result corresponding to each of the heartbeat description features;

[0045] Among the heartbeat clustering results, target typical heartbeat data that meets a preset typicality condition is screened out.

[0046] The above-mentioned typical heartbeat recognition method, device, computer equipment, storage medium and computer program product obtain the heartbeat data of the target object; cluster each heartbeat data from at least two aspects according to at least two heartbeat description features corresponding to the heartbeat data, and obtain a heartbeat clustering result corresponding to each heartbeat description feature; in this way, the heartbeat description features referred to when clustering the heartbeat data are more comprehensive, so that in the heartbeat clustering results for a large amount of heartbeat data, it is possible to quickly and accurately screen out the target typical heartbeat data that meets the preset typicality conditions and can represent different heartbeat data types corresponding to different heartbeat clustering results, so that the screened out target typical heartbeat data is more representative of the overall heartbeat data of the target object, and more comprehensively includes the typical heartbeat data in the overall heartbeat data of the target object, thereby achieving efficient identification of the target object's typical heartbeat in the heartbeat data of the target object. BRIEF DESCRIPTION OF THE DRAWINGS

[0047] Figure 1 is a flow chart of a typical heartbeat recognition method in one embodiment;

[0048] Figure 2 is a schematic diagram of heartbeat data to be clustered in one embodiment;

[0049] Figure 3 is a schematic diagram of the principle of a density clustering algorithm in one embodiment;

[0050] Figure 4 is a flow chart of a typical heartbeat recognition method in another embodiment;

[0051] Figure 5 is a flowchart of a typical heartbeat presentation method in one embodiment;

[0052] Figure 6 is a scatter plot of RR intervals of typical heart beat data in one embodiment;

[0053] Figure 7 is a structural block diagram of a typical heartbeat recognition device in one embodiment;

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

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

[0056] It should be noted that the terms "first", "second", etc. in the specification and claims of the present disclosure and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present disclosure described herein can be implemented in an order other than those illustrated or described herein. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present disclosure. Instead, they are merely examples of devices and methods consistent with some aspects of the present disclosure as detailed in the appended claims.

[0057] In one embodiment, Figure 1 As shown, a typical heartbeat recognition method is provided. This embodiment uses the method applied to a computer device as an example. It can be understood that the computer device can be a terminal or a server. The server can be implemented as an independent server or a server cluster composed of multiple servers. In addition, the method can also be applied to a system including a terminal and a server, and is implemented through the interaction between the terminal and the server. In this embodiment, the method includes the following steps:

[0058] Step S110, obtaining the heartbeat data of the target object.

[0059] In a specific implementation, the computer device may obtain the ECG signal data of the target object within a preset time period, and obtain the heartbeat data to be clustered of the target object by preprocessing the ECG signal data.

[0060] Specifically, the computer device may first unify the data format of the ECG signal data. For example, the computer device may convert ECG signal data of different sampling frequencies into ECG signal data of the same sampling frequency (eg, 250 Hz) by using a cubic spline sampling algorithm.

[0061] Then, the computer device may filter the ECG signal data. For example, the computer device may filter the ECG signal data using a Butterworth bandpass of 0.05 Hz to 100 Hz to obtain filtered ECG signal data.

[0062] Then, the computer device can locate and detect the R wave position in the ECG signal data through the PT algorithm (Pan-Tompkins detection algorithm) to mark the heartbeat data in the ECG signal data and obtain the heartbeat marking information corresponding to the ECG signal data.

[0063] Then, the computer can perform data cleaning on the heartbeat annotation information corresponding to the ECG signal data, remove abnormal heartbeat annotation information, and obtain cleaned ECG signal data. For example, if there are multiple heartbeat annotation information for the same heartbeat data in the ECG signal data, the repeated heartbeat annotation information needs to be removed; some annotation positions contain annotation information, which needs to be deleted.

[0064] Then, the computer device can perform data segmentation on the cleaned ECG signal data, and finally obtain the heartbeat data to be clustered of the target object. Specifically, the computer device uses each R wave position in the ECG signal data as a reference point, and intercepts the ECG signal data forward and backward with a window size of a preset time length, and obtains the heartbeat data to be clustered corresponding to each R wave position.

[0065] In practical applications, the computer device can segment the data for the length interval of 0.25 seconds before and 0.45 seconds after each R wave position in the ECG signal data to obtain a plurality of heartbeat data to be clustered. The preset time length can also be other values, which are not specifically limited here.

[0066] In order to facilitate the understanding of those skilled in the art, Figure 2 A schematic diagram of performing data segmentation on electrocardiogram signal data to obtain heartbeat data to be clustered is provided.

[0067] Step S120: clustering each heartbeat data according to at least two heartbeat description features corresponding to the heartbeat data to obtain heartbeat clustering results corresponding to each heartbeat description feature.

[0068] Among them, in practical applications, the heartbeat description feature can also be named as heartbeat description data.

[0069] The heartbeat clustering result corresponding to each heartbeat description feature includes multiple heartbeat data clusters.

[0070] In a specific implementation, the computer device can cluster each heartbeat data from at least two aspects according to at least two heartbeat description features corresponding to the heartbeat data and a preset clustering algorithm to obtain a heartbeat clustering result corresponding to each heartbeat description feature.

[0071] Step S130 , selecting target typical heartbeat data that meets a preset typicality condition from the heartbeat clustering results.

[0072] In a specific implementation, the computer device can filter out target typical heartbeat data that meets preset typicality conditions from the heartbeat clustering results corresponding to each heartbeat description feature, so that the target typical heartbeat data can more comprehensively represent the overall heartbeat data of the target object.

[0073] In this way, the computer device can control the display device to present the target typical heartbeat data of the target object, so that the user can label the heartbeat type of the target typical heartbeat data to obtain the labeled target typical heartbeat data, and the labeled target typical heartbeat data can be used to establish a heartbeat classification model for the target object.

[0074] In the above-mentioned typical heartbeat recognition method, the heartbeat data of the target object is obtained; according to at least two heartbeat description features corresponding to the heartbeat data, each heartbeat data is clustered from at least two aspects to obtain a heartbeat clustering result corresponding to each heartbeat description feature; in this way, the heartbeat description features referred to when clustering the heartbeat data are more comprehensive, so that in the heartbeat clustering results for a large amount of heartbeat data, the target typical heartbeat data that meets the preset typicality conditions and can represent different heartbeat data types corresponding to different heartbeat clustering results can be quickly and accurately screened out, so that the screened target typical heartbeat data is more representative of the overall heartbeat data of the target object, and more comprehensively includes the typical heartbeat data in the overall heartbeat data of the target object, thereby realizing efficient identification of the target object's typical heartbeat in the heartbeat data of the target object.

[0075] In one embodiment, in the heartbeat clustering results, target typical heartbeat data that meets preset typicality conditions are screened out, including: in the heartbeat clustering results corresponding to each heartbeat description feature, heartbeat data that meets preset candidate conditions are screened out to obtain candidate heartbeat data sets corresponding to each heartbeat description feature; deduplication processing is performed on the candidate heartbeat data sets corresponding to each heartbeat description feature to obtain a typical heartbeat data set; typical heartbeat data that typically meets the preset typicality conditions are screened out from the typical heartbeat data set to obtain target typical heartbeat data.

[0076] In a specific implementation, in the process of selecting target typical heartbeat data that meets preset typicality conditions from the heartbeat clustering results, the computer device may select the heartbeat clustering results corresponding to each heartbeat description feature, including multiple heartbeat data clusters. The computer device may select a certain number of heartbeat data from different heartbeat data clusters according to preset candidate conditions for the heartbeat clustering results corresponding to each heartbeat description feature, and obtain a candidate heartbeat data set corresponding to each heartbeat description feature, so that the heartbeat data in the candidate heartbeat data set corresponding to each heartbeat description feature is representative of the heartbeat data classified into different heartbeat data clusters under the heartbeat description feature. Therefore, the heartbeat data in the candidate heartbeat data set corresponding to each heartbeat description feature may be used as typical heartbeat data of the target object.

[0077] Since the heartbeat data are clustered according to different heartbeat description features, the same heartbeat data will appear in the candidate heartbeat data sets selected according to different heartbeat description features, and each candidate heartbeat data set needs to be screened repeatedly, that is, the candidate heartbeat data sets corresponding to each heartbeat description feature are deduplicated to eliminate redundant and repeated heartbeat data to obtain the deduplicated candidate heartbeat data sets, so that the same heartbeat data does not exist in the deduplicated candidate heartbeat data sets, and the target typical heartbeat data that meets the preset typicality conditions is determined based on the deduplicated candidate heartbeat data.

[0078] The technical solution of the present embodiment screens out heartbeat data that meet preset candidate conditions from the heartbeat clustering results corresponding to each heartbeat description feature, and obtains a candidate heartbeat data set corresponding to each heartbeat description feature, so that the heartbeat data in the candidate heartbeat data set is representative of the heartbeat data classified into different heartbeat data clusters under each heartbeat description feature; since the heartbeat data are clustered according to different heartbeat description features, the same heartbeat data will appear in the candidate heartbeat data sets selected according to different heartbeat description features, and by deduplicating the candidate heartbeat data sets corresponding to each heartbeat description feature, redundant and repeated typical heartbeat data can be excluded, and the target typical heartbeat data that can represent the overall heartbeat data of the target object and are smaller in number can be accurately screened out, so that the typical heartbeats finally identified are more representative of the overall heartbeat data of the target object.

[0079] In one embodiment, deduplication processing is performed on candidate heartbeat data sets corresponding to each heartbeat description feature to obtain target typical heartbeat data, including: deduplication processing is performed on candidate heartbeat data sets corresponding to each heartbeat description feature to obtain a typical heartbeat data set after deduplication; typical values ​​corresponding to each typical heartbeat data in the typical heartbeat data set are determined; the typical values ​​are determined based on the correlation between the corresponding typical heartbeat data and other typical heartbeat data; other typical heartbeat data are typical heartbeat data in the typical heartbeat data set except the corresponding typical heartbeat data; typical heartbeat data whose corresponding typical values ​​are greater than a preset typical value threshold are screened out in the typical heartbeat data set as target typical heartbeat data.

[0080] In a specific implementation, when the computer device deduplicates the candidate heartbeat data sets corresponding to each heartbeat description feature to obtain the target typical heartbeat data, the computer device can deduplicate the candidate heartbeat data sets corresponding to each heartbeat description feature. Since the heartbeat data in the candidate heartbeat data sets can be used as the typical heartbeat data of the target object, the deduplicated candidate heartbeat data sets can be used as the deduplicated typical heartbeat data sets of the target object, and the same typical heartbeat data does not exist in the deduplicated typical heartbeat data sets. Specifically, the computer device can construct a typical heartbeat database based on the heartbeat data in the candidate heartbeat data sets corresponding to each heartbeat description feature, deduplicate the typical heartbeat data in the typical heartbeat database, and obtain a deduplicated typical heartbeat data set.

[0081] In order to improve the representativeness of the typical heartbeat data finally identified and presented to the user, each typical heartbeat data finally identified can reflect the characteristics of a heartbeat type, and the typical heartbeat data in the typical heartbeat data set after deduplication is representative for the overall heartbeat data of the target object, but there will also be heartbeat data with high similarity inside it. The typical heartbeat data in the typical heartbeat data set after deduplication is likely to have a high degree of repetition of the same type, that is, there are typical heartbeat data of the same type and highly similar in form, and the typical heartbeat data with a high degree of repetition of the same type is not directly presented. Therefore, for any typical heartbeat data in the typical heartbeat data set after deduplication, the computer device can determine the typical value corresponding to any typical heartbeat data according to the correlation between the any typical heartbeat data and other typical heartbeat data (that is, the typical heartbeat data in the above typical heartbeat data set, except for the any typical heartbeat data); in this way, the computer device can determine the typical value corresponding to each typical heartbeat data in the above typical heartbeat data set after deduplication, and the typical value can be used to determine the degree of repetition of the corresponding typical heartbeat data in the typical heartbeat data set and other typical heartbeat data.

[0082] Thus, the computer device can screen out the typical heartbeat data whose corresponding typical values ​​are greater than the preset typical value threshold from the above-mentioned deduplicated typical heartbeat data set, and use them as the target typical heartbeat data of the target object finally identified, so that the number of typical heartbeats finally presented is smaller but more representative, which can reduce the number of user annotations and improve annotation efficiency.

[0083] The technical solution of this embodiment is to obtain a typical heartbeat data set after deduplication by deduplicating the candidate heartbeat data sets corresponding to each heartbeat description feature; determine the typical value corresponding to each typical heartbeat data in the typical heartbeat data set; the typical value is determined based on the correlation between the corresponding typical heartbeat data and other typical heartbeat data; other typical heartbeat data are typical heartbeat data in the typical heartbeat data set except the corresponding typical heartbeat data; in this way, the degree of repetition of the same type between the corresponding typical heartbeat data and other typical heartbeat data can be determined by the typical value, and by screening out the typical heartbeat data whose corresponding typical value is greater than the preset typical value threshold in the typical heartbeat data set as the target typical heartbeat data finally identified, not only the recognition efficiency of the target typical heartbeat data that can accurately represent the overall heartbeat data of the target object is improved, but also the number of the target typical heartbeat data finally identified is small, and a large amount of heartbeat data of different heartbeat types of the target object is more representative.

[0084] In one embodiment, the method also includes: using typical heartbeat data in the typical heartbeat data set whose corresponding typical value is less than a preset typical value threshold as backup typical heartbeat data; and in response to a heartbeat data supplement request, selecting data from the backup typical heartbeat data that meets the heartbeat data supplement request and supplementing it into the target typical heartbeat data.

[0085] In a specific implementation, the computer device may also use the typical heartbeat data whose corresponding typical value in the typical heartbeat data set after deduplication is less than a preset typical value threshold as the standby typical heartbeat data. When the user needs to supplement the presented heartbeat data, the computer device may receive a heartbeat data supplement request, and in response to the heartbeat data supplement request, select the data that meets the heartbeat data supplement request from the above standby typical heartbeat data to supplement the target typical heartbeat data for presentation to the user.

[0086] Specifically, when the target typical heartbeat data currently presented to the user cannot meet the user's annotation requirements, for example, when the user cannot determine the heartbeat type of the target typical heartbeat data, the user needs to supplement the presented target typical heartbeat data. Therefore, the computer device needs to select data that meets the heartbeat data supplement request from the above-mentioned spare typical heartbeat data and supplement it into the target typical heartbeat data.

[0087] In practical applications, the heartbeat data supplement request may carry a supplement quantity. When the computer device selects data that meets the heartbeat data supplement request to supplement the target typical heartbeat data, the computer device may select spare typical heartbeat data that meets the supplement quantity according to the typical values ​​corresponding to each spare typical heartbeat data to supplement the target typical heartbeat data. The typical value corresponding to the selected spare typical heartbeat data is higher than the typical value corresponding to the unselected spare typical heartbeat data.

[0088] In addition, in some embodiments, before the computer device receives a request to supplement the heart rate data, the computer device may sort the target typical heart rate data from high to low according to the typical values ​​corresponding to each target typical heart rate data during the process of presenting the target typical heart rate data, and present the sorted target typical heart rate data to the user.

[0089] In practical applications, before the computer device receives the heartbeat data supplement request, the computer device can also respond to the heartbeat presentation request while presenting the target typical heartbeat data. The heartbeat presentation request carries a presentation quantity, and the computer device can select the target typical heartbeat data that meets the presentation quantity and present it to the user. Alternatively, the computer device can also select the target typical heartbeat data that meets the presentation quantity from the sorted target typical heartbeat data and present it to the user.

[0090] Before the computer device receives the request for supplementing heartbeat data, when the computer device is presenting the target typical heartbeat data, when the number of target typical heartbeat data screened by the computer device is less than the number to be presented, the computer device can select spare typical heartbeat data and add them to the target typical heartbeat data, so that the number of target typical heartbeat data finally presented meets the number to be presented.

[0091] The technical solution of this embodiment is to use typical heartbeat data whose corresponding typical values ​​in the typical heartbeat data set are less than a preset typical value threshold as backup typical heartbeat data; and in response to a heartbeat data supplement request, select data that meets the heartbeat data supplement request from the backup typical heartbeat data to supplement the target typical heartbeat data; in this way, typical heartbeat data that meets the user's heartbeat presentation requirements can be more flexibly selected for display.

[0092] In one embodiment, determining a typical value corresponding to each typical heartbeat data in a typical heartbeat data set includes: for any typical heartbeat data in the typical heartbeat data set, determining the correlation between any typical heartbeat data and each typical heartbeat data except any typical heartbeat data, and obtaining each correlation corresponding to any typical heartbeat data; determining the inverse of the sum of each correlation corresponding to any typical heartbeat data, and obtaining a typical value corresponding to any typical heartbeat data.

[0093] In a specific implementation, when a computer device is determining the typical value corresponding to each typical heartbeat data in a typical heartbeat data set after deduplication, the computer device can determine, for any typical heartbeat data in the typical heartbeat data set, the correlation between the any typical heartbeat data and each typical heartbeat data in the typical heartbeat data set except the any typical heartbeat data, so as to obtain the correlations corresponding to the any typical heartbeat data.

[0094] Then, the computer device may determine the inverse of the sum of the correlations corresponding to any typical heartbeat data, and use the inverse as the typical value corresponding to any typical heartbeat data.

[0095] In practical applications, the process of calculating the typical value is as follows:

[0096]

[0097]

[0098] Among them, ρ X,Y represents the correlation between two typical heartbeat data, cov(X,Y) represents the covariance between two typical heartbeat data, σ X and σ y represents the standard deviation of typical heart beat data, and t represents the typical value.

[0099] In this way, the typical value corresponding to each typical heartbeat data in the typical heartbeat data set after deduplication can be determined.

[0100] The technical solution of this embodiment is to determine the correlation between any typical heartbeat data in the typical heartbeat data set and each typical heartbeat data other than the any typical heartbeat data, and obtain each correlation corresponding to the any typical heartbeat data, so as to determine the similarity between the any typical heartbeat data and other typical heartbeat data; by determining the sum of each correlation corresponding to the any typical heartbeat data, the same type of repetition degree of the any typical heartbeat data in the typical heartbeat data set can be determined, and according to the inverse of the sum, the typical value corresponding to the any typical heartbeat data is determined, so that the typical value corresponding to the typical heartbeat data is inversely proportional to the corresponding same type of repetition degree, so that more representative target typical heartbeat data can be screened out according to the typical values ​​corresponding to each typical heartbeat data in the typical heartbeat data set.

[0101] In one embodiment, the algorithm used to cluster each heartbeat data is a density clustering algorithm; each heartbeat clustering result includes a number of data clusters and a number of noise points; the data cluster includes a number of core points and a number of boundary points; in the heartbeat clustering results corresponding to each heartbeat description feature, the heartbeat data that meets the preset candidate conditions are screened out to obtain a candidate heartbeat data set corresponding to each heartbeat description feature, including: screening out noise points that meet a first preset candidate number from the several noise points in each heartbeat clustering result, and screening out core points that meet a second preset candidate number and boundary points that meet a third preset candidate number from each data cluster corresponding to each heartbeat clustering result; based on the noise points, core points and boundary points screened out for each heartbeat clustering result, the candidate heartbeat data set corresponding to each heartbeat description feature is determined.

[0102] In practical applications, the data cluster may also be named as a heartbeat data cluster.

[0103] In the specific implementation, the algorithm adopted by the computer device when clustering the heartbeat data of the target object is a density clustering algorithm, so that the heartbeat clustering result corresponding to each heartbeat description feature includes several heartbeat data clusters and several noise points, and each heartbeat data cluster includes several heartbeat data as core points and several heartbeat data as boundary points.

[0104] In order to facilitate the understanding of those skilled in the art, Figure 3 A schematic diagram of the principle of density clustering algorithm is provided. Figure 3 As shown, N represents noise points; B and C represent boundary points; and the remaining A points represent core points.

[0105] In this way, when the computer device filters out the heartbeat data that meets the preset candidate conditions from the heartbeat clustering results corresponding to each heartbeat description feature, and obtains the candidate heartbeat data sets corresponding to each heartbeat description feature, the computer device can filter out the noise points that meet the first preset candidate number from the several noise points in each heartbeat clustering result, and filter out the core points that meet the second preset candidate number and the boundary points that meet the third preset candidate number from each data cluster corresponding to each heartbeat clustering result.

[0106] In practical applications, in order to screen out typical heartbeat data from the heartbeat clustering results corresponding to each heartbeat description feature, the computer device can randomly select x (a first preset number) noise point samples for all noise points in the heartbeat clustering results corresponding to any heartbeat description feature. The noise point is not necessarily noise, but may be an outlier, which is the heartbeat data of a positive sample; for the core points and boundary points in each heartbeat data cluster corresponding to any heartbeat description feature, num_b (a second preset number) and num_c (a third preset number) samples are randomly selected, respectively, such as If the number of core points p and the number of boundary points q in the heartbeat data cluster are less than num_b and num_c, the actual number shall prevail, that is, p and q. In this way, y samples are selected for each heartbeat data cluster corresponding to any heartbeat description feature, that is, yi samples are selected from the i-th heartbeat data cluster corresponding to any heartbeat description feature, and yi≤num_b+num_c. Then, for any heartbeat description feature, N samples will be selected, N=x+y1+y2+yi……+yn, n represents the total number of heartbeat data clusters corresponding to any heartbeat description feature. The selected N samples will be used as the candidate heartbeat data set corresponding to any heartbeat description feature. Among them, i is greater than or equal to 1, and less than or equal to n.

[0107] In this way, the noise points, core points and boundary points selected from the heartbeat clustering results corresponding to any heartbeat description feature are used as the candidate heartbeat data set corresponding to any heartbeat description feature. Similarly, through the above method, the computer device can determine the candidate heartbeat data set corresponding to each heartbeat description feature based on the noise points, core points and boundary points selected from the heartbeat clustering results corresponding to each heartbeat description feature.

[0108] According to the technical solution of the present embodiment, the algorithm adopted for clustering each heartbeat data is a density clustering algorithm; each heartbeat clustering result includes a number of data clusters and a number of noise points; wherein the data cluster includes a number of core points and a number of boundary points, so that in the heartbeat clustering result corresponding to each heartbeat description feature, each heartbeat data is divided into a noise point, a core point or a boundary point; by screening out noise points that meet a first preset candidate number from a number of noise points in each heartbeat clustering result, and screening out core points that meet a second preset candidate number, and boundary points that meet a third preset candidate number from each data cluster corresponding to each heartbeat clustering result, typical heartbeat data can be screened out in the heartbeat clustering result corresponding to each heartbeat description feature; then, based on the noise points, core points and boundary points screened out for each heartbeat clustering result, the candidate heartbeat data set corresponding to each heartbeat description feature can be determined, so that the heartbeat data in the candidate heartbeat data set corresponding to each heartbeat description feature is more representative of the heartbeat data classified into different heartbeat data clusters under the heartbeat description feature.

[0109] In one embodiment, the method also includes: determining a one-dimensional array of waveform shapes used to describe heartbeat data to obtain waveform shape features corresponding to the heartbeat data; determining the temporal distance between the R wave of each heartbeat data and the R waves of two adjacent heartbeat data to obtain heartbeat interval features corresponding to the heartbeat data; and determining at least two heartbeat description features based on the waveform shape features and the heartbeat interval features.

[0110] Among them, in practical applications, the waveform morphology feature can be named as morphology data, and the heart beat interval feature can be named as distance data.

[0111] In a specific implementation, before the computer device clusters each heartbeat data according to at least two heartbeat description features corresponding to the heartbeat data to obtain a heartbeat clustering result corresponding to each heartbeat description feature, the computer device can also determine a one-dimensional array for describing the waveform morphology of the heartbeat data to obtain a waveform morphology feature corresponding to the heartbeat data; and determine the time distance between the R wave of each heartbeat data and the R waves of two adjacent heartbeat data to obtain a heartbeat interval feature corresponding to the heartbeat data.

[0112] Specifically, each heartbeat data can be visualized by a set of one-dimensional discrete data (i.e., a one-dimensional array). By determining the one-dimensional array corresponding to each heartbeat data and normalizing the one-dimensional array, a standardized one-dimensional array is obtained as the waveform morphology feature corresponding to the heartbeat data. As for the interval information of the R wave of each heartbeat data, that is, the distance between the current heartbeat data and the previous and next heartbeat data, including the distance RRI_pre between the R wave of the current heartbeat data and the R wave of the previous heartbeat data, and the distance RRI_aft between the R wave of the current heartbeat data and the R wave of the next heartbeat data, the two distances corresponding to each heartbeat data are normalized to obtain the standardized distance as the heartbeat interval feature corresponding to the heartbeat data.

[0113] Among them, the standardized processing method used can be the Z-score standardization method, which can be described by the following formula:

[0114]

[0115] Among them, x is the waveform morphology feature or heart beat interval feature corresponding to the heart beat data, μ is the mean, and σ is the variance.

[0116] In practical applications, other normalization algorithms may also be used, and no specific limitation is made here.

[0117] In this way, the computer device can determine at least two heartbeat description features corresponding to the heartbeat data based on the waveform morphology features and heartbeat interval features corresponding to the heartbeat data.

[0118] In addition, the heartbeat description features include not only the above-mentioned waveform morphology features and heartbeat interval features, but also other heartbeat description features, such as heartbeat correlation features determined by the correlation between heartbeat data, which are not specifically limited here.

[0119] The technical solution of this embodiment determines a one-dimensional array of waveform morphology used to describe heartbeat data to obtain waveform morphology features corresponding to the heartbeat data; determines the temporal distance between the R wave of each heartbeat data and the R waves of two adjacent heartbeat data to obtain the heartbeat interval features corresponding to the heartbeat data; and determines at least two heartbeat description features based on the waveform morphology features and the heartbeat interval features. In this way, the heartbeat data of the target object are clustered using a variety of heartbeat description features, so that the heartbeat description features referenced when clustering the heartbeat data are more comprehensive, so that the overall heartbeat data of the target object and more representative target typical heartbeat data can be screened out more accurately.

[0120] In another embodiment, Figure 4 As shown, a typical heartbeat recognition method is provided, and the method is applied to a computer device as an example for explanation, including the following steps:

[0121] Step S402: acquiring the heartbeat data of the target object.

[0122] Step S404, determining a one-dimensional array for describing the waveform shape of the heartbeat data, and obtaining waveform shape features corresponding to the heartbeat data.

[0123] Step S406, determining the temporal distance between the R wave of each heartbeat data and the R waves of two adjacent heartbeat data, and obtaining the heartbeat interval characteristics corresponding to the heartbeat data.

[0124] Step S408, determining at least two heartbeat description features according to the waveform morphology features and the heartbeat interval features.

[0125] Step S410: clustering each heartbeat data according to at least two heartbeat description features corresponding to the heartbeat data to obtain heartbeat clustering results corresponding to each heartbeat description feature.

[0126] Step S412, screening out noise points that meet a first preset candidate number from a number of noise points in each heartbeat clustering result, and screening out core points that meet a second preset candidate number and boundary points that meet a third preset candidate number from each data cluster corresponding to each heartbeat clustering result.

[0127] Step S414, determining a candidate heartbeat data set corresponding to each heartbeat description feature according to the noise points, core points and boundary points screened out from the clustering result of each heartbeat.

[0128] Step S416, performing deduplication processing on the candidate heartbeat data sets corresponding to each heartbeat description feature to obtain a typical heartbeat data set after deduplication.

[0129] Step S418, determining a typical value corresponding to each typical heartbeat data in the typical heartbeat data set.

[0130] Step S420 , selecting typical heartbeat data whose corresponding typical values ​​are greater than a preset typical value threshold from the typical heartbeat data set as target typical heartbeat data.

[0131] Step S422: taking the typical heartbeat data whose corresponding typical value in the typical heartbeat data set is less than a preset typical value threshold as standby typical heartbeat data.

[0132] Step S424, in response to the request for supplementing the heartbeat data, selecting data satisfying the request for supplementing the heartbeat data from the spare typical heartbeat data and supplementing the data to the target typical heartbeat data.

[0133] It should be noted that the specific limitations of the above steps can refer to the specific limitations of a typical heartbeat recognition method mentioned above.

[0134] In order to facilitate the understanding of those skilled in the art, Figure 5 A typical heartbeat presentation method is provided, which is described by taking the method applied to a computer device as an example, and includes the following steps:

[0135] Step 1: Heartbeat data clustering.

[0136] Through the clustering algorithm, the heartbeat data of the target object is divided into multiple categories of heartbeat data clusters according to the waveform morphology characteristics and the heartbeat interval characteristics. Among them, clustering according to the waveform morphology characteristics can be named morphology clustering, and clustering according to the heartbeat interval characteristics can be named interval clustering. When clustering morphology and interval, the corresponding neighborhood radius (eps) and density threshold (MinPts) are set respectively. Morphology clustering and interval clustering will respectively obtain multiple data clusters, and divide the heartbeat data into core points, boundary points, and noise points.

[0137] Step 2: Heartbeat data selection.

[0138] For morphological clustering, the method for screening out heartbeat data that meets the preset candidate conditions in the above embodiment can be used to screen out P samples, P = x + a1 + a2 + ai ... + ab, b represents the total number of heartbeat data clusters corresponding to the morphological clustering, ai represents the number of samples selected in the i-th heartbeat data cluster corresponding to the morphological clustering, ai ≤ num_b + num_c, and obtain the candidate heartbeat data set corresponding to the waveform morphological feature. For interval clustering, similarly, M samples can be screened out, M = x + o1 + o2 + oi ... + oc, c represents the total number of heartbeat data clusters corresponding to the interval clustering, oi represents the number of samples selected in the i-th heartbeat data cluster corresponding to the interval clustering, oi ≤ num_b + num_c, and obtain the candidate heartbeat data set corresponding to the heartbeat interval feature.

[0139] A typical heartbeat database is constructed based on the heartbeat data in the candidate heartbeat data set corresponding to the waveform morphology features and the heartbeat data in the candidate heartbeat data set corresponding to the heartbeat interval features.

[0140] Step 3: Repeat the screening.

[0141] Since waveform clustering and feature clustering are performed separately, the heartbeat data in the candidate heartbeat data sets selected by the two clusters may be the same. Therefore, deduplication processing should be performed in the typical heartbeat database to exclude the same heartbeat data and obtain the typical heartbeat data set after deduplication.

[0142] Step 4: Typicality screening.

[0143] The computer device may determine the typical value t corresponding to each typical heartbeat data in the typical heartbeat data set after deduplication according to the method for determining the typical value in the above embodiment.

[0144] Step 5: Presentation of heart rate data.

[0145] The typical heartbeat data in the typical heartbeat data set after deduplication are sorted according to the typical value t, and K (preset presentation number) typical heartbeat data with the highest typical value are selected to be labeled for the user as the presented heartbeat data, and the other typical heartbeat data are used as spare typical heartbeat data. If the K typical heartbeat data cannot meet the labeling requirements, the spare typical heartbeat data can be supplemented to the presented heartbeat data according to the typical value for labeling the user.

[0146] In order to facilitate the understanding of those skilled in the art, Figure 6 A scatter plot of the RRI (RR interval, i.e. the distance between two R waves) of typical heartbeat data after labeling is provided. Figure 6As shown, typical heartbeat data are marked as Class N (normal heartbeat data) and Class V (ventricular ectopic beat heartbeat). It should be noted that the typical heartbeat recognition method of the present application can be applied not only to Class N and Class V, but also to other heartbeat types such as Class S (supraventricular abnormal heartbeat data) and Class F (fusion heartbeat) according to actual needs.

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

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

[0149] In one embodiment, Figure 7 As shown, a typical heartbeat recognition device is provided, including: an acquisition module 710, a clustering module 720 and a screening module 730, wherein:

[0150] The acquisition module 710 is used to acquire the heartbeat data of the target object.

[0151] The clustering module 720 is used to cluster each of the heartbeat data according to at least two heartbeat description features corresponding to the heartbeat data, and obtain a heartbeat clustering result corresponding to each of the heartbeat description features.

[0152] The screening module 730 is used to screen out target typical heartbeat data that meets a preset typicality condition from the heartbeat clustering results.

[0153] In one of the embodiments, the screening module 730 is specifically used to screen out the heartbeat data that meets the preset candidate conditions in the heartbeat clustering results corresponding to each of the heartbeat description features, and obtain the candidate heartbeat data sets corresponding to each of the heartbeat description features; deduplicate the candidate heartbeat data sets corresponding to each of the heartbeat description features to obtain the target typical heartbeat data.

[0154] In one embodiment, the screening module 730 is specifically used to deduplicate the candidate heartbeat data sets corresponding to each of the heartbeat description features to obtain a typical heartbeat data set after deduplication; determine the typical value corresponding to each typical heartbeat data in the typical heartbeat data set; the typical value is determined based on the correlation between the corresponding typical heartbeat data and other typical heartbeat data; the other typical heartbeat data are the typical heartbeat data in the typical heartbeat data set except the corresponding typical heartbeat data; and screen out the typical heartbeat data whose corresponding typical value is greater than a preset typical value threshold in the typical heartbeat data set as the target typical heartbeat data.

[0155] In one embodiment, the device also includes a supplementing module, which is used to use the typical heartbeat data in the typical heartbeat data set whose corresponding typical value is less than the preset typical value threshold as backup typical heartbeat data; in response to a heartbeat data supplement request, select data that meets the heartbeat data supplement request from the backup typical heartbeat data and supplement it into the target typical heartbeat data.

[0156] In one embodiment, the screening module 730 is specifically used to determine, for any typical heartbeat data in the typical heartbeat data set, the correlation between the any typical heartbeat data and each typical heartbeat data other than the any typical heartbeat data, to obtain each correlation corresponding to the any typical heartbeat data; determine the inverse of the sum of each correlation corresponding to the any typical heartbeat data, to obtain the typical value corresponding to the any typical heartbeat data.

[0157] In one embodiment, the algorithm used to cluster each of the heartbeat data is a density clustering algorithm; each of the heartbeat clustering results includes a number of data clusters and a number of noise points; the data cluster includes a number of core points and a number of boundary points; the screening module 730 is specifically used to screen out noise points that meet a first preset candidate number from the several noise points in each of the heartbeat clustering results, and to screen out core points that meet a second preset candidate number and boundary points that meet a third preset candidate number from each data cluster corresponding to each of the heartbeat clustering results; based on the noise points, core points and boundary points screened out for each of the heartbeat clustering results, determine the candidate heartbeat data sets corresponding to each of the heartbeat description features.

[0158] In one embodiment, the clustering module 720 is further used to determine a one-dimensional array for describing the waveform morphology of the heartbeat data to obtain waveform morphology features corresponding to the heartbeat data; determine the temporal distance between the R wave of each heartbeat data and the R waves of two adjacent heartbeat data to obtain heartbeat interval features corresponding to the heartbeat data; and determine the at least two heartbeat description features based on the waveform morphology features and the heartbeat interval features.

[0159] Each module in the above typical heartbeat recognition device can be implemented in whole or in part by software, hardware or a combination thereof. Each module can be embedded in or independent of a processor in a computer device in the form of hardware, or can be stored in a memory in a computer device in the form of software, so that the processor can call and execute operations corresponding to each module.

[0160] In one embodiment, a computer device is provided. The computer device may be a terminal, and its internal structure diagram may be as follows: Figure 8 As shown. The computer device includes a processor, a memory, an input / output interface, a communication interface, a display unit and an input device. The processor, the memory and the input / output interface are connected through a system bus, and the communication interface, the display unit and the input device are connected to the system bus through the input / output interface. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The input / output interface of the computer device is used to exchange information between the processor and an external device. The communication interface of the computer device is used to communicate with an external terminal in a wired or wireless manner, and the wireless manner can be implemented through WIFI, a mobile cellular network, NFC (near field communication) or other technologies. When the computer program is executed by the processor, a typical heartbeat recognition method is implemented. The display unit of the computer device is used to form a visually visible picture, which can be a display screen, a projection device or a virtual reality imaging device. The display screen can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer device can be a touch layer covering the display screen, or a button, trackball or touchpad set on the computer device shell, or an external keyboard, touchpad or mouse.

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

[0162] In one embodiment, a computer device is further provided, including a memory and a processor, wherein a computer program is stored in the memory, and the processor implements the steps in the above method embodiments when executing the computer program.

[0163] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps in the above-mentioned method embodiments are implemented.

[0164] In one embodiment, a computer program product is provided, including a computer program, which implements the steps in the above method embodiments when executed by a processor.

[0165] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant laws, regulations and standards of relevant countries and regions.

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

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

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

Claims

1. A typical heartbeat recognition method, characterized in that: The method comprises: Obtaining heartbeat data of the target object; Clustering each of the heartbeat data according to at least two heartbeat description features corresponding to the heartbeat data to obtain a heartbeat clustering result corresponding to each of the heartbeat description features; Among the heartbeat clustering results, target typical heartbeat data that meets a preset typicality condition is screened out.

2. The method according to claim 1, characterized in that In the heartbeat clustering results, the target typical heartbeat data that meets the preset typicality condition is screened out, including: In the heartbeat clustering results corresponding to each of the heartbeat description features, heartbeat data that meets a preset candidate condition is screened out to obtain a candidate heartbeat data set corresponding to each of the heartbeat description features; Deduplication processing is performed on the candidate heartbeat data sets corresponding to each of the heartbeat description features to obtain the target typical heartbeat data.

3. The method according to claim 2, characterized in that The step of performing deduplication processing on the candidate heartbeat data sets corresponding to each of the heartbeat description features to obtain the target typical heartbeat data includes: Deduplication processing is performed on the candidate heartbeat data sets corresponding to each of the heartbeat description features to obtain a typical heartbeat data set after deduplication; Determine a typical value corresponding to each typical heartbeat data in the typical heartbeat data set; the typical value is determined based on the correlation between the corresponding typical heartbeat data and other typical heartbeat data; the other typical heartbeat data is the typical heartbeat data in the typical heartbeat data set except the corresponding typical heartbeat data; Typical heartbeat data whose corresponding typical values ​​are greater than a preset typical value threshold are screened out from the typical heartbeat data set as the target typical heartbeat data.

4. The method according to claim 3, characterized in that The method further comprises: The typical heartbeat data whose corresponding typical value in the typical heartbeat data set is less than the preset typical value threshold is used as the standby typical heartbeat data; In response to a request for supplementing heartbeat data, data satisfying the request for supplementing heartbeat data is selected from the spare typical heartbeat data and supplemented into the target typical heartbeat data.

5. The method according to claim 3, characterized in that: The determining of a typical value corresponding to each typical heartbeat data in the typical heartbeat data set includes: For any typical heartbeat data in the typical heartbeat data set, determine the correlation between the any typical heartbeat data and each typical heartbeat data other than the any typical heartbeat data, and obtain each correlation corresponding to the any typical heartbeat data; The inverse of the sum of the correlations corresponding to any typical heartbeat data is determined to obtain a typical value corresponding to any typical heartbeat data.

6. The method according to claim 2, characterized in that The algorithm used for clustering the heartbeat data is a density clustering algorithm; each of the heartbeat clustering results includes a number of data clusters and a number of noise points; the data cluster includes a number of core points and a number of boundary points; in the heartbeat clustering results corresponding to the heartbeat description features, the heartbeat data that meets the preset candidate conditions are screened out to obtain the candidate heartbeat data set corresponding to the heartbeat description features, including: Screening out noise points that meet a first preset number from a plurality of noise points in each of the heartbeat clustering results, and screening out core points that meet a second preset number and boundary points that meet a third preset number from each of the data clusters corresponding to each of the heartbeat clustering results; According to the noise points, core points and boundary points screened out for each of the heartbeat clustering results, a candidate heartbeat data set corresponding to each of the heartbeat description features is determined.

7. The method according to claim 1, characterized in that The method further comprises: Determine a one-dimensional array for describing the waveform shape of the heartbeat data, and obtain waveform shape features corresponding to the heartbeat data; Determine the temporal distance between the R wave of each heartbeat data and the R waves of two adjacent heartbeat data to obtain the heartbeat interval characteristics corresponding to the heartbeat data; The at least two heartbeat description features are determined according to the waveform morphology features and the heartbeat interval features.

8. A typical heartbeat recognition device, characterized in that: The device comprises: An acquisition module, used to acquire the heartbeat data of the target object; A clustering module, used for clustering each of the heartbeat data according to at least two heartbeat description features corresponding to the heartbeat data, to obtain a heartbeat clustering result corresponding to each of the heartbeat description features; The screening module is used to screen out target typical heartbeat data that meets preset typicality conditions from the heartbeat clustering results.

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

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

Citation Information

Patent Citations

  • Classification method of heart beat template of dynamic electrocardiogram

    CN101810476A

  • Electrocardiogram data processing method and device

    CN109480825A