Electrocardio data processing method and device, electrocardio signal acquisition box and storage medium

CN117688389BActive Publication Date: 2026-10-30WUHAN UNITED IMAGING HEALTHCARE SURGICAL TECH CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202211025904.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-08-25
Publication Date
2026-10-30
Estimated Expiration
2042-08-25

AI Technical Summary

Technical Problem

[0003]相关技术往往采用心电信号采集系统采集心电信号数据,然而,由于心电信号采集系统的心电信号采集盒的数据处理能力和数据存储空间有限,采用复杂的加密算法对采集到的心电信号数据进行整体加密往往会使心电信号采集盒存在计算处理能力不足的问题,不利于提高心电信号采集盒对心电数据的处理效率

Benefits of technology

[0045]第七方面,本申请还提供了一种计算机程序产品,包括计算机程序,该计算机程序被处理器执行时实现上述的方法的步骤。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117688389B_ABST
    Figure CN117688389B_ABST
Patent Text Reader

Abstract

The application relates to an electrocardio data processing method and device, an electrocardio signal acquisition box and a storage medium. The method comprises the following steps: in response to a storage instruction of target electrocardio data, randomly generating interference indication information for the target electrocardio data; performing interference processing on the target electrocardio data according to an interference mode represented by the interference indication information to obtain post-interference electrocardio data; performing encryption processing on the interference indication information to obtain a key segment matched with the post-interference electrocardio data; the key segment is used for restoring the post-interference electrocardio data to the target electrocardio data; and the post-interference electrocardio data and the key segment are stored. The electrocardio data storage security can be improved by using the method.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of medical data processing technology, and in particular to an electrocardiogram (ECG) data processing method, apparatus, computer equipment, storage medium, and computer program product. Background Technology

[0002] Electrocardiogram (ECG) signals are among the earliest biological signals studied and applied in clinical medicine. They are easier to detect than other bioelectrical signals and exhibit more intuitive regularity, thus ECG analysis technology has promoted medical development. ECG examination is an important method for diagnosing cardiovascular diseases in clinical practice.

[0003] Related technologies often use ECG signal acquisition systems to collect ECG signal data. However, due to the limited data processing capabilities and data storage space of the ECG signal acquisition box in the ECG signal acquisition system, using complex encryption algorithms to encrypt the collected ECG signal data as a whole often results in insufficient computing power of the ECG signal acquisition box, which is not conducive to improving the processing efficiency of the ECG signal acquisition box for ECG data. Summary of the Invention

[0004] Therefore, it is necessary to provide an ECG data processing method, device, computer equipment, computer-readable storage medium, and computer program product that can improve the processing efficiency of ECG data by the ECG signal acquisition box, in response to the above-mentioned technical problems.

[0005] In a first aspect, this application provides a method for processing electrocardiogram (ECG) data, the method comprising:

[0006] In response to a storage instruction for target ECG data, interference indication information for the target ECG data is randomly generated;

[0007] According to the interference mode characterized by the interference indication information, the target ECG data is subjected to interference processing to obtain the interfered ECG data;

[0008] The interference indication information is encrypted to obtain a key segment that matches the interfered ECG data;

[0009] The interference-induced ECG data and the key segment are stored; the key segment is used to restore the interference-induced ECG data to the target ECG data.

[0010] In one embodiment, the interference indication information includes the length and location of the interference data. The step of interfering with the target ECG data according to the interference method characterized by the interference indication information to obtain the interfering ECG data includes:

[0011] Generate interference data that meets the specified interference data length;

[0012] According to the location of the interference data, the interference data is added to the target ECG data to obtain the interference-adjusted ECG data.

[0013] In one embodiment, generating interference data that satisfies the interference data length includes:

[0014] A preset random number generation algorithm is used to generate a random number segment that meets the length of the interference data;

[0015] The random number segment was identified as the interference data;

[0016] or,

[0017] Obtain the signal frequency corresponding to the electrocardiogram signal represented by the target electrocardiogram data;

[0018] QRS waveform data of the corresponding period is generated based on the signal frequency corresponding to the electrocardiogram signal; the data length of the QRS waveform data satisfies the interference data length.

[0019] The QRS waveform data is identified as the interference data.

[0020] In one embodiment, the target ECG data includes at least two bytes, and the step of adding the interference data to the target ECG data according to the position of the interference data to obtain the interference-reduced ECG data includes:

[0021] Based on the location of the interference data, the target addition position of the interference data is determined in the interval between each two adjacent bytes in the target ECG data;

[0022] The interference data is added to the target addition location to obtain the interference-affected ECG data.

[0023] In one embodiment, the target ECG data includes at least two bytes, and the interference indication information further includes the storage order of each byte. The step of interfering with the target ECG data according to the interference method characterized by the interference indication information to obtain interfering ECG data includes:

[0024] According to the storage order, the storage order of each byte in the target ECG data is adjusted to obtain the interfered ECG data.

[0025] Secondly, this application also provides a method for processing electrocardiogram (ECG) data, the method comprising:

[0026] In response to a command to restore stored ECG data, the stored ECG data and a key segment matching the stored ECG data are read.

[0027] The key segment matching the stored ECG data is decrypted to obtain interference indication information corresponding to the stored ECG data; the interference indication information is used to characterize the interference method implemented on the stored ECG data;

