An electrocardiogram data processing method, apparatus, electronic device, and storage medium

By receiving inputs to obtain field values and converting them into binary storage of ECG data, the problem of large storage space of ECG data and inconsistent system is solved, and smaller storage occupation, higher security and transmission efficiency are achieved, and the system is expanded and universal.

CN114081501BActive Publication Date: 2025-08-01HAINAN SHILIANDA HEALTH SMART MEDICAL TECH CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202111235705.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-10-22
Publication Date
2025-08-01
Estimated Expiration
2041-10-22

AI Technical Summary

Technical Problem

The existing technology center electrical data storage takes up a large space, and the data is not unified between different systems, poor universality, low security, slow transmission efficiency, unable to verify file integrity and low scalability.

Method used

An electrocardiogram data processing method is adopted to obtain the pre-stored field values by receiving inputs, determine the parameter values based on the corresponding relationship between the value range and the electrocardiogram parameters, and convert the data into binary storage, supporting encryption and verification mechanisms to unify the data formats of different systems.

Benefits of technology

It reduces storage space requirements, improves data security and transmission efficiency, ensures data integrity, enhances the scalability and versatility of the system, and reduces development and maintenance costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114081501B_ABST
    Figure CN114081501B_ABST
Patent Text Reader

Abstract

An embodiment of the present invention provides a method, apparatus, electronic device, and storage medium for electrocardiogram data processing, which relate to the field of medical technologies. The method includes: receiving a first input; in response to the first input, obtaining the value of a first field stored in advance; according to the correspondence between different value ranges of the first field and different first electrocardiogram parameters determined in advance, determining the value range to which the value of the first field belongs in the correspondence as a target value range; and determining the value of the first electrocardiogram parameter corresponding to the target value range according to the value of the first field. The solution of the present invention can save the storage space of electrocardiogram data.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of medical technology, and in particular, to a method, device, electronic device, and storage medium for processing electrocardiogram data. Background Art

[0002] An electrocardiogram acquisition device is used to acquire electrocardiogram data of a biological heart. For example, electrodes can be placed at different parts of the human body and connected to the positive and negative electrodes of the galvanometer of the electrocardiogram acquisition device through lead wires, so as to acquire electrocardiogram data of the human heart. Among them, electrocardiogram data helps to analyze and understand various arrhythmias and provides data basis for diagnosing various diseases. Therefore, electrocardiogram acquisition devices have become important medical tools in the medical field.

[0003] Among them, currently, HL7aECG(XML) files are used to store electrocardiogram data acquired by various electrocardiogram acquisition devices. For example, a value of 1024 requires 4 bytes to be stored in an HL7aECG(XML) file. And electrocardiogram data includes a large number of types of electrocardiogram parameters, and the specific values of some parameters are often relatively large. Therefore, using HL7aECG(XML) files to store electrocardiogram data requires a large storage space. Summary of the Invention

[0004] In view of the above problems, embodiments of the present invention are proposed to provide a method, device, electronic device, and storage medium for processing electrocardiogram data that overcome the above problems or at least partially solve the above problems.

[0005] To solve the above problems, embodiments of the present invention disclose a method for processing electrocardiogram data, the method including:

[0006] Receiving a first input;

[0007] In response to the first input, obtaining the value of a first field stored in advance;

[0008] According to the correspondence between different value ranges of the first field and different first electrocardiogram parameters determined in advance, determining the value range to which the value of the first field belongs in the correspondence as the target value range;

[0009] According to the value of the first field, determining the value of the first electrocardiogram parameter corresponding to the target value range.

[0010] Optionally, the method further includes:

[0011] Receiving a second input;

[0012] In response to the second input, selecting a function relationship from at least one function relationship stored in advance, where the function relationship is a function relationship between a second electrocardiogram parameter and a third electrocardiogram parameter;

[0013] Determine the value of the second electrocardiogram parameter according to the value of the second field stored in advance;

[0014] Determine the value of the third electrocardiogram parameter according to the value of the second electrocardiogram parameter and the selected functional relationship.

[0015] Optionally, before receiving the first input, the method further includes:

[0016] Obtain the lead data collected by the electrocardiogram acquisition device;

[0017] Determine the value of the first field according to the lead data.

[0018] Optionally, the lead data collected by the electrocardiogram acquisition device includes data of a first number of leads;

[0019] After obtaining the lead data collected by the electrocardiogram acquisition device, the method further includes:

[0020] Convert the data of the first number of leads into data of a second number of leads;

[0021] Wherein, the second number is greater than the first number.

[0022] Optionally, after determining the value of the first electrocardiogram parameter corresponding to the target value range according to the value of the first field, the method further includes:

[0023] Store the data of the second number of leads and the value of the first field in a pre-established target file;

