[go: up one dir, main page]

CN115886829A - A method, device and medium for collecting electrocardiogram data - Google Patents

A method, device and medium for collecting electrocardiogram data Download PDF

Info

Publication number
CN115886829A
CN115886829A CN202211066009.3A CN202211066009A CN115886829A CN 115886829 A CN115886829 A CN 115886829A CN 202211066009 A CN202211066009 A CN 202211066009A CN 115886829 A CN115886829 A CN 115886829A
Authority
CN
China
Prior art keywords
electrode
detected
mode
target electrode
target
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202211066009.3A
Other languages
Chinese (zh)
Inventor
韩旭
张晓良
李子凡
梁丽娜
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Contec Medical Systems Co Ltd
Original Assignee
Contec Medical Systems Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Contec Medical Systems Co Ltd filed Critical Contec Medical Systems Co Ltd
Priority to CN202211066009.3A priority Critical patent/CN115886829A/en
Publication of CN115886829A publication Critical patent/CN115886829A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Measurement And Recording Of Electrical Phenomena And Electrical Characteristics Of The Living Body (AREA)

Abstract

The invention discloses a method, a device and a medium for acquiring electrocardiogram data, which are suitable for the technical field of data acquisition. When the mapping connection of the electrode corresponding to the initial mapping relation and the current mapping relation is different, the electrode to be detected in different modes to be detected in mapping connection is used as the electrode to be detected, and the occupation condition of the target electrode in the target mode corresponding to the electrode to be detected is determined according to the current mapping relation; and when the target electrode has occupation, determining the original target electrode corresponding to the current target electrode to be detected according to the initial mapping relation, and exchanging the occupied target electrode with the original target electrode. By mapping of the lead modes, synchronous acquisition under multiple lead modes under different lead systems is realized, acquisition time is saved, and the acquisition process is simple. The limitation of insufficient leads under a mode system during conventional electrocardiogram data acquisition is made up, and the change conditions of electrocardiograms of different parts of a user at the same time can be comprehensively connected.

Description

一种采集心电图数据的方法、装置及介质A method, device and medium for collecting electrocardiogram data

技术领域technical field

本发明涉及数据采集技术领域,特别是涉及一种采集心电图数据的方法、装置及介质。The invention relates to the technical field of data collection, in particular to a method, device and medium for collecting electrocardiogram data.

背景技术Background technique

心脏在搏动之前,心肌首先发生兴奋,在兴奋过程中产生微弱电流,该电流经人体组织向各部分传导。由于身体各部分的组织不同,各部分与心脏间的距离不同,因此在人体体表各部位,表现出不同的电位变化,这种由人体心脏内电活动所产生的表面电位与时间的关系称为心电图数据。Before the heart beats, the myocardium is first excited, and a weak electric current is generated during the exciting process, and the electric current is conducted to various parts through the human body tissue. Since the tissues of different parts of the body are different, and the distance between each part and the heart is different, different potential changes are shown in various parts of the human body surface. The relationship between the surface potential and time generated by the electrical activity in the human heart is called for ECG data.

对于心电图数据的采集往往是12导心电图机,只能采集标准12导心电图,不能采集附加6导或Frank,Nehb等体系心电图,或者18导心电图机只能采集常规18导心电图不能采集Frank,Nehb等体系的心电图。若想采集多体系下的心电图数据,则会采用固定电极分阶段采集,例如先采集标准12导联,采集完后更改电极位置,然后再采用Frank体系心电图(只能V1映射I、V2映射E、V3映射C、V4映射A、V5映射M、V6映射H,并不能做到自由选择映射电极),采集完后再更改电极连接实现Nehb体系下的心电图数据的采集(只能V1映射Nst、V2映射Nax、V3映射Nap不能做到自由选择映射电极),分阶段采集的模式占用的采集时间较长,其采集模式不断的更换导致采集过程复杂冗长。由于心电图数据的采集时间较为严格,对于分阶段采集不能同步进行,也就无法实现同一时间的心电图数据的后续处理。For the collection of ECG data, it is often a 12-lead ECG machine, which can only collect standard 12-lead ECG, and cannot collect additional 6-lead or Frank, Nehb and other system ECGs, or 18-lead ECG machines can only collect conventional 18-lead ECGs and cannot collect Frank, Nehb, etc. Electrocardiogram of other systems. If you want to collect ECG data under multiple systems, you will use fixed electrodes to collect in stages, for example, collect standard 12-leads first, change the electrode position after the collection, and then use the Frank system ECG (only V1 can map I, V2 can map E , V3 mapping C, V4 mapping A, V5 mapping M, V6 mapping H, and the mapping electrodes cannot be freely selected), after the collection, change the electrode connection to realize the collection of ECG data under the Nehb system (only V1 mapping Nst, V2 mapping Nax, V3 mapping Nap can not freely select the mapping electrode), the acquisition mode of staged acquisition takes a long time, and the continuous replacement of its acquisition mode makes the acquisition process complicated and lengthy. Since the collection time of the electrocardiogram data is relatively strict, the phased collection cannot be performed synchronously, and subsequent processing of the electrocardiogram data at the same time cannot be realized.

因此,如何实现同步模式下的心电图数据采集是本领域技术人员亟需要解决的。Therefore, how to realize the electrocardiogram data acquisition in the synchronous mode is an urgent need for those skilled in the art to solve.

发明内容Contents of the invention

本发明的目的是提供一种采集心电图数据的方法、装置及介质,实现不同导联系统下的多个导联模式下的同步采集。The purpose of the present invention is to provide a method, device and medium for collecting electrocardiogram data, so as to realize synchronous collection in multiple lead modes under different lead systems.

为解决上述技术问题,本发明提供一种采集心电图数据的方法,包括:In order to solve the above technical problems, the present invention provides a method for collecting electrocardiogram data, comprising:

获取待检测模式与目标模式下的电极之间的初始映射关系以及当前映射关系,其中目标模式至少包括一个心电图数据的采集导联模式,且与待检测模式不同;Obtain the initial mapping relationship and the current mapping relationship between electrodes in the mode to be detected and the target mode, wherein the target mode includes at least one lead mode for collecting electrocardiogram data, and is different from the mode to be detected;

当初始映射关系与当前映射关系对应的电极映射连接不同时,将映射连接不同的待检测模式下的待检测电极作为目标待检测电极,并根据当前映射关系确定当前目标待检测电极对应的目标模式下的目标电极占位的情况;When the initial mapping relationship is different from the electrode mapping connection corresponding to the current mapping relationship, the electrodes to be detected in different modes to be detected are mapped and connected as the target electrodes to be detected, and the target mode corresponding to the current target electrode to be detected is determined according to the current mapping relationship The occupancy of the target electrode under the condition;

当目标电极存在占位时,则根据初始映射关系确定当前目标待检测电极对应的原目标电极,将占位的目标电极与原目标电极进行互换以完成当前目标待检测电极的映射更新,直至目标待检测电极更新完毕;When the target electrode has an occupancy, the original target electrode corresponding to the current target electrode to be detected is determined according to the initial mapping relationship, and the occupied target electrode is exchanged with the original target electrode to complete the mapping update of the current target electrode to be detected until The target electrode to be detected is updated;

通过映射更新后的待检测模式下的待检测电极采集心电图数据。Electrocardiogram data is collected by mapping the updated electrodes to be detected in the detection mode.

优选地,目标模式至少包括第一导联模式,当前映射关系的确定过程包括以下步骤:Preferably, the target mode includes at least the first lead mode, and the process of determining the current mapping relationship includes the following steps:

确定待检测模式的待检测电极的第一数量;determining a first number of electrodes to be detected in a mode to be detected;

判断第一导联模式的电极的第二数量是否超出待检测电极的第一数量;judging whether the second number of electrodes in the first lead pattern exceeds the first number of electrodes to be detected;

若是,则根据待检测模式的待检测电极与第一导联模式的电极对应的佩戴位置以及待检测电极的第一数量进行筛选第一导联模式的电极以作为第一导联模式的初始电极;If so, then filter the electrodes of the first lead mode according to the wearing position corresponding to the electrodes to be detected of the mode to be detected and the electrodes of the first lead mode and the first number of electrodes to be detected as the initial electrodes of the first lead mode ;

若否,则将第一导联模式的电极以作为初始电极;If not, use the electrode of the first lead mode as the initial electrode;

将初始电极与待检测模式的电极建立当前映射关系。Establish the current mapping relationship between the initial electrode and the electrode of the mode to be detected.

优选地,当目标模式还包括第二导联模式,当前映射关系的确定过程包括以下步骤:Preferably, when the target mode also includes the second lead mode, the process of determining the current mapping relationship includes the following steps:

确定第二导联模式下的电极的第三数量;determining a third number of electrodes in the second lead mode;

判断第一数量是否小于第二数量和第三数量的和值;judging whether the first quantity is less than the sum of the second quantity and the third quantity;

若是,则根据待检测电极与第一导联模式、第二导联模式下的电极对应的佩戴位置以及第一导联模式与第二导联模式的优先级关系确定第一导联模式与第二导联模式下对应的初始电极;If so, determine the first lead mode and the second lead mode according to the wearing positions corresponding to the electrodes to be detected and the electrodes in the first lead mode and the second lead mode, and the priority relationship between the first lead mode and the second lead mode. The corresponding initial electrodes in two-lead mode;

若否,则将第一导联模式与第二导联模式下的电极作为初始电极;If not, the electrodes in the first lead mode and the second lead mode are used as initial electrodes;

将初始电极与待检测模式下的电极建立当前映射关系。Establish the current mapping relationship between the initial electrode and the electrode in the detection mode.

优选地,当第一数量大于或等于第二数量和第三数量的和值时,将占位的目标电极与原目标电极进行互换以完成当前目标待检测电极的映射更新,包括:Preferably, when the first number is greater than or equal to the sum of the second number and the third number, the occupied target electrode is exchanged with the original target electrode to complete the mapping update of the current target electrode to be detected, including:

判断占位的目标电极是否为第一导联模式下的初始电极;judging whether the occupied target electrode is the initial electrode in the first lead mode;

若是,则将占位的目标电极与第一导联模式下的原目标电极进行互换以完成当前目标待检测电极的映射更新;If so, exchange the occupied target electrode with the original target electrode in the first lead mode to complete the mapping update of the current target electrode to be detected;

若否,则确定占位的目标电极为第二导联模式下的初始电极;If not, then determine that the occupied target electrode is the initial electrode in the second lead mode;

则将占位的目标电极与第二导联模式下的原目标电极进行互换以完成当前目标待检测电极的映射更新。Then, the occupied target electrode is exchanged with the original target electrode in the second lead mode to complete the mapping update of the current target electrode to be detected.

优选地,当第一数量小于第二数量和第三数量的和值时,初始映射关系为待检测模式与第一导联模式下的电极之间的映射关系,将占位的目标电极与原目标电极进行互换以完成当前目标待检测电极的映射更新,包括:Preferably, when the first number is less than the sum of the second number and the third number, the initial mapping relationship is the mapping relationship between the electrodes in the mode to be detected and the first lead mode, and the occupied target electrode and the original The target electrode is exchanged to complete the mapping update of the current target electrode to be detected, including:

判断占位的目标电极是否为第一导联模式下的初始电极;judging whether the occupied target electrode is the initial electrode in the first lead mode;

若是,则将占位的目标电极与第一导联模式下的原目标电极进行互换以完成当前目标待检测电极的映射更新;If so, exchange the occupied target electrode with the original target electrode in the first lead mode to complete the mapping update of the current target electrode to be detected;

若否,则根据当前映射关系确定目标电极对应的默认待检测电极;If not, then determine the default electrode to be detected corresponding to the target electrode according to the current mapping relationship;

根据初始映射关系确定当前目标待检测电极对应的第一初始目标电极以及默认待检测电极对应的第二初始目标电极;Determine the first initial target electrode corresponding to the current target electrode to be detected and the second initial target electrode corresponding to the default electrode to be detected according to the initial mapping relationship;

将第一初始目标电极与第二初始目标电极均替换为空白电极,其中空白电极的电极状态为无映射状态;Both the first initial target electrode and the second initial target electrode are replaced with blank electrodes, wherein the electrode state of the blank electrode is a non-mapping state;

将占用的目标电极与原目标电极进行互换并对应存入当前目标待检测电极与默认待检测电极对应的初始目标电极中,以完成当前目标待检测电极的映射更新。The occupied target electrode is exchanged with the original target electrode and correspondingly stored in the initial target electrode corresponding to the current target to-be-detected electrode and the default to-be-detected electrode, so as to complete the mapping update of the current target to-be-detected electrode.

优选地,当目标电极不存在占位时,还包括:Preferably, when there is no occupancy in the target electrode, it also includes:

当目标电极不存在占位时,将当前待检测电极的当前映射状态设置为无映射状态以完成当前目标待检测电极的映射更新,直至目标待检测电极更新完毕;When the target electrode does not occupy a place, set the current mapping state of the current electrode to be detected as no mapping state to complete the mapping update of the current target electrode to be detected until the update of the target electrode to be detected is completed;

通过映射更新后的待检测模式下的待检测电极采集心电图数据。Electrocardiogram data is collected by mapping the updated electrodes to be detected in the detection mode.

优选地,待检测模式为标准十二导联模式、常规十五导联模式和常规十八导联模式的任意一种模式,目标模式至少包括Wilson导联模式、Nehb导联模式和Frank导联模式的任意一种模式。Preferably, the mode to be detected is any one of the standard twelve-lead mode, the conventional fifteen-lead mode and the conventional eighteen-lead mode, and the target mode includes at least the Wilson lead mode, the Nehb lead mode and the Frank lead mode any of the modes.

为解决上述技术问题,本发明还提供一种采集心电图数据的装置,包括:In order to solve the above technical problems, the present invention also provides a device for collecting electrocardiogram data, including:

获取模块,用于获取待检测模式与目标模式下的电极之间的初始映射关系以及当前映射关系,其中目标模式至少包括一个心电图数据的采集导联模式,且与待检测模式不同;An acquisition module, configured to acquire the initial mapping relationship and the current mapping relationship between electrodes in the mode to be detected and the target mode, wherein the target mode includes at least one lead mode for collecting electrocardiogram data, and is different from the mode to be detected;

