Personalized cardiac beat classification model training method, cardiac beat classification method and electrocardiogram monitoring system
By constructing and adjusting the heartbeat classification model and using individual heartbeat data to adjust general model parameters, the problem of low accuracy in classifying and identifying individual subject's heartbeat data in the existing technology is solved, and high-accuracy classification of individual subject's heartbeat data is achieved.
Patent Information
- Application Number
- CN202310350855.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-03-31
- Publication Date
- 2024-10-01
AI Technical Summary
In the classification and identification of heartbeat data, the existing technology lacks the classification and identification effect of the heartbeat data of individual subjects, resulting in low classification accuracy and the inability to effectively reflect the abnormality of the heartbeat data of individual subjects.
By acquiring the labeled general heartbeat data of multiple sample objects and the labeled individual heartbeat data of the target object, a universal heartbeat classification model is constructed, and the individual heartbeat data is used to adjust the model parameters to obtain a personalized heartbeat classification model for the target object. Improving heartbeat data classification accuracy for individual subjects.
It achieves accurate classification of the heartbeat data of individual subjects, improves the accuracy of heartbeat classification, and can more effectively identify abnormalities in the heartbeat data of individual subjects.
Smart Images

Figure CN118734148A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of heartbeat data processing, and in particular to a personalized heartbeat classification model training, a heartbeat classification method and an electrocardiogram monitoring system. Background Art
[0002] In the medical field, classification and identification of heartbeat data is an important step in diagnosing diseases. The heartbeat waveforms of subjects with abnormal heartbeat data are usually diverse. Due to individual differences in the subjects, there are certain differences in the abnormal heartbeat data of the subjects, that is, the data forms of the heartbeat data of different individual subjects will be different. Therefore, it is very difficult to effectively diagnose the heartbeat data of individual subjects.
[0003] In the prior art, classification and recognition of heartbeat data mostly focuses on the recognition of various types of heartbeat data from the perspective of group heartbeat data. However, for a specific individual object with abnormal heartbeat data, the overall classification and recognition effect of the current heartbeat data classification and recognition algorithm cannot accurately reflect the heartbeat data classification and recognition effect of the individual object with abnormal heartbeat data itself. In many cases, the classification and recognition result of the heartbeat data of the individual object with abnormal heartbeat data is relatively poor. In other words, the current accuracy of heartbeat data classification is low. Summary of the invention
[0004] Based on this, it is necessary to provide a personalized heartbeat classification model training, a heartbeat classification method and an electrocardiogram monitoring system that can improve the accuracy of heartbeat classification in response to the above technical problems.
[0005] In a first aspect, the present application provides a personalized heartbeat classification model training method, the method comprising:
[0006] Obtaining labeled universal heartbeat data of multiple sample objects, and obtaining labeled individual heartbeat data for a target object; the labeled universal heartbeat data includes universal heartbeat data and universal heartbeat annotation types corresponding to the universal heartbeat data, and the labeled individual heartbeat data includes individual heartbeat data and individual heartbeat annotation types corresponding to the individual heartbeat data;
[0007] A universal heartbeat classification model is constructed through universal heartbeat data and universal heartbeat annotation types;
[0008] The labeled individual heartbeat data is input into the universal heartbeat classification model. The model parameters of the universal heartbeat classification model are adjusted according to the individual heartbeat data and the individual heartbeat annotation type to obtain a personalized heartbeat classification model for the target object.
[0009] In one embodiment, obtaining labeled individual heartbeat data for a target object includes:
[0010] Acquire the heartbeat data to be labeled for the target object; and select typical heartbeat data from the heartbeat data to be labeled;
[0011] According to the labeling result of the target user on the typical heartbeat data, the labeled typical heartbeat data is obtained, and the labeled typical heartbeat data is used as the labeled individual heartbeat data.
[0012] In one embodiment, obtaining labeled typical heartbeat data according to the labeling result of the target user on the typical heartbeat data includes:
[0013] Based on the labeled typical heartbeat data, the labeled typical heartbeat data is expanded to obtain the expanded labeled typical heartbeat data;
[0014] The labeled typical heartbeat data is used as the labeled individual heartbeat data, including:
[0015] The expanded labeled typical heartbeat data is used as labeled individual heartbeat data.
[0016] In one embodiment, after obtaining the labeled universal heartbeat data of multiple sample objects and the labeled individual heartbeat data of the target object, the universal heartbeat data and the individual heartbeat data are preprocessed, and the preprocessing includes:
[0017] Obtain current heartbeat data; the current heartbeat data is general heartbeat data or individual heartbeat data;
[0018] The current heartbeat data is sampled according to a preset sampling frequency to obtain the sampled heartbeat data.
[0019] In one embodiment, after sampling the current heartbeat data according to a preset sampling frequency to obtain the sampled heartbeat data, the method further includes:
[0020] The sampled heartbeat data is filtered according to a preset frequency range to obtain filtered heartbeat data.
[0021] In one embodiment, after obtaining the filtered heartbeat data, the method further includes:
[0022] Obtaining a heartbeat waveform corresponding to the heartbeat data after filtering;
[0023] According to preset waveform features, target waveform data is obtained from the heart beat waveform;
[0024] Target heartbeat data is obtained according to the target waveform data; the target heartbeat data is used to construct a universal heartbeat classification model, or to adjust model parameters of the universal heartbeat classification model.
[0025] In one of the embodiments, the number of target waveform data is multiple;
[0026] According to the target waveform data, the target heartbeat data is obtained, including:
[0027] Performing normalization processing on a plurality of target waveform data to obtain a plurality of target waveform data after normalization processing;
[0028] Based on the normalized multiple target waveform data, target heartbeat data is obtained.
[0029] In a second aspect, the present application provides a heartbeat classification method, the method comprising:
[0030] Obtaining heartbeat data to be classified for a target object;
[0031] The heartbeat data to be classified is input into the personalized heartbeat classification model associated with the target object, and the heartbeat type corresponding to the heartbeat data to be classified is obtained through the personalized heartbeat classification model; the personalized heartbeat classification model associated with the target object is obtained through the personalized heartbeat classification model training method as described above.
[0032] On the third aspect, the present application also provides an ECG monitoring system, which includes a data acquisition device and a data analysis device, the data analysis device includes a personalized classification model, and the personalized classification model is obtained by applying the personalized heart beat classification model training method as mentioned above; the data acquisition device is used to collect heart beat data, and the data analysis device is used to use the personalized heart beat classification model and the heart beat classification method as mentioned above to identify and analyze the collected heart beat data.
[0033] In a fourth aspect, the present application also provides a personalized heartbeat classification model training device, the device comprising:
[0034] A heartbeat data acquisition module is used to acquire labeled general heartbeat data of multiple sample objects and labeled individual heartbeat data for a target object; the labeled general heartbeat data includes general heartbeat data and general heartbeat annotation types corresponding to the general heartbeat data, and the labeled individual heartbeat data includes individual heartbeat data and individual heartbeat annotation types corresponding to the individual heartbeat data;
[0035] A general model building module, used to build a general heartbeat classification model through general heartbeat data and general heartbeat annotation types;
[0036] The personalized model acquisition module is used to input the labeled individual heartbeat data into the universal heartbeat classification model, adjust the model parameters of the universal heartbeat classification model according to the individual heartbeat data and the individual heartbeat annotation type, and obtain a personalized heartbeat classification model for the target object.
[0037] In a fifth aspect, the present application further provides a heartbeat classification device, the device comprising:
[0038] A module for acquiring data to be classified, used for acquiring heartbeat data to be classified for a target object;
[0039] The heartbeat type acquisition module is used to input the heartbeat data to be classified into the personalized heartbeat classification model associated with the target object, and obtain the heartbeat type corresponding to the heartbeat data to be classified through the personalized heartbeat classification model; the heartbeat classification model associated with the target object is obtained through the personalized heartbeat classification model training method as mentioned above.
[0040] In a sixth aspect, the present application further provides a computer device, which includes a memory and a processor, wherein the memory stores a computer program, and the processor implements the steps of the above method when executing the computer program.
[0041] In a seventh aspect, the present application further provides a computer-readable storage medium having a computer program stored thereon, which implements the steps of the above method when executed by a processor.
[0042] In an eighth aspect, the present application further provides a computer program product, which includes a computer program, and when the computer program is executed by a processor, the steps of the above method are implemented.
[0043] The above-mentioned personalized heartbeat classification model training, heartbeat classification method and ECG monitoring system obtain the labeled general heartbeat data of multiple sample objects and the labeled individual heartbeat data for the target object; the labeled general heartbeat data includes general heartbeat data and the general heartbeat annotation type corresponding to the general heartbeat data, and the labeled individual heartbeat data includes individual heartbeat data and the individual heartbeat annotation type corresponding to the individual heartbeat data; a general heartbeat classification model is constructed through the general heartbeat data and the general heartbeat annotation type; the labeled individual heartbeat data is input into the general heartbeat classification model, and the model parameters of the general heartbeat classification model are adjusted through the individual heartbeat data and the individual heartbeat annotation type to obtain a personalized heartbeat classification model for the target object. In this way, compared with traditional technologies, the present application constructs a universal heartbeat classification model through labeled universal heartbeat data, and further adjusts the universal heartbeat classification model by utilizing labeled individual heartbeat data to obtain a personalized heartbeat classification model, which can effectively classify the heartbeat data of individual objects, and the personalized heartbeat classification model trained based on the individual heartbeat data of individual objects can accurately classify the heartbeat data of individual objects, thereby improving the accuracy of heartbeat classification for individual objects. BRIEF DESCRIPTION OF THE DRAWINGS
[0044] Figure 1A diagram showing an application environment of a personalized heartbeat classification model training method in an embodiment;
[0045] Figure 2 A flowchart of a personalized heartbeat classification model training method in one embodiment;
[0046] Figure 3 A schematic diagram of a flow chart of steps for obtaining labeled individual heartbeat data of a target object in one embodiment;
[0047] Figure 4 A schematic diagram of a pretreatment process in one embodiment;
[0048] Figure 5 A schematic diagram of a flow chart of steps after obtaining filtered heartbeat data in one embodiment;
[0049] Figure 6 A schematic diagram of obtaining target waveform data in one embodiment;
[0050] Figure 7 1 is a flow chart of a method for classifying a central beat according to an embodiment of the present invention;
[0051] Figure 8 A structural block diagram of a personalized heartbeat classification model training device in one embodiment;
[0052] Fig. 9 is a structural block diagram of a central beat classification device according to an embodiment;
[0053] Fig.10 FIG. 4 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION
[0054] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0055] The personalized heartbeat classification model training method provided in the embodiment of the present application can be applied to Figure 1In the application environment shown. Among them, the terminal 102 communicates with the server 104 through the network. The data storage system can store the data that the server 104 needs to process. The data storage system can be integrated on the server 104, or it can be placed on the cloud or other network servers. The labeled general heartbeat data of multiple sample objects and the labeled individual heartbeat data for the target object can be obtained through the terminal 102, and the target user can label the heartbeat data through the terminal 102 to obtain the labeled heartbeat data. The terminal 102 can upload the labeled general heartbeat data and the labeled individual heartbeat data to the server 104. Among them, the terminal 102 can be but not limited to various personal computers, laptops, smart phones, tablet computers, Internet of Things devices and portable wearable devices. The server 104 can be implemented with an independent server or a server cluster consisting of multiple servers.
[0056] In one embodiment, Figure 2 As shown in FIG, a personalized heart beat classification model training method is provided, and the method is applied to Figure 1 Taking the server 104 in the example as an example, the following steps are included:
[0057] S202, obtaining labeled common heartbeat data of multiple sample objects, and obtaining labeled individual heartbeat data for the target object; the labeled common heartbeat data includes common heartbeat data and common heartbeat annotation types corresponding to the common heartbeat data, and the labeled individual heartbeat data includes individual heartbeat data and individual heartbeat annotation types corresponding to the individual heartbeat data.
[0058] The sample object may be an object whose heartbeat data can be obtained and the heartbeat data needs to be classified. The multiple sample objects may be multiple different sample objects, for example, they may be group objects. The target object may be an individual object, for example, it may be an individual object corresponding to which a personalized heartbeat classification model needs to be established. As an example, the multiple sample objects may be group objects including the target object, or may not include the target object.
[0059] Among them, the labeled universal heartbeat data can be sample heartbeat data of a group object that has been labeled, for example, it can be labeled heartbeat data corresponding to multiple sample objects. Universal heartbeat data can be heartbeat data of a group object, for example, it can be heartbeat data corresponding to multiple sample objects. The universal heartbeat annotation type can be the annotation type carried by the universal heartbeat data in the labeled universal heartbeat data, for example, the annotation type carried by the universal heartbeat data can be annotation type A, annotation type B, annotation type C, etc.; the universal heartbeat data can be distinguished by the annotation type.
[0060] Among them, the labeled individual heartbeat data can be the heartbeat data of an individual object (target object) that has been labeled. For example, the target user can label the typical heartbeat data of the target object to obtain the labeled individual heartbeat data; the personalized heartbeat classification model can be trained through the labeled individual heartbeat data to achieve the classification of the unlabeled individual heartbeat data of the target object. The individual heartbeat data can be the heartbeat data of the individual object (target object). The individual heartbeat labeling type can be the labeling type carried by the individual heartbeat data after the individual heartbeat data is labeled. For example, the labeling type carried by the individual heartbeat data can be labeling type A, labeling type B, labeling type C, etc.; after classifying the unlabeled individual heartbeat data, the labeling type corresponding to the individual heartbeat data can be obtained; the individual heartbeat data can be distinguished by the labeling type.
[0061] Exemplarily, the labeled universal heartbeat data may be obtained through a network database, and the labeled universal heartbeat data may be data stored in a data storage system. The server 104 may directly obtain the labeled universal heartbeat data and the universal heartbeat annotation type corresponding to the universal heartbeat data.
[0062] Exemplarily, the target user can mark part of the individual heartbeat data of the target object through the terminal 102 to obtain the marked individual heartbeat number for the target object. The terminal 102 can send the marked individual heartbeat data of the target object to the server 104, and the marked individual heartbeat number includes the individual heartbeat data of the target object and the individual heartbeat marking type corresponding to the individual heartbeat data. Further, a universal heartbeat classification model can be established through the marked universal heartbeat data, and the universal heartbeat classification model can be further adjusted through the marked individual heartbeat number to obtain a personalized heartbeat classification model for the target object. In this way, the heartbeat data of the target object is classified using the personalized heartbeat classification model, which can improve the accuracy of the classification of the heartbeat data of the target object.
[0063] S204: construct a universal heartbeat classification model using universal heartbeat data and universal heartbeat annotation types.
[0064] The universal heartbeat classification model may be a model for classifying universal heartbeat data of multiple sample objects or group objects. The universal heartbeat classification model may be used to classify universal heartbeat data to obtain universal heartbeat annotation types corresponding to the universal heartbeat data.
[0065] Exemplarily, the universal heartbeat data can be used as sample universal heartbeat data and predicted universal heartbeat data; the universal heartbeat annotation type can be used as the sample heartbeat annotation type corresponding to the sample universal heartbeat data; and the sample heartbeat annotation type corresponding to the sample universal heartbeat data and the predicted universal heartbeat data are used to construct a universal heartbeat classification model. For example, a convolutional neural network model for heartbeat classification can be constructed by predicting universal heartbeat data and sample heartbeat annotation types to obtain a universal heartbeat classification model. Furthermore, based on the universal heartbeat classification model, a personalized heartbeat classification model can be obtained, which can effectively classify heartbeat data and improve the efficiency of constructing a personalized heartbeat classification model.
[0066] For example, a general heartbeat classification model to be trained can be pre-built. The predicted general heartbeat data is input into the general heartbeat classification model to be trained, and the predicted heartbeat labeling type corresponding to the predicted general heartbeat data is output through the general heartbeat classification model to be trained; the general heartbeat classification model is trained according to the sample heartbeat labeling type and the predicted heartbeat labeling type to obtain a trained general heartbeat classification model.
[0067] S206, inputting the labeled individual heartbeat data into the universal heartbeat classification model, adjusting the model parameters of the universal heartbeat classification model according to the individual heartbeat data and the individual heartbeat labeling type, and obtaining a personalized heartbeat classification model for the target object.
[0068] Among them, the labeled individual heartbeat data can be the heartbeat data of an individual object (target object) that has been labeled. The individual heartbeat data can be the heartbeat data of an individual object (target object). The individual heartbeat annotation type can be the annotation type carried by the individual heartbeat data after the individual heartbeat data is labeled. The model parameters can be parameters in the neural network model, such as hyperparameter regularization parameters, learning rates, etc. The personalized heartbeat classification model can be a model for classifying the individual heartbeat data of an individual object (target object).
[0069] Exemplarily, the labeled individual heartbeat data can be input into the general heartbeat classification model, and the individual heartbeat data and the individual heartbeat annotation type in the labeled individual heartbeat data can be used to adjust the model parameters of the general heartbeat classification model to generate a personalized heartbeat classification model for classifying the heartbeat data of the target object. For example, by using the labeled individual heartbeat data, some model parameters in the general heartbeat classification model are adjusted to obtain a personalized heartbeat classification model for the target object. After adjusting some model parameters of the general heartbeat classification model, a personalized heartbeat classification model that is more in line with the classification of personal heartbeat data is obtained. Further, the individual heartbeat data to be labeled of the target object can be labeled and classified by the personalized heartbeat classification model, so that a more accurate heartbeat labeling classification for the individual object can be obtained, thereby improving the accuracy of heartbeat classification.
[0070] Optionally, the general heartbeat classification model is a convolutional neural network model for heartbeat classification. The labeled individual heartbeat data and the transfer learning method can be used to adjust the model parameters of the convolutional neural network model for heartbeat classification. For example, the model parameters of each layer except the fully connected layer in the convolutional neural network model are frozen, and the model parameters in the fully connected layer are adjusted to obtain a personalized heartbeat classification model for the target object.
[0071] Optionally, the personalized heartbeat classification model can be updated periodically using the updated labeled individual heartbeat data of the target object to obtain an updated personalized heartbeat classification model. Heartbeat classification can be performed using the updated personalized heartbeat classification model to further improve the accuracy of heartbeat classification.
[0072] In this embodiment, by obtaining the labeled universal heartbeat data of multiple sample objects and the labeled individual heartbeat data for the target object; the labeled universal heartbeat data includes universal heartbeat data and universal heartbeat annotation types corresponding to the universal heartbeat data, and the labeled individual heartbeat data includes individual heartbeat data and individual heartbeat annotation types corresponding to the individual heartbeat data; a universal heartbeat classification model is constructed through the universal heartbeat data and the universal heartbeat annotation types; the labeled individual heartbeat data is input into the universal heartbeat classification model, and the model parameters of the universal heartbeat classification model are adjusted through the individual heartbeat data and the individual heartbeat annotation types to obtain a personalized heartbeat classification model for the target object. In this way, compared with the traditional technology, the present application constructs a universal heartbeat classification model through the labeled universal heartbeat data, and further adjusts the universal heartbeat classification model by using the labeled individual heartbeat data to obtain a personalized heartbeat classification model, which can effectively classify the heartbeat data of the individual object, and the personalized heartbeat classification model obtained based on the individual heartbeat data of the individual object can accurately classify the heartbeat data of the individual object, thereby improving the accuracy of heartbeat classification for the individual object.
[0073] In one embodiment, Figure 3 As shown, obtaining the labeled individual heartbeat data for the target object includes:
[0074] S302, obtaining heartbeat data to be labeled for the target object; and screening typical heartbeat data from the heartbeat data to be labeled.
[0075] S304, obtaining labeled typical heartbeat data according to the labeling result of the target user on the typical heartbeat data, and using the labeled typical heartbeat data as labeled individual heartbeat data.
[0076] The heartbeat data to be labeled may be the heartbeat data to be labeled of the target object. The typical heartbeat data may be the typical ECG data of the target object, for example, the ECG waveform data of a typical individual object. The labeling result may be the result obtained after the target user labels the typical heartbeat data. The labeled typical heartbeat data may be the typical heartbeat data that has been labeled, and the labeled typical heartbeat data may include the typical heartbeat data and the labeling type corresponding to the typical heartbeat data.
[0077] Exemplarily, the individual heartbeat data to be labeled of the target object can be directly obtained. And typical heartbeat data can be screened out from the heartbeat data to be labeled. For example, typical heartbeat data can be screened out based on the heartbeat features corresponding to the preset typical heartbeat data and by clustering method. The target user can perform heartbeat labeling on the typical heartbeat data to obtain the labeling result of the target user for the typical heartbeat data. According to the labeling result of the typical heartbeat data, labeled typical heartbeat data for the target object is obtained, and the labeled typical heartbeat data can be used as labeled individual heartbeat data. In this way, using the labeled typical heartbeat data as the labeled individual heartbeat data can improve the accuracy of generating a personalized heartbeat classification model for the target object.
[0078] In this embodiment, by screening typical heartbeat data from the heartbeat data to be labeled, the accuracy of labeling the heartbeat data can be improved. And based on the labeling results of the typical heartbeat data by the target user, the labeled typical heartbeat data is obtained. The accuracy of labeling the typical heartbeat data can be improved. Using the labeled typical heartbeat data as the labeled individual heartbeat data can improve the accuracy of generating a personalized heartbeat classification model for the target object.
[0079] In one embodiment, the labeled typical heartbeat data is obtained according to the labeling result of the target user on the typical heartbeat data, including:
[0080] Based on the labeled typical heartbeat data, the labeled typical heartbeat data is expanded to obtain the expanded labeled typical heartbeat data;
[0081] The labeled typical heartbeat data is used as the labeled individual heartbeat data, including:
[0082] The expanded labeled typical heartbeat data is used as labeled individual heartbeat data.
[0083] Exemplarily, the labeled typical heartbeat data can be used to expand the labeled typical heartbeat data to the labeled heartbeat data, so that more labeled typical heartbeat data can be obtained, and based on the method of expanding the labeled typical heartbeat data, the amount of typical heartbeat data that the target user needs to label is small, which can improve the labeling efficiency of the typical heartbeat data. The expanded labeled typical heartbeat data is used as the labeled individual heartbeat data, so that more labeled individual heartbeat data can be obtained, thereby improving the accuracy of training the personalized heartbeat classification model.
[0084] For example, the similarity between the labeled typical heartbeat data and the typical heartbeat data to be labeled can be used to expand the heartbeat labeling of the typical heartbeat data to be labeled using the labeled typical heartbeat data.
[0085] In this embodiment, by expanding the labeled typical heartbeat data for the heartbeat data to be labeled, the efficiency of labeling the typical heartbeat data can be improved, thereby improving the efficiency of generating the personalized heartbeat classification model. By using the expanded labeled typical heartbeat data as the labeled individual heartbeat data, the accuracy of training the personalized heartbeat classification model can be improved.
[0086] In one embodiment, Figure 4 As shown, after obtaining the labeled universal heartbeat data of multiple sample objects and the labeled individual heartbeat data of the target object, the universal heartbeat data and the individual heartbeat data are preprocessed, and the preprocessing includes:
[0087] S402, obtaining current heartbeat data; the current heartbeat data is general heartbeat data or individual heartbeat data;
[0088] S404: Sampling the current heartbeat data according to a preset sampling frequency to obtain sampled heartbeat data.
[0089] The current heartbeat data may be general heartbeat data or individual heartbeat data, and both the general heartbeat data and the individual heartbeat data may be pre-processed by the processing method in this embodiment. The sampling frequency may be the frequency of sampling the heartbeat data.
[0090] Exemplarily, if the current heartbeat data is universal heartbeat data, the universal heartbeat data may be sampled according to a preset sampling frequency for the universal heartbeat data to obtain the sampled universal heartbeat data. For example, the ECG waveform of the universal heartbeat data may be sampled to obtain the sampled universal ECG data. If the current heartbeat data is individual heartbeat data, the individual heartbeat data may be sampled according to a preset sampling frequency for the individual heartbeat data to obtain the sampled individual heartbeat data. For example, the ECG waveform of the individual heartbeat data may be sampled to obtain the sampled individual ECG data. In this way, by pre-processing the sampling of the universal heartbeat data and the individual heartbeat data, the accuracy can be improved in the process of constructing a universal heartbeat classification model and generating a personalized heartbeat classification model.
[0091] For example, the sampling frequency may be set to 250 Hz, and the current heartbeat data may be sampled using a cubic spline sampling algorithm to obtain sampled heartbeat data.
[0092] In this embodiment, by acquiring the current heartbeat data and sampling the current heartbeat data according to a preset sampling frequency to obtain the sampled heartbeat data, a universal heartbeat classification model can be constructed based on the sampled heartbeat data, thereby improving the accuracy of the universal heartbeat classification model, or the universal heartbeat classification model can be adjusted by the sampled heartbeat data to obtain a personalized heartbeat classification model, which can further improve the accuracy of generating the personalized heartbeat classification model, thereby improving the accuracy of classifying the heartbeat data of the target object.
[0093] In one embodiment, after sampling the current heartbeat data according to a preset sampling frequency to obtain the sampled heartbeat data, the method further includes:
[0094] The sampled heartbeat data is filtered according to a preset frequency range to obtain filtered heartbeat data.
[0095] The frequency range may be a pre-set frequency amplitude for filtering. The filtering process may be a high-pass filter, a low-pass filter, a band-pass filter or other filtering process, and the filtering method may be set according to actual conditions.
[0096] For example, a preset frequency range may be obtained, the sampled heartbeat data may be filtered, and the filtered heartbeat data may be used to construct a general heartbeat classification model or generate a personalized heartbeat classification model, thereby improving accuracy in the process of constructing a general heartbeat classification model or generating a personalized heartbeat classification model.
[0097] For example, the frequency range may be set to 0.05 Hz to 100 Hz, and the sampled heartbeat data may be filtered by a Butterworth bandpass filter to obtain filtered heartbeat data.
[0098] In this embodiment, the sampled heartbeat data is filtered according to a preset frequency range to obtain filtered heartbeat data. A universal heartbeat classification model can be constructed based on the filtered heartbeat data, thereby improving the accuracy of the universal heartbeat classification model, or the universal heartbeat classification model can be adjusted by the filtered heartbeat data to obtain a personalized heartbeat classification model, which can further improve the accuracy of generating a personalized heartbeat classification model, thereby improving the accuracy of classifying the heartbeat data of the target object.
[0099] In one embodiment, Figure 5 As shown, after obtaining the filtered heartbeat data, the following steps are also included:
[0100] S502, obtaining a heartbeat waveform corresponding to the heartbeat data after filtering;
[0101] S504, acquiring target waveform data from the heartbeat waveform according to preset waveform features;
[0102] S506, obtaining target heartbeat data according to the target waveform data; the target heartbeat data is used to construct a universal heartbeat classification model, or to adjust model parameters of the universal heartbeat classification model.
[0103] The heartbeat waveform may be a waveform corresponding to the heartbeat data. The waveform feature may be a feature of a preset waveform, such as a length feature, a peak amplitude feature, etc. The length feature may be a time length. The target waveform data may be partial waveform data intercepted from the heartbeat waveform. The target heartbeat data may be general heartbeat data for constructing a general heartbeat classification model, or may be individual heartbeat data for adjusting model parameters of a general heartbeat classification model.
[0104] Exemplarily, the heartbeat waveform corresponding to the heartbeat data after filtering can be obtained, and the target waveform data can be obtained from the heartbeat waveform through the preset waveform features. For example, the target waveform data can be obtained from the heartbeat waveform according to the preset time features. Further, the target heartbeat data can be obtained based on the target waveform data; the target heartbeat data can be used to construct a general heartbeat classification model, or to generate a personalized heartbeat classification model. Thereby, the accuracy of constructing a general heartbeat classification model can be improved, and the accuracy of generating a personalized heartbeat classification model can be improved.
[0105] For example, Figure 6 As shown, the R wave of the heartbeat waveform (which may be the first upward wave in the heartbeat waveform) may be taken as the center, 0.25 s (seconds) forward and 0.45 s (seconds) backward may be taken as the target waveform data.
[0106] In this embodiment, the heartbeat waveform corresponding to the heartbeat data after filtering is obtained; and according to the preset waveform features, the target waveform data is obtained from the heartbeat waveform; and the target heartbeat data is obtained according to the target waveform data. In this way, a universal heartbeat classification model can be constructed based on the target waveform data, thereby improving the accuracy of the universal heartbeat classification model, or the universal heartbeat classification model can be adjusted by the target waveform data to obtain a personalized heartbeat classification model, which can further improve the accuracy of generating a personalized heartbeat classification model, thereby improving the accuracy of classifying the heartbeat data of the target object.
[0107] In one embodiment, the number of target waveform data is multiple;
[0108] According to the target waveform data, the target heartbeat data is obtained, including:
[0109] Performing normalization processing on a plurality of target waveform data to obtain a plurality of target waveform data after normalization processing;
[0110] Based on the normalized multiple target waveform data, target heartbeat data is obtained.
[0111] The normalization process may be performed in a pre-set manner.
[0112] For example, the target waveform data can be normalized according to a pre-set normalization method to obtain the normalized target waveform data, and the normalized target waveform data can be used as the target heartbeat data. In this way, the target heartbeat data can be obtained based on the multiple target waveform data after normalization, which can improve the accuracy of constructing a universal heartbeat classification model and the accuracy of generating a personalized heartbeat classification model.
[0113] In this embodiment, multiple target waveform data are normalized to obtain multiple target waveform data after normalization; and target heartbeat data are obtained based on the multiple target waveform data after normalization. This can improve the accuracy of the general heartbeat classification model, or adjust the general heartbeat classification model through the target heartbeat data to obtain a personalized heartbeat classification model, which can further improve the accuracy of generating a personalized heartbeat classification model, thereby improving the accuracy of classifying the heartbeat data of the target object.
[0114] In one embodiment, the target waveform data can be divided into training set data, validation set data, and test set data. By using the training set data, a normalization parameter for normalizing the target waveform data is calculated. Further, the normalization parameter obtained from the training set data can be used to normalize the training set data, the validation set data, and the test set data, respectively, to obtain the normalized target waveform data.
[0115] The normalization can be performed using the following formula (1):
[0116]
[0117] Among them, x is the target waveform data, μ is the mean, and σ is the variance.
[0118] As an example, both the mean and the variance can be calculated by using a plurality of target waveform data in the training set data. Both the mean and the variance can be normalized parameters.
[0119] In this embodiment, by dividing the target waveform data into training set data, validation set data, and test set data, and obtaining normalization parameters through the training set data, and further using the normalization parameters to normalize the training set data, validation set data, and test set data, the accuracy of obtaining the target heartbeat data can be improved, and then the accuracy of the general heartbeat classification model and the personalized heartbeat classification model can be improved, thereby improving the accuracy of classifying the heartbeat data of the target object.
[0120] In one embodiment, sample universal heartbeat data corresponding to a plurality of sample objects and sample universal heartbeat annotation types corresponding to the sample universal heartbeat data are obtained; the sample universal heartbeat data are converted to a universal heartbeat classification model to be trained, and the universal prediction annotation type corresponding to the sample universal heartbeat data is obtained through the universal heartbeat classification model; the universal heartbeat classification model is trained according to the universal prediction heartbeat annotation type and the sample heartbeat annotation type to obtain a trained universal heartbeat classification model.
[0121] From the sample universal heartbeat data, obtain the verification heartbeat data and the verification heartbeat type corresponding to the verification heartbeat data for model adjustment of the trained universal heartbeat classification model; input the verification heartbeat data into the trained universal heartbeat classification model, and use the verification heartbeat type corresponding to the verification heartbeat data to perform model adjustment on the trained universal heartbeat classification model.
[0122] From the sample universal heartbeat data, obtain the test heartbeat data for testing the universal heartbeat classification model after model tuning and the test heartbeat type corresponding to the test heartbeat data; input the test heartbeat data into the universal heartbeat classification model after model tuning, and use the test heartbeat type corresponding to the test heartbeat data to test the universal heartbeat classification model after model tuning.
[0123] The general heartbeat classification model can be a convolutional neural network model for heartbeat classification. The labeled individual heartbeat data and the transfer learning method can be used to adjust the model parameters of the convolutional neural network model for heartbeat classification. For example, the model parameters of each layer except the fully connected layer in the convolutional neural network model can be frozen, and the model parameters in the fully connected layer can be adjusted to obtain a personalized heartbeat classification model for the target object.
[0124] In this embodiment, a universal heartbeat classification model is constructed through the above steps, thereby improving the accuracy of the universal heartbeat classification model, and the model parameters of the universal heartbeat classification model are adjusted through the transfer learning method to obtain a personalized heartbeat classification model, which can improve the accuracy of the personalized heartbeat classification model, and further improve the accuracy of classifying the heartbeat data of the target object using the personalized heartbeat classification model.
[0125] In one embodiment, Figure 7 As shown, a heartbeat classification method is provided, comprising the following steps:
[0126] S702, obtaining heartbeat data to be classified for the target object;
[0127] S704, input the heartbeat data to be classified into the personalized heartbeat classification model associated with the target object, and obtain the heartbeat type corresponding to the heartbeat data to be classified through the personalized heartbeat classification model; the personalized heartbeat classification model associated with the target object is obtained through the personalized heartbeat classification model training method as described above.
[0128] The heartbeat data to be classified may be individual heartbeat data of a target object to be classified. The personalized heartbeat classification model may be a model for classifying individual heartbeat data of an individual object (target object).
[0129] Exemplarily, a personalized heartbeat classification model associated with a target object is obtained, and the heartbeat data to be classified of the target object is obtained. The heartbeat data to be classified is input into the personalized heartbeat classification model, and the heartbeat type corresponding to the heartbeat data to be classified is obtained through the personalized heartbeat classification model. The personalized heartbeat classification model associated with the target object is obtained by the personalized heartbeat classification model training method as described above.
[0130] In this embodiment, compared with the traditional technology, the heartbeat data to be classified of the target object is classified by a personalized heartbeat classification model, rather than using a general heartbeat classification model to classify the heartbeat data of the individual object, which can improve the accuracy of heartbeat data classification.
[0131] In one embodiment, the establishment of a universal heartbeat classification model requires a certain amount of basic data, and the data needs to cover typical population distribution, heartbeat type distribution, etc. The universal heartbeat classification model can be built using a preset standard database, or it can be built using data annotated by professional target users according to a strict data annotation procedure.
[0132] Different universal heartbeat data are converted into the same sampling frequency through the cubic spline sampling algorithm, and the sampling frequency can be 250Hz. The collected universal heartbeat data are filtered, and the filtering can be processed by Butterworth bandpass filtering of 0.05Hz to 100Hz. The R wave position of the universal heartbeat data can be taken as the center, and 0.25s forward and 0.45s backward are taken as sample universal heartbeat data. The sample universal heartbeat data is divided into a training set, a validation set, and a test set. The normalization parameters of the sample universal heartbeat data are calculated through the training set and applied to the training set, the validation set, and the test set. For example, normalization processing can be performed using formula (1). After the sample universal heartbeat data is processed, a deep learning model can be modeled for the model input. The model can use a convolutional neural network, that is, a CNN model, or other deep learning models such as ResNet (staggered neural network), LSTM (long short-term memory neural network), etc.
[0133] A personalized heartbeat classification model can be established by collecting and labeling individual data. The acquisition of individual heartbeat data has its own particularity: first, there is a lot of individual heartbeat data. The individual heartbeat data of an individual can reach hundreds of thousands. It is obviously unrealistic for the target user to label them one by one; secondly, the individual heartbeat data of the same type of the same individual is very similar, and the types are limited, that is, as long as a small number of representative heartbeat annotations are selected, the personalized heartbeat classification model can be adjusted.
[0134] Individual heartbeat data can be collected through ECG (electrocardiogram) collection equipment. Individual heartbeat data can be preprocessed according to the above-mentioned data preprocessing method for general heartbeat data. KNN (K Nearest Neighbors) clustering algorithm can be selected to determine n data clusters. For individual heartbeat data, the KNN clustering algorithm is used to divide the data into n categories, and then the typical heartbeats in the data clusters are found to form a data pool, and m data are presented to the target user for labeling. Using the general heartbeat classification model and transfer learning, combined with the acquired labeled individual heartbeat data for training, a personalized heartbeat classification model can be obtained.
[0135] In the process of establishing a personalized heartbeat classification model, the individual heartbeat data can be divided into two parts, one part is used for transfer learning to generate a personalized heartbeat classification model, and the other part is used for algorithm evaluation to evaluate the performance of the personalized heartbeat classification model and the general model for individual data, thereby determining the performance of the personalized heartbeat classification model. By comparing the performance of the personalized heartbeat classification model and the general model on the test set, the best model is selected as the personalized heartbeat classification model. Among them, the personalized heartbeat classification model is implemented by fine-tuning the migration algorithm on the basis of the general model. Individual labeled data includes individual heartbeat data samples, heartbeat labels, heartbeat credibility, heartbeat quality, etc. Individual data samples and individual heartbeat labels are used for training, and individual heartbeat data is weighted by heartbeat credibility and heartbeat quality during algorithm training.
[0136] In this embodiment, compared with the traditional technology, the present application constructs a universal heartbeat classification model through universal heartbeat data, and further adjusts the universal heartbeat classification model by utilizing labeled individual heartbeat data and transfer learning methods to obtain a personalized heartbeat classification model, which can effectively classify the heartbeat data of individual objects, and the personalized heartbeat classification model trained based on the individual heartbeat data of individual objects can accurately classify the heartbeat data of individual objects, thereby improving the accuracy of heartbeat classification for individual objects.
[0137] 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.
[0138] Based on the same inventive concept, the embodiment of the present application also provides an ECG monitoring system. The ECG monitoring system includes a data acquisition device and a data analysis device. The data analysis device includes a personalized classification model, and the personalized classification model is obtained by applying the personalized heartbeat classification model training method as described above; the data acquisition device is used to collect heartbeat data, and the data analysis device is used to use the personalized heartbeat classification model and the heartbeat classification method as described above to perform recognition and analysis on the collected heartbeat data. The recognition and analysis can be classification and recognition of the heartbeat data.
[0139] Based on the same inventive concept, the embodiment of the present application also provides a personalized heartbeat classification model training device for implementing the personalized heartbeat classification model training method involved above, and a heartbeat classification device for the heartbeat classification method. The implementation scheme for solving the problem provided by the above device is similar to the implementation scheme recorded in the above method, so the specific limitations in one or more personalized heartbeat classification model training device embodiments provided below can refer to the limitations on the personalized heartbeat classification model training method above, and the specific limitations in the heartbeat classification device embodiments can refer to the limitations on the heartbeat classification method above, which will not be repeated here.
[0140] In one embodiment, Figure 8 As shown, a personalized heartbeat classification model training device 800 is provided, comprising: a heartbeat data acquisition module 810, a general model construction module 820 and a personalized model acquisition module 830, wherein:
[0141] The heartbeat data acquisition module 810 is used to obtain the labeled general heartbeat data of multiple sample objects and the labeled individual heartbeat data for the target object; the labeled general heartbeat data includes general heartbeat data and the general heartbeat annotation type corresponding to the general heartbeat data, and the labeled individual heartbeat data includes individual heartbeat data and the individual heartbeat annotation type corresponding to the individual heartbeat data.
[0142] The general model building module 820 is used to build a general heartbeat classification model through general heartbeat data and general heartbeat annotation types.
[0143] The personalized model acquisition module 830 is used to input the labeled individual heartbeat data into the universal heartbeat classification model, adjust the model parameters of the universal heartbeat classification model according to the individual heartbeat data and the individual heartbeat annotation type, and obtain a personalized heartbeat classification model for the target object.
[0144] In one embodiment, the heartbeat data acquisition module includes a typical heartbeat acquisition unit and a labeling result unit.
[0145] The typical heartbeat acquisition unit is used to acquire the heartbeat data to be labeled for the target object, and to screen the typical heartbeat data from the heartbeat data to be labeled. The labeling result unit is used to obtain the labeled typical heartbeat data according to the labeling result of the typical heartbeat data by the target user, and use the labeled typical heartbeat data as the labeled individual heartbeat data.
[0146] In one embodiment, the labeling result unit includes an expansion unit. The expansion unit is used to expand the labeled typical heartbeat data on the heartbeat data to be labeled based on the labeled typical heartbeat data to obtain the expanded labeled typical heartbeat data; and is also used to use the expanded labeled typical heartbeat data as the labeled individual heartbeat data.
[0147] In one embodiment, the personalized heartbeat classification model training device also includes a current heartbeat data acquisition module and a sampling filter process.
[0148] The current heartbeat data acquisition module is used to acquire the current heartbeat data; the current heartbeat data is general heartbeat data or individual heartbeat data. The sampling module is used to sample the current heartbeat data according to a preset sampling frequency to obtain the sampled heartbeat data.
[0149] In one embodiment, the personalized heartbeat classification model training device further includes a filtering processing module. The filtering processing module is used to filter the sampled heartbeat data according to a preset frequency range to obtain filtered heartbeat data.
[0150] In one embodiment, the personalized heartbeat classification model training device further includes a target heartbeat data module. The target heartbeat data module is used to obtain a heartbeat waveform corresponding to the heartbeat data after filtering; obtain target waveform data from the heartbeat waveform according to preset waveform features; obtain target heartbeat data according to the target waveform data; the target heartbeat data is used to construct a universal heartbeat classification model, or adjust the model parameters of the universal heartbeat classification model.
[0151] In one embodiment, the number of target waveform data is multiple; the target heartbeat data module includes a normalization unit. The normalization unit is used to normalize the multiple target waveform data to obtain multiple target waveform data after normalization; based on the multiple target waveform data after normalization, the target heartbeat data is obtained.
[0152] In one embodiment, Fig. 9 As shown, a heartbeat classification device 900 is provided, comprising: a to-be-classified data acquisition module 910 and a heartbeat type acquisition module 920, wherein:
[0153] The to-be-classified data acquisition module 910 is used to acquire the to-be-classified heartbeat data of the target object.
[0154] The heartbeat type acquisition module 920 is used to input the heartbeat data to be classified into the personalized heartbeat classification model associated with the target object, and obtain the heartbeat type corresponding to the heartbeat data to be classified through the personalized heartbeat classification model; the heartbeat classification model associated with the target object is obtained through the personalized heartbeat classification model training method as described above.
[0155] Each module in the above-mentioned personalized heartbeat classification model training device and heartbeat classification device can be implemented in whole or in part by software, hardware and a combination thereof. Each of the above-mentioned modules can be embedded in or independent of a processor in a computer device in the form of hardware, or can be stored in a memory in a computer device in the form of software, so that the processor can call and execute the operations corresponding to each of the above modules.
[0156] In one embodiment, a computer device is provided. The computer device may be a server, and its internal structure diagram may be as follows: Fig.10 As shown. The computer device includes a processor, a memory, an input / output interface (Input / Output, referred to as I / O) and a communication interface. Among them, the processor, the memory and the input / output interface are connected through a system bus, and the communication interface is connected to the system bus through the input / output interface. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store labeled general heartbeat data, labeled individual heartbeat data, and heartbeat data to be classified. 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 through a network connection. When the computer program is executed by the processor, a personalized heartbeat classification model training method and a heartbeat classification method are implemented.
[0157] Those skilled in the art will understand that Fig.10 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.
[0158] 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.
[0159] 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.
[0160] 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.
[0161] 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.
[0162] The technical features of the above embodiments may be arbitrarily combined. 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.
[0163] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.
Claims
1. A personalized heartbeat classification model training method, It is characterized in that The method comprises: Acquire labeled universal heartbeat data of multiple sample objects, and acquire labeled individual heartbeat data for a target object; the labeled universal heartbeat data includes universal heartbeat data and universal heartbeat annotation types corresponding to the universal heartbeat data, and the labeled individual heartbeat data includes individual heartbeat data and individual heartbeat annotation types corresponding to the individual heartbeat data; Constructing a universal heartbeat classification model through the universal heartbeat data and the universal heartbeat annotation type; The labeled individual heartbeat data is input into the universal heartbeat classification model, and the model parameters of the universal heartbeat classification model are adjusted according to the individual heartbeat data and the individual heartbeat annotation type to obtain a personalized heartbeat classification model for the target object.
2. The method according to claim 1, It is characterized in that The step of obtaining the labeled individual heartbeat data of the target object includes: Acquire the heartbeat data to be labeled for the target object; and select typical heartbeat data from the heartbeat data to be labeled; According to the labeling result of the target user on the typical heartbeat data, the labeled typical heartbeat data is obtained, and the labeled typical heartbeat data is used as the labeled individual heartbeat data.
3. The method according to claim 2, It is characterized in that The step of obtaining the labeled typical heartbeat data according to the labeling result of the typical heartbeat data by the target user includes: Based on the labeled typical heartbeat data, expanding the labeled typical heartbeat data to the labeled heartbeat data to obtain the expanded labeled typical heartbeat data; The step of using the labeled typical heartbeat data as the labeled individual heartbeat data comprises: The expanded labeled typical heartbeat data is used as the labeled individual heartbeat data.
4. The method according to claim 1, It is characterized in that After obtaining the labeled universal heartbeat data of multiple sample objects and the labeled individual heartbeat data of the target object, the method further includes preprocessing the universal heartbeat data and the individual heartbeat data, wherein the preprocessing includes: Acquire current heartbeat data; the current heartbeat data is the universal heartbeat data or the individual heartbeat data; The current heartbeat data is sampled according to a preset sampling frequency to obtain sampled heartbeat data.
5. The method according to claim 4, It is characterized in that After sampling the current heartbeat data according to the preset sampling frequency to obtain the sampled heartbeat data, the method further includes: The sampled heartbeat data is filtered according to a preset frequency range to obtain filtered heartbeat data.
6. The method according to claim 5, It is characterized in that After obtaining the filtered heartbeat data, the method further includes: Acquire a heartbeat waveform corresponding to the heartbeat data after filtering; According to preset waveform features, obtaining target waveform data from the heartbeat waveform; Target heartbeat data is obtained according to the target waveform data; the target heartbeat data is used to construct the universal heartbeat classification model, or to adjust the model parameters of the universal heartbeat classification model.
7. The method according to claim 6, It is characterized in that The number of the target waveform data is multiple; The step of obtaining target heartbeat data according to the target waveform data comprises: Performing normalization processing on the plurality of target waveform data to obtain a plurality of target waveform data after normalization processing; The target heartbeat data is obtained based on the plurality of target waveform data after the normalization process.
8. A heartbeat classification method, It is characterized in that The method comprises: Obtaining heartbeat data to be classified for a target object; The heartbeat data to be classified is input into a personalized heartbeat classification model associated with the target object, and the heartbeat type corresponding to the heartbeat data to be classified is obtained through the personalized heartbeat classification model; the personalized heartbeat classification model associated with the target object is obtained through the personalized heartbeat classification model training method as described in any one of claims 1 to 7.
9. An electrocardiogram monitoring system, It is characterized in that The ECG monitoring system includes a data acquisition device and a data analysis device, the data analysis device includes a personalized classification model, and the personalized classification model is obtained by applying the personalized heart beat classification model training method as described in any one of claims 1 to 7; the data acquisition device is used to collect heart beat data, and the data analysis device is used to use the personalized heart beat classification model or the heart beat classification method as described in claim 8 to identify and analyze the collected heart beat data.
10. A personalized heartbeat classification model training device, It is characterized in that The device comprises: A heartbeat data acquisition module, used to acquire labeled universal heartbeat data of multiple sample objects and labeled individual heartbeat data for a target object; the labeled universal heartbeat data includes universal heartbeat data and universal heartbeat annotation types corresponding to the universal heartbeat data, and the labeled individual heartbeat data includes individual heartbeat data and individual heartbeat annotation types corresponding to the individual heartbeat data; A general model building module, used to build a general heartbeat classification model through the general heartbeat data and the general heartbeat annotation type; The personalized model acquisition module is used to input the labeled individual heartbeat data into the universal heartbeat classification model, and adjust the model parameters of the universal heartbeat classification model according to the individual heartbeat data and the individual heartbeat annotation type to obtain a personalized heartbeat classification model for the target object.
11. A heart beat classification device, It is characterized in that The device comprises: A module for acquiring data to be classified, used for acquiring heartbeat data to be classified for a target object; A heartbeat type acquisition module is used to input the heartbeat data to be classified into a personalized heartbeat classification model associated with the target object, and obtain the heartbeat type corresponding to the heartbeat data to be classified through the personalized heartbeat classification model; the heartbeat classification model associated with the target object is obtained by the personalized heartbeat classification model training method as described in any one of claims 1 to 7.
12. A computer device comprising a memory and a processor, wherein the memory stores a computer program. It is characterized in that When the processor executes the computer program, the steps of the method according to any one of claims 1 to 8 are implemented.
13. A computer-readable storage medium having a computer program stored thereon, It is 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 8 are implemented.
14. A computer program product comprising a computer program, It is 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 8 are implemented.
Citation Information
Patent Citations
Heart rate monitoring and analysis method based on electrocardiogram
CN109691994A
Intelligent classification and recognition method of heart beat of electrocardiogram
CN111449645A