[0028] The stored ECG data is subjected to interference cancellation processing according to the interference cancellation method corresponding to the interference method, and the recovered ECG data is obtained.

[0029] In one embodiment, the interference indication information includes the length and location of the interference data. The step of performing interference cancellation processing on the stored ECG data according to an interference cancellation method corresponding to the interference method to obtain recovered ECG data includes:

[0030] Interference data in the stored ECG data is identified based on the length and location of the interference data.

[0031] Interference data is removed from the stored ECG data to obtain the recovered ECG data.

[0032] In one embodiment, the stored ECG data includes at least two bytes, and the interference indication information further includes the storage order of each byte. The step of performing interference cancellation processing on the stored ECG data according to an interference cancellation method corresponding to the interference method to obtain recovered ECG data includes:

[0033] The reading order of each byte in the stored ECG data is adjusted according to the reading order corresponding to the storage order to obtain the recovered ECG data.

[0034] Thirdly, this application also provides an electrocardiogram data processing device, the device comprising:

[0035] The generation module is used to randomly generate interference indication information for the target ECG data in response to the storage instruction for the target ECG data;

[0036] An interference module is used to perform interference processing on the target electrocardiogram data according to the interference mode characterized by the interference indication information, so as to obtain the interfered electrocardiogram data.

[0037] An encryption module is used to encrypt the interference indication information to obtain a key segment that matches the interfered ECG data;

[0038] A storage module is used to store the interfered ECG data and the key segment; the key segment is used to restore the interfered ECG data to the target ECG data.

[0039] Fourthly, this application also provides an electrocardiogram (ECG) data processing device, the device comprising:

[0040] A reading module is configured to read the stored electrocardiogram (ECG) data and a key segment matching the stored ECG data in response to a recovery command for the stored ECG data.

[0041] The decryption module is used to decrypt the key segment that matches the stored ECG data to obtain interference indication information corresponding to the stored ECG data; the interference indication information is used to characterize the interference method implemented on the stored ECG data;

[0042] The recovery module is used to perform interference cancellation processing on the stored ECG data according to the interference cancellation method corresponding to the interference method, so as to obtain the recovered ECG data.

[0043] Fifthly, this application also provides an electrocardiogram (ECG) signal acquisition box, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement the steps of the above-described method.

[0044] Sixthly, this application also provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of the above-described method.

[0045] In a seventh aspect, this application also provides a computer program product, including a computer program that, when executed by a processor, implements the steps of the above-described method.

[0046] The aforementioned ECG data processing method, apparatus, computer equipment, storage medium, and computer program product, in response to a storage instruction for target ECG data, determine interference indication information for the target ECG data, and perform interference processing on the target ECG data according to the interference mode characterized by the interference indication information to obtain interfered ECG data. Then, the interference indication information is encrypted to obtain a key segment matching the interfered ECG data. The interfered ECG data and the key segment are then stored. After the key segment is decrypted, it is used to restore the interfered ECG data to the target ECG data. Thus, by interfering with the target ECG data using an interference mode, and subsequently restoring the interfered ECG data based on the corresponding descrambling method, and encrypting the interference mode, the information carried by the target ECG data is effectively hidden in a reversible manner. This allows the ECG signal acquisition box to effectively encrypt ECG signal data, avoiding the problem of insufficient computing power when encrypting ECG signal data, thereby effectively improving the processing efficiency of the ECG signal acquisition box for ECG data. Attached Figure Description

[0047] Figure 1 This is an application environment diagram of an electrocardiogram data processing method in one embodiment;

[0048] Figure 2 This is a flowchart illustrating an electrocardiogram (ECG) data processing method in one embodiment;

[0049] Figure 3 This is a data encryption logic diagram of an electrocardiogram data processing method in one embodiment;

[0050] Figure 4 This is a schematic diagram of the storage structure of an electrocardiogram (ECG) data processing method in one embodiment;

[0051] Figure 5 This is a schematic diagram of the storage structure of another ECG data processing method in one embodiment;

[0052] Figure 6 This is a flowchart illustrating an electrocardiogram (ECG) data processing method in another embodiment;

[0053] Figure 7 This is a data decryption logic diagram of an electrocardiogram data processing method in one embodiment;

[0054] Figure 8 This is a schematic diagram illustrating the decryption of electrocardiogram (ECG) data in one embodiment.

[0055] Figure 9 This is a structural block diagram of an electrocardiogram (ECG) data processing device in one embodiment;

[0056] Figure 10 This is a structural block diagram of another electrocardiogram data processing device in one embodiment;

[0057] Figure 11 This is an internal structural diagram of a computer device in one embodiment. Detailed Implementation

[0058] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of this application.

[0059] The electrocardiogram (ECG) data processing method provided in this application embodiment can be applied to, for example... Figure 1In the application environment shown, after the ECG signal acquisition device 102 acquires the target ECG data of the target object, the ECG signal acquisition box can, in response to the storage command for the target ECG data, determine interference indication information for the target ECG data; then, the ECG signal acquisition device 102 can perform interference processing on the target ECG data according to the interference method represented by the interference indication information to obtain the interfered ECG data; then, the ECG signal acquisition device 102 encrypts the interference indication information to obtain a key segment that matches the interfered ECG data; the ECG signal acquisition device 102 stores the interfered ECG data and the key segment in the storage device 104; the key segment is used to restore the interfered ECG data to the target ECG data. In practical applications, the storage device 104 can be, but is not limited to, various computer-readable storage media such as SD cards, USB flash drives, and portable hard drives. The ECG signal acquisition device 102 can refer to the ECG signal acquisition box.