第一确定模块,用于当初始映射关系与当前映射关系对应的电极映射连接不同时,将映射连接不同的待检测模式下的待检测电极作为目标待检测电极,并根据当前映射关系确定当前目标待检测电极对应的目标模式下的目标电极占位的情况;The first determination module is configured to use the electrode to be detected in the mode to be detected with different mapping connections as the target electrode to be detected when the initial mapping relationship is different from the electrode mapping connection corresponding to the current mapping relationship, and determine the current target according to the current mapping relationship Occupancy of the target electrode in the target mode corresponding to the electrode to be detected;

第一更新模块,用于当目标电极存在占位时,则根据初始映射关系确定当前目标待检测电极对应的原目标电极,将占位的目标电极与原目标电极进行互换以完成当前目标待检测电极的映射更新,直至目标待检测电极更新完毕;The first update module is used to determine the original target electrode corresponding to the current target electrode to be detected according to the initial mapping relationship when the target electrode has an occupancy, and exchange the occupied target electrode with the original target electrode to complete the current target electrode. The mapping of the detection electrode is updated until the update of the target electrode to be detected is completed;

采集模块,用于通过映射更新后的待检测模式下的待检测电极采集心电图数据。The collection module is used to collect electrocardiogram data by mapping the updated electrodes to be detected in the detection mode.

优选地,目标模式至少包括第一导联模式,确定模块内的当前映射关系的确定过程包括以下步骤:Preferably, the target mode includes at least the first lead mode, and the determination process of the current mapping relationship in the determination module includes the following steps:

第二确定模块,用于确定待检测模式的待检测电极的第一数量;The second determination module is used to determine the first number of electrodes to be detected in the detection mode;

第一判断模块,用于判断第一导联模式的电极的第二数量是否超出待检测电极的第一数量;若是,则触发第一筛选模块,若否,则触发第一作为模块;The first judging module is used to judge whether the second number of electrodes in the first lead mode exceeds the first number of electrodes to be detected; if so, trigger the first screening module, and if not, trigger the first as module;

第一筛选模块,用于根据待检测模式的待检测电极与第一导联模式的电极对应的佩戴位置以及待检测电极的第一数量进行筛选第一导联模式的电极以作为第一导联模式的初始电极;The first screening module is used to screen the electrodes in the first lead mode as the first lead according to the wearing position corresponding to the electrodes to be detected in the mode to be detected and the electrodes in the first lead mode and the first number of electrodes to be detected The initial electrode of the pattern;

第一作为模块,用于将第一导联模式的电极以作为初始电极;The first as a module, used to use the electrodes of the first lead mode as the initial electrodes;

第一建立模块,用于将初始电极与待检测模式的电极建立当前映射关系。The first establishment module is used to establish the current mapping relationship between the initial electrodes and the electrodes of the detection mode.

优选地,当目标模式还包括第二导联模式,确定模块内的当前映射关系的确定过程包括以下步骤:Preferably, when the target mode also includes the second lead mode, the determination process of the current mapping relationship in the determination module includes the following steps:

第三确定模块,用于确定第二导联模式下的电极的第三数量;a third determination module, configured to determine a third number of electrodes in the second lead mode;

第二判断模块,用于判断第一数量是否小于第二数量和第三数量的和值,若是,则触发第二筛选模块,若否,则触发第二作为模块;The second judging module is used to judge whether the first quantity is less than the sum of the second quantity and the third quantity, if so, trigger the second screening module, and if not, trigger the second acting module;

第二筛选模块,用于根据待检测电极与第一导联模式、第二导联模式下的电极对应的佩戴位置以及第一导联模式与第二导联模式的优先级关系确定第一导联模式与第二导联模式下对应的初始电极;The second screening module is used to determine the first lead according to the wearing position corresponding to the electrode to be detected and the electrode in the first lead mode and the second lead mode, and the priority relationship between the first lead mode and the second lead mode. The corresponding initial electrodes in the lead mode and the second lead mode;

第二作为模块,用于将第一导联模式与第二导联模式下的电极作为初始电极;The second module is used to use electrodes in the first lead mode and the second lead mode as initial electrodes;

第二建立模块,用于将初始电极与待检测模式下的电极建立当前映射关系。The second establishing module is used to establish the current mapping relationship between the initial electrode and the electrode in the detection mode.

优选地,当第一数量大于或等于第二数量和第三数量的和值时,第一更新模块包括:Preferably, when the first quantity is greater than or equal to the sum of the second quantity and the third quantity, the first update module includes:

第三判断模块,用于判断占位的目标电极是否为第一导联模式下的初始电极,若是,则触发第一映射更新模块,若否,则触发第二映射更新模块;The third judging module is used to judge whether the target electrode occupying the space is the initial electrode in the first lead mode, if so, trigger the first mapping updating module, and if not, trigger the second mapping updating module;

第一映射更新模块,用于将占位的目标电极与第一导联模式下的原目标电极进行互换以完成当前目标待检测电极的映射更新;The first mapping update module is used to exchange the occupied target electrode with the original target electrode in the first lead mode to complete the mapping update of the current target electrode to be detected;

第二映射更新模块,用于确定占位的目标电极为第二导联模式下的初始电极;则将占位的目标电极与第二导联模式下的原目标电极进行互换以完成当前目标待检测电极的映射更新。The second mapping update module is used to determine that the occupied target electrode is the initial electrode in the second lead mode; then exchange the occupied target electrode with the original target electrode in the second lead mode to complete the current target The map of the electrodes to be detected is updated.

优选地,当第一数量小于第二数量和第三数量的和值时,初始映射关系为待检测模式与第一导联模式下的电极之间的映射关系,第一更新模块包括:Preferably, when the first number is less than the sum of the second number and the third number, the initial mapping relationship is the mapping relationship between the mode to be detected and the electrode in the first lead mode, and the first updating module includes:

第四判断模块,用于判断占位的目标电极是否为第一导联模式下的初始电极,若是,则触发第三映射更新模块,若否,则触发第四确定模块;The fourth judging module is used to judge whether the occupied target electrode is the initial electrode in the first lead mode, if so, trigger the third mapping updating module, and if not, trigger the fourth determining module;

第三映射更新模块,用于将占位的目标电极与第一导联模式下的原目标电极进行互换以完成当前目标待检测电极的映射更新;The third mapping update module is used to exchange the occupied target electrode with the original target electrode in the first lead mode to complete the mapping update of the current target electrode to be detected;

第四确定模块,用于根据当前映射关系确定目标电极对应的默认待检测电极;The fourth determination module is used to determine the default electrode to be detected corresponding to the target electrode according to the current mapping relationship;

第五确定模块,用于根据初始映射关系确定当前目标待检测电极对应的第一初始目标电极以及默认待检测电极对应的第二初始目标电极;The fifth determining module is used to determine the first initial target electrode corresponding to the current target electrode to be detected and the second initial target electrode corresponding to the default electrode to be detected according to the initial mapping relationship;

替换模块,用于将第一初始目标电极与第二初始目标电极均替换为空白电极,其中空白电极的电极状态为无映射状态;A replacement module, configured to replace both the first initial target electrode and the second initial target electrode with a blank electrode, wherein the electrode state of the blank electrode is a non-mapping state;

第四映射更新模块,用于将占用的目标电极与原目标电极进行互换并对应存入当前目标待检测电极与默认待检测电极对应的初始目标电极中,以完成当前目标待检测电极的映射更新。The fourth mapping update module is used to exchange the occupied target electrodes with the original target electrodes and correspondingly store them in the initial target electrodes corresponding to the current target to-be-detected electrodes and the default to-be-detected electrodes, so as to complete the mapping of the current target to-be-detected electrodes renew.

优选地,采集心电图数据的装置还包括:Preferably, the device for collecting electrocardiogram data also includes:

第二更新模块,用于当目标电极不存在占位时,将当前待检测电极的当前映射状态设置为无映射状态以完成当前目标待检测电极的映射更新,直至目标待检测电极更新完毕;通过映射更新后的待检测模式下的待检测电极采集心电图数据。The second update module is used to set the current mapping state of the current electrode to be detected as no mapping state to complete the mapping update of the current target electrode to be detected until the update of the target electrode to be detected is completed; The electrodes to be detected in the detection-to-be-mapped mode are mapped to collect electrocardiogram data.

优选地,待检测模式为标准十二导联模式、常规十五导联模式和常规十八导联模式的任意一种模式,目标模式至少包括Wilson导联模式、Nehb导联模式和Frank导联模式的任意一种模式。Preferably, the mode to be detected is any one of the standard twelve-lead mode, the conventional fifteen-lead mode and the conventional eighteen-lead mode, and the target mode includes at least the Wilson lead mode, the Nehb lead mode and the Frank lead mode any of the modes.

优选地,采集心电图数据的装置还包括:Preferably, the device for collecting electrocardiogram data also includes:

第二更新模块,用于当目标电极不存在占位时,将当前待检测电极的当前映射状态设置为无映射状态以完成当前目标待检测电极的映射更新,直至目标待检测电极更新完毕;通过映射更新后的待检测模式下的待检测电极采集心电图数据。The second update module is used to set the current mapping state of the current electrode to be detected as no mapping state to complete the mapping update of the current target electrode to be detected until the update of the target electrode to be detected is completed; The electrodes to be detected in the detection-to-be-mapped mode are mapped to collect electrocardiogram data.

为解决上述技术问题,本发明还提供一种采集心电图数据的装置,包括:In order to solve the above technical problems, the present invention also provides a device for collecting electrocardiogram data, including:

存储器,用于存储计算机程序;memory for storing computer programs;

处理器,用于执行计算机程序时实现如上述采集心电图数据的方法的步骤。The processor is used for implementing the steps of the method for collecting electrocardiogram data as described above when executing the computer program.

为解决上述技术问题,本发明还提供一种计算机可读存储介质,计算机可读存储介质上存储有计算机程序,计算机程序被处理器执行时实现如上述采集心电图数据的方法的步骤。In order to solve the above technical problems, the present invention also provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the steps of the above-mentioned method for collecting electrocardiogram data are realized.

本发明提供的一种采集心电图数据的方法,包括获取待检测模式与目标模式下的电极之间的初始映射关系以及当前映射关系,其中目标模式至少包括一个心电图数据的采集导联模式,且与待检测模式不同;当初始映射关系与当前映射关系对应的电极映射连接不同时,将映射连接不同的待检测模式下的待检测电极作为目标待检测电极,并根据当前映射关系确定当前目标待检测电极对应的目标模式下的目标电极占位的情况;当目标电极存在占位时,则根据初始映射关系确定当前目标待检测电极对应的原目标电极,将占位的目标电极与原目标电极进行互换以完成当前目标待检测电极的映射更新,直至目标待检测电极更新完毕;通过映射更新后的待检测模式下的待检测电极采集心电图数据。该方法通过自定义当前映射关系,设置不同模式下的各电极的安放位置,通过导联模式的映射,实现不同导联系统下的多个导联模式下的同步采集,节省采集时间,使得采集过程简单。弥补常规心电图数据采集时的模式体系下导联不足的限制,可全面连接用户的不同部位的心电图同一时间的变化情况。A method for collecting electrocardiogram data provided by the present invention includes obtaining an initial mapping relationship and a current mapping relationship between electrodes in a mode to be detected and a target mode, wherein the target mode includes at least one lead mode for collecting electrocardiogram data, and The modes to be detected are different; when the initial mapping relationship is different from the electrode mapping connection corresponding to the current mapping relationship, the electrodes to be detected in the different modes to be detected are used as the target electrodes to be detected, and the current target to be detected is determined according to the current mapping relationship The occupancy of the target electrode in the target mode corresponding to the electrode; when the target electrode has an occupancy, the original target electrode corresponding to the current target electrode to be detected is determined according to the initial mapping relationship, and the occupancy target electrode is compared with the original target electrode. Interchange to complete the mapping update of the current target electrode to be detected until the update of the target electrode to be detected is completed; collect electrocardiogram data by mapping the updated electrode to be detected in the mode to be detected. By customizing the current mapping relationship, the method sets the placement positions of electrodes in different modes, and realizes synchronous acquisition in multiple lead modes under different lead systems through the mapping of lead modes, saving acquisition time and making acquisition The process is simple. It makes up for the limitation of insufficient leads in the mode system of conventional ECG data collection, and can fully connect the changes of the ECG of different parts of the user at the same time.

另外,本发明还提供了一种采集心电图数据的装置及介质,具有如上述采集心电图数据的方法相同的有益效果。In addition, the present invention also provides a device and medium for collecting electrocardiogram data, which have the same beneficial effect as the above method for collecting electrocardiogram data.

附图说明Description of drawings

为了更清楚地说明本发明实施例,下面将对实施例中所需要使用的附图做简单的介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to illustrate the embodiments of the present invention more clearly, the accompanying drawings used in the embodiments will be briefly introduced below. Obviously, the accompanying drawings in the following description are only some embodiments of the present invention. As far as people are concerned, other drawings can also be obtained based on these drawings on the premise of not paying creative work.

图1为本发明实施例提供的一种采集心电图数据的方法的流程图;Fig. 1 is a flow chart of a method for collecting electrocardiogram data provided by an embodiment of the present invention;

图2为本发明实施例提供的一种初始映射关系的示意图;FIG. 2 is a schematic diagram of an initial mapping relationship provided by an embodiment of the present invention;

图3为本发明实施例提供的一种当前映射关系与初始映射关系不同的示意图;FIG. 3 is a schematic diagram showing that the current mapping relationship is different from the initial mapping relationship provided by an embodiment of the present invention;

图4为本发明实施例的一种两个目标模式下的初始映射关系的示意图;FIG. 4 is a schematic diagram of an initial mapping relationship in two target modes according to an embodiment of the present invention;

图5为本发明实施例的一种两个目标模式下的当前映射关系的示意图;FIG. 5 is a schematic diagram of a current mapping relationship in two target modes according to an embodiment of the present invention;

图6为本发明实施例提供的一种采集心电图数据的装置的结构图;FIG. 6 is a structural diagram of a device for collecting electrocardiogram data provided by an embodiment of the present invention;

图7为本发明实施例提供的另一种采集心电图数据的装置的结构图;7 is a structural diagram of another device for collecting electrocardiogram data provided by an embodiment of the present invention;

图8为本发明另一实施例提供一种采集心电图数据的装置的结构图;FIG. 8 is a structural diagram of a device for collecting electrocardiogram data according to another embodiment of the present invention;

图9为本发明实施例提供的一种显示界面的导联设置示意图;FIG. 9 is a schematic diagram of lead setting of a display interface provided by an embodiment of the present invention;

