Processing method and device of an atrial fibrillation prediction model based on a pressure pulse wave

By transforming the EfficientNet-B0 model into 1D-EfficientNet-B0 and adapting its parameters, a multi-level atrial fibrillation prediction model is generated, which solves the problems of detection accuracy and deployment difficulty in existing technologies and achieves efficient atrial fibrillation prediction and model expansion.

CN123161891APending Publication Date: 2026-11-24SHENZHEN LEPU YUNZHI TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611392767.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-09-09
Publication Date
2026-11-24

AI Technical Summary

Technical Problem

Existing technologies for atrial fibrillation detection based on pressure pulse waves suffer from bottlenecks in detection accuracy and difficulties in model deployment. In particular, the complex characteristics of pulse waves are difficult to express through manually designed time-frequency domain features, and there is a lack of optimization of model structures for different devices.

Method used

The two-dimensional convolution operator in the EfficientNet-B0 model was changed to a one-dimensional convolution operator to form a 1D-EfficientNet-B0 model. The model parameters were adapted and extended by a compound scaling method. An MLP model and a sigmoid function layer were configured to generate a multi-level atrial fibrillation prediction model, which was then deployed on different devices.

Benefits of technology

It improves the feature abundance and accuracy of atrial fibrillation prediction, reduces the difficulty of model development and deployment, and enables rapid model structure expansion on different devices.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123161891A_ABST
    Figure CN123161891A_ABST
Patent Text Reader

Abstract

This invention relates to a method and apparatus for processing an atrial fibrillation prediction model based on pressure pulse waves. The method includes: converting all two-dimensional convolutions in an EfficientNet-B0 model to one-dimensional to obtain a 1D-EfficientNet-B0 model; constructing an atrial fibrillation prediction model M0 based on the modified model; scaling the model using a composite scaling method based on four scaling parameter groups to obtain four scaled versions of the model; training M0 and each scaled version; determining the optimal parameters based on the prediction accuracy; and performing two / three / four-level model scaling based on the optimal parameters to obtain M0. 2 / 3 / 4 and for M 2 / 3 / 4 The five-level prediction model is trained and deployed on its respective pressure pulse wave measurement or monitoring device. On each device, the currently deployed atrial fibrillation prediction model is used to predict persistent atrial fibrillation events. This invention can improve prediction accuracy and reduce the difficulty of model deployment.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of artificial intelligence technology, and in particular to a processing method and apparatus for an atrial fibrillation prediction model based on pressure pulse waves. Background Technology

[0002] Atrial fibrillation is a common arrhythmia, subdivided into paroxysmal atrial fibrillation and persistent atrial fibrillation. Persistent atrial fibrillation leads to the loss of effective atrial contraction, absolute irregularity of ventricular rhythm, significantly increased hemodynamic disturbances, and a particularly high risk of stroke. Therefore, effective detection of persistent atrial fibrillation in routine medical or monitoring settings is of significant clinical importance in reducing cardiovascular and cerebrovascular events.

[0003] Currently, using the pressure pulse wave generated during blood pressure measurement for persistent atrial fibrillation (AF) detection is one of the effective ways to achieve large-scale early screening. Existing technologies for AF detection based on pressure pulse waves often employ the following approach: extracting time-frequency domain features from the pulse wave signal, and then combining them with traditional machine learning models such as logistic regression, support vector machines, or decision trees for classification. This conventional technique has several problems: 1) In persistent AF, the complex features of the pulse wave are difficult to fully represent using manually designed time-frequency domain features, leading to a bottleneck in detection accuracy. 2) Existing technologies only design a single model for a single type of device, lacking joint optimization considerations for structural parameters such as network depth and width. Deploying the model to different devices requires manually redesigning the model structure, resulting in reduced development efficiency and difficulties in model deployment.

[0004] In view of this, we propose an improved scheme: 1) By replacing the two-dimensional convolution operator with a one-dimensional convolution operator, the EfficientNet model used for two-dimensional graph feature encoding is transformed into a 1D-EfficientNet model capable of feature encoding one-dimensional signals. The deep convolutional network of the model can automatically learn the optimal feature representation end-to-end from the original signal, avoiding the limitations of manual feature design. 2) The Compound Scaling Method of the EfficientNet model is introduced to automatically expand the 1-4 level model structure corresponding to the zero-level model M0. Before model expansion, the three typical parameters of the method (depth scaling parameter α, width scaling parameter β, and resolution scaling parameter γ) are adapted to the one-dimensional signal. Compared with the traditional scheme, the above improved scheme can not only improve feature abundance and prediction accuracy, but also quickly complete the expansion of multiple versions of the model structure based on the Compound Scaling Method, thereby improving development efficiency, reducing development difficulty, and reducing model deployment difficulty. How to implement the above improved scheme is the technical problem that this invention needs to solve. Summary of the Invention

[0005] The purpose of this invention is to address the shortcomings of existing technologies by providing a processing method, apparatus, electronic device, and computer-readable storage medium for an atrial fibrillation prediction model based on pressure pulse waves. This invention first converts all two-dimensional convolution operators in the EfficientNet-B0 model into one-dimensional convolution operators to obtain a 1D-EfficientNet-B0 model. Then, it configures the 1D-EfficientNet-B0 model with a corresponding MLP model and a sigmoid function layer to form a zero-level atrial fibrillation prediction model M0. This model is used to predict the probability of persistent atrial fibrillation events based on the pressure pulse wave signal input to the model. Next, one-dimensional signal adaptation is performed on the scaling parameter constraints corresponding to the composite scaling method: the traditional... Reset to The resolution scaling parameter γ was fixed (γ=1); four scaling parameter groups to be compared were set under the new constraints; and the 1D-EfficientNet-B0 model was scaled first-level according to each scaling parameter group using a composite scaling method. A corresponding MLP model and sigmoid function layer were configured for each scaled EfficientNet model to form the corresponding scaled prediction model. Then, M0 and each scaled prediction model were trained. Then, the scaling parameter group with the highest prediction accuracy among the four scaling parameter groups is selected as the optimal parameter group. The scaled prediction model corresponding to the optimal parameter group is used as the first-level atrial fibrillation prediction model M1. Based on the optimal parameter group, corresponding second / third / fourth-level scaling ratios are generated. The 1D-EfficientNet-B0 model is scaled to the second / third / fourth level using a composite scaling method based on the second / third / fourth-level scaling parameter groups to obtain the 1D-EfficientNet-B1 / 2 / 3 / 4 models. The corresponding MLP model and sigmoid function layer are then configured for the 1D-EfficientNet-B1 / 2 / 3 / 4 models to form the corresponding second / third / fourth-level atrial fibrillation prediction models M1. 2 / 3 / 4 and for M 2 / 3 / 4 Training is performed. Then, based on the parameter scale of each model level, the five levels M0, M1, M2, M3, and M4 are deployed on their respective corresponding pressure pulse wave measurement or monitoring devices; and persistent atrial fibrillation events are predicted on each device using the currently deployed model. This invention not only improves feature abundance and prediction accuracy, but also enables rapid automatic expansion of multiple model structures based on a composite scaling method, thereby improving development efficiency, reducing development difficulty, and simplifying model deployment.

[0006] To achieve the above objectives, a first aspect of the present invention provides a method for processing an atrial fibrillation prediction model based on a pressure pulse wave, the method comprising: All two-dimensional convolution operators in the EfficientNet-B0 model are replaced with corresponding one-dimensional convolution operators to obtain the corresponding 1D-EfficientNet-B0 model; and the 1D-EfficientNet-B0 model is configured with a corresponding MLP model and a sigmoid function layer to form a zero-level atrial fibrillation prediction model M0; the atrial fibrillation prediction model M0 is used to predict the probability of persistent atrial fibrillation events based on the input signal X and output the corresponding prediction probability P; the signal X is a pressure pulse wave signal obtained by a sphygmomanometer, including L sig Data from sampling points x i 1 ≤ index i ≤ total number of sampling points L sig L sig =T sig ×f sig T sig f sig These are the preset signal duration and signal sampling frequency, respectively; the predicted probability P is the probability of a persistent atrial fibrillation event occurring, and its value is between 0 and 1. The scaling parameter constraints of the composite scaling method for the EfficientNet model are reset; four scaling parameter groups are set with the fixed resolution scaling parameter γ being 1; and the 1D-EfficientNet-B0 model is scaled first-level according to the composite scaling method based on each scaling parameter group to obtain the corresponding scaled version of the EfficientNet model; and each scaled version of the EfficientNet model is configured with a corresponding MLP model and a sigmoid function layer to form the corresponding scaled prediction model. The atrial fibrillation prediction model M0 and each of the scaled prediction models are used as the current prediction model; and the current prediction model is trained based on a preset labeled dataset; the labeled dataset includes multiple first data records; the first data record includes the signal X and the label probability P. tag The label probability P tag The value is 1 or 0. A value of 1 indicates that a persistent atrial fibrillation event occurred during the time period of the current signal X, while a value of 0 indicates that no persistent atrial fibrillation event occurred during the time period of the current signal X. The scaling parameter group with the highest prediction accuracy among the four scaling parameter groups is taken as the optimal parameter group; and the corresponding second-level, third-level, and fourth-level scaling ratios are generated based on the optimal parameter group; the scaled prediction model corresponding to the optimal parameter group is taken as the first-level atrial fibrillation prediction model M1; and the 1D-EfficientNet-B0 model is scaled in the second, third, and fourth levels according to the composite scaling method based on the second-level, third-level, and fourth-level scaling parameter groups, and the corresponding MLP model and sigmoid function layer are configured for each level of scaling model to form second-level, third-level, and fourth-level atrial fibrillation prediction models M2, M3, and M4; Use atrial fibrillation prediction model M2, M3, or M4 as the current prediction model; and train the current prediction model based on the labeled dataset; Based on the parameter scale of each level of the model, five levels of atrial fibrillation prediction models M0, M1, M2, M3 and M4 are deployed on their respective pressure pulse wave measurement or monitoring devices; and persistent atrial fibrillation events are predicted on each pressure pulse wave measurement or monitoring device using the currently deployed atrial fibrillation prediction model.

[0007] Preferably, the three types of scaling parameters corresponding to the composite scaling method of the EfficientNet model include depth scaling parameter α, width scaling parameter β, and resolution scaling parameter γ; The reset scaling parameter constraints are as follows: , , , ; The four scaling parameter groups include the first scaling parameter group. Second scaling parameter group Third scaling parameter group and the fourth scaling parameter group ; Each of the four scaling parameter groups corresponds to a set of first-level depth scaling ratios. Level 1 width scaling ratio and first-level resolution scaling ; The first scaling parameter group corresponding to , , ; The second scaling parameter group corresponds to , , ; The third scaling parameter group corresponds to , , ; The fourth scaling parameter group corresponds to , , ; The optimal parameter set is denoted as the corresponding ; The secondary scaling ratio corresponding to the optimal parameter set is determined by a corresponding secondary depth scaling ratio. Secondary width scaling ratio Secondary resolution scaling composition; The optimal parameter set corresponds to a set of three-level scaling ratios, which are composed of a set of corresponding three-level depth scaling ratios. Three-level width scaling ratio Three-level resolution scaling composition; The optimal parameter set corresponds to a set of four-level scaling ratios, which are composed of a set of corresponding four-level depth scaling ratios. Four-level width scaling ratio Four-level resolution scaling .

[0008] Preferably, the atrial fibrillation prediction model M0 is formed by sequentially connecting the 1D-EfficientNet-B0 model, the first MLP model, and the first sigmoid function layer; the atrial fibrillation prediction model M1 is formed by sequentially connecting the 1D-EfficientNet-B1 model, the second MLP model, and the second sigmoid function layer; the atrial fibrillation prediction model M2 is formed by sequentially connecting the 1D-EfficientNet-B2 model, the third MLP model, and the third sigmoid function layer; the atrial fibrillation prediction model M3 is formed by sequentially connecting the 1D-EfficientNet-B3 model, the fourth MLP model, and the fourth sigmoid function layer; and the atrial fibrillation prediction model M4 is formed by sequentially connecting the 1D-EfficientNet-B4 model, the fifth MLP model, and the fifth sigmoid function layer. The first MLP model, the second MLP model, the third MLP model, the fourth MLP model, and the fifth MLP model are each composed of two fully connected activation layers and one fully connected layer connected sequentially. Each fully connected activation layer is composed of a set of corresponding fully connected layers and ReLU activation layers connected sequentially. In the atrial fibrillation prediction models M0, M1, M2, M3, or M4, the corresponding 1D-EfficientNet-B0, 1D-EfficientNet-B1, 1D-EfficientNet-B2, 1D-EfficientNet-B3, or 1D-EfficientNet-B4 models are used to extract features from the signal X to obtain corresponding feature vectors H0, H1, H2, H3, or H4; the corresponding first MLP model... The first, second, third, fourth, or fifth MLP models are used to map the corresponding feature vectors H0, H1, H2, H3, or H4 to a corresponding feature scalar z0, z1, z2, z3, or z4; the corresponding first, second, third, fourth, or fifth sigmoid function layers are used to substitute the corresponding feature scalar z0, z1, z2, z3, or z4 into the sigmoid function to calculate the corresponding prediction probability P and output it. Each of the scaled prediction models is formed by sequentially connecting its corresponding scaled EfficientNet model, MLP model, and sigmoid function layer; each of the scaled prediction models' MLP models is formed by sequentially connecting two fully connected activation layers and one fully connected layer, and each fully connected activation layer is formed by sequentially connecting a set of corresponding fully connected layers and ReLU activation layers. In each of the scaled prediction models, the corresponding scaled EfficientNet model is used to extract features from the signal X to obtain the corresponding feature vector H; the corresponding MLP model is used to map the corresponding feature vector H to a corresponding feature scalar z; and the corresponding sigmoid function layer is used to substitute the corresponding feature scalar z into the Sigmoid function to calculate the corresponding prediction probability P and output it.

[0009] Preferably, training the current prediction model based on a preset label dataset specifically includes: Step 41: Based on a preset first segmentation ratio, the label dataset is randomly divided into two subsets as the corresponding first training set and first evaluation set; Wherein, both the first training set and the first evaluation set are composed of multiple first data records; the ratio of the total number of records in the first training set and the first evaluation set satisfies the first segmentation ratio; Step 42: Randomly divide the first training set into multiple first subsets; randomly divide each first subset into multiple first batches; take the first first subset as the current subset; and take the first first batch of the current subset as the current batch. Each of the first subsets includes N1 of the first batches; each of the first batches includes N2 of the first data records; N1 and N2 are the preset total number of batches and the total number of records in a single batch, respectively. Step 43: Take each of the first data records in the current batch as the current record; input the signal X of the current record into the current prediction model for processing, and combine the prediction probability P output by the current model with the label probability P of the current record. tag Let them be the corresponding prediction probabilities. and label probability And by the current predicted probability and the label probability Form a corresponding first predicted label pair; and substitute the N2 first predicted label pairs of the current batch into the preset model loss function L. M ; and based on a preset model optimizer, it moves towards making the model loss function L M The direction that reaches the minimum value modulates the model parameters of the current prediction model in one round; Where 1 ≤ index j ≤ N2; The model loss function L M for: ; The model optimizer is either the AdamW optimizer or the Adam optimizer; Step 44: Identify whether the current batch is the last first batch of the current subset; if yes, proceed to step 45; if no, take the next first batch of the current subset as the new current batch and return to step 43. Step 45: Take each of the first data records in the first evaluation set as the current record; input the signal X of the current record into the current prediction model for processing, and combine the prediction probability P output by the current model with the label probability P of the current record. tag Form a corresponding second predicted label pair; and evaluate the accuracy based on all the obtained second predicted label pairs to obtain the corresponding accuracy Acc and save it; Step 46: Identify whether the current subset is the last first subset of the first training set; if not, take the next first subset of the first training set as the new current subset, take the first first batch of the current subset as the new current batch, and return to step 43; if yes, stop training and take the maximum accuracy Acc as the prediction accuracy corresponding to the current prediction model.

[0010] Preferably, the step of selecting the scaling parameter group with the highest prediction accuracy among the four scaling parameter groups as the optimal parameter group specifically includes: The scaling prediction model with the highest prediction accuracy among the four scaling prediction models is selected as the current preferred model; and the scaling parameter group corresponding to the current preferred model among the four scaling parameter groups is selected as the optimal parameter group.

[0011] Preferably, the device type of the pressure pulse wave measurement or monitoring device includes low-power embedded blood pressure monitors, smart blood pressure monitors, home health terminals, edge computing gateways, cloud or data center servers; The atrial fibrillation prediction model M0 is deployed on the low-power embedded blood pressure monitor; The atrial fibrillation prediction model M1 is deployed on the smart blood pressure monitor; The atrial fibrillation prediction model M2 is deployed on the home health terminal; Atrial fibrillation prediction model M3 is deployed on the edge computing gateway; The atrial fibrillation prediction model M4 is deployed on the cloud or data center server.

