Electrocardiosignal detection method and wearable device

By designing multiple ECG signal acquisition modules and lead detection functions in wearable devices, the problem of insufficient ECG signal data is solved in the existing equipment, and more comprehensive heart condition monitoring and more accurate digital health services are achieved.

CN119818077APending Publication Date: 2025-04-15HUAWEI TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311325915.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-10-13
Publication Date
2025-04-15

AI Technical Summary

Technical Problem

When collecting ECG signals, existing wearable devices collect less data and cannot provide comprehensive heart status information.

Method used

A wearable device is designed, including an electrocardiogram signal processing module, a first electrocardiogram signal acquisition module and a second electrocardiogram signal acquisition module, and the electrocardiogram signal detection of multiple leads is realized through multiple electrocardiogram signal acquisition chips and multiple electrodes.

Benefits of technology

Through the detection of multiple leads, more abundant heart status information is provided, the accuracy of digital health services is improved, and greater convenience is brought to users.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119818077A_ABST
    Figure CN119818077A_ABST
Patent Text Reader

Abstract

The invention discloses an electrocardiosignal detection method and wearable equipment, and the wearable equipment can carry out electrocardiosignal detection of multiple leads based on a hardware structure comprising a plurality of electrocardiosignal acquisition chips and a plurality of electrodes and a software structure with a parallel control logic function. The problem of pain points caused by few electrocardiosignals collected by existing wearable equipment can be solved, richer heart state information is provided for a user, and great convenience is brought to the user.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of terminal technology, and in particular to an electrocardiogram signal detection method and a wearable device. Background Art

[0002] With the rapid development of electronic technology and people's increasing attention to their own health, the use of wearable devices to assist health assessment has become increasingly widespread.

[0003] Physiological data such as electrocardiogram (ECG) and heart rate can comprehensively reflect the health status of the heart. At present, some wearable devices (such as smart watches) can provide ECG signal detection function to monitor the user's heart condition. Due to the limited performance of wearable devices, how to use the limited performance to more comprehensively monitor the user's heart condition is an urgent problem to be solved. Summary of the invention

[0004] The embodiments of the present application provide an electrocardiogram (ECG) signal detection method and a wearable device, which can solve the pain point problem that existing wearable devices collect fewer ECG signals, and provide users with richer heart status information and more accurate digital health services.

[0005] In a first aspect, an embodiment of the present application provides a wearable device, which includes an ECG signal processing module, a first ECG signal acquisition module, and a second ECG signal acquisition module. The first ECG signal acquisition module and the second ECG signal acquisition module are connected to the ECG signal processing module, and the first ECG signal acquisition module is also connected to the first electrode, and the second ECG signal acquisition module is also connected to the second electrode, wherein: the first ECG signal acquisition module is used to acquire a first ECG signal through the first electrode and send the first ECG signal to the ECG signal processing module; the second ECG signal acquisition module is used to acquire a second ECG signal through the second electrode and send the second ECG signal to the ECG signal processing module; the ECG signal processing module is used to receive the first ECG signal and the second ECG signal, and generate ECG signals corresponding to M leads based on the first ECG signal and the second ECG signal, where M is a positive integer greater than or equal to 2.

[0006] It can be seen that the wearable device provided in the first aspect can perform ECG signal detection of multiple leads based on a hardware structure including multiple ECG signal acquisition chips and multiple electrodes and a software structure with parallel control logic functions, thereby solving the pain point problem of fewer ECG signals collected by existing wearable devices, providing users with richer heart status information and more accurate digital health services, bringing great convenience to users.

[0007] In a possible implementation, the first ECG signal acquisition module is further used to: send a first interrupt signal to the ECG signal processing module, the first interrupt signal is used to indicate that the first ECG signal acquisition is completed; the ECG signal processing module is further used to: receive the first interrupt signal and record the moment when the first ECG signal acquisition is completed.

[0008] In this way, after the first ECG signal acquisition module completes the acquisition of the first ECG signal, it can send a first interrupt signal to the ECG signal processing module so that the ECG signal processing module can know that it needs to communicate with the first ECG signal acquisition module and can record the moment when the acquisition of the first ECG signal is completed. Subsequently, the time information of the first ECG signal can be accurately located to meet the algorithm accuracy requirements, thereby further obtaining more accurate data processing results.

[0009] In one possible implementation, the second ECG signal acquisition module is further used to: send a second interrupt signal to the ECG signal processing module, the second interrupt signal is used to indicate that the second ECG signal acquisition is completed; the ECG signal processing module is further used to: receive the second interrupt signal and record the moment when the second ECG signal acquisition is completed.

[0010] In this way, after the second ECG signal acquisition module completes the acquisition of the second ECG signal, it can send a second interrupt signal to the ECG signal processing module so that the ECG signal processing module can know that it needs to communicate with the second ECG signal acquisition module and can record the moment when the second ECG signal acquisition is completed. Subsequently, the time information of the second ECG signal can be accurately located to meet the algorithm accuracy requirements, thereby further obtaining more accurate data processing results.

[0011] In a possible implementation, the first ECG signal acquisition module is also used to: receive the clock signal generated by the ECG signal processing module; the second ECG signal acquisition module is also used to: receive the clock signal generated by the ECG signal processing module; the clock signal is used for the first ECG signal acquisition module and the second ECG signal acquisition module to synchronously acquire the first ECG signal and the second ECG signal.

[0012] That is to say, in the embodiment of the present application, before collecting ECG signals, the clocks of the first ECG signal collection module and the second ECG signal collection module can be calibrated first. After that, the first ECG signal and the second ECG signal can be synchronously collected based on the calibrated clock signal, thereby ensuring better synchronization of the two collected ECG signals, and laying the foundation for obtaining more accurate data processing results.

[0013] In a possible implementation, the first electrode includes a first sub-electrode and a second sub-electrode, the first sub-electrode contacts a first limb of the human body, and the second sub-electrode contacts a second limb of the human body. The first ECG signal acquisition module is specifically used to: collect the potential of the first limb through the first sub-electrode; collect the potential of the second limb through the second sub-electrode; the first ECG signal includes the potential of the first limb and the potential of the second limb.

[0014] In this way, the first ECG signal acquisition module can collect surface electrical signals (such as potentials) of different limbs of the human body through the first electrode, so that the subsequent ECG signal processing module can calculate ECG signals corresponding to one or more leads based on the surface electrical signals of different limbs of the human body.

[0015] In one possible implementation, the second electrode includes a first sub-electrode or a second sub-electrode and a third sub-electrode, the third sub-electrode is in contact with a third limb of the human body, and the second ECG signal acquisition module is specifically used to: collect the potential of the first limb through the first sub-electrode, or, collect the potential of the second limb through the second sub-electrode; collect the potential of the third limb through the third sub-electrode; the second ECG signal includes the potential of the first limb or the potential of the second limb and the potential of the third limb.

[0016] In this way, the second ECG signal acquisition module can collect surface electrical signals (such as potentials) of different limbs of the human body through the second electrode, so that the subsequent ECG signal processing module can calculate ECG signals corresponding to one or more leads based on the surface electrical signals of different limbs of the human body.

[0017] In one possible implementation, the first limb is the left upper limb, the second limb is the right upper limb, and the third limb is the left lower limb. The M leads include any two or more of the following leads: limb I lead, limb II lead, limb III lead, pressurized unipolar limb aVR lead, pressurized unipolar limb aVL lead, pressurized unipolar limb aVF lead. The ECG signal processing module is specifically used to: generate an ECG signal corresponding to the limb I lead based on the difference between the potential of the left upper limb and the potential of the right upper limb; and / or, generate an ECG signal corresponding to the limb II lead based on the difference between the potential of the left lower limb and the potential of the right upper limb; and / or, based on the left lower limb The difference between the potential of the right upper limb and the potential of the left upper limb generates an ECG signal corresponding to the limb III lead; and / or, based on the potential of the right upper limb, the difference between the average value of the sum of the potential of the left upper limb and the potential of the left lower limb, generates an ECG signal corresponding to the pressurized unipolar limb aVR lead; and / or, based on the potential of the left upper limb, the difference between the average value of the sum of the potential of the right upper limb and the potential of the left lower limb, generates an ECG signal corresponding to the pressurized unipolar limb aVL lead; and / or, based on the potential of the left lower limb, the difference between the average value of the sum of the potential of the right upper limb and the potential of the left upper limb, generates an ECG signal corresponding to the pressurized unipolar limb aVF lead.

[0018] In this way, the ECG signal processing module can generate ECG signals corresponding to up to six leads based on the first ECG signal and the second ECG signal, and can obtain more ECG signals, thereby providing users with richer heart status information and more accurate digital health services, bringing great convenience to users.

[0019] In a possible implementation, the ECG signal processing module includes a microcontroller unit MCU, and the first ECG signal acquisition module and the second ECG signal acquisition module include an analog front-end AFE chip.

[0020] In a second aspect, an embodiment of the present application provides an ECG signal detection method, which is applied to a wearable device. The wearable device includes an ECG signal processing module, a first ECG signal acquisition module, and a second ECG signal acquisition module. The first ECG signal acquisition module and the second ECG signal acquisition module are connected to the ECG signal processing module. The first ECG signal acquisition module is also connected to the first electrode, and the second ECG signal acquisition module is also connected to the second electrode. The method includes: the wearable device controls the first ECG signal acquisition module through the ECG signal processing module to acquire the first ECG signal through the first electrode, and controls the second ECG signal acquisition module to acquire the second ECG signal through the second electrode; the wearable device controls the first ECG signal acquisition module to send the first ECG signal to the ECG signal processing module, and controls the second ECG signal acquisition module to send the second ECG signal to the ECG signal processing module; the wearable device controls the ECG signal processing module to generate ECG signals corresponding to M leads based on the first ECG signal and the second ECG signal, where M is a positive integer greater than or equal to 2.

[0021] By implementing the method provided in the second aspect, the wearable device can perform ECG signal detection of multiple leads based on a hardware structure including multiple ECG signal acquisition chips and multiple electrodes and a software structure with parallel control logic functions, thereby solving the pain point problem of fewer ECG signals collected by existing wearable devices, providing users with richer heart status information and more accurate digital health services, bringing great convenience to users.

[0022] In a possible implementation, before the wearable device controls the first ECG signal acquisition module to acquire the first ECG signal through the first electrode through the ECG signal processing module, the method also includes: the wearable device controls the first ECG signal acquisition module to send a first interrupt signal to the ECG signal processing module, and the first interrupt signal is used to indicate that the acquisition of the first ECG signal is completed; the wearable device controls the ECG signal processing module to receive the first interrupt signal and record the moment when the acquisition of the first ECG signal is completed.

[0023] In this way, after the first ECG signal acquisition module completes the acquisition of the first ECG signal, it can send a first interrupt signal to the ECG signal processing module so that the ECG signal processing module can know that it needs to communicate with the first ECG signal acquisition module and can record the moment when the acquisition of the first ECG signal is completed. Subsequently, the time information of the first ECG signal can be accurately located to meet the algorithm accuracy requirements, thereby further obtaining more accurate data processing results.

[0024] In a possible implementation, before the wearable device controls the second ECG signal acquisition module to collect the second ECG signal through the second electrode through the ECG signal processing module, the method also includes: the wearable device controls the second ECG signal acquisition module to send a second interrupt signal to the ECG signal processing module, and the second interrupt signal is used to indicate that the acquisition of the second ECG signal is completed; the wearable device controls the ECG signal processing module to receive the second interrupt signal and record the moment when the acquisition of the second ECG signal is completed.

[0025] In this way, after the second ECG signal acquisition module completes the acquisition of the second ECG signal, it can send a second interrupt signal to the ECG signal processing module so that the ECG signal processing module can know that it needs to communicate with the second ECG signal acquisition module and can record the moment when the second ECG signal acquisition is completed. Subsequently, the time information of the second ECG signal can be accurately located to meet the algorithm accuracy requirements, thereby further obtaining more accurate data processing results.

[0026] In a possible implementation, the wearable device controls the first ECG signal acquisition module to acquire the first ECG signal through the first electrode through the ECG signal processing module, and controls the second ECG signal acquisition module to acquire the second ECG signal through the second electrode, specifically including: the wearable device controls the first ECG signal acquisition module and the second ECG signal acquisition module to receive the clock signal generated by the ECG signal processing module; the wearable device controls the first ECG signal acquisition module and the second ECG signal acquisition module to synchronously acquire the first ECG signal and the second ECG signal based on the clock signal.

[0027] That is to say, in the embodiment of the present application, before collecting ECG signals, the clocks of the first ECG signal collection module and the second ECG signal collection module can be calibrated first. After that, the first ECG signal and the second ECG signal can be synchronously collected based on the calibrated clock signal, thereby ensuring better synchronization of the two collected ECG signals, and laying the foundation for obtaining more accurate data processing results.

[0028] In a possible implementation, the first electrode includes a first sub-electrode and a second sub-electrode, the first sub-electrode contacts a first limb of the human body, and the second sub-electrode contacts a second limb of the human body, and the wearable device controls the first ECG signal acquisition module through the ECG signal processing module to collect the first ECG signal through the first electrode, specifically including: the wearable device controls the first ECG signal acquisition module through the ECG signal processing module to collect the potential of the first limb through the first sub-electrode, and collects the potential of the second limb through the second sub-electrode; the first ECG signal includes the potential of the first limb and the potential of the second limb.