图10为本发明实施例提供的另一种采集心电图数据的方法的流程图。FIG. 10 is a flow chart of another method for collecting electrocardiogram data provided by an embodiment of the present invention.

具体实施方式Detailed ways

下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下,所获得的所有其他实施例,都属于本发明保护范围。The following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some of the embodiments of the present invention, not all of them. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

本发明的核心是提供一种采集心电图数据的方法、装置及介质,实现不同导联系统下的多个导联模式下的同步采集。The core of the present invention is to provide a method, device and medium for collecting electrocardiogram data, so as to realize synchronous collection in multiple lead modes under different lead systems.

为了使本技术领域的人员更好地理解本发明方案,下面结合附图和具体实施方式对本发明作进一步的详细说明。In order to enable those skilled in the art to better understand the solution of the present invention, the present invention will be further described in detail below in conjunction with the accompanying drawings and specific embodiments.

需要说明的是,心电图的导联是指,将记录心电图时电机在人体体表的放置位置及电机与放大器的连接方式,因为某时刻心脏总电位的大小和方向一定,而记录导联放置位置不同,故各个导联记录的电位各不相同。在长期应用临床心电图的过程中,形成了多种导联体系。常见的导联体系有以下几种:It should be noted that the lead of the electrocardiogram refers to the placement position of the motor on the human body surface and the connection method between the motor and the amplifier when the electrocardiogram is recorded. Different, so the potentials recorded in each lead are different. During the long-term application of clinical electrocardiography, a variety of lead systems have been formed. The common lead systems are as follows:

一、常规标准12导联体系:1. Conventional standard 12-lead system:

以标准导联(I、II、III),加压肢体导联(aVR、aV、aVF),及胸导联(V1、V2、V3、V4、V5、V6)共12个导联构成。It consists of 12 leads including standard leads (I, II, III), pressurized limb leads (aVR, aV, aVF), and chest leads (V1, V2, V3, V4, V5, V6).

电极佩戴方式:How to wear electrodes:

RA(R):右手RA(R): right hand

LA(L):左手LA(L): left hand

RL(N):右腿RL(N): right leg

LL(F):左腿LL(F): left leg

V1(C1):胸骨右缘第四肋间V1 (C1): the fourth intercostal space at the right border of the sternum

V2(C2):胸骨左缘第四肋间V2 (C2): the fourth intercostal space on the left border of the sternum

V3(C3):在V2与V4连线之中点V3 (C3): at the midpoint of the line connecting V2 and V4

V4(C4):左锁骨中线第五肋间V4 (C4): left midclavicular line fifth intercostal space

V5(C5):左腋前线与V4同一水平V5 (C5): The left anterior axillary line is at the same level as V4

V6(C6):左腋中线与V4同一水平V6 (C6): The left midaxillary line is at the same level as V4

二、常规18导联体系:2. Conventional 18-lead system:

在标准12导联体系的基础上向右胸增加(V3R、V4R、V5R),左胸增加(V7、V8、V9),形成了18导联系统。On the basis of the standard 12-lead system, add (V3R, V4R, V5R) to the right chest and increase (V7, V8, V9) to the left chest, forming an 18-lead system.

电极佩戴方式:How to wear electrodes:

V3R(C3R):右胸前与V3对应V3R (C3R): The right chest corresponds to V3

V4R(C4R):右胸前与V4对应V4R (C4R): The right chest corresponds to V4

V5R(C5R):右胸前与V5对应V5R (C5R): The right chest corresponds to V5

V7(C7):左腋后线与V4水平V7 (C7): Left posterior axillary line and V4 level

V8(C8):左肩胛线处(V7与V9中间)V8 (C8): at the left scapular line (middle of V7 and V9)

V9(C9):在脊柱旁2cm处V9 (C9): 2cm next to the spine

三、Frank导联体系:3. Frank lead system:

Frank导联系统是为记录心向量图而设计的,其中包含用于心向量图生成的正交导联信息,正交心电图是指使用正交导联,即通过心脏中心相互垂直的X、Y、Z导联所记录的体表心电图,为心电立体向量环在这三个导联轴的投影,能全面的反应心脏左右、上下及前后方向的电活动。The Frank lead system is designed for recording vector cardiograms, which contain orthogonal lead information for vector cardiogram generation. Orthogonal ECG refers to the use of orthogonal leads, that is, X, Y perpendicular to each other through the center of the heart. The body surface electrocardiogram recorded by lead 1 and Z lead is the projection of the three-dimensional vector ring of the electrocardiogram on these three lead axes, which can comprehensively reflect the electrical activity of the left, right, up and down and front and back directions of the heart.

AC联合与I构成X轴AC joins with I to form the X-axis

MF联合与H构成Y轴MF is combined with H to form the Y axis

ACEI联合与M构成Z轴ACEI and M form the Z axis

电极佩戴方式:How to wear electrodes:

A点位于左腋中线,Point A is located on the left midaxillary line,

C点在左胸壁前部E点与A点中间,Point C is between point E and point A on the front of the left chest wall,

E点在胸骨前面中间,Point E is in the middle of the front of the sternum,

I点位于右侧腋中线,Point I is located on the right midaxillary line,

M点在后背部脊柱中间。The M point is in the middle of the spine on the back.

H点位于后边颈部与躯干连接处The H point is located at the junction of the neck and torso on the back

四、Nehb导联4. Nehb lead

心房波的辨别在心电诊断,尤其在心律失常诊断中有重要意义。常规心电图有时对一些低小、不能明视的心房波难以确定。Nehb导联的探查电极靠近心脏表面,且其3个导联轴构成的三角形接近心电偶轴;当电极距心电偶中心越近,越靠近心电偶轴,其电位绝对值就越大,这就是Nehb导联心电图各波振幅高、ST-T改变敏感之故。P波显示清楚,对于诊断以P波及P-R段为主要诊断依据的心律失常优于常规导联;R波振幅高且ST-T改变阳性率高、出现时间早、改变程度明显,且D导联优于A导联,这对于诊断冠心病和左室肥大具有早期诊断的价值;U波振幅高,对诊断低血钾症等亦有较大的帮助。在可疑冠心病患者尤其是年老体弱者,当Nehb导联出现缺血性ST-T改变而常规导联正常时,结合临床可以诊断冠心病,从而免去运动试验及可能发生不良反应的药物试验。The identification of atrial waves is of great significance in electrocardiographic diagnosis, especially in the diagnosis of arrhythmia. Routine ECG is sometimes difficult to determine some small, invisible atrial waves. The probe electrode of the Nehb lead is close to the heart surface, and the triangle formed by its three lead axes is close to the heart couple axis; the closer the electrode is to the heart couple center, the closer to the heart couple axis, the greater the absolute value of the potential , which is why the amplitude of each wave of the Nehb lead ECG is high and the ST-T changes are sensitive. The P wave is clearly displayed, and it is better than the conventional lead for the diagnosis of arrhythmia based on the P wave and the P-R segment; It is superior to lead A, which has early diagnostic value for the diagnosis of coronary heart disease and left ventricular hypertrophy; the high amplitude of U wave is also helpful for the diagnosis of hypokalemia. In patients with suspected coronary heart disease, especially the elderly and infirm, when the Nehb lead has ischemic ST-T changes and the conventional lead is normal, it can be combined with clinical diagnosis of coronary heart disease, thereby eliminating the need for exercise tests and drugs that may cause adverse reactions test.

计算方式:Calculation:

D(Nax正极-Ns负极电压)D(Nax positive pole-Ns negative pole voltage)

A(Nap正极-Nst负极电压)A(Nap positive pole-Nst negative pole voltage)

J(Nap正极-Nax负极电压)J(Nap Positive-Nax Negative Voltage)

电极佩戴方式:How to wear electrodes:

Nst:第二肋与右胸骨边缘接合点Nst: junction of the second rib and the border of the right sternum

Nax:左腋后线第五肋间隙(与V8或C8位置相同)Nax: left posterior axillary line fifth intercostal space (same position as V8 or C8)

Nap:左锁骨中线第五肋间隙(与C4位置相同)Nap: the fifth intercostal space on the left midclavicular line (same position as C4)

以上为常见的导联方式,当然还存在其他的导联体系,例如Fontaine、Cabrera、Mason-Likar、EASI等导联体系。为了更全面地了解心电信息,医护人员将不同时间段采集的不同导联体系下的信息综合分析,例如:10点钟采集了Wilson导联体系下的(I、II、III、aVR、aVL、aVF、及V1~V6)的十二导联体系下的心电信息,而在10点10分采集了Frank导联体系下的(X、Y、Z)心电信息,而在10点20分采集了Nehb体系下(D、A、J)心电信息,通过采集不同模式心电图综合分析心脏情况。而对于使用胸导联(V1~V6)映射Frank体系下的(I、E、C、A、M、H)电极或者Nebh体系下的(Nst、Nax、Nap)电极,导联映射关系都是固定的,比如在Frank导联体系下,只能用V1~V6一一固定映射代替I、E、C、A、M、H,不能做到自定义映射。本发明提供的采集心电图数据的方法,可以解决针对上述的分阶段采集不同模式心电图数据存在的问题。The above are common lead methods, and of course there are other lead systems, such as Fontaine, Cabrera, Mason-Likar, EASI and other lead systems. In order to understand the ECG information more comprehensively, the medical staff comprehensively analyzed the information collected under different lead systems at different time periods, for example: (I, II, III, aVR, aVL) under the Wilson lead system were collected at 10 o'clock , aVF, and V1~V6) ECG information under the twelve-lead system, and collected the (X, Y, Z) ECG information under the Frank lead system at 10:10, and at 10:20 The ECG information under the Nehb system (D, A, J) was collected separately, and the heart condition was comprehensively analyzed by collecting different modes of ECG. However, for using the chest leads (V1~V6) to map (I, E, C, A, M, H) electrodes under the Frank system or (Nst, Nax, Nap) electrodes under the Nebh system, the lead mapping relationship is Fixed, for example, under the Frank lead system, only one-to-one fixed mapping of V1~V6 can be used to replace I, E, C, A, M, and H, and custom mapping cannot be done. The method for collecting electrocardiogram data provided by the present invention can solve the above-mentioned problems existing in collecting electrocardiogram data in different modes in stages.

图1为本发明实施例提供的一种采集心电图数据的方法的流程图,如图1所示,该方法包括:Fig. 1 is a flow chart of a method for collecting electrocardiogram data provided by an embodiment of the present invention. As shown in Fig. 1, the method includes:

S11:获取待检测模式与目标模式下的电极之间的初始映射关系以及当前映射关系,其中目标模式至少包括一个心电图数据的采集导联模式,且与待检测模式不同;S11: Obtain the initial mapping relationship and the current mapping relationship between electrodes in the mode to be detected and the target mode, wherein the target mode includes at least one lead mode for collecting electrocardiogram data, and is different from the mode to be detected;

具体地,待检测模式为采集心电图数据的实际导联模式,目标模式为需要映射的导联模式,例如以标准12导联体系进行采集心电图,其目标模式为Frank导联模式,也就是将标准12导联体系下采集的心电图数据根据映射关系可以作为Frank导联模式下采集的心电图数据。需要说明的是,其目标模式至少包括一个心电图数据的采集导联模式,可以同时对多个目标模式进行映射。待检测模式也可以进行更换改变,为了避免重复和占用不必要的映射关系,其待检测模式与目标模式不同。Specifically, the mode to be detected is the actual lead mode for collecting ECG data, and the target mode is the lead mode that needs to be mapped. According to the mapping relationship, the ECG data collected under the 12-lead system can be used as the ECG data collected under the Frank lead mode. It should be noted that the target mode includes at least one lead mode for collecting electrocardiogram data, and multiple target modes can be mapped at the same time. The pattern to be detected can also be replaced and changed. In order to avoid repetition and occupy unnecessary mapping relationships, the pattern to be detected is different from the target pattern.

待检测模式与目标模式的电极之间的初始映射关系与当前映射关系,可以相同,也可以不同。若初始映射关系与当前映射关系相同,则说明其电极的映射内容相同,直接进行采集心电图数据即可;若初始映射关系与当前映射关系不同,则说明映射内容发生改变,需要根据当前映射关系调整映射的电极。The initial mapping relationship between the electrodes of the detection mode and the target mode may be the same as or different from the current mapping relationship. If the initial mapping relationship is the same as the current mapping relationship, it means that the mapping content of the electrodes is the same, and the ECG data can be collected directly; if the initial mapping relationship is different from the current mapping relationship, it means that the mapping content has changed and needs to be adjusted according to the current mapping relationship. Mapped electrodes.

图2为本发明实施例提供的一种初始映射关系的示意图,图3为本发明实施例提供的一种当前映射关系与初始映射关系不同的示意图,图2和图3中的当前映射关系发生变化。Figure 2 is a schematic diagram of an initial mapping relationship provided by an embodiment of the present invention, and Figure 3 is a schematic diagram of a current mapping relationship different from the initial mapping relationship provided by an embodiment of the present invention, and the current mapping relationship in Figure 2 and Figure 3 occurs Variety.

S12:当初始映射关系与当前映射关系对应的电极映射连接不同时,将映射连接不同的待检测模式下的待检测电极作为目标待检测电极,并根据当前映射关系确定当前目标待检测电极对应的目标模式下的目标电极占位的情况;S12: When the initial mapping relationship is different from the electrode mapping connection corresponding to the current mapping relationship, use the electrode to be detected under the different detection mode of the mapping connection as the target electrode to be detected, and determine the electrode corresponding to the current target electrode to be detected according to the current mapping relationship Occupancy of target electrodes in target mode;

在上述步骤S11中获取到初始映射关系与当前映射关系对应的电极映射连接不同时,如图2和图3所示,则需要进行调整,则以映射连接不同的待检测模式下的待检测电极作为目标待检测电极,从图中可以看到,电极V1、V2的映射关系发生变化,则将该两个电极作为目标待检测电极。When the initial mapping relationship obtained in the above step S11 is different from the electrode mapping connection corresponding to the current mapping relationship, as shown in Figures 2 and 3, adjustments are required, and the electrodes to be detected in different modes to be detected are connected by mapping As the target electrode to be detected, it can be seen from the figure that if the mapping relationship of the electrodes V1 and V2 changes, then these two electrodes are used as the target electrode to be detected.

根据当前映射关系确定当前待检测电极对应的目标模式下的目标电极占位的情况,以电极V1为例,其目标模式下的目标电极为V2’,确定当前的目标电极存在占位。Determine the occupancy of the target electrode in the target mode corresponding to the current electrode to be detected according to the current mapping relationship. Taking electrode V1 as an example, the target electrode in the target mode is V2', and determine that the current target electrode has occupancy.

