Long-term dynamic electrocardiogram data transmission device, system and electrocardiogram data transmission method

By designing long-term dynamic ECG data transmission equipment that integrates BLE host module, storage module, main control module and communication module, the existing technology center's high cost of transmission and analysis and processing, complex operation and poor data continuity are solved. The best problem realizes automated data acquisition and transmission, reduces usage costs and ensures continuous and complete data.

CN113940685BActive Publication Date: 2025-02-25JIANGSU ZHENGXIN INTELLIGENT TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202111415486.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-11-25
Publication Date
2025-02-25
Estimated Expiration
2041-11-25

AI Technical Summary

Technical Problem

The existing long-term dynamic ECG recorder has problems such as high cost in data transmission and analysis processing, high user operation burden, and unsecured data continuous integrity.

Method used

A long-term dynamic ECG data transmission device is designed, integrating BLE host module, storage module, main control module and communication module, which can automatically connect the ECG recorder, store and analyze the ECG data, and continuously pass the data. The accuracy verification algorithm ensures the continuous integrity of the data.

Benefits of technology

The device can automate the collection, storage and transmission of ECG data, reduce user operation burden, reduce usage costs, ensure continuous and complete data, and reduce data errors.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113940685B_ABST
    Figure CN113940685B_ABST
Patent Text Reader

Abstract

The present application provides a long-term dynamic ECG data transmission device, system and ECG data transmission method, wherein the long-term dynamic ECG data transmission device includes a BLE host module, a storage module, a main control module and a communication module, and the BLE host module, storage module and communication module are all connected to the main control module; wherein the BLE host module is used to connect to an ECG recorder; the storage module is used to store the acquired dynamic ECG raw data; the communication module is used to transmit the ECG diagnostic data obtained by analysis and processing to a data server; the main control module is used to drive the BLE host module, storage module and communication module. The long-term dynamic ECG data transmission device provided by the present invention has high functional integration, can automatically connect to an ECG recorder, analyze and process ECG data, and upload diagnostic data, which reduces the user's operating burden and reduces the cost of use.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to electrocardiogram (ECG) data transmission technology, and in particular to a long-term dynamic ECG data transmission device, system and ECG data transmission method. Background Art

[0002] Smart medical equipment uses advanced sensor technology, Internet of Things technology and artificial intelligence to collect, store, transmit and analyze important biological information related to patients to quickly obtain diagnostic results. Smart medical equipment not only makes medical care "paperless, intelligent and efficient", but also reduces the workload of medical staff, improves the speed of diagnosis and treatment, makes diagnosis and treatment more accurate, and provides patients with a comprehensive, professional and personalized medical experience.

[0003] Since smart medical devices need to collect, store, and transmit a huge amount of human bio-information data, the data content is extremely complex and diverse, and the operation of the core algorithms for data analysis and processing is extremely time-consuming and resource-intensive, there are many defects. For example, the current long-term dynamic electrocardiogram recorder has the following defects: (1) It must be equipped with a smartphone. The long-term dynamic electrocardiogram recorder transmits the collected raw electrocardiogram data to the smartphone, and the core algorithms for electrocardiogram data analysis and processing can only be run on the smartphone, which increases the cost of use; (2) The connection between the electrocardiogram recorder and the smartphone requires manual operation, which increases the burden of use for the elderly, the weak, the sick, and the disabled. (3) The continuity and integrity of the dynamic electrocardiogram data cannot be guaranteed. Summary of the invention

[0004] The purpose of the present invention is to provide a long-term dynamic electrocardiogram data transmission device and system to reduce the user's operating burden and reduce the cost of use.

[0005] Another object of the present invention is to provide an ECG data transmission method based on the above-mentioned long-term dynamic ECG data transmission device and system to ensure the continuity and integrity of the data and reduce data errors.

[0006] A brief summary of one or more aspects is given below to provide a basic understanding of these aspects. This summary is not an exhaustive overview of all conceived aspects, and is neither intended to identify the key or critical elements of all aspects nor to define the scope of any or all aspects. Its only purpose is to give some concepts of one or more aspects in a simplified form as a prelude to a more detailed description that will be given later.