[0024] Wherein, the target file is a file for pre-storing electrocardiogram data of the same user as the value of the first electrocardiogram parameter.

[0025] Optionally, storing the data of the second number of leads and the value of the first field in a pre-established target file includes:

[0026] Encrypt the data of the second number of leads and the value of the first field to obtain encrypted data;

[0027] Store the encrypted data in the target file.

[0028] Optionally, when the method is applied to a server, after storing the data of the second number of leads and the value of the first field in a pre-established target file, the method further includes:

[0029] Receive a data request sent by a client;

[0030] According to the data request, obtain the requested data from the stored data as the data to be sent.

[0031] Perform check encoding on the data to be sent to obtain the first data.

[0032] Send the first data to the client.

[0033] To solve the above problems, an embodiment of the present invention also discloses an electrocardiogram data processing device applied to an electronic device. The device includes:

[0034] A first receiving module, configured to receive a first input.

[0035] A first value obtaining module, configured to obtain the value of a pre-stored first field in response to the first input.

[0036] A first determining module, configured to determine the value range to which the value of the first field belongs in the corresponding relationship according to the corresponding relationship between different value ranges of the pre-determined first field and different first electrocardiogram parameters, as the target value range.

[0037] A second determining module, configured to determine the value of the first electrocardiogram parameter corresponding to the target value range according to the value of the first field.

[0038] To solve the above problems, an embodiment of the present invention also discloses an electronic device, including:

[0039] One or more processors; and

[0040] One or more machine-readable media storing instructions, which when executed by the one or more processors, cause the device to execute the electrocardiogram data processing method as described above.

[0041] To solve the above problems, an embodiment of the present invention also discloses a computer-readable storage medium, the computer program stored therein causes a processor to execute the electrocardiogram data processing method as described above.

[0042] The embodiments of the present invention have the following advantages:

[0043] In the embodiments of the present invention, a first input can be received, and in response to the first input, the value of a pre-stored first field can be obtained, and according to the corresponding relationship between different value ranges of the pre-determined first field and different first electrocardiogram parameters, the value range to which the value of the first field belongs in this corresponding relationship can be determined as the target value range, and then according to the value of the first field, the value of the first electrocardiogram parameter corresponding to the target value range can be determined.

[0044] It can be seen that in the embodiments of the present invention, one field can be used to represent the values of multiple electrocardiogram parameters, and only the value of this field needs to be stored. When needed, the values of the corresponding electrocardiogram parameters can be determined according to the correspondence between different value ranges of this field and different electrocardiogram parameters determined in advance, and the actual value of this field currently. Compared with directly storing multiple electrocardiogram parameters in an HL7aECG (XML) file in the prior art, the embodiments of the present invention require fewer byte numbers and do not require the label overhead of XML text, thus making the storage space occupied smaller. BRIEF DESCRIPTION OF THE DRAWINGS

[0045] Figure 1 is a schematic flowchart of an electrocardiogram data processing method provided by an embodiment of the present invention;

[0046] Figure 2 is a schematic flowchart of a specific implementation manner of an electrocardiogram data processing method provided by an embodiment of the present invention;

[0047] Figure 3 is a schematic block diagram of an electrocardiogram data processing device provided by an embodiment of the present invention;

[0048] Figure 4 is a schematic block diagram of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION OF THE EMBODIMENTS

[0049] To make the above objects, features, and advantages of the present invention more obvious and understandable, the present invention will be further described in detail below with reference to the drawings and specific embodiments.

[0050] In the electrocardiogram data processing method, device, electronic device, and storage medium according to the embodiments of the present invention, when the value of the first electrocardiogram parameter is relatively large, instead of directly storing the value of the first electrocardiogram parameter, it can be converted into a second electrocardiogram parameter in binary form for storage. Compared with directly storing the first electrocardiogram parameter in an HL7aECG (XML) file in the prior art, the embodiments of the present invention require fewer byte numbers and do not require the label overhead of XML text, thus making the storage space occupied smaller.

[0051] Refer to Figure 1 , which shows a step flowchart of an embodiment of an electrocardiogram data processing method of the present invention. This method can be applied to a client or a server. As Figure 1 shown, this method can specifically include the following steps:

[0052] Step 101: Receive a first input.

[0053] Among them, the first input is used to trigger obtaining the value of a first field stored in advance. Therefore, in the embodiments of the present invention, after receiving the first input, obtaining the value of the first field associated with the first input is automatically triggered.

[0054] In addition, the first input may be an input of a keyword, and the first field is a field that matches the keyword, that is, a field including the keyword or a field including a synonym of the keyword.

[0055] Step 102: In response to the first input, obtain the value of the first field stored in advance.