[0060] In one embodiment, such as Figure 2 As shown, an electrocardiogram (ECG) data processing method is provided, which can be applied to... Figure 1 The following steps are used as an example to illustrate the process of acquiring electrocardiogram (ECG) signals: 102.

[0061] Step 202: In response to the instruction to store the target ECG data, determine interference indication information for the target ECG data.

[0062] The target ECG data can refer to the ECG signal data that needs to be stored.

[0063] Interference indication information refers to the data interference method applied to the target ECG data. In practical applications, data interference methods may include, but are not limited to, adding noisy data, adjusting the data storage method, and deleting target data.

[0064] In practice, when the ECG signal acquisition device acquires the ECG signal data of the target object (e.g., the human body) (i.e., the target ECG data), the ECG signal acquisition device can respond to the storage instruction for the target ECG data and randomly determine the interference indication information for the target ECG data, so as to perform interference processing on the target ECG data according to the interference indication information in the future.

[0065] For example, in response to a command to store the target ECG data, the ECG signal acquisition device can randomly generate interference indication information that represents at least one type of interference. The interference indication information may include information such as the addition location, noise type, and noise length of the noise data to be added to the target ECG data.

[0066] Step 204: According to the interference mode represented by the interference indication information, the target ECG data is subjected to interference processing to obtain the interfered ECG data.

[0067] In practice, during the process of interfering with the target ECG data according to the interference mode characterized by the interference indication information, the ECG signal acquisition device can generate target noise data according to information such as noise type and noise length, and add the target noise data to the target ECG data at the addition position indicated by the interference indication information, so as to achieve interference processing of the target ECG data and obtain the interfered ECG data.

[0068] Step 206: Encrypt the interference indication information to obtain a key segment that matches the ECG data after interference.

[0069] In practice, the ECG signal acquisition device can also use a preset encryption algorithm to encrypt the interference indication information and obtain the encryption result; the ECG signal acquisition device then generates a key segment that matches the interfered ECG data based on the encryption result.

[0070] Step 208: Store the ECG data and key segment after interference.

[0071] In practice, after determining the interfered ECG data and key segment, the ECG signal acquisition device can store the interfered ECG data and key segment. Specifically, the ECG signal acquisition device can store the interfered ECG data and key segment to a computer-readable storage medium (such as an SD card, USB flash drive, or external hard drive) electrically connected to the ECG signal acquisition device.

[0072] Of course, the ECG signal acquisition device can also store the interfered ECG data and the key segment separately on different storage devices, thereby enabling data control over the key segment. The key segment is used to restore the interfered ECG data to the target ECG data.

[0073] When a user needs to analyze the electrocardiogram (ECG) signal data of the target object, the user can use the ECG signal analysis software installed on the electronic device to read and parse the ECG data stored in the readable storage medium. In other words, the electronic device can restore the ECG data after interference to the target ECG data.

[0074] Specifically, the electronic device can decrypt the key segment using the decryption algorithm corresponding to the encryption algorithm mentioned above to obtain interference indication information. The electronic device then performs interference cancellation processing on the interfered ECG data according to the interference cancellation method corresponding to the interference mode represented by the interference indication information, thereby restoring the interfered ECG data to the target ECG data.

[0075] In the above-described ECG data processing method, in response to a storage instruction for the target ECG data, interference indication information for the target ECG data is determined. The target ECG data is then subjected to interference processing according to the interference method represented by the interference indication information to obtain interfered ECG data. The interference indication information is then encrypted to obtain a key segment matching the interfered ECG data. The interfered ECG data and the key segment are then stored. After the key segment is decrypted, it is used to restore the interfered ECG data to the target ECG data. Thus, by interfering with the target ECG data using an interference method, and subsequently restoring the interfered ECG data based on the corresponding descrambling method, and encrypting the interference method, the information carried by the target ECG data is effectively hidden in a reversible manner. This allows the ECG signal acquisition box to effectively encrypt the ECG signal data, avoiding the problem of insufficient computing power when encrypting ECG signal data, thereby effectively improving the processing efficiency of the ECG signal acquisition box.

[0076] Random generation algorithm for interference:

[0077] The master heartbeat stores common ECG interference signals in multiple segments. A random algorithm extracts different signal segments by random frequency (interval point values) and amplitude (data is magnified or reduced by a factor) (within an encrypted interval, the type of interference signal, the value of the interval point, and the amplitude change value are fixed).

[0078] In another embodiment, the target ECG data is subjected to interference processing according to the interference mode characterized by the interference indication information to obtain the interfered ECG data, including: generating interference data that meets the interference data length; adding the interference data to the target ECG data according to the interference data position to obtain the interfered ECG data.

[0079] The interference indication information includes the length and location of the interference data.

[0080] The interference data length can refer to the length of the interference data to be added to the target ECG data. In practical applications, the interference data length can also be named the interference duration length.

[0081] The interference data location can refer to the target insertion location corresponding to the interference data to be added to the target ECG data. In practical applications, the interference data location can also be named the interference insertion location.