需要说明的是,设置胸导的每一电极都可以映射为V1’、V2’、V3’、V4’、V5’、V6’、V3R、V4R、V5R、V7、V8、V9中的任意一个,在前一映射关系的基础上,变换映射关系时,如果设置电极已经占位,则设置为该电极,占位电极设置为需变换的电极变换前对应的映射电极,完成占位互换。It should be noted that each electrode of the chest lead can be mapped to any one of V1', V2', V3', V4', V5', V6', V3R, V4R, V5R, V7, V8, V9, On the basis of the previous mapping relationship, when transforming the mapping relationship, if the setting electrode is already occupied, then set it as this electrode, and set the occupying electrode as the corresponding mapping electrode before the transformation of the electrode to be transformed, and complete the space-occupying exchange.

另外,当前待检测电极只有一个,存在多个目标待检测电极需要调整时,需要逐个按照调整。In addition, currently there is only one electrode to be detected, and when there are multiple target electrodes to be detected that need to be adjusted, they need to be adjusted one by one.

S13:当目标电极存在占位时,则根据初始映射关系确定当前目标待检测电极对应的原目标电极,将占位的目标电极与原目标电极进行互换以完成当前目标待检测电极的映射更新,直至目标待检测电极更新完毕;S13: When the target electrode has an occupancy, determine the original target electrode corresponding to the current target electrode to be detected according to the initial mapping relationship, and exchange the occupied target electrode with the original target electrode to complete the mapping update of the current target electrode to be detected , until the target electrode to be detected is updated;

当目标电极存在占位时,根据初始映射关系确定其原目标电极,结合上述例子,当前目标待检测电极V1的初始映射关系映射的原目标电极为V1’,将占位的V2’与V1’进行互换以完成当前的映射更新,直至目标待检测电极更新完毕。When the target electrode has an occupancy, determine its original target electrode according to the initial mapping relationship. In combination with the above example, the original target electrode mapped by the initial mapping relationship of the current target electrode V1 to be detected is V1', and the occupied V2' and V1' Swap to complete the current map update until the target electrode to be detected is updated.

上述的初始映射关系与当前映射关系发生变化仅是在两个电极的目标电极互换一次即可,当遇到多个电极且目标电极需要互换多次才能更新至当前映射关系的内容,则需要逐个进行。例如,初始映射关系对应V1-V1’,V2-V2’,V3-V3’,当前映射关系为V1-V2’,V2-V3’,V3-V1’,则按照顺序先进行V1,确定其对应的目标电极V2’占位情况,此时说明存在占位,则进行互换,得到第一映射关系为V1-V2’,V2-V1’,V3-V1’,对于目标待检测电极V2的目标电极V3’,存在占位,则进行互换,得到第二映射关系V1-V2’,V2-V3’,V3-V2’,到第二映射关系后得到的当前映射关系,则目标待检测电极更新完毕。The change between the above-mentioned initial mapping relationship and the current mapping relationship only needs to be exchanged once for the target electrodes of the two electrodes. When multiple electrodes are encountered and the target electrodes need to be exchanged multiple times to update the content of the current mapping relationship, then Need to be done one by one. For example, the initial mapping relationship corresponds to V1-V1', V2-V2', V3-V3', and the current mapping relationship is V1-V2', V2-V3', V3-V1', then V1 is performed first in order to determine its corresponding The occupancy of the target electrode V2' of the target electrode V2' indicates that there is an occupancy, and the exchange is performed to obtain the first mapping relationship V1-V2', V2-V1', V3-V1', for the target electrode V2 to be detected Electrode V3', if there is an occupancy, then exchange it to obtain the second mapping relationship V1-V2', V2-V3', V3-V2', and the current mapping relationship obtained after the second mapping relationship, then the target electrode to be detected update completed.

S14:通过映射更新后的待检测模式下的待检测电极采集心电图数据。S14: Collect electrocardiogram data by mapping the updated electrode to be detected in the detection to be detected mode.

在上述进行映射更新完毕后,对应的待检测电极采集心电图数据。After the above-mentioned updating of the mapping is completed, the corresponding electrodes to be detected collect the electrocardiogram data.

本发明提供的一种采集心电图数据的方法,包括获取待检测模式与目标模式下的电极之间的初始映射关系以及当前映射关系,其中目标模式至少包括一个心电图数据的采集导联模式,且与待检测模式不同;当初始映射关系与当前映射关系对应的电极映射连接不同时,将映射连接不同的待检测模式下的待检测电极作为目标待检测电极,并根据当前映射关系确定当前目标待检测电极对应的目标模式下的目标电极占位的情况;当目标电极存在占位时,则根据初始映射关系确定当前目标待检测电极对应的原目标电极,将占位的目标电极与原目标电极进行互换以完成当前目标待检测电极的映射更新,直至目标待检测电极更新完毕;通过映射更新后的待检测模式下的待检测电极采集心电图数据。该方法通过自定义当前映射关系,设置不同模式下的各电极的安放位置,通过导联模式的映射,实现不同导联系统下的多个导联模式下的同步采集,节省采集时间,使得采集过程简单。弥补常规心电图数据采集时的模式体系下导联不足的限制,可全面连接用户的不同部位的心电图同一时间的变化情况。A method for collecting electrocardiogram data provided by the present invention includes obtaining an initial mapping relationship and a current mapping relationship between electrodes in a mode to be detected and a target mode, wherein the target mode includes at least one lead mode for collecting electrocardiogram data, and The modes to be detected are different; when the initial mapping relationship is different from the electrode mapping connection corresponding to the current mapping relationship, the electrodes to be detected in the different modes to be detected are used as the target electrodes to be detected, and the current target to be detected is determined according to the current mapping relationship The occupancy of the target electrode in the target mode corresponding to the electrode; when the target electrode has an occupancy, the original target electrode corresponding to the current target electrode to be detected is determined according to the initial mapping relationship, and the occupancy target electrode is compared with the original target electrode. Interchange to complete the mapping update of the current target electrode to be detected until the update of the target electrode to be detected is completed; collect electrocardiogram data by mapping the updated electrode to be detected in the mode to be detected. By customizing the current mapping relationship, the method sets the placement positions of electrodes in different modes, and realizes synchronous acquisition in multiple lead modes under different lead systems through the mapping of lead modes, saving acquisition time and making acquisition The process is simple. It makes up for the limitation of insufficient leads in the mode system of conventional ECG data collection, and can fully connect the changes of the ECG of different parts of the user at the same time.

在上述实施例的基础上,目标模式至少包括第一导联模式,当前映射关系的确定过程包括以下步骤:On the basis of the above embodiments, the target mode includes at least the first lead mode, and the process of determining the current mapping relationship includes the following steps:

确定待检测模式的待检测电极的第一数量;determining a first number of electrodes to be detected in a mode to be detected;

判断第一导联模式的电极的第二数量是否超出待检测电极的第一数量;judging whether the second number of electrodes in the first lead pattern exceeds the first number of electrodes to be detected;

若是,则根据待检测模式的待检测电极与第一导联模式的电极对应的佩戴位置以及待检测电极的第一数量进行筛选第一导联模式的电极以作为第一导联模式的初始电极;If so, then filter the electrodes of the first lead mode according to the wearing position corresponding to the electrodes to be detected of the mode to be detected and the electrodes of the first lead mode and the first number of electrodes to be detected as the initial electrodes of the first lead mode ;

若否,则将第一导联模式的电极以作为初始电极;If not, use the electrode of the first lead mode as the initial electrode;

将初始电极与待检测模式的电极建立当前映射关系。Establish the current mapping relationship between the initial electrode and the electrode of the mode to be detected.

具体地,需要目标模式与待检测模式进行匹配,直观内容是电极的数量是否匹配,例如以标准12导联体系的映射情况,因为12导心电图机胸导电极只有6个,Frank导联体系I、E、C、A、M、H电极也需要6个,因此十二导心电图机的胸部电极(V1~V6)和映射为的Frank模式的I、E、C、A、M、H电极不能同时使用,胸导电极只能选择采集Wilson胸导数据或者Frank导联数据。Specifically, it is necessary to match the target pattern with the pattern to be detected. The intuitive content is whether the number of electrodes matches. , E, C, A, M, and H electrodes also need 6 electrodes, so the chest electrodes (V1~V6) of the 12-lead ECG machine and the I, E, C, A, M, and H electrodes mapped to Frank mode cannot When used at the same time, the chest lead electrode can only choose to collect Wilson chest lead data or Frank lead data.

可以理解的是,需要确定点检测电极的第一数量,再判断第一导联模式的电极的第二数量是否超出第一数量,若超出,则根据佩戴位置(上段内容的情况)与第一数量进行筛选作为初始电极。若未超出,可以实现全部的电极映射。It can be understood that it is necessary to determine the first number of point detection electrodes, and then judge whether the second number of electrodes in the first lead mode exceeds the first number. The number was screened as the initial electrode. If not exceeded, full electrode mapping can be achieved.

本发明实施例提供的目标模式至少包括第一导联模式,确定当前映射关系,便于后续占位互换,提高电极映射以及互换的效率。The target mode provided by the embodiment of the present invention includes at least the first lead mode, which determines the current mapping relationship, facilitates the subsequent swapping of occupants, and improves the efficiency of electrode mapping and swapping.

在上述实施例的基础上,当目标模式还包括第二导联模式,当前映射关系的确定过程包括以下步骤:On the basis of the above embodiments, when the target mode also includes the second lead mode, the process of determining the current mapping relationship includes the following steps:

确定第二导联模式下的电极的第三数量;determining a third number of electrodes in the second lead mode;

判断第一数量是否小于第二数量和第三数量的和值;judging whether the first quantity is less than the sum of the second quantity and the third quantity;

若是,则根据待检测电极与第一导联模式、第二导联模式下的电极对应的佩戴位置以及第一导联模式与第二导联模式的优先级关系确定第一导联模式与第二导联模式下对应的初始电极;If so, determine the first lead mode and the second lead mode according to the wearing positions corresponding to the electrodes to be detected and the electrodes in the first lead mode and the second lead mode, and the priority relationship between the first lead mode and the second lead mode. The corresponding initial electrodes in two-lead mode;

若否,则将第一导联模式与第二导联模式下的电极作为初始电极;If not, the electrodes in the first lead mode and the second lead mode are used as initial electrodes;

将初始电极与待检测模式下的电极建立当前映射关系。Establish the current mapping relationship between the initial electrode and the electrode in the detection mode.

具体地,目标模式存在两个不同的模式时,则确定当前映射关系,先确定第二导联模式下的电极的第三数量,判断第一数量是否小于第二数量和第三数量的和值,若小于,则说明当前无法做到待检测电极全部映射目标模式下的电极,需要进行筛选,以及根据电极的佩戴位置和第一导联模式与第二导联模式的优先级关系确定初始电极;若不小于,则全部进行映射。Specifically, when there are two different modes in the target mode, determine the current mapping relationship, first determine the third number of electrodes in the second lead mode, and determine whether the first number is less than the sum of the second number and the third number , if it is less than , it means that it is currently impossible to map all the electrodes to be detected to the electrodes in the target mode, and screening is required, and the initial electrodes are determined according to the wearing position of the electrodes and the priority relationship between the first lead mode and the second lead mode ; If not less than, all are mapped.

例如:图4为本发明实施例的一种两个目标模式下的初始映射关系的示意图,图5为本发明实施例的一种两个目标模式下的当前映射关系的示意图。如图4和图5所示,Nehb的占位为3位,因此Nehb可以和Wilson模式或者Frank模式同步显示。实际工作中,如果选择采集Nehb模式心电图,则Nehb占位的电极所映射的Wilson体系电极所对应的导联是不显示的,(如果采集时选择了Nehb模式,则采集的导联会有D、A、J则不会有V4、V5、V6导联),Nehb占位发生变化时,相应的电极映射也会发生变化,Nehb模式可以选择V1~V6中的任意三个电极进行映射。For example: FIG. 4 is a schematic diagram of an initial mapping relationship in a two-target mode according to an embodiment of the present invention, and FIG. 5 is a schematic diagram of a current mapping relationship in a two-target mode according to an embodiment of the present invention. As shown in Figure 4 and Figure 5, Nehb occupies 3 bits, so Nehb can be displayed synchronously with Wilson mode or Frank mode. In actual work, if you choose to collect Nehb mode ECG, the lead corresponding to the Wilson system electrode mapped by the Nehb-occupied electrode will not be displayed (if Nehb mode is selected during collection, the collected lead will have D , A, J will not have V4, V5, V6 leads), when the Nehb occupancy changes, the corresponding electrode mapping will also change, Nehb mode can select any three electrodes from V1 to V6 for mapping.

本发明实施例提供的当目标模式还包括第二导联模式,确定当前映射关系,便于后续占位互换,提高电极映射以及互换的效率。The embodiment of the present invention provides that when the target mode also includes the second lead mode, the current mapping relationship is determined, which facilitates the subsequent swapping of occupants, and improves the efficiency of electrode mapping and swapping.

在上述实施例的基础上,当第一数量大于或等于第二数量和第三数量的和值时,将占位的目标电极与原目标电极进行互换以完成当前目标待检测电极的映射更新,包括:On the basis of the above embodiments, when the first number is greater than or equal to the sum of the second number and the third number, the occupied target electrode is exchanged with the original target electrode to complete the mapping update of the current target electrode to be detected ,include:

判断占位的目标电极是否为第一导联模式下的初始电极:Determine whether the target electrode is the initial electrode in the first lead mode:

若是,则将占位的目标电极与第一导联模式下的原目标电极进行互换以完成当前目标待检测电极的映射更新;If so, exchange the occupied target electrode with the original target electrode in the first lead mode to complete the mapping update of the current target electrode to be detected;

若否,则确定占位的目标电极为第二导联模式下的初始电极;If not, then determine that the occupied target electrode is the initial electrode in the second lead mode;

则将占位的目标电极与第二导联模式下的原目标电极进行互换以完成当前目标待检测电极的映射更新。Then, the occupied target electrode is exchanged with the original target electrode in the second lead mode to complete the mapping update of the current target electrode to be detected.