[0029] In this way, the first ECG signal acquisition module can collect surface electrical signals (such as potentials) of different limbs of the human body through the first electrode, so that the subsequent ECG signal processing module can calculate ECG signals corresponding to one or more leads based on the surface electrical signals of different limbs of the human body.

[0030] In a possible implementation, the second electrode includes a first sub-electrode or a second sub-electrode and a third sub-electrode, the third sub-electrode is in contact with a third limb of the human body, and the wearable device controls the second ECG signal acquisition module through the ECG signal processing module to acquire the second ECG signal through the second electrode, specifically including: the wearable device controls the second ECG signal acquisition module through the ECG signal processing module to acquire the potential of the first limb through the first sub-electrode, or, acquires the potential of the second limb through the second sub-electrode; the wearable device controls the second ECG signal acquisition module through the ECG signal processing module to acquire the potential of the third limb through the third sub-electrode; the second ECG signal includes the potential of the first limb or the potential of the second limb and the potential of the third limb.

[0031] In this way, the second ECG signal acquisition module can collect surface electrical signals (such as potentials) of different limbs of the human body through the second electrode, so that the subsequent ECG signal processing module can calculate ECG signals corresponding to one or more leads based on the surface electrical signals of different limbs of the human body.

[0032] In a possible implementation, the first limb is the left upper limb, the second limb is the right upper limb, and the third limb is the left lower limb. The M leads include any two or more of the following leads: limb I lead, limb II lead, limb III lead, pressurized unipolar limb aVR lead, pressurized unipolar limb aVL lead, and pressurized unipolar limb aVF lead. The wearable device controls the ECG signal processing module to generate ECG signals corresponding to the M leads based on the first ECG signal and the second ECG signal, specifically including: the wearable device controls the ECG signal processing module to generate the ECG signal corresponding to the limb I lead based on the difference between the potential of the left upper limb and the potential of the right upper limb; and / or, the wearable device controls the ECG signal processing module to generate the ECG signal corresponding to the limb II lead based on the difference between the potential of the left lower limb and the potential of the right upper limb; and / or, the wearable device controls the ECG signal processing module to generate the ECG signal corresponding to the limb II lead based on the difference between the potential of the left lower limb and the potential of the right upper limb; and / or, the wearable device controls the ECG signal processing module to generate the ECG signal corresponding to the limb II lead based on the difference between the potential of the The device controls the ECG signal processing module to generate an ECG signal corresponding to the limb III lead based on the difference between the potential of the left lower limb and the potential of the left upper limb; and / or, the wearable device controls the ECG signal processing module to generate an ECG signal corresponding to the pressurized unipolar limb aVR lead based on the difference between the potential of the right upper limb and the average value of the sum of the potential of the left upper limb and the potential of the left lower limb; and / or, the wearable device controls the ECG signal processing module to generate an ECG signal corresponding to the pressurized unipolar limb aVL lead based on the difference between the potential of the left upper limb and the average value of the sum of the potential of the right upper limb and the potential of the left lower limb; and / or, the wearable device controls the ECG signal processing module to generate an ECG signal corresponding to the pressurized unipolar limb aVF lead based on the difference between the potential of the left lower limb and the average value of the sum of the potential of the right upper limb and the potential of the left upper limb.

[0033] In this way, the ECG signal processing module can generate ECG signals corresponding to up to six leads based on the first ECG signal and the second ECG signal, and can obtain more ECG signals, thereby providing users with richer heart status information and more accurate digital health services, bringing great convenience to users.

[0034] In a possible implementation, the ECG signal processing module includes a microcontroller unit MCU, and the first ECG signal acquisition module and the second ECG signal acquisition module include an analog front-end AFE chip.

[0035] In the above-mentioned first and second aspects, the ECG signal processing module may be the ECG signal processing module 101, the first ECG signal acquisition module may be the ECG signal acquisition module 102a, the second ECG signal acquisition module may be the ECG signal acquisition module 102b, the first electrode and the second electrode may include multiple electrodes in the electrode 103, the first ECG signal may be ECG signal 1, the second ECG signal may be ECG signal 2, the first interrupt signal may be interrupt signal 1, the second interrupt signal may be interrupt signal 2, the first sub-electrode, the second sub-electrode, and the third sub-electrode may be, for example, the left upper limb electrode 103a, the right upper limb electrode 103b, and the left lower limb electrode 103c, respectively, and the first limb, the second limb, and the third limb may be, for example, the left upper limb, the right upper limb, and the left lower limb, respectively.

[0036] In the third aspect, an embodiment of the present application provides a chip system, comprising: a processor, the processor is coupled to a memory, the memory is used to store programs or instructions, when the program or instructions are executed by the processor, the chip system executes the method described in any possible implementation of the first aspect or the second aspect above.

[0037] In a fourth aspect, an embodiment of the present application provides a wearable device, which includes one or more processors and one or more memories; wherein the one or more memories are coupled to the one or more processors, and the one or more memories are used to store computer program code, and the computer program code includes computer instructions, and when the one or more processors execute the computer instructions, the wearable device executes the method described in any possible implementation method of the first aspect or the second aspect above.

[0038] In a fifth aspect, an embodiment of the present application provides a computer storage medium, which stores a computer program, wherein the computer program includes program instructions. When the program instructions are executed on a wearable device, the wearable device executes the method described in any possible implementation of the first aspect or the second aspect.

[0039] In a sixth aspect, an embodiment of the present application provides a computer program product. When the computer program product runs on a computer, it enables the computer to execute the method described in any possible implementation of the first aspect or the second aspect above. BRIEF DESCRIPTION OF THE DRAWINGS

[0040] Figure 1A-1F is a schematic diagram of a group of limb leads provided in an embodiment of the present application;

[0041] Figure 2A-2B is a schematic diagram of the arrangement position of electrodes on a wearable device provided in an embodiment of the present application;

[0042] Figure 3 is a schematic diagram of the hardware structure of a wearable device 100 provided in an embodiment of the present application;

[0043] Figure 4A-4C is a schematic diagram of possible arrangement positions of electrodes on a wearable device 100 provided in an embodiment of the present application;

[0044] Figure 5 It is a flowchart of an electrocardiogram signal detection method provided in an embodiment of the present application;

[0045] Figure 6 is a schematic diagram of a software structure of a wearable device 100 provided in an embodiment of the present application;

[0046] Figure 7 Schematic diagram of the hardware structure of another wearable device 100 provided in an embodiment of the present application. DETAILED DESCRIPTION

[0047] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. In the description of the embodiments of the present application, unless otherwise specified, " / " means or, for example, A / B can mean A or B; "and / or" in the text is only a description of the association relationship of the associated objects, indicating that there can be three relationships, for example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. In addition, in the description of the embodiments of the present application, "multiple" means two or more than two.

[0048] It should be understood that the terms "first", "second", etc. in the specification, claims and drawings of the present application are used to distinguish different objects, rather than to describe a specific order. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or units is not limited to the listed steps or units, but may optionally include steps or units that are not listed, or may optionally include other steps or units that are inherent to these processes, methods, products or devices.

[0049] Reference to "embodiments" in this application means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present application. The appearance of the phrase in various locations in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described in this application may be combined with other embodiments.

[0050] To facilitate understanding, the concept of electrocardiogram involved in the embodiments of the present application is first introduced below.

[0051] During the cardiac cycle, the bioelectricity accompanying the excitement of the heart can be transmitted throughout the body through the surrounding tissues of the human body, causing regular potential changes in various parts of the body. An electrocardiogram is a graph that records the potential changes generated by each cardiac cycle from the human body surface.

[0052] The heart is a three-dimensional structure. In order to reflect the electrical activity of the heart in different planes, electrodes can be placed in different parts of the human body to record and reflect the electrical activity of the heart. In medicine, when performing routine electrocardiogram measurements, two upper limb electrodes, two lower limb electrodes, and six chest electrodes are usually placed on the human body to record a twelve-lead electrocardiogram for a comprehensive diagnosis of heart disease, in which one lead represents a detection vector in one direction, and a single detection vector can only detect abnormalities in one direction.

[0053] The commonly used lead system used for electrocardiogram measurement in medicine is the standard twelve-lead system, including six limb leads and six precordial leads. Among them, the six limb leads include limb I lead, limb II lead, limb III lead, pressurized unipolar limb aVR lead, pressurized unipolar limb aVL lead, and pressurized unipolar limb aVF lead. These six limb leads can be used to reflect the heart's potential in the coronal plane (i.e., the longitudinal section that divides the heart into anterior and posterior parts); among them, the six precordial leads include V1 lead, V2 lead, V3 lead, V4 lead, V5 lead, and V6 lead. These six precordial leads can be used to reflect the heart's potential in the transverse plane (i.e., the longitudinal section that divides the heart into upper and lower parts).

[0054] Combine the following Figure 1A-1F The above six limb leads are introduced.

[0055] See also Figure 1A-1F , the left upper limb electrode E1 contacts the left upper limb, the right upper limb electrode E2 contacts the right upper limb, and the left lower limb electrode E3 contacts the left lower limb.

[0056] See also Figure 1A-Figure 1C , Figure 1A-Figure 1C Bipolar limb leads (including limb I lead, limb II lead, and limb III lead) are exemplarily shown.

[0057] See also Figure 1A A limb I lead can be formed between the left upper limb electrode E1 and the right upper limb electrode E2, and the limb I lead can reflect the potential difference between the left upper limb and the right upper limb.

[0058] See also Figure 1B, a limb II lead can be formed between the left lower limb electrode E3 and the right upper limb electrode E2, and the limb II lead can reflect the potential difference between the left lower limb and the right upper limb.

[0059] See also Figure 1C , a limb III lead can be formed between the left lower limb electrode E3 and the left upper limb electrode E1, and the limb III lead can reflect the potential difference between the left lower limb and the left upper limb.

[0060] See also Figure 1D-1F , Figure 1D-1F The pressurized unipolar limb leads (including pressurized unipolar limb aVR lead, pressurized unipolar limb aVL lead, and pressurized unipolar limb aVF lead) are exemplarily shown.

[0061] Exemplarily, any one of the left upper limb electrode E1, the right upper limb electrode E2, and the left lower limb electrode E3 can be used as a probing electrode, and an indifferent electrode can be connected in series between the other two electrodes (for example, a resistor can be connected in series between the other two electrodes as an indifferent electrode), and a pressurized unipolar limb lead can be formed between the probing electrode and the indifferent electrode.

[0062] See also Figure 1D , the right upper limb electrode E2 is used as the exploration electrode, and an irrelevant electrode E4 is connected in series between the left lower limb electrode E3 and the left upper limb electrode E1. A pressurized unipolar limb aVR lead can be formed between the right upper limb electrode E2 and the irrelevant electrode E4.

[0063] See also Figure 1E , the left upper limb electrode E1 is used as the exploration electrode, and an irrelevant electrode E5 is connected in series between the left lower limb electrode E3 and the right upper limb electrode E2. A pressurized unipolar limb aVL lead can be formed between the left upper limb electrode E1 and the irrelevant electrode E5.

[0064] See also Figure 1F The left lower limb electrode E3 is used as the exploration electrode, and an irrelevant electrode E6 is connected in series between the right upper limb electrode E2 and the left upper limb electrode E1. A pressurized unipolar limb aVF lead can be formed between the left lower limb electrode E3 and the irrelevant electrode E6.

[0065] In a possible method for calculating unipolar limb leads, the center points of the three electrodes, namely, the left upper limb electrode E1, the right upper limb electrode E2, and the left lower limb electrode E3, can be located, and the potential of the center point, namely, the Wilson center point potential, can be obtained. Furthermore, the potential difference between the potential of the center point and the three electrodes, namely, the left upper limb electrode E1, the right upper limb electrode E2, and the left lower limb electrode E3, can be obtained, thereby respectively obtaining a unipolar limb VL lead reflecting the potential difference between the center point and the left upper limb electrode E1, a unipolar limb VR lead reflecting the potential difference between the center point and the right upper limb electrode E2, and a unipolar limb VF lead reflecting the potential difference between the center point and the left lower limb electrode E3.

[0066] However, since the unipolar limb VR lead, unipolar limb VL lead, and unipolar limb VF lead are far away from the heart, the potential difference recorded when the Wilson center point potential is the negative pole is too small, which easily leads to too low amplitudes of the unipolar limb VR lead, unipolar limb VL lead, and unipolar limb VF lead. Therefore, in another possible calculation method of the unipolar limb leads, any one of the three electrodes, the left upper limb electrode E1, the right upper limb electrode E2, and the left lower limb electrode E3, can be used as the positive electrode, and the average value of the potentials of the other two electrodes can be used as the negative electrode to obtain the potential difference between the positive electrode and the negative electrode, so that the pressurized unipolar limb aVL lead, the pressurized unipolar limb aVR lead, and the pressurized unipolar limb aVF lead can be obtained respectively. In this way, the amplitudes of the three unipolar limb leads can be increased, making it easier to observe the potential changes of the heart in the directions of these three leads.

[0067] Table 1 below exemplifies the signals corresponding to the above six limb leads, wherein LA may represent the potential collected by the left upper limb electrode E1, RA may represent the potential collected by the right upper limb electrode E2, and LL may represent the potential collected by the left lower limb electrode E3.