[0056] In the embodiments of the present invention, the value of a field may represent the value of at least one electrocardiogram parameter. Therefore, after obtaining the value of the first field stored in advance, according to the value of the first field, the value of at least one electrocardiogram parameter that the first field can represent can be obtained.

[0057] Step 103: According to the correspondence between different value ranges of the first field determined in advance and different first electrocardiogram parameters, determine the value range to which the value of the first field belongs in the correspondence as the target value range.

[0058] In the embodiments of the present invention, a field may represent the value of at least one electrocardiogram parameter. For example, for the first field described in step 103, different value ranges of the first field are preset to represent different electrocardiogram parameters. That is, at least one continuous value range of the first field represents one electrocardiogram parameter.

[0059] For example, the first field may represent the RR interval and the ventricular rate. Specifically, when the value of the first field is within the range of 1 to 65530, it means that the value of the RR interval is within 1 to 65530, that is, it can be determined that the value of the RR interval is the value of the first field, and thus the ventricular rate HR can be calculated according to the formula a / RR = HR, where a represents a constant determined in advance; the value of the first field = 0 represents ventricular asystole; the value of the first field = 65533 represents that the RR interval is greater than 65530; the value of the first field = 65534 represents that the lead of the electrocardiogram acquisition device is disconnected (that is, the lead is not in contact with the human body); the value of the first field = 65535 represents that the RR interval is not calculated.

[0060] Step 104: According to the value of the first field, determine the value of the first electrocardiogram parameter corresponding to the target value range.

[0061] Among them, at least one continuous value range of the first field represents one electrocardiogram parameter. Therefore, according to the value range in which the actual value of the first field is located, the specific value of the electrocardiogram parameter corresponding to this value range can be determined.

[0062] As can be seen from the above steps 101 to 104, in the embodiment of the present invention, a first input can be received, so as to respond to the first input, obtain the value of a first field stored in advance, and according to the correspondence between different value ranges of the first field determined in advance and different first electrocardiogram parameters, determine the value range to which the value of the first field belongs in this correspondence as the target value range, and then determine the value of the first electrocardiogram parameter corresponding to the target value range according to the value of the first field.

[0063] Thus, it can be seen that in the embodiment of the present invention, one field can be used to represent the values of multiple electrocardiogram parameters, then only the value of this field needs to be stored, and when needed, the values of the corresponding electrocardiogram parameters can be determined according to the correspondence between different value ranges of this field determined in advance and different electrocardiogram parameters, as well as the actual value of this field currently. Compared with directly storing multiple electrocardiogram parameters in an HL7aECG (XML) file in the prior art, the embodiment of the present invention requires fewer byte numbers and does not require the label overhead of XML text, thus making the storage occupy less space.

[0064] Optionally, the method further includes:

[0065] Receiving a second input;

[0066] In response to the second input, select a function relationship from at least one function relationship stored in advance, where the function relationship is the function relationship between a second electrocardiogram parameter and a third electrocardiogram parameter;

[0067] Determine the value of the second electrocardiogram parameter according to the value of a second field stored in advance;

[0068] Determine the value of the third electrocardiogram parameter according to the value of the second electrocardiogram parameter and the selected function relationship.

[0069] Among them, the second input is used to trigger the selection of a function relationship from at least one function relationship stored in advance. Thus, it can be known that in the embodiment of the present invention, in the case where there is at least one function relationship between two different electrocardiogram parameters, the user can select which function relationship to use according to their actual needs, and determine the value of another electrocardiogram parameter according to the value of one of the electrocardiogram parameters.

[0070] For example, for the same electrocardiogram parameter, different doctors may require different precisions of the electrocardiogram parameter when making a diagnosis based on this electrocardiogram parameter. Then different doctors can select a function relationship suitable for their actual needs to calculate the specific value of this electrocardiogram parameter.

[0071] For example, for the QTc interval, it can be calculated according to Bazett's formula (i.e., ) can also be obtained using the Fridericia formula (QTc interval = QT interval / RR interval 0.33 ) are obtained. These two calculation methods are suitable for different computing environments. Other calculation formulas can also be used based on the doctor's actual judgment to obtain more accurate judgment results. This method is more reasonable and accurate than directly storing the QTc interval. Moreover, only the QT interval and RR interval need to be stored, without the need for separate storage.

[0072] In addition, it should be noted that when the value of the above-mentioned second field represents an ECG parameter, the value of the second field is the value of the second ECG parameter; when the value of the above-mentioned second field represents at least two ECG parameters, it is necessary to determine whether the value of the obtained second field is within the value range corresponding to the second ECG parameter. If so, the value of the second ECG parameter can be obtained according to the value of the second field. If not, it is determined that the value of the second ECG parameter has not been obtained, and thus the value of the third ECG parameter cannot be obtained according to the value of the second ECG parameter.