[0082] In practice, the ECG signal acquisition device performs interference processing on the target ECG data according to the interference mode characterized by the interference indication information to obtain the interfered ECG data. Please refer to [link to relevant documentation]. Figure 3 , Figure 3A data encryption logic diagram for an electrocardiogram (ECG) data processing method is provided; the ECG signal acquisition device can use a preset interference method random generation algorithm to randomly generate the length and position of the interference data to be inserted into the target ECG data.

[0083] After determining the length of the interference data, the ECG signal acquisition device can randomly generate interference data with a length that meets the interference data length according to a preset data random generation algorithm.

[0084] In practical applications, the data similarity between the interference data randomly generated by the ECG signal acquisition device and the target ECG data can be greater than or equal to a preset similarity threshold. This data similarity can include, but is not limited to, at least one of data content similarity, data structure similarity, and data format similarity. This increases the difficulty of identifying the interference data from the interfered ECG data, thereby increasing the difficulty of cracking or tampering with the interfered ECG data.

[0085] In practical applications, the main control chip of the ECG signal acquisition device can store multiple common ECG interference signals. The ECG signal acquisition device can extract these different ECG interference signals according to random frequency (interval point values), random amplitude (data amplified or reduced by a factor), and fixed interference signal type, interval point values, and amplitude variation values ​​within an encrypted interval. This allows the generation of interference data with a data similarity to the target ECG data that meets preset conditions. It should be noted that the process of the ECG signal acquisition device generating interference data that meets the required length will be explained in detail below, but will not be elaborated on here. After generating the interference data, the ECG signal acquisition device adds the interference data to the target ECG data according to the interference data position, obtaining the interfered ECG data. Simultaneously, after obtaining the interfered ECG data, the ECG signal acquisition device can also detect whether the data length of the interfered ECG data is greater than or equal to a preset data length threshold. If the data length of the interfered ECG data is less than the preset data length threshold, the ECG signal acquisition device will use the interfered ECG data as the new target ECG data and re-execute the preset interference method random generation algorithm to randomly generate the interference data length and interference data position corresponding to the interference data to be inserted into the target ECG data. According to the preset data random generation algorithm, interference data with a data length that meets the interference data length is randomly generated. According to the interference data position, the interference data is added to the target ECG data to obtain the interfered ECG data. The above loop process is repeated until the interfered ECG data is greater than or equal to the preset data length threshold.

[0086] The ECG signal acquisition device can also use a preset encryption algorithm to encrypt the two numbers, the length and location of the interference data, and store the encrypted key (i.e., key segment) and the interfered ECG data in a storage device (e.g., SD).

[0087] The target ECG data includes at least two bytes. According to the location of the interference data, the interference data is added to the target ECG data to obtain the interference-free ECG data. This includes: determining the target addition position of the interference data in the interval between each two adjacent bytes in the target ECG data according to the location of the interference data; adding the interference data to the target addition position to obtain the interference-free ECG data.

[0088] For the convenience of those skilled in the art, Figure 4 An exemplary storage structure diagram of an electrocardiogram (ECG) data processing method is provided; wherein, 410 is a key segment, which carries the length and location of the encrypted interference data. 420 is the interference-prevented ECG data, which includes multiple bytes, each byte having a corresponding byte number; as shown... Figure 4 The interference data randomly generated by the ECG signal acquisition device is located between bytes 3 and 4 of the target ECG data, and between bytes 13 and 14 of the target ECG data. After generating interference data that meets the required length, the ECG signal acquisition device inserts this interference data into the positions between bytes 3 and 4 of the target ECG data, and between bytes 13 and 14 of the target ECG data, resulting in the interfered ECG data 420.

[0089] The technical solution of this embodiment includes interference indication information including interference data length and interference data position. By generating interference data that meets the interference data length and adding the interference data to the target ECG data according to the interference data position, interference ECG data is obtained. This effectively hides the information carried by the target ECG data in a reversible manner, thereby achieving effective encryption and decryption of the target ECG data without using complex encryption algorithms to encrypt the target ECG data as a whole.

[0090] In another embodiment, generating interference data that meets the interference data length includes: using a preset random number generation algorithm to generate a random number segment that meets the interference data length; determining the random number segment as interference data; and further obtaining the signal frequency corresponding to the ECG signal represented by the target ECG data; generating QRS waveform data of the corresponding period based on the signal frequency corresponding to the ECG signal; the data length of the QRS waveform data meets the interference data length; and determining the QRS waveform data as interference data.

[0091] In practical implementation, during the generation of interference data that meets the required length, the ECG signal acquisition device can employ a preset random number generation algorithm to generate random number segments that meet the required length. In actual applications, the ECG signal acquisition device can obtain the current value corresponding to random events such as the current time as a seed for random number generation, and use this seed to generate random number segments that meet the required length for interference data, which will then be added to the target ECG data.

[0092] Of course, the ECG signal acquisition device can also acquire the signal frequency corresponding to the ECG signal represented by the target ECG data, and generate QRS waveform data of the corresponding period based on the signal frequency, with the data length of the QRS waveform data meeting the interference data length. Then, the ECG signal acquisition device uses the QRS waveform data as interference data to be added to the target ECG data. In this way, the similarity between the interfered ECG data and the target ECG data can be effectively increased, increasing the difficulty of deciphering the interfered ECG data.