[0068] Limb leads Signal Limb I lead I=LA-RA Limb II Lead II=LL-RA=I+III Limb III lead III=LL-LA Pressurized unipolar limb aVR lead aVR=RA-0.5*(LA+LL)=-0.5*(I+II) Pressurized unipolar limb aVL lead aVL=LA-0.5*(RA+LL)=0.5*(I-III) Pressurized unipolar limb aVF lead aVF=LL-0.5*(RA+LA)=0.5*(II+III)

[0069] Table 1

[0070] It should be noted that in the embodiments of the present application, "upper limbs" may refer to the part below the shoulders, including the hands; "lower limbs" may refer to the part below the hip joint, including the feet, legs, knees, etc. Among them, both the left lower limb and the right lower limb can be measured by electrocardiogram, and the embodiments of the present application do not limit this. The above description is only based on the left lower limb as an example, and should not constitute a limitation on the present application.

[0071] At present, some wearable devices (such as smart watches, etc.) can provide ECG signal detection functions to monitor the user's heart condition. However, due to the limitations of the size, structure, power consumption, performance, etc. of wearable devices, these wearable devices can usually only detect the ECG signal of a single lead through a single ECG signal acquisition chip.

[0072] See also Figure 2A-2B Taking the current common wearable device as an example, a smart watch is usually provided with three electrodes, such as electrode 1, electrode 2, and electrode 3, wherein electrode 1 and electrode 2 can be provided on the bottom surface of the watch body (i.e., when the smart watch is worn on the wrist, the surface of the smart watch faces the wrist), and electrode 1 and electrode 2 can be called "bottom surface electrodes"; electrode 3 can be provided on the outer peripheral surface of the watch body (i.e., when the smart watch is worn on the wrist, the surface of the smart watch does not face the wrist), for example Figure 2B On a button on the side of the watch body shown in the example; or, electrode 3 can also be set on the wristband of the smart watch, and electrode 3 can be called a "surface electrode" or a "crown electrode". Among the above three electrodes, in electrode 1 and electrode 2, one is a reference electrode (or a driving electrode) for collecting reference electrical signals, and the other is a lead electrode for collecting electrical signals from the user's left upper limb or right upper limb. Electrode 3 is a lead electrode for collecting electrical signals from the user's left upper limb or right upper limb. These three electrodes can only realize a single lead (for example Figure 1A The ECG signal detection of the limb lead (shown) cannot realize the ECG signal detection of multiple leads, and very little information about the electrical activity of the heart can be obtained.

[0073] It can be seen that due to the limited performance of current wearable devices, it is currently impossible to conduct a more comprehensive monitoring of the user's heart condition.

[0074] Based on the above problems, the embodiments of the present application provide an ECG signal detection method and a wearable device 100. On the basis of existing wearable devices, the wearable device 100 can perform ECG signal detection of multiple leads based on a hardware structure including multiple ECG signal acquisition chips and multiple electrodes and a software structure with parallel control logic functions. This can solve the pain point problem of the small number of ECG signals collected by existing wearable devices, provide users with richer heart status information and more accurate digital health services, and bring great convenience to users.

[0075] It should be noted that the wearable device 100 is an electronic device with a cardiac activity monitoring function, and the embodiment of the present application does not limit the specific type of the wearable device 100. For example, the wearable device 100 may be a smart watch, a smart bracelet, etc. that can be worn on the user's wrist; for another example, the wearable device 100 may be an electronic device with a heart rate belt structure that can be worn on the user's arm; for another example, the wearable device 100 may be an electronic device similar to a heart rate belt structure that can be worn on the user's body trunk; and so on. The operating system (OS) installed on the wearable device 100 may include but is not limited to etc.

[0076] The following is a schematic diagram of the hardware structure of a wearable device 100 provided in an embodiment of the present application.

[0077] Figure 3 The hardware structure of a wearable device 100 provided in an embodiment of the present application is exemplified.

[0078] like Figure 3 As shown, the wearable device 100 may include an ECG signal processing module 101, an ECG signal acquisition module 102, and electrodes 103. The ECG signal processing module 101 may be connected to the ECG signal acquisition module 102, and the ECG signal acquisition module 102 may be connected to the electrodes 103.

[0079] The ECG signal processing module 101 can be used to provide Serial Peripheral Interface (SPI) communication bus capability, chip control capability, data processing capability, etc. For example, it can be used to control the ECG signal acquisition module 102 to acquire ECG signals; for another example, it can be used to process the ECG signals acquired by the ECG signal acquisition module 102.

[0080] In the embodiment of the present application, the ECG signal processing module 101 may be a microcontroller unit (MCU), or other units that can provide the above-mentioned various capabilities, which is not limited in the embodiment of the present application. The embodiment of the present application takes the ECG signal processing module 101 as an MCU as an example.

[0081] The ECG signal acquisition module 102 can be used to control the back-end circuit, such as the circuit connected to the electrode 103, so as to complete the ECG signal acquisition work of the subject; it can also be used to communicate with the ECG signal processing module 101, for example, receiving the control signal sent by the ECG signal processing module 101; for example, sending the collected ECG signal to the ECG signal processing module 101; and so on.

[0082] In the embodiment of the present application, the ECG signal acquisition module 102 may include multiple modules, such as an ECG signal acquisition module 102a, an ECG signal acquisition module 102b, etc.

[0083] In current wearable devices, usually only one ECG signal acquisition module is provided, such as ECG signal acquisition module 102a. In the wearable device 100 provided in the embodiment of the present application, two ECG signal acquisition modules are provided as an example, so as to realize the ECG signal detection function of multiple leads. Not limited to this, in other embodiments of the present application, the wearable device 100 may also be provided with more than two ECG signal acquisition modules, so as to realize the ECG signal detection function of more leads.

[0084] In the embodiment of the present application, the ECG signal acquisition module 102 may be an analog front-end (AFE) chip, or other chips that can be used for ECG signal acquisition, which is not limited in the embodiment of the present application. The embodiment of the present application takes the ECG signal acquisition module 102 as an AFE chip as an example.

[0085] In some embodiments, the ECG signal acquisition module 102 may also implement the heart rate measurement function of the subject through photoplethysmography (PPG).

[0086] In the embodiment of the present application, the ECG signal processing module 101 can communicate with the ECG signal acquisition module 102 based on SPI. The principle of the SPI communication process is introduced below.

[0087] SPI is a full-duplex synchronous serial communication interface, commonly used for short-distance high-speed communication, and its data transmission rate can usually reach several megabytes or tens of megabytes. SPI communication adopts a master-slave structure. When the master and slave communicate, the host and the slave need to be connected with four signal lines, which are MOSI (master output / slave input), MISO (master input / slave output), CLK (clock), and CS (chip select). The data of the host is output from the MOSI signal line, and the slave reads the data sent by the host through the MOSI signal line, that is, the direction of the data on the MOSI signal line is from the host to the slave; the data of the slave is output from the MISO signal line, and the host reads the data sent by the slave through the MISO signal line, that is, the direction of the data on the MISO signal line is from the slave to the host; the CLK signal line is used for communication data synchronization, and the clock signal is generated by the host; the CS signal line is used by the host to select the slave and generate the slave enable signal (i.e., chip select signal), which is controlled by the host.

[0088] Data transmission can be initiated by the host. Before serial data transmission, the host drives the CS signal to make it valid (usually, the valid state is low level), and then outputs the clock signal on the CLK signal line. Under the synchronization of the clock signal, each clock signal transmits one bit of data. The host's data is transmitted to the slave through the MOSI signal line, and the slave's data is transmitted to the host through the MISO. After the data transmission is completed, the CS signal is released to make it invalid. At this point, one data transmission is completed.

[0089] A host can be connected to multiple slaves, and these multiple slaves can share MOSI signal line, MOSI signal line, CLK signal line. The chip select signal CS of each slave is independent. Therefore, if the host needs to connect multiple slaves, multiple chip select control pins are required. When a host is connected to multiple slaves, at most one chip select signal can be valid at the same time to select a certain slave as the target object of data communication. That is to say, at a certain time, at most one slave can be activated and addressed, so that each slave can be used independently without interfering with each other.

[0090] See also Figure 3 In the embodiment of the present application, the ECG signal processing module 101 can be used as a host, and the ECG signal acquisition module 102 can be used as a slave. It is easy to understand that in the embodiment of the present application, there can be multiple slaves, for example, there can be at least two slaves, namely, the ECG signal acquisition module 102a and the ECG signal acquisition module 102b. These two slaves can share the MOSI signal line, the MOSI signal line, and the CLK signal line. Each slave can correspond to an independent CS signal line. For example, the CS signal line corresponding to the ECG signal acquisition module 102a is the CS1 signal line, and the CS signal line corresponding to the ECG signal acquisition module 102b is the CS2 signal line.

[0091] The electrodes 103 may be used to establish a physical circuit connection with the subject, collect the ECG signals of the subject, and transmit the collected ECG signals to the ECG signal collection module 102 .

[0092] In the embodiment of the present application, the electrode 103 may include multiple electrodes, such as a left upper limb electrode 103a, a right upper limb electrode 103b, a left lower limb electrode 103c, a right lower limb electrode 103d, etc.

[0093] In current wearable devices, only three electrodes, namely, left upper limb electrode 103a, right upper limb electrode 103b, and right lower limb electrode 103d, are usually provided, namely, two lead electrodes (also referred to as detection electrodes) and one reference electrode (also referred to as a driving electrode). Usually, right lower limb electrode 103d is used as a reference electrode. In the process of ECG signal detection, the electrical signal collected by the reference electrode can be used to eliminate noise. In the wearable device 100 provided in the embodiment of the present application, the four electrodes including left upper limb electrode 103a, right upper limb electrode 103b, left lower limb electrode 103c, and right lower limb electrode 103d are provided as an example, so as to realize the ECG signal detection function of multiple leads (for example, six leads). Not limited to this, in other embodiments of the present application, the wearable device 100 may also be provided with more than four electrodes, so as to realize the ECG signal detection function of more leads.

[0094] It is easy to understand that in actual use, the left upper limb electrode 103a, the right upper limb electrode 103b, and the left lower limb electrode 103c may be in contact with the user's two upper limbs and one lower limb respectively, so that the ECG signals corresponding to the six limb leads can be obtained; or two of the three electrodes, the left upper limb electrode 103a, the right upper limb electrode 103b, and the left lower limb electrode 103c, may be in contact with the user's limbs, and the other electrode may be an idle electrode and not used, so that the ECG signal corresponding to a limb lead (for example, limb I lead or limb II lead or limb III lead) can be obtained.

[0095] It should be noted that the embodiment of the present application does not specifically limit the locations of the above-mentioned electrodes on the wearable device 100. The locations of the electrodes on the wearable device 100 can be comprehensively determined based on the actual situation of the product and the user's experience.

[0096] Two possible locations for disposing the above-mentioned electrodes on the wearable device 100 are introduced below.

[0097] Taking four electrodes as an example, it is assumed that the four electrodes are electrode A, electrode B, electrode C, and electrode D, wherein electrode A, electrode B, and electrode C are lead electrodes, and electrode D is a reference electrode.

[0098] Possible location 1

[0099] See also Figure 4A-4B, taking the wearable device 100 as a smart watch as an example, wherein electrodes A and D are arranged on the bottom surface of the watch body (i.e., when the smart watch is worn on the wrist, the surface of the smart watch facing the wrist), electrode B is arranged on the side surface of the watch body (the surface between the bottom surface of the watch body and the front surface of the watch body, such as the surface on which the crown is arranged), and electrode C is arranged on the front surface of the watch body (i.e., when the smart watch is worn on the wrist, the surface of the smart watch facing away from the wrist, such as the surface on which the display screen is arranged).

[0100] In some actual usage scenarios, electrodes A and D can contact the user's left wrist, electrode B can contact the user's right upper limb, and electrode C can contact the user's lower limb. During the ECG signal detection process, the user can sit and wear the smart watch on the left wrist so that electrodes A and D naturally contact the user's left wrist. Furthermore, the user can turn the left wrist or the smart watch so that the front of the watch body faces down, and then naturally place the left hand on the lower limb so that electrode C contacts the user's lower limb. For example, the user can naturally place the left hand on the left lower limb so that electrode C contacts the left lower limb.

[0101] Since electrode B is arranged on the side of the watch body, when the user's left hand is naturally placed on the lower limb, electrode B will not contact the lower limb. The user can touch electrode B with a finger of the right hand. In this way, each electrode is in contact with the user's limb, so that the electrical signal of the surface of each limb can be collected. Furthermore, the electrocardiogram signals corresponding to the six limb leads can be obtained based on the collected electrical signals of the surface of each limb.

[0102] It should be noted that the embodiments of the present application do not limit the actual way in which the user contacts each electrode during the ECG signal detection process. For example, the user can also take the smart watch off the wrist, turn the watch body over so that the front of the watch body faces down, and then place the watch body on the user's lower limbs so that the electrode C on the front of the watch body contacts the user's lower limbs. At the same time, the user can press the bottom surface of the watch body with one hand (for example, the left hand) so that the hand contacts the electrode A and the electrode D, and can also contact the electrode B with the other hand (for example, the right hand). In this way, each electrode contacts the user's limbs, so that the electrical signals on the surface of each limb can be collected. Further, the ECG signals corresponding to the six limb leads can be obtained based on the collected electrical signals on the surface of each limb.

[0103] It should be noted that the above only takes the example of a user wearing a smart watch on the left wrist. In actual use, the user can also wear the smart watch on the right wrist. It is easy to understand that in this case, the above-mentioned electrode A and electrode D can be replaced with contacting the user's right wrist, and the above-mentioned electrode in contact with the right upper limb can be replaced with contacting the user's left upper limb.

[0104] In other actual usage scenarios, electrodes A and D can contact the user's left wrist, electrode B can contact the user's right upper limb, and electrode C is not used, so that the ECG signal corresponding to limb I lead can be obtained.

[0105] In other actual usage scenarios, electrodes A and D can contact the user's right wrist, electrode C can contact the user's left lower limb, and electrode B is not used, so that the ECG signal corresponding to the limb II lead can be obtained.

[0106] In other actual usage scenarios, electrodes A and D can contact the user's left wrist, electrode C can contact the user's left lower limb, and electrode B is not used, so that the ECG signal corresponding to the limb III lead can be obtained.

[0107] Possible location 2

[0108] See also Figure 4A , Figure 4C , also taking the wearable device 100 as a smart watch as an example, wherein electrodes A and D are arranged on the bottom surface of the watch body, electrode B is arranged on the side surface of the watch body, and electrode C is arranged on one of the wristbands (for example Figure 4C wrist strap as shown).

[0109] In some actual usage scenarios, electrodes A and D can contact the user's left wrist, electrode B can contact the user's right upper limb, and electrode C can contact the user's lower limb. During the ECG signal detection process, the user can sit and wear the smart watch on the left wrist so that electrodes A and D naturally contact the user's left wrist. Furthermore, the user can rotate the left wrist or rotate the smart watch, and then naturally place the left hand on the lower limb so that electrode C contacts the user's lower limb. For example, the user can naturally place the left hand on the left lower limb so that electrode C contacts the left lower limb.

[0110] Since electrode B is arranged on the side of the watch body, when the user's left hand is naturally placed on the lower limb, electrode B will not contact the lower limb. The user can touch electrode B with a finger of the right hand. In this way, each electrode is in contact with the user's limb, so that the electrical signal of the surface of each limb can be collected. Furthermore, the electrocardiogram signals corresponding to the six limb leads can be obtained based on the collected electrical signals of the surface of each limb.

[0111] In one possible implementation, the position of electrode C on the wristband can be such that when the smart watch is worn on the user's wrist, electrode C and the watch body are located on opposite sides of the user's wrist. In this way, the user's comfort during ECG signal detection can be further improved.

[0112] It should be noted that the embodiments of the present application do not limit the actual way in which the user contacts each electrode during the ECG signal detection process. For example, the user can also take the smart watch off the wrist, turn the watch body over so that the front of the watch body faces down, and then place the watch body on the user's lower limbs so that the electrode C on the wristband contacts the user's lower limbs. At the same time, the user can press the bottom surface of the watch body with one hand (for example, the left hand) so that the hand contacts the electrode A and the electrode D, and can also contact the electrode B with the other hand (for example, the right hand). In this way, each electrode contacts the user's limbs, so that the electrical signals on the surface of each limb can be collected. Further, the ECG signals corresponding to the six limb leads can be obtained based on the collected electrical signals on the surface of each limb.

[0113] It should be noted that the above only takes the example of a user wearing a smart watch on the left wrist. In actual use, the user can also wear the smart watch on the right wrist. It is easy to understand that in this case, the above-mentioned electrode A and electrode D can be replaced with contacting the user's right wrist, and the above-mentioned electrode in contact with the right upper limb can be replaced with contacting the user's left upper limb.

[0114] In other actual usage scenarios, electrodes A and D can contact the user's left wrist, electrode B can contact the user's right upper limb, and electrode C is not used, so that the ECG signal corresponding to limb I lead can be obtained.

[0115] In other actual usage scenarios, electrodes A and D can contact the user's right wrist, electrode C can contact the user's left lower limb, and electrode B is not used, so that the ECG signal corresponding to the limb II lead can be obtained.

[0116] In other actual usage scenarios, electrodes A and D can contact the user's left wrist, electrode C can contact the user's left lower limb, and electrode B is not used, so that the ECG signal corresponding to the limb III lead can be obtained.

[0117] It should be noted that the above two possible positions are merely exemplary and should not constitute a limitation of the present application. In some embodiments of the present application, the above-mentioned electrodes may be arranged at other positions on the wearable device 100. In other embodiments of the present application, the electrodes may not be arranged on the wearable device 100, but may be independent of the wearable device 100. When the user needs to perform ECG signal detection, the electrodes may be connected to the wearable device 100 by wire or wireless means. After the connection is successful, the electrodes may be contacted with the user's limbs to collect ECG signals, thereby further completing the ECG signal detection.

[0118] It should be understood that Figure 3 The wearable device 100 shown is only one example, and the wearable device 100 may have more Figure 3 More or fewer components may be shown, two or more components may be combined, or there may be a different configuration of components. Figure 3 The various components shown in the EMBODIMENTS 2000 may be implemented in hardware, software, or a combination of hardware and software, including one or more signal processing and / or application specific integrated circuits.

[0119] Based on the above Figure 3 The hardware structure of the wearable device 100 is shown, and the specific process of an electrocardiogram signal detection method provided in an embodiment of the present application is introduced below.

[0120] Figure 5 The specific process of an electrocardiogram signal detection method provided in an embodiment of the present application is exemplified.

[0121] like Figure 5 As shown, the method can be applied to a wearable device 100. The wearable device 100 may include an ECG signal processing module 101 (e.g., a microcontroller unit MCU), an ECG signal acquisition module 102a (e.g., an analog front end AFE), and an ECG signal acquisition module 102b (e.g., an analog front end AFE). The specific steps of the method are described in detail below:

[0122] S501: The wearable device 100 detects an operation by a user to trigger electrocardiogram signal detection.

[0123] The operation of triggering the electrocardiogram signal detection by the user may include the operation of the user contacting the plurality of electrodes with each limb of the user respectively.

[0124] For example, the above Figure 3 Taking the four electrodes shown as an example, assuming that the user wants to perform six-lead ECG signal detection, then, in a possible implementation, the user can contact the left upper limb electrode 103a with the user's left upper limb, the right upper limb electrode 103b with the user's right upper limb, and the left lower limb electrode 103c with the user's left lower limb. The right lower limb electrode 103d can be used as a reference electrode to contact one of the user's limbs. In this way, each electrode can collect the electrical signal on the surface of its corresponding limb.

[0125] In the embodiment of the present application, an application for performing ECG signal detection may be installed on the wearable device 100, and ECG signal detection may be completed through the application. The application may also have the function of prompting the user how to perform ECG signal detection, and the user may perform the operation of triggering ECG signal detection according to the corresponding prompt.

[0126] In some embodiments, the wearable device 100 may support the user to select whether to perform single-lead ECG signal detection or multiple-lead (eg, six-lead) ECG signal detection.

[0127] S502 . The ECG signal processing module 101 sends a message 1 to the ECG signal acquisition module 102 a . The message is used to instruct to perform ECG signal acquisition.

[0128] S503: The ECG signal processing module 101 sends a message 2 to the ECG signal acquisition module 102b, where the message is used to instruct to perform ECG signal acquisition.

[0129] Specifically, after detecting that the user triggers an operation of detecting an electrocardiogram signal, the electrocardiogram signal processing module 101 may execute the above steps S502 and S503 .

[0130] In some embodiments, the information included in the above message 1 and message 2 may be the same. For example, message 1 and message 2 may both include information for instructing the electrocardiogram signal acquisition module to start performing electrocardiogram signal acquisition.

[0131] In other embodiments, the information included in the above-mentioned message 1 and message 2 may also be different, that is, the information included in the above-mentioned message 1 and message 2 may be personalized information corresponding to different ECG signal acquisition modules. For example, in the case where the user needs to perform ECG signal detection of multiple leads, the ECG signal acquisition module 102a and the ECG signal acquisition module 102b can respectively perform ECG signal acquisition of different leads, then, the above-mentioned message 1 may include but is not limited to the following information: information for indicating which lead or leads of ECG signal the ECG signal acquisition module 102a needs to collect, and the above-mentioned message 2 may include but is not limited to the following information: information for indicating which lead or leads of ECG signal the ECG signal acquisition module 102b needs to collect.

[0132] It should be noted that the embodiment of the present application does not limit the time sequence of executing the above steps S502 and S503. The above steps S502 and S503 can be executed simultaneously, or step S502 can be executed before or after step S503.

[0133] S504 , the ECG signal processing module 101 sends the configuration information 1 required in the ECG signal collection process to the ECG signal collection module 102 a .

[0134] The configuration information 1 may include but is not limited to the following information: sampling frequency, working mode, data cache length, interrupt mode, electrode input / output mode, and clock calibration parameters.

[0135] The above sampling frequency may be used to indicate the frequency at which the ECG signal acquisition module 102a acquires signals (eg, ECG signals).

[0136] The above working mode can be used to indicate which signal the ECG signal acquisition module 102a needs to collect. In the embodiment of the present application, the ECG signal acquisition module 102a can not only collect ECG signals, but also collect other physiological signals (such as PPG signals, etc.). Therefore, the configuration information of the above working mode may include information for indicating which signal the ECG signal acquisition module 102a needs to collect. In the embodiment of the present application, the configuration information of the above working mode may include information for indicating that the ECG signal acquisition module 102a needs to collect ECG signals.

[0137] The data cache length can be used to indicate the length of the signal collected by the ECG signal acquisition module 102a that can be cached in the register. It is easy to understand that the data cache length is a kind of configuration information belonging to the register. In some embodiments, the configuration information 1 can also include more configuration information about the register (such as the name, address, bit table, read and write permissions of the register, etc.). The ECG signal acquisition module 102a can configure the register based on the configuration information of the register.

[0138] The above interrupt mode can be used to indicate the timing of the ECG signal acquisition module 102a triggering an interrupt. In the embodiment of the present application, the timing of the ECG signal acquisition module 102a triggering an interrupt can be when the ECG signal acquisition module 102a completes the ECG signal acquisition, that is, after the ECG signal acquisition module 102a completes the ECG signal acquisition, the ECG signal acquisition module 102a can send an interrupt signal of completing the ECG signal acquisition to the ECG signal processing module 101, so that the ECG signal processing module 101 can receive the ECG signal that has been acquired by the ECG signal acquisition module 102a.

[0139] The input / output mode of the electrode can be used to indicate whether the signal input / output by the electrode is electric potential (or potential), current or impedance. In the embodiment of the present application, the signal output by the electrode is electric potential.

[0140] The clock calibration parameters (i.e., parameters of the calibrated clock signal) can be used to indicate the clock frequency of the ECG signal acquisition module 102a. The configuration information of the clock calibration parameters can include, but is not limited to, information such as the calibrated clock frequency.

[0141] In the embodiment of the present application, since at least two ECG signal acquisition modules are required to collect ECG signals, in order to enable all ECG signal acquisition modules to synchronously collect ECG signals, before the wearable device 100 leaves the factory, the clock signal of each ECG signal acquisition module can be calibrated and the clock calibration parameters can be burned into the wearable device 100.

[0142] In some embodiments, the wearable device 100 can use a crystal oscillator to perform clock calibration on multiple ECG signal acquisition modules. The frequency of the crystal oscillator can be 24Mhz to meet the high-precision clock calibration requirements. The crystal oscillator can be integrated in the ECG signal processing module 101 or can be independent of the ECG signal processing module 101.

[0143] In some embodiments, the calibrated clock frequency of the ECG signal acquisition module can be calculated by the following formula: y=kx+a, where y is the calibrated clock frequency, x is the clock frequency before calibration, k is the calibration coefficient, and a is the frequency deviation coefficient.

[0144] S505 . The ECG signal processing module 101 sends the configuration information 2 required in the ECG signal collection process to the ECG signal collection module 102 b .

[0145] The configuration information 2 may include but is not limited to the following information: sampling frequency, working mode, data cache length, interrupt mode, electrode input / output mode, and clock calibration parameters.

[0146] The above sampling frequency can be used to indicate the frequency at which the ECG signal acquisition module 102b acquires signals (eg, ECG signals).

[0147] The above working mode can be used to indicate which signal the ECG signal acquisition module 102b needs to collect. In the embodiment of the present application, the ECG signal acquisition module 102b can not only collect ECG signals, but also collect other physiological signals (such as PPG signals, etc.). Therefore, the configuration information of the above working mode may include information for indicating which signal the ECG signal acquisition module 102b needs to collect. In the embodiment of the present application, the configuration information of the above working mode may include information for indicating that the ECG signal acquisition module 102b needs to collect ECG signals.

[0148] The data cache length can be used to indicate the length of the signal collected by the ECG signal acquisition module 102b that can be cached in the register. It is easy to understand that the data cache length is a kind of configuration information belonging to the register. In some embodiments, the configuration information 2 can also include more configuration information about the register (such as the name, address, bit table, read and write permissions of the register, etc.). The ECG signal acquisition module 102b can configure the register based on the configuration information of the register.

[0149] The above interrupt mode can be used to indicate the timing of the ECG signal acquisition module 102b triggering an interrupt. In the embodiment of the present application, the timing of the ECG signal acquisition module 102b triggering an interrupt can be when the ECG signal acquisition module 102b completes the ECG signal acquisition, that is, after the ECG signal acquisition module 102b completes the ECG signal acquisition, the ECG signal acquisition module 102b can send an interrupt signal of completing the ECG signal acquisition to the ECG signal processing module 101, so that the ECG signal processing module 101 can receive the ECG signal that has been acquired by the ECG signal acquisition module 102b.

[0150] The input / output mode of the electrode can be used to indicate whether the signal input / output by the electrode is electric potential (or potential), current or impedance. In the embodiment of the present application, the signal output by the electrode is electric potential.

[0151] The clock calibration parameters (i.e., parameters of the calibrated clock signal) can be used to indicate the clock frequency of the ECG signal acquisition module 102b. The configuration information of the clock calibration parameters can include, but is not limited to, information such as the calibrated clock frequency.

[0152] In some embodiments, the above steps S504 and S505 may be performed before the above steps S502 and / or S503. In another embodiment, the above steps S504 and S505 may also be performed before the above step S501. In this way, the relevant configuration work involved in the ECG signal detection process can be completed in advance. After the user triggers the ECG signal detection, the wearable device 100 can quickly perform the ECG signal detection process without performing the relevant configuration work, thereby reducing the delay of the ECG signal detection process and improving the user experience.

[0153] In other embodiments, the configuration information 1 in step S504 may be included in the message 1 in step S502, and the configuration information 2 in step S505 may be included in the message 2 in step S503. It is easy to understand that in this case, step S504 and step S505 may not be performed again.

[0154] It should be noted that the embodiment of the present application does not limit the time sequence of executing the above steps S504 and S505. The above steps S504 and S505 can be executed simultaneously, or step S504 can be executed before or after step S505.

[0155] S506 , the ECG signal acquisition module 102 a acquires the ECG signal 1 .

[0156] S507 , the ECG signal acquisition module 102 b acquires ECG signal 2 .

[0157] Specifically, the ECG signal acquisition module 102a can perform parameter configuration (e.g., register parameter configuration, etc.) based on the configuration information 1, and the ECG signal acquisition module 102b can also perform parameter configuration (e.g., register parameter configuration, etc.) based on the configuration information 1. After the parameter configuration is completed, the ECG signal acquisition module 102a and the ECG signal acquisition module 102b can synchronously acquire ECG signals based on the parameters of the calibrated clock signal. That is, the above step S506 and the above step S507 are executed simultaneously.

[0158] In the embodiment of the present application, each ECG signal acquisition module can collect electrical signals on the surface of the limbs corresponding to the three electrodes. The wearable device 100 in the embodiment of the present application can collect electrical signals on the surface of the limbs for obtaining ECG signals corresponding to multiple leads through the ECG signal acquisition module 102a and the ECG signal acquisition module 102b. It can be seen from the above Table 1 that as long as the electrical signals on the surface of the limbs for obtaining the ECG signals corresponding to the limb I lead and the electrical signals on the surface of the limbs for obtaining the ECG signals corresponding to the limb III lead are collected, the ECG signals corresponding to the other four leads (i.e., limb II lead, pressurized unipolar limb aVL lead, pressurized unipolar limb aVR lead, pressurized unipolar limb aVF lead) can be obtained. Therefore, in the ECG signal acquisition module 102a and the ECG signal acquisition module 102b, one of the ECG signal acquisition modules can be responsible for collecting the electrical signals on the surface of the limbs for obtaining the ECG signals corresponding to the limb I lead, and the other ECG signal acquisition module can be responsible for collecting the electrical signals on the surface of the limbs for obtaining the ECG signals corresponding to the limb III lead.

[0159] For example, it is assumed that the ECG signal acquisition module 102a is responsible for acquiring the electrical signal on the surface of the limb for obtaining the ECG signal corresponding to the limb I lead, and the ECG signal acquisition module 102b is responsible for acquiring the electrical signal on the surface of the limb for obtaining the ECG signal corresponding to the limb III lead. Since the limb I lead reflects the potential difference between the left upper limb and the right upper limb, and the limb III lead reflects the potential difference between the left lower limb and the left upper limb, therefore, referring to Figure 3, the ECG signal acquisition module 102a can obtain the potential of the left upper limb electrode 103a, the potential of the right upper limb electrode 103b, and the potential of the right lower limb electrode 103d, and the ECG signal acquisition module 102b can obtain the potential of the left upper limb electrode 103a, the potential of the left lower limb electrode 103c, and the potential of the right lower limb electrode 103d, wherein the potential of the right lower limb electrode 103d can be used as a reference potential. It is easy to understand that in this case, the ECG signal 1 can include the potential of the left upper limb electrode 103a, the potential of the right upper limb electrode 103b, and the potential of the right lower limb electrode 103d, and the ECG signal 2 can include the potential of the left upper limb electrode 103a, the potential of the left lower limb electrode 103c, and the potential of the right lower limb electrode 103d.

[0160] It is easy to understand that, assuming that the ECG signal acquisition module 102a is responsible for acquiring the electrical signal on the surface of the limb for obtaining the ECG signal corresponding to the limb III lead, and the ECG signal acquisition module 102b is responsible for acquiring the electrical signal on the surface of the limb for obtaining the ECG signal corresponding to the limb I lead, then, referring to Figure 3 , the ECG signal acquisition module 102a can obtain the potential of the left upper limb electrode 103a, the potential of the left lower limb electrode 103c, and the potential of the right lower limb electrode 103d, and the ECG signal acquisition module 102b can obtain the potential of the left upper limb electrode 103a, the potential of the right upper limb electrode 103b, and the potential of the right lower limb electrode 103d, wherein the potential of the right lower limb electrode 103d can be used as a reference potential. It is easy to understand that in this case, the ECG signal 1 can include the potential of the left upper limb electrode 103a, the potential of the left lower limb electrode 103c, and the potential of the right lower limb electrode 103d, and the ECG signal 2 can include the potential of the left upper limb electrode 103a, the potential of the right upper limb electrode 103b, and the potential of the right lower limb electrode 103d.

[0161] In some embodiments, according to the aforementioned Table 1, in the ECG signal acquisition module 102a and the ECG signal acquisition module 102b, the ECG signal acquisition module 102a and the ECG signal acquisition module 102b can also respectively collect the electrical signals on the limb surface of the ECG signals corresponding to any two of the limb I leads, limb II leads, and limb III leads, thereby obtaining the ECG signals corresponding to the other four leads.

[0162] It should be noted that the present application embodiment does not limit the sampling frequency and sampling duration of the ECG signal acquisition module 102a and the ECG signal acquisition module 102b. In some embodiments, the sampling frequency can be 500 Hz and the sampling duration can be 100 ms. In this way, the ECG signal acquisition module 102a and the ECG signal acquisition module 102b can respectively collect 50 groups of ECG signals.

[0163] In some embodiments, the ECG signal acquisition module 102a or the ECG signal acquisition module 102b can not only acquire ECG signals, but also acquire PPG signals at the same time, and can send the acquired PPG signals to the ECG signal processing module 101, and the ECG signal processing module 101 can also process the PPG signals to measure and analyze the user's heart rate. In the process of acquiring PPG signals, the ECG signal processing module 101 can also send the configuration information required in the PPG signal acquisition process to the ECG signal acquisition module 102a or the ECG signal acquisition module 102b. The parameter configuration process is similar to the parameter configuration process of ECG signal acquisition, which will not be repeated here.

[0164] S508 . The ECG signal acquisition module 102 a sends the ECG signal 1 to the ECG signal processing module 101 .

[0165] Specifically, after completing the acquisition of the ECG signal 1 , the ECG signal acquisition module 102 a may send the ECG signal 1 to the ECG signal processing module 101 , so that the ECG signal processing module 101 may subsequently generate an ECG signal corresponding to the ECG lead based on the ECG signal 1 .

[0166] In the embodiment of the present application, before the ECG signal acquisition module 102a executes the above step S508, the ECG signal acquisition module 102a may also send an interrupt signal 1 to the ECG signal processing module 101, and the interrupt signal 1 may be used to indicate that the ECG signal acquisition module 102a has completed signal acquisition, and the ECG signal processing module 101 needs to receive the signal that the ECG signal acquisition module 102a has completed acquisition. Further, after receiving the interrupt signal 1 sent by the ECG signal acquisition module 102a, the ECG signal processing module 101 may record the timestamp corresponding to the reception of the interrupt signal 1, and may receive the signal that the ECG signal acquisition module 102a has completed acquisition.

[0167] In some embodiments, the timestamp may also be recorded by the ECG signal acquisition module 102a and sent to the ECG signal processing module 101. The ECG signal processing module 101 may record the timestamp after receiving the timestamp.

[0168] S509 . The ECG signal acquisition module 102 b sends the ECG signal 2 to the ECG signal processing module 101 .

[0169] Specifically, after completing the acquisition of the ECG signal 2 , the ECG signal acquisition module 102 b may send the ECG signal 2 to the ECG signal processing module 101 , so that the ECG signal processing module 102 may subsequently generate an ECG signal corresponding to the ECG lead based on the ECG signal 2 .

[0170] In the embodiment of the present application, before the ECG signal acquisition module 102b executes the above step S509, the ECG signal acquisition module 102b may also send an interrupt signal 2 to the ECG signal processing module 101, and the interrupt signal 2 may be used to indicate that the ECG signal acquisition module 102b has completed signal acquisition, and the ECG signal processing module 101 needs to receive the signal that the ECG signal acquisition module 102b has completed acquisition. Further, after receiving the interrupt signal 2 sent by the ECG signal acquisition module 102b, the ECG signal processing module 101 may record the timestamp corresponding to the reception of the interrupt signal 2, and may receive the signal that the ECG signal acquisition module 102b has completed acquisition.

[0171] In some embodiments, the timestamp may also be recorded by the ECG signal acquisition module 102 b and sent to the ECG signal processing module 101 , and the ECG signal processing module 101 may record the timestamp after receiving it.

[0172] It is easy to understand that the above two timestamps recorded by the ECG signal processing module 101 can be used to obtain the differential information of the ECG signal 1 and the ECG signal 2, so that the ECG signal processing module 101 can accurately locate the time information of each data point in the process of data aggregation of the two signals, meet the requirements of algorithm accuracy, and further obtain more accurate data processing results.

[0173] S510 , the ECG signal processing module 101 generates ECG signals corresponding to multiple leads based on the ECG signal 1 and the ECG signal 2 .

[0174] Specifically, after receiving the above-mentioned ECG signal 1 and the above-mentioned ECG signal 2, the ECG signal processing module 101 can generate ECG signals corresponding to multiple leads based on the above-mentioned ECG signal 1 and the above-mentioned ECG signal 2.

[0175] Taking the case where the multiple leads are six leads as an example, since the ECG signal 1 and the ECG signal 2 include the potential of the left upper limb electrode 103a, the potential of the right upper limb electrode 103b, and the potential of the left lower limb electrode 103c, therefore, referring to the aforementioned Table 1, the ECG signal processing module 101 can determine the ECG signal corresponding to the limb I lead based on the potential difference between the potential of the left upper limb electrode 103a and the potential of the right upper limb electrode 103b; the ECG signal processing module 101 can determine the ECG signal corresponding to the limb I lead based on the potential difference between the potential of the left lower limb electrode 103c and the potential of the right upper limb electrode 103b. Determine the ECG signal corresponding to limb II lead; the ECG signal processing module 101 can determine the ECG signal corresponding to limb II lead based on the potential difference between the potential of the left lower limb electrode 103c and the potential of the left upper limb electrode 103a; the ECG signal processing module 101 can respectively determine the ECG signal corresponding to the pressurized unipolar limb aVL lead, the ECG signal corresponding to the pressurized unipolar limb aVR lead, and the ECG signal corresponding to the pressurized unipolar limb aVF lead based on the potential of the left upper limb electrode 103a, the potential of the right upper limb electrode 103b, and the potential of the left lower limb electrode 103c.

[0176] In some embodiments, since the ECG signal 1 and the ECG signal 2 are received by the ECG signal processing module 101 successively, rather than simultaneously, the ECG signal processing module 101 may also generate an ECG signal corresponding to the corresponding lead based on the ECG signal received first. For example, the ECG signal first received by the ECG signal processing module 101 is the ECG signal 1, which includes the potential of the left upper limb electrode 103a and the potential of the right upper limb electrode 103b. Then, the ECG signal processing module 101 may determine the ECG signal corresponding to the limb I lead based on the potential difference between the potential of the left upper limb electrode 103a and the potential of the right upper limb electrode 103b.

[0177] In some embodiments, the ECG signal processing module 101 may also only process the ECG signals with good signal quality collected by the ECG signal collection module to obtain ECG signals corresponding to the corresponding leads. In this way, more accurate ECG information can be presented to the user, giving the user a better experience.

[0178] In some embodiments, the above-mentioned ECG signal 1 and the above-mentioned ECG signal 2 may be two ECG signals with a longer acquisition time acquired at one time, and the ECG signal processing module 101 may generate ECG signals corresponding to multiple leads that meet the requirements based on the two ECG signals with a longer acquisition time; in other embodiments, the above-mentioned ECG signal 1 and the above-mentioned ECG signal 2 may also be two ECG signals with a shorter acquisition time acquired multiple times. In this case, in one possible implementation, the ECG signal processing module 101 may first process the two ECG signals with a shorter acquisition time acquired multiple times to obtain two ECG signals with a longer acquisition time, and further, may generate ECG signals corresponding to multiple leads that meet the requirements based on the two ECG signals with a longer acquisition time; in another possible implementation, the ECG signal processing module 101 may also first generate ECG signals with shorter acquisition time corresponding to multiple leads based on the two ECG signals with a shorter acquisition time acquired multiple times, and further, may process the ECG signals with a shorter acquisition time corresponding to multiple leads to obtain ECG signals with a longer acquisition time corresponding to multiple leads that meet the requirements.

[0179] In the embodiment of the present application, the wearable device 100 needs to generate the ECG signals corresponding to the number of leads and the ECG signals corresponding to the leads or leads, which can be the default of the wearable device 100 or the user's choice. The wearable device 100 can generate an ECG signal corresponding to one lead or multiple leads. It is easy to understand that when the wearable device 100 only needs to generate an ECG signal corresponding to one of the limb I lead, limb III lead, and limb III lead, the wearable device 100 can only start one ECG signal acquisition module (such as ECG signal acquisition module 102a or ECG signal acquisition module 102b) to perform ECG signal acquisition.

[0180] In some embodiments, after the wearable device 100 executes the above step S510, it can also analyze the ECG signals of the multiple leads to determine whether the user's heart is in a healthy state. For example, the wearable device 100 can compare the ECG signals of the multiple leads with normal ECG signals. When the ECG signals of at least one of the multiple leads show characteristics related to heart disease compared to normal ECG signals, the wearable device 100 can output heart health status reminder information in the form of interface display or voice broadcast to prompt the user that the heart may be abnormal, so that the user can be informed in time and can further perform a more professional and effective diagnosis; when the ECG signals of all the leads in the multiple leads do not show characteristics related to heart disease compared to normal ECG signals, the wearable device 100 can output normal heart health status information in the form of interface display or voice broadcast to prompt the user that the heart is not abnormal. Optionally, the above process of analyzing the ECG signals of the multiple leads and outputting the heart health status information can also be performed by other electronic devices (such as mobile phones) that establish a communication connection with the wearable device 100. It is easy to understand that in this case, the wearable device 100 can send the ECG signals of the multiple leads to the electronic device that establishes a communication connection with it after executing the above step S510.

[0181] The following is a schematic diagram of the software structure of a wearable device 100 provided in an embodiment of the present application.

[0182] Figure 6 The software structure of a wearable device 100 provided in an embodiment of the present application is exemplified.

[0183] like Figure 6 As shown, the software system of the wearable device 100 can adopt a layered architecture, an event-driven architecture, a micro-core architecture, a micro-service architecture, or a cloud architecture. The embodiment of the present application takes a layered architecture system as an example to exemplify the software structure of the wearable device 100.

[0184] The layered architecture divides the software into several layers, each with a clear role and division of labor. The layers communicate with each other through software interfaces. In some examples, the system of the electronic device is divided into four layers, from top to bottom: application layer, application framework layer, system library, and kernel and hardware platform layer.

[0185] The application layer can include a series of application packages.

[0186] like Figure 6 As shown, the application package may include applications such as sports, heart rate monitoring, sleep monitoring, ECG collection, music, weather, calls, settings, alarms, payments, etc.

[0187] The ECG acquisition application is an application installed on the electronic device 100 for realizing ECG signal acquisition and detection functions.

[0188] The ECG signal detection method provided in the embodiment of the present application can be implemented through the above-mentioned ECG acquisition application program. The specific process of ECG signal detection can refer to the relevant content in the aforementioned embodiment and will not be repeated here.

[0189] It should be noted that the name of the ECG acquisition application is only a term used in the embodiment of the present application, and its meaning has been recorded in the embodiment of the present application. Its name does not constitute any limitation to the embodiment of the present application.

[0190] The application framework layer provides an application programming interface (API) and a programming framework for the applications in the application layer. The application framework layer includes some predefined functions.

[0191] like Figure 6 As shown, the application framework layer may include a window manager, a content provider, a view system, a phone manager, a resource manager, a notification manager, and the like.

[0192] The window manager can be used to provide window management services and manage window programs. For example, the window manager can obtain the display screen size, determine whether there is a status bar, lock the screen, capture the screen, etc.

[0193] Content providers can be used to store and retrieve data and make it accessible to applications. The data may include video, images, audio, calls made and received, etc.

[0194] The view system can include visual controls, such as controls for displaying text, controls for displaying images, etc. The view system can be used to build applications. The display interface can be composed of one or more views. For example, a view for displaying text and a view for displaying images.

[0195] The phone manager can be used to provide communication functions of the wearable device 100, such as management of call status (including answering, hanging up, etc.).

[0196] The resource manager provides various resources for applications, such as localized strings, icons, images, layout files, video files, and so on.

[0197] The notification manager enables applications to display notification information in the status bar. It can be used to convey notification-type messages and can disappear automatically after a short stay without user interaction. For example, the notification manager is used to notify download completion, message reminders, etc. The notification manager can also be a notification that appears in the system top status bar in the form of a chart or scroll bar text, such as notifications of applications running in the background, or a notification that appears on the screen in the form of a dialog window. For example, a text message is displayed in the status bar, a prompt sound is emitted, an electronic device vibrates, an indicator light flashes, etc.

[0198] The system library may include multiple functional modules, such as surface manager, media library, 3D graphics processing library (such as OpenGL ES), 2D graphics engine (such as SGL), etc.

[0199] The surface manager is used to manage the display subsystem and provide the fusion of 2D and 3D layers for multiple applications.

[0200] The media library supports playback and recording of a variety of commonly used audio and video formats, as well as static image files, etc. The media library can support a variety of audio and video encoding formats, such as: MPEG4, H.264, MP3, AAC, AMR, JPG, PNG, etc.

[0201] The 3D graphics processing library is used to implement 3D graphics drawing, image rendering, compositing, and layer processing.

[0202] A 2D graphics engine is a drawing engine for 2D drawings.

[0203] The kernel and hardware platform layer may include a hardware abstraction layer (HardwareAbstractLayer, HAL) and a kernel layer (Kernel).

[0204] The hardware abstraction layer runs in the user space, encapsulates the kernel layer driver, and provides a calling interface to the upper layer. The hardware abstraction layer can include multiple service calling interfaces.

[0205] In an embodiment of the present application, the hardware abstraction layer may include a control logic interface and a data aggregation interface.

[0206] Among them, the control logic interface can be used to implement the control function, for example, it can control the hardware on the wearable device 100 to perform ECG signal detection according to the corresponding logic.

[0207] The data aggregation interface can be used to implement a data aggregation function, for example, to aggregate ECG data collected by multiple ECG signal acquisition chips (eg, multiple AFEs).

[0208] The kernel layer is the layer between hardware and software. The kernel layer contains at least display drivers, Bluetooth drivers, and sensor drivers. For example, the kernel layer may include a kernel abstract layer (KAL) and a driver subsystem. KAL includes one or more kernels, such as LiteOS, a lightweight IoT system kernel. The driver subsystem may include a hardware driver framework (HDF). The hardware driver framework can provide unified peripheral access capabilities and a driver development and management framework. The kernel layer of multiple kernels can select the corresponding kernel for processing according to system requirements.

[0209] In the embodiment of the present application, the core layer may include a device parallel driver for realizing parallel operation of multiple hardware on the wearable device 100. For example, multiple ECG signal acquisition chips (such as multiple AFEs) can perform ECG signal acquisition in parallel.

[0210] The above-mentioned multiple ECG signal acquisition chips can be regarded as a whole, that is, they are normalized for the upper layer interface and are easy to control.

[0211] In some embodiments, there may also be a system service layer (not shown in the figure) between the application framework layer and the kernel and hardware platform layer. The system service layer may be used as a core capability set of the system to provide services to the application. The embodiment of the present application does not limit the position of the system service layer in the software structure. It may be between the application layer and the application framework layer, or between the application framework layer and the system library, etc.

[0212] In some embodiments, the wearable device 100 may further include a wireless communication module, such as a Bluetooth communication module, which may be used to communicate wirelessly with other electronic devices.

[0213] Understandably, Figure 6 The software structure shown is only exemplary and should not impose any restrictions on the software structure of the wearable device 100 in the embodiment of the present application. For example, in some examples, the software structure of the wearable device 100 may be similar to Figure 6 Different hierarchical structures, or each layer may also include more or fewer modules, or a combination of multiple different modules, etc., which is not limited in the embodiments of the present application.

[0214] The following is a schematic diagram of the hardware structure of a wearable device 100 provided in an embodiment of the present application.

[0215] Figure 7 The hardware structure of a wearable device 100 provided in an embodiment of the present application is exemplified.

[0216] like Figure 7 As shown, the wearable device 100 may include: a processor 110, a memory 120, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna, a wireless communication module 160, an audio module 170, a sensor module 180, a button 190, a motor 191, an indicator 192, a camera 193, a display screen 194, etc. The sensor module 180 may include a photoelectric volume pulse wave sensor 180A, a gyroscope sensor 180B, an electrocardiogram sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, etc.

[0217] It is understood that the structure illustrated in the embodiment of the present application does not constitute a specific limitation on the wearable device 100. In other embodiments of the present application, the wearable device 100 may include more or fewer components than shown in the figure, or combine certain components, or split certain components, or arrange the components differently. The components shown in the figure may be implemented in hardware, software, or a combination of software and hardware.

[0218] The processor 110 may include one or more processing units, for example, the processor 110 may include an application processor (AP), a modem processor, a graphics processor (GPU), an image signal processor (ISP), a controller, a memory, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU), etc. Different processing units may be independent devices or integrated into one or more processors.

