Implementation method, device and equipment of magnetocardiogram vector ring and readable storage medium
By establishing a guide field matrix and positive problem model, the detection points and measurement points of the cardiac magnetic vector ring are determined, and the problem of large inverse analytical error of the existing technology center magnetic signal is solved, and the error reduction of cardiac detection and the intuitive presentation of electrocardiogram activities is realized, which is of great clinical value.
Patent Information
- Application Number
- CN202510411101.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-04-02
- Publication Date
- 2025-06-17
AI Technical Summary
The prior art is difficult to fully cover magnetic map information in the reverse analysis of magnetic cardiac signals, resulting in large errors in cardiac detection and cannot intuitively provide researchers with effective bands of electrocardiogram activities.
By determining the detection points and measurement points corresponding to the magnetic core vector ring, establishing a guiding field matrix and positive problem model, obtaining magnetic core data, determining the current value and current direction of each measurement point, and accumulating the current value to form a magnetic core vector ring.
This method can reduce the error of cardiac detection, cover all cardiac magnetic data, provide intuitive and effective band ECG activities, help researchers quickly understand and interpret ECG signals, and has important clinical value.
Smart Images

Figure CN120154341A_ABST
Abstract
Description
Technical Field
[0001] This application belongs to the technical field of cardiac detection, and relates to a method for implementing a magnetocardiogram vector loop, in particular to a method, device, equipment and readable storage medium for implementing a magnetocardiogram vector loop. Background Art
[0002] Magnetocardiogram (MCG), as a non-radiative, non-invasive detection technology with high spatial resolution, mainly reveals the electrophysiological state of the heart. Current research focuses on the inverse analysis of magnetocardiographic signals to accurately restore the activities of cardiac current sources, which is crucial for the detection of myocardial ischemia and bundle branch block.
[0003] In the prior art, the position and direction of the optimal current source are determined by performing a magnetocardiographic inverse problem algorithm on the dissection points through cardiac grid dissection. However, when simplifying magnetocardiographic signals into single or multiple current sources, this method is difficult to comprehensively cover magnetogram information, resulting in large errors. Therefore, how to reduce the errors in cardiac detection and provide researchers with effective electrocardiogram activities in effective bands has become a technical problem that urgently needs to be solved. Summary of the Invention
[0004] This application provides a method, device, equipment and readable storage medium for implementing a magnetocardiogram vector loop, which is used to solve the problems of large errors in cardiac detection and inability to intuitively provide researchers with effective electrocardiogram activities in the prior art.
[0005] In a first aspect, an embodiment of this application provides a method for implementing a magnetocardiogram vector loop, and the method includes: determining detection points and measurement points corresponding to the formation of the magnetocardiogram vector loop; establishing a lead field matrix based on the detection points and the measurement points; establishing a forward problem model based on the lead field matrix; obtaining magnetocardiographic data; determining the current value and current direction of each measurement point based on the magnetocardiographic data and the forward problem model; successively accumulating the current values in the same current direction on all the measurement points to obtain the total accumulated current value; making points at corresponding positions in the coordinate system for the total current value, and successively connecting the points on the coordinate system based on the point-making order to form the magnetocardiogram vector loop.
[0006] In a first implementation manner of the first aspect, the establishing a lead field matrix based on the detection points and the measurement points includes: selecting a measurement point, obtaining the magnetic field generated by the current of the measurement point at a single detection point based on the Biot-Savart law; determining the magnetic field component of the magnetic field corresponding to the single measurement point in a preset direction; and obtaining the lead field matrix corresponding to the measurement point based on the magnetic field component and M detection points corresponding to M magnetic signal sensors.
[0007] In one implementation of the first aspect, based on the guiding field matrix, a forward problem model is established, including: selecting N measurement points; and obtaining the forward problem model based on the guiding field matrix and the N measurement points.
[0008] In one implementation of the first aspect, determining the current value and current direction of each measurement point based on the magnetocardiogram data and the forward problem model includes: transforming the forward problem model into an expression of a current minimization problem based on the magnetocardiogram data; and obtaining the current value and the current direction of the measurement point by using least squares estimation based on the minimization problem expression.
[0009] In one implementation of the first aspect, after acquiring the magnetocardiogram data, the method further includes: performing a data preprocessing operation on the magnetocardiogram data.
[0010] In one implementation of the first aspect, the expression corresponding to the forward problem model is:
[0011]
[0012] where B z represents the magnetic field component of the magnetic field in the z direction, represents the magnetic field component of the first detection point in the z direction, represents the magnetic field component of the second detection point in the z direction, represents the magnetic field component of the Mth detection point in the z direction, T represents the transpose symbol, L N represents the matrix corresponding to N measurement points, and Q represents the current.
[0013] In one implementation of the first aspect, the magnetocardiogram vector loop includes at least one of a frontal plane magnetocardiogram vector loop, a coronal plane magnetocardiogram vector loop, and a sagittal plane magnetocardiogram vector loop.
[0014] An embodiment of the present application provides a method for implementing a magnetocardiogram vector loop. In this method, a lead field matrix is established through the detection points and measurement points corresponding to the magnetocardiogram vector loop. Based on the lead field matrix, a forward problem model is established. Based on the magnetocardiogram data and the forward problem model, the current value and current direction of each measurement point are determined; the current values in the same current direction on all the measurement points are sequentially accumulated to obtain the total accumulated current value; the total current value is plotted at the corresponding position in the coordinate system, and based on the plotting order, the points on the coordinate system are sequentially connected to form the magnetocardiogram vector loop. This method can cover all magnetocardiogram data, reduce the error of heart detection, avoid the occurrence of large heart detection errors due to insufficient magnetocardiogram data, and can accurately obtain the detection result. Further, by accumulating the current values in the same current direction on all the measurement points to obtain the total accumulated current value and plotting the total current value at the corresponding position in the coordinate system to obtain the magnetocardiogram vector loop, it can intuitively provide the electrocardiac activity in the effective band for researchers, enabling researchers to quickly understand and interpret electrocardiac signals. The graphical electrocardiac activity provides a more intuitive, accurate, and convenient information processing method for researchers, and has important clinical value for the diagnosis, treatment, and research of heart diseases.
[0015] In a second aspect, an embodiment of the present application provides an apparatus for implementing a magnetocardiogram vector loop. The apparatus for implementing a magnetocardiogram vector loop includes: a detection point and measurement point determination module, configured to determine the detection points and measurement points corresponding to form the magnetocardiogram vector loop; a lead field matrix establishment module, configured to establish a lead field matrix based on the detection points and the measurement points; a forward problem model establishment module, configured to establish a forward problem model based on the lead field matrix; a magnetocardiogram data acquisition module, configured to acquire magnetocardiogram data; a current value and current direction determination module, configured to determine the current value and current direction of each measurement point based on the magnetocardiogram data and the forward problem model; a total current value determination module, configured to sequentially accumulate the current values in the same current direction on all the measurement points to obtain the total accumulated current value; a magnetocardiogram vector loop formation module, configured to plot the total current value at the corresponding position in the coordinate system, and based on the plotting order, sequentially connect the points on the coordinate system to form the magnetocardiogram vector loop.
[0016] In a third aspect, an embodiment of the present application provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, it implements the method for implementing a magnetocardiogram vector loop according to any one of the first aspects of the embodiments of the present application.
[0017] Fourthly, an embodiment of the present application provides an electronic device, which includes a memory and a processor; the memory is used to store a computer program; the processor is used to execute the computer program and implement the method for realizing the magnetocardiogram vector loop as described in any one of the first aspects of the embodiments of the present application when executing the computer program. Description of the Drawings
[0018] Figure 1A It shows a schematic diagram of an application scenario corresponding to the method for realizing the magnetocardiogram vector loop provided by an embodiment of the present application.
[0019] Figure 1B It shows a flowchart of the method for realizing the magnetocardiogram vector loop provided by an embodiment of the present application.
[0020] Figure 2 It shows a flowchart of establishing a guiding field matrix in an embodiment of the present application.
[0021] Figure 3 It shows a schematic diagram of the magnetocardiogram vector loop provided by an embodiment of the present application.
[0022] Figure 4 It shows a flowchart of determining the current value and current direction of each measurement point provided by an embodiment of the present application.
[0023] Figure 5A It shows the electrocardiogram vector loop corresponding to Subject 1 provided by an embodiment of the present application.
[0024] Figure 5B It shows the magnetocardiogram vector loop corresponding to Subject 1 provided by an embodiment of the present application.
[0025] Figure 6A It shows the electrocardiogram vector loop corresponding to Subject 2 provided by an embodiment of the present application.
[0026] Figure 6B It shows the magnetocardiogram vector loop corresponding to Subject 2 provided by an embodiment of the present application.
[0027] Figure 7A It shows the magnetocardiogram corresponding to Patient 1 with left bundle branch block provided by an embodiment of the present application.
[0028] Figure 7B It shows the magnetocardiogram corresponding to Patient 2 with left bundle branch block provided by an embodiment of the present application.
[0029] Figure 8 It shows a schematic diagram of the device for realizing the magnetocardiogram vector loop in an embodiment of the present application.
[0030] Figure 9 It shows a schematic diagram of the structure of the electronic device in an embodiment of the present application.
[0031] Description of Component Labels
[0032] Steps S11 - S17
[0033] Steps S21 - S23
[0034] Steps S41 - S42
[0035] Implementation Device of 80 - Channel Magnetocardiogram Vector Loop
[0036] 81 Detection Point and Measurement Point Determination Module
[0037] 82 Guiding Field Matrix Establishment Module
[0038] 83 Forward Problem Model Establishment Module
[0039] 84 Magnetocardiogram Data Acquisition Module
[0040] 85 Current Value and Current Direction Determination Module
[0041] Block
[0042] 86 Total Current Value Determination Module
[0043] 87 Magnetocardiogram Vector Loop Formation Module
[0044] 90 Electronic Device
[0045] 91 Processor
[0046] 92 Non - Volatile Storage Medium
[0047] 93 System Bus
[0048] 94 Internal Memory
[0049] 95 Network Interface Specific Embodiment
[0050] The following describes the embodiments of the present application through specific examples. Those skilled in the art can easily understand other advantages and effects of the present application from the content disclosed in this specification. The present application can also be implemented or applied through other different specific embodiments. Various details in this specification can also be modified or changed based on different viewpoints and applications without departing from the spirit of the present application. It should be noted that, without conflict, the following embodiments and the features in the embodiments can be combined with each other.
[0051] It should be noted that the diagrams provided in the following embodiments only illustrate the basic concept of the present application in a schematic manner. Therefore, only the components related to the present application are shown in the diagrams, rather than being drawn according to the number, shape, and size of the components in actual implementation. The form, quantity, and proportion of each component in actual implementation can be arbitrarily changed, and the component layout pattern may also be more complex.
[0052] In the prior art during the process of magnetocardiogram detection, there are large errors and it is impossible to provide researchers with intuitive and effective electrocardiogram activities in a certain frequency band.
[0053] At least for the above problems, the embodiments of the present application provide a method for realizing a magnetocardiogram vector loop. The method for realizing the magnetocardiogram vector loop can determine the detection points and measurement points corresponding to forming the magnetocardiogram vector loop; based on the detection points and the measurement points, establish a lead field matrix; based on the lead field matrix, establish a forward problem model; obtain magnetocardiogram data; based on the magnetocardiogram data and the forward problem model, determine the current value and current direction of each measurement point; successively accumulate the current values in the same current direction on all the measurement points to obtain the total accumulated current value; plot points at the corresponding positions of the total current value in the coordinate system, and successively connect the points on the coordinate system based on the plotting order to form the magnetocardiogram vector loop; and can solve the technical problems in the prior art during the process of magnetocardiogram detection, such as large errors and the inability to provide researchers with intuitive and effective electrocardiogram activities in a certain frequency band.
[0054] Figure 1A Shown is a schematic diagram of an application scenario corresponding to the method for realizing a magnetocardiogram vector loop provided by an embodiment of the present application. As Figure 1A shown, this application scenario includes: an electronic device, a magnetocardiogram data acquisition device, and a test object to be tested. Among them, both ends of the magnetocardiogram data acquisition device are respectively connected to the electronic device and the test object to be tested. The magnetocardiogram data acquisition device is used to acquire the magnetocardiogram data of the test object to be tested and send the magnetocardiogram data to the electronic device, and perform data processing on the magnetocardiogram data in the electronic device, and finally obtain a magnetocardiogram vector loop for relevant technical personnel to view intuitively.
[0055] Next, the technical solutions in the embodiments of the present application will be described in detail with reference to the accompanying drawings in the embodiments of the present application.
[0056] Figure 1B Shown is a flowchart of the method for realizing a magnetocardiogram vector loop provided by an embodiment of the present application. As Figure 1B shown, the method for realizing a magnetocardiogram vector loop provided by the embodiment of the present application includes the following steps S11 to S17.
[0057] S11, determine the detection points and measurement points corresponding to forming the magnetocardiogram vector loop.
[0058] In some embodiments, the cardiac magnetic vector loop includes at least one of a frontal plane cardiac magnetic vector loop, a coronal plane cardiac magnetic vector loop, and a sagittal plane cardiac magnetic vector loop.
[0059] Specifically, before determining the detection points and measurement points, the position of the heart in the chest cavity is determined based on medical imaging technology, which is usually used to determine.
[0060] Exemplarily, medical imaging technologies include X-ray, CT, or Magnetic Resonance Imaging (MRI), etc.
[0061] It should be noted that the medical imaging technologies listed in the above examples are only used for illustrative purposes. In actual applications, any other suitable technology can be selected according to specific application requirements, and this application will not elaborate further.
[0062] Specifically, according to the specific position of the heart, a plurality of detection points are arranged around the chest. Among them, the plurality of detections are located around the plane of the heart to ensure that magnetic field changes in all directions of the heart can be captured.
[0063] Exemplarily, the measurement points can form a ring surrounding the heart to capture the distribution of the heart magnetic field in three-dimensional space.
[0064] It should be noted that the distance between the measurement points and the heart surface needs to be close enough to capture a strong enough magnetic field signal, but the distance between the measurement points and the heart surface cannot be too close to avoid being affected by heart movement and thoracic respiratory movement. The specific distance value between the measurement points and the heart surface can be reasonably determined according to specific circumstances, and this application will not elaborate further.
[0065] S12. Based on the detection points and the measurement points, establish a lead field matrix.
[0066] Exemplarily, the magnetic field generated by the current at the measurement points at the detection points can be obtained based on the Biot-Savart law, and the lead field matrix can be obtained based on the magnetic field and the plurality of detection points corresponding to a plurality of magnetic signal sensors.
[0067] It should be noted that the method of obtaining the magnetic field generated by the current at the measurement points at the detection points based on the Biot-Savart law listed in the above examples is only used for illustrative purposes. In actual applications, any other suitable method or law can be selected according to specific application requirements to obtain the magnetic field generated by the current at the measurement points at the detection points, and this application will not elaborate further.
[0068] S13. Based on the lead field matrix, establish a forward problem model.
[0069] In some embodiments, establishing a forward problem model based on the guiding field matrix includes: selecting N measurement points; and obtaining the forward problem model based on the guiding field matrix and the N measurement points.
[0070] Specifically, the expression corresponding to the forward problem model is:
[0071]
[0072] where B z represents the magnetic field component of the magnetic field in the z direction, represents the magnetic field component of the first detection point in the z direction, represents the magnetic field component of the second detection point in the z direction, represents the magnetic field component of the Mth detection point in the z direction, T represents the transpose symbol, and L N represents the matrix corresponding to N measurement points, and Q represents the current.
[0073] S14, acquiring magnetocardiogram data.
[0074] Specifically, magnetocardiogram data refers to the magnetic field data generated by the electrical activity of the heart measured through magnetocardiogram technology.
[0075] Exemplarily, magnetocardiogram data can be obtained based on technologies such as magnetocardiogram technology, bioelectromagnetic simulation, magnetocardiogram source imaging, cardiac magnetic resonance imaging, etc. Among them, magnetocardiogram technology includes superconducting quantum interference device technology, which can detect the weak magnetic field generated by the heart in an unshielded environment; and optically pumped magnetometers, etc.
[0076] It should be noted that the above-listed technologies or methods for acquiring magnetocardiogram data are only used for illustrative purposes, and in actual applications, other any suitable technologies can also be selected according to specific application scenarios, and this application does not make any restrictions in this regard.
[0077] In some embodiments, after acquiring the magnetocardiogram data, the method further includes: performing data preprocessing operations on the magnetocardiogram data.
[0078] Exemplarily, data preprocessing operations include: removing noise, outlier detection and replacement, signal correction, signal segmentation, data normalization, data augmentation, data dimensionality reduction, etc.
[0079] It should be noted that the above-listed data preprocessing methods are only used for illustrative purposes, and in actual applications, other suitable data preprocessing can also be performed on the data, and this application does not make any restrictions in this regard.
[0080] S15, determining the current value and current direction of each of the measurement points based on the magnetocardiogram data and the forward problem model.
[0081] Exemplarily, the current direction includes the x-axis direction and the y-axis direction.
[0082] It should be noted that the above-listed current directions including the x-axis direction and the y-axis direction are only for exemplary illustration. In actual applications, any other suitable current direction can be determined according to specific application requirements, and the present application does not limit this.
[0083] S16. Accumulate the current values in the same current direction at all the measurement points in sequence to obtain the total accumulated current value.
[0084] Specifically, based on the current values of all the measurement points corresponding to each detection point, accumulate the current values in the same current direction at all the measurement points in sequence to obtain the total accumulated current value.
[0085] Exemplarily, based on all the detection points A, B,..., X, the current values of the corresponding measurement points 1, 2,..., n are jointly obtained. For example, for the magnetic fields obtained from all the detection points A, B,..., X, the current value of measurement point 1 is (2, 4), the current value of measurement point 2 is (3, 5),..., and the current value of measurement point n is (8, 1); accumulate the current values in the same current direction at all the measurement points in sequence to obtain the total accumulated current value.
[0086] It should be noted that the current value (2, 4) of measurement point 1 indicates that the current value in the x-axis direction of measurement point 1 is 2, and the current value in the y-axis direction of measurement point 1 is 4; the same applies to other measurement points 2,..., measurement point n, and the present application will not elaborate further on this.
[0087] S17. Mark points at the corresponding positions of the current total value in the coordinate system, and connect the points on the coordinate system in sequence based on the marking order to form the magnetocardiogram vector loop.
[0088] An embodiment of the present application provides a method for realizing a magnetocardiogram vector loop. The method includes: determining detection points and measurement points corresponding to the formation of the magnetocardiogram vector loop; establishing a guiding field matrix based on the detection points and the measurement points; establishing a forward problem model based on the guiding field matrix; obtaining magnetocardiogram data; determining the current value and current direction of each measurement point based on the magnetocardiogram data and the forward problem model; successively accumulating the current values in the same current direction on all the measurement points to obtain the total accumulated current value; making points at the corresponding positions in the coordinate system for the total current value, and successively connecting the points on the coordinate system based on the point-making order to form the magnetocardiogram vector loop; by covering all the magnetocardiogram data, the error of heart detection is reduced, and the occurrence of large heart detection errors due to insufficient magnetocardiogram data is avoided; further, by successively accumulating the current values in the same current direction on all the measurement points to obtain the total accumulated current value, and making points at the corresponding positions in the coordinate system for the total current value to obtain the magnetocardiogram vector loop, the electrocardiac activity in the effective band can be intuitively provided to researchers, enabling researchers to quickly understand and interpret electrocardiac signals. The graphical electrocardiac activity provides a more intuitive, accurate, and convenient information processing method for researchers, and has important clinical value for the diagnosis, treatment, and research of heart diseases.
[0089] Figure 2 It shows a flowchart of establishing a guiding field matrix in an embodiment of the present application. As Figure 2 shown, the process of establishing a guiding field matrix in an embodiment of the present application includes the following steps S21 to S23.
[0090] S21, select a measurement point, and obtain the magnetic field generated by the current at the measurement point at a single detection point based on the Biot-Savart law.
[0091] Exemplarily, select a measurement point Based on the Biot-Savart law, obtain the current at the measurement point at a single detection point The corresponding expression for the generated magnetic field is:
[0092]
[0093] where μ0 represents the magnetic permeability, r x 、r y 、r z respectively represent the x, y, and z components of the detection point , p x 、p y 、p z respectively represent the x, y, and z components of the measurement point , Qx , Q y , Q z respectively represent the x, y, and z components of the current .
[0094] S22, in a preset direction, determine the magnetic field components of the magnetic field corresponding to a single said measurement point.
[0095] Specifically, the preset directions include the x direction, the y direction, and the z direction. In the x direction, the x-direction magnetic field component of the magnetic field corresponding to a single said measurement point can be obtained; in the y direction, the y-direction magnetic field component of the magnetic field corresponding to a single said measurement point can be obtained; in the z direction, the z-direction magnetic field component of the magnetic field corresponding to a single said measurement point can be obtained.
[0096] According to the expression corresponding to the magnetic field , the z-direction component of the magnetic field can be calculated, and the corresponding expression is as follows:
[0097]
[0098] Based on the expression corresponding to the z-direction component of the magnetic field, the frontal plane cardiac magnetic vector loop can be obtained.
[0099] Specifically, reference can be made to Figure 3 , Figure 3 which is shown as a schematic diagram of the cardiac magnetic vector loop provided by an embodiment of the present application.
[0100] Specifically, Figure 3 the cardiac magnetic vector loop in represents the frontal plane cardiac magnetic vector loop based on the z-component of the magnetic field.
[0101] Similarly, according to the expression corresponding to the magnetic field , the x-direction component of the magnetic field can be calculated, and the corresponding expression is as follows:
[0102]
[0103] Based on the expression corresponding to the x-direction component of the magnetic field, the sagittal plane cardiac magnetic vector loop can be obtained.
[0104] Similarly, according to the expression corresponding to the magnetic field , the y-direction component of the magnetic field can be calculated, and the corresponding expression is as follows:
[0105]
[0106] Based on the expression corresponding to the y-direction component of the magnetic field, the coronal plane cardiac magnetic vector loop can be obtained.
[0107] It should be noted that the x direction, the y direction, and the z direction are determined according to a specific coordinate system, and the present application does not limit this.
[0108] Exemplarily, if the x-direction component, y-direction component, and z-direction component of the magnetic field are all calculated, three cardiac magnetic vector loops of the heart can be obtained, namely, the frontal plane, coronal plane, and sagittal plane cardiac magnetic vector loops.
[0109] It should be noted that in actual applications, any one of the x-direction component, y-direction component, and z-direction component of the magnetic field can be calculated according to specific requirements, or all the magnetic field components can be calculated. This application does not limit this.
[0110] S23. Based on the magnetic field components and the M detection points corresponding to the M magnetic signal sensors, obtain the lead field matrix corresponding to the measurement point.
[0111] Specifically, a cardiac magnetic device has M magnetic signal sensors, that is, M detection points. Therefore, there is the following matrix form:
[0112]
[0113] Among them, matrix L is the lead field matrix of the measurement point of.
[0114] The embodiment of the present application provides a method for establishing a lead field matrix. In this method, by selecting a measurement point, the magnetic field generated by the current at the measurement point at a single detection point is obtained based on the Biot-Savart law; in a preset direction, the magnetic field components of the magnetic field corresponding to the single measurement point are determined; based on the magnetic field components and the M detection points corresponding to the M magnetic signal sensors, the lead field matrix corresponding to the measurement point is obtained. The lead field matrix is gradually derived based on the formula, improving the accuracy of the lead field matrix and providing an accurate data basis for obtaining the cardiac magnetic vector loop subsequently; this method can obtain different magnetic field components based on the actual needs of users, can meet the needs of different users, improve the scope of application, and improve the user experience.
[0115] Figure 4 It shows a flowchart for determining the current value and current direction of each measurement point provided by an embodiment of the present application. As shown in the figure, the process of determining the current value and current direction of each measurement point in the embodiment of the present application includes the following steps S41 to S42.
[0116] S41. Based on the cardiac magnetic data, transform the forward problem model into an expression of the minimization problem of the current.
[0117] Specifically, the expression of the minimization problem is: min||B z -L N Q|| 2
[0118] S42. Based on the expression of the minimization problem, the current value and the current direction of the measurement point are obtained by using the least square estimation.
[0119] Specifically, the expressions corresponding to the current value and the current direction of the measurement point are as follows:
[0120]
[0121] In a method for determining the current value and the current direction of each measurement point provided in an embodiment of the present application, the forward problem model is transformed into an expression of a minimization problem of current by using magnetocardiogram data; based on the expression of the minimization problem, the current value and the current direction of the measurement point are obtained by using the least square estimation. The current value and the current direction of the measurement point are obtained based on two formulas, namely the expression of the minimization problem and the least square estimation, which improves the accuracy of determining the current value and the current direction of the measurement point.
[0122] To verify the effectiveness of the magnetocardiogram vector loop, the present application also conducts a verification test, that is, two subjects are selected, the electrocardiogram signals of the subjects at the QRS moment are measured and the electrocardiogram signals are converted into QRS electrocardiogram vector loops. At the same time, the magnetocardiogram data of the two subjects are obtained, the QRS band is extracted and converted into a magnetocardiogram vector loop according to the present application. For details, please refer to Figure 5A and Figure 5B 、 Figure 6A and Figure 6B .
[0123] Among them, Figure 5A shows the electrocardiogram vector loop corresponding to Subject 1 provided in an embodiment of the present application, Figure 5B shows the magnetocardiogram vector loop corresponding to Subject 1 provided in an embodiment of the present application; Figure 6A shows the electrocardiogram vector loop corresponding to Subject 2 provided in an embodiment of the present application, Figure 6B shows the magnetocardiogram vector loop corresponding to Subject 2 provided in an embodiment of the present application.
[0124] From Figure 5A and Figure 5B 、 Figure 6A and Figure 6B by comparison, it can be seen that the electrocardiogram vector loop and the magnetocardiogram vector loop are generally similar in shape, and at the three important moments of Q, R, and S, the current directions given by the magnetocardiogram vector loop and the electrocardiogram vector loop are basically the same.
[0125] Please refer to Figure 7A and Figure 7B , Figure 7A shows the magnetocardiogram vector map corresponding to Patient 1 with left bundle branch block provided in an embodiment of the present application. Figure 7BShown is the magnetocardiogram corresponding to Patient 2 with left bundle branch block provided in an embodiment of the present application. From Figure 7A and Figure 7B it can be seen that the area enclosed above the coordinate axis is much larger than that below, which is consistent with the case results of using the electrocardiogram vector loop to assist in the diagnosis of left bundle branch block.
[0126] Based on the above cases, the present application is effective and can intuitively provide researchers with the electrocardiogram conditions corresponding to the magnetocardiogram during the QRS period, so as to better conduct research and assist in diagnosis.
[0127] The protection scope of the method for implementing the magnetocardiogram vector loop in the embodiment of the present application is not limited to the execution order of the steps listed in this embodiment. Any solution achieved by adding or subtracting steps of the prior art and replacing steps according to the principle of the present application is included in the protection scope of the present application.
[0128] The embodiment of the present application also provides a device for implementing a magnetocardiogram vector loop. The device for implementing a magnetocardiogram vector loop can implement the method for implementing a magnetocardiogram vector loop of the present application. However, the device for implementing the method for implementing a magnetocardiogram vector loop of the present application includes but is not limited to the structure of the device for implementing a magnetocardiogram vector loop listed in this embodiment. Any structural deformation and replacement of the prior art made according to the principle of the present application are included in the protection scope of the present application.
[0129] As Figure 8 shown, in one embodiment, the device 80 for implementing a magnetocardiogram vector loop of the present application includes a detection point and measurement point determination module 81, a guiding field matrix establishment module 82, a forward problem model establishment module 83, a magnetocardiogram data acquisition module 84, a current value and current direction determination module 85, a total current value determination module 86, and a magnetocardiogram vector loop formation module 87. The detection point and measurement point determination module 81 is used to determine the detection points and measurement points corresponding to forming the magnetocardiogram vector loop. The guiding field matrix establishment module 82 is used to establish a guiding field matrix based on the detection points and the measurement points. The forward problem model establishment module 83 is used to establish a forward problem model based on the guiding field matrix. The magnetocardiogram data acquisition module 84 is used to acquire magnetocardiogram data. The current value and current direction determination module 85 is used to determine the current value and current direction of each measurement point based on the magnetocardiogram data and the forward problem model. The total current value determination module 86 is used to sequentially accumulate the current values in the same current direction on all the measurement points to obtain the total accumulated current value. The magnetocardiogram vector loop formation module 87 is used to plot points of the total current value at corresponding positions in the coordinate system, and sequentially connect the points on the coordinate system based on the plotting order to form the magnetocardiogram vector loop.
[0130] Among them, the structures and principles of the detection point and measurement point determination module 81, the guiding field matrix establishment module 82, the forward problem model establishment module 83, the magnetocardiogram data acquisition module 84, the current value and current direction determination module 85, the total current value determination module 86, and the magnetocardiogram vector loop formation module 87 correspond one by one to the steps in the above magnetocardiogram vector loop implementation method, so they will not be elaborated here.
[0131] In several embodiments provided in the present application, it should be understood that the disclosed device or method can be implemented in other ways. For example, the device embodiments described above are only illustrative. For example, the division of modules / units is only a logical function division. In actual implementation, there may be other division methods. For example, 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 displayed or discussed mutual coupling or direct coupling or communication connection can be through some interfaces. The indirect coupling or communication connection of devices or modules or units can be in electrical, mechanical or other forms.
[0132] The modules / units described as separate components may or may not be physically separated. The components shown as modules / units may or may not be physical modules, that is, they can be located in one place or distributed to multiple network units. Some or all of the modules / units can be selected according to actual needs to achieve the purpose of the embodiments of the present application. For example, in each embodiment of the present application, the various functional modules / units can be integrated in a processing module, or each module / unit can exist physically alone, or two or more modules / units can be integrated in one module / unit.
[0133] Those of ordinary skill in the art should also further realize that the units and steps of each example described in combination with the embodiments disclosed herein can be implemented by electronic hardware, computer software, or a combination of the two. To clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described according to functions in the above description. Whether these functions are executed in a hardware or software manner depends on the specific application and design constraints of the technical solution. Professional technicians can use different methods to implement the described functions for each specific application, but such implementation should not be considered to exceed the scope of the present application.
[0134] The embodiments of the present application also provide a computer-readable storage medium. Those of ordinary skill in the art can understand that all or part of the steps in the methods of the above embodiments can be completed by instructing a processor through a program, and the program can be stored in a computer-readable storage medium. The storage medium is a non-transitory medium, such as random access memory, read-only memory, flash memory, hard disk, solid state drive, magnetic tape, floppy disk, 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 integrating one or more available media. The available medium can be a magnetic medium (such as a floppy disk, a hard disk, or a magnetic tape), an optical medium (such as a digital video disc (DVD)), or a semiconductor medium (such as a solid state disk (SSD)), etc.
[0135] The embodiments of the present application also provide an electronic device. Figure 9 Shown is a schematic structural diagram of an electronic device 90 in an embodiment of the present application. The method for implementing the magnetocardiogram vector loop provided by the embodiments of the present application can be applied to Figure 9 the electronic device 90 shown, but not limited thereto. As Figure 9 shown, the electronic device 90 includes a processor 91, a memory, a system bus 93, and a network interface 95. Among them, the memory may include a non-volatile storage medium 92 and an internal memory 94.
[0136] The non-volatile storage medium 92 can store an operating system and a computer program. The computer program includes program instructions, and when the program instructions are executed, the processor can be made to execute any method for implementing the magnetocardiogram vector loop provided by the embodiments of the present application.
[0137] The processor is used to provide computing and control capabilities to support the operation of the entire computer device.
[0138] The internal memory 94 provides an environment for the operation of the computer program in the non-volatile storage medium. When the computer program is executed by the processor, the processor can be made to execute any method for implementing the magnetocardiogram vector loop provided by the embodiments of the present application.
[0139] The network interface 95 is used for network communication, such as sending assigned tasks, etc. Those skilled in the art can understand that Figure 1AThe structure shown is only a block diagram of some structures related to the solution of this application, and does not constitute a limitation on the computer device to which the solution of this application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine some components, or have a different component layout.
[0140] It should be understood that the processor 91 may be a central processing unit (CPU), and this processor may also be other general-purpose processors, digital signal processors (DSPs), application specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. Among them, the general-purpose processor may be a microprocessor or this processor may also be any conventional processor, etc.
[0141] The electronic device 90 in the embodiments of this application may include terminal devices such as tablet computers, laptop computers, mobile phones, supercomputers, smart wearable devices, etc., and may also be applied to databases, servers, and service response systems based on terminal artificial intelligence. The embodiments of this application do not impose any restrictions on the specific type of the electronic device.
[0142] For example, the electronic device may be a station (STAION, ST) in a WLAN, may be a cellular phone, cordless phone, session initiation protocol (SIP) phone, wireless local loop (WLL) station, a handheld device with wireless communication function, a computing device, or other processing devices connected to a wireless modem, 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. For example, 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.
[0143] By way of example and not limitation, when the electronic device is a wearable device, the wearable device can also be a general term for devices developed by applying wearable technologies to the intelligent design of daily wear, such as gloves, watches, etc. equipped with near-field communication modules. A wearable device is a portable device that is directly worn on the body or integrated into the user's clothes or accessories. By attaching to the user and using a pre-bound electronic card, operations such as payment and authentication can be performed. A wearable device is not just a hardware device, but also realizes powerful functions through software support, data interaction, and cloud interaction. Broadly speaking, wearable intelligent devices include those with complete functions and large sizes that can achieve complete or partial functions without relying on a smartphone, such as smart watches or smart glasses, as well as those that only focus on a certain type of application function and need to cooperate with other devices such as smartphones, such as various smart watches and smart bracelets with displays.
[0144] The descriptions of the processes or structures corresponding to the above-mentioned various drawings each have their own emphases. For parts not detailed in a certain process or structure, reference can be made to the relevant descriptions of other processes or structures.
[0145] The above embodiments are only illustrative of the principles and effects of the present application and are not intended to limit the present application. Any person familiar with this technology can modify or change the above embodiments without departing from the spirit and scope of the present application. Therefore, all equivalent modifications or changes made by those with ordinary knowledge in the technical field without departing from the spirit and technical ideas disclosed by the present application should still be covered by the claims of the present application.
Claims
1. A method for realizing a centroidal magnetic vector loop, characterized in that: The method comprises: Determine the detection points and measurement points corresponding to the centroidal magnetic vector loop; Based on the detection points and the measurement points, establishing a guidance field matrix; Based on the guiding field matrix, a forward problem model is established; Obtaining magnetic cardiotonic data; Determine the current value and current direction of each of the measurement points based on the magnetocardiographic data and the forward problem model; The current values in the same current direction at all the measuring points are sequentially accumulated to obtain an accumulated total current value; Points are drawn at corresponding positions of the total current value in the coordinate system, and the points on the coordinate system are connected in sequence based on the order of drawing points to form the centroidal magnetic vector ring.
2. The method for realizing the centroidal magnetic vector loop according to claim 1, characterized in that: The step of establishing a guidance field matrix based on the detection points and the measurement points comprises: Select a measurement point, and obtain the magnetic field generated by the current at the measurement point at a single detection point based on the Biot-Saffar law; Determining the magnetic field component of the magnetic field corresponding to a single measurement point in a preset direction; Based on the magnetic field components and the M detection points corresponding to the M magnetic signal sensors, the guidance field matrix corresponding to the measurement points is obtained.
3. The method for realizing the centroidal magneto-vector loop according to claim 1, characterized in that: The step of establishing a forward problem model based on the guiding field matrix comprises: Select N measurement points; The forward problem model is obtained based on the guidance field matrix and the N measurement points.
4. The method for realizing the centroidal magneto-vector loop according to claim 1, characterized in that: The determining of the current value and current direction of each measuring point based on the magnetocardiographic data and the forward problem model includes: Based on the magnetocardiographic data, converting the forward problem model into an expression of a current minimization problem; Based on the minimization problem expression, the least squares estimation is used to obtain the current value and the current direction of the measurement point.
5. The method for realizing the centroidal magneto-vector loop according to claim 1, characterized in that: After acquiring the magnetocardiographic data, the method further includes: performing a data preprocessing operation on the magnetocardiographic data.
6. The method for realizing the centroidal magneto-vector loop according to claim 3, characterized in that: The expression corresponding to the positive problem model is: Among them, B z represents the magnetic field component in the z direction, Represents the magnetic field component of the first detection point in the z direction, Represents the magnetic field component of the second detection point in the z direction, represents the magnetic field component of the Mth detection point in the z direction, T represents the transposed sign, L N represents the matrix corresponding to N measurement points, and Q represents the current.
7. The method for realizing the centroidal magneto-vector loop according to claim 1, characterized in that: The centrifugal vector ring includes at least one of a frontal centrifugal vector ring, a coronal centrifugal vector ring and a sphenoidal centrifugal vector ring.
8. A device for realizing a centroidal magnetic vector loop, characterized in that: The device comprises: A detection point and measurement point determination module, used to determine the detection points and measurement points corresponding to the centroidal magnetic vector loop; A guidance field matrix establishing module, used for establishing a guidance field matrix based on the detection points and the measurement points; A positive problem model building module, used to build a positive problem model based on the guiding field matrix; A magnetocardiogram data acquisition module, used for acquiring magnetocardiogram data; A current value and current direction determination module, used to determine the current value and current direction of each of the measurement points based on the magnetocardiographic data and the forward problem model; A current total value determination module, used for sequentially accumulating the current values in the same current direction at all the measuring points to obtain an accumulated current total value; The centroidal magneto vector ring forming module is used to make points on the corresponding positions of the total current value on the coordinate system, and connect the points on the coordinate system in sequence based on the order of making points to form the centroidal magneto vector ring.
9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the method according to any one of claims 1 to 7 is implemented.
10. An electronic device, characterized in that: The electronic device comprises: A memory storing a computer program; A processor is communicatively connected to the memory, and executes the method according to any one of claims 1 to 7 when calling the computer program.