[0007] According to the first aspect of the present invention, a long-term dynamic ECG data transmission device is provided, comprising a BLE host module, a storage module, a main control module and a communication module, wherein the BLE host module, the storage module and the communication module are all connected to the main control module; wherein the BLE host module is used to connect to an ECG recorder; the storage module is used to store the acquired dynamic ECG raw data; the communication module is used to transmit the ECG diagnostic data obtained by analysis and processing to a data server; and the main control module is used to drive the BLE host module, the storage module and the communication module.

[0008] In one embodiment, the BLE host module and the electrocardiograph recorder use a SOC chip running a BLE 5.0 protocol stack from the same manufacturer.

[0009] In one embodiment, the main control module includes a large-capacity DDR inside.

[0010] In one embodiment, the storage module has a capacity greater than 2 GB.

[0011] In an embodiment, the storage module is an SPI interface or an SDIO interface.

[0012] According to the second aspect of the present invention, there is provided an ECG transmission system, comprising an ECG recorder, a long-term dynamic ECG data transmission device and a data server, wherein the ECG recorder is signal-connected to the long-term dynamic ECG data transmission device, the long-term dynamic ECG data transmission device is signal-connected to the data server, and the long-term dynamic ECG data transmission device is as described in the first aspect.

[0013] According to a third aspect of the present invention, there is provided a method for transmitting electrocardiogram data, comprising the following steps:

[0014] The ECG recorder collects ECG data;

[0015] The long-term dynamic ECG data transmission device establishes a BLE connection with the ECG recorder;

[0016] Long-term dynamic ECG data transmission equipment obtains ECG data;

[0017] The long-term dynamic ECG data transmission device stores the ECG data into the storage module;

[0018] The long-term dynamic ECG data transmission equipment uses a data continuity verification algorithm to verify the data;

[0019] Long-term dynamic ECG data transmission equipment reads storage module data;

[0020] Long-term dynamic ECG data transmission equipment analyzes ECG data to obtain ECG diagnostic data;

[0021] The long-term dynamic ECG data transmission device uploads the ECG diagnostic data to the data server.

[0022] In one embodiment, the long-term dynamic ECG data transmission device stores the ECG data into a storage module, including:

[0023] The sampling point data are sequentially stored in a first-level queue, wherein the sampling point data is collected by an electrocardiogram recorder at a fixed sampling frequency;

[0024] When the first-level queue reaches A sampling points, the valid ECG data will be retained and added to the second-level queue;

[0025] Every time the secondary queue is full of B sampling points, it is put into the opened large-capacity RAM pool;

[0026] When the ECG data in the RAM pool is greater than the C value, the ECG data is written to the storage block, and each time a storage block is written, it is immediately read back for comparison.

[0027] In one embodiment, the data continuity verification algorithm includes:

[0028] Get the read pointer of the ECG recorder;

[0029] Get the write pointer of the ECG recorder;

[0030] Calculate the total amount of data currently stored in the ECG recorder;

[0031] Obtain the amount of data obtained by a single interaction between the long-term dynamic ECG data transmission device and the ECG recorder;

[0032] The amount of data received by the long-term dynamic ECG data transmission device is calculated by accumulating the number of BLE data transmissions.

[0033] Compare the amount of data received by the long-term dynamic ECG data transmission device with the total amount of data currently stored in the ECG recorder. If they are equal, the data received by the long-term dynamic ECG data transmission device is determined to be continuous and complete, and proceed to subsequent steps; if they are not equal, the data received by the long-term dynamic ECG data transmission device is determined to be not continuous and complete, and the ECG data is reacquired from the disconnected address.

[0034] In one embodiment, the long-term dynamic electrocardiogram data transmission device determines whether to read the storage module data according to the amount of data currently in the storage module.

[0035] The beneficial effects of the embodiments of the present invention are as follows: the long-term dynamic ECG data transmission device provided by the present invention has high functional integration, can automatically connect to the ECG recorder, analyze and process the ECG data, and upload diagnostic data, thereby reducing the user's operating burden and reducing the cost of use. BRIEF DESCRIPTION OF THE DRAWINGS

[0036] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for use in the embodiments are briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present invention and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without creative work.

[0037] The above features and advantages of the present invention can be better understood after reading the detailed description of the embodiments of the present disclosure in conjunction with the following drawings. In the drawings, the components are not necessarily drawn to scale, and components with similar related properties or features may have the same or similar reference numerals.

[0038] Figure 1 It is a structural block diagram of the electrocardiographic transmission system of the embodiment of the present application;