[0219] The controller may be the nerve center and command center of the wearable device 100. The controller may generate an operation control signal according to the instruction operation code and the timing signal to complete the control of fetching and executing instructions.

[0220] The processor 110 may also be provided with a memory for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. The memory may store instructions or data that the processor 110 has just used or cyclically used. If the processor 110 needs to use the instruction or data again, it may be directly called from the memory. This avoids repeated access, reduces the waiting time of the processor 110, and thus improves the efficiency of the system.

[0221] In some embodiments, the processor 110 may include one or more interfaces. The interface may include an inter-integrated circuit (I2C) interface, an inter-integrated circuit sound (I2S) interface, a pulse code modulation (PCM) interface, a universal asynchronous receiver / transmitter (UART) interface, a mobile industry processor interface (MIPI), a general-purpose input / output (GPIO) interface, a subscriber identity module (SIM) interface, and / or a universal serial bus (USB) interface, etc.

[0222] The I2C interface is a bidirectional synchronous serial bus, including a serial data line (SDA) and a serial clock line (SCL). In some embodiments, the processor 110 may include multiple groups of I2C buses. The processor 110 may be coupled to the touch sensor 180K, the charger, the flash, the camera 193, etc. through different I2C bus interfaces. For example: the processor 110 may be coupled to the touch sensor 180K through the I2C interface, so that the processor 110 communicates with the touch sensor 180K through the I2C bus interface, thereby realizing the touch function of the wearable device 100.

[0223] The I2S interface can be used for audio communication. In some embodiments, the processor 110 can include multiple I2S buses. The processor 110 can be coupled to the audio module 170 via the I2S bus to achieve communication between the processor 110 and the audio module 170. In some embodiments, the audio module 170 can transmit an audio signal to the wireless communication module 160 via the I2S interface to achieve the function of answering a call through a Bluetooth headset.

[0224] The PCM interface can also be used for audio communication, sampling, quantizing and encoding analog signals. In some embodiments, the audio module 170 and the wireless communication module 160 can be coupled via a PCM bus interface. In some embodiments, the audio module 170 can also transmit audio signals to the wireless communication module 160 via the PCM interface to realize the function of answering calls via a Bluetooth headset. Both the I2S interface and the PCM interface can be used for audio communication.

[0225] The UART interface is a universal serial data bus for asynchronous communication. The bus can be a bidirectional communication bus. It converts the data to be transmitted between serial communication and parallel communication. In some embodiments, the UART interface is generally used to connect the processor 110 and the wireless communication module 160. For example, the processor 110 communicates with the Bluetooth module in the wireless communication module 160 through the UART interface to implement the Bluetooth function. In some embodiments, the audio module 170 can transmit an audio signal to the wireless communication module 160 through the UART interface to implement the function of playing music through a Bluetooth headset.

[0226] The MIPI interface can be used to connect the processor 110 with peripheral devices such as the display screen 194 and the camera 193. The MIPI interface includes a camera serial interface (CSI), a display serial interface (DSI), etc. In some embodiments, the processor 110 and the camera 193 communicate via the CSI interface to realize the shooting function of the wearable device 100. The processor 110 and the display screen 194 communicate via the DSI interface to realize the display function of the wearable device 100.

[0227] The GPIO interface can be configured by software. The GPIO interface can be configured as a control signal or as a data signal. In some embodiments, the GPIO interface can be used to connect the processor 110 with the camera 193, the display 194, the wireless communication module 160, the audio module 170, the sensor module 180, etc. The GPIO interface can also be configured as an I2C interface, an I2S interface, a UART interface, a MIPI interface, etc.

[0228] The USB interface 130 is an interface that complies with the USB standard specification, and can be a Mini USB interface, a Micro USB interface, a USB Type C interface, etc. The USB interface 130 can be used to connect a charger to charge the wearable device 100, and can also be used to transmit data between the wearable device 100 and peripheral devices. It can also be used to connect headphones to play audio through the headphones. The interface can also be used to connect other terminal devices, such as AR devices, etc.

[0229] It is understandable that the interface connection relationship between the modules illustrated in the embodiment of the present application is only a schematic illustration and does not constitute a structural limitation on the wearable device 100. In other embodiments of the present application, the wearable device 100 may also adopt different interface connection methods in the above embodiments, or a combination of multiple interface connection methods.

[0230] The charging management module 140 is used to receive charging input from a charger. The charger may be a wireless charger or a wired charger. In some wired charging embodiments, the charging management module 140 may receive charging input from a wired charger through the USB interface 130. In some wireless charging embodiments, the charging management module 140 may receive wireless charging input through a wireless charging coil of the wearable device 100. While the charging management module 140 is charging the battery 142, it may also power the wearable device 100 through the power management module 141.

[0231] The power management module 141 is used to connect the battery 142, the charging management module 140 and the processor 110. The power management module 141 receives input from the battery 142 and / or the charging management module 140, and supplies power to the processor 110, the memory 120, the display screen 194, the camera 193, and the wireless communication module 160. The power management module 141 can also be used to monitor parameters such as battery capacity, battery cycle number, battery health status (leakage, impedance), etc. In some other embodiments, the power management module 141 can also be set in the processor 110. In other embodiments, the power management module 141 and the charging management module 140 can also be set in the same device.

[0232] The wireless communication function of the wearable device 100 can be implemented through an antenna, a wireless communication module 160, a modem processor, a baseband processor, and the like.

[0233] The antenna is used to transmit and receive electromagnetic wave signals. Each antenna in the wearable device 100 can be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve the utilization of the antenna. In some embodiments, the antenna can be used in combination with a tuning switch.

[0234] The wireless communication module 160 can provide wireless communication solutions including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), infrared (IR), etc., which are applied to the wearable device 100. The wireless communication module 160 can be one or more devices integrating at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via an antenna, modulates and filters the electromagnetic wave signals, and sends the processed signals to the processor 110. The wireless communication module 160 can also receive the signal to be sent from the processor 110, modulate the frequency, amplify it, and convert it into electromagnetic waves for radiation through the antenna.

[0235] In some embodiments, the antenna of the wearable device 100 is coupled to the wireless communication module 160 so that the wearable device 100 can communicate with the network and other devices through wireless communication technology. The wireless communication technology may include global system for mobile communications (GSM), general packet radio service (GPRS), code division multiple access (CDMA), wideband code division multiple access (WCDMA), time-division code division multiple access (TD-SCDMA), long-term evolution (LTE), BT, GNSS, WLAN, NFC, FM, and / or IR technology, etc. The GNSS may include global positioning system (GPS), global navigation satellite system (GLONASS), Beidou navigation satellite system (BDS), quasi-zenith satellite system (QZSS) and / or satellite based augmentation system (SBAS).

[0236] The wearable device 100 implements display functions through a GPU, a display screen 194, and an application processor. The GPU is a microprocessor for image processing, which connects the display screen 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The processor 110 may include one or more GPUs that execute program instructions to generate or change display information.

[0237] The display screen 194 is used to display images, videos, etc. The display screen 194 includes a display panel. The display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode or an active-matrix organic light-emitting diode (AMOLED), a flexible light-emitting diode (FLED), Miniled, MicroLed, Micro-oLed, a quantum dot light-emitting diode (QLED), etc. In some embodiments, the wearable device 100 may include 1 or N display screens 194, where N is a positive integer greater than 1.

[0238] The wearable device 100 can realize the shooting function through ISP, camera 193, video codec, GPU, display screen 194 and application processor.

[0239] ISP is used to process the data fed back by camera 193. For example, when taking a photo, the shutter is opened, and the light is transmitted to the camera photosensitive element through the lens. The light signal is converted into an electrical signal, and the camera photosensitive element transmits the electrical signal to ISP for processing and converts it into an image visible to the naked eye. ISP can also perform algorithm optimization on the noise, brightness, etc. of the image. ISP can also optimize the exposure, color temperature and other parameters of the shooting scene. In some embodiments, ISP can be set in camera 193.

[0240] The camera 193 is used to capture still images or videos. The object generates an optical image through the lens and projects it onto the photosensitive element. The photosensitive element can be a charge coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The photosensitive element converts the light signal into an electrical signal, and then passes the electrical signal to the ISP to be converted into a digital image signal. The ISP outputs the digital image signal to the DSP for processing. The DSP converts the digital image signal into an image signal in a standard RGB, YUV or other format. In some embodiments, the wearable device 100 may include 1 or N cameras 193, where N is a positive integer greater than 1.

[0241] The digital signal processor is used to process digital signals. In addition to processing digital image signals, it can also process other digital signals. For example, when the wearable device 100 is selecting a frequency point, the digital signal processor is used to perform Fourier transform on the frequency point energy.

[0242] Video codecs are used to compress or decompress digital videos. The wearable device 100 may support one or more video codecs. In this way, the wearable device 100 can play or record videos in multiple coding formats, such as Moving Picture Experts Group (MPEG) 1, MPEG2, MPEG3, MPEG4, etc.

[0243] NPU is a neural network (NN) computing processor. By drawing on the structure of biological neural networks, such as the transmission mode between neurons in the human brain, it can quickly process input information and can also continuously self-learn. Through NPU, applications such as intelligent cognition of the wearable device 100 can be realized, such as image recognition, face recognition, voice recognition, text understanding, etc.

[0244] The memory 120 can be used to store computer executable program codes, and the executable program codes include instructions. The memory 120 may include a program storage area and a data storage area. Among them, the program storage area may store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc. The data storage area may store data created during the use of the wearable device 100 (such as audio data, a phone book, etc.), etc. In addition, the memory 120 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, a universal flash storage (UFS), etc. The processor 110 executes various functional applications and data processing of the wearable device 100 by running instructions stored in the memory 120 and / or instructions stored in a memory provided in the processor 110.

[0245] The wearable device 100 can implement audio functions such as music playing and recording through the audio module 170 and the application processor.

[0246] The audio module 170 is used to convert digital audio information into analog audio signal output, and is also used to convert analog audio input into digital audio signals. The audio module 170 can also be used to encode and decode audio signals. In some embodiments, the audio module 170 can be arranged in the processor 110, or some functional modules of the audio module 170 can be arranged in the processor 110.

[0247] The photoplethysmography sensor 180A can measure the attenuated light reflected and absorbed by human blood vessels and tissues through photoplethysmography (PPG), based on LED light sources and detectors, record the pulsation state of blood vessels, and measure PPG signals. PPG signals contain a lot of cardiovascular physiological and pathological information, and are an important means to achieve real-time monitoring of cardiovascular status such as blood pressure and vascular elasticity.

[0248] In some embodiments, the wearable device 100 can perform heart rate variability (HRV) analysis through PPG signals to determine the condition and prevention of cardiovascular diseases. HRV parameters are a valuable indicator for predicting sudden cardiac death and arrhythmia events. The wearable device 100 can determine whether the user has abnormal HRV through PPG signals.

[0249] In other embodiments, the wearable device 100 can determine the user's real-time heart rate through the PPG signal, and further, can measure the user's exercise intensity based on the real-time heart rate to determine whether the user is exercising vigorously.

[0250] The gyroscope sensor 180B can be used to determine the motion posture of the wearable device 100. In some embodiments, the angular velocity of the wearable device 100 around three axes (i.e., x, y, and z axes) can be determined by the gyroscope sensor 180B. The gyroscope sensor 180B can be used for anti-shake shooting. For example, when the shutter is pressed, the gyroscope sensor 180B detects the angle of the wearable device 100 shaking, calculates the distance that the lens module needs to compensate based on the angle, and allows the lens to offset the shaking of the wearable device 100 through reverse movement to achieve anti-shake. The gyroscope sensor 180B can also be used for navigation and somatosensory game scenes.

[0251] The ECG sensor 180C can be used to perform ECG measurements on multiple leads of a limb to obtain electrocardiogram (ECG) data.

[0252] Optionally, the wearable device 100 may be configured with multiple electrodes corresponding to the ECG sensor 180C for completing ECG measurement of multiple leads of a limb. The present embodiment of the application does not specifically limit the positions of the multiple electrodes, but the positions of the multiple electrodes should at least meet the requirements of the ECG measurement process of multiple leads of a limb.

[0253] Taking the limb six-lead ECG measurement as an example, assuming that the wearable device 100 is a smart watch, the wearable device 100 may be configured with four electrodes, namely electrode A, electrode B, electrode C, and electrode D. Assuming that the positions of the four electrodes are Figure 4A and Figure 4B(or Figure 4A and Figure 4C ) is shown as an example.

[0254] For example, the user wears the wearable device 100 on the left wrist, the user can place the right hand fingers on electrode B, and the user can place electrode C on the left ankle, maintain a preset time (e.g., 30 seconds), and perform six-lead limb ECG measurement.

[0255] For another example, the user wears the wearable device 100 on the right wrist, the user can place the left fingers on the electrode B, and the user can place the electrode C on the left ankle, keep it for a preset time (for example, 30 seconds), and perform six-lead ECG measurement of the limbs.

[0256] The acceleration sensor 180E can detect the magnitude of the acceleration of the wearable device 100 in all directions (generally three axes). When the wearable device 100 is stationary, the magnitude and direction of gravity can be detected. It can also be used to identify the posture of the wearable device 100 and applied to applications such as horizontal and vertical screen switching and pedometers.

[0257] The distance sensor 180F is used to measure the distance. The wearable device 100 can measure the distance by infrared or laser. In some embodiments, when shooting a scene, the wearable device 100 can use the distance sensor 180F to measure the distance to achieve fast focusing.

[0258] The proximity light sensor 180G may include, for example, a light emitting diode (LED) and a light detector, such as a photodiode. The light emitting diode may be an infrared light emitting diode. The wearable device 100 emits infrared light outward through the light emitting diode. The wearable device 100 uses a photodiode to detect infrared reflected light from nearby objects. When sufficient reflected light is detected, it can be determined that there is an object near the wearable device 100. When insufficient reflected light is detected, the wearable device 100 can determine that there is no object near the wearable device 100. The wearable device 100 can use the proximity light sensor 180G to detect that the user holds the wearable device 100 close to the ear to talk, so as to automatically turn off the screen to save power. The proximity light sensor 180G can also be used in leather case mode and pocket mode to automatically unlock and lock the screen.

[0259] The fingerprint sensor 180H is used to collect fingerprints. The wearable device 100 can use the collected fingerprint characteristics to realize fingerprint unlocking, access application locks, fingerprint photography, fingerprint call answering, etc.

[0260] The temperature sensor 180J is used to detect temperature. In some embodiments, the wearable device 100 uses the temperature detected by the temperature sensor 180J to execute a temperature processing strategy. For example, when the temperature reported by the temperature sensor 180J exceeds a threshold, the wearable device 100 reduces the performance of a processor located near the temperature sensor 180J to reduce power consumption and implement thermal protection. In other embodiments, when the temperature is lower than another threshold, the wearable device 100 heats the battery 142 to avoid abnormal shutdown of the wearable device 100 due to low temperature. In other embodiments, when the temperature is lower than another threshold, the wearable device 100 boosts the output voltage of the battery 142 to avoid abnormal shutdown due to low temperature.

[0261] The touch sensor 180K is also called a "touch panel". The touch sensor 180K can be set on the display screen 194, and the touch sensor 180K and the display screen 194 form a touch screen, also called a "touch screen". The touch sensor 180K is used to detect touch operations acting on or near it. The touch sensor can pass the detected touch operation to the application processor to determine the type of touch event. Visual output related to the touch operation can be provided through the display screen 194. In other embodiments, the touch sensor 180K can also be set on the surface of the wearable device 100, which is different from the position of the display screen 194.

[0262] The button 190 includes a power button, a volume button, etc. The button 190 can be a mechanical button or a touch button. The wearable device 100 can receive the button input and generate a key signal input related to the user setting and function control of the wearable device 100.

[0263] Motor 191 can generate vibration prompts. Motor 191 can be used for incoming call vibration prompts, and can also be used for touch vibration feedback. For example, touch operations acting on different applications (such as taking pictures, audio playback, etc.) can correspond to different vibration feedback effects. For touch operations acting on different areas of the display screen 194, motor 191 can also correspond to different vibration feedback effects. Different application scenarios (for example: time reminders, receiving messages, alarm clocks, games, etc.) can also correspond to different vibration feedback effects. The touch vibration feedback effect can also support customization.

[0264] Indicator 192 may be an indicator light, which may be used to indicate charging status, power changes, messages, notifications, etc.

[0265] It should be understood that Figure 7 The wearable device 100 shown is only one example, and the wearable device 100 may have more Figure 7 More or fewer components may be shown, two or more components may be combined, or there may be a different configuration of components. Figure 7 The various components shown in the EMBODIMENTS 2000 may be implemented in hardware, software, or a combination of hardware and software, including one or more signal processing and / or application specific integrated circuits.

[0266] An embodiment of the present application provides a chip system, including: a processor, the processor is coupled to a memory, the memory is used to store programs or instructions, when the program or instructions are executed by the processor, the chip system implements the method in any of the above method embodiments.

[0267] Optionally, the processor in the chip system may be one or more. The processor may be implemented by hardware or by software. When implemented by hardware, the processor may be a logic circuit, an integrated circuit, etc. When implemented by software, the processor may be a general-purpose processor implemented by reading software code stored in a memory.

[0268] Optionally, the memory in the chip system may also be one or more. The memory may be integrated with the processor or may be separately arranged with the processor, which is not limited in the embodiments of the present application. Exemplarily, the memory may be a non-transient processor, such as a read-only memory ROM, which may be integrated with the processor on the same chip or may be arranged on different chips respectively. The embodiments of the present application do not specifically limit the type of memory and the arrangement of the memory and the processor.

[0269] Exemplarily, the chip system can be a field programmable gate array (FPGA), an application specific integrated circuit (ASIC), a system on chip (SoC), a central processor unit (CPU), a network processor (NP), a digital signal processor (DSP), a microcontroller unit (MCU), a programmable logic device (PLD) or other integrated chips.

[0270] It should be understood that each step in the above method embodiment can be completed by an integrated logic circuit of hardware in a processor or by instructions in the form of software. The method steps disclosed in the embodiments of the present application can be directly embodied as being executed by a hardware processor, or by a combination of hardware and software modules in a processor.

[0271] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function described in the present application is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions can be transmitted from a website site, computer, server or data center to another website site, computer, server or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line) or wireless (e.g., infrared, wireless, microwave, etc.) mode. The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or 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 DVD), or a semiconductor medium (e.g., a solid-state disk (SSD)), etc.

[0272] Those skilled in the art can understand that to implement all or part of the processes in the above-mentioned embodiments, the processes can be completed by computer programs to instruct related hardware, and the programs can be stored in computer-readable storage media. When the programs are executed, they can include the processes of the above-mentioned method embodiments. The aforementioned storage media include: ROM or random access memory RAM, magnetic disk or optical disk and other media that can store program codes.

[0273] The above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, a person skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the scope of the technical solutions of the embodiments of the present application.

Claims

1. A wearable device, characterized in that: The wearable device includes an ECG signal processing module, a first ECG signal acquisition module, and a second ECG signal acquisition module, wherein the first ECG signal acquisition module and the second ECG signal acquisition module are connected to the ECG signal processing module, the first ECG signal acquisition module is further connected to a first electrode, and the second ECG signal acquisition module is further connected to a second electrode, wherein: The first ECG signal acquisition module is used to acquire a first ECG signal through the first electrode and send the first ECG signal to the ECG signal processing module; The second ECG signal acquisition module is used to acquire a second ECG signal through the second electrode and send the second ECG signal to the ECG signal processing module; The ECG signal processing module is used to receive the first ECG signal and the second ECG signal, and generate ECG signals corresponding to M leads based on the first ECG signal and the second ECG signal, where M is a positive integer greater than or equal to 2.

2. The wearable device according to claim 1, characterized in that: The first ECG signal acquisition module is further used to: send a first interrupt signal to the ECG signal processing module, wherein the first interrupt signal is used to indicate that the first ECG signal acquisition is completed; The electrocardiogram signal processing module is also used for: The first interrupt signal is received, and the time when the first electrocardiogram signal acquisition is completed is recorded.

3. The wearable device according to claim 1 or 2, characterized in that: The second ECG signal acquisition module is further used to: send a second interrupt signal to the ECG signal processing module, wherein the second interrupt signal is used to indicate that the acquisition of the second ECG signal is completed; The electrocardiogram signal processing module is also used for: Receive the second interrupt signal, and record the time when the second electrocardiogram signal acquisition is completed.

4. The wearable device according to any one of claims 1 to 3, characterized in that: The first ECG signal acquisition module is further used to receive the clock signal generated by the ECG signal processing module; the second ECG signal acquisition module is further used to receive the clock signal generated by the ECG signal processing module; the clock signal is used by the first ECG signal acquisition module and the second ECG signal acquisition module to synchronously acquire the first ECG signal and the second ECG signal.

5. The wearable device according to any one of claims 1 to 4, characterized in that: The first electrode includes a first sub-electrode and a second sub-electrode, the first sub-electrode is in contact with a first limb of the human body, the second sub-electrode is in contact with a second limb of the human body, and the first electrocardiogram signal acquisition module is specifically used for: collecting the potential of the first limb through the first sub-electrode; collecting the potential of the second limb by using the second sub-electrode; The first electrocardiogram signal includes a potential of the first limb and a potential of the second limb.

6. The wearable device according to claim 5, characterized in that: The second electrode includes the first sub-electrode or the second sub-electrode and a third sub-electrode, the third sub-electrode is in contact with a third limb of the human body, and the second electrocardiogram signal acquisition module is specifically used for: collecting the potential of the first limb through the first sub-electrode, or collecting the potential of the second limb through the second sub-electrode; collecting the potential of the third limb by means of the third sub-electrode; The second electrocardiographic signal includes the potential of the first limb or the potential of the second limb and the potential of the third limb.

7. The wearable device according to claim 6, characterized in that: The first limb is the left upper limb, the second limb is the right upper limb, and the third limb is the left lower limb. The M leads include any two or more of the following leads: limb I lead, limb II lead, limb III lead, pressurized unipolar limb aVR lead, pressurized unipolar limb aVL lead, pressurized unipolar limb aVF lead. The ECG signal processing module is specifically used for: Generate an electrocardiogram signal corresponding to the limb I lead based on the difference between the potential of the left upper limb and the potential of the right upper limb; and / or, generating an electrocardiographic signal corresponding to the limb II lead based on the difference between the potential of the left lower limb and the potential of the right upper limb; and / or, generating an electrocardiographic signal corresponding to the limb III lead based on the difference between the potential of the left lower limb and the potential of the left upper limb; and / or, Generate an ECG signal corresponding to the pressurized unipolar limb aVR lead based on the difference between the potential of the right upper limb and the average value of the sum of the potential of the left upper limb and the potential of the left lower limb; and / or, Generate an ECG signal corresponding to the pressurized unipolar limb aVL lead based on the difference between the potential of the left upper limb and the average value of the sum of the potential of the right upper limb and the potential of the left lower limb; and / or, An electrocardiographic signal corresponding to the pressurized unipolar limb aVF lead is generated based on the difference between the potential of the left lower limb and the average value of the sum of the potential of the right upper limb and the potential of the left upper limb.

8. The wearable device according to any one of claims 1 to 7, characterized in that: The electrocardiogram signal processing module includes a microcontroller unit (MCU), and the first electrocardiogram signal acquisition module and the second electrocardiogram signal acquisition module include an analog front-end (AFE) chip.

9. A method for detecting an electrocardiogram signal, applied to a wearable device, characterized in that: The wearable device includes an ECG signal processing module, a first ECG signal acquisition module, and a second ECG signal acquisition module, wherein the first ECG signal acquisition module and the second ECG signal acquisition module are connected to the ECG signal processing module, the first ECG signal acquisition module is further connected to a first electrode, and the second ECG signal acquisition module is further connected to a second electrode, and the method includes: The wearable device controls the first ECG signal acquisition module to acquire a first ECG signal through the first electrode through the ECG signal processing module, and controls the second ECG signal acquisition module to acquire a second ECG signal through the second electrode; The wearable device controls the first ECG signal acquisition module to send the first ECG signal to the ECG signal processing module, and controls the second ECG signal acquisition module to send the second ECG signal to the ECG signal processing module; The wearable device controls the ECG signal processing module to generate ECG signals corresponding to M leads based on the first ECG signal and the second ECG signal, where M is a positive integer greater than or equal to 2.

10. The method according to claim 9, characterized in that Before the wearable device controls the first electrocardiogram signal acquisition module to acquire the first electrocardiogram signal through the first electrode through the electrocardiogram signal processing module, the method further includes: The wearable device controls the first ECG signal acquisition module to send a first interrupt signal to the ECG signal processing module, where the first interrupt signal is used to indicate that the first ECG signal acquisition is completed; The wearable device controls the electrocardiogram signal processing module to receive the first interrupt signal and record the time when the first electrocardiogram signal acquisition is completed.

11. The method according to claim 9 or 10, characterized in that: Before the wearable device controls the second electrocardiogram signal acquisition module to acquire the second electrocardiogram signal through the second electrode through the electrocardiogram signal processing module, the method further includes: The wearable device controls the second ECG signal acquisition module to send a second interrupt signal to the ECG signal processing module, where the second interrupt signal is used to indicate that the acquisition of the second ECG signal is completed; The wearable device controls the electrocardiogram signal processing module to receive the second interrupt signal and record the moment when the second electrocardiogram signal acquisition is completed.

12. The method according to any one of claims 9 to 11, characterized in that: The wearable device controls the first electrocardiogram signal acquisition module to acquire the first electrocardiogram signal through the first electrode through the electrocardiogram signal processing module, and controls the second electrocardiogram signal acquisition module to acquire the second electrocardiogram signal through the second electrode, specifically including: The wearable device controls the first ECG signal acquisition module and the second ECG signal acquisition module to receive the clock signal generated by the ECG signal processing module; The wearable device controls the first electrocardiogram signal acquisition module and the second electrocardiogram signal acquisition module to synchronously acquire the first electrocardiogram signal and the second electrocardiogram signal based on the clock signal.

13. The method according to any one of claims 9 to 12, characterized in that: The first electrode includes a first sub-electrode and a second sub-electrode, the first sub-electrode is in contact with a first limb of a human body, and the second sub-electrode is in contact with a second limb of the human body, and the wearable device controls the first electrocardiogram signal acquisition module to acquire a first electrocardiogram signal through the first electrode through the electrocardiogram signal processing module, specifically including: The wearable device controls the first electrocardiogram signal acquisition module through the electrocardiogram signal processing module to acquire the potential of the first limb through the first sub-electrode, and acquires the potential of the second limb through the second sub-electrode; The first electrocardiogram signal includes a potential of the first limb and a potential of the second limb.

14. The method according to claim 13, characterized in that The second electrode includes the first sub-electrode or the second sub-electrode and a third sub-electrode, the third sub-electrode is in contact with a third limb of the human body, and the wearable device controls the second electrocardiogram signal acquisition module to acquire a second electrocardiogram signal through the second electrode through the electrocardiogram signal processing module, specifically including: The wearable device controls the second electrocardiogram signal acquisition module through the electrocardiogram signal processing module to acquire the potential of the first limb through the first sub-electrode, or acquires the potential of the second limb through the second sub-electrode; The wearable device controls the second electrocardiogram signal acquisition module through the electrocardiogram signal processing module to acquire the potential of the third limb through the third sub-electrode; The second electrocardiographic signal includes the potential of the first limb or the potential of the second limb and the potential of the third limb.

15. The method according to claim 14, characterized in that The first limb is the left upper limb, the second limb is the right upper limb, and the third limb is the left lower limb. The M leads include any two or more of the following leads: limb I lead, limb II lead, limb III lead, pressurized unipolar limb aVR lead, pressurized unipolar limb aVL lead, and pressurized unipolar limb aVF lead. The wearable device controls the electrocardiogram signal processing module to generate electrocardiogram signals corresponding to the M leads based on the first electrocardiogram signal and the second electrocardiogram signal, specifically including: The wearable device controls the ECG signal processing module to generate an ECG signal corresponding to the limb I lead based on the difference between the potential of the left upper limb and the potential of the right upper limb; and / or, The wearable device controls the ECG signal processing module to generate an ECG signal corresponding to the limb II lead based on the difference between the potential of the left lower limb and the potential of the right upper limb; and / or, The wearable device controls the ECG signal processing module to generate an ECG signal corresponding to the limb III lead based on the difference between the potential of the left lower limb and the potential of the left upper limb; and / or, The wearable device controls the ECG signal processing module to generate an ECG signal corresponding to the pressurized unipolar limb aVR lead based on the difference between the potential of the right upper limb and the average value of the sum of the potential of the left upper limb and the potential of the left lower limb; and / or, The wearable device controls the ECG signal processing module to generate an ECG signal corresponding to the pressurized unipolar limb aVL lead based on the difference between the potential of the left upper limb and the average value of the sum of the potential of the right upper limb and the potential of the left lower limb; and / or, The wearable device controls the ECG signal processing module to generate an ECG signal corresponding to the pressurized unipolar limb aVF lead based on the difference between the potential of the left lower limb and the average value of the sum of the potential of the right upper limb and the potential of the left upper limb.

16. The method according to any one of claims 9 to 15, characterized in that: The electrocardiogram signal processing module includes a microcontroller unit (MCU), and the first electrocardiogram signal acquisition module and the second electrocardiogram signal acquisition module include an analog front-end (AFE) chip.

17. A wearable device, characterized in that: The wearable device includes one or more processors and one or more memories; wherein the one or more memories are coupled to the one or more processors, and the one or more memories are used to store computer program codes, and the computer program codes include computer instructions, and when the one or more processors execute the computer instructions, the wearable device executes the method described in any one of claims 9-16.

18. A computer storage medium, characterized in that: The computer storage medium stores a computer program, wherein the computer program includes program instructions. When the program instructions are executed on the wearable device, the wearable device executes the method according to any one of claims 9 to 16.