[0093] In another embodiment, the target ECG data includes at least two bytes, and the interference indication information also includes the storage order of each byte. The target ECG data is subjected to interference processing according to the interference method characterized by the interference indication information to obtain the interfered ECG data, including: adjusting the storage order of each byte in the target ECG data according to the storage order to obtain the interfered ECG data.

[0094] In practical implementation, during the process of determining interference indication information for the target ECG data, the ECG signal acquisition device can randomly generate a storage order for each byte and adjust the storage order of each byte in the target ECG data according to the storage order to obtain the interfered ECG data. Alternatively, the ECG signal acquisition device can directly store each byte of the target ECG data into the storage device according to the storage order to obtain the interfered ECG data. Please refer to [link to relevant documentation]. Figure 5 , Figure 5 A schematic diagram of the storage structure for another ECG data processing method is provided. The target ECG data 420 is known to consist of bytes 1, 2…15, 16 in sequence. The storage order randomly generated by the ECG signal acquisition device is (3,6,7,8…9,2,1). Therefore, the interfered ECG data 330 is composed of bytes 3, 6, 7, 8…9, 2, 1 in sequence. The ECG signal acquisition device encrypts the storage order, obtaining a key segment 410 carrying the encrypted storage order.

[0095] The technical solution of this embodiment adjusts the storage order of each byte in the target ECG data according to the storage order, thereby realizing the reversible hiding of the information carried by the target ECG data. This achieves effective encryption of the target ECG data without the need for complex encryption algorithms to encrypt the entire target ECG data.

[0096] In one embodiment, such as Figure 6 As shown, an electrocardiogram (ECG) data processing method is provided, which includes the following steps:

[0097] Step 602: In response to the instruction to restore the stored ECG data, read the stored ECG data and the key segment that matches the stored ECG data.

[0098] In practice, when a user needs to analyze the electrocardiogram (ECG) signal data of the target object, the ECG signal analysis software of the electronic device can respond to the recovery command of the stored ECG data stored in the SD card, read the stored ECG data stored in the SD card, and the key segment that matches the stored ECG data.

[0099] It should be noted that the process of generating stored ECG data and the key segment that matches the stored ECG data can be found in the specific limitations of the process of generating interfered ECG data and the key segment that matches the interfered ECG data mentioned above, and will not be repeated here.

[0100] Specifically, the electronic device can decrypt the key segment using the decryption algorithm corresponding to the encryption algorithm mentioned above to obtain interference indication information. The electronic device then performs interference cancellation processing on the interfered ECG data according to the interference cancellation method corresponding to the interference mode represented by the interference indication information, thereby restoring the interfered ECG data to the target ECG data.

[0101] Step 604: Decrypt the key segment that matches the stored ECG data to obtain the interference indication information corresponding to the stored ECG data; the interference indication information is used to characterize the interference method implemented on the stored ECG data.

[0102] In practice, once the electronic device reads a key segment matching the stored ECG data, it can decrypt that key segment to obtain interference indication information corresponding to the stored ECG data. This interference indication information characterizes the interference method applied to the stored ECG data. Specifically, the interference indication information can indicate that the stored ECG data involves adding interference data of a specific length to a specific position in the original ECG data.

[0103] Step 606: Perform interference cancellation processing on the stored ECG data according to the interference cancellation method corresponding to the interference method to obtain the recovered ECG data.

[0104] Among them, the interference cancellation method and the interference method are mutually derived.

[0105] In practice, once the electronic device determines the interference mode represented by the interference indication information, it can deduce the corresponding interference cancellation method.

[0106] For example, see Figure 7 , Figure 7 A data decryption logic diagram for an electrocardiogram (ECG) data processing method is provided. When the interference indication information indicates that the stored ECG data is obtained by adding interference data of a specific length to a specific position of the original ECG data, the electronic device can determine that the corresponding interference cancellation method is to identify the data of a specific length located at a specific position of the stored ECG data as interference data and remove the interference data from the stored ECG data, thereby realizing interference cancellation processing on the stored ECG data and obtaining the recovered ECG data.

[0107] For example, if the interference indication information indicates that the stored ECG data is obtained by reordering the bytes of the original ECG data in a specific order, the electronic device can determine that the corresponding interference cancellation method is to reorder the bytes of the stored ECG data in the original order corresponding to the specific order, thereby realizing the interference cancellation processing of the stored ECG data and obtaining the recovered ECG data.

[0108] The aforementioned ECG data processing method, in response to a recovery command for stored ECG data, reads the stored ECG data and the key segment matching the stored ECG data, and decrypts the key segment matching the stored ECG data. This determines the interference method applied to the stored ECG data, and allows for the restoration of the stored ECG data encrypted by the ECG signal acquisition box based on the corresponding interference cancellation method. This effectively achieves encryption and decryption of ECG signal data, avoiding the problem of insufficient computing power in the ECG signal acquisition box when encrypting and decrypting ECG signal data, thereby effectively improving the processing efficiency of the ECG signal acquisition box for ECG data.

[0109] In another embodiment, the interference indication information includes the length and location of the interference data. The stored ECG data is subjected to interference cancellation processing according to the interference cancellation method corresponding to the interference method to obtain the recovered ECG data. This includes: identifying the interference data in the stored ECG data according to the length and location of the interference data; and removing the interference data from the stored ECG data to obtain the recovered ECG data.

[0110] In practice, the interference indication information includes the length and location of the interference data. During the process of the electronic device performing interference cancellation processing on the stored ECG data according to the interference cancellation method corresponding to the interference method to obtain the recovered ECG data, the electronic device can identify the interference data in the stored ECG data according to the length and location of the interference data. Then, the electronic device removes the interference data from the stored ECG data to obtain the recovered ECG data.

[0111] For example, please see Figure 8 , Figure 8 An exemplary schematic diagram of ECG data decryption is provided. The electronic device decrypts the stored ECG data using a key segment that matches the data to obtain interference indication information. This interference indication information includes interference data of length X, located between byte number 3 and byte number 4. It can be seen that this interference indication information indicates that the stored ECG data was obtained by adding interference data of length X between bytes 3 and 4 of the original ECG data. The electronic device can then remove the data between bytes 3 and 4 (i.e., the interference data) from the stored ECG data to obtain the recovered ECG data, which can be used for subsequent analysis and statistical operations.

[0112] In another embodiment, the stored ECG data includes at least two bytes, and the interference indication information also includes the storage order of each byte. The stored ECG data is subjected to interference cancellation processing according to the interference cancellation method corresponding to the interference method to obtain recovered ECG data, including: adjusting the reading order of each byte in the stored ECG data according to the reading order corresponding to the storage order to obtain recovered ECG data.

[0113] The technical solution of this embodiment adjusts the reading order of each byte in the stored ECG data according to the reading order corresponding to the storage order, thereby restoring the stored ECG data encrypted by the ECG signal acquisition box. This allows the ECG signal acquisition box to effectively encrypt the acquired ECG signal data without using a complex encryption algorithm to encrypt the entire target ECG data. This avoids the problem of insufficient computing power of the ECG signal acquisition box when encrypting and decrypting ECG signal data, and also effectively improves the security of ECG data storage.

[0114] It should be understood that although the steps in the flowcharts of the embodiments described above are shown sequentially according to the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless explicitly stated herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least some steps in the flowcharts of the embodiments described above may include multiple steps or multiple stages. These steps or stages are not necessarily completed at the same time, but can be executed at different times. The execution order of these steps or stages is not necessarily sequential, but can be performed alternately or in turn with other steps or at least some of the steps or stages of other steps.

[0115] Based on the same inventive concept, this application also provides an electrocardiogram (ECG) data processing apparatus for implementing the ECG data processing method described above. The solution provided by this apparatus is similar to the implementation described in the above method; therefore, the specific limitations in one or more ECG data processing apparatus embodiments provided below can be found in the limitations of the ECG data processing method described above, and will not be repeated here.

[0116] In one embodiment, such as Figure 9 As shown, an electrocardiogram (ECG) data processing device is provided, the device comprising:

[0117] The generation module 910 is used to randomly generate interference indication information for the target ECG data in response to a storage instruction for the target ECG data;

[0118] The interference module 920 is used to perform interference processing on the target electrocardiogram data according to the interference mode characterized by the interference indication information, so as to obtain the interfered electrocardiogram data.

[0119] The encryption module 930 is used to encrypt the interference indication information to obtain a key segment that matches the interfered ECG data; the key segment is used to restore the interfered ECG data to the target ECG data;

[0120] Storage module 940 is used to store the ECG data after interference and the key segment.

[0121] In one embodiment, the interference indication information includes interference data length and interference data position. The interference module 920 is specifically used to generate interference data that meets the interference data length; and to add the interference data to the target ECG data according to the interference data position to obtain the interfered ECG data.

[0122] In one embodiment, the interference module 920 is specifically used to generate a random number segment that meets the length of the interference data using a preset random number generation algorithm; determine the random number segment as the interference data; or, acquire the signal frequency corresponding to the ECG signal represented by the target ECG data; generate QRS waveform data of the corresponding period according to the signal frequency corresponding to the ECG signal; the data length of the QRS waveform data meets the length of the interference data; and determine the QRS waveform data as the interference data.

[0123] In one embodiment, the target ECG data includes at least two bytes, and the interference module 920 is specifically used to determine the target addition position of the interference data in the interval position between each two adjacent bytes in the target ECG data according to the position of the interference data; and to add the interference data to the target addition position to obtain the interference-reduced ECG data.

[0124] In one embodiment, the target ECG data includes at least two bytes, and the interference indication information further includes the storage order of each byte. The interference module 920 is specifically used to adjust the storage order of each byte in the target ECG data according to the storage order to obtain the interfered ECG data.

[0125] In one embodiment, such as Figure 10 As shown, an electrocardiogram (ECG) data processing device is provided, the device comprising:

[0126] The reading module 1010 is configured to read the stored electrocardiogram data and the key segment matching the stored electrocardiogram data in response to a recovery command for the stored electrocardiogram data;

[0127] The decryption module 1020 is used to decrypt the key segment that matches the stored ECG data to obtain interference indication information corresponding to the stored ECG data; the interference indication information is used to characterize the interference method implemented on the stored ECG data;

[0128] The recovery module 1030 is used to perform interference cancellation processing on the stored ECG data according to the interference cancellation method corresponding to the interference method, so as to obtain the recovered ECG data.

[0129] In one embodiment, the interference indication information includes the interference data length and the interference data location. The recovery module 1030 is specifically used to identify the interference data in the stored ECG data according to the interference data length and the interference data location; remove the interference data in the stored ECG data to obtain the recovered ECG data.

[0130] In one embodiment, the stored ECG data includes at least two bytes, and the interference indication information further includes the storage order of each byte. The recovery module 1030 is specifically used to adjust the reading order of each byte in the stored ECG data according to the reading order corresponding to the storage order, so as to obtain the recovered ECG data.

[0131] Each module in the aforementioned electrocardiogram data processing device can be implemented entirely or partially through software, hardware, or a combination thereof. These modules can be embedded in the processor of a computer device in hardware form or independent of it, or stored in the memory of a computer device in software form, so that the processor can call and execute the operations corresponding to each module.

[0132] In one embodiment, a computer device is provided, which may be a server, and its internal structure diagram may be as follows: Figure 11 As shown, the computer device includes a processor, memory, and a network interface connected via a system bus. The processor provides computing and control capabilities. The memory includes non-volatile storage media and internal memory. The non-volatile storage media stores the operating system, computer programs, and a database. The internal memory provides an environment for the operation of the operating system and computer programs stored in the non-volatile storage media. The database stores data. The network interface communicates with external terminals via a network connection. When executed by the processor, the computer program implements an electrocardiogram (ECG) data processing method.

[0133] Those skilled in the art will understand that Figure 11 The structure shown is merely a block diagram of a portion of the structure related to the present application and does not constitute a limitation on the computer device to which the present application is applied. Specific computer devices may include more or fewer components than those shown in the figure, or combine certain components, or have different component arrangements.

[0134] In one embodiment, a computer device is provided, including a memory and a processor. The memory stores a computer program, which, when executed by the processor, causes the processor to perform the steps of the electrocardiogram (ECG) data processing method described above. The steps of the ECG data processing method described here may be steps from one of the ECG data processing methods in the various embodiments described above.

[0135] In one embodiment, a computer-readable storage medium is provided storing a computer program that, when executed by a processor, causes the processor to perform the steps of the electrocardiogram (ECG) data processing method described above. The steps of the ECG data processing method described here may be steps from one of the ECG data processing methods in the various embodiments described above.

[0136] In one embodiment, a computer program product is provided, including a computer program that, when executed by a processor, causes the processor to perform the steps of the electrocardiogram (ECG) data processing method described above. The steps of the ECG data processing method described here may be steps from one of the ECG data processing methods in the various embodiments described above.

[0137] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, data stored, data displayed, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties.

[0138] Those skilled in the art will understand that all or part of the processes in the above embodiments can be implemented by a computer program instructing related hardware. The computer program can be stored in a non-volatile computer-readable storage medium. When executed, the computer program can include the processes of the embodiments described above. Any references to memory, databases, or other media used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM). The databases involved in the embodiments provided in this application may include at least one type of relational database and non-relational database. Non-relational databases may include, but are not limited to, blockchain-based distributed databases. The processors involved in the embodiments provided in this application may be general-purpose processors, central processing units, graphics processing units, digital signal processors, programmable logic devices, quantum computing-based data processing logic devices, etc., and are not limited to these.

[0139] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0140] The embodiments described above are merely illustrative of several implementation methods of this application, and while the descriptions are specific and detailed, they should not be construed as limiting the scope of this patent application. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these all fall within the protection scope of this application. Therefore, the protection scope of this application should be determined by the appended claims.

Claims

1. A method for processing electrocardiogram (ECG) data, characterized in that, The method is applied to an electrocardiogram (ECG) signal acquisition box, and the method includes: In response to a storage instruction for target ECG data, interference indication information for the target ECG data is randomly generated; the interference indication information includes the length and location of the interference data. Obtain the signal frequency corresponding to the electrocardiogram signal represented by the target electrocardiogram data; QRS waveform data of the corresponding period is generated based on the signal frequency corresponding to the electrocardiogram signal; the data length of the QRS waveform data satisfies the interference data length. The QRS waveform data was determined to be interference data; According to the location of the interference data, the interference data is added to the target ECG data to obtain the interference-treated ECG data; If the data length of the interfered ECG data is less than a preset data length threshold, the interfered ECG data is used as the new target ECG data, and the step of randomly generating interference indication information for the target ECG data is returned until the data length of the interfered ECG data is greater than or equal to the data length threshold. The interference indication information is encrypted to obtain a key segment that matches the interfered ECG data; the key segment is used to restore the interfered ECG data to the target ECG data; Store the ECG data after the interference and the key segment.

2. The method according to claim 1, characterized in that, The target ECG data includes at least two bytes. Adding the interference data to the target ECG data according to the location of the interference data to obtain the interference-reduced ECG data includes: Based on the location of the interference data, the target addition position of the interference data is determined in the interval between each two adjacent bytes in the target ECG data; The interference data is added to the target addition location to obtain the interference-affected ECG data.

3. The method according to claim 1, characterized in that, The target ECG data includes at least two bytes. The interference indication information further includes, according to the storage order of each byte, interference processing is performed on the target ECG data according to the interference mode represented by the interference indication information to obtain interfered ECG data, including: According to the storage order, the storage order of each byte in the target ECG data is adjusted to obtain the interfered ECG data.

4. A method for processing electrocardiogram (ECG) data, characterized in that, The method includes: In response to a command to recover stored ECG data, the stored ECG data and a key segment matching the stored ECG data are read. The stored ECG data and the key segment are generated by the ECG signal acquisition box through the following steps: In response to a command to store target ECG data, interference indication information for the target ECG data is randomly generated; the interference indication information includes interference data length and interference data position; the signal frequency corresponding to the ECG signal represented by the target ECG data is obtained; QRS waveform data of the corresponding period is generated according to the signal frequency corresponding to the ECG signal; the data length of the QRS waveform data satisfies the interference data length; the QRS waveform data is determined to be interference data; according to the interference data position, The interference data is added to the target ECG data to obtain the interference-reduced ECG data. If the data length of the interference-reduced ECG data is less than a preset data length threshold, the interference-reduced ECG data is used as the new target ECG data, and the process of randomly generating interference indication information for the target ECG data is returned until the data length of the interference-reduced ECG data is greater than or equal to the data length threshold. The interference indication information is encrypted to obtain a key segment that matches the interference-reduced ECG data. The key segment is used to restore the interference-reduced ECG data to the target ECG data. The interference-reduced ECG data and the key segment are stored to obtain the stored ECG data and the key segment that matches the stored ECG data. The key segment matching the stored ECG data is decrypted to obtain interference indication information corresponding to the stored ECG data; the interference indication information is used to characterize the interference method implemented on the stored ECG data; The stored ECG data is subjected to interference cancellation processing according to the interference cancellation method corresponding to the interference method, and the recovered ECG data is obtained.

5. The method according to claim 4, characterized in that, The step of performing interference cancellation processing on the stored ECG data according to the interference cancellation method corresponding to the interference method to obtain the recovered ECG data includes: Interference data in the stored ECG data is identified based on the length and location of the interference data. Interference data is removed from the stored ECG data to obtain the recovered ECG data.

6. The method according to claim 4, characterized in that, The stored ECG data includes at least two bytes, and the interference indication information further includes the storage order of each byte. The step of performing interference cancellation processing on the stored ECG data according to an interference cancellation method corresponding to the interference method to obtain recovered ECG data includes: The reading order of each byte in the stored ECG data is adjusted according to the reading order corresponding to the storage order to obtain the recovered ECG data.

7. An electrocardiogram (ECG) data processing device, characterized in that, The device is used in an electrocardiogram (ECG) signal acquisition box, and the device includes: The generation module is used to randomly generate interference indication information for the target ECG data in response to a storage instruction for the target ECG data; the interference indication information includes the length and location of the interference data. An interference module is used to generate QRS waveform data of a corresponding period based on the signal frequency corresponding to the ECG signal; the data length of the QRS waveform data meets the interference data length; the QRS waveform data is determined to be interference data; the interference data is added to the target ECG data according to the position of the interference data to obtain interference-reduced ECG data; if the data length of the interference-reduced ECG data is less than a preset data length threshold, the interference-reduced ECG data is used as the new target ECG data, and the step of randomly generating interference indication information for the target ECG data is returned until the data length of the interference-reduced ECG data is greater than or equal to the data length threshold. An encryption module is used to encrypt the interference indication information to obtain a key segment that matches the interfered ECG data; the key segment is used to restore the interfered ECG data to the target ECG data; A storage module is used to store the ECG data after interference and the key segment.

8. An electrocardiogram (ECG) data processing device, characterized in that, The device includes: The reading module is used to read the stored ECG data and a key segment matching the stored ECG data in response to a recovery command for the stored ECG data. The stored ECG data and the key segment are generated by the ECG signal acquisition box through the following steps: in response to a storage command for the target ECG data, randomly generating interference indication information for the target ECG data; the interference indication information includes interference data length and interference data position; acquiring the signal frequency corresponding to the ECG signal represented by the target ECG data; generating QRS waveform data of the corresponding period according to the signal frequency corresponding to the ECG signal; the data length of the QRS waveform data satisfies the interference data length; determining that the QRS waveform data is interference data; and according to the interference number... According to the location, the interference data is added to the target ECG data to obtain the interference-reduced ECG data; if the data length of the interference-reduced ECG data is less than a preset data length threshold, the interference-reduced ECG data is used as the new target ECG data, and the step of randomly generating interference indication information for the target ECG data is returned until the data length of the interference-reduced ECG data is greater than or equal to the data length threshold; the interference indication information is encrypted to obtain a key segment that matches the interference-reduced ECG data; the key segment is used to restore the interference-reduced ECG data to the target ECG data; the interference-reduced ECG data and the key segment are stored to obtain the stored ECG data and the key segment that matches the stored ECG data; The decryption module is used to decrypt the key segment that matches the stored ECG data to obtain interference indication information corresponding to the stored ECG data; the interference indication information is used to characterize the interference method implemented on the stored ECG data; The recovery module is used to perform interference cancellation processing on the stored ECG data according to the interference cancellation method corresponding to the interference method, so as to obtain the recovered ECG data.

9. An electrocardiogram (ECG) signal acquisition box, comprising a memory and a processor, wherein the memory stores a computer program, characterized in that, When the processor executes the computer program, it implements the steps of the method according to any one of claims 1 to 6.

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

11. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 6.

Citation Information

Patent Citations

  • Privacy picture implementation method and privacy picture implementation system

    CN104915610A

  • Electrocardiosignal transmission method and device, sensor, terminal and storage medium

    CN110381461A

  • Audio encryption method and device, storage medium and electronic device

    CN111506913A

  • Information processing method and device

    CN111954036A