[0039] Figure 2 This is a flow chart of the electrocardiographic transmission method according to an embodiment of the present application;

[0040] Figure 3 It is a flow chart of the data continuity verification algorithm of the embodiment of the present application. DETAILED DESCRIPTION

[0041] The present invention is described in detail below in conjunction with the accompanying drawings and specific embodiments. Note that the aspects described below in conjunction with the accompanying drawings and specific embodiments are only exemplary and should not be construed as limiting the scope of protection of the present invention in any way.

[0042] like Figure 1 As shown, an embodiment of the present application provides an ECG transmission system, including an ECG recorder 5, a long-term dynamic ECG data transmission device and a data server 6. The ECG recorder 5 is signal-connected to the long-term dynamic ECG data transmission device, and the long-term dynamic ECG data transmission device is signal-connected to the data server 6. It should be noted that there can be multiple signal connection methods, such as Bluetooth, 4G, 5G, etc. In this embodiment, the ECG recorder 5 is connected to the long-term dynamic ECG data transmission device through a BLE (Bluetooth Low Energy) wireless channel, and the long-term dynamic ECG data transmission device is connected to the data server 6 through a 4G wireless network.

[0043] Among them, the long-term dynamic ECG data transmission device includes a BLE host module 1, a storage module 2, a main control module 3 and a communication module 4, and the BLE host module 1, the storage module 2 and the communication module 4 are all connected to the main control module 3. In this embodiment, the BLE host module 1 is connected to the main control module 3 through the USART1 interface, the storage module 2 is connected to the main control module 3 through the SPI or SDIO interface, and the communication module 4 is connected to the main control module through the USART2 interface.

[0044] In terms of functions, the BLE host module 1 is used to connect to the ECG recorder 5; the storage module 2 is used to store the acquired dynamic ECG raw data; the communication module 4 is used to transmit the ECG diagnostic data obtained by analysis and processing to the data server 6; the main control module 3 is used to drive the BLE host module 1, the storage module 2 and the communication module 4.

[0045] It should be noted that the BLE host module 1 needs to use a SOC chip running the BLE5.0 protocol stack from the same manufacturer as the ECG recorder 5. The main control module 3 uses an MCU with a 32MB DDR memory. The capacity of the storage module 2 should be greater than 2GB.

[0046] The BLE host module 1 sends the received ECG data to the main control module 3 through the serial port. After receiving the dynamic ECG data, the main control module 3 writes the data into the storage module 2 in the form of a file through the FATFS file system. The main control module 3 reads the ECG data file in the storage module 2 at regular intervals, runs the core algorithm of ECG analysis and processing to obtain the diagnosis result, and finally uploads the diagnosis result to the data server 6 through the communication module 4 in a specific format using the http protocol.

[0047] The steps for the long-term dynamic ECG data transmission device to automatically connect to the ECG recorder are as follows:

[0048] ① The ECG recorder sets a fixed broadcast name and a specific broadcast UUID, and adds its MAC address to the broadcast data;

[0049] ②BLE host module 1 adds the broadcast name and broadcast UUID in ① to the scan filter conditions;

[0050] ③ BLE host module 1 scans the filtered ECG recorder, adds its MAC address and other information to the connection whitelist and saves it to the internal Flash;

[0051] ④After step ③, the BLE host module 1 and the ECG recorder are successfully bound one-to-one;

[0052] ⑤ The next time the BLE host module 1 is powered on, it will automatically connect to the ECG recorder in the whitelist;

[0053] ⑥After connecting to the ECG recorder, a password-verified data exchange process will be performed to ensure that the data is not stolen by a third party.

[0054] Corresponding to the above-mentioned ECG data transmission system, the present application embodiment also provides an ECG data transmission method, such as Figure 2 As shown, the following steps are included:

[0055] a. ECG recorder collects ECG data;

[0056] b. The long-term dynamic ECG data transmission device establishes a BLE connection with the ECG recorder;

[0057] c. Long-term dynamic ECG data transmission equipment to obtain ECG data;

[0058] d. The long-term dynamic ECG data transmission equipment uses the data continuity verification algorithm to verify the data;

[0059] e. The long-term dynamic ECG data transmission device stores the ECG data into the storage module;

[0060] f. Long-term dynamic ECG data transmission equipment reads the storage module data;

[0061] g. Long-term dynamic ECG data transmission equipment analyzes ECG data to obtain ECG diagnostic data;

[0062] f. The long-term dynamic ECG data transmission device uploads the ECG diagnostic data to the data server.

[0063] In a possible embodiment, in step f, the long-term dynamic ECG data transmission device determines whether to read the storage module data according to the amount of data currently in the storage module.

[0064] In a possible embodiment, in step c, the long-term dynamic ECG data transmission device acquires ECG data, including:

[0065] c1. The sampling point data is sequentially stored in a first-level queue (FIFO, first-in, first-out), and the sampling point data is collected by an electrocardiogram recorder at a fixed sampling frequency (eg, 250 Hz);

[0066] c2. When the first-level queue reaches A (e.g. 10) sampling points, the valid ECG data is retained and added to the second-level queue;

[0067] c3. When the secondary queue is full of B (e.g. 50) sampling points, it is placed in the large-capacity RAM pool;

[0068] c4. When the ECG data in the RAM pool is greater than the C value, the ECG data is written to the storage block. After each storage block is written, it is immediately read back for comparison to prevent failure in writing to the storage module.

[0069] This data acquisition method can ensure the continuity of sampling points.

[0070] like Figure 3 As shown, in step d, the data continuity verification algorithm used includes:

[0071] 1) Get the reading pointer of the ECG recorder;

[0072] 2) Get the write pointer of the ECG recorder;

[0073] 3) Calculate the total amount of data currently stored in the ECG recorder;

[0074] The total amount of data currently stored in the ECG recorder = (write pointer - read pointer) / effective ECG data length of each data packet. If it cannot be divided evenly, add 1.

[0075] 4) Obtain the amount of data obtained by a single interaction between the long-term dynamic ECG data transmission device and the ECG recorder;

[0076] The amount of data obtained in a single interaction can be returned by the bottom layer of the BLE protocol stack;

[0077] 5) According to the number of BLE data transmissions, the amount of data received by the long-term dynamic ECG data transmission device is calculated;

[0078] 6) Compare the amount of data received by the long-term dynamic ECG data transmission device with the total amount of data currently stored in the ECG recorder. If they are equal, the data received by the long-term dynamic ECG data transmission device is determined to be continuous and complete, and proceed to subsequent steps; if they are not equal, the data received by the long-term dynamic ECG data transmission device is determined to be not continuous and complete, and the ECG data is reacquired from the disconnected address.

[0079] The condition that the amount of data received by the long-term dynamic ECG data transmission device is equal to the total amount of data currently stored in the ECG recorder is: the address of the data header = write pointer - the amount of data obtained in a single interaction + 4 and the total number of data packets currently stored in the ECG recorder = the number of BLE data transmissions.

[0080] The above data continuity verification algorithm and the above data storage method effectively ensure the continuity and integrity of the data and can effectively avoid data errors.

[0081] For example:

[0082] I. Each packet of data transmitted = 4 bytes of address information r_addr + 200 effective ECG data length. The effective ECG data length is determined according to the MTU value in the BLE protocol. The length plus the address information <= MTU is sufficient. Here, 200 is taken;

[0083] II. Get the current read and write pointer positions rd_addr and wr_addr of the long-term dynamic electrocardiogram recorder;

[0084] III. If (wr_addr-ra_addr)%200=0, the number of packets to be transmitted frame_total=(wr_addr-rd_addr) / 200, if (wr_addr-rd_addr)%200!=0, then frame_total=(wr_addr-rd_addr) / 200+1;

[0085] IV. Each time the data transmission count is transferred_count, it is incremented by 1, and the bottom layer of the BLE protocol stack returns the length of the transmitted data, data_length;

[0086] V. Address information in the current packet r_addr=wr_addr-data_length+4;

[0087] VI, frame_total==transfer_count;

[0088] VII. Determine whether V and VI are true, and thus determine whether the data is continuous and complete;

[0089] If the data is continuous and complete, it is stored in the external Flash storage module and the read pointer is updated to the address information of the last packet of data. If the data is found to be missing, the addresses are compared in sequence to find the breakpoint, and the read pointer address is updated to the address at the breakpoint to reacquire the ECG data.

[0090] The various embodiments in this specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the various embodiments can be referenced to each other.

