Method and system for quickly synchronizing data of magnetocardiography, medium and electronic equipment
By determining the number of acquisitions in the magnetocardiometer and using the average waveform of the reference channel for time translation synchronization, the problems of high equipment cost, complex system structure and long acquisition time during the magnetocardiometer data synchronization process are solved, and rapid and simplified data synchronization effect.
Patent Information
- Application Number
- CN202411809862.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-10
- Publication Date
- 2025-02-18
AI Technical Summary
During the data synchronization process, existing magnetograms have problems such as high equipment costs, complex system structure, and long collection time, making it difficult to achieve rapid synchronization.
By obtaining the target data volume and signal channels of the magnetic core array, determining the number of acquisitions, collecting the magnetic core data in turn, determining the R peak based on the average waveform of the maximum amplitude waveform of the reference channel, performing time translation synchronization, and deleting the waveform of the reference channel to Get synchronized target channel data.
Fast synchronization of magnetocardiometer data is achieved, avoiding the need for additional electrocardiograms and additional acquisition of scanning points, simplifying the system structure and shortening synchronization time.
Smart Images

Figure CN119484556A_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of magnetocardiographs, and in particular relates to a method, system, medium and electronic equipment for rapid synchronization of magnetocardiograph data. Background Art
[0002] The magnetocardiograph is a new type of heart disease monitoring device that performs imaging analysis by detecting the magnetic field of the human heart. It has the advantages of being completely non-invasive, non-contact, radiation-free, and highly sensitive, and shows good application potential in ischemic heart disease.
[0003] Among them, the measurement methods of magnetic cardiotonic signals are divided into split scanning and one-shot imaging. Split scanning usually achieves time synchronization by synchronously collecting ECG. There are also methods to achieve time synchronization through additional scanning. Although the former is effective, an additional electrocardiograph is added, which brings some inconvenience to the system in terms of equipment cost, system structure, and unstable factors. Although the latter reduces the number of electrocardiographs, the split scanning time is relatively long, and adding additional point scanning prolongs the acquisition time. In this regard, it is very necessary to explore a fast method for synchronizing magnetocardiograph data for the technical development of multi-point scanning magnetocardiographs. Summary of the invention
[0004] In view of the above-mentioned shortcomings of the prior art, an object of the present invention is to provide a method, system, medium and electronic device for rapid synchronization of magnetocardiograph data, so as to solve the problem of rapid synchronization of magnetocardiograph.
[0005] In a first aspect, the present invention provides a method for rapid synchronization of magnetocardiograph data, the method comprising the following steps:
[0006] Acquire a target data volume of a magnetocardiograph array and a number of magnetocardiograph signal channels, wherein the number of magnetocardiograph signal channels includes a basic channel and a reference channel;
[0007] Determining the number of acquisitions, and sequentially acquiring the magnetocardiographic data based on the number of acquisitions to obtain a maximum amplitude waveform corresponding to the magnetocardiographic data acquired each time;
[0008] Determine the R peak based on the average waveform of the maximum amplitude waveform of the reference channel in the adjacent acquisitions, and use the R peak as the reference peak of the current waveform for time translation synchronization;
[0009] After time-shift synchronization, all waveforms of the reference channels in each acquired magnetocardiographic data are deleted to obtain synchronized target channel data.
[0010] In a possible implementation of the present application, the step of obtaining the target data volume of the magnetocardiograph array and the number of magnetocardiograph signal channels specifically includes:
[0011] Acquire the target data volume corresponding to the set magnetocardiographic array data, wherein the target data volume includes 36;
[0012] The number of signal channels of the magnetocardiograph is obtained based on the basic channels of the current magnetocardiograph and the additionally set reference channels, wherein the basic channels include 12 channels and the reference channels include 2 channels.
[0013] In a possible implementation of the present application, determining the number of acquisitions specifically includes:
[0014] The acquisition times are calculated based on the target data volume and the number of signal channels of the magnetocardiograph, wherein the acquisition times include at least 2 times;
[0015] The target data volume is used as the numerator and the number of channels of the magnetic cardiotoc signal is used as the denominator to perform calculation and round the calculation result to obtain the target value, and the target value is added by one to obtain the number of acquisition times.
[0016] In a possible implementation of the present application, the magnetocardiographic data is sequentially acquired based on the acquisition number to obtain the maximum amplitude waveform corresponding to the magnetocardiographic data acquired each time, specifically including: sequentially acquiring the magnetocardiographic data based on the acquisition number to obtain the maximum amplitude waveform, and obtaining the average waveform of the maximum amplitude waveform of the reference channel acquired each time based on a preset method, wherein the preset method includes a signal selective averaging method in magnetocardiographic signal noise suppression.
[0017] In a possible implementation of the present application, determining the R peak based on the average waveform of the maximum amplitude waveforms of the reference channels in adjacent acquisitions specifically includes:
[0018] Extracting an average waveform of the maximum amplitude waveform of the reference channel acquired in the preceding order in two adjacent acquisitions based on the acquisition times as a comparison waveform, wherein the adjacent acquisitions include at least the first acquisition and the second acquisition;
[0019] Waveform screening is performed based on the comparison waveform to obtain a waveform peak value to obtain the R peak, wherein the R peak is dynamically updated in sequence with the order of adjacent acquisitions.
[0020] In a possible implementation of the present application, the performing time-shift synchronization using the R peak as the reference peak of the current waveform specifically includes:
[0021] The waveform translation reference peak of the order of the number of acquisitions is determined based on the order of adjacent acquisitions, wherein:
[0022] Extract the R peak corresponding to the first adjacent acquisition of the first acquisition and the second acquisition as the reference peak of the maximum amplitude waveform of the second acquisition for alignment and translation, and fill the incomplete data with zeros to complete synchronization;
[0023] The R peak corresponding to the second adjacent acquisition of the second acquisition and the third acquisition is extracted as the reference peak of the maximum amplitude waveform of the third acquisition for alignment and translation, and the incomplete data is filled with zeros to complete synchronization.
[0024] In a possible implementation of the present application, after the time-shift synchronization, the waveforms of all the reference channels in each collected magnetocardiographic data are deleted to obtain synchronized target channel data, specifically including:
[0025] The total channel data is obtained based on the number of acquisitions and the number of magnetocardiograph signal channels;
[0026] Combining the acquisition times and the reference channel to obtain corresponding reference channel data;
[0027] The reference channel data is deleted from the total channel data to obtain the synchronized target channel data.
[0028] In a second aspect, the present invention provides a system for rapid synchronization of magnetocardiograph data, the system comprising:
[0029] An acquisition module, used for acquiring target data volume of the magnetocardiograph array and the number of signal channels of the magnetocardiograph, wherein the number of signal channels of the magnetocardiograph includes a basic channel and a reference channel;
[0030] An acquisition module, used to determine the acquisition times, and sequentially acquire the magnetocardiographic data based on the acquisition times, so as to obtain the maximum amplitude waveform corresponding to the magnetocardiographic data acquired each time;
[0031] A translation module, used to determine an R peak based on an average waveform of the maximum amplitude waveforms of the reference channels in adjacent acquisitions, and to perform time translation synchronization using the R peak as a reference peak of the current waveform;
[0032] The deletion module is used to delete the waveforms of all the reference channels in each collected magnetic cardiology data after time-shift synchronization to obtain synchronized target channel data.
[0033] In a third aspect, the present invention provides an electronic device, the electronic device comprising: a processor and a memory;
[0034] The memory is used to store computer programs;
[0035] The processor is used to execute the computer program stored in the memory so that the electronic device executes the above-mentioned method for rapid synchronization of magnetocardiograph data.
[0036] In a fourth aspect, the present invention provides a computer-readable storage medium having a computer program stored thereon, which, when executed by an electronic device, implements the above-mentioned method for rapid synchronization of magnetocardiograph data.
[0037] As described above, the method, system, medium and electronic device for rapid synchronization of magnetocardiograph data of the present invention have the following beneficial effects: there is no need to use an electrocardiograph for data synchronization, nor is there any need to increase the number of acquisitions. Synchronization between magnetocardiograph data can be achieved by adding an additional signal acquisition channel as a reference channel, which enables the magnetocardiograph to operate in a single operation, is simpler in composition and structure, and has a faster synchronization time. BRIEF DESCRIPTION OF THE DRAWINGS
[0038] Figure 1 Shown is a schematic diagram of a scene of an electronic device in an embodiment of the present invention;
[0039] Figure 2 It is a schematic diagram showing the steps of a method for rapid synchronization of magnetocardiograph data in one embodiment of the present invention;
[0040] Figure 3 A schematic diagram showing the number of magnetocardiograph signal channels in an embodiment of the magnetocardiograph data rapid synchronization method of the present invention;
[0041] Figure 4 It is a schematic diagram showing three acquisitions of the magnetocardiograph data rapid synchronization method in one embodiment of the present invention;
[0042] Figure 5 Shown is a schematic diagram of waveforms collected three times in an embodiment of the method for rapid synchronization of magnetocardiograph data of the present invention;
[0043] Figure 6 Shown is a schematic structural diagram of a magnetocardiograph data rapid synchronization system in one embodiment of the present invention;
[0044] Figure 7 It is a schematic structural diagram of an electronic device of the present invention in one embodiment. DETAILED DESCRIPTION
[0045] The following describes the embodiments of the present invention by specific examples, and those skilled in the art can easily understand other advantages and effects of the present invention from the contents disclosed in this specification. The present invention can also be implemented or applied through other different specific embodiments, and the details in this specification can also be modified or changed in various ways based on different viewpoints and applications without departing from the spirit of the present invention. It should be noted that the following embodiments and features in the embodiments can be combined with each other without conflict.
[0046] It should be noted that the illustrations provided in the following embodiments are only schematic illustrations of the basic concept of the present invention, and thus the drawings only show components related to the present invention rather than being drawn according to the number, shape and size of components in actual implementation. In actual implementation, the type, quantity and proportion of each component may be changed arbitrarily, and the component layout may also be more complicated.
[0047] The following embodiments of the present invention provide a method for rapid synchronization of magnetocardiograph data, which can be applied to Figure 1 The electronic device shown. The electronic device described in the present invention may include a mobile phone 11 with a wireless charging function, a tablet computer 12, a laptop computer 13, a wearable device, a vehicle-mounted device, an augmented reality (AR) / virtual reality (VR) device, an ultra-mobile personal computer (UMPC), a netbook, a personal digital assistant (PDA), etc. The embodiment of the present invention does not impose any restrictions on the specific type of the electronic device.
[0048] For example, the electronic device may be a station (STAION, ST) in a WLAN with a wireless charging function, a cellular phone, a cordless phone, a Session Initiation Protocol (SIP) phone, a Wireless Local Loop (WLL) station, a Personal Digital Assistant (PDA) device, a handheld device with a wireless charging function, a computing device or other processing device, a computer, a laptop computer, a handheld communication device, a handheld computing device, and / or other devices for communicating on a wireless system and a next generation communication system, such as a mobile terminal in a 5G network, a mobile terminal in a future evolved Public Land Mobile Network (PLMN), or a mobile terminal in a future evolved Non-terrestrial Network (NTN), etc.
[0049] The technical solutions in the embodiments of the present invention will be described in detail below in conjunction with the accompanying drawings in the embodiments of the present invention.
[0050] Specifically, see Figure 2 In one embodiment of the invention, the method for rapid synchronization of magnetocardiograph data of the present invention comprises the following steps:
[0051] Step S202, obtaining a target data volume of a magnetocardiograph array and a number of magnetocardiograph signal channels, wherein the number of magnetocardiograph signal channels includes a basic channel and a reference channel;
[0052] Step S204, determining the number of acquisitions, and sequentially acquiring the magnetocardiographic data based on the number of acquisitions to obtain a maximum amplitude waveform corresponding to each acquired magnetocardiographic data;
[0053] Step S206, determining an R peak based on an average waveform of the maximum amplitude waveforms of the reference channels in adjacent acquisitions, and using the R peak as a reference peak of the current waveform for time translation synchronization;
[0054] Step S208, after time-shift synchronization, the waveforms of all reference channels in each collected magnetocardiographic data are deleted to obtain synchronized target channel data.
[0055] It should be noted that, in this embodiment, first, the acquisition times need to be determined according to the target data volume of the magnetocardiogram array and the number of signal channels of the magnetocardiogram, wherein the number of signal channels of the magnetocardiogram described in this embodiment also includes an additional reference channel compared to the basic channel. Further, after the acquisition times are determined, the magnetocardiogram data can be acquired in sequence based on the acquisition times, wherein the maximum amplitude waveform corresponding to each acquired magnetocardiogram data is obtained based on the signal selective averaging method in the magnetocardiogram signal noise suppression. Since an additional reference channel is added, it is necessary to determine the R peak as the reference peak of the translation based on the average waveform of the maximum amplitude waveform of the adjacent acquired reference channels, so as to use the R peak as the reference peak of the current waveform for time translation synchronization, and after time translation synchronization, delete the waveforms of all the reference channels in each acquired magnetocardiogram data to obtain synchronized target channel data. Among them, using the method disclosed in this embodiment, in actual application, there is no need to acquire additional scanning points and add electrocardiographs. It only needs to add a corresponding number of reference channels in the structure to achieve synchronization of magnetocardiogram data, with fast scanning speed and simple structure. For magnetocardiograms with other channel structures, the method can be deduced by analogy, so it has strong practicality.
[0056] Furthermore, in one embodiment of the invention, the step of obtaining the target data volume of the magnetocardiograph array and the number of magnetocardiograph signal channels specifically includes:
[0057] Acquire the target data volume corresponding to the set magnetocardiographic array data, wherein the target data volume includes 36;
[0058] The number of signal channels of the magnetocardiograph is obtained based on the basic channels of the current magnetocardiograph and the additionally set reference channels, wherein the basic channels include 12 channels and the reference channels include 2 channels.
[0059] It should be noted that, in this embodiment, Figure 3 As shown, the number of signal channels of the magnetocardiograph is displayed, which is specifically 14 channels, wherein the basic channels include 12 channels, corresponding to the serial numbers "1-12", and the reference channels include 2 channels, corresponding to the serial numbers "13-14". Specifically, the target data volume corresponding to the set magnetocardiograph array data is first obtained. In practical applications, the target data volume described in this embodiment includes 36, and the number of magnetocardiograph signal channels is obtained based on the basic channels of the current magnetocardiograph and the additionally set reference channels, which indicates that the magnetocardiograph used in this embodiment is a "12-channel magnetocardiograph" with 2 additional reference channels.
[0060] Further, in an embodiment of the invention, determining the number of acquisitions specifically includes:
[0061] The acquisition times are calculated based on the target data volume and the number of signal channels of the magnetocardiograph, wherein the acquisition times include at least 2 times;
[0062] The target data volume is used as the numerator and the number of channels of the magnetic cardiotoc signal is used as the denominator to perform calculation and round the calculation result to obtain the target value, and the target value is added by one to obtain the number of acquisition times.
[0063] It should be noted that, in this embodiment, due to the existence of time shift, it is necessary to acquire waveforms at least 2 times to determine the shift reference peak, therefore, the acquisition times include at least 2 times, wherein the acquisition times are calculated based on the target data volume and the number of channels of the magnetocardiograph signal. Specifically, the target data volume is used as the numerator, and the number of channels of the magnetocardiograph signal is used as the denominator to calculate and round the calculation result to obtain the target value, and the acquisition times are obtained by adding one to the target value, wherein, in the above embodiment, it is described that the target data volume includes 36, and the number of channels of the magnetocardiograph signal is 14, therefore, the acquisition times corresponding to the application scenario described in the above embodiment is 3 times, wherein the schematic diagram of the 3 acquisition times is as shown in Figure 4 shown.
[0064] Furthermore, in one embodiment of the invention, the magnetocardiographic data are sequentially acquired based on the acquisition times to obtain the maximum amplitude waveform corresponding to each acquired magnetocardiographic data, specifically including: sequentially acquiring the magnetocardiographic data based on the acquisition times to obtain the maximum amplitude waveform, and obtaining the average waveform of the maximum amplitude waveform of the reference channel acquired each time based on a preset method, wherein the preset method includes a signal selective averaging method in magnetocardiographic signal noise suppression.
[0065] It should be noted that, in this embodiment, the maximum amplitude waveform corresponding to the magnetocardiographic data is collected, wherein the average waveform of the maximum amplitude waveform of the reference channel is obtained by using the signal selective averaging method in magnetocardiographic signal noise suppression, wherein the magnetocardiographic data is collected three times in sequence, and each collection needs to obtain the average waveform of the maximum amplitude waveform of the reference channel corresponding to the current collection order.
[0066] Further, in one embodiment of the invention, the R peak is determined based on the average waveform of the maximum amplitude waveforms of the reference channels in adjacent acquisitions, specifically including:
[0067] Extracting an average waveform of the maximum amplitude waveform of the reference channel acquired in the preceding order in two adjacent acquisitions based on the acquisition times as a comparison waveform, wherein the adjacent acquisitions include at least the first acquisition and the second acquisition;
[0068] Waveform screening is performed based on the comparison waveform to obtain a waveform peak value to obtain the R peak, wherein the R peak is dynamically updated in sequence with the order of adjacent acquisitions.
[0069] It should be noted that, in this embodiment, Figure 5 As shown, a waveform diagram of three acquisitions is displayed, including the first acquisition, the second acquisition and the third acquisition, wherein the R peak is determined based on the maximum amplitude waveform of adjacent acquisitions, specifically, the average waveform of the maximum amplitude waveform of the reference channel of the preceding acquisition in the two adjacent acquisitions is extracted based on the acquisition number as the comparison waveform, wherein the adjacent acquisitions include at least the first acquisition and the second acquisition, and for this embodiment, since the acquisition number is three, the adjacent acquisitions include the first acquisition and the second acquisition, and the second acquisition and the third acquisition, waveform screening is performed based on the comparison waveform to obtain the waveform peak value to obtain the R peak, wherein the R peak is dynamically updated in sequence with the order of adjacent acquisitions, accordingly, the first acquisition and the second acquisition are the first adjacent acquisitions, and the corresponding R peak is the coordinate point ②, and the second acquisition and the third acquisition are the second adjacent acquisitions, and the corresponding R peak is the coordinate point ③, accordingly, the preceding acquisition of the first adjacent acquisition is the first acquisition, and the preceding acquisition of the second adjacent acquisition is the second acquisition.
[0070] Further, in one embodiment of the invention, the step of using the R peak as a reference peak of the current waveform for time-shift synchronization specifically includes:
[0071] The waveform translation reference peak of the order of the number of acquisitions is determined based on the order of adjacent acquisitions, wherein:
[0072] Extract the R peak corresponding to the first adjacent acquisition of the first acquisition and the second acquisition as the reference peak of the maximum amplitude waveform of the second acquisition for alignment and translation, and fill the incomplete data with zeros to complete synchronization;
[0073] The R peak corresponding to the second adjacent acquisition of the second acquisition and the third acquisition is extracted as the reference peak of the maximum amplitude waveform of the third acquisition for alignment and translation, and the incomplete data is filled with zeros to complete synchronization.
[0074] It should be noted that, in the present embodiment, the synchronization is specifically performed based on time for data synchronization, and the timing synchronization based on time needs to determine the reference peak and fill the incomplete data with zeros. Specifically, the R peak corresponding to the first adjacent acquisition between the first acquisition and the second acquisition is extracted as the reference peak of the maximum amplitude waveform of the second acquisition for alignment and translation, and the incomplete data is filled with zeros to complete the synchronization, that is, during the first translation, the alignment and translation are performed based on the coordinate point ② as the reference peak; the R peak corresponding to the second adjacent acquisition between the second acquisition and the third acquisition is extracted as the reference peak of the maximum amplitude waveform of the third acquisition for alignment and translation, and the incomplete data is filled with zeros to complete the synchronization, that is, during the second translation, the alignment and translation are performed based on the coordinate point ③ as the reference peak.
[0075] Furthermore, in one embodiment of the invention, after the time-shift synchronization, the waveforms of all the reference channels in each collected magnetocardiographic data are deleted to obtain synchronized target channel data, specifically including:
[0076] The total channel data is obtained based on the number of acquisitions and the number of magnetocardiograph signal channels;
[0077] Combining the acquisition times and the reference channel to obtain corresponding reference channel data;
[0078] The reference channel data is deleted from the total channel data to obtain the synchronized target channel data.
[0079] It should be noted that, in this embodiment, for the embodiment described in the aforementioned embodiment, the number of acquisitions is 3 times, and the number of magnetocardiograph signal channels is 14. Therefore, the total channel data is 42-channel data, and since the serial number "13-14" is an additional reference channel, the reference channel data is 6-channel data. The reference channel data is deleted from the total channel data to obtain the synchronized target channel data, that is, "42-6=36" to obtain 36-channel data consistent with the target data volume as the target channel data.
[0080] The embodiment of the present application also provides a magnetocardiograph data rapid synchronization system, which can implement the magnetocardiograph data rapid synchronization method described in the present application. However, the implementation device of the magnetocardiograph data rapid synchronization method described in the present application includes but is not limited to the structure of the magnetocardiograph data rapid synchronization system listed in the present embodiment. All structural deformations and replacements of the prior art made according to the principles of the present application are included in the protection scope of the present application.
[0081] See also Figure 6 In one embodiment, a magnetocardiograph data rapid synchronization system 60 is provided in this embodiment, and the system comprises:
[0082] An acquisition module 61 is used to acquire a target data volume of a magnetocardiograph array and a number of magnetocardiograph signal channels, wherein the number of magnetocardiograph signal channels includes a basic channel and a reference channel;
[0083] An acquisition module 62 is used to determine the acquisition times, and to sequentially acquire the magnetocardiographic data based on the acquisition times, so as to obtain the maximum amplitude waveform corresponding to the magnetocardiographic data acquired each time;
[0084] A translation module 63, used to determine the R peak based on the average waveform of the maximum amplitude waveform of the reference channel in adjacent acquisitions, and use the R peak as the reference peak of the current waveform for time translation synchronization;
[0085] The deletion module 64 is used to delete the waveforms of all the reference channels in each collected magnetocardiographic data after time-shift synchronization to obtain synchronized target channel data.
[0086] Since the specific implementation of this embodiment corresponds to the aforementioned method embodiment, the same details will not be repeated here, and those skilled in the art should also understand that Figure 6 The division of the modules in the embodiment is merely a division of logical functions, and in actual implementation, all or part of them can be integrated into one or more physical entities, and these modules can be implemented entirely in the form of software called by processing elements, or entirely in the form of hardware, or some modules can be implemented in the form of software called by processing elements, and some modules can be implemented in the form of hardware.
[0087] In the several embodiments provided by the present invention, it should be understood that the disclosed system, device or method can be implemented in other ways. For example, the device embodiments described above are only schematic, for example, the division of modules / units is only a logical function division, and there may be other division methods in actual implementation, such as multiple modules or units can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or modules or units, which can be electrical, mechanical or other forms.
[0088] The modules / units described as separate components may or may not be physically separated, and the components displayed as modules / units may or may not be physical modules, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules / units may be selected according to actual needs to achieve the purpose of the embodiments of the present invention. For example, the functional modules / units in the various embodiments of the present invention may be integrated into one processing module, or each module / unit may exist physically separately, or two or more modules / units may be integrated into one module / unit.
[0089] Those of ordinary skill in the art should further appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in terms of function in the above description. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.
[0090] The embodiment of the present invention also provides a computer-readable storage medium. A person of ordinary skill in the art can understand that all or part of the steps in the method for implementing the above embodiment can be completed by instructing the processor through a program, and the program can be stored in a computer-readable storage medium, and the storage medium is a non-transitory medium, such as a random access memory, a read-only memory, a flash memory, a hard disk, a solid-state hard disk, a magnetic tape, a floppy disk, an optical disc, and any combination thereof. The above storage medium can be any available medium that can be accessed by a computer or a data storage device such as a server or a data center that includes one or more available media integrated. The available medium can be a magnetic medium (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a digital video disc (DVD)), or a semiconductor medium (e.g., a solid-state disk (SSD)), etc.
[0091] An embodiment of the present invention further provides an electronic device, which includes a processor and a memory.
[0092] The memory is used to store computer programs.
[0093] The memory includes: ROM, RAM, disk, USB flash drive, memory card or CD and other media that can store program codes.
[0094] The processor is connected to the memory and is used to execute the computer program stored in the memory so that the electronic device executes the above-mentioned method for rapid synchronization of magnetocardiograph data.
[0095] Preferably, the processor can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components.
[0096] like Figure 7As shown, the electronic device of the present invention is in the form of a general computing device. The components of the electronic device may include but are not limited to: one or more processors or processing units 71, a memory 72, and a bus 73 connecting different system components (including the memory 72 and the processing unit 71).
[0097] Bus 73 represents one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, a processor or a local bus using any of a variety of bus architectures. By way of example, these architectures include, but are not limited to, an Industry Standard Architecture (ISA) bus, a Micro Channel Architecture (MAC) bus, an Enhanced ISA bus, a Video Electronics Standards Association (VESA) local bus, and a Peripheral Component Interconnect (PCI) bus.
[0098] Electronic devices typically include a variety of computer system readable media. These media can be any available media that can be accessed by the electronic device, including volatile and non-volatile media, removable and non-removable media.
[0099] The memory 72 may include computer system readable media in the form of volatile memory, such as random access memory (RAM) 721 and / or cache memory 722. The electronic device may further include other removable / non-removable, volatile / non-volatile computer system storage media. By way of example only, the storage system 723 may be used to read and write non-removable, non-volatile magnetic media ( Figure 7 not shown, usually called a "hard drive"). Although Figure 7 Not shown, a disk drive for reading and writing to a removable non-volatile disk (e.g., a "floppy disk"), and an optical disk drive for reading and writing to a removable non-volatile optical disk (e.g., a CD-ROM, a DVD-ROM, or other optical media) may be provided. In these cases, each drive may be connected to the bus 73 via one or more data medium interfaces. The memory 72 may include at least one program product having a set (e.g., at least one) of program modules that are configured to perform the functions of the various embodiments of the present invention.
[0100] A program / utility 724 having a set (at least one) of program modules 7241 may be stored, for example, in the memory 72, such program modules 7241 including but not limited to an operating system, one or more application programs, other program modules, and program data, each of which or some combination may include an implementation of a network environment. The program modules 7241 generally perform the functions and / or methods of the embodiments described herein.
[0101] The electronic device may also communicate with one or more external devices (e.g., keyboards, pointing devices, displays, etc.), one or more devices that enable a user to interact with the electronic device, and / or any device that enables the electronic device to communicate with one or more other computing devices (e.g., network cards, modems, etc.). Such communication may be performed via input / output (I / O) interface 74. Furthermore, the electronic device may also communicate with one or more networks (e.g., local area networks (LANs), wide area networks (WANs), and / or public networks, such as the Internet) via network adapter 75. Figure 7 As shown, the network adapter 75 communicates with other modules of the electronic device via the bus 73. It should be understood that, although not shown in the figure, other hardware and / or software modules can be used in conjunction with the electronic device, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems.
[0102] The above embodiments are merely illustrative of the principles and effects of the present invention, and are not intended to limit the present invention. Anyone familiar with the art may modify or alter the above embodiments without departing from the spirit and scope of the present invention. Therefore, all equivalent modifications or alterations made by a person of ordinary skill in the art without departing from the spirit and technical concept disclosed by the present invention shall still be covered by the claims of the present invention.
Claims
1. A method for rapid synchronization of magnetocardiograph data, characterized in that: include: Acquire a target data volume of a magnetocardiograph array and a number of magnetocardiograph signal channels, wherein the number of magnetocardiograph signal channels includes a basic channel and a reference channel; Determining the number of acquisitions, and sequentially acquiring the magnetocardiographic data based on the number of acquisitions to obtain a maximum amplitude waveform corresponding to the magnetocardiographic data acquired each time; Determine the R peak based on the average waveform of the maximum amplitude waveform of the reference channel in the adjacent acquisitions, and use the R peak as the reference peak of the current waveform for time translation synchronization; After time-shift synchronization, all waveforms of the reference channels in each acquired magnetocardiographic data are deleted to obtain synchronized target channel data.
2. The method for rapid synchronization of magnetocardiograph data according to claim 1, characterized in that: The step of obtaining the target data volume of the magnetocardiograph array and the number of magnetocardiograph signal channels specifically includes: Acquire the target data volume corresponding to the set magnetocardiographic array data, wherein the target data volume includes 36; The number of signal channels of the magnetocardiograph is obtained based on the basic channels of the current magnetocardiograph and the additionally set reference channels, wherein the basic channels include 12 channels and the reference channels include 2 channels.
3. The method for rapid synchronization of magnetocardiograph data according to claim 2, characterized in that: Determining the number of acquisition times specifically includes: The acquisition times are calculated based on the target data volume and the number of signal channels of the magnetocardiograph, wherein the acquisition times include at least 2 times; The target data volume is used as the numerator and the number of channels of the magnetic cardiotoc signal is used as the denominator to perform calculation and round the calculation result to obtain the target value, and the target value is added by one to obtain the number of acquisition times.
4. The method for rapid synchronization of magnetocardiograph data according to claim 3, characterized in that: The method of sequentially acquiring the magnetocardiographic data based on the acquisition times to obtain the maximum amplitude waveform corresponding to each acquired magnetocardiographic data specifically includes: sequentially acquiring the magnetocardiographic data based on the acquisition times to obtain the maximum amplitude waveform, and acquiring the average waveform of the maximum amplitude waveform of the reference channel acquired each time based on a preset method, wherein the preset method includes a signal selective averaging method in magnetocardiographic signal noise suppression.
5. The method for rapid synchronization of magnetocardiograph data according to claim 4, characterized in that: The step of determining the R peak based on the average waveform of the maximum amplitude waveforms of the reference channels in adjacent acquisitions specifically includes: Extracting an average waveform of the maximum amplitude waveform of the reference channel acquired in the previous order in two adjacent acquisitions based on the acquisition times as a comparison waveform, wherein the adjacent acquisitions include at least the first acquisition and the second acquisition; Waveform screening is performed based on the comparison waveform to obtain a waveform peak value to obtain the R peak, wherein the R peak is dynamically updated in sequence with the order of adjacent acquisitions.
6. The method for rapid synchronization of magnetocardiograph data according to claim 5, characterized in that: The step of using the R peak as a reference peak of the current waveform for time translation synchronization specifically includes: The waveform translation reference peak of the order of the number of acquisitions is determined based on the order of adjacent acquisitions, wherein: Extract the R peak corresponding to the first adjacent acquisition of the first acquisition and the second acquisition as the reference peak of the maximum amplitude waveform of the second acquisition for alignment and translation, and fill the incomplete data with zeros to complete synchronization; The R peak corresponding to the second adjacent acquisition of the second acquisition and the third acquisition is extracted as the reference peak of the maximum amplitude waveform of the third acquisition for alignment and translation, and the incomplete data is filled with zeros to complete synchronization.
7. The method for rapid synchronization of magnetocardiograph data according to claim 6, characterized in that: After the time-shift synchronization, the waveforms of all the reference channels in each collected magnetic cardiology data are deleted to obtain synchronized target channel data, specifically including: The total channel data is obtained based on the number of acquisitions and the number of magnetocardiograph signal channels; Combining the acquisition times and the reference channel to obtain corresponding reference channel data; The reference channel data is deleted from the total channel data to obtain the synchronized target channel data.
8. A magnetocardiograph data rapid synchronization system, characterized in that: include: An acquisition module, used for acquiring a target data volume of a magnetocardiograph array and a number of magnetocardiograph signal channels, wherein the number of magnetocardiograph signal channels includes a basic channel and a reference channel; An acquisition module, used to determine the acquisition times, and sequentially acquire the magnetocardiographic data based on the acquisition times, so as to obtain the maximum amplitude waveform corresponding to the magnetocardiographic data acquired each time; A translation module, used to determine an R peak based on an average waveform of the maximum amplitude waveforms of the reference channels in adjacent acquisitions, and to perform time translation synchronization using the R peak as a reference peak of the current waveform; The deletion module is used to delete the waveforms of all the reference channels in each collected magnetic cardiology data after time-shift synchronization to obtain synchronized target channel data.
9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the method for rapid synchronization of magnetocardiograph data as claimed in any one of claims 1 to 7 is implemented.
10. An electronic device, characterized in that: The electronic device comprises: a processor and a memory; wherein the memory is used to store a computer program, and the processor is used to execute the computer program stored in the memory, so that the electronic device executes the method for rapid synchronization of magnetocardiograph data as described in any one of claims 1 to 7.