[0073] Optionally, before receiving the first input, the method further includes:

[0074] Obtain lead data collected by an ECG acquisition device;

[0075] A value of the first field is determined according to the lead data.

[0076] Electrodes are placed on different parts of the body and connected to the positive and negative poles of the galvanometer of the ECG acquisition device via lead wires. This circuit connection method for recording the ECG is called ECG lead. The data collected through the lead wires during this ECG lead process is called lead data.

[0077] It can be seen from this that in an embodiment of the present invention, after obtaining the lead data directly collected by the ECG acquisition device, the ECG parameters that can be represented by the first field can be determined based on the lead data, and then the value of the first field can be determined based on the values of these ECG parameters.

[0078] For example, the RR interval and ventricular rate can be calculated based on the lead data collected by the ECG acquisition device, where if the RR interval is within the range of 1 to 65530, the value of the first field = RR interval; if the ventricular rate indicates ventricular arrest, the value of the first field = 0; if the ventricular rate indicates lead detachment of the ECG acquisition device, the value of the first field = 65534; if the RR interval is not calculated, the value of the first field = 65535.

[0079] Optionally, the lead data collected by the electrocardiogram collection device includes data of a first number of leads;

[0080] After obtaining the lead data collected by the electrocardiogram acquisition device, the method further includes:

[0081] Converting the data of the first number of leads into the data of the second number of leads;

[0082] Wherein, the second number is greater than the first number.

[0083] In addition, it should be noted that the above electrocardiogram acquisition device may include one or more electrocardiogram acquisition devices. Each electrocardiogram acquisition device can collect data of at least one lead. At least part of the data of the above second lead may be the same as the data of the above first number of leads.

[0084] In the case where the above electrocardiogram acquisition device includes multiple electrocardiogram acquisition devices, it is necessary to convert the data of at least one lead collected by each electrocardiogram acquisition device into the data of the unified second number of leads respectively.

[0085] For example, the electrocardiogram acquisition device includes device A, device B, and device C. Among them, the lead data collected by device A includes: lead data I, II; the lead data collected by device B includes: lead data I, III; the lead data collected by device C includes: lead data I, II, V1, V2, V3, V4, V5, V6; then the lead data collected by the above devices A, B, and C can be respectively converted into 12-lead data. Among them, the 12-lead data may include: lead data I, II, III, aVR, aVL, aVF, V1, V2, V3, V4, V5, V6.

[0086] In addition, the lead data collected by different electrocardiogram acquisition devices may be stored in different formats. For example, the lead data collected by the above device A is stored in the format customized by the device manufacturer, the lead data collected by device B is stored in XML format, and the lead data collected by device C is stored in the format of Digital Imaging and Communications in Medicine (DICOM). In this way, when each application end uses these data, three different methods are required to process these data. In the embodiments of the present invention, the data of the second number of leads obtained by the above conversion can be stored in binary form.

[0087] Among them, storing the data of the second number of leads in binary order can reduce the data occupied space. For example, for a value 1024, if it is stored in an HL7aECG (XML) file, it requires 4 bytes (text), while in binary it only requires 2 bytes (Int16); at the same time, there is no need for the label overhead of XML text, and the actual storage amount may be saved by more than 80%.

[0088] Optionally, after determining the value of the first electrocardiogram parameter corresponding to the target value range according to the value of the first field, the method further includes:

[0089] Storing the data of the second number of leads and the value of the first field in a pre-established target file;

[0090] Wherein, the target file is a file that has previously stored electrocardiogram data belonging to the same user as the value of the first electrocardiogram parameter.

[0091] It can be seen that in the embodiments of the present invention, one file can store electrocardiogram data collected from the same patient multiple times. Among them, the electrocardiogram acquisition device takes a short time to acquire electrocardiogram data. The data of the second number of leads converted from the data of the first number of leads acquired by the electrocardiogram acquisition device and the past electrocardiogram data of the same patient are stored in the same file, which is convenient for comparing the electrocardiogram data of the patient, so as to facilitate understanding of the pathological characteristics of long-cycle features such as incomplete right bundle branch block and atrial flutter and fibrillation, and has high clinical significance.

[0092] Optionally, the storing the data of the second number of leads and the value of the first field in a pre-established target file includes:

[0093] Encrypting the data of the second number of leads and the value of the first field to obtain encrypted data;

[0094] Storing the encrypted data in the target file.

[0095] It can be seen that in the embodiments of the present invention, the above-mentioned data of the second number of leads and the above-mentioned value of the first field can be encrypted and then stored in the target file. Among them, encrypting and storing these electrocardiogram data improves the security of data storage.

[0096] Optionally, when the method is applied to a server, after storing the data of the second number of leads and the value of the first field in a pre-established target file, the method further includes:

[0097] Receiving a data request sent by a client;

[0098] According to the data request, obtaining the requested data from the stored data as data to be sent;

[0099] Performing a check encoding on the data to be sent to obtain first data;

[0100] Sending the first data to the client.

[0101] As can be seen, in an embodiment of the present invention, after the ECG acquisition device collects lead data, it can automatically send it to the client. The client then sends the data of a first number of leads collected by the ECG acquisition device to the server. The server converts the data of the first number of leads into data of a second number of leads and determines the value of the first field based on the data of the first number of leads, thereby storing the data of the second lead and the value of the first field. When the client needs to use certain data, it can request it from the server. After receiving the first data returned by the server, the client performs verification decoding, that is, verifies the received first data.

[0102] Among them, the above data verification process on the client and server improves data integrity, thereby reducing the chance of data tampering.

[0103] In summary, the specific implementation of the electrocardiogram data processing method of the embodiment of the present invention can be as follows: Figure 2 As shown, the details are as follows:

[0104] When a patient comes to the hospital for consultation and needs ECG diagnosis services, the doctor creates a patient case for the patient and then uses an ECG acquisition device to collect data of a first number of leads (e.g., including lead data I and II). The ECG acquisition device then sends the collected data of the first number of leads to a client (e.g., a web page (WEB) terminal, a personal computer (PC) terminal, or a mobile terminal). The client then sends a diagnosis request to the server with the data of the first number of leads.

[0105] After receiving the diagnosis request sent by the client, the server standardizes the data format, that is, converts the data of the first number of leads into 12-lead data through a predetermined standard conversion formula, calculates at least one first ECG parameter (such as RR interval, ventricular rate, QT interval) based on the data of the first number of leads, and then determines the values of predetermined different fields based on the values of the first ECG parameters (for example, if the RR interval is within the range of 1 to 65530, the value of the first field = RR interval; if the ventricular rate indicates ventricular arrest, the value of the first field = 0; if the ventricular rate indicates that the lead of the ECG acquisition device is off, the value of the first field = 65534; if the RR interval is not calculated, the value of the first field = 65535; the value of the second field = QT interval), and merges the patient's current ECG data (including 12-lead data and the values of the determined fields) with the data of the patient's past medical records into one piece of data, encrypts the data using an encryption algorithm, calculates a checksum, and saves the final data into a file.

[0106] When other clients want to use this data, they first verify the data. If the verification fails, it indicates that the file is damaged or has been modified, and there is no need to perform subsequent operations. After the verification passes, the file can be decrypted using an algorithm.

[0107] Among them, after the client decrypts the data, it can determine the value of the first electrocardiogram parameter (for example, determine the ventricular rate and RR interval according to the value of the first field, and determine the QT interval according to the value of the second field) based on the decrypted electrocardiogram data (that is, including the above 12-lead data and the values of different fields), and calculate the value of at least one second electrocardiogram parameter (such as QTc interval).

[0108] For example, when the value of the first field is within the range of 1 to 65530, it means that the value of the RR interval is within 1 to 65530. That is, it can be determined that the value of the RR interval is the value of the first field. Thus, the ventricular rate HR can be calculated according to the formula a / RR = HR, where a represents a pre-determined constant; the value of the first field = 0 indicates ventricular asystole; the value of the first field = 65533 indicates that the RR interval is greater than 65530; the value of the first field = 65534 indicates that the lead of the electrocardiogram acquisition device has fallen off (that is, the lead is not in contact with the human body); the value of the first field = 65535 indicates that the RR interval has not been calculated; the value of the second field is the QT interval.

[0109] Among them, if there are multiple calculation methods for a certain second electrocardiogram parameter, before calculating a certain electrocardiogram parameter, the doctor can also select the function relationship used to calculate the second electrocardiogram parameter from a pre-determined multiple function relationships according to his actual needs. For example, a target control for the second electrocardiogram parameter can be displayed on the client. Thus, when the first preset operation on the target control is detected, the function relationship used to calculate the second electrocardiogram parameter is displayed, so that the user can select the function relationship that suits the needs from the displayed function relationships. For example, for the QTc interval, it can be obtained according to the Bazett's formula (that is, ) or can be obtained using the Fridericia's formula (QTc interval = QT interval / RR interval 0.33 ).

[0110] After obtaining the values of the above first electrocardiogram parameter and the second electrocardiogram parameter, the 12-lead data, the calculated value of the first electrocardiogram parameter, and the value of the second electrocardiogram parameter can be displayed on the client, so that the doctor can make a diagnosis for the patient based on the displayed electrocardiogram data.

[0111] In addition, it should be noted that when storing the 12-lead data, the specifications and data quality (i.e., data accuracy) of the original data can be retained.

[0112] As can be seen from the above, the electrocardiogram (ECG) data processing method according to the embodiments of the present invention can read the data collected by the ECG acquisition devices of manufacturers, unify the data through standard conversion (for example, uniformly convert it into 12-lead data), and store the data uniformly according to new rules (for example, use one field to represent the value of at least one ECG parameter and store it in binary form). Moreover, it can retain the specifications and data quality of the data of each manufacturer and unify the units of the data of each manufacturer; it can also encrypt the new data to ensure the security of user information; furthermore, a verification mechanism can be added to verify the data before each use to ensure the integrity of the data.

[0113] Among them, in the prior art, one piece of data is stored in one structure for the storage of ECG data, while in the embodiments of the present invention, multiple data of a user can be stored in the same data structure, which is convenient for use.

[0114] In addition, in the prior art, the ECG device data collected by different systems through ECG acquisition devices of different manufacturers and models is not unified, with poor versatility. The ECG diagnosis services on the WEB side, PC side, and mobile side are independent of each other. A service needs to be written for each system, which is not convenient to use during use, increasing the development and maintenance costs; it cannot ensure the security of information; it occupies a large storage space and has a slow transmission speed; it cannot verify the integrity of the file; and it has low scalability.

[0115] Therefore, compared with the prior art, in the ECG data processing method according to the embodiments of the present invention, the interface services of each end system are unified, so that duplicate development can be reduced and the cost can be lowered; the specifications and data quality of the original data can be retained to the greatest extent, making user information safer, reducing the data occupied space, improving the transmission efficiency, ensuring the data integrity, preventing the data from being tampered with, improving the scalability of the data, and being convenient for doctors to use.

[0116] It should be noted that for the method embodiments, for the sake of simple description, they are all expressed as a series of action combinations. However, those skilled in the art should know that the embodiments of the present invention are not limited by the described action sequence, because according to the embodiments of the present invention, some steps can be performed in other sequences or simultaneously. Secondly, those skilled in the art should also know that the embodiments described in the specification are all preferred embodiments, and the actions involved are not necessarily essential for the embodiments of the present invention.

[0117] Referring Figure 3 , a structural block diagram of an embodiment of an ECG data processing device according to the present invention is shown. As Figure 3 shown, the ECG data processing device 300 may specifically include the following modules:

[0118] A first receiving module 301, configured to receive a first input;

[0119] A value acquisition module 302, configured to acquire the value of a first field stored in advance in response to the first input;

[0120] A first determination module 303, configured to determine, according to the correspondence between different value ranges of the first field and different first electrocardiogram parameters determined in advance, the value range to which the value of the first field belongs in the correspondence as a target value range;

[0121] A second determination module 304, configured to determine the value of the first electrocardiogram parameter corresponding to the target value range according to the value of the first field.

[0122] Optionally, the device further includes:

[0123] A second receiving module, configured to receive a second input;

[0124] A selection module, configured to select a function relationship from at least one function relationship stored in advance in response to the second input, where the function relationship is a function relationship between a second electrocardiogram parameter and a third electrocardiogram parameter;

[0125] A third determination module, configured to determine the value of the second electrocardiogram parameter according to the value of a second field stored in advance;

[0126] A fourth determination module, configured to determine the value of the third electrocardiogram parameter according to the value of the second electrocardiogram parameter and the selected function relationship.

[0127] Optionally, the device further includes:

[0128] A first data acquisition module, configured to acquire lead data collected by an electrocardiogram acquisition device;

[0129] A fifth determination module, configured to determine the value of the first field according to the lead data.

[0130] Optionally, the lead data collected by the electrocardiogram acquisition device includes data of a first number of leads;

[0131] The device further includes:

[0132] A data conversion module, configured to convert the data of the first number of leads into data of a second number of leads;

[0133] where the second number is greater than the first number.

[0134] Optionally, the device further includes:

[0135] A storage module, configured to store the data of the second number of leads and the value of the first field in a target file established in advance;

[0136] Wherein, the target file is a file for pre-storing electrocardiogram data of the same user whose value of the first electrocardiogram parameter belongs.

[0137] Optionally, the storage module is specifically configured to:

[0138] Encrypt the data of the second number of leads and the value of the first field to obtain encrypted data;

[0139] Store the encrypted data in the target file.

[0140] Optionally, the device includes:

[0141] A third receiving module, configured to receive a data request sent by a client;

[0142] A second data acquisition module, configured to obtain the requested data from the pre-stored data according to the data request, as the data to be sent;

[0143] An encoding module, configured to perform check encoding on the data to be sent to obtain first data;

[0144] A sending module, configured to send the first data to the client.

[0145] As can be seen from the above, in the embodiment of the present invention, a first input can be received, and in response to the first input, the value of the pre-stored first field is obtained, and according to the correspondence between different value ranges of the pre-determined first field and different first electrocardiogram parameters, the value range to which the value of the first field belongs in this correspondence is determined as the target value range, and then according to the value of the first field, the value of the first electrocardiogram parameter corresponding to the target value range is determined.

[0146] Thus, it can be seen that in the embodiment of the present invention, a single field can be used to represent the values of multiple electrocardiogram parameters, and only the value of this field needs to be stored. When needed, according to the pre-determined correspondence between different value ranges of this field and different electrocardiogram parameters, and the actual value of this field currently, the value of the corresponding electrocardiogram parameter is determined. Compared with directly storing multiple electrocardiogram parameters in an HL7aECG (XML) file in the prior art, the embodiment of the present invention requires fewer byte numbers and does not require the label overhead of XML text, thus making the storage space occupied smaller.

[0147] For the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and for the relevant parts, refer to the partial description of the method embodiment.

[0148] The embodiment of the present invention also provides an electronic device, such as Figure 4As shown in the figure, it includes a processor 401, a communication interface 402, a memory 403, and a communication bus 404. Among them, the processor 401, the communication interface 402, and the memory 403 communicate with each other through the communication bus 404.

[0149] The memory 403 is used to store computer programs.

[0150] When the processor 401 is used to execute the program stored in the memory 403, the following steps are implemented:

[0151] Obtain the electrocardiogram data collected by the electrocardiogram acquisition device, where the electrocardiogram data includes the values of at least one first electrocardiogram parameter;

[0152] According to the values of the first electrocardiogram parameter, determine the values of the second electrocardiogram parameter represented in binary form;

[0153] Store the values of the second electrocardiogram parameter.

[0154] The communication bus mentioned in the above electronic device can be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc. This communication bus can be divided into an address bus, a data bus, a control bus, etc. For the convenience of representation, only a thick line is used in the figure, but it does not mean that there is only one bus or one type of bus.

[0155] The communication interface is used for communication between the above electronic device and other devices.

[0156] The memory may include a Random Access Memory (RAM), or may also include a non-volatile memory, such as at least one disk memory. Optionally, the memory may also be at least one storage device located far from the aforementioned processor.

[0157] The above-mentioned processor may be a general-purpose processor, including a Central Processing Unit (CPU for short), a Network Processor (NP for short), etc.; it may also be a Digital Signal Processor (DSP for short), an Application Specific Integrated Circuit (ASIC for short), a Field-Programmable Gate Array (FPGA for short), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components.

[0158] In another embodiment provided by the present invention, a computer-readable storage medium is further provided. Instructions are stored in the computer-readable storage medium, and when it runs on a computer, it causes the computer to execute the electrocardiogram data processing method described in the above embodiment.

[0159] In another embodiment provided by the present invention, a computer program product containing instructions is further provided. When it runs on a computer, it causes the computer to execute the electrocardiogram data processing method described in the above embodiment.

[0160] Each embodiment in this specification is described in a progressive manner. The key point of each embodiment is to illustrate the differences from other embodiments. The same or similar parts among the embodiments can be referred to each other.

[0161] Those skilled in the art should understand that the embodiments of the present invention can be provided as methods, devices, or computer program products. Therefore, the embodiments of the present invention can take the form of completely hardware embodiments, completely software embodiments, or embodiments combining software and hardware aspects. Moreover, the embodiments of the present invention can take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0162] The embodiments of the present invention are described with reference to the flowcharts and / or block diagrams of methods, terminal devices (systems), and computer program products according to the embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram can be implemented by computer program instructions, and the combination of the processes and / or blocks in the flowchart and / or block diagram can also be implemented by computer program instructions. These computer program instructions can be provided to the processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing terminal devices to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing terminal devices generate for implementing in the processFigure 1 one or more processes and / or blocks Figure 1 means for the functions specified in one or more blocks

[0163] These computer program instructions can also be stored in a computer-readable memory that can direct a computer or other programmable data processing terminal device to work in a specific manner, such that the instructions stored in the computer-readable memory produce a manufactured article including an instruction means that implements the functions specified in the process Figure 1 one or more processes and / or blocks Figure 1 specified in one or more blocks

[0164] These computer program instructions can also be loaded onto a computer or other programmable data processing terminal device, such that a series of operating steps are executed on the computer or other programmable terminal device to produce a computer-implemented process, and thus the instructions executed on the computer or other programmable terminal device provide steps for implementing the functions specified in the process Figure 1 one or more processes and / or blocks Figure 1 specified in one or more blocks

[0165] Although the preferred embodiments of the embodiments of the present invention have been described, those skilled in the art can make additional changes and modifications once they learn the basic creative concepts. Therefore, the appended claims are intended to be construed as including the preferred embodiments and all changes and modifications that fall within the scope of the embodiments of the present invention

[0166] Finally, it should also be noted that in this text, relational terms such as first and second are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the term "comprising", "including" or any other variant thereof is intended to cover non-exclusive inclusion, such that a process, method, article or terminal device including a series of elements not only includes those elements, but also includes other elements not expressly listed, or elements inherent to such process, method, article or terminal device. Without further limitation, an element defined by the statement "including one..." does not exclude the existence of additional identical elements in the process, method, article or terminal device including the said element

[0167] The above has introduced in detail a method and device for processing electrocardiogram data. Specific examples are used in this article to elaborate on the principle and implementation manner of the present invention. The description of the above embodiments is only used to help understand the method of the present invention and its core idea; at the same time, for those of ordinary skill in the art, according to the idea of the present invention, there will be changes in the specific implementation manner and application scope. In summary, the content of this specification should not be construed as a limitation to the present invention.

Claims

1. A method for processing electrocardiogram data, characterized in that, The method includes: Receiving a first input; In response to the first input, obtaining the value of a first field stored in advance; the value of the first field represents the value of at least one electrocardiogram parameter; According to the correspondence relationship between different value ranges of the first field determined in advance and different first electrocardiogram parameters, determining the value range to which the value of the first field belongs in the correspondence relationship as the target value range; According to the value of the first field, determining the value of the first electrocardiogram parameter corresponding to the target value range.

2. The electrocardiogram data processing method according to claim 1, wherein The method further includes: Receiving a second input; In response to the second input, selecting a function relationship from at least one function relationship stored in advance, where the function relationship is a function relationship between a second electrocardiogram parameter and a third electrocardiogram parameter; According to the value of a second field stored in advance, determining the value of the second electrocardiogram parameter; According to the value of the second electrocardiogram parameter and the selected function relationship, determining the value of the third electrocardiogram parameter.

3. The electrocardiogram data processing method according to claim 1, characterized in that, Before receiving the first input, the method further includes: Obtaining lead data collected by an electrocardiogram acquisition device; According to the lead data, determining the value of the first field.

4. The electrocardiogram data processing method according to claim 3, characterized in that, The lead data collected by the electrocardiogram acquisition device includes data of a first number of leads; After obtaining the lead data collected by the electrocardiogram acquisition device, the method further includes: Converting the data of the first number of leads into data of a second number of leads; Wherein, the second number is greater than the first number.

5. The electrocardiogram data processing method according to claim 4, characterized in that, After determining the value of the first electrocardiogram parameter corresponding to the target value range according to the value of the first field, the method further includes: Storing the data of the second number of leads and the value of the first field in a pre-established target file; Wherein, the target file is a file for pre-storing electrocardiogram data of the same user to which the value of the first electrocardiogram parameter belongs.

6. The electrocardiogram data processing method according to claim 5, wherein The storing the data of the second number of leads and the value of the first field in a pre-established target file includes: Encrypting the data of the second number of leads and the value of the first field to obtain encrypted data; Storing the encrypted data in the target file.

7. The electrocardiogram data processing method according to claim 5, wherein When the method is applied to a server, after storing the data of the second number of leads and the value of the first field in a pre-established target file, the method further includes: Receiving a data request sent by a client; According to the data request, obtaining the requested data from the stored data as the data to be sent; Performing check encoding on the data to be sent to obtain first data; Sending the first data to the client.

8. An electrocardiogram data processing device, characterized in that, The device includes: A first receiving module, configured to receive a first input; A first value obtaining module, configured to obtain the value of a first field stored in advance in response to the first input; the value of the first field represents the value of at least one electrocardiogram parameter; A first determination module, configured to determine, according to a pre-determined correspondence between different value ranges of the first field and different first electrocardiogram parameters, the value range to which the value of the first field belongs in the correspondence as a target value range; A second determination module, configured to determine, according to the value of the first field, the value of the first electrocardiogram parameter corresponding to the target value range.

9. An electronic device, characterized in that, Comprising: One or more processors; And One or more machine-readable media storing instructions that, when executed by the one or more processors, cause the processors to execute the electrocardiogram data processing method according to any one of claims 1 to 7.

10. A computer-readable storage medium, characterized in that, The computer program stored therein causes the processor to execute the electrocardiogram data processing method according to any one of claims 1 to 7.

Citation Information

Patent Citations

  • Disease data processing method and device, electronic equipment and readable medium

    CN109616212A