[0091] The previous description of the disclosure is provided to enable any person skilled in the art to make or use the disclosure. Various modifications to the disclosure will be apparent to those skilled in the art, and the general principles defined herein may be applied to other variations without departing from the spirit or scope of the disclosure. Thus, the disclosure is not intended to be limited to the examples and designs described herein, but should be granted the widest scope consistent with the principles and novel features disclosed herein.

[0092] The above description is only a preferred example of the present application and is not intended to limit the present application. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present application shall be included in the scope of protection of the present application.

Claims

1. A method for transmitting electrocardiogram data, characterized in that: A long-term dynamic electrocardiogram data transmission device is used, which includes a BLE host module, a storage module, a main control module and a communication module, wherein the BLE host module, the storage module and the communication module are all connected to the main control module; wherein, The BLE host module is used to connect to an electrocardiograph; The storage module is used to store the acquired dynamic electrocardiogram raw data; The communication module is used to transmit the ECG diagnostic data obtained through analysis and processing to a data server; The main control module is used to drive the BLE host module, storage module and communication module; The electrocardiogram data transmission method comprises the following steps: The ECG recorder collects ECG data; The long-term dynamic ECG data transmission device establishes a BLE connection with the ECG recorder; Long-term dynamic ECG data transmission equipment obtains ECG data; The long-term dynamic ECG data transmission equipment uses a data continuity verification algorithm to verify the data; The long-term dynamic ECG data transmission device stores the ECG data into the storage module; Long-term dynamic ECG data transmission equipment reads storage module data; Long-term dynamic ECG data transmission equipment analyzes ECG data to obtain ECG diagnostic data; The long-term dynamic ECG data transmission device uploads the ECG diagnostic data to the data server; The data continuity verification algorithm includes: Get the read pointer of the ECG recorder; Get the write pointer of the ECG recorder; Calculate the total amount of data currently stored in the ECG recorder; Obtain the amount of data obtained by a single interaction between the long-term dynamic ECG data transmission device and the ECG recorder; The amount of data received by the long-term dynamic ECG data transmission device is calculated by accumulating the number of BLE data transmissions. Compare the amount of data received by the long-term dynamic ECG data transmission device with the total amount of data currently stored in the ECG recorder. If they are equal, the data received by the long-term dynamic ECG data transmission device is determined to be continuous and complete, and proceed to subsequent steps; if they are not equal, the data received by the long-term dynamic ECG data transmission device is determined to be not continuous and complete, and the ECG data is reacquired from the disconnected address.

2. The method for transmitting electrocardiogram data according to claim 1, characterized in that: The BLE host module and the ECG recorder use a SOC chip running the BLE5.0 protocol stack from the same manufacturer.

3. The method for transmitting electrocardiogram data according to claim 2, characterized in that: The main control module includes a large-capacity DDR inside.

4. The method for transmitting electrocardiogram data according to claim 3, characterized in that: The storage module has a capacity greater than 2 GB.

5. The method for transmitting electrocardiogram data according to claim 4, characterized in that: The storage module is an SPI interface or a SDIO interface.

6. The method for transmitting electrocardiogram data according to claim 1, characterized in that: The long-term dynamic ECG data transmission device acquires ECG data, including: The sampling point data are sequentially stored in a first-level queue, wherein the sampling point data is collected by an electrocardiogram recorder at a fixed sampling frequency; When the first-level queue reaches A sampling points, the valid ECG data will be retained and added to the second-level queue; Every time the secondary queue is full of B sampling points, it is put into the opened large-capacity RAM pool; When the ECG data in the RAM pool is greater than the C value, the ECG data is written to the storage block, and each time a storage block is written, it is immediately read back for comparison.

7. The method for transmitting electrocardiogram data according to claim 1, characterized in that: The long-term dynamic ECG data transmission device decides whether to read the storage module data according to the amount of data in the current storage module.

8. An electrocardiographic transmission system, characterized in that: It includes an electrocardiogram recorder, a long-term dynamic electrocardiogram data transmission device and a data server. The electrocardiogram recorder is signal-connected to the long-term dynamic electrocardiogram data transmission device, the long-term dynamic electrocardiogram data transmission device is signal-connected to the data server, and the long-term dynamic electrocardiogram data transmission device is as described in any one of claims 1 to 7.

Citation Information

Patent Citations

  • Real-time electrocardio monitoring system and monitoring method thereof

    CN110664394A

  • Electrocardiogram data wireless low-power-consumption real-time extension transmission method, device and system

    CN116170786A