具体地,由于存在多个目标模式,本实施例可以同时对多个目标模式下的电极进行全部映射,则需要判断占位的目标电极是否为第一导联模式下的初始电极,若是,则进行互换,若否,则确定仅是第二导联模式下的初始电极的映射关系发生变化,则对第二导联模式下的原目标电极进行互换。Specifically, since there are multiple target modes, this embodiment can map all electrodes in multiple target modes at the same time, and it is necessary to determine whether the occupied target electrode is the initial electrode in the first lead mode, and if so, then If not, it is determined that only the mapping relationship of the initial electrode in the second lead mode has changed, and then the original target electrode in the second lead mode is exchanged.

本实施例存在两种情况,一种情况是待检测模式与第一导联模式下的电极变化以及第二导联模式下的电极变化进行穿插,另一种是任何模式下的电极变化作为一个整体进行变化,如图5所示。无论何种情况,本发明实施例仅是针对当前目标待检测电极的映射更新,逐个电极进行映射更新。There are two situations in this embodiment, one situation is that the mode to be detected is interspersed with the electrode changes in the first lead mode and the electrode changes in the second lead mode, and the other is that the electrode changes in any mode are used as a Changes are made as a whole, as shown in Figure 5. In any case, the embodiment of the present invention only updates the mapping of the current target electrode to be detected, and updates the mapping electrode by electrode.

本发明实施例提供的当第一数量大于或等于第二数量和第三数量的和值时,将占位的目标电极与原目标电极进行互换以完成当前目标待检测电极的映射更新,设置不同模式下的各电极的安放位置,通过导联模式的映射,实现不同导联系统下的多个导联模式下的同步采集。According to the embodiment of the present invention, when the first number is greater than or equal to the sum of the second number and the third number, exchange the occupied target electrode with the original target electrode to complete the mapping update of the current target electrode to be detected, set The position of each electrode in different modes is mapped to the lead mode to realize synchronous acquisition in multiple lead modes under different lead systems.

在上述实施例的基础上,当第一数量小于第二数量和第三数量的和值时,初始映射关系为待检测模式与第一导联模式下的电极之间的映射关系,将占位的目标电极与原目标电极进行互换以完成当前目标待检测电极的映射更新,包括:On the basis of the above embodiment, when the first number is less than the sum of the second number and the third number, the initial mapping relationship is the mapping relationship between the mode to be detected and the electrodes in the first lead mode, and the occupancy The target electrode is exchanged with the original target electrode to complete the mapping update of the current target electrode to be detected, including:

判断占位的目标电极是否为第一导联模式下的初始电极:Determine whether the target electrode is the initial electrode in the first lead mode:

若是,则将占位的目标电极与第一导联模式下的原目标电极进行互换以完成当前目标待检测电极的映射更新;If so, exchange the occupied target electrode with the original target electrode in the first lead mode to complete the mapping update of the current target electrode to be detected;

若否,则根据当前映射关系确定目标电极对应的默认待检测电极;If not, then determine the default electrode to be detected corresponding to the target electrode according to the current mapping relationship;

根据初始映射关系确定当前目标待检测电极对应的第一初始目标电极以及默认待检测电极对应的第二初始目标电极;Determine the first initial target electrode corresponding to the current target electrode to be detected and the second initial target electrode corresponding to the default electrode to be detected according to the initial mapping relationship;

将第一初始目标电极与第二初始目标电极均替换为空白电极,其中空白电极的电极状态为无映射状态;Both the first initial target electrode and the second initial target electrode are replaced with blank electrodes, wherein the electrode state of the blank electrode is a non-mapping state;

将占用的目标电极与原目标电极进行互换并对应存入当前目标待检测电极与默认待检测电极对应的初始目标电极中,以完成当前目标待检测电极的映射更新。The occupied target electrode is exchanged with the original target electrode and correspondingly stored in the initial target electrode corresponding to the current target to-be-detected electrode and the default to-be-detected electrode, so as to complete the mapping update of the current target to-be-detected electrode.

具体地,由于存在多个目标模式,本实施例无法实现同时对多个目标模式下的电极全部映射,同时对于第一导联模式下的电极与待检测电极的映射关系为初始关系,则说明第二导联模式是后来加入,需要进行映射改变。Specifically, due to the existence of multiple target modes, this embodiment cannot realize simultaneous mapping of all electrodes in multiple target modes, and at the same time, the mapping relationship between electrodes in the first lead mode and electrodes to be detected is the initial relationship. The second lead mode was added later and required a mapping change.

判断占位的目标电极是否为第一导联模式下的初始电极;若是,则说明需要对第一导联模式下的电极进行改变,或者作为空白电极,将占位的目标电极与第一导联模式下的原目标电极进行互换以完成当前目标待检测电极的映射更新。Determine whether the occupied target electrode is the initial electrode in the first lead mode; if so, it means that the electrode in the first lead mode needs to be changed, or as a blank electrode, connect the occupied target electrode The original target electrode in the linked mode is exchanged to complete the mapping update of the current target electrode to be detected.

若不是,则说明除第一导联模式下的电机改变之外,加入其他导联模式下的电极,发生的电极映射变化,可以变为后续加入的第二导联模式下的电极,说明目标电极对应的当前映射关系为默认待检测电极,进而根据初始映射关系确定当前目标待检测电极对应的第一初始目标电极以及默认待检测电极对应的第二初始目标电极;将第一初始目标电极与第二初始目标电极均替换为空白电极,其中空白电极的电极状态为无映射状态。将占用的目标电极与原目标电极进行互换并对应存入当前目标待检测电极与默认待检测电极对应的初始目标电极中,需要说明的是,这里的初始目标电极为当前目标待检测电极对应的空白电极(由第一初始目标电极替换得到)以及默认待检测电极对应的空白电极(由第二初始目标电极替换得到),以完成当前目标待检测电极的映射更新。If not, it means that in addition to the change of the motor in the first lead mode, adding electrodes in other lead modes, the electrode mapping changes that occur can be changed to electrodes in the second lead mode added later, indicating the goal The current mapping relationship corresponding to the electrode is the default electrode to be detected, and then determine the first initial target electrode corresponding to the current target electrode to be detected and the second initial target electrode corresponding to the default electrode to be detected according to the initial mapping relationship; The second initial target electrodes are all replaced with blank electrodes, wherein the electrode state of the blank electrodes is a non-mapping state. Exchange the occupied target electrode with the original target electrode and store it in the initial target electrode corresponding to the current target electrode to be detected and the default electrode to be detected. It should be noted that the initial target electrode here corresponds to the current target electrode to be detected The blank electrode (replaced by the first initial target electrode) and the blank electrode corresponding to the default electrode to be detected (replaced by the second initial target electrode) to complete the map update of the current target electrode to be detected.

本发明实施例提供的当第一数量小于第二数量和第三数量的和值时,初始映射关系为待检测模式与第一导联模式下的电极之间的映射关系,将占位的目标电极与原目标电极进行互换以完成当前目标待检测电极的映射更新,设置不同模式下的各电极的安放位置,通过导联模式的映射,实现不同导联系统下的多个导联模式下的同步采集。When the first number provided by the embodiment of the present invention is less than the sum of the second number and the third number, the initial mapping relationship is the mapping relationship between the mode to be detected and the electrodes in the first lead mode, and the occupied target The electrode is exchanged with the original target electrode to complete the mapping update of the current target electrode to be detected, set the placement position of each electrode in different modes, and realize multiple lead modes under different lead systems through the mapping of the lead mode. synchronous collection.

在上述实施例的基础上,当目标电极不存在占位时,还包括:On the basis of the above embodiments, when there is no occupancy in the target electrode, it also includes:

当目标电极不存在占位时,将当前待检测电极的当前映射状态设置为无映射状态以完成当前目标待检测电极的映射更新,直至目标待检测电极更新完毕;When the target electrode does not occupy a place, set the current mapping state of the current electrode to be detected as no mapping state to complete the mapping update of the current target electrode to be detected until the update of the target electrode to be detected is completed;

通过映射更新后的待检测模式下的待检测电极采集心电图数据。Electrocardiogram data is collected by mapping the updated electrodes to be detected in the detection mode.

当目标电极不存在占位,则说明待检测模式下的电极当前映射状态为空白,也就是无映射状态以完成当前目标待检测电极的映射更新。When there is no occupancy for the target electrode, it means that the current mapping state of the electrode under the detection mode is blank, that is, there is no mapping state to complete the mapping update of the current target electrode to be detected.

本发明实施例提供的当目标电极不存在占位时,将当前待检测电极的当前映射状态设置为无映射状态以完成当前目标待检测电极的映射更新,实现映射模式灵活,提高用户体验感。According to the embodiment of the present invention, when the target electrode does not occupy space, the current mapping state of the current electrode to be detected is set to the no mapping state to complete the mapping update of the current target electrode to be detected, so as to realize flexible mapping mode and improve user experience.

在上述实施例的基础上,待检测模式为标准十二导联模式、常规十五导联模式和常规十八导联模式的任意一种模式,目标模式至少包括Wilson导联模式、Nehb导联模式和Frank导联模式的任意一种模式。On the basis of the above-mentioned embodiments, the mode to be detected is any one of the standard twelve-lead mode, the conventional fifteen-lead mode, and the conventional eighteen-lead mode, and the target mode includes at least the Wilson lead mode, the Nehb lead mode, and the Nehb lead mode. Either mode or Frank lead mode.

以标准十二导心电图机(只有6个胸部电极)情况下,根据占位关系,可以采集:In the case of a standard 12-lead ECG machine (only 6 chest electrodes), according to the space-occupying relationship, it can collect:

1、标准12导联(I、II、III、aVR、aVL、aVF、V1~V6);1. Standard 12 leads (I, II, III, aVR, aVL, aVF, V1~V6);

2、附加6导(I、II、III、aVR、aVL、aVF、V3R、V4R、V5R、V7、V8、V9);2. Additional 6 leads (I, II, III, aVR, aVL, aVF, V3R, V4R, V5R, V7, V8, V9);

3、可以是I、II、III、aVR、aVL、aVF及(V1、V2、V3、V4、V5、V6、V3R、V4R、V5R、V7、V8、V9中的任意6个);3. Can be I, II, III, aVR, aVL, aVF and (any 6 of V1, V2, V3, V4, V5, V6, V3R, V4R, V5R, V7, V8, V9);

4、可以采集Frank向量心电包含X、Y、Z导联;4. Can collect Frank vector ECG including X, Y, Z leads;

5、可以将I、II、III、aVR、aVL、aVF与X、Y、Z综合采集显示;5. It can comprehensively collect and display I, II, III, aVR, aVL, aVF and X, Y, Z;

6、可以采集Nehb模式心电图,包含D、A、J导联;6. Can collect Nehb mode ECG, including D, A, J leads;

7、可以采集Nehb模式导联+(I、II、III、aVR、aVL、aVF)+(V1、V2、V3、V4、V5、V6、V3R、V4R、V5R、V7、V8、V9中的任意3个导联)。7. It can collect any of Nehb mode leads + (I, II, III, aVR, aVL, aVF) + (V1, V2, V3, V4, V5, V6, V3R, V4R, V5R, V7, V8, V9 3 leads).

以标准十五导心电图集利用电极映射功能可以采集:With the standard 15-lead ECG set, the electrode mapping function can be used to acquire:

1、标准15导联(I、II、III、aVR、aVL、aVF、V1~V6,V3R、V4R、V5R);1. Standard 15 leads (I, II, III, aVR, aVL, aVF, V1~V6, V3R, V4R, V5R);

2、可以是I、II、III、aVR、aVL、aVF及(V1、V2、V3、V4、V5、V6、V3R、V4R、V5R、V7、V8、V9中的任意9个)同步显示采集;2. Can be I, II, III, aVR, aVL, aVF and (any 9 of V1, V2, V3, V4, V5, V6, V3R, V4R, V5R, V7, V8, V9) synchronous display acquisition;

3、可以采集Frank向量心电包含X、Y、Z导联;3. Can collect Frank vector ECG including X, Y, Z leads;

4、可以将X、Y、Z导联与I、II、III、aVR、aVL、aVF及(V1、V2、V3、V4、V5、V6、V3R、V4R、V5R、V7、V8、V9中的任意3个)同步显示采集;4. The X, Y, Z leads can be connected with I, II, III, aVR, aVL, aVF and (V1, V2, V3, V4, V5, V6, V3R, V4R, V5R, V7, V8, V9) Any 3) synchronous display acquisition;

5、可以采集Nehb模式心电图,包含D、A、J导联;5. Can collect Nehb mode ECG, including D, A, J leads;

6、可以采集Nehb模式导联+(I、II、III、aVR、aVL、aVF)+(V1、V2、V3、V4、V5、V6、V3R、V4R、V5R、V7、V8、V9中的任意6个)同步显示采集;6. It can collect any of Nehb mode leads + (I, II, III, aVR, aVL, aVF) + (V1, V2, V3, V4, V5, V6, V3R, V4R, V5R, V7, V8, V9 6) synchronous display acquisition;

7、可以采集Nehb模式导联+(I、II、III、aVR、aVL、aVF)+(X、Y、Z)+(V1、V2、V3、V4、V5、V6、V3R、V4R、V5R、V7、V8、V9中的任意3个)。7. Can collect Nehb mode leads + (I, II, III, aVR, aVL, aVF) + (X, Y, Z) + (V1, V2, V3, V4, V5, V6, V3R, V4R, V5R, Any 3 of V7, V8, V9).

以标准十八导设备可以采集:With standard 18-channel equipment, you can collect:

1、标准18导联(I、II、III、aVR、aVL、aVF、V1~V6,V3R、V4R、V5R、V7、V8、V9);1. Standard 18 leads (I, II, III, aVR, aVL, aVF, V1~V6, V3R, V4R, V5R, V7, V8, V9);

2、可以采集Frank向量心电包含X、Y、Z导联;2. Can collect Frank vector ECG including X, Y, Z leads;

3、可以采集Nehb模式心电图,包含D、A、J导联;3. Can collect Nehb mode ECG, including D, A, J leads;

4、可以同步采集Frank向量心电(X、Y、Z)+Nehb模式心电图(D、A、J)+(I、II、III、aVR、aVL、aVF)+(V1~V6,V3R、V4R、V5R、V7、V8、V9中的任意3导);4. Can collect Frank vector ECG (X, Y, Z) + Nehb mode ECG (D, A, J) + (I, II, III, aVR, aVL, aVF) + (V1~V6, V3R, V4R) simultaneously , V5R, V7, V8, V9 in any 3 leads);

5、可以采集Frank向量心电(X、Y、Z)+(I、II、III、aVR、aVL、aVF)+(V1~V6,V3R、V4R、V5R、V7、V8、V9中的任意6导);5. It can collect any 6 of Frank's vector ECG (X, Y, Z) + (I, II, III, aVR, aVL, aVF) + (V1~V6, V3R, V4R, V5R, V7, V8, V9) guide);

6、可以采集Nehb模式心电图(D、A、J)+(I、II、III、aVR、aVL、aVF)+(V1~V6,V3R、V4R、V5R、V7、V8、V9中的任意9导)。6. Can collect Nehb mode ECG (D, A, J) + (I, II, III, aVR, aVL, aVF) + (V1~V6, V3R, V4R, V5R, V7, V8, V9 in any 9 leads ).

本发明实施例提供的待检测模式为标准十二导联模式、常规十五导联模式和常规十八导联模式的任意一种模式,目标模式至少包括Wilson导联模式、Nehb导联模式和Frank导联模式的任意一种模式,以便于实现不同导联系统下的多个导联模式下的同步采集。The mode to be detected provided by the embodiment of the present invention is any mode of standard twelve-lead mode, conventional fifteen-lead mode and conventional eighteen-lead mode, and the target mode includes at least Wilson lead mode, Nehb lead mode and Any mode of the Frank lead mode, so as to realize synchronous acquisition in multiple lead modes under different lead systems.

上述详细描述了采集心电图数据的方法对应的各个实施例,在此基础上,本发明还公开与上述方法对应的采集心电图数据的装置,图6为本发明实施例提供的一种采集心电图数据的装置的结构图。如图6所示,采集心电图数据的装置包括:The various embodiments corresponding to the method for collecting electrocardiogram data have been described in detail above. On this basis, the present invention also discloses a device for collecting electrocardiogram data corresponding to the above method. FIG. 6 is a device for collecting electrocardiogram data provided by an embodiment of the present invention. Structural diagram of the device. As shown in Figure 6, the device for collecting ECG data includes:

获取模块11,用于获取待检测模式与目标模式下的电极之间的初始映射关系以及当前映射关系,其中目标模式至少包括一个心电图数据的采集导联模式,且与待检测模式不同;An acquisition module 11, configured to acquire an initial mapping relationship and a current mapping relationship between electrodes in a mode to be detected and a target mode, wherein the target mode includes at least one lead mode for collecting electrocardiogram data, and is different from the mode to be detected;

第一确定模块12,用于当初始映射关系与当前映射关系对应的电极映射连接不同时,将映射连接不同的待检测模式下的待检测电极作为目标待检测电极,并根据当前映射关系确定当前目标待检测电极对应的目标模式下的目标电极占位的情况;The first determining module 12 is configured to use the electrode to be detected in the mode to be detected with different mapping connections as the target electrode to be detected when the initial mapping relationship is different from the electrode mapping connection corresponding to the current mapping relationship, and determine the current electrode to be detected according to the current mapping relationship. Occupancy of the target electrode in the target mode corresponding to the target electrode to be detected;

第一更新模块13,用于当目标电极存在占位时,则根据初始映射关系确定当前目标待检测电极对应的原目标电极,将占位的目标电极与原目标电极进行互换以完成当前目标待检测电极的映射更新,直至目标待检测电极更新完毕;The first update module 13 is used to determine the original target electrode corresponding to the current target electrode to be detected according to the initial mapping relationship when the target electrode has an occupancy, and exchange the occupied target electrode with the original target electrode to complete the current target The mapping of the electrode to be detected is updated until the update of the target electrode to be detected is completed;

采集模块14,用于通过映射更新后的待检测模式下的待检测电极采集心电图数据。The collection module 14 is configured to collect electrocardiogram data by mapping the updated electrodes to be detected in the detection mode.

作为一种优选地实施例,目标模式至少包括第一导联模式,第一确定模块12内的当前映射关系的确定过程包括以下步骤:As a preferred embodiment, the target mode includes at least the first lead mode, and the determination process of the current mapping relationship in the first determination module 12 includes the following steps:

第二确定模块,用于确定待检测模式的待检测电极的第一数量;The second determination module is used to determine the first number of electrodes to be detected in the detection mode;

第一判断模块,用于判断第一导联模式的电极的第二数量是否超出待检测电极的第一数量;若是,则触发第一筛选模块,若否,则触发第一作为模块;The first judging module is used to judge whether the second number of electrodes in the first lead mode exceeds the first number of electrodes to be detected; if so, trigger the first screening module, and if not, trigger the first as module;

第一筛选模块,用于根据待检测模式的待检测电极与第一导联模式的电极对应的佩戴位置以及待检测电极的第一数量进行筛选第一导联模式的电极以作为第一导联模式的初始电极;The first screening module is used to screen the electrodes in the first lead mode as the first lead according to the wearing position corresponding to the electrodes to be detected in the mode to be detected and the electrodes in the first lead mode and the first number of electrodes to be detected The initial electrode of the pattern;

第一作为模块,用于将第一导联模式的电极以作为初始电极;The first as a module, used to use the electrodes of the first lead mode as the initial electrodes;

第一建立模块,用于将初始电极与待检测模式的电极建立当前映射关系。The first establishment module is used to establish the current mapping relationship between the initial electrodes and the electrodes of the detection mode.

作为一种优选地实施例,当目标模式还包括第二导联模式,第一确定模块12内的当前映射关系的确定过程包括以下步骤:As a preferred embodiment, when the target mode also includes the second lead mode, the determination process of the current mapping relationship in the first determination module 12 includes the following steps:

第三确定模块,用于确定第二导联模式下的电极的第三数量;a third determination module, configured to determine a third number of electrodes in the second lead mode;

第二判断模块,用于判断第一数量是否小于第二数量和第三数量的和值,若是,则触发第二筛选模块,若否,则触发第二作为模块;The second judging module is used to judge whether the first quantity is less than the sum of the second quantity and the third quantity, if so, trigger the second screening module, and if not, trigger the second acting module;

第二筛选模块,用于根据待检测电极与第一导联模式、第二导联模式下的电极对应的佩戴位置以及第一导联模式与第二导联模式的优先级关系确定第一导联模式与第二导联模式下对应的初始电极;The second screening module is used to determine the first lead according to the wearing position corresponding to the electrode to be detected and the electrode in the first lead mode and the second lead mode, and the priority relationship between the first lead mode and the second lead mode. The corresponding initial electrodes in the lead mode and the second lead mode;

第二作为模块,用于将第一导联模式与第二导联模式下的电极作为初始电极;The second module is used to use electrodes in the first lead mode and the second lead mode as initial electrodes;

第二建立模块,用于将初始电极与待检测模式下的电极建立当前映射关系。The second establishing module is used to establish the current mapping relationship between the initial electrode and the electrode in the detection mode.

作为一种优选地实施例,当第一数量大于或等于第二数量和第三数量的和值时,第一更新模块13包括:As a preferred embodiment, when the first number is greater than or equal to the sum of the second number and the third number, the first updating module 13 includes:

第三判断模块,用于判断占位的目标电极是否为第一导联模式下的初始电极,若是,则触发第一映射更新模块,若否,则触发第二映射更新模块;The third judging module is used to judge whether the target electrode occupying the space is the initial electrode in the first lead mode, if so, trigger the first mapping updating module, and if not, trigger the second mapping updating module;

第一映射更新模块,用于将占位的目标电极与第一导联模式下的原目标电极进行互换以完成当前目标待检测电极的映射更新;The first mapping update module is used to exchange the occupied target electrode with the original target electrode in the first lead mode to complete the mapping update of the current target electrode to be detected;

第二映射更新模块,用于确定占位的目标电极为第二导联模式下的初始电极;则将占位的目标电极与第二导联模式下的原目标电极进行互换以完成当前目标待检测电极的映射更新。The second mapping update module is used to determine that the occupied target electrode is the initial electrode in the second lead mode; then exchange the occupied target electrode with the original target electrode in the second lead mode to complete the current target The map of the electrodes to be detected is updated.

作为一种优选地实施例,当第一数量小于第二数量和第三数量的和值时,初始映射关系为待检测模式与第一导联模式下的电极之间的映射关系,第一更新模块13包括:As a preferred embodiment, when the first number is less than the sum of the second number and the third number, the initial mapping relationship is the mapping relationship between the mode to be detected and the electrodes in the first lead mode, and the first update Module 13 includes:

第四判断模块,用于判断占位的目标电极是否为第一导联模式下的初始电极,若是,则触发第三映射更新模块,若否,则触发第四确定模块;The fourth judging module is used to judge whether the occupied target electrode is the initial electrode in the first lead mode, if so, trigger the third mapping updating module, and if not, trigger the fourth determining module;

第三映射更新模块,用于将占位的目标电极与第一导联模式下的原目标电极进行互换以完成当前目标待检测电极的映射更新;The third mapping update module is used to exchange the occupied target electrode with the original target electrode in the first lead mode to complete the mapping update of the current target electrode to be detected;

第四确定模块,用于根据当前映射关系确定目标电极对应的默认待检测电极;The fourth determination module is used to determine the default electrode to be detected corresponding to the target electrode according to the current mapping relationship;

第五确定模块,用于根据初始映射关系确定当前目标待检测电极对应的第一初始目标电极以及默认待检测电极对应的第二初始目标电极;The fifth determining module is used to determine the first initial target electrode corresponding to the current target electrode to be detected and the second initial target electrode corresponding to the default electrode to be detected according to the initial mapping relationship;

替换模块,用于将第一初始目标电极与第二初始目标电极均替换为空白电极,其中空白电极的电极状态为无映射状态;A replacement module, configured to replace both the first initial target electrode and the second initial target electrode with a blank electrode, wherein the electrode state of the blank electrode is a non-mapping state;

第四映射更新模块,用于将占用的目标电极与原目标电极进行互换并对应存入当前目标待检测电极与默认待检测电极对应的初始目标电极中,以完成当前目标待检测电极的映射更新。The fourth mapping update module is used to exchange the occupied target electrodes with the original target electrodes and correspondingly store them in the initial target electrodes corresponding to the current target electrodes to be detected and the default electrodes to be detected, so as to complete the mapping of the current target electrodes to be detected renew.

作为一种优选地实施例,采集心电图数据的装置还包括:As a preferred embodiment, the device for collecting electrocardiogram data also includes:

第二更新模块,用于当目标电极不存在占位时,将当前待检测电极的当前映射状态设置为无映射状态以完成当前目标待检测电极的映射更新,直至目标待检测电极更新完毕;通过映射更新后的待检测模式下的待检测电极采集心电图数据。The second update module is used to set the current mapping state of the current electrode to be detected as no mapping state to complete the mapping update of the current target electrode to be detected until the update of the target electrode to be detected is completed; The electrodes to be detected in the detection-to-be-mapped mode are mapped to collect electrocardiogram data.

作为一种优选地实施例,待检测模式为标准十二导联模式、常规十五导联模式和常规十八导联模式的任意一种模式,目标模式至少包括Wilson导联模式、Nehb导联模式和Frank导联模式的任意一种模式。As a preferred embodiment, the mode to be detected is any one of the standard twelve-lead mode, the conventional fifteen-lead mode, and the conventional eighteen-lead mode, and the target mode includes at least the Wilson lead mode, the Nehb lead mode, and the Nehb lead mode. Either mode or Frank lead mode.

由于装置部分的实施例与上述的实施例相互对应,因此装置部分的实施例请参照上述方法部分的实施例描述,在此不再赘述。Since the embodiment of the device part corresponds to the above-mentioned embodiments, please refer to the description of the embodiments of the above-mentioned method part for the embodiment of the device part, and details are not repeated here.

对于本发明提供的一种采集心电图数据的装置的介绍请参照上述方法实施例,本发明在此不再赘述,其具有上述采集心电图数据的方法相同的有益效果。For the introduction of the device for collecting electrocardiogram data provided by the present invention, please refer to the above-mentioned method embodiment, and the present invention will not repeat it here, and it has the same beneficial effect as the above-mentioned method for collecting electrocardiogram data.

图7为本发明实施例提供的另一种采集心电图数据的装置的结构图,如图7所示,该装置包括:FIG. 7 is a structural diagram of another device for collecting electrocardiogram data provided by an embodiment of the present invention. As shown in FIG. 7, the device includes:

存储器21,用于存储计算机程序;Memory 21, used to store computer programs;

处理器22,用于执行计算机程序时实现采集心电图数据的方法的步骤。The processor 22 is configured to implement the steps of the method for collecting electrocardiogram data when executing the computer program.

本实施例提供的采集心电图数据的装置可以包括但不限于智能手机、平板电脑、笔记本电脑或者台式电脑等。The device for collecting electrocardiogram data provided in this embodiment may include, but is not limited to, a smart phone, a tablet computer, a notebook computer or a desktop computer, and the like.

其中,处理器22可以包括一个或多个处理核心,比如4核心处理器、8核心处理器等。处理器22可以采用数字信号处理器(DigitalSignalProcessor,DSP)、现场可编程门阵列(Field-Programmable Gate Array,FPGA)、可编程逻辑阵列(Programmable LogicArray,PLA)中的至少一种硬件形式来实现。处理器22也可以包括主处理器和协处理器,主处理器是用于对在唤醒状态下的数据进行处理的处理器,也称中央处理器(CentralProcessing Unit,CPU);协处理器是用于对在待机状态下的数据进行处理的低功耗处理器。在一些实施例中,处理器22可以集成有图像处理器(Graphics ProcessingUnit,GPU),GPU用于负责显示屏所需要显示的内容的渲染和绘制。一些实施例中,处理器22还可以包括人工智能(ArtificialIntelligence,AI)处理器,该AI处理器用于处理有关机器学习的计算操作。Wherein, the processor 22 may include one or more processing cores, such as a 4-core processor, an 8-core processor, and the like. The processor 22 may be realized by at least one hardware form of a digital signal processor (Digital Signal Processor, DSP), a field-programmable gate array (Field-Programmable Gate Array, FPGA), and a programmable logic array (Programmable Logic Array, PLA). Processor 22 may also include a main processor and a coprocessor, the main processor is a processor for processing data in a wake-up state, and is also called a central processing unit (Central Processing Unit, CPU); Low-power processor for processing data in standby state. In some embodiments, the processor 22 may be integrated with a graphics processor (Graphics Processing Unit, GPU), and the GPU is used for rendering and drawing the content that needs to be displayed on the display screen. In some embodiments, the processor 22 may also include an artificial intelligence (AI) processor, and the AI processor is used to process computing operations related to machine learning.

存储器21可以包括一个或多个计算机可读存储介质,该计算机可读存储介质可以是非暂态的。存储器21还可包括高速随机存取存储器,以及非易失性存储器,比如一个或多个磁盘存储设备、闪存存储设备。本实施例中,存储器21至少用于存储以下计算机程序211,其中,该计算机程序被处理器22加载并执行之后,能够实现前述任一实施例公开的采集心电图数据的方法的相关步骤。另外,存储器21所存储的资源还可以包括操作系统212和数据213等,存储方式可以是短暂存储或者永久存储。其中,操作系统212可以包括Windows、Unix、Linux等。数据213可以包括但不限于采集心电图数据的方法所涉及到的数据等等。Memory 21 may include one or more computer-readable storage media, which may be non-transitory. The memory 21 may also include high-speed random access memory and non-volatile memory, such as one or more magnetic disk storage devices and flash memory storage devices. In this embodiment, the memory 21 is at least used to store the following computer program 211, wherein, after the computer program is loaded and executed by the processor 22, it can realize the relevant steps of the method for collecting ECG data disclosed in any of the above-mentioned embodiments. In addition, the resources stored in the memory 21 may also include an operating system 212 and data 213, etc., and the storage method may be temporary storage or permanent storage. Wherein, the operating system 212 may include Windows, Unix, Linux and so on. The data 213 may include but not limited to the data involved in the method of collecting ECG data and the like.

在一些实施例中,采集心电图数据的装置还可包括有显示屏23、输入输出接口24、通信接口25、电源26以及通信总线27。In some embodiments, the device for collecting ECG data may further include a display screen 23 , an input/output interface 24 , a communication interface 25 , a power supply 26 and a communication bus 27 .

领域技术人员可以理解,图7中示出的结构并不构成对采集心电图数据的装置的限定,可以包括比图示更多或更少的组件。Those skilled in the art can understand that the structure shown in FIG. 7 does not constitute a limitation to the device for collecting electrocardiogram data, and may include more or less components than those shown in the illustration.

处理器22通过调用存储于存储器21中的指令以实现上述任一实施例所提供的采集心电图数据的方法。The processor 22 calls the instructions stored in the memory 21 to implement the method for collecting electrocardiogram data provided by any of the above-mentioned embodiments.

对于本发明提供的一种采集心电图数据的装置的介绍请参照上述方法实施例,本发明在此不再赘述,其具有上述采集心电图数据的方法相同的有益效果。For the introduction of the device for collecting electrocardiogram data provided by the present invention, please refer to the above-mentioned method embodiment, and the present invention will not repeat it here, and it has the same beneficial effect as the above-mentioned method for collecting electrocardiogram data.

进一步的,本发明还提供了一种计算机可读存储介质,计算机可读存储介质上存储有计算机程序,计算机程序被处理器22执行时实现如上述采集心电图数据的方法的步骤。Further, the present invention also provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by the processor 22, the steps of the above-mentioned method for collecting electrocardiogram data are realized.

可以理解的是,如果上述实施例中的方法以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,执行本发明各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等各种可以存储程序代码的介质。It can be understood that if the methods in the above embodiments are implemented in the form of software function units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the essence of the technical solution of the present invention or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium , executing all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage media include: U disk, mobile hard disk, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disk or optical disc and other media that can store program codes. .

对于本发明提供的一种计算机可读存储介质的介绍请参照上述方法实施例,本发明在此不再赘述,其具有上述采集心电图数据的方法相同的有益效果。For the introduction of a computer-readable storage medium provided by the present invention, please refer to the above-mentioned method embodiment, and the present invention will not be repeated here, and it has the same beneficial effect as the above-mentioned method for collecting electrocardiogram data.

作为一种优选地实施例,图8为本发明另一实施例提供一种采集心电图数据的装置的结构图,如图8所示,采集心电图数据的装置31包括心电采集模块、存储模块、中央处理模块、显示模块及电源模块、打印模块等。As a preferred embodiment, FIG. 8 is a structural diagram of a device for collecting ECG data according to another embodiment of the present invention. As shown in FIG. 8 , the device 31 for collecting ECG data includes an ECG collection module, a storage module, Central processing module, display module, power module, printing module, etc.

1、心电采集模块:用于对监护病人心电ECG生理参数的采集,生理参数采集模块以UART、USB、I2C、SPI通过外设接口与处理模块进行通讯连接。对于监护病人的来说,除生理参数采集模块采集的生理参数外,还包含有病人的常规信息,如姓名、床位号、病史、病人ID以及主治医生信息等。1. ECG acquisition module: used for the acquisition of ECG physiological parameters of monitored patients. The physiological parameter acquisition module uses UART, USB, I2C, and SPI to communicate with the processing module through peripheral interfaces. For monitoring patients, in addition to the physiological parameters collected by the physiological parameter collection module, it also contains routine information of the patient, such as name, bed number, medical history, patient ID and attending doctor information.

2、存储模块:用于数据的存储。存储模块包含存储器和存储控制器,存储器可以是包含Flash、ROM、RAM、E2ROM等,存储控制器用控制本发明系统和外设接口对存储器的访问。2. Storage module: used for data storage. The storage module includes a memory and a storage controller, and the memory may include Flash, ROM, RAM, E2ROM, etc., and the storage controller is used to control the access of the system of the present invention and the peripheral interface to the memory.

3、中央处理模块:用于负责整个系统的模块间的控制管理,负责获取程序指令、对指令进行译码并加以执行,以及数据的加工处理,执行设备的各种功能和应用。3. Central processing module: used to control and manage the inter-modules of the entire system, responsible for obtaining program instructions, decoding and executing instructions, as well as data processing, and executing various functions and applications of equipment.

4、显示模块:用于相关数据的显示。可使用触摸屏和非触摸显示屏,包含LCD、LPD、OLED等显示方式,使用非触摸显示屏时,可以通过其他输入设备输入显示信息或者控制指令,例如按钮、旋钮、薄膜按键、物理按键、鼠标等输入信号。使用触摸屏时,用户通过相关协议,按照不同的手势输入不同的信息。为方便起见,也可采用触摸屏显示以及其他输入设备相结合的方式。4. Display module: used to display relevant data. Can use touch screen and non-touch display, including LCD, LPD, OLED and other display methods. When using non-touch display, you can input display information or control instructions through other input devices, such as buttons, knobs, membrane keys, physical keys, and mouse Wait for the input signal. When using the touch screen, the user inputs different information according to different gestures through related protocols. For convenience, a combination of touch screen display and other input devices may also be used.

显示模块还包括显示控制器,显示控制器向显示屏发送电信号或者接收显示屏输入的电信号,通过调用存储器中有关的数据及指令来在显示屏上显示数据及图形形成可视化图形用户界面,供用户查看。The display module also includes a display controller, which sends electrical signals to the display screen or receives electrical signals input from the display screen, and displays data and graphics on the display screen by calling relevant data and instructions in the memory to form a visual graphical user interface. for users to view.

6、本发明系统还包括:(1)电源模块:用于系统的供电,包括电源转换系统(AC/DC、DC/DC)、电源管理系统、电源、充电系统、故障检测系统以及电力状态指示系统等(2)通讯模块:用于信号的传输,可以接收云端的数据并转化为电信号进行处理和显示等,也可以将系统的电信号转换为通信信号发送到云端,进行存储等处理,通讯方式包括但不限于4g/5g、wifi、红外、zigbee、GPS等方式。(3)音频处理模块:用于数据的播报、超限报警等。6. The system of the present invention also includes: (1) Power supply module: used for power supply of the system, including power conversion system (AC/DC, DC/DC), power management system, power supply, charging system, fault detection system and power status indication System, etc. (2) Communication module: used for signal transmission, can receive cloud data and convert it into electrical signal for processing and display, etc., can also convert system electrical signal into communication signal and send it to the cloud for storage and other processing, Communication methods include but are not limited to 4g/5g, wifi, infrared, zigbee, GPS, etc. (3) Audio processing module: used for data broadcast, over-limit alarm, etc.

在显示模块中,图9为本发明实施例提供的一种显示界面的导联设置示意图,如图9所示,以标准十八导为例,三种模式整体设置的示意图。各种模式的映射关系通过倒三角下拉进行选择建立,当然也可以使用别的选择方式进行选择。In the display module, FIG. 9 is a schematic diagram of lead setting of a display interface provided by an embodiment of the present invention. As shown in FIG. 9 , taking the standard eighteen leads as an example, it is a schematic diagram of the overall setting of the three modes. The mapping relationship of various modes is established through the inverted triangle drop-down selection, of course, other selection methods can also be used for selection.

图10为本发明实施例提供的另一种采集心电图数据的方法的流程图,如图10所示,该流程图包括:FIG. 10 is a flow chart of another method for collecting electrocardiogram data provided by an embodiment of the present invention. As shown in FIG. 10 , the flow chart includes:

S21:建立初始映射关系;S21: Establish an initial mapping relationship;

S22:改变当前映射关系;S22: Change the current mapping relationship;

S23:根据初始映射关系和当前映射关系选择对应的映射电极;S23: Select a corresponding mapping electrode according to the initial mapping relationship and the current mapping relationship;

S24:判断选择的映射电极是否存在占位,若是,则进入步骤S25,若否,则进入步骤S26;S24: Determine whether the selected mapping electrode has an occupancy, if yes, go to step S25, if not, go to step S26;

S25:将占位电极变为当前映射电极改变前的映射电极,同时将当前映射电极变为要变的映射电极;S25: Change the occupancy electrode into the mapping electrode before the current mapping electrode is changed, and simultaneously change the current mapping electrode into the mapping electrode to be changed;

S26:将当前映射电极变为要变的映射电极;S26: Change the current mapping electrode into the mapping electrode to be changed;

S27:根据映射更新后的电极采集心电图数据。S27: Collect electrocardiogram data according to the electrodes after the mapping is updated.

对于本发明提供的一种采集心电图数据的装置、采集心电图数据的方法的介绍请参照上述方法实施例,本发明在此不再赘述,其具有上述采集心电图数据的方法相同的有益效果。For the introduction of a device for collecting ECG data and a method for collecting ECG data provided by the present invention, please refer to the above-mentioned method embodiments, and the present invention will not repeat them here, and it has the same beneficial effects as the above-mentioned method for collecting ECG data.

以上对本发明所提供的一种采集心电图数据的方法、采集心电图数据的装置及介质进行了详细介绍。说明书中各个实施例采用递进的方式描述,每个实施例重点说明的都是与其他实施例的不同之处,各个实施例之间相同相似部分互相参见即可。对于实施例公开的装置而言,由于其与实施例公开的方法相对应,所以描述的比较简单,相关之处参见方法部分说明即可。应当指出,对于本技术领域的普通技术人员来说,在不脱离本发明原理的前提下,还可以对本发明进行若干改进和修饰,这些改进和修饰也落入本发明权利要求的保护范围内。A method for collecting electrocardiogram data, a device and a medium for collecting electrocardiogram data provided by the present invention have been introduced in detail above. Each embodiment in the description is described in a progressive manner, each embodiment focuses on the difference from other embodiments, and the same and similar parts of each embodiment can be referred to each other. As for the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and for the related information, please refer to the description of the method part. It should be pointed out that for those skilled in the art, without departing from the principle of the present invention, some improvements and modifications can be made to the present invention, and these improvements and modifications also fall within the protection scope of the claims of the present invention.

还需要说明的是,在本说明书中,诸如第一和第二等之类的关系术语仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这种实际的关系或者顺序。而且,术语“包括”“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、物品或者设备中还存在另外的相同要素。It should also be noted that in this specification, relative 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 that these entities or operations There is no such actual relationship or order between the operations. Moreover, the term "comprises", "comprises" or any other variation thereof is intended to cover a non-exclusive inclusion such that a process, method, article, or apparatus comprising a set of elements includes not only those elements, but also items not expressly listed. other elements, or also include elements inherent in such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising a ..." does not exclude the presence of additional identical elements in the process, method, article or apparatus comprising said element.

Claims (10)

1.一种采集心电图数据的方法,其特征在于,包括:1. A method for collecting electrocardiogram data, comprising: 获取待检测模式与目标模式下的电极之间的初始映射关系以及当前映射关系,其中所述目标模式至少包括一个心电图数据的采集导联模式,且与所述待检测模式不同;Acquiring the initial mapping relationship and the current mapping relationship between electrodes in the mode to be detected and the target mode, wherein the target mode includes at least one lead mode for collecting electrocardiogram data, and is different from the mode to be detected; 当所述初始映射关系与所述当前映射关系对应的电极映射连接不同时,将映射连接不同的所述待检测模式下的待检测电极作为目标待检测电极,并根据所述当前映射关系确定当前目标待检测电极对应的所述目标模式下的目标电极占位的情况;When the initial mapping relationship is different from the electrode mapping connection corresponding to the current mapping relationship, the electrode to be detected in the mode to be detected with a different mapping connection is used as the target electrode to be detected, and the current mapping relationship is determined according to the current mapping relationship. Occupancy of the target electrode in the target mode corresponding to the target electrode to be detected; 当所述目标电极存在占位时,则根据所述初始映射关系确定所述当前目标待检测电极对应的原目标电极,将占位的所述目标电极与所述原目标电极进行互换以完成所述当前目标待检测电极的映射更新,直至所述目标待检测电极更新完毕;When the target electrode has an occupancy, determine the original target electrode corresponding to the current target electrode to be detected according to the initial mapping relationship, and exchange the occupied target electrode with the original target electrode to complete The mapping of the current target electrode to be detected is updated until the update of the target electrode to be detected is completed; 通过映射更新后的所述待检测模式下的所述待检测电极采集所述心电图数据。Collecting the electrocardiogram data by mapping the updated electrode to be detected in the detection mode. 2.根据权利要求1所述的采集心电图数据的方法,其特征在于,所述目标模式至少包括第一导联模式,所述当前映射关系的确定过程包括以下步骤:2. the method for collecting electrocardiogram data according to claim 1, is characterized in that, described target pattern comprises first lead pattern at least, and the determination process of described current mapping relationship comprises the following steps: 确定所述待检测模式的所述待检测电极的第一数量;determining a first number of said electrodes to be detected of said pattern to be detected; 判断所述第一导联模式的电极的第二数量是否超出所述待检测电极的所述第一数量;judging whether a second number of electrodes in the first lead pattern exceeds the first number of electrodes to be detected; 若是,则根据所述待检测模式的所述待检测电极与所述第一导联模式的所述电极对应的佩戴位置以及所述待检测电极的所述第一数量进行筛选所述第一导联模式的电极以作为所述第一导联模式的初始电极;If yes, then filter the first lead according to the wearing position corresponding to the electrode to be detected in the pattern to be detected and the electrode in the first lead mode and the first number of electrodes to be detected The electrodes of the lead mode are used as the initial electrodes of the first lead mode; 若否,则将所述第一导联模式的电极以作为所述初始电极;If not, using electrodes of the first lead pattern as the initial electrodes; 将所述初始电极与所述待检测模式的电极建立所述当前映射关系。Establishing the current mapping relationship between the initial electrode and the electrode in the to-be-detected mode. 3.根据权利要求2所述的采集心电图数据的方法,其特征在于,当所述目标模式还包括第二导联模式,所述当前映射关系的确定过程包括以下步骤:3. the method for collecting electrocardiogram data according to claim 2, is characterized in that, when described target pattern also comprises second lead pattern, the determination process of described current mapping relationship comprises the following steps: 确定所述第二导联模式下的电极的第三数量;determining a third number of electrodes in the second lead mode; 判断所述第一数量是否小于所述第二数量和所述第三数量的和值;judging whether the first quantity is less than the sum of the second quantity and the third quantity; 若是,则根据所述待检测电极与所述第一导联模式、所述第二导联模式下的电极对应的佩戴位置以及所述第一导联模式与所述第二导联模式的优先级关系确定所述第一导联模式与所述第二导联模式下对应的初始电极;If so, according to the wearing positions of the electrodes to be detected corresponding to the electrodes in the first lead mode and the second lead mode, and the priorities of the first lead mode and the second lead mode The level relationship determines the initial electrode corresponding to the first lead mode and the second lead mode; 若否,则将所述第一导联模式与所述第二导联模式下的电极作为所述初始电极;If not, using electrodes in the first lead mode and the second lead mode as the initial electrodes; 将所述初始电极与所述待检测模式下的电极建立所述当前映射关系。Establishing the current mapping relationship between the initial electrodes and the electrodes in the to-be-detected mode. 4.根据权利要求3所述的采集心电图数据的方法,其特征在于,当所述第一数量大于或等于所述第二数量和所述第三数量的和值时,所述将占位的所述目标电极与所述原目标电极进行互换以完成所述当前目标待检测电极的映射更新,包括:4. The method for collecting electrocardiogram data according to claim 3, characterized in that, when the first number is greater than or equal to the sum of the second number and the third number, the occupied The target electrode is exchanged with the original target electrode to complete the mapping update of the current target electrode to be detected, including: 判断所述占位的所述目标电极是否为所述第一导联模式下的初始电极;judging whether the target electrode occupying the space is the initial electrode in the first lead mode; 若是,则将所述占位的所述目标电极与所述第一导联模式下的所述原目标电极进行互换以完成所述当前目标待检测电极的映射更新;If yes, exchanging the occupied target electrode with the original target electrode in the first lead mode to complete the mapping update of the current target electrode to be detected; 若否,则确定所述占位的所述目标电极为所述第二导联模式下的初始电极;If not, determining that the target electrode occupying the space is an initial electrode in the second lead mode; 则将所述占位的所述目标电极与所述第二导联模式下的所述原目标电极进行互换以完成所述当前目标待检测电极的映射更新。Then exchange the occupied target electrode with the original target electrode in the second lead mode to complete the mapping update of the current target electrode to be detected. 5.根据权利要求3所述的采集心电图数据的方法,其特征在于,当所述第一数量小于所述第二数量和所述第三数量的和值时,所述初始映射关系为所述待检测模式与所述第一导联模式下的电极之间的映射关系,所述将占位的所述目标电极与所述原目标电极进行互换以完成所述当前目标待检测电极的映射更新,包括:5. the method for collecting electrocardiogram data according to claim 3, is characterized in that, when described first quantity is less than the sum value of described second quantity and described 3rd quantity, described initial mapping relation is described The mapping relationship between the to-be-detected mode and the electrodes in the first lead mode, the target electrode to be occupied is exchanged with the original target electrode to complete the mapping of the current target to-be-detected electrode Updates, including: 判断所述占位的所述目标电极是否为所述第一导联模式下的初始电极;judging whether the target electrode occupying the space is the initial electrode in the first lead mode; 若是,则将所述占位的所述目标电极与所述第一导联模式下的所述原目标电极进行互换以完成所述当前目标待检测电极的映射更新;If yes, exchanging the occupied target electrode with the original target electrode in the first lead mode to complete the mapping update of the current target electrode to be detected; 若否,则根据所述当前映射关系确定所述目标电极对应的默认待检测电极;If not, then determine the default electrode to be detected corresponding to the target electrode according to the current mapping relationship; 根据所述初始映射关系确定所述当前目标待检测电极对应的第一初始目标电极以及所述默认待检测电极对应的第二初始目标电极;determining a first initial target electrode corresponding to the current target electrode to be detected and a second initial target electrode corresponding to the default electrode to be detected according to the initial mapping relationship; 将所述第一初始目标电极与所述第二初始目标电极均替换为空白电极,其中所述空白电极的电极状态为无映射状态;replacing both the first initial target electrode and the second initial target electrode with a blank electrode, wherein the electrode state of the blank electrode is a non-mapping state; 将占用的所述目标电极与所述原目标电极进行互换并对应存入所述当前目标待检测电极与所述默认待检测电极对应的初始目标电极中,以完成所述当前目标待检测电极的映射更新。The occupied target electrode is exchanged with the original target electrode and correspondingly stored in the initial target electrode corresponding to the current target electrode to be detected and the default electrode to be detected, so as to complete the current target electrode to be detected The mapping update for . 6.根据权利要求2所述的采集心电图数据的方法,其特征在于,当所述目标电极不存在占位时,还包括:6. The method for collecting electrocardiogram data according to claim 2, wherein, when the target electrode does not occupy a place, it also includes: 当所述目标电极不存在占位时,将所述当前待检测电极的当前映射状态设置为无映射状态以完成所述当前目标待检测电极的映射更新,直至所述目标待检测电极更新完毕;When there is no occupancy of the target electrode, setting the current mapping state of the current target electrode to be detected as no mapping state to complete the mapping update of the current target electrode to be detected until the update of the target electrode to be detected is completed; 通过映射更新后的所述待检测模式下的所述待检测电极采集所述心电图数据。Collecting the electrocardiogram data by mapping the updated electrode to be detected in the detection mode. 7.根据权利1至6任意一项所述的采集心电图数据的方法,其特征在于,所述待检测模式为标准十二导联模式、常规十五导联模式和常规十八导联模式的任意一种模式,所述目标模式至少包括Wilson导联模式、Nehb导联模式和Frank导联模式的任意一种模式。7. The method for collecting electrocardiogram data according to any one of rights 1 to 6, characterized in that, the mode to be detected is a standard twelve-lead mode, a conventional fifteen-lead mode and a conventional eighteen-lead mode. Any mode, the target mode at least includes any mode of Wilson lead mode, Nehb lead mode and Frank lead mode. 8.一种采集心电图数据的装置,其特征在于,包括:8. A device for collecting electrocardiogram data, comprising: 获取模块,用于获取待检测模式与目标模式下的电极之间的初始映射关系以及当前映射关系,其中所述目标模式至少包括一个心电图数据的采集导联模式,且与所述待检测模式不同;An acquisition module, configured to acquire an initial mapping relationship and a current mapping relationship between electrodes in a mode to be detected and a target mode, wherein the target mode includes at least one lead mode for collecting electrocardiogram data, and is different from the mode to be detected ; 第一确定模块,用于当所述初始映射关系与所述当前映射关系对应的电极映射连接不同时,将映射连接不同的所述待检测模式下的待检测电极作为目标待检测电极,并根据所述当前映射关系确定当前目标待检测电极对应的所述目标模式下的目标电极占位的情况;The first determination module is configured to, when the initial mapping relationship is different from the electrode mapping connection corresponding to the current mapping relationship, use the electrode to be detected in the mode to be detected with a different mapping connection as the target electrode to be detected, and according to The current mapping relationship determines the occupancy of the target electrode in the target mode corresponding to the current target electrode to be detected; 第一更新模块,用于当所述目标电极存在占位时,则根据所述初始映射关系确定所述当前目标待检测电极对应的原目标电极,将占位的所述目标电极与所述原目标电极进行互换以完成所述当前目标待检测电极的映射更新,直至所述目标待检测电极更新完毕;The first update module is configured to determine the original target electrode corresponding to the current target electrode to be detected according to the initial mapping relationship when the target electrode has an occupancy, and combine the occupancy of the target electrode with the original The target electrode is exchanged to complete the mapping update of the current target electrode to be detected until the update of the target electrode to be detected is completed; 采集模块,用于通过映射更新后的所述待检测模式下的所述待检测电极采集所述心电图数据。A collection module, configured to collect the electrocardiogram data by mapping the updated electrode to be detected in the to-be-detected mode. 9.一种采集心电图数据的装置,其特征在于,包括:9. A device for collecting electrocardiogram data, comprising: 存储器,用于存储计算机程序;memory for storing computer programs; 处理器,用于执行所述计算机程序时实现如权利要求1至7任一项所述的采集心电图数据的方法的步骤。A processor, configured to implement the steps of the method for collecting electrocardiogram data according to any one of claims 1 to 7 when executing the computer program. 10.一种计算机可读存储介质,其特征在于,所述计算机可读存储介质上存储有计算机程序,所述计算机程序被处理器执行时实现如权利要求1至7任一项所述的采集心电图数据的方法的步骤。10. A computer-readable storage medium, characterized in that a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the collection according to any one of claims 1 to 7 is realized The steps of the method for electrocardiogram data.
CN202211066009.3A 2022-09-01 2022-09-01 A method, device and medium for collecting electrocardiogram data Pending CN115886829A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211066009.3A CN115886829A (en) 2022-09-01 2022-09-01 A method, device and medium for collecting electrocardiogram data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211066009.3A CN115886829A (en) 2022-09-01 2022-09-01 A method, device and medium for collecting electrocardiogram data

Publications (1)

Publication Number Publication Date
CN115886829A true CN115886829A (en) 2023-04-04

Family

ID=86494454

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211066009.3A Pending CN115886829A (en) 2022-09-01 2022-09-01 A method, device and medium for collecting electrocardiogram data

Country Status (1)

Country Link
CN (1) CN115886829A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070232946A1 (en) * 2006-03-31 2007-10-04 Koninklijke Philips Electronics N.V. Ecg lead misplacement detection and correction
CN104856669A (en) * 2015-04-30 2015-08-26 厦门纳龙科技有限公司 Method for correcting electrocardiographic lead misconnection
US20200000355A1 (en) * 2018-07-02 2020-01-02 Mohammad Mohammad Khair Electric biopotential signal mapping calibration, estimation, source separation, source localization, stimulation, and neutralization.
CN110638440A (en) * 2019-08-29 2020-01-03 上海询康数字科技有限公司 Self-service electrocardio detecting system
WO2020192008A1 (en) * 2019-03-28 2020-10-01 黄加庆 Mobile phone capable of realizing multi-lead electrocardiogram examination and electrocardiogram monitoring
CN113223649A (en) * 2020-01-20 2021-08-06 深圳市理邦精密仪器股份有限公司 Method for acquiring multi-lead electrocardiogram data and related equipment and device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070232946A1 (en) * 2006-03-31 2007-10-04 Koninklijke Philips Electronics N.V. Ecg lead misplacement detection and correction
CN104856669A (en) * 2015-04-30 2015-08-26 厦门纳龙科技有限公司 Method for correcting electrocardiographic lead misconnection
US20200000355A1 (en) * 2018-07-02 2020-01-02 Mohammad Mohammad Khair Electric biopotential signal mapping calibration, estimation, source separation, source localization, stimulation, and neutralization.
WO2020192008A1 (en) * 2019-03-28 2020-10-01 黄加庆 Mobile phone capable of realizing multi-lead electrocardiogram examination and electrocardiogram monitoring
CN110638440A (en) * 2019-08-29 2020-01-03 上海询康数字科技有限公司 Self-service electrocardio detecting system
CN113223649A (en) * 2020-01-20 2021-08-06 深圳市理邦精密仪器股份有限公司 Method for acquiring multi-lead electrocardiogram data and related equipment and device

Similar Documents

Publication Publication Date Title
CN102973263B (en) Intelligent ambulatory electrocardiogram comprehensive treatment device
WO2020133052A1 (en) Method and device for monitoring vital sign of user
CN203341732U (en) Domestic heart rhythm monitoring analysis meter with leading and switching function
CN102342830A (en) Derived electrocardiogram generating system and derived electrocardiogram generating method
US20210327592A1 (en) Method for displaying an early warning score, monitoring device and display system
CN101297753A (en) Standard three-lead electrocardiogram monitor system based on wireless sensor network
Ding et al. Medical remote monitoring of multiple physiological parameters based on wireless embedded internet
CN203619544U (en) SMD sensor electrode and physiological parameter detecting system
Wisana et al. Development of a Low-Cost and Efficient ECG devices with IIR Digital Filter Design
Rahman et al. Affordable smart ecg monitoring using arduino & bluetooth module
CN205029824U (en) Electrocardio monitor based on bluetooth headset
CN115886829A (en) A method, device and medium for collecting electrocardiogram data
CN103371817B (en) A kind of family expenses rhythm of the heart monitoring analyzer
CN110464339A (en) A kind of ecg analysis method and device
CN204542115U (en) Integral type cardiac monitoring is led device
CN103610448A (en) Traditional Chinese medicine pulse condition topographic map instrument with wireless transmission
Müller et al. Remote monitoring in patients with pacemakers and implantable cardioverter-defibrillators: new perspectives for complex therapeutic management
CN109498003A (en) The device of Depth of Anesthesia
Triwiyanto et al. Recent technology and challenge in ECG data acquisition design: A review
CN204765630U (en) Intelligent clothing of electrocardio control
CN104983407A (en) Multifunctional wearable medical monitor system based on general computer
Zhang et al. The design of seven-lead electrocardiograph monitoring system based on Wi-Fi
CN114557699A (en) Dynamic electrocardiogram monitor and electrocardiogram acquisition method
Luong et al. Android Smart Phones Application in Tele-monitoring Electrocardiogram (ECG)
Zhang et al. Design of Data Management System for Remote ECG Monitoring

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination