Electrocardiogram data processing method and device, computer equipment and storage medium
By preprocessing and encrypting ECG data, the problem of data transmission security of smart wearable devices is solved, ensuring the security and transmission reliability of ECG data.
Patent Information
- Application Number
- CN202410951091.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-16
- Publication Date
- 2024-10-01
AI Technical Summary
In the existing technology, smart wearable devices directly upload the ECG information to the server after collecting it, resulting in an inability to guarantee the security of ECG data transmission and the risk of leakage.
Use pre-processed ECG data to screen and test multiple encryption algorithms. After determining the target encryption algorithm, encrypt the ECG data and upload the encrypted data to the cloud database to ensure data security.
Through encryption processing, the transmission security of electrocardiogram data is effectively ensured, data leakage is prevented, and data security and transmission reliability are improved.
Smart Images

Figure CN118734337A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of artificial intelligence development technology and digital medicine, and in particular to a method, device, computer equipment and storage medium for processing electrocardiogram data. Background Art
[0002] Cardiovascular disease is the world's number one killer. In my country, cardiovascular disease deaths account for the largest proportion of deaths among residents. The treatment and prevention of cardiovascular disease have attracted more and more attention. Electrocardiogram is considered to be the earliest, most commonly used and most basic diagnostic method for cardiovascular disease. Compared with other diagnostic methods, electrocardiogram is easy to use and popularize.
[0003] At present, electrocardiogram diagnosis systems have been widely used in the field of digital medicine. For example, some smart wearable devices can collect the user's electrocardiogram information, and can also generate an electrocardiogram from the collected electrocardiogram information and upload it to the server for subsequent image recognition to generate report information. However, in the prior art, after the smart wearable device generates an electrocardiogram from the collected electrocardiogram information, it usually directly uploads the electrocardiogram to the server. This data transmission method can easily lead to the leakage of electrocardiogram data and cannot guarantee the transmission security of electrocardiogram data. Summary of the invention
[0004] The purpose of the embodiments of the present application is to propose a method, device, computer equipment and storage medium for processing electrocardiogram data, so as to solve the technical problem in the prior art that after the smart wearable device generates an electrocardiogram from the collected electrocardiogram information, it usually directly uploads the electrocardiogram to the server. Such data transmission method may easily lead to leakage of electrocardiogram data and cannot ensure the transmission security of electrocardiogram data.
[0005] In order to solve the above technical problems, the present application embodiment provides a method for processing electrocardiogram data, which adopts the following technical solution:
[0006] Obtaining pre-collected raw electrocardiogram data;
[0007] Preprocessing the original electrocardiogram data to obtain corresponding electrocardiogram data;
[0008] Get pre-screened encryption algorithms;
[0009] Performing a test process on each of the encryption algorithms based on preset test data and performance indicators, and determining a target encryption algorithm from all the encryption algorithms;
[0010] Encrypting the electrocardiogram data based on the target encryption algorithm to obtain corresponding target electrocardiogram data;
[0011] The target electrocardiogram data is uploaded to a preset cloud database.
[0012] Furthermore, the step of testing each of the encryption algorithms based on preset test data and performance indicators and determining a target encryption algorithm from all the encryption algorithms specifically includes:
[0013] Build the target test environment;
[0014] Acquire test code corresponding to the target test data and the target test environment;
[0015] Run the test code to test each of the encryption algorithms using the test data in the target test environment, and obtain performance indicator values corresponding to each of the encryption algorithms; wherein the performance indicator values are numerical data corresponding to the performance indicators;
[0016] Generate an algorithm processing score for each of the encryption algorithms based on the performance indicator value;
[0017] Based on the algorithm processing scores, the target encryption algorithm is determined from all the encryption algorithms.
[0018] Furthermore, the performance indicator values at least include an encryption rate value, a throughput data value, a resource consumption data value, and a memory occupancy data value; and the step of generating an algorithm processing score for each encryption algorithm based on the performance indicator values specifically includes:
[0019] Obtaining a specified encryption rate, a specified throughput data value, a specified resource consumption data value, and a specified memory occupancy data value of a specified encryption algorithm; wherein the specified encryption algorithm is any one of all the encryption algorithms;
[0020] Obtaining a preset weight determination algorithm;
[0021] generating a first weight corresponding to the encryption rate based on the weight determination algorithm, generating a second weight corresponding to the throughput data, generating a third weight corresponding to the resource consumption data, and generating a fourth weight corresponding to the memory occupancy data;
[0022] Based on the first weight, the second weight, the third weight, and the fourth weight, a preset score calculation formula is called to calculate the specified encryption rate value, the specified throughput data value, the specified resource consumption data value, and the specified memory occupancy data value to obtain a corresponding calculation result;
[0023] The calculation result is used as the algorithm processing score of the specified encryption algorithm.
[0024] Further, the weight determination algorithm includes at least a first weight determination algorithm and a second weight determination algorithm; the step of generating a first weight corresponding to the encryption rate based on the weight determination algorithm specifically includes:
[0025] generating a first initial weight corresponding to an encryption rate based on the first weight determination algorithm; and,
[0026] generating a second initial weight corresponding to the encryption rate based on the second weight determination algorithm;
[0027] Calculating an average weight between the first initial weight and the second initial weight;
[0028] The average weight is used as the first weight corresponding to the encryption rate.
[0029] Furthermore, the step of determining the target encryption algorithm from all the encryption algorithms based on the algorithm processing score specifically includes:
[0030] Comparing the processing scores of all the algorithms numerically, and selecting a first encryption algorithm with the highest score from all the encryption algorithms;
[0031] Determine whether the number of the first encryption algorithms is greater than 1;
[0032] If the number of the first encryption algorithms is not greater than 1, using the first encryption algorithm as the target encryption algorithm;
[0033] If the number of the first encryption algorithms is greater than 1, obtaining the algorithm strength value of each of the first encryption algorithms;
[0034] Filter out a second encryption algorithm with the highest algorithm strength value from all the first encryption algorithms;
[0035] The second encryption algorithm is used as the target encryption algorithm.
[0036] Furthermore, the step of preprocessing the original electrocardiogram data to obtain corresponding electrocardiogram data specifically includes:
[0037] Performing data cleaning processing on the original electrocardiogram data to obtain corresponding first processed data;
[0038] Performing data filtering processing on the first processed data to obtain corresponding second processed data;
[0039] performing standardization processing on the second processed data to obtain corresponding third processed data;
[0040] The third processed data is used as the electrocardiogram data.
[0041] Furthermore, after the step of encrypting the electrocardiogram data based on the target encryption algorithm to obtain corresponding target electrocardiogram data, the method further includes:
[0042] Performing evaluation processing on the target electrocardiogram data to obtain corresponding evaluation results;
[0043] generating corresponding health recommendations based on the evaluation results;
[0044] The assessment result and the health advice are pushed to a target user corresponding to the target electrocardiogram data.
[0045] In order to solve the above technical problems, the present application also provides an electrocardiogram data processing device, which adopts the following technical solution:
[0046] A first acquisition module, used to acquire pre-collected original electrocardiogram data;
[0047] A preprocessing module, used for preprocessing the original electrocardiogram data to obtain corresponding electrocardiogram data;
[0048] A second acquisition module is used to acquire a plurality of pre-screened encryption algorithms;
[0049] A determination module, used to test each of the encryption algorithms based on preset test data and performance indicators, and determine a target encryption algorithm from all the encryption algorithms;
[0050] An encryption module, used for encrypting the electrocardiogram data based on the target encryption algorithm to obtain corresponding target electrocardiogram data;
[0051] The uploading module is used to upload the target electrocardiogram data to a preset cloud database.
[0052] In order to solve the above technical problems, the embodiment of the present application further provides a computer device, which adopts the following technical solution:
[0053] Obtaining pre-collected raw electrocardiogram data;
[0054] Preprocessing the original electrocardiogram data to obtain corresponding electrocardiogram data;
[0055] Get pre-screened encryption algorithms;
[0056] Performing a test process on each of the encryption algorithms based on preset test data and performance indicators, and determining a target encryption algorithm from all the encryption algorithms;
[0057] Encrypting the electrocardiogram data based on the target encryption algorithm to obtain corresponding target electrocardiogram data;
[0058] The target electrocardiogram data is uploaded to a preset cloud database.
[0059] In order to solve the above technical problems, the embodiment of the present application further provides a computer-readable storage medium, which adopts the following technical solution:
[0060] Obtaining pre-collected raw electrocardiogram data;
[0061] Preprocessing the original electrocardiogram data to obtain corresponding electrocardiogram data;
[0062] Get pre-screened encryption algorithms;
[0063] Performing a test process on each of the encryption algorithms based on preset test data and performance indicators, and determining a target encryption algorithm from all the encryption algorithms;
[0064] Encrypting the electrocardiogram data based on the target encryption algorithm to obtain corresponding target electrocardiogram data;
[0065] The target electrocardiogram data is uploaded to a preset cloud database.
[0066] Compared with the prior art, the embodiments of the present application have the following beneficial effects:
[0067] The present application first obtains the original electrocardiogram data collected in advance; then pre-processes the original electrocardiogram data to obtain corresponding electrocardiogram data; then obtains multiple pre-screened encryption algorithms; subsequently tests and processes each of the encryption algorithms based on preset test data and performance indicators, and determines a target encryption algorithm from all the encryption algorithms; further encrypts the electrocardiogram data based on the target encryption algorithm to obtain corresponding target electrocardiogram data; finally, uploads the target electrocardiogram data to a preset cloud database. After obtaining the pre-collected original ECG data, the present application will first pre-process the original ECG data to obtain the ECG data, and then test and process each of the encryption algorithms based on preset test data and performance indicators to determine the target encryption algorithm from all the encryption algorithms, and then use the target encryption algorithm to encrypt the ECG data to obtain the corresponding target ECG data, and then upload the target ECG data obtained after encryption by the target encryption algorithm to the cloud database, which can effectively ensure the security of the target ECG data, solve the security problem of ECG data leakage, and improve the transmission security of the target ECG data. BRIEF DESCRIPTION OF THE DRAWINGS
[0068] In order to more clearly illustrate the scheme in the present application, a brief introduction is given below to the drawings required for use in the description of the embodiments of the present application. Obviously, the drawings described below are some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0069] Figure 1 is an exemplary system architecture diagram to which the present application may be applied;
[0070] Figure 2 A flowchart of an embodiment of a method for processing electrocardiogram data according to the present application;
[0071] Figure 3 is a structural schematic diagram of an embodiment of an electrocardiogram data processing device according to the present application;
[0072] Figure 4 It is a structural diagram of an embodiment of a computer device according to the present application. DETAILED DESCRIPTION
[0073] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by technicians in the technical field of the present application; the terms used in the specification of the application herein are only for the purpose of describing specific embodiments and are not intended to limit the present application; the terms "including" and "having" and any variations thereof in the specification and claims of the present application and the above-mentioned drawings are intended to cover non-exclusive inclusions. The terms "first", "second", etc. in the specification and claims of the present application or the above-mentioned drawings are used to distinguish different objects, not to describe a specific order.
[0074] Reference to "embodiments" herein means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present application. The appearance of the phrase in various locations in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.
[0075] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the accompanying drawings.
[0076] like Figure 1As shown, the system architecture 100 may include terminal devices 101, 102, 103, a network 104 and a server 105. The network 104 is used to provide a medium for communication links between the terminal devices 101, 102, 103 and the server 105. The network 104 may include various connection types, such as wired, wireless communication links or optical fiber cables, etc.
[0077] Users can use terminal devices 101, 102, 103 to interact with server 105 through network 104 to receive or send messages, etc. Various communication client applications can be installed on terminal devices 101, 102, 103, such as web browser applications, shopping applications, search applications, instant messaging tools, email clients, social platform software, etc.
[0078] The terminal devices 101, 102, and 103 can be various electronic devices with display screens and supporting web browsing, including but not limited to smart phones, tablet computers, e-book readers, MP3 players (Moving Picture Experts Group Audio Layer III), MP4 (Moving Picture Experts Group Audio Layer IV) players, laptop computers, desktop computers, etc.
[0079] The server 105 may be a server that provides various services, such as a background server that provides support for web pages displayed on the terminal devices 101 , 102 , and 103 .
[0080] It should be noted that the method for processing electrocardiogram data provided in the embodiment of the present application is generally executed by a server / terminal device, and accordingly, the device for processing electrocardiogram data is generally arranged in the server / terminal device.
[0081] It should be understood that Figure 1 The number of terminal devices, networks and servers in the embodiment is only for illustration. Any number of terminal devices, networks and servers may be provided according to implementation requirements.
[0082] Continue to refer Figure 2, showing a flow chart of an embodiment of a method for processing electrocardiogram data according to the present application. According to different requirements, the order of the steps in the flow chart can be changed, and some steps can be omitted. The method for processing electrocardiogram data provided in the embodiment of the present application can be applied to any scenario where electrocardiogram data encryption is required, and the method for processing electrocardiogram data can be applied to products in these scenarios, for example, electrocardiogram data encryption in the field of digital medicine. The method for processing electrocardiogram data comprises the following steps:
[0083] Step S201, obtaining the pre-collected original electrocardiogram data.
[0084] In this embodiment, the method for processing electrocardiogram data is executed on an electronic device (eg Figure 1 The server / terminal device shown in the figure) can obtain the original ECG data through a wired connection or a wireless connection. It should be pointed out that the above-mentioned wireless connection method may include but is not limited to 3G / 4G / 5G connection, Wi-Fi connection, Bluetooth connection, WiMAX connection, Zigbee connection, UWB (Ultra Wi-Fi Band) connection, and other wireless connection methods currently known or to be developed in the future. The present application can be applied to the field of digital medicine, and can be specifically used for medical business scenarios in which the ECG data of related users are encrypted and transmitted. Specifically, the collection of original ECG data can be completed by using smart ECG devices such as handheld network ECG machines, smart wearable ECG products, smart watches / smart bracelets with ECG monitoring functions, wearable ECG devices, etc.
[0085] Step S202, preprocessing the original electrocardiogram data to obtain corresponding electrocardiogram data.
[0086] In this embodiment, the above-mentioned specific implementation process of preprocessing the original electrocardiogram data to obtain the corresponding electrocardiogram data will be further described in detail in subsequent specific embodiments of the present application, and will not be elaborated on here.
[0087] Step S203, obtaining multiple pre-screened encryption algorithms.
[0088] In this embodiment, the pre-screened encryption algorithms are multiple algorithms obtained after preliminary screening of all encryption algorithms, and specifically may include AES, DES, RSA, ECC and other algorithms. AES (Advanced Encryption Standard) is the next generation encryption algorithm standard, which is fast and has a high security level; AES is a block encryption algorithm using 128 blocks, and the block and 128, 192 or 256-bit keys are used as input to operate on a 4×4 byte array. DES (Data Encryption Standard) is fast and suitable for encrypting large amounts of data. RSA was invented by RSA and is a public key algorithm that supports variable-length keys. The length of the file block to be encrypted is also variable. ECC (Elliptic Curve Cryptography) is an algorithm for establishing public key encryption, based on elliptic curve mathematics. Among them, the algorithm usage data of all encryption algorithms can be consulted in the open source, and the computational efficiency data of all encryption algorithms can be obtained from the algorithm user data, and then the specified encryption algorithms with computational efficiency data greater than the preset computational efficiency threshold can be screened out from all encryption algorithms and used as the pre-screened multiple encryption algorithms. And subsequently, only the pre-screened multiple encryption algorithms need to be further tested to screen out the target encryption algorithm, without the need to test all encryption algorithms, which can effectively reduce the workload of test processing and improve the processing efficiency of screening the target encryption algorithm.
[0089] Step S204: testing each of the encryption algorithms based on preset test data and performance indicators, and determining a target encryption algorithm from all the encryption algorithms.
[0090] In this embodiment, the above-mentioned encryption algorithms are tested based on preset test data and performance indicators, and the specific implementation process of the target encryption algorithm is determined from all the encryption algorithms. This application will provide further detailed descriptions of this in subsequent specific embodiments, and will not be elaborated in detail here.
[0091] Step S205, encrypting the electrocardiogram data based on the target encryption algorithm to obtain corresponding target electrocardiogram data.
[0092] In this embodiment, after the target encryption algorithm is determined, the electrocardiogram data may be encrypted according to the encryption processing steps in the target encryption algorithm to obtain the encrypted target electrocardiogram data.
[0093] Step S206, uploading the target electrocardiogram data to a preset cloud database.
[0094] In this embodiment, the cloud database is a pre-built database for storing electrocardiogram data of related users, and the cloud database provides a data download function. The associated doctor can download the electrocardiogram data of the required patient from the cloud database through the doctor terminal, and can further analyze the electrocardiogram data to give a health warning and suggestion plan corresponding to the patient.
[0095] After obtaining the pre-collected original ECG data, the present application will first pre-process the original ECG data to obtain the ECG data, and then test and process each of the encryption algorithms based on preset test data and performance indicators to determine the target encryption algorithm from all the encryption algorithms, and then use the target encryption algorithm to encrypt the ECG data to obtain the corresponding target ECG data, and then upload the target ECG data obtained after encryption by the target encryption algorithm to the cloud database, which can effectively ensure the security of the target ECG data, solve the security problem of ECG data leakage, and improve the transmission security of the target ECG data.
[0096] In some optional implementations, step S205 includes the following steps:
[0097] Build the target test environment.
[0098] In this embodiment, a target test environment including environmental information such as hardware, operating system, and programming language can be constructed according to actual test requirements, and the consistency of the target test environment used for subsequent test processing of each encryption algorithm can be ensured, thereby reducing the impact of external factors on the test results of the above-mentioned test processing, thereby ensuring the data accuracy of the obtained test results.
[0099] Acquire test codes corresponding to the target test data and the target test environment.
[0100] In this embodiment, the test code is pre-built and can accurately simulate the process of encrypting the target test data using each encryption algorithm in the target test environment. The test code can be written and generated by relevant testers according to the function of the test code.
[0101] Run the test code to test each of the encryption algorithms using the test data in the target test environment, and obtain performance indicator values corresponding to each of the encryption algorithms; wherein the performance indicator values are numerical data corresponding to the performance indicators.
[0102] In this embodiment, the above-mentioned using the test data in the target test environment to test each of the encryption algorithms respectively means that, in the target test environment, each of the encryption algorithms is used to encrypt the test data respectively, and the performance indicator values corresponding to each of the encryption algorithms are recorded during the encryption process. The above-mentioned performance indicators at least include encryption rate, throughput data, resource consumption data, and memory usage data.
[0103] An algorithm processing score for each of the encryption algorithms is generated based on the performance indicator value.
[0104] In this embodiment, the specific implementation process of generating the algorithm processing score of each encryption algorithm based on the performance indicator value will be further described in detail in subsequent specific embodiments of the present application, and will not be elaborated here.
[0105] Based on the algorithm processing scores, the target encryption algorithm is determined from all the encryption algorithms.
[0106] In this embodiment, the specific implementation process of determining the target encryption algorithm from all the encryption algorithms based on the algorithm processing score is described above. This application will provide further detailed descriptions of this in subsequent specific embodiments and will not be elaborated on here.
[0107] This application constructs a target test environment; then obtains the test code corresponding to the target test data and the target test environment; then runs the test code to test and process each of the encryption algorithms using the test data in the target test environment, and obtains the performance indicator values corresponding to each of the encryption algorithms; subsequently generates the algorithm processing scores of each of the encryption algorithms based on the performance indicator values; and finally determines the target encryption algorithm from all of the encryption algorithms based on the algorithm processing scores. This application runs the test code corresponding to the target test data and the constructed target test environment, thereby obtaining the performance indicator values corresponding to each of the encryption algorithms, and generates the algorithm processing scores of each of the encryption algorithms based on the performance indicator values, and then determines the target encryption algorithm from all of the encryption algorithms based on the algorithm processing scores, thereby achieving the determination of the target encryption algorithm ultimately used for encryption processing of the electrocardiogram data based on the algorithm processing scores generated by the performance indicator values, effectively improving the accuracy and intelligence of determining the target encryption algorithm. And subsequently, by using the selected target encryption algorithm with excellent performance to encrypt the electrocardiogram data to obtain the corresponding target electrocardiogram data, the encryption processing efficiency of the electrocardiogram data can be effectively improved, and the data accuracy of the obtained target electrocardiogram data can be guaranteed.
[0108] In some optional implementations of this embodiment, the performance indicator value includes at least an encryption rate value, a throughput data value, a resource consumption data value, and a memory occupancy data value; and generating an algorithm processing score for each of the encryption algorithms based on the performance indicator value includes the following steps:
[0109] Obtain a specified encryption rate, a specified throughput data value, a specified resource consumption data value, and a specified memory occupancy data value of a specified encryption algorithm; wherein the specified encryption algorithm is any one of all the encryption algorithms.
[0110] In this embodiment, the above-mentioned performance indicators at least include encryption rate, throughput data, resource consumption data and memory occupancy data. The above-mentioned encryption rate refers to the amount of data that can be processed by the encryption algorithm per unit time during the encryption process, such as the amount of data encrypted per second (MB / s). The above-mentioned throughput data refers to the maximum amount of data that the electronic device can process during the encryption process by the encryption algorithm, reflecting the overall performance of the electronic device. The above-mentioned resource consumption data refers to the CPU occupancy data of the electronic device by the encryption algorithm during the encryption process. The above-mentioned memory occupancy data refers to the memory occupancy data of the electronic device by the encryption algorithm during the encryption process.
[0111] Gets the preset weight determination algorithm.
[0112] In this embodiment, the weight determination algorithm may include any two algorithms randomly selected from AHP, entropy method, factor analysis method, principal component analysis method, and standardization method.
[0113] Based on the weight determination algorithm, a first weight corresponding to the encryption rate is generated, a second weight corresponding to the throughput data is generated, a third weight corresponding to the resource consumption data is generated, and a fourth weight corresponding to the memory occupancy data is generated.
[0114] In this embodiment, the specific implementation process of generating the first weight corresponding to the encryption rate based on the weight determination algorithm will be described in further detail in subsequent specific embodiments of the present application and will not be elaborated on here.
[0115] Based on the first weight, the second weight, the third weight and the fourth weight, a preset score calculation formula is called to calculate and process the specified encryption rate value, the specified throughput data value, the specified resource consumption data value and the specified memory occupancy data value to obtain a corresponding calculation result.
[0116] In this embodiment, the score calculation formula may specifically include: SCORE=a*U+b*V+c / W+d / X, where SCORE is the algorithm processing score, U is the encryption rate value, a is the first weight, V is the throughput data value, b is the second weight, W is the resource consumption data value, c is the third weight, X is the memory occupancy data value, and d is the fourth weight. The first weight, the second weight, the third weight, the fourth weight, and the specified encryption rate value, the specified throughput data value, the specified resource consumption data value, and the specified memory occupancy data value may be substituted into the corresponding positions in the score calculation formula to perform calculation, thereby obtaining the corresponding calculation result.
[0117] The calculation result is used as the algorithm processing score of the specified encryption algorithm.
[0118] The present application generates a first weight corresponding to the encryption rate based on the weight determination algorithm, generates a second weight corresponding to the throughput data, generates a third weight corresponding to the resource consumption data, and generates a fourth weight corresponding to the memory occupancy data, and calls the score calculation formula to calculate and process the specified encryption rate value, the specified throughput data value, the specified resource consumption data value, and the specified memory occupancy data value, so as to achieve fast and accurate generation of the algorithm processing score of the specified encryption algorithm, and ensure the data accuracy of the generated algorithm processing score. This is conducive to the subsequent determination of the target encryption algorithm that is ultimately used for encryption processing of the electrocardiogram data from all encryption algorithms based on the obtained algorithm processing score, thereby improving the determination accuracy and intelligence of the target encryption algorithm.
[0119] In some optional implementations, the weight determination algorithm includes at least a first weight determination algorithm and a second weight determination algorithm; and generating a first weight corresponding to an encryption rate based on the weight determination algorithm includes the following steps:
[0120] A first initial weight corresponding to an encryption rate is generated based on the first weight determination algorithm.
[0121] In this embodiment, weight calculation processing can be performed on all performance indicators according to the operation steps of calculating weights matched by the first weight determination algorithm, and a first initial weight corresponding to the encryption rate can be obtained.
[0122] A second initial weight corresponding to the encryption rate is generated based on the second weight determination algorithm.
[0123] In this embodiment, weight calculation processing can be performed on all performance indicators according to the operation steps of calculating weights matched by the second weight determination algorithm, and a second initial weight corresponding to the encryption rate can be obtained.
[0124] An average weight between the first initial weight and the second initial weight is calculated.
[0125] In this embodiment, the average value between the first initial weight and the second initial weight may be calculated and used as the average weight.
[0126] The average weight is used as the first weight corresponding to the encryption rate.
[0127] In this embodiment, the specific implementation steps of generating a second weight corresponding to the throughput data based on the weight determination algorithm, generating a third weight corresponding to the resource consumption data, and generating a fourth weight corresponding to the memory occupancy data can refer to the aforementioned processing steps of generating a first weight corresponding to the encryption rate based on the first weight determination algorithm and the second weight determination algorithm, and will not be elaborated herein.
[0128] The present application generates a first initial weight corresponding to the encryption rate based on the first weight determination algorithm; and generates a second initial weight corresponding to the encryption rate based on the second weight determination algorithm; then calculates the average weight between the first initial weight and the second initial weight; and subsequently uses the average weight as the first weight corresponding to the encryption rate. The present application effectively improves the generation efficiency of the first weight of the encryption rate by using the first weight determination algorithm and the second initial weight to generate the first initial weight and the second initial weight corresponding to the encryption rate respectively, and then calculates the average weight between the first initial weight and the second initial weight as the first weight corresponding to the encryption rate. In addition, since the generation efficiency of the generated first weight is jointly generated by combining the two weight determination algorithms, the accuracy of the obtained first weight of the encryption rate is effectively guaranteed.
[0129] In some optional implementations, determining the target encryption algorithm from all the encryption algorithms based on the algorithm processing score comprises the following steps:
[0130] Numerical comparison is performed on the processing scores of all the algorithms, and a first encryption algorithm with the highest score is screened out from all the encryption algorithms.
[0131] In this embodiment, a sorting algorithm that sorts values from high to low may be used to compare the numerical values of all the algorithm processing scores, and then the first encryption algorithm with the highest score is screened out from all the encryption algorithms according to the obtained sorting result.
[0132] Determine whether the number of the first encryption algorithms is greater than 1.
[0133] In this embodiment, the number of the first encryption algorithms may be 1 or greater than 1.
[0134] If the number of the first encryption algorithm is not greater than 1, the first encryption algorithm is used as the target encryption algorithm.
[0135] In this embodiment, if the number of the first encryption algorithms is not greater than 1, that is, there is only one first encryption algorithm, the first encryption algorithm is directly used as the target encryption algorithm. Since the first encryption algorithm is an algorithm with the best processing capability of comprehensive processing performance corresponding to the encryption rate value, throughput data value, resource consumption data value and memory occupancy data value, the first encryption algorithm is used as the target encryption algorithm, which can effectively ensure the accuracy of the obtained target encryption algorithm. The target encryption algorithm is subsequently used to encrypt the electrocardiogram data to obtain the corresponding target electrocardiogram data, which can effectively improve the encryption processing efficiency of the electrocardiogram data and ensure the data accuracy of the obtained target electrocardiogram data.
[0136] If the number of the first encryption algorithms is greater than 1, the algorithm strength value of each of the first encryption algorithms is obtained.
[0137] In this embodiment, the cracking method values of all the first encryption algorithms can be obtained from the specified algorithm user data by consulting the open source data. The algorithm strength value of the first encryption algorithm can be calculated by using 1 / the cracking method value of the first encryption algorithm. If the cracking method value of the first encryption algorithm is higher, the corresponding algorithm strength value of the first encryption algorithm is lower, and the cracking efficiency of the first encryption algorithm is higher. If the cracking method value of the first encryption algorithm is lower, the corresponding algorithm strength value of the first encryption algorithm is higher, and the cracking efficiency of the first encryption algorithm is lower.
[0138] A second encryption algorithm with the highest algorithm strength value is selected from all the first encryption algorithms.
[0139] In this embodiment, the algorithm strength values of all the first encryption algorithms may be numerically compared, and the second encryption algorithm with the highest algorithm strength value may be screened out from all the first encryption algorithms according to the numerical comparison result.
[0140] The second encryption algorithm is used as the target encryption algorithm.
[0141] In this embodiment, the second encryption algorithm with the highest algorithm strength value is used as the target encryption algorithm. Since the target encryption algorithm has the lowest cracking efficiency, the target encryption algorithm is subsequently used to encrypt the electrocardiogram data to obtain the corresponding target electrocardiogram data, which can effectively improve the transmission security of the target electrocardiogram data.
[0142] This application compares the processing scores of all the algorithms numerically, and selects the first encryption algorithm with the highest score from all the encryption algorithms; then determines whether the number of the first encryption algorithms is greater than 1; if the number of the first encryption algorithms is not greater than 1, the first encryption algorithm is used as the target encryption algorithm; and if the number of the first encryption algorithms is greater than 1, the algorithm strength value of each of the first encryption algorithms is obtained; then the second encryption algorithm with the highest algorithm strength value is selected from all the first encryption algorithms; and the second encryption algorithm is subsequently used as the target encryption algorithm. This application compares the processing scores of all the algorithms numerically, and selects the first encryption algorithm with the highest score from all the encryption algorithms. If the number of the first encryption algorithms is not greater than 1, the first encryption algorithm is directly used as the target encryption algorithm. Since the first encryption algorithm is an algorithm with the best processing capability of the comprehensive processing performance corresponding to the encryption rate value, throughput data value, resource consumption data value and memory occupancy data value, the first encryption algorithm is used as the target encryption algorithm, which can effectively ensure the accuracy of the obtained target encryption algorithm. In addition, if the number of the first encryption algorithms is greater than 1, the algorithm strength values of the first encryption algorithms are intelligently obtained, and the second encryption algorithm with the highest algorithm strength value selected from all the first encryption algorithms is used as the final target encryption algorithm. Since the target encryption algorithm has the highest algorithm strength value on the basis of having the best processing capability of the comprehensive processing performance corresponding to the encryption rate value, the throughput data value, the resource consumption data value, and the memory occupancy data value, the accuracy of the obtained target encryption algorithm is further improved.
[0143] In some optional implementations of this embodiment, step S202 includes the following steps:
[0144] The original electrocardiogram data is cleaned to obtain corresponding first processed data.
[0145] In this embodiment, the original electrocardiogram data can be cleaned by selecting a general data cleaning tool, which can specifically include removing missing values, abnormal values, and null values from the original electrocardiogram data to obtain corresponding first processed data. The selection of the above data cleaning tool is not specifically limited and can be determined according to actual business usage requirements.
[0146] The first processed data is subjected to data filtering processing to obtain corresponding second processed data.
[0147] In this embodiment, a common data filtering tool can be selected to filter duplicate data from the first processed data to ensure the uniqueness of the electrocardiogram data, thereby obtaining corresponding second processed data. The selection of the above data filtering tool is not specifically limited and can be determined according to actual business usage requirements.
[0148] The second processed data is standardized to obtain corresponding third processed data.
[0149] In this embodiment, the above-mentioned standardization processing refers to converting the second processed data into data in a preset standard format, thereby obtaining corresponding third processed data. There is no specific limitation on the setting of the above-mentioned standard format, which can be determined according to actual business processing requirements.
[0150] The third processed data is used as the electrocardiogram data.
[0151] The present application performs data cleaning processing on the original electrocardiogram data to obtain corresponding first processed data; then performs data filtering processing on the first processed data to obtain corresponding second processed data; then performs standardization processing on the second processed data to obtain corresponding third processed data; and subsequently uses the third processed data as the electrocardiogram data. The present application performs data cleaning processing, data filtering processing, and standardization processing on the acquired original electrocardiogram data, thereby realizing rapid and accurate construction of electrocardiogram data that meets processing requirements, and effectively ensuring the data accuracy and data standardization of the generated electrocardiogram data.
[0152] In some optional implementations of this embodiment, after step S205, the electronic device may further perform the following steps:
[0153] The target electrocardiogram data is evaluated and processed to obtain corresponding evaluation results.
[0154] In this embodiment, after obtaining the target electrocardiogram data, the target electrocardiogram data can be sent to a corresponding doctor terminal, so that the doctor corresponding to the doctor terminal evaluates and processes the target electrocardiogram data and returns an evaluation result corresponding to the target electrocardiogram data. The evaluation result may include a normal health state corresponding to the target electrocardiogram or an abnormal health state corresponding to the target electrocardiogram.
[0155] Generate corresponding health advice based on the evaluation results.
[0156] In this embodiment, the evaluation result can be used to query a preset medical advice database, so as to query the medical advice data matching the evaluation result from the medical advice database and use it as the above health advice. The above medical advice database is a pre-constructed database storing a variety of medical evaluation results and medical advices matching the various medical evaluation results.
[0157] The assessment result and the health advice are pushed to a target user corresponding to the target electrocardiogram data.
[0158] In this embodiment, the target electrocardiogram data refers to the electrocardiogram of the target user, and the communication information of the target user can be obtained, and the evaluation result and the health advice can be pushed to the target user according to the communication information. The evaluation result and the health advice can be pushed in the form of voice, text or report to improve the richness of data push.
[0159] This application evaluates and processes the target ECG data to obtain the corresponding evaluation results; then generates corresponding health recommendations based on the evaluation results; and subsequently pushes the evaluation results and the health recommendations to the target user corresponding to the target ECG data. After encrypting the ECG data based on the target encryption algorithm to obtain the corresponding target ECG data, this application will also intelligently evaluate and process the target ECG data, and will generate health recommendations based on the obtained evaluation results, and then push the evaluation results and the health recommendations to the target user corresponding to the target ECG data, so that the target user can timely and clearly check and understand the evaluation results and health recommendations related to his or her own ECG, which is conducive to improving the user experience of the target user.
[0160] It should be understood that the order of execution of the steps in the above embodiment does not necessarily mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiment of the present invention.
[0161] It should be emphasized that in order to further ensure the privacy and security of the above-mentioned target ECG data, the above-mentioned target ECG data can also be stored in a node of a blockchain.
[0162] The blockchain referred to in this application is a new application model of computer technologies such as distributed data storage, peer-to-peer transmission, consensus mechanism, encryption algorithm, etc. Blockchain is essentially a decentralized database, a string of data blocks generated by cryptographic methods. Each data block contains a batch of network transaction information, which is used to verify the validity of its information (anti-counterfeiting) and generate the next block. Blockchain can include the underlying blockchain platform, platform product service layer, and application service layer.
[0163] The embodiments of the present application can acquire and process relevant data based on artificial intelligence technology. Artificial Intelligence (AI) is the theory, method, technology and application system that uses digital computers or machines controlled by digital computers to simulate, extend and expand human intelligence, perceive the environment, acquire knowledge and use knowledge to obtain the best results.
[0164] AI basic technologies generally include sensors, dedicated AI chips, cloud computing, distributed storage, big data processing technology, operation / interaction systems, mechatronics, etc. AI software technologies mainly include computer vision technology, robotics technology, biometrics technology, speech processing technology, natural language processing technology, and machine learning / deep learning.
[0165] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiments can be implemented by instructing the relevant hardware through computer-readable instructions, and the computer-readable instructions can be stored in a computer-readable storage medium. When the program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, the aforementioned storage medium can be a non-volatile storage medium such as a disk, an optical disk, a read-only memory (ROM), or a random access memory (RAM).
[0166] It should be understood that, although the steps in the flowchart of the accompanying drawings are displayed in sequence as indicated by the arrows, these steps are not necessarily executed in sequence in the order indicated by the arrows. Unless otherwise specified herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least a part of the steps in the flowchart of the accompanying drawings may include multiple sub-steps or multiple stages, and these sub-steps or stages are not necessarily executed at the same time, but can be executed at different times, and their execution order is not necessarily sequential, but can be executed in turn or alternately with other steps or at least a part of the sub-steps or stages of other steps.
[0167] Further references Figure 3 , as a response to the above Figure 2 The present application provides an embodiment of a device for processing electrocardiogram data. Figure 2 Corresponding to the method embodiment shown, the device can be specifically applied to various electronic devices.
[0168] like Figure 3 As shown, the electrocardiogram data processing device 300 described in this embodiment includes: a first acquisition module 301, a preprocessing module 302, a second acquisition module 303, a determination module 304, an encryption module 305 and an upload module 306. Among them:
[0169] The first acquisition module 301 is used to acquire the pre-collected original electrocardiogram data;
[0170] A preprocessing module 302 is used to preprocess the original electrocardiogram data to obtain corresponding electrocardiogram data;
[0171] The second acquisition module 303 is used to acquire multiple pre-screened encryption algorithms;
[0172] A determination module 304 is used to test each of the encryption algorithms based on preset test data and performance indicators, and determine a target encryption algorithm from all the encryption algorithms;
[0173] An encryption module 305 is used to encrypt the electrocardiogram data based on the target encryption algorithm to obtain corresponding target electrocardiogram data;
[0174] The uploading module 306 is used to upload the target electrocardiogram data to a preset cloud database.
[0175] In this embodiment, the operations performed by the above modules or units correspond one-to-one to the steps of the electrocardiogram data processing method in the aforementioned embodiment, and are not described in detail here.
[0176] In some optional implementations of this embodiment, the determining module 304 includes:
[0177] Build submodules to build the target test environment;
[0178] An acquisition submodule, used to acquire the test code corresponding to the target test data and the target test environment;
[0179] A test submodule, used to run the test code to test each of the encryption algorithms using the test data in the target test environment, and obtain performance indicator values corresponding to each of the encryption algorithms; wherein the performance indicator values are numerical data corresponding to the performance indicators;
[0180] A generating submodule, used for generating an algorithm processing score of each of the encryption algorithms based on the performance indicator value;
[0181] The first determination submodule is used to determine the target encryption algorithm from all the encryption algorithms based on the algorithm processing score.
[0182] In this embodiment, the operations performed by the above modules or units correspond one-to-one to the steps of the electrocardiogram data processing method in the aforementioned embodiment, and are not described in detail here.
[0183] In some optional implementations of this embodiment, the performance indicator values include at least an encryption rate value, a throughput data value, a resource consumption data value, and a memory occupancy data value; the generation submodule includes:
[0184] A first acquisition unit is used to acquire a specified encryption rate, a specified throughput data value, a specified resource consumption data value, and a specified memory occupancy data value of a specified encryption algorithm; wherein the specified encryption algorithm is any one of all the encryption algorithms;
[0185] A second acquisition unit, used to acquire a preset weight determination algorithm;
[0186] a generating unit, configured to generate, based on the weight determination algorithm, a first weight corresponding to an encryption rate, a second weight corresponding to throughput data, a third weight corresponding to resource consumption data, and a fourth weight corresponding to memory occupancy data;
[0187] a calculation unit, configured to calculate and process the specified encryption rate value, the specified throughput data value, the specified resource consumption data value, and the specified memory occupancy data value based on the first weight, the second weight, the third weight, and the fourth weight by calling a preset score calculation formula to obtain a corresponding calculation result;
[0188] The first determining unit is used to use the calculation result as the algorithm processing score of the specified encryption algorithm.
[0189] In this embodiment, the operations performed by the above modules or units correspond one-to-one to the steps of the electrocardiogram data processing method in the aforementioned embodiment, and will not be described in detail here.
[0190] In some optional implementations of this embodiment, the weight determination algorithm includes at least a first weight determination algorithm and a second weight determination algorithm; and the generating unit includes:
[0191] A first generating subunit is configured to generate a first initial weight corresponding to an encryption rate based on the first weight determination algorithm; and
[0192] A second generating subunit, configured to generate a second initial weight corresponding to an encryption rate based on the second weight determination algorithm;
[0193] a calculation subunit, configured to calculate an average weight between the first initial weight and the second initial weight;
[0194] A determination subunit is configured to use the average weight as the first weight corresponding to the encryption rate.
[0195] In this embodiment, the operations performed by the above modules or units correspond one-to-one to the steps of the electrocardiogram data processing method in the aforementioned embodiment, and are not described in detail here.
[0196] In some optional implementations of this embodiment, the first determining submodule includes:
[0197] A comparison unit, used to compare the processing scores of all the algorithms, and select a first encryption algorithm with the highest score from all the encryption algorithms;
[0198] A judging unit, used to judge whether the number of the first encryption algorithms is greater than 1;
[0199] A second determining unit, configured to use the first encryption algorithm as the target encryption algorithm if the number of the first encryption algorithms is not greater than 1;
[0200] A third acquisition unit, configured to acquire an algorithm strength value of each of the first encryption algorithms if the number of the first encryption algorithms is greater than 1;
[0201] A screening unit, used for screening out a second encryption algorithm with the highest algorithm strength value from all the first encryption algorithms;
[0202] The third determining unit is configured to use the second encryption algorithm as the target encryption algorithm.
[0203] In this embodiment, the operations performed by the above modules or units correspond one-to-one to the steps of the electrocardiogram data processing method in the aforementioned embodiment, and are not described in detail here.
[0204] In some optional implementations of this embodiment, the preprocessing module 302 includes:
[0205] A first processing submodule, configured to perform data cleaning processing on the original electrocardiogram data to obtain corresponding first processed data;
[0206] A second processing submodule, configured to perform data filtering processing on the first processed data to obtain corresponding second processed data;
[0207] A third processing submodule, used for performing standardization processing on the second processed data to obtain corresponding third processed data;
[0208] The second determining submodule is configured to use the third processed data as the electrocardiogram data.
[0209] In this embodiment, the operations performed by the above modules or units correspond one-to-one to the steps of the electrocardiogram data processing method in the aforementioned embodiment, and are not described in detail here.
[0210] In some optional implementations of this embodiment, the device for processing electrocardiogram data further includes:
[0211] An evaluation module, used to evaluate and process the target electrocardiogram data to obtain corresponding evaluation results;
[0212] A generating module, used for generating corresponding health advice based on the evaluation result;
[0213] A push module is used to push the evaluation result and the health advice to a target user corresponding to the target electrocardiogram data.
[0214] In this embodiment, the operations performed by the above modules or units correspond one-to-one to the steps of the electrocardiogram data processing method in the aforementioned embodiment, and are not described in detail here.
[0215] To solve the above technical problems, the present application also provides a computer device. Figure 4 , Figure 4 This is a basic structural block diagram of the computer device in this embodiment.
[0216] The computer device 4 includes a memory 41, a processor 42, and a network interface 43 that are interconnected through a system bus. It should be noted that the figure only shows a computer device 4 with components 41-43, but it should be understood that it is not required to implement all the components shown, and more or fewer components can be implemented instead. Among them, those skilled in the art can understand that the computer device here is a device that can automatically perform numerical calculations and / or information processing according to pre-set or stored instructions, and its hardware includes but is not limited to microprocessors, application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), digital processors (DSPs), embedded devices, etc.
[0217] The computer device may be a computing device such as a desktop computer, a notebook, a PDA, a cloud server, etc. The computer device may interact with a user through a keyboard, a mouse, a remote controller, a touch pad, or a voice control device.
[0218] The memory 41 includes at least one type of readable storage medium, and the readable storage medium includes flash memory, hard disk, multimedia card, card-type memory (for example, SD or DX memory, etc.), random access memory (RAM), static random access memory (SRAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), programmable read-only memory (PROM), magnetic memory, disk, optical disk, etc. In some embodiments, the memory 41 can be an internal storage unit of the computer device 4, such as a hard disk or memory of the computer device 4. In other embodiments, the memory 41 can also be an external storage device of the computer device 4, such as a plug-in hard disk equipped on the computer device 4, a smart memory card (Smart Med ia Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), etc. Of course, the memory 41 can also include both the internal storage unit of the computer device 4 and its external storage device. In this embodiment, the memory 41 is generally used to store the operating system and various application software installed on the computer device 4, such as computer-readable instructions of the electrocardiogram data processing method, etc. In addition, the memory 41 can also be used to temporarily store various types of data that have been output or are to be output.
[0219] The processor 42 may be a central processing unit (CPU), a controller, a microcontroller, a microprocessor, or other data processing chips in some embodiments. The processor 42 is generally used to control the overall operation of the computer device 4. In this embodiment, the processor 42 is used to run the computer-readable instructions or process data stored in the memory 41, such as computer-readable instructions for running the electrocardiogram data processing method.
[0220] The network interface 43 may include a wireless network interface or a wired network interface. The network interface 43 is generally used to establish a communication connection between the computer device 4 and other electronic devices.
[0221] The present application also provides another embodiment, namely, providing a computer-readable storage medium, wherein the computer-readable storage medium stores computer-readable instructions, and the computer-readable instructions can be executed by at least one processor to enable the at least one processor to perform the steps of the electrocardiogram data processing method as described above.
[0222] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk), and includes a number of instructions for a terminal device (which can be a mobile phone, computer, server, air conditioner, or network device, etc.) to execute the methods described in each embodiment of the present application.
[0223] Obviously, the embodiments described above are only some embodiments of the present application, rather than all embodiments. The preferred embodiments of the present application are given in the accompanying drawings, but they do not limit the patent scope of the present application. The present application can be implemented in many different forms. On the contrary, the purpose of providing these embodiments is to make the understanding of the disclosure of the present application more thorough and comprehensive. Although the present application is described in detail with reference to the aforementioned embodiments, for those skilled in the art, it is still possible to modify the technical solutions recorded in the aforementioned specific implementation methods, or to perform equivalent replacement of some of the technical features therein. Any equivalent structure made using the contents of the specification and drawings of this application, directly or indirectly used in other related technical fields, is similarly within the scope of patent protection of this application.
Claims
1. A method for processing electrocardiogram data, characterized in that: The steps include: Obtaining pre-collected raw electrocardiogram data; Preprocessing the original electrocardiogram data to obtain corresponding electrocardiogram data; Get pre-screened encryption algorithms; Performing a test process on each of the encryption algorithms based on preset test data and performance indicators, and determining a target encryption algorithm from all the encryption algorithms; Encrypting the electrocardiogram data based on the target encryption algorithm to obtain corresponding target electrocardiogram data; The target electrocardiogram data is uploaded to a preset cloud database.
2. The method for processing electrocardiogram data according to claim 1, characterized in that: The step of testing each of the encryption algorithms based on the preset test data and performance indicators and determining a target encryption algorithm from all the encryption algorithms specifically includes: Build the target test environment; Acquire test code corresponding to the target test data and the target test environment; Run the test code to test each of the encryption algorithms using the test data in the target test environment, and obtain performance indicator values corresponding to each of the encryption algorithms; wherein the performance indicator values are numerical data corresponding to the performance indicators; Generate an algorithm processing score for each of the encryption algorithms based on the performance indicator value; Based on the algorithm processing scores, the target encryption algorithm is determined from all the encryption algorithms.
3. The method for processing electrocardiogram data according to claim 2, characterized in that: The performance indicator values include at least an encryption rate value, a throughput data value, a resource consumption data value, and a memory occupancy data value; The step of generating an algorithm processing score for each of the encryption algorithms based on the performance indicator value specifically includes: Obtaining a specified encryption rate, a specified throughput data value, a specified resource consumption data value, and a specified memory occupancy data value of a specified encryption algorithm; wherein the specified encryption algorithm is any one of all the encryption algorithms; Obtaining a preset weight determination algorithm; generating a first weight corresponding to the encryption rate based on the weight determination algorithm, generating a second weight corresponding to the throughput data, generating a third weight corresponding to the resource consumption data, and generating a fourth weight corresponding to the memory occupancy data; Based on the first weight, the second weight, the third weight, and the fourth weight, a preset score calculation formula is called to calculate the specified encryption rate value, the specified throughput data value, the specified resource consumption data value, and the specified memory occupancy data value to obtain a corresponding calculation result; The calculation result is used as the algorithm processing score of the specified encryption algorithm.
4. The method for processing electrocardiogram data according to claim 3, characterized in that: The weight determination algorithm includes at least a first weight determination algorithm and a second weight determination algorithm; the step of generating a first weight corresponding to the encryption rate based on the weight determination algorithm specifically includes: generating a first initial weight corresponding to an encryption rate based on the first weight determination algorithm; and, generating a second initial weight corresponding to the encryption rate based on the second weight determination algorithm; Calculating an average weight between the first initial weight and the second initial weight; The average weight is used as the first weight corresponding to the encryption rate.
5. The method for processing electrocardiogram data according to claim 2, characterized in that: The step of determining the target encryption algorithm from all the encryption algorithms based on the algorithm processing score specifically includes: Comparing the processing scores of all the algorithms numerically, and selecting a first encryption algorithm with the highest score from all the encryption algorithms; Determine whether the number of the first encryption algorithms is greater than 1; If the number of the first encryption algorithms is not greater than 1, taking the first encryption algorithm as the target encryption algorithm; If the number of the first encryption algorithms is greater than 1, obtaining the algorithm strength value of each of the first encryption algorithms; Filter out a second encryption algorithm with the highest algorithm strength value from all the first encryption algorithms; The second encryption algorithm is used as the target encryption algorithm.
6. The method for processing electrocardiogram data according to claim 1, characterized in that: The step of preprocessing the original electrocardiogram data to obtain corresponding electrocardiogram data specifically includes: Performing data cleaning processing on the original electrocardiogram data to obtain corresponding first processed data; Performing data filtering processing on the first processed data to obtain corresponding second processed data; performing standardization processing on the second processed data to obtain corresponding third processed data; The third processed data is used as the electrocardiogram data.
7. The method for processing electrocardiogram data according to claim 1, characterized in that: After the step of encrypting the electrocardiogram data based on the target encryption algorithm to obtain corresponding target electrocardiogram data, the method further includes: Performing evaluation processing on the target electrocardiogram data to obtain corresponding evaluation results; generating corresponding health recommendations based on the evaluation results; The assessment result and the health advice are pushed to a target user corresponding to the target electrocardiogram data.
8. A device for processing electrocardiogram data, characterized in that: include: A first acquisition module, used to acquire pre-collected original electrocardiogram data; A preprocessing module, used for preprocessing the original electrocardiogram data to obtain corresponding electrocardiogram data; A second acquisition module is used to acquire a plurality of pre-screened encryption algorithms; A determination module, used to test each of the encryption algorithms based on preset test data and performance indicators, and determine a target encryption algorithm from all the encryption algorithms; An encryption module, used for encrypting the electrocardiogram data based on the target encryption algorithm to obtain corresponding target electrocardiogram data; The uploading module is used to upload the target electrocardiogram data to a preset cloud database.
9. A computer device, comprising a memory and a processor, wherein the memory stores computer-readable instructions, and the processor implements the steps of the method for processing electrocardiogram data according to any one of claims 1 to 7 when executing the computer-readable instructions.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer-readable instructions, which, when executed by a processor, implement the steps of the method for processing electrocardiogram data according to any one of claims 1 to 7.
Citation Information
Cited By
Health data communication transmission method of intelligent health detection cup
CN119629611A