[0012] Preferably, the prediction of persistent atrial fibrillation events using the currently deployed atrial fibrillation prediction model on each pressure pulse wave measurement or monitoring device specifically includes: When each of the aforementioned pressure pulse wave measurement or monitoring devices obtains a segment of pressure pulse wave signal through measurement or data reception, it takes the current pressure pulse wave signal as the current signal; and uses the signal duration T as the current signal. sig The current signal is sliced ​​according to a preset sliding step size to obtain one or more corresponding slice signals, where 0 < sliding step size < signal duration T. sig ; and according to the signal sampling frequency f sigEach of the slice signals is resampled to obtain the corresponding signal X; each of the signals X is input into the currently deployed atrial fibrillation prediction model for processing to obtain the corresponding prediction probability P; the total number of slice signals whose prediction probability P is greater than a preset prediction probability threshold is counted to obtain the total number of positive slices; the total number of slice signals of the current signal is counted; and the corresponding positive ratio is calculated as (total number of positive slices / total number of slice signals) × 100%; when the current positive ratio is greater than a preset positive ratio threshold, a corresponding persistent atrial fibrillation event alarm signal is generated and sent to a preset alarm interface; Wherein, the alarm interface corresponding to the low-power embedded blood pressure timer when the pressure pulse wave measurement or monitoring device is the audible and visual alarm interface of the current blood pressure monitor; the alarm interface corresponding to the smart blood pressure timer when the pressure pulse wave measurement or monitoring device is the audible and visual alarm interface and / or alarm information prompt interface of the current blood pressure monitor; the alarm interface corresponding to the home health terminal when the pressure pulse wave measurement or monitoring device is the audible and visual alarm interface and / or alarm information prompt interface of the current terminal; the alarm interface corresponding to the edge computing gateway when the pressure pulse wave measurement or monitoring device is the alarm information storage and / or sending interface pre-set on the current device; and the alarm interface corresponding to the cloud or data center server when the pressure pulse wave measurement or monitoring device is the alarm information storage and / or notification interface pre-set on the current server.

[0013] A second aspect of the present invention provides an apparatus for implementing the processing method of the atrial fibrillation prediction model based on pressure pulse waves described in the first aspect above. The apparatus includes: a model building module, a first model scaling module, a first model training module, a second model scaling module, a second model training module, and a model deployment and application module. The model building module is used to replace all the two-dimensional convolution operators in the EfficientNet-B0 model with corresponding one-dimensional convolution operators to obtain the corresponding 1D-EfficientNet-B0 model; and to configure the 1D-EfficientNet-B0 model with a corresponding MLP model and a sigmoid function layer to form a zero-level atrial fibrillation prediction model M0; the atrial fibrillation prediction model M0 is used to predict the probability of occurrence of persistent atrial fibrillation events based on the input signal X and output the corresponding prediction probability P; the signal X is a pressure pulse wave signal obtained by a sphygmomanometer, including L sig Data from sampling points x i 1 ≤ index i ≤ total number of sampling points L sig L sig =T sig ×f sig T sig f sigThese are the preset signal duration and signal sampling frequency, respectively; the predicted probability P is the probability of a persistent atrial fibrillation event occurring, and its value is between 0 and 1. The first model scaling module is used to reset the scaling parameter constraints corresponding to the composite scaling method of the EfficientNet model; and set four scaling parameter groups under the premise that the fixed resolution scaling parameter γ is 1; and according to the composite scaling method, perform a first-level scaling on the 1D-EfficientNet-B0 model based on each scaling parameter group to obtain the corresponding scaled version of the EfficientNet model; and configure the corresponding MLP model and sigmoid function layer for each scaled version of the EfficientNet model to form the corresponding scaled prediction model. The first model training module is used to take the atrial fibrillation prediction model M0 and each of the scaled prediction models as the current prediction model; and to train the current prediction model based on a preset label dataset; the label dataset includes multiple first data records; the first data record includes the signal X and the label probability P. tag The label probability P tag The value is 1 or 0. A value of 1 indicates that a persistent atrial fibrillation event occurred during the time period of the current signal X, while a value of 0 indicates that no persistent atrial fibrillation event occurred during the time period of the current signal X. The second model scaling module is used to select the scaling parameter group with the highest prediction accuracy among the four scaling parameter groups as the optimal parameter group; and generate corresponding second-level, third-level, and fourth-level scaling ratios based on the optimal parameter group; and use the scaled prediction model corresponding to the optimal parameter group as the first-level atrial fibrillation prediction model M1; and perform second-level, third-level, and fourth-level scaling on the 1D-EfficientNet-B0 model based on the second-level, third-level, and fourth-level scaling parameter groups according to the composite scaling method, and configure the corresponding MLP model and sigmoid function layer for each level of scaling model to form second-level, third-level, and fourth-level atrial fibrillation prediction models M2, M3, and M4; The second model training module is used to use atrial fibrillation prediction model M2, M3, or M4 as the current prediction model; and to train the current prediction model based on the labeled dataset; The model deployment and application module deploys five levels of atrial fibrillation prediction models M0, M1, M2, M3, and M4 on their respective pressure pulse wave measurement or monitoring devices based on the parameter scale of each level of model; and performs persistent atrial fibrillation event prediction on each pressure pulse wave measurement or monitoring device using the currently deployed atrial fibrillation prediction model.

[0014] A third aspect of the present invention provides an electronic device, including: a memory, a processor, and a transceiver; The processor is used to couple with the memory, read and execute instructions in the memory to implement the steps of the method described in the first aspect above; The transceiver is coupled to the processor, and the processor controls the transceiver to send and receive messages.

[0015] A fourth aspect of the present invention provides a computer-readable storage medium storing computer instructions that, when executed by a computer, cause the computer to perform the instructions described in the first aspect.

[0016] This invention provides a processing method, apparatus, electronic device, and computer-readable storage medium for an atrial fibrillation prediction model based on pressure pulse waves. As described above, this invention first converts all two-dimensional convolution operators in the EfficientNet-B0 model to one-dimensional convolution operators to obtain a 1D-EfficientNet-B0 model. Then, it configures a corresponding MLP model and a sigmoid function layer to form a zero-level atrial fibrillation prediction model M0. This model is used to predict the probability of persistent atrial fibrillation events based on the pressure pulse wave signal input to the model. Next, one-dimensional signal adaptation is performed on the scaling parameter constraints corresponding to the composite scaling method: the traditional... Reset to The resolution scaling parameter γ was fixed (γ=1); four scaling parameter groups to be compared were set under the new constraints; and the 1D-EfficientNet-B0 model was scaled first-level according to each scaling parameter group using a composite scaling method. A corresponding MLP model and sigmoid function layer were configured for each scaled EfficientNet model to form the corresponding scaled prediction model. Then, M0 and each scaled prediction model were trained. Then, the scaling parameter group with the highest prediction accuracy among the four scaling parameter groups is selected as the optimal parameter group. The scaled prediction model corresponding to the optimal parameter group is used as the first-level atrial fibrillation prediction model M1. Based on the optimal parameter group, corresponding second / third / fourth-level scaling ratios are generated. The 1D-EfficientNet-B0 model is scaled to the second / third / fourth level using a composite scaling method based on the second / third / fourth-level scaling parameter groups to obtain the 1D-EfficientNet-B1 / 2 / 3 / 4 models. The corresponding MLP model and sigmoid function layer are then configured for the 1D-EfficientNet-B1 / 2 / 3 / 4 models to form the corresponding second / third / fourth-level atrial fibrillation prediction models M1. 2 / 3 / 4 and for M 2 / 3 / 4Training is performed. Then, based on the parameter scale of each model level, the five levels M0, M1, M2, M3, and M4 are deployed on their respective corresponding pressure pulse wave measurement or monitoring devices; and persistent atrial fibrillation events are predicted on each device using the currently deployed model. This embodiment of the invention not only improves feature abundance and prediction accuracy, but also enables rapid automatic expansion of multiple model structures based on a composite scaling method, improving development efficiency, reducing development difficulty, and simplifying model deployment. Attached Figure Description

[0017] Figure 1 This is a schematic diagram of a processing method for an atrial fibrillation prediction model based on pressure pulse waves provided in Embodiment 1 of the present invention; Figure 2 This is a schematic diagram of the modification of the 1D-EfficientNet-B0 model provided in Embodiment 1 of the present invention; Figure 3 This is a schematic diagram of the structure of the five-level atrial fibrillation prediction model provided in Embodiment 1 of the present invention; Figure 4 This is a module structure diagram of a processing device for an atrial fibrillation prediction model based on pressure pulse waves, provided in Embodiment 2 of the present invention. Figure 5 This is a schematic diagram of the structure of an electronic device provided in Embodiment 3 of the present invention. Detailed Implementation

[0018] To make the objectives, technical solutions, and advantages of this invention clearer, the invention will be further described in detail below with reference to the accompanying drawings. Obviously, the described embodiments are merely some embodiments of this invention, and not all embodiments. Based on the embodiments of this invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this invention.

[0019] Embodiment 1 of the present invention provides a processing method for an atrial fibrillation prediction model based on pressure pulse waves, such as... Figure 1 The schematic diagram shows a processing method for an atrial fibrillation prediction model based on pressure pulse waves provided in Embodiment 1 of the present invention. The method mainly includes the following steps: Step 1: Replace all the two-dimensional convolution operators in the EfficientNet-B0 model with the corresponding one-dimensional convolution operators to obtain the corresponding 1D-EfficientNet-B0 model; and configure the 1D-EfficientNet-B0 model with the corresponding MLP model and sigmoid function layer to form a zero-level atrial fibrillation prediction model M0.

[0020] Here, the model structure of the EfficientNet-B0 model in this embodiment of the invention has been disclosed in the published technical document A, "EfficientNet: Rethinking Model Scaling for Convolutional Neural Networks"; the specific structure is as follows: Figure 2 The schematic diagram of the modification of the 1D-EfficientNet-B0 model provided in Embodiment 1 of the present invention is shown, which consists of 9 encoding stages connected in series: 1) Stage 1: One 2D-Conv module with a 3×3 convolutional kernel; 2) Two-stage: One 2D-MBConv1 module with a 3×3 convolutional kernel; 3) Three-stage: Two 2D-MBConv6 modules with 3×3 convolutional kernels; 4) Four stages: 2D-MBConv6 modules with two 5×5 convolutional kernels; 5) Five stages: 3 2D-MBConv6 modules with 3×3 convolutional kernels; 6) Six stages: 3 2D-MBConv6 modules with 5×5 convolutional kernels; 7) Seven stages: 4 2D-MBConv6 modules with 3×3 convolutional kernels; 8) 8 stages: 1 2D-MBConv6 module with a 3×3 convolutional kernel; 9) Stage 9: One 2D-Conv module with a convolution kernel k of 1×1.

[0021] The improved 1D-EfficientNet-B0 model in this embodiment of the invention maintains the same hierarchical and framework structure as the original EfficientNet-B0 model, except that all two-dimensional convolution operators are replaced with corresponding one-dimensional convolution operators, such as... Figure 2 As shown: 1) Stage 1: One 1D-Conv module with a kernel k of 3; 2) Two-stage: One 1D-MBConv1 module with a kernel k of 3; 3) Three-stage: 2 1D-MBConv6 modules with 3 convolutional kernels; 4) Four stages: 2 1D-MBConv6 modules with 5 kernels each; 5) Five stages: 3 1D-MBConv6 modules with 3 convolutional kernels k=3; 6) Six stages: 3 1D-MBConv6 modules with 5 convolutional kernels; 7) Seven stages: 4 1D-MBConv6 modules with 3 convolutional kernels; 8) 8 stages: 1 D-MBConv6 module with a kernel k of 3; 9) Stage 9: 1D-Conv module with kernel k=1.

[0022] It should be noted that the 1D-Conv module and 2D-Conv module in the embodiments of the present invention are corresponding one-dimensional and two-dimensional convolution modules; MBConv1 and MBConv6 are mobile inverted bottleneck convolution (MBConv) modules in the EfficientNet model with expansion ratios of 1 and 6, respectively.

[0023] The atrial fibrillation prediction model M0 in this embodiment of the invention is used to predict the probability of persistent atrial fibrillation events based on the input signal X and output the corresponding predicted probability P. For example... Figure 3 The diagram shows the structure of the five-level atrial fibrillation prediction model provided in Embodiment 1 of the present invention.

[0024] In this embodiment of the invention, signal X is a pressure pulse wave signal obtained by a sphygmomanometer, including L sig Data from sampling points x i Where 1 ≤ index i ≤ total number of sampling points L sig L sig =T sig ×f sig T sig f sig These are the preset signal duration and signal sampling frequency, respectively.

[0025] In this embodiment of the invention, the predicted probability P is the probability of a persistent atrial fibrillation event occurring within the time period corresponding to signal X, and its value is between 0 and 1.

[0026] like Figure 3 As shown, the atrial fibrillation prediction model M0 in this embodiment of the invention is composed of a 1D-EfficientNet-B0 model, a first MLP model, and a first sigmoid function layer connected sequentially. The first MLP model is composed of two fully connected activation layers and one fully connected layer connected sequentially, and each fully connected activation layer is composed of a set of corresponding fully connected layers and ReLU activation layers connected sequentially.

[0027] In the atrial fibrillation prediction model M0, the 1D-EfficientNet-B0 model is used to extract features from the signal X to obtain the corresponding feature vector H0; the first MLP model is used to map the corresponding feature vector H0 to a corresponding feature scalar z0; the first sigmoid function layer is used to substitute the corresponding feature scalar z0 into the sigmoid function to calculate the corresponding prediction probability P and output it.

[0028] Step 2: Reset the scaling parameter constraints corresponding to the composite scaling method of the EfficientNet model; set four scaling parameter groups with the fixed resolution scaling parameter γ set to 1; and perform a first-level scaling of the 1D-EfficientNet-B0 model based on each scaling parameter group according to the composite scaling method to obtain the corresponding scaled version of the EfficientNet model; and configure the corresponding MLP model and sigmoid function layer for each scaled version of the EfficientNet model to form the corresponding scaled prediction model.

[0029] Here, as known from publicly available technical document A, the three types of scaling parameters corresponding to the composite scaling method of the EfficientNet model include: depth scaling parameter α, width scaling parameter β, and resolution scaling parameter γ. For the 2D-EfficientNet model, the scaling parameter constraints for these three types of scaling parameters are: , , , .

[0030] Since the embodiments of this invention have already performed one-dimensional convolutional transformation on the EfficientNet model, the scaling parameter constraints for these three types of scaling parameters also need to be adapted for one-dimensional convolution. The modified scaling parameter constraints of this invention are as follows: , , , Among them, the resolution scaling parameter γ is fixed at 1.

[0031] After updating the scaling parameter constraints, the depth scaling parameter α and width scaling parameter β should, in principle, be re-identified. To improve identification efficiency, this embodiment of the invention first provides four sets of scaling parameters, as shown below. Subsequently, only the optimal one of these four scaling parameter sets needs to be selected.

[0032] 1) First scaling parameter group ; 2) Second scaling parameter group ; 3) Third scaling parameter group ; 4) Fourth scaling parameter group .

[0033] The correspondences between the depth scaling parameter α and the depth scaling ratio d, the width scaling parameter β and the width scaling ratio, and the resolution scaling parameter γ and the resolution scaling ratio disclosed in publicly available technical document A are as follows: each of the above four scaling parameter groups corresponds to a set of first-level depth scaling ratios. Level 1 width scaling ratio and first-level resolution scaling ; The first scaling parameter group corresponds to , , ; The second scaling parameter group corresponds to , , ; The third scaling parameter group corresponds to , , ; The fourth scaling parameter group corresponds to , , .

[0034] After obtaining the above four sets of depth + width + resolution scaling ratios, the network depth + width and resolution of each stage of the 1D-EfficientNet-B0 model can be automatically expanded by using a composite scaling method, thereby obtaining the corresponding four scaled versions of the EfficientNet model.

[0035] Each scaled prediction model in this embodiment of the invention is formed by sequentially connecting its corresponding scaled EfficientNet model, MLP model, and sigmoid function layer. Each scaled prediction model's MLP model is composed of two fully connected activation layers and one fully connected layer connected sequentially. Each fully connected activation layer is composed of a set of corresponding fully connected layers and ReLU activation layers connected sequentially.

[0036] In each scaled prediction model of this invention, the corresponding scaled EfficientNet model is used to extract features from signal X to obtain the corresponding feature vector H; the corresponding MLP model is used to map the corresponding feature vector H to a corresponding feature scalar z; and the corresponding sigmoid function layer is used to substitute the corresponding feature scalar z into the Sigmoid function to calculate the corresponding prediction probability P and output it.

[0037] Step 3: Use the atrial fibrillation prediction model M0 and each scaled prediction model as the current prediction model; and train the current prediction model based on the preset labeled dataset.

[0038] Here, the label dataset in this embodiment of the invention is a pre-set dataset. The signal X of this dataset can be collected from a public database or obtained by collecting user signals after obtaining user authorization. All label probabilities in this dataset can be obtained through expert annotation or other machine annotation methods. It should be noted that the ratio of positive / negative samples with a label probability of 1 / 0 in this label dataset should be maintained within a pre-set reasonable ratio range to avoid large-sample training bias.

[0039] The label dataset of this embodiment includes multiple first data records. Each first data record includes a signal X and a label probability P. tag Label probability P tag The value is either 1 or 0. A value of 1 indicates that a persistent atrial fibrillation event occurred during the current signal X period, while a value of 0 indicates that no persistent atrial fibrillation event occurred during the current signal X period.

[0040] The current step 3 specifically includes: Step 31: Use the atrial fibrillation prediction model M0 and each scaled version of the prediction model as the current prediction model.

[0041] Step 32: Train the current prediction model based on the preset label dataset.

[0042] Specifically, it includes: Step 321: Based on the preset first segmentation ratio, the label dataset is randomly divided into two subsets as the corresponding first training set and first evaluation set.

[0043] Here, the first segmentation ratio in this embodiment of the invention is a preset ratio parameter, such as 8:2. Both the first training set and the first evaluation set consist of multiple first data records; the ratio of the total number of records in the first training set and the first evaluation set satisfies the first segmentation ratio.

[0044] Step 322: Randomly divide the first training set into multiple first subsets; randomly divide each first subset into multiple first batches; take the first first subset as the current subset; and take the first first batch of the current subset as the current batch.

[0045] Here, each first subset in this embodiment of the invention includes N1 first batches; each first batch includes N2 first data records; N1 and N2 are the preset total number of batches and the total number of records per batch, respectively.

[0046] Step 323: Take each first data record of the current batch as the current record; input the signal X of the current record into the current prediction model for processing, and combine the prediction probability P output by the model with the label probability P of the current record. tag Let them be the corresponding prediction probabilities. and label probability And based on the current predicted probability and label probability Form a corresponding first predicted label pair; and substitute the N2 first predicted label pairs of the current batch into the preset model loss function L. M ; and based on the preset model optimizer, it moves towards making the model loss function L M The direction that reaches the minimum value modulates the model parameters of the current prediction model in one round.

[0047] Where 1 ≤ index j ≤ N2.

[0048] The model loss function L in this embodiment of the invention M for: .

[0049] The model optimizer in this embodiment of the invention is the AdamW optimizer or the Adam optimizer.

[0050] Step 324: Identify whether the current batch is the last first batch of the current subset; if yes, proceed to step 325; if no, take the next first batch of the current subset as the new current batch and return to step 323.

[0051] Step 325: Take each first data record of the first evaluation set as the current record; input the signal X of the current record into the current prediction model for processing, and combine the prediction probability P output by the model with the label probability P of the current record. tag Form a corresponding second predicted label pair; and evaluate the accuracy based on all the obtained second predicted label pairs to obtain the corresponding accuracy Acc and save it.

[0052] Step 326: Identify whether the current subset is the last first subset of the first training set; if not, take the next first subset of the first training set as the new current subset, take the first batch of the current subset as the new current batch, and return to step 323; if yes, stop training and take the maximum accuracy Acc as the prediction accuracy corresponding to the current prediction model.

[0053] Step 4: Select the scaling parameter group with the highest prediction accuracy among the four scaling parameter groups as the optimal parameter group; generate the corresponding second-level, third-level, and fourth-level scaling ratios based on the optimal parameter group; use the scaled prediction model corresponding to the optimal parameter group as the first-level atrial fibrillation prediction model M1; and perform second-level, third-level, and fourth-level scaling on the 1D-EfficientNet-B0 model based on the second-level, third-level, and fourth-level scaling parameter groups using the composite scaling method, and configure the corresponding MLP model and sigmoid function layer for each level of scaling model to form the second-level, third-level, and fourth-level atrial fibrillation prediction models M2, M3, and M4.

[0054] Specifically, it includes: Step 41: Select the scaling parameter group with the highest prediction accuracy among the four scaling parameter groups as the optimal parameter group.

[0055] Specifically, this includes: selecting the scaling prediction model with the highest prediction accuracy from the four scaling prediction models as the current preferred model; and selecting the scaling parameter group corresponding to the current preferred model from the four scaling parameter groups as the optimal parameter group.

[0056] Here, the optimal parameter set in the embodiments of the present invention is denoted as the corresponding .

[0057] Step 42: Generate the corresponding second-level, third-level, and fourth-level scaling ratios based on the optimal parameter set.

[0058] The optimal parameter set in this embodiment of the invention corresponds to a set of corresponding secondary depth scaling ratios. Secondary width scaling ratio Secondary resolution scaling composition.

[0059] The optimal parameter set in this embodiment of the invention corresponds to a three-level scaling ratio, which is composed of a set of corresponding three-level depth scaling ratios. Three-level width scaling ratio Three-level resolution scaling composition.

[0060] The optimal parameter set in this embodiment of the invention corresponds to a set of four-level scaling ratios, which are based on a set of corresponding four-level depth scaling ratios. Four-level width scaling ratio Four-level resolution scaling .

[0061] Step 43: The scaled prediction model corresponding to the optimal parameter set is used as the first-level atrial fibrillation prediction model M1; and according to the composite scaling method, the 1D-EfficientNet-B0 model is scaled to the second, third and fourth levels based on the second, third and fourth level scaling parameter sets, and the corresponding MLP model and sigmoid function layer are configured for each level of scaling model to form the second, third and fourth level atrial fibrillation prediction models M2, M3 and M4.

[0062] like Figure 3 As shown, the atrial fibrillation prediction model M1 of this invention is formed by sequentially connecting the 1D-EfficientNet-B1 model, the second MLP model, and the second sigmoid function layer; the atrial fibrillation prediction model M2 is formed by sequentially connecting the 1D-EfficientNet-B2 model, the third MLP model, and the third sigmoid function layer; the atrial fibrillation prediction model M3 is formed by sequentially connecting the 1D-EfficientNet-B3 model, the fourth MLP model, and the fourth sigmoid function layer; and the atrial fibrillation prediction model M4 is formed by sequentially connecting the 1D-EfficientNet-B4 model, the fifth MLP model, and the fifth sigmoid function layer.

[0063] The second, third, fourth, and fifth MLP models in this embodiment of the invention are each composed of two fully connected activation layers and one fully connected layer connected sequentially. Each fully connected activation layer is composed of a set of corresponding fully connected layers and ReLU activation layers connected sequentially.

[0064] In the atrial fibrillation prediction models M1, M2, M3, or M4 of this invention, the corresponding 1D-EfficientNet-B1, 1D-EfficientNet-B2, 1D-EfficientNet-B3, or 1D-EfficientNet-B4 models are used to extract features from the signal X to obtain corresponding feature vectors H1, H2, H3, or H4; the corresponding second MLP, third MLP, fourth MLP, or fifth MLP models are used to map the corresponding feature vectors H1, H2, H3, or H4 to a corresponding feature scalar z1, z2, z3, or z4; and the corresponding second sigmoid function layer, third sigmoid function layer, fourth sigmoid function layer, or fifth sigmoid function layer are used to substitute the corresponding feature scalar z1, z2, z3, or z4 into the sigmoid function to calculate the corresponding prediction probability P and output it.

[0065] Step 5: Use atrial fibrillation prediction model M2, M3, or M4 as the current prediction model; and train the current prediction model based on the labeled dataset.

[0066] Here, the training method for atrial fibrillation prediction models M2, M3, or M4 is consistent with step 32 above, and will not be repeated here.

[0067] Step 6: Based on the parameter scale of each level of the model, deploy the five levels of atrial fibrillation prediction models M0, M1, M2, M3 and M4 on their respective pressure pulse wave measurement or monitoring devices; and predict persistent atrial fibrillation events on each pressure pulse wave measurement or monitoring device using the currently deployed atrial fibrillation prediction model.

[0068] Specifically, it includes: Step 61: Based on the parameter scale of each level of the model, deploy the five levels of atrial fibrillation prediction models M0, M1, M2, M3 and M4 on their respective pressure pulse wave measurement or monitoring devices.

[0069] Here, the parameter scale of the five levels of atrial fibrillation prediction models M0, M1, M2, M3 and M4 in the embodiments of the present invention increases progressively, and the computing power resource level of the corresponding deployment equipment also increases progressively.

[0070] The device types for pressure pulse wave measurement or monitoring in this invention include low-power embedded blood pressure monitors, smart blood pressure monitors, home health terminals, edge computing gateways, and cloud or data center servers. The computing power resources of these five types of devices increase progressively.

[0071] The deployment relationship of the five-level model in this embodiment of the invention on these five types of devices is as follows: a. The atrial fibrillation prediction model M0 is deployed on a low-power embedded blood pressure monitor; b. The atrial fibrillation prediction model M1 is deployed on a smart blood pressure monitor; c. The atrial fibrillation prediction model M2 is deployed on a home health terminal; d. The atrial fibrillation prediction model M3 is deployed on an edge computing gateway; e. The atrial fibrillation prediction model M4 is deployed on a cloud or data center server.

[0072] Step 62: Predict persistent atrial fibrillation events using the currently deployed atrial fibrillation prediction model on each pressure pulse wave measurement or monitoring device.

[0073] Specifically, this includes: when each pressure pulse wave measurement or monitoring device obtains a pressure pulse wave signal through measurement or data reception, it uses the current pressure pulse wave signal as the current signal; and uses the signal duration T... sig The signal is sliced ​​according to a preset sliding step size to obtain one or more corresponding slice signals, where 0 < sliding step size < signal duration T. sig ; and according to the signal sampling frequency fsig Each slice signal is resampled to obtain the corresponding signal X; each signal X is input into the currently deployed atrial fibrillation prediction model for processing to obtain the corresponding prediction probability P; the total number of slice signals with prediction probabilities P greater than a preset prediction probability threshold is counted to obtain the total number of positive slices; the total number of slice signals of the current signal is counted; and the corresponding positive ratio is calculated as (total number of positive slices / total number of slice signals) × 100%; when the current positive ratio is greater than a preset positive ratio threshold, a corresponding persistent atrial fibrillation event alarm signal is generated and sent to the preset alarm interface.

[0074] Here, the prediction probability threshold and positive ratio threshold in this embodiment of the invention are two pre-set threshold parameters that can be customized based on application requirements.

[0075] It should be noted that: when the pressure pulse wave measurement or monitoring device is a low-power embedded blood pressure timer, the alarm interface is the audible and visual alarm interface of the current blood pressure timer; when the pressure pulse wave measurement or monitoring device is a smart blood pressure timer, the alarm interface is the audible and visual alarm interface and / or alarm information prompt interface of the current blood pressure timer; when the pressure pulse wave measurement or monitoring device is a home health terminal, the alarm interface is the audible and visual alarm interface and / or alarm information prompt interface of the current terminal; when the pressure pulse wave measurement or monitoring device is an edge computing gateway, the alarm interface is the alarm information storage and / or transmission interface pre-set on the current device; when the pressure pulse wave measurement or monitoring device is a cloud or data center server, the alarm interface is the alarm information storage and / or notification interface pre-set on the current server.

[0076] Figure 4 This is a module structure diagram of a processing device for an atrial fibrillation prediction model based on pressure pulse waves provided in Embodiment 2 of the present invention. This device can be a terminal device or server implementing the aforementioned method embodiments, or it can be a device that enables the aforementioned terminal device or server to implement the aforementioned method embodiments. For example, the device can be a device or chip system of the aforementioned terminal device or server. Figure 4 As shown, the device includes: a model building module 201, a first model scaling module 202, a first model training module 203, a second model scaling module 204, a second model training module 205, and a model deployment and application module 206.

[0077] Model building module 201 is used to replace all two-dimensional convolution operators in the EfficientNet-B0 model with corresponding one-dimensional convolution operators to obtain the corresponding 1D-EfficientNet-B0 model; and to configure the 1D-EfficientNet-B0 model with the corresponding MLP model and sigmoid function layer to form a zero-level atrial fibrillation prediction model M0; the atrial fibrillation prediction model M0 is used to predict the probability of occurrence of persistent atrial fibrillation events based on the input signal X and output the corresponding prediction probability P; the signal X is a pressure pulse wave signal obtained by a sphygmomanometer, including L sig Data from sampling points x i 1 ≤ index i ≤ total number of sampling points L sig L sig =T sig ×f sig T sig f sig These are the preset signal duration and signal sampling frequency, respectively; the predicted probability P is the probability of a persistent atrial fibrillation event occurring, with a value between 0 and 1.

[0078] The first model scaling module 202 is used to reset the scaling parameter constraints corresponding to the composite scaling method of the EfficientNet model; and set four scaling parameter groups under the premise that the fixed resolution scaling parameter γ is 1; and according to the composite scaling method, perform a first-level scaling of the 1D-EfficientNet-B0 model based on each scaling parameter group to obtain the corresponding scaled version of the EfficientNet model; and configure the corresponding MLP model and sigmoid function layer for each scaled version of the EfficientNet model to form the corresponding scaled prediction model.

[0079] The first model training module 203 is used to take the atrial fibrillation prediction model M0 and various scaled prediction models as the current prediction model; and to train the current prediction model based on a preset labeled dataset; the labeled dataset includes multiple first data records; the first data records include the signal X and the label probability P. tag Label probability P tag The value is either 1 or 0. A value of 1 indicates that a persistent atrial fibrillation event occurred during the current signal X period, while a value of 0 indicates that no persistent atrial fibrillation event occurred during the current signal X period.

[0080] The second model scaling module 204 is used to select the scaling parameter group with the highest prediction accuracy among the four scaling parameter groups as the optimal parameter group; and generate corresponding second-level, third-level, and fourth-level scaling ratios based on the optimal parameter group; and use the scaled prediction model corresponding to the optimal parameter group as the first-level atrial fibrillation prediction model M1; and perform second-level, third-level, and fourth-level scaling on the 1D-EfficientNet-B0 model based on the second-level, third-level, and fourth-level scaling parameter groups according to the composite scaling method, and configure the corresponding MLP model and sigmoid function layer for each level of scaling model to form second-level, third-level, and fourth-level atrial fibrillation prediction models M2, M3, and M4.

[0081] The second model training module 205 is used to use atrial fibrillation prediction models M2, M3, or M4 as the current prediction model; and to train the current prediction model based on the labeled dataset.

[0082] The model deployment and application module 206 deploys five levels of atrial fibrillation prediction models M0, M1, M2, M3 and M4 on their respective pressure pulse wave measurement or monitoring devices based on the parameter scale of each level of model; and performs persistent atrial fibrillation event prediction on each pressure pulse wave measurement or monitoring device using the currently deployed atrial fibrillation prediction model.

[0083] The processing device for atrial fibrillation prediction model based on pressure pulse wave provided in this embodiment of the invention can execute the method steps in the above method embodiment. Its implementation principle and technical effect are similar, and will not be repeated here.

[0084] It should be noted that the division of the various modules in the above device is merely a logical functional division. In actual implementation, they can be fully or partially integrated into a single physical entity, or they can be physically separated. Furthermore, these modules can be implemented entirely in software via processing elements; they can be fully implemented in hardware; or some modules can be implemented by processing elements calling software, while others are implemented in hardware. For example, the model building module can be a separate processing element, or it can be integrated into a chip in the above device. Alternatively, it can be stored as program code in the memory of the above device, and its functions can be called and executed by a processing element. The implementation of other modules is similar. Moreover, these modules can be fully or partially integrated together, or they can be implemented independently. The processing element described here can be an integrated circuit with signal processing capabilities. In the implementation process, each step of the above method or each of the above modules can be completed through integrated logic circuits in the hardware of the processor element or through software instructions.

[0085] For example, these modules can be one or more integrated circuits configured to implement the above methods, such as one or more Application Specific Integrated Circuits (ASICs), one or more Digital Signal Processors (DSPs), or one or more Field Programmable Gate Arrays (FPGAs). As another example, when a module is implemented using processing element scheduler code, the processing element can be a general-purpose processor, such as a Central Processing Unit (CPU) or other processor capable of calling program code. Furthermore, these modules can be integrated together as a System-on-a-Chip (SOC).

[0086] In the above embodiments, implementation can be achieved, in whole or in part, through software, hardware, firmware, or any combination thereof. When implemented in software, it can be implemented, in whole or in part, as a computer program product. This computer program product includes one or more computer instructions. When these computer program instructions are loaded and executed on a computer, all or part of the processes or functions described in the foregoing method embodiments are generated. The computer described above can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The aforementioned computer instructions can be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another. For example, the aforementioned computer instructions can be transmitted from one website, computer, server, or data center to another via wired (e.g., coaxial cable, fiber optic, Digital Subscriber Line (DSL)) or wireless (e.g., infrared, wireless, Bluetooth, microwave, etc.) means. The aforementioned computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that integrates one or more available media. The aforementioned available media can be magnetic media (e.g., floppy disks, hard disks, magnetic tapes), optical media (e.g., DVDs), or semiconductor media (e.g., solid-state disks (SSDs)).

[0087] Figure 5 This is a schematic diagram of an electronic device provided in Embodiment 3 of the present invention. This electronic device can be a terminal device or server implementing the methods of the aforementioned embodiments, or it can be a terminal device or server connected to the aforementioned terminal device or server implementing the methods of the aforementioned embodiments. Figure 5As shown, the electronic device may include: a processor 301 (e.g., CPU), a memory 302, and a transceiver 303; the transceiver 303 is coupled to the processor 301, and the processor 301 controls the transmission and reception operations of the transceiver 303. The memory 302 may store various instructions for performing various processing functions and implementing the processing steps described in the foregoing embodiments. Preferably, the electronic device involved in the embodiments of the present invention further includes: a power supply 304, a system bus 305, and a communication port 306. The system bus 305 is used to realize communication connections between components. The communication port 306 is used for communication between the electronic device and other peripherals.

[0088] exist Figure 5 The system bus 305 mentioned can be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc. This system bus can be divided into address bus, data bus, control bus, etc. For ease of representation, it is represented by only one thick line in the figure, but this does not indicate that there is only one bus or one type of bus. The communication interface is used to enable communication between the database access device and other devices (e.g., clients, read-write libraries, and read-only libraries). Memory may include Random Access Memory (RAM) and may also include Non-Volatile Memory, such as at least one disk storage device.

[0089] The processors mentioned above can be general-purpose processors, including central processing units (CPUs), network processors (NPs), graphics processing units (GPUs), etc.; they can also be digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components.

[0090] It should be noted that the embodiments of the present invention also provide a computer-readable storage medium storing instructions that, when run on a computer, cause the computer to perform the methods and processes provided in the above embodiments.

[0091] This invention provides a processing method, apparatus, electronic device, and computer-readable storage medium for an atrial fibrillation prediction model based on pressure pulse waves. As described above, this invention first converts all two-dimensional convolution operators in the EfficientNet-B0 model to one-dimensional convolution operators to obtain a 1D-EfficientNet-B0 model. Then, it configures a corresponding MLP model and a sigmoid function layer to form a zero-level atrial fibrillation prediction model M0. This model is used to predict the probability of persistent atrial fibrillation events based on the pressure pulse wave signal input to the model. Next, one-dimensional signal adaptation is performed on the scaling parameter constraints corresponding to the composite scaling method: the traditional... Reset to The resolution scaling parameter γ was fixed (γ=1); four scaling parameter groups to be compared were set under the new constraints; and the 1D-EfficientNet-B0 model was scaled first-level according to each scaling parameter group using a composite scaling method. A corresponding MLP model and sigmoid function layer were configured for each scaled EfficientNet model to form the corresponding scaled prediction model. Then, M0 and each scaled prediction model were trained. Then, the scaling parameter group with the highest prediction accuracy among the four scaling parameter groups is selected as the optimal parameter group. The scaled prediction model corresponding to the optimal parameter group is used as the first-level atrial fibrillation prediction model M1. Based on the optimal parameter group, corresponding second / third / fourth-level scaling ratios are generated. The 1D-EfficientNet-B0 model is scaled to the second / third / fourth level using a composite scaling method based on the second / third / fourth-level scaling parameter groups to obtain the 1D-EfficientNet-B1 / 2 / 3 / 4 models. The corresponding MLP model and sigmoid function layer are then configured for the 1D-EfficientNet-B1 / 2 / 3 / 4 models to form the corresponding second / third / fourth-level atrial fibrillation prediction models M1. 2 / 3 / 4 and for M 2 / 3 / 4 Training is performed. Then, based on the parameter scale of each model level, the five levels M0, M1, M2, M3, and M4 are deployed on their respective corresponding pressure pulse wave measurement or monitoring devices; and persistent atrial fibrillation events are predicted on each device using the currently deployed model. This embodiment of the invention not only improves feature abundance and prediction accuracy, but also enables rapid automatic expansion of multiple model structures based on a composite scaling method, improving development efficiency, reducing development difficulty, and simplifying model deployment.

[0092] The steps of the methods or algorithms described in conjunction with the embodiments disclosed herein can be implemented in hardware, a software module executed by a processor, or a combination of both. The software module can be located in random access memory (RAM), main memory, read-only memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, removable disk, CD-ROM, or any other form of storage medium known in the art.

[0093] The specific embodiments described above further illustrate the purpose, technical solution, and beneficial effects of the present invention. It should be understood that the above description is only a specific embodiment of the present invention and is not intended to limit the scope of protection of the present invention. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the present invention should be included within the scope of protection of the present invention.

Claims

1. A processing method for an atrial fibrillation prediction model based on pressure pulse waves, characterized in that, The method includes: All two-dimensional convolution operators in the EfficientNet-B0 model are replaced with corresponding one-dimensional convolution operators to obtain the corresponding 1D-EfficientNet-B0 model; and the 1D-EfficientNet-B0 model is configured with a corresponding MLP model and a sigmoid function layer to form a zero-level atrial fibrillation prediction model M0; the atrial fibrillation prediction model M0 is used to predict the probability of persistent atrial fibrillation events based on the input signal X and output the corresponding prediction probability P; the signal X is a pressure pulse wave signal obtained by a sphygmomanometer, including L sig Data from sampling points x i 1 ≤ index i ≤ total number of sampling points L sig L sig =T sig ×f sig T sig f sig These are the preset signal duration and signal sampling frequency, respectively; the predicted probability P is the probability of a persistent atrial fibrillation event occurring, and its value is between 0 and 1. The scaling parameter constraints of the composite scaling method for the EfficientNet model are reset; four scaling parameter groups are set with the fixed resolution scaling parameter γ being 1; and the 1D-EfficientNet-B0 model is scaled first-level according to the composite scaling method based on each scaling parameter group to obtain the corresponding scaled version of the EfficientNet model; and each scaled version of the EfficientNet model is configured with a corresponding MLP model and a sigmoid function layer to form the corresponding scaled prediction model. The atrial fibrillation prediction model M0 and each of the scaled prediction models are used as the current prediction model; and the current prediction model is trained based on a preset labeled dataset; the labeled dataset includes multiple first data records; the first data record includes the signal X and the label probability P. tag The label probability P tag The value is 1 or 0. A value of 1 indicates that a persistent atrial fibrillation event occurred during the time period of the current signal X, while a value of 0 indicates that no persistent atrial fibrillation event occurred during the time period of the current signal X. The scaling parameter group with the highest prediction accuracy among the four scaling parameter groups is taken as the optimal parameter group; and the corresponding second-level, third-level, and fourth-level scaling ratios are generated based on the optimal parameter group; the scaled prediction model corresponding to the optimal parameter group is taken as the first-level atrial fibrillation prediction model M1; and the 1D-EfficientNet-B0 model is scaled in the second, third, and fourth levels according to the composite scaling method based on the second-level, third-level, and fourth-level scaling parameter groups, and the corresponding MLP model and sigmoid function layer are configured for each level of scaling model to form second-level, third-level, and fourth-level atrial fibrillation prediction models M2, M3, and M4; Use atrial fibrillation prediction model M2, M3, or M4 as the current prediction model; and train the current prediction model based on the labeled dataset; Based on the parameter scale of each level of the model, five levels of atrial fibrillation prediction models M0, M1, M2, M3 and M4 are deployed on their respective pressure pulse wave measurement or monitoring devices; and persistent atrial fibrillation events are predicted on each pressure pulse wave measurement or monitoring device using the currently deployed atrial fibrillation prediction model.

2. The processing method for the atrial fibrillation prediction model based on pressure pulse waves according to claim 1, characterized in that, The three types of scaling parameters corresponding to the composite scaling method of the EfficientNet model include the depth scaling parameter α, the width scaling parameter β, and the resolution scaling parameter γ. The reset scaling parameter constraints are as follows: , , , ; The four scaling parameter groups include the first scaling parameter group. Second scaling parameter group Third scaling parameter group and the fourth scaling parameter group ; Each of the four scaling parameter groups corresponds to a set of first-level depth scaling ratios. Level 1 width scaling ratio and first-level resolution scaling ; The first scaling parameter group corresponding to , , ; The second scaling parameter group corresponds to , , ; The third scaling parameter group corresponds to , , ; The fourth scaling parameter group corresponds to , , ; The optimal parameter set is denoted as the corresponding ; The secondary scaling ratio corresponding to the optimal parameter set is determined by a corresponding secondary depth scaling ratio. Secondary width scaling ratio Secondary resolution scaling composition; The optimal parameter set corresponds to a set of three-level scaling ratios, which are composed of a set of corresponding three-level depth scaling ratios. Three-level width scaling ratio Three-level resolution scaling composition; The optimal parameter set corresponds to a set of four-level scaling ratios, which are composed of a set of corresponding four-level depth scaling ratios. Four-level width scaling ratio Four-level resolution scaling .

3. The processing method for the atrial fibrillation prediction model based on pressure pulse waves according to claim 1, characterized in that, The atrial fibrillation prediction model M0 is formed by sequentially connecting the 1D-EfficientNet-B0 model, the first MLP model, and the first sigmoid function layer; the atrial fibrillation prediction model M1 is formed by sequentially connecting the 1D-EfficientNet-B1 model, the second MLP model, and the second sigmoid function layer; the atrial fibrillation prediction model M2 is formed by sequentially connecting the 1D-EfficientNet-B2 model, the third MLP model, and the third sigmoid function layer; the atrial fibrillation prediction model M3 is formed by sequentially connecting the 1D-EfficientNet-B3 model, the fourth MLP model, and the fourth sigmoid function layer; and the atrial fibrillation prediction model M4 is formed by sequentially connecting the 1D-EfficientNet-B4 model, the fifth MLP model, and the fifth sigmoid function layer. The first MLP model, the second MLP model, the third MLP model, the fourth MLP model, and the fifth MLP model are each composed of two fully connected activation layers and one fully connected layer connected sequentially. Each fully connected activation layer is composed of a set of corresponding fully connected layers and ReLU activation layers connected sequentially. In the atrial fibrillation prediction models M0, M1, M2, M3, or M4, the corresponding 1D-EfficientNet-B0, 1D-EfficientNet-B1, 1D-EfficientNet-B2, 1D-EfficientNet-B3, or 1D-EfficientNet-B4 models are used to extract features from the signal X to obtain corresponding feature vectors H0, H1, H2, H3, or H4; the corresponding first MLP model... The first, second, third, fourth, or fifth MLP models are used to map the corresponding feature vectors H0, H1, H2, H3, or H4 to a corresponding feature scalar z0, z1, z2, z3, or z4; the corresponding first, second, third, fourth, or fifth sigmoid function layers are used to substitute the corresponding feature scalar z0, z1, z2, z3, or z4 into the sigmoid function to calculate the corresponding prediction probability P and output it. Each of the scaled prediction models is formed by sequentially connecting its corresponding scaled EfficientNet model, MLP model, and sigmoid function layer; each of the scaled prediction models' MLP models is formed by sequentially connecting two fully connected activation layers and one fully connected layer, and each fully connected activation layer is formed by sequentially connecting a set of corresponding fully connected layers and ReLU activation layers. In each of the scaled prediction models, the corresponding scaled EfficientNet model is used to extract features from the signal X to obtain the corresponding feature vector H; the corresponding MLP model is used to map the corresponding feature vector H to a corresponding feature scalar z; and the corresponding sigmoid function layer is used to substitute the corresponding feature scalar z into the Sigmoid function to calculate the corresponding prediction probability P and output it.

4. The processing method for the atrial fibrillation prediction model based on pressure pulse waves according to claim 1, characterized in that, The training of the current prediction model based on a preset label dataset specifically includes: Step 41: Based on a preset first segmentation ratio, the label dataset is randomly divided into two subsets as the corresponding first training set and first evaluation set; Wherein, both the first training set and the first evaluation set are composed of multiple first data records; the ratio of the total number of records in the first training set and the first evaluation set satisfies the first segmentation ratio; Step 42: Randomly divide the first training set into multiple first subsets; randomly divide each first subset into multiple first batches; take the first first subset as the current subset; and take the first first batch of the current subset as the current batch. Each of the first subsets includes N1 of the first batches; each of the first batches includes N2 of the first data records; N1 and N2 are the preset total number of batches and the total number of records in a single batch, respectively. Step 43: Take each of the first data records in the current batch as the current record; input the signal X of the current record into the current prediction model for processing, and combine the prediction probability P output by the current model with the label probability P of the current record. tag Let them be the corresponding prediction probabilities. and label probability And by the current predicted probability and the label probability Form a corresponding first predicted label pair; and substitute the N2 first predicted label pairs of the current batch into the preset model loss function L. M ; and based on a preset model optimizer, it moves towards making the model loss function L M The direction that reaches the minimum value modulates the model parameters of the current prediction model in one round; Where 1 ≤ index j ≤ N2; The model loss function L M for: ; The model optimizer is either the AdamW optimizer or the Adam optimizer; Step 44: Identify whether the current batch is the last first batch of the current subset; if yes, proceed to step 45; if no, take the next first batch of the current subset as the new current batch and return to step 43. Step 45: Take each of the first data records in the first evaluation set as the current record; input the signal X of the current record into the current prediction model for processing, and combine the prediction probability P output by the current model with the label probability P of the current record. tag Form a corresponding second predicted label pair; and evaluate the accuracy based on all the obtained second predicted label pairs to obtain the corresponding accuracy Acc and save it; Step 46: Identify whether the current subset is the last first subset of the first training set; if not, take the next first subset of the first training set as the new current subset, take the first first batch of the current subset as the new current batch, and return to step 43; if yes, stop training and take the maximum accuracy Acc as the prediction accuracy corresponding to the current prediction model.

5. The processing method for the atrial fibrillation prediction model based on pressure pulse waves according to claim 1, characterized in that, The step of selecting the scaling parameter group with the highest prediction accuracy among the four scaling parameter groups as the optimal parameter group specifically includes: The scaling prediction model with the highest prediction accuracy among the four scaling prediction models is selected as the current preferred model; and the scaling parameter group corresponding to the current preferred model among the four scaling parameter groups is selected as the optimal parameter group.

6. The processing method for the atrial fibrillation prediction model based on pressure pulse waves according to claim 1, characterized in that, The device types of the pressure pulse wave measurement or monitoring equipment include low-power embedded blood pressure monitors, smart blood pressure monitors, home health terminals, edge computing gateways, cloud or data center servers; The atrial fibrillation prediction model M0 is deployed on the low-power embedded blood pressure monitor; The atrial fibrillation prediction model M1 is deployed on the smart blood pressure monitor; The atrial fibrillation prediction model M2 is deployed on the home health terminal; Atrial fibrillation prediction model M3 is deployed on the edge computing gateway; The atrial fibrillation prediction model M4 is deployed on the cloud or data center server.

7. The processing method for the atrial fibrillation prediction model based on pressure pulse waves according to claim 6, characterized in that, The prediction of persistent atrial fibrillation events using the currently deployed atrial fibrillation prediction model on various pressure pulse wave measurement or monitoring devices specifically includes: When each of the aforementioned pressure pulse wave measurement or monitoring devices obtains a segment of pressure pulse wave signal through measurement or data reception, it takes the current pressure pulse wave signal as the current signal; and uses the signal duration T as the current signal. sig The current signal is sliced ​​according to a preset sliding step size to obtain one or more corresponding slice signals, where 0 < sliding step size < signal duration T. sig ; and according to the signal sampling frequency f sig Each of the slice signals is resampled to obtain the corresponding signal X; each of the signals X is input into the currently deployed atrial fibrillation prediction model for processing to obtain the corresponding prediction probability P; the total number of slice signals whose prediction probability P is greater than a preset prediction probability threshold is counted to obtain the total number of positive slices; the total number of slice signals of the current signal is counted; and the corresponding positive ratio is calculated as (total number of positive slices / total number of slice signals) × 100%; when the current positive ratio is greater than a preset positive ratio threshold, a corresponding persistent atrial fibrillation event alarm signal is generated and sent to a preset alarm interface; Wherein, the alarm interface corresponding to the low-power embedded blood pressure timer when the pressure pulse wave measurement or monitoring device is the audible and visual alarm interface of the current blood pressure monitor; the alarm interface corresponding to the smart blood pressure timer when the pressure pulse wave measurement or monitoring device is the audible and visual alarm interface and / or alarm information prompt interface of the current blood pressure monitor; the alarm interface corresponding to the home health terminal when the pressure pulse wave measurement or monitoring device is the audible and visual alarm interface and / or alarm information prompt interface of the current terminal; the alarm interface corresponding to the edge computing gateway when the pressure pulse wave measurement or monitoring device is the alarm information storage and / or sending interface pre-set on the current device; and the alarm interface corresponding to the cloud or data center server when the pressure pulse wave measurement or monitoring device is the alarm information storage and / or notification interface pre-set on the current server.

8. An apparatus for performing the processing method of the atrial fibrillation prediction model based on the pressure pulse wave as described in any one of claims 1-7, characterized in that, The device includes: a model building module, a first model scaling module, a first model training module, a second model scaling module, a second model training module, and a model deployment and application module; The model building module is used to replace all the two-dimensional convolution operators in the EfficientNet-B0 model with corresponding one-dimensional convolution operators to obtain the corresponding 1D-EfficientNet-B0 model; and to configure the 1D-EfficientNet-B0 model with a corresponding MLP model and a sigmoid function layer to form a zero-level atrial fibrillation prediction model M0; the atrial fibrillation prediction model M0 is used to predict the probability of occurrence of persistent atrial fibrillation events based on the input signal X and output the corresponding prediction probability P; the signal X is a pressure pulse wave signal obtained by a sphygmomanometer, including L sig Data from sampling points x i 1 ≤ index i ≤ total number of sampling points L sig L sig =T sig ×f sig T sig f sig These are the preset signal duration and signal sampling frequency, respectively; the predicted probability P is the probability of a persistent atrial fibrillation event occurring, and its value is between 0 and 1. The first model scaling module is used to reset the scaling parameter constraints corresponding to the composite scaling method of the EfficientNet model; and set four scaling parameter groups under the premise that the fixed resolution scaling parameter γ is 1; and according to the composite scaling method, perform a first-level scaling on the 1D-EfficientNet-B0 model based on each scaling parameter group to obtain the corresponding scaled version of the EfficientNet model; and configure the corresponding MLP model and sigmoid function layer for each scaled version of the EfficientNet model to form the corresponding scaled prediction model. The first model training module is used to take the atrial fibrillation prediction model M0 and each of the scaled prediction models as the current prediction model; and to train the current prediction model based on a preset label dataset; the label dataset includes multiple first data records; the first data record includes the signal X and the label probability P. tag The label probability P tag The value is 1 or 0. A value of 1 indicates that a persistent atrial fibrillation event occurred during the time period of the current signal X, while a value of 0 indicates that no persistent atrial fibrillation event occurred during the time period of the current signal X. The second model scaling module is used to select the scaling parameter group with the highest prediction accuracy among the four scaling parameter groups as the optimal parameter group; and generate corresponding second-level, third-level, and fourth-level scaling ratios based on the optimal parameter group; and use the scaled prediction model corresponding to the optimal parameter group as the first-level atrial fibrillation prediction model M1; and perform second-level, third-level, and fourth-level scaling on the 1D-EfficientNet-B0 model based on the second-level, third-level, and fourth-level scaling parameter groups according to the composite scaling method, and configure the corresponding MLP model and sigmoid function layer for each level of scaling model to form second-level, third-level, and fourth-level atrial fibrillation prediction models M2, M3, and M4; The second model training module is used to use atrial fibrillation prediction model M2, M3, or M4 as the current prediction model; and to train the current prediction model based on the labeled dataset; The model deployment and application module deploys five levels of atrial fibrillation prediction models M0, M1, M2, M3, and M4 on their respective pressure pulse wave measurement or monitoring devices based on the parameter scale of each level of model; and performs persistent atrial fibrillation event prediction on each pressure pulse wave measurement or monitoring device using the currently deployed atrial fibrillation prediction model.

9. An electronic device, characterized in that, include: Memory, processor, and transceiver; The processor is configured to be coupled to the memory, read and execute instructions in the memory to implement the method according to any one of claims 1-7; The transceiver is coupled to the processor, and the processor controls the transceiver to send and receive messages.

10. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer instructions that, when executed by a computer, cause the computer to perform the method described in any one of claims 1-7.