Premature beat detection method, electronic device and medium thereof

文档序号:312344 发布日期:2021-11-30 浏览:38次 中文

阅读说明:本技术 早搏检测方法及其电子设备和介质 (Premature beat detection method, electronic device and medium thereof ) 是由 张�杰 黄曦 李宏宝 范竞文 于 2020-05-20 设计创作,主要内容包括:本申请涉及信息技术处理领域,公开了一种早搏检测方法及其电子设备和介质。本申请的早搏检测方法包括:采用早搏检测功能对用户进行早搏检测,在采用早搏检测功能检测出用户出现早搏的情况下,采用早搏类型判断功能判断用户出现的早搏类型,并基于早搏检测功能得到的检测数据计算用户的早搏负荷,在计算出的早搏负荷大于早搏类型判断功能判断出的早搏类型所对应的早搏负荷阈值的情况下,对用户进行早搏风险提醒。本申请的早搏检测技术避免了电子设备的单一检测功能能够持续进行早搏检测但无法识别早搏类型的缺点,综合利用两个检测功能实现早搏的持续检测和早搏类型的判定,进而实现两种不同类型早搏的差异化风险提醒,避免大量错误提醒或对风险认识不足。(The application relates to the field of information technology processing, and discloses a premature beat detection method, electronic equipment and a medium thereof. The premature beat detection method of the present application comprises: the user is subjected to premature beat detection by adopting a premature beat detection function, the type of premature beat of the user is judged by adopting a premature beat type judgment function under the condition that the user is detected to have the premature beat by adopting the premature beat detection function, the premature beat load of the user is calculated based on detection data obtained by the premature beat detection function, and the user is subjected to premature beat risk reminding under the condition that the calculated premature beat load is greater than a premature beat load threshold value corresponding to the premature beat type judged by the premature beat type judgment function. The premature beat detection technology of the application avoids the defect that the single detection function of the electronic equipment can continuously perform premature beat detection but cannot identify the type of the premature beat, comprehensively utilizes two detection functions to realize the continuous detection of the premature beat and the judgment of the type of the premature beat, further realizes the differentiated risk reminding of the premature beats of two different types, and avoids a large amount of error reminding or insufficient risk recognition.)

1. A method of detecting premature beats, comprising:

the electronic equipment adopts a premature beat detection function to perform premature beat detection on the user to obtain first detection data;

the electronic equipment adopts a premature beat type judgment function to judge the type of the premature beat of the user under the condition that the user is determined to have the premature beat according to the first detection data, and calculates the premature beat load of the user based on second detection data obtained by the premature beat detection function;

and the electronic equipment carries out premature beat risk reminding on the user under the condition that the calculated premature beat load is larger than the premature beat load threshold value corresponding to the premature beat type judged by the premature beat type judging function.

2. The method of claim 1, wherein the calculating the user's premature beat load based on second detection data obtained from a premature beat detection function comprises:

the electronic equipment determines the shape of a unit wave corresponding to the determined premature beat type in the waveform of the first detection data according to the premature beat type determined by the premature beat type determination function;

the electronic equipment matches the corresponding judged premature beat type unit wave from the waveform corresponding to the second detection data according to the determined shape of the unit wave;

and the electronic equipment calculates the premature beat load of the user according to the matched unit wave corresponding to the judged premature beat type.

3. The method of claim 2, wherein the premature beat load is a percentage of the number of matched unit waves corresponding to the determined premature beat type to the total number of unit waves in the waveform of the detected data.

4. The method of claim 1, wherein the electronic device determining the type of premature beat present by the user using a premature beat type determination function in the event that the user is determined to have a premature beat based on the first detection data comprises:

the electronic equipment judges whether the premature beat load is smaller than the atrial premature threshold value under the condition that the user is determined to have the premature beat according to the first detection data;

under the condition that the premature beat load is smaller than the atrial premature threshold, the electronic equipment starts a premature beat type judgment function to judge the premature beat type of the user;

wherein the premature beat type includes an atrial premature and a ventricular premature, the atrial premature threshold being greater than the ventricular premature threshold.

5. The method of claim 4, further comprising:

and under the condition that the premature beat load is larger than the atrial premature threshold, the electronic equipment carries out premature beat risk reminding on the user.

6. The method of claim 1, wherein the electronic device determining the type of premature beat present by the user using a premature beat type determination function in the event that the user is determined to have a premature beat based on the first detection data comprises:

the electronic equipment calculates whether the premature beat load is larger than an opening threshold value or not under the condition that the user is determined to have the premature beat according to the first detection data;

under the condition that the premature beat load is larger than the starting threshold, starting a premature beat type judgment function to judge the premature beat type of the user;

wherein the premature beat type includes an atrial premature and a ventricular premature, the atrial premature threshold is greater than a ventricular premature threshold, and the ventricular premature threshold is greater than the turn-on threshold.

7. The method of any one of claims 1 to 6, wherein the electronic device comprises a photoplethysmogram sensor and an electrocardiogram sensor, and

the photoplethysmogram sensor realizes the premature beat detection function, and the electrocardiogram sensor realizes the premature beat type judgment function.

8. The method of any one of claims 1 to 6, further comprising:

and the electronic equipment displays the premature beat risk reminding information under the condition that the electronic equipment determines to carry out the premature beat risk reminding on the user.

9. A method of detecting premature beats, comprising:

the method comprises the steps that the second electronic equipment obtains first detection data obtained by the first electronic equipment through adopting a premature beat detection function to perform premature beat detection on a user from the first electronic equipment;

the second electronic equipment sends a starting instruction under the condition that the user is determined to have a premature beat according to the received first detection data, wherein the starting instruction is used for instructing the first electronic equipment to start a premature beat type judgment function;

the second electronic device receives second detection data obtained by the first electronic device through a premature beat detection function and judgment data obtained by a premature beat type judgment function from the first electronic device;

the second electronic equipment judges the type of premature beat of the user according to the judgment data and calculates the premature beat load of the user based on the second detection data;

and the second electronic equipment determines to carry out premature beat risk reminding on the user under the condition that the calculated premature beat load is larger than the premature beat load threshold corresponding to the judged premature beat type.

10. The method of claim 9, wherein said calculating the premature beat load of the user based on the second detected data comprises:

the second electronic equipment determines the shape of the unit wave corresponding to the determined premature beat type in the waveform corresponding to the first detection data according to the determined premature beat type;

the second electronic equipment matches the unit wave of the premature beat type correspondingly judged from the waveform corresponding to the second detection data according to the determined shape of the unit wave;

and the second electronic equipment calculates the premature beat load of the user according to the matched unit waves corresponding to the judged premature beat types, wherein the premature beat load is the percentage of the number of the matched unit waves corresponding to the judged premature beat types in the total number of the unit waves in the waveform of the second detection data.

11. The method of claim 9, wherein the second electronic device sending a turn-on command if it is determined from the received first detection data that a premature beat has occurred to the user comprises:

the second electronic equipment judges whether the premature beat load is smaller than the atrial premature threshold value or not under the condition that the user is determined to have the premature beat based on the detection data;

the second electronic device sends an opening instruction when the premature beat load is less than an atrial premature threshold;

wherein the premature beat type includes an atrial premature and a ventricular premature, the atrial premature threshold being greater than the ventricular premature threshold.

12. The method of claim 9, wherein the second electronic device sending a turn-on command if it is determined from the received first detection data that a premature beat has occurred to the user comprises:

the second electronic device calculates whether the premature beat load is greater than an opening threshold value under the condition that the user is determined to have the premature beat based on the first detection data;

sending a start instruction under the condition that the premature beat load is greater than a start threshold;

wherein the premature beat type includes an atrial premature and a ventricular premature, the atrial premature threshold is greater than a ventricular premature threshold, and the ventricular premature threshold is greater than the turn-on threshold.

13. The method of claim 9, further comprising:

and the second electronic equipment displays the premature beat risk reminding information under the condition that the second electronic equipment determines to carry out the premature beat risk reminding on the user.

14. A method of detecting premature beats, comprising:

the first electronic equipment adopts a premature beat detection function to perform premature beat detection on the user;

the first electronic equipment sends first detection data obtained by adopting a premature beat detection function to second electronic equipment;

the first electronic device receives a starting instruction from the second electronic device;

the first electronic equipment responds to the starting instruction and starts a premature beat type judgment function;

and the first electronic equipment sends second detection data obtained by the premature beat detection function and judgment data obtained by the premature beat type judgment function to the second electronic equipment.

15. The premature beat detection method of claim 14, further comprising:

the first electronic device receiving premature beat risk reminder information from the second electronic device;

and the first electronic equipment displays the risk reminding information.

16. The premature beat detection method according to claim 14 or 15, characterized in that the first electronic device comprises a photoplethysmogram sensor and an electrocardiogram sensor, and

the photoplethysmogram sensor realizes the premature beat detection function, and the electrocardiogram sensor realizes the premature beat type judgment function.

17. A method of detecting premature beats, comprising:

the first electronic equipment adopts a premature beat detection function to perform premature beat detection on the user;

the first electronic equipment sends a starting instruction to the second electronic equipment under the condition that the user is detected to have premature beats by adopting a premature beat detection function, wherein the starting instruction is used for instructing the second electronic equipment to judge the type of the premature beats appearing in the user by adopting a premature beat type judgment function;

and the first electronic equipment carries out premature beat risk reminding on the user under the condition that the premature beat load calculated based on the detection data obtained by the premature beat detection function is larger than the premature beat load threshold corresponding to the premature beat type judged by the second electronic equipment through the premature beat type judgment function.

18. A computer readable medium having stored thereon instructions which, when executed on a machine, cause the machine to perform the premature beat detection method of any of claims 1 to 17.

19. An electronic device, comprising:

a memory for storing instructions for execution by one or more processors of the system, an

A processor, being one of the processors of an electronic device, for performing the premature beat detection method of any of claims 1 to 17.

20. The electronic device of claim 19, further comprising a photoplethysmogram sensor and an electrocardiogram sensor, and

the photoplethysmogram sensor realizes the premature beat detection function, and the electrocardiogram sensor realizes the premature beat type judgment function.

Technical Field

The present application relates to the field of information processing technologies, and in particular, to a premature beat detection method, an electronic device, and a medium therefor.

Background

The prevalence rate of cardiovascular diseases in China is in a continuously rising stage. At present, the number of sick people in China is 2.9 hundred million, and about 350 million people die of cardiovascular diseases every year. The mortality rate of cardiovascular diseases is the first place and higher than that of tumors and other diseases. In every 10 ten thousand rural or urban residents, the number of heart disease deaths reaches 143.72 and 136.21 respectively, and the health of people in China is seriously threatened. The heart disease has the characteristics of strong paroxysmal property, high fatality rate, easy repetition and the like, and becomes the first killer of human health.

Arrhythmia is one of the most common heart diseases, and refers to any abnormality in the frequency, rhythm, origin, conduction speed, activation sequence, and atrioventricular conduction pathway of heart impulses. Arrhythmias are typically detected by an electrocardiogram. An Electrocardiogram (ECG) is a reflection of the electrical activity of the heart on the body surface, is an important basis for detecting and diagnosing arrhythmia, and is also a main technical means for diagnosing other heart diseases. With the development of technology, more and more research teams and medical device companies are beginning to screen for arrhythmias using photoplethysmography (PPG) detection technology, which focuses first on the detection of Atrial Fibrillation (AF), gradually expanding towards premature beats and other arrhythmias. More and more watches are now provided with ECG and PPG detection capabilities, and by holding both hands together, a single ECG measurement can be done, but the user experience of using a watch to detect a continuous measurement of ECG is too poor, whereas by PPG detection technology, a continuous measurement can be done without the user's feeling, to accomplish an early screening of atrial fibrillation and premature beats. However, PPG has limitations in detecting arrhythmia, especially the inability to perform early Atrial (PAC) and early Ventricular (PVC) discrimination.

Disclosure of Invention

The embodiment of the application provides a premature beat detection method, electronic equipment and a medium thereof, which can avoid the defect that a single detection function of the electronic equipment can continuously perform premature beat detection but cannot identify the type of the premature beat, and comprehensively utilize two detection functions to realize the continuous detection of the premature beat and the judgment of the type of the premature beat, thereby realizing the differential risk reminding of the premature beats of two different types, and avoiding a large amount of error reminding or insufficient risk recognition.

In a first aspect, an embodiment of the present application discloses a premature beat detection method, including: the electronic equipment adopts a premature beat detection function to perform premature beat detection on the user to obtain first detection data; the electronic equipment adopts a premature beat type judgment function to judge the type of the premature beat of the user under the condition that the user is determined to have the premature beat according to the first detection data, and calculates the premature beat load of the user based on second detection data obtained by the premature beat detection function; and the electronic equipment carries out premature beat risk reminding on the user under the condition that the calculated premature beat load is larger than the premature beat load threshold value corresponding to the premature beat type judged by the premature beat type judging function. The first detection data is data for detecting symptoms of premature beat, and the second detection data is data for calculating load of premature beat, which are both detection data obtained by the premature beat detection function, and the first detection data and the second detection data can be the same or different.

For example, a PPG sensor is adopted to continuously detect a user, detect whether the user has premature beats or not, start an ECG to judge the type of the premature beats of the user when the user has premature beats, if the type of the premature beats is judged to be atrial premature, carry out the premature beat risk reminding on the user when the premature beat load is larger than an atrial premature threshold, carry out the premature beat risk reminding on the user when the premature beat load is larger than a ventricular premature threshold when the type of the premature beats is judged to be ventricular premature, and compare the fused premature beat load with the fusion threshold after judging that the premature beat load is fused with the fusion threshold to determine whether to carry out the premature beat risk reminding on the user or not. The user is continuously detected by adopting a premature beat detection function (such as PPG sensor), the premature beat type is judged by adopting a premature beat type judgment function (such as ECG detection) after the premature beat is detected, and then whether the premature beat load exceeds a ventricular premature threshold or an atrial premature threshold is judged, so that differential risk reminding of two different types of premature beats is realized, and a large amount of error reminding or insufficient risk recognition is avoided.

In one implementation of the first aspect, the calculating the premature beat load of the user based on the second detection data obtained by the premature beat detection function includes: the electronic equipment determines the shape of a unit wave corresponding to the determined premature beat type in the waveform of the first detection data according to the premature beat type determined by the premature beat type determination function; the electronic equipment matches the corresponding judged premature beat type unit wave from the waveform corresponding to the second detection data according to the determined shape of the unit wave; and the electronic equipment calculates the premature beat load of the user according to the matched unit wave corresponding to the judged premature beat type.

For example, after the premature beat type is determined by the ECG, the unit wave in the waveform of the PPG data, which is generated simultaneously with the unit wave corresponding to the atrio/ventricular premature in the waveform of the ECG detection data, is the unit wave of the atrio/ventricular premature in time, and then all the unit waves of the shape in the waveform of the PPG data detected within a certain time period are matched to calculate the premature beat load. When premature beats occur, the unit waveforms generated in the PPG waveform are different for different people for the same type of premature beats due to different positions of the premature beats, different transmission paths, different cardiac contraction conditions and different pulse wave transmission channels of users. It is difficult to complete the identification of the premature beat types of different people only by PPG waveform. The type of premature beat appearing in the PPG data detected is judged to be atrial premature or ventricular premature through the assistance of ECG, the waveform shape of the elementary wave of the atrial premature or ventricular premature in the waveform of the PPG data obtained by the current detected user can be determined, the premature beat load is further calculated, and the calculation accuracy of the premature beat load is improved.

In an implementation of the first aspect, the premature beat load is a percentage of the number of matched unit waves corresponding to the determined premature beat type to the total number of unit waves in the waveform of the detection data. For example, when the waveform of the detection data has 10000 unit waves and 400 unit waves for the cell early, the cell early load is 4%.

In an implementation of the first aspect, in a case that the electronic device determines that a premature beat occurs to the user according to the first detection data, the determining, by using a premature beat type determination function, a type of the premature beat that occurs to the user includes: the electronic equipment judges whether the premature beat load is smaller than the atrial premature threshold value under the condition that the user is determined to have the premature beat according to the first detection data; under the condition that the premature beat load is smaller than the atrial premature threshold, the electronic equipment starts a premature beat type judgment function to judge the premature beat type of the user; wherein the premature beat type includes an atrial premature and a ventricular premature, the atrial premature threshold being greater than the ventricular premature threshold.

In an implementation of the first aspect, the method further includes: and under the condition that the premature beat load is larger than the atrial premature threshold, the electronic equipment carries out premature beat risk reminding on the user. Since the atrioventricular threshold is much greater than the atrioventricular threshold, for example, the atrioventricular threshold is 10% and 0.5%. If the premature beat detection function is adopted to detect that the premature beat load is larger than the premature beat threshold, whether the occurred premature beat is premature or premature ventricular, the premature beat symptom of the user can be judged to be serious, and the premature beat risk reminding needs to be carried out on the user.

In an implementation of the first aspect, in a case that the electronic device determines that a premature beat occurs to the user according to the first detection data, the determining, by using a premature beat type determination function, a type of the premature beat that occurs to the user includes: the electronic equipment calculates whether the premature beat load is larger than an opening threshold value or not under the condition that the user is determined to have the premature beat according to the first detection data; under the condition that the premature beat load is larger than the starting threshold, starting a premature beat type judgment function to judge the premature beat type of the user; wherein the premature beat type includes an atrial premature and a ventricular premature, the atrial premature threshold is greater than a ventricular premature threshold, and the ventricular premature threshold is greater than the turn-on threshold.

That is, under the condition that the user is detected to have premature beat by adopting the premature beat detection function, which type of premature beat is not judged, the premature beat detection function is started when the premature beat load is greater than the start threshold, and the start threshold is smaller than the ventricular premature threshold. In the scheme, the premature beat type judgment function can be started automatically by the electronic equipment when the premature beat load is judged to be greater than the starting threshold, or can be started by reminding a user when the premature beat load is judged to be greater than the starting threshold.

In an implementation of the first aspect, in a case that the electronic device determines that a premature beat occurs to the user according to the first detection data, the determining, by using a premature beat type determination function, a type of the premature beat that occurs to the user includes: the electronic equipment reminds the user to start the premature beat type judgment function under the condition that the premature beat detection function is adopted to detect that the user has premature beats; and the electronic equipment starts the premature beat type judgment function under the condition of receiving a start instruction of the user for starting the premature beat type judgment function.

In an implementation of the first aspect, the electronic device determines whether the calculated premature beat load is greater than a premature beat load threshold corresponding to the premature beat type determined by the premature beat type determination function by:

when the premature beat type judged by the premature beat type judgment function only comprises the atrial premature, determining whether the calculated premature beat load is larger than an atrial premature threshold; when the premature beat type judged by the premature beat type judgment function only comprises the ventricular premature beat, determining whether the calculated premature beat load is larger than a ventricular premature beat threshold value; when the premature beat type judged by the premature beat type judging function comprises the premature atria and the premature ventricles, determining whether the calculated fusion load of the premature atria load and the premature ventricles load is greater than a fusion threshold value; wherein the fused load is greater than the atrial premature load or the fused load is greater than the ventricular premature load; and the atrioventricular threshold is greater than a fusion threshold, and the fusion threshold is greater than a ventricular premature threshold.

In this embodiment, the fusion load may be obtained by converting the premature load into the premature load, or may be obtained by converting the premature load into the premature load, and the fusion threshold may be obtained by converting the premature threshold into the premature threshold, or converting the premature threshold into the premature threshold.

In an implementation of the first aspect described above, the electronic device comprises a photoplethysmogram sensor and an electrocardiogram sensor, and the photoplethysmogram sensor implements the premature beat detection function and the electrocardiogram sensor implements the premature beat type determination function.

In an implementation of the first aspect, the method further includes: and the electronic equipment displays the premature beat risk reminding information under the condition that the electronic equipment determines to carry out the premature beat risk reminding on the user. In other embodiments, the electronic device may also alert the user of the risk of premature beat by voice or the like, and is not limited to the form displayed on the display of the electronic device.

In a second aspect, an embodiment of the present application discloses a premature beat detection method, including: the method comprises the steps that the second electronic equipment obtains first detection data obtained by the first electronic equipment through adopting a premature beat detection function to perform premature beat detection on a user from the first electronic equipment; the second electronic equipment sends a starting instruction under the condition that the user is determined to have a premature beat according to the received first detection data, wherein the starting instruction is used for instructing the first electronic equipment to start a premature beat type judgment function; the second electronic device receives second detection data obtained by the first electronic device through a premature beat detection function and judgment data obtained by a premature beat type judgment function from the first electronic device; the second electronic equipment judges the type of premature beat of the user according to the judgment data and calculates the premature beat load of the user based on the second detection data; and the second electronic equipment determines to carry out premature beat risk reminding on the user under the condition that the calculated premature beat load is larger than the premature beat load threshold corresponding to the judged premature beat type.

In the scheme, a user is continuously detected by adopting a premature beat detection function (such as a PPG sensor), and after the premature beat is detected, a premature beat type judgment function (such as ECG detection) is adopted to judge whether the premature beat load exceeds a ventricular premature threshold or an atrial premature threshold, so that differential risk reminding of two different types of premature beats is realized, and a large amount of error reminding or insufficient risk recognition is avoided. The difference from the first aspect is that the first electronic device (e.g., a wearable electronic device) only performs premature beat detection and premature beat type determination, and specifically, the determination of whether there is a premature beat, the calculation of the premature beat load, and the comparison between the premature beat load and the premature beat threshold are implemented by a second electronic device (e.g., a mobile phone or a server), so that the calculation load of the first electronic device is reduced, and the requirement on the calculation capability of the first electronic device is reduced. In addition, when the second electronic device determines that the user has a premature beat, the second electronic device may directly send a start instruction to the first electronic device, or may send a start instruction or start prompt information to the user, so that the user starts the premature beat type determination function of the first electronic device.

In one implementation of the above second aspect, the calculating the premature beat load of the user based on the second detection data comprises: the second electronic equipment determines the shape of the unit wave corresponding to the determined premature beat type in the waveform corresponding to the first detection data according to the determined premature beat type; the second electronic equipment matches the unit wave of the premature beat type correspondingly judged from the waveform corresponding to the second detection data according to the determined shape of the unit wave; and the second electronic equipment calculates the premature beat load of the user according to the matched unit waves corresponding to the judged premature beat types, wherein the premature beat load is the percentage of the number of the matched unit waves corresponding to the judged premature beat types in the total number of the unit waves in the waveform of the second detection data.

For example, the mobile phone determines the type of premature beat based on ECG data detected by the wearable device using ECG, then the mobile phone determines the unit wave in the waveform of the PPG data generated simultaneously in time with the unit wave in the waveform of the ECG detected data corresponding to the atrio/ventricular premature unit wave as the atrio/ventricular premature unit wave, and then matches all the unit waves of the shape in the waveform of the PPG data detected within a certain time period to calculate the premature beat load.

When premature beats occur, the unit waveforms generated in the PPG waveform are different for different people for the same type of premature beats due to different positions of the premature beats, different transmission paths, different cardiac contraction conditions and different pulse wave transmission channels of users. It is difficult to complete the identification of the premature beat types of different people only by PPG waveform. The type of premature beat appearing in the PPG data detected is judged to be atrial premature or ventricular premature through the assistance of ECG, the waveform shape of the elementary wave of the atrial premature or ventricular premature in the waveform of the PPG data obtained by the current detected user can be determined, the premature beat load is further calculated, and the calculation accuracy of the premature beat load is improved.

In an implementation of the second aspect, the sending, by the second electronic device, the start instruction when it is determined that the user is premature according to the received first detection data includes:

the second electronic equipment judges whether the premature beat load is smaller than the atrial premature threshold value or not under the condition that the user is determined to have the premature beat based on the detection data; the second electronic device sends an opening instruction when the premature beat load is less than an atrial premature threshold; wherein the premature beat type includes an atrial premature and a ventricular premature, the atrial premature threshold being greater than the ventricular premature threshold.

In an implementation of the second aspect, the method further includes:

and under the condition that the premature beat load is larger than an atrial premature threshold, the second electronic equipment carries out premature beat risk reminding on the user. Since the atrioventricular threshold is much greater than the atrioventricular threshold, for example, the atrioventricular threshold is 10% and 0.5%. If the premature beat detection function is adopted to detect that the premature beat load is larger than the premature beat threshold, whether the premature beat is premature or premature ventricular, the user can be judged to have the premature beat symptom and need to be reminded of the premature beat risk.

In an implementation of the second aspect, the sending, by the second electronic device, the start instruction when it is determined that the user is premature according to the received first detection data includes:

the second electronic device calculates whether the premature beat load is greater than an opening threshold value under the condition that the user is determined to have the premature beat based on the first detection data; sending a start instruction under the condition that the premature beat load is greater than a start threshold; wherein the premature beat type includes an atrial premature and a ventricular premature, the atrial premature threshold is greater than a ventricular premature threshold, and the ventricular premature threshold is greater than the turn-on threshold.

In one implementation of the second aspect, the second electronic device determines whether the calculated premature beat load is greater than a premature beat load threshold corresponding to the determined premature beat type by:

the second electronic device determines whether the calculated premature beat load is greater than an atrial premature threshold when the determined premature beat type only includes atrial premature; the second electronic device determining whether the calculated premature beat load is greater than a ventricular premature threshold when the determined premature beat type only includes ventricular premature; the second electronic device determines whether the calculated fusion load of the atrial premature load and the ventricular premature load is greater than a fusion threshold value when the determined premature beat type comprises the atrial premature and the ventricular premature; wherein the fused load is greater than the atrial premature load or the fused load is greater than the ventricular premature load; and the atrioventricular threshold is greater than a fusion threshold, and the fusion threshold is greater than a ventricular premature threshold.

In this embodiment, the fusion load may be obtained by converting the premature load into the premature load, or may be obtained by converting the premature load into the premature load, and the fusion threshold may be obtained by converting the premature threshold into the premature threshold, or converting the premature threshold into the premature threshold.

In an implementation of the second aspect, the method further comprises:

and the second electronic equipment displays the premature beat risk reminding information under the condition that the second electronic equipment determines to carry out the premature beat risk reminding on the user.

In a third aspect, an embodiment of the present application discloses a premature beat detection method, including:

the first electronic equipment adopts a premature beat detection function to perform premature beat detection on the user; the first electronic equipment sends first detection data obtained by adopting a premature beat detection function to second electronic equipment; the first electronic device receives a starting instruction from the second electronic device; the first electronic equipment responds to the starting instruction and starts a premature beat type judgment function; and the first electronic equipment sends second detection data obtained by the premature beat detection function and judgment data obtained by the premature beat type judgment function to the second electronic equipment.

In an implementation of the third aspect, the method further includes:

the first electronic device receiving premature beat risk reminder information from the second electronic device;

and the first electronic equipment displays the risk reminding information.

In one implementation of the third aspect described above, the first electronic device comprises a photoplethysmogram sensor and an electrocardiogram sensor, and the photoplethysmogram sensor implements the premature beat detection function and the electrocardiogram sensor implements the premature beat type determination function.

In a fourth aspect, according to an embodiment of the present application, there is disclosed a premature beat detection method, comprising:

the first electronic equipment adopts a premature beat detection function to perform premature beat detection on the user; the first electronic equipment sends a starting instruction to the second electronic equipment under the condition that the user is detected to have premature beats by adopting a premature beat detection function, wherein the starting instruction is used for instructing the second electronic equipment to judge the type of the premature beats appearing in the user by adopting a premature beat type judgment function; and the first electronic equipment carries out premature beat risk reminding on the user under the condition that the premature beat load calculated based on the detection data obtained by the premature beat detection function is larger than the premature beat load threshold corresponding to the premature beat type judged by the second electronic equipment through the premature beat type judgment function.

The user is continuously detected by adopting a premature beat detection function (such as PPG sensor) of an electronic device, the type of premature beat is judged by adopting another device premature beat type judgment function (such as ECG detection) after the premature beat is detected, and then whether the premature beat load exceeds a ventricular premature threshold or an atrial premature threshold is judged, so that differential risk reminding of two different types of premature beats is realized, and a large amount of error reminding or insufficient risk recognition is avoided. For example, the first electronic device is an electronic mattress having a Seismogram (SCG) detection function, i.e., a premature beat detection function. The second electronic device is a watch 100 having an ECG function, i.e. a premature beat type determination function.

In a fifth aspect, according to an embodiment of the present application, a computer readable medium is disclosed, having instructions stored thereon, which when executed on a machine, cause the machine to perform the premature beat detection method of any of the first to fourth aspects described above.

In a sixth aspect, according to an embodiment of the present application, there is disclosed an electronic device including:

a memory for storing instructions for execution by one or more processors of the system, an

A processor, being one of the processors of the electronic device, configured to perform the premature beat detection method according to any of the first to fourth aspects.

In one implementation of the sixth aspect, the electronic device further includes a photoplethysmogram sensor and an electrocardiogram sensor, and the photoplethysmogram sensor implements the premature beat detection function, and the electrocardiogram sensor implements the premature beat type determination function.

In a seventh aspect, according to an embodiment of the present application, an electronic device is disclosed, which has a function of implementing each electronic device in the premature beat detection method. The functions can be realized by hardware, and the functions can also be realized by executing corresponding software by hardware. The hardware or software includes one or more modules corresponding to the above-described functions.

Drawings

Fig. 1 is a scene diagram of a premature beat detection method according to an embodiment of the present application.

Fig. 2 is a schematic diagram of a hardware structure of a watch according to an embodiment of the present application.

Fig. 3a is a schematic diagram illustrating an atrial premature waveform provided in an embodiment of the present application.

Fig. 3b is a schematic diagram illustrating a room early waveform provided in the embodiment of the present application.

Fig. 4a is a schematic flow chart of a premature beat detection method according to an embodiment of the present application.

Fig. 4b is a schematic flowchart illustrating a premature beat detection method according to an embodiment of the present application.

Fig. 4c is a schematic flow chart of a premature beat detection method according to an embodiment of the present application.

Fig. 4d is a schematic flow chart of a premature beat detection method according to an embodiment of the present application.

Fig. 4e is a schematic flowchart of a premature beat detection method according to an embodiment of the present application.

Fig. 5a is a schematic view of a watch interface according to an embodiment of the present application.

Fig. 5b is a schematic diagram of a mobile phone interface according to an embodiment of the present application.

Fig. 6 is a schematic diagram of an atrial fibrillation waveform according to an embodiment of the present application.

Fig. 7 illustrates an interaction diagram between the handset 200 and the watch 100 in a premature beat detection method, according to some embodiments of the present application.

Fig. 8 provides a schematic structural diagram of an electronic device 800 according to some embodiments of the present application.

Fig. 9 illustrates a software system of an electronic device 800, according to some embodiments of the present application.

Detailed Description

The technical solutions of the embodiments of the present application are described in further detail below with reference to the accompanying drawings and embodiments.

Fig. 1 provides a scene diagram of a premature beat detection method according to an embodiment of the present application. As shown in fig. 1, an embodiment of the present application relates to an intelligent wearable device 100, where the intelligent wearable device 100 may wirelessly communicate with other electronic devices in various wireless manners, for example, wirelessly communicate with an electronic device 200 or a server 300. For example, the smart wearable device 100 may send a wireless signal to the server 300 through its own radio frequency circuit and antenna through a wireless communication link, and request the server 300 to process specific service requirements of the smart wearable device 100, such as user registration, data acquisition and detection, and the like; for another example, the smart wearable device 100 may match with the electronic device 200 through its own bluetooth, and perform data communication with the electronic device 200 through a bluetooth communication link after the matching is successful, or of course, may also perform data communication with the electronic device 200 through other Wireless communication methods, such as a radio frequency identification technology, a short-range Wireless communication technology, a Wireless fidelity (WI-FI), and the like.

The intelligent wearable device 100 has a biological detection device (such as an ECG sensor) which can only perform premature beat type judgment and is difficult to perform premature beat load continuous detection and a biological detection device (such as a PPG sensor) which can perform premature beat load continuous detection and cannot judge the premature beat type. For example, in a specific implementation, the smart wearable device 100 may acquire physiological data of the user, for example, photoplethysmography (PPG) data or Electrocardiography (ECG) data, determine whether the user is premature according to the acquired PPG data, and determine a type of premature beat according to the ECG data, then calculate a premature beat load, for example, an atrial premature load or a ventricular premature load, through the smart wearable device 100 or the electronic device 200 based on the continuous measurement data of the PPG, and finally perform a risk alert to the user based on a different type of premature beat load, for example, if the type of premature beat is atrial premature and the atrial premature load is greater than an atrial premature threshold, the smart wearable device 100 alerts the user of a high risk if the type of premature beat is ventricular premature and the ventricular premature load is greater than a ventricular premature threshold, if the type of premature beat is both atrial premature and ventricular premature beat and the fusion of the two is greater than the fusion premature beat threshold, the smart wearable device 100 alerts the user of the high risk. The technical scheme of this application can utilize the advantage that PPG detected and ECG detected comprehensively, avoids that PPG detects the unable premature beat type of confirming, and the inconvenient problem that continuously detects the premature beat load of ECG detection realizes the differentiation risk of two kinds of different grade type premature beats and reminds, can avoid a large amount of mistakes to remind or not enough to risk understanding.

In the specific embodiment of the present application, the smart wearable device 100 may be a variety of devices, including but not limited to a watch, a bracelet or glasses, a helmet, a headband, and other wearable electronic devices, a medical detection instrument, and the like. In the following description, the technical solution of the present application is described by taking the watch 100 as an example for simplifying the description.

Electronic device 200 may be a client capable of communicating with smart-wearable device 100, and may help smart-wearable device 100 to perform registration, control firmware update of smart-wearable device 100, receive detection data of smart-wearable device 100, assist smart-wearable device 100 in analyzing historical detection data, and so on. It is to be appreciated that the electronic device 200 can include, but is not limited to, a laptop computer, a desktop computer, a tablet computer, a smartphone, a server, a wearable device, a head-mounted display, a mobile email device, a portable game console, a portable music player, a reader device, a television with one or more processors embedded or coupled therein, or other electronic device capable of accessing a network. In the following description, for simplicity of explanation, the mobile phone 200 is taken as an example to explain the technical solution of the present application.

Fig. 2 is a schematic diagram illustrating a hardware structure of a wristwatch 100 according to some embodiments of the present application. The watch may include a watch body 100. In one embodiment of the present application, the body of the watch 100 may include a touch screen 101 (also referred to as a touch panel), a display 102, a housing including a front case (not shown in fig. 2) and a bottom case (not shown in fig. 2), and a processor 103, a Micro Control Unit (MCU) 104, a memory 105, a wireless communication unit 106, a PPG sensor 107, an ECG sensor 108, a power supply 110, a power management system 111, and the like.

The functional components of the watch 100 are described below:

the touch screen 101, which may also be a touch panel, may collect touch operations of a watch user thereon (e.g., operations of the user on or near the touch panel using any suitable object or accessory such as a finger, a stylus, etc.), and drive a responsive connection device according to a preset program.

The display screen 102 may be used to display information input by a user or prompt information provided to the user and various menus on the watch, and further, the touch screen 101 may overlay the display screen 102, and when the touch screen 101 detects a touch operation on or near the touch screen 101, the touch screen may transmit the touch operation to the processor 103 to determine the type of the touch event, and then the processor 103 may provide a corresponding visual output on the display screen 102 according to the type of the touch event. For example, in some embodiments of the present application, the watch 100 detects the user's PPG data and determines that there is a premature beat, and information may be displayed on the display screen 102 that alerts the user of the risk of premature beats.

The processor 103 is used for system scheduling, controlling the touch screen 101 and the display screen 102, supporting processing of the wireless communication unit 106, and the like.

A micro control unit 104 for controlling the sensor, performing calculations on sensor data, communicating with the processor 103, etc. The sensor may include a PPG sensor 107, an ECG sensor 108, or other sensors, wherein the PPG sensor may detect a user's pulse wave, heart rate, heart beat interval, respiration rate, blood pressure, heart efficiency, blood oxygen level, etc., wherein the heart beat interval or (and) the pulse wave waveform in the heart rhythm data may be used to determine premature beats. For example, in some embodiments of the present application, the micro control unit 104 analyzes the PPG sensor data to determine whether a premature beat is present, and the micro control unit 104 analyzes the ECG sensor data to determine the type of premature beat, e.g., ventricular or atrial premature. Furthermore, it is understood that in other embodiments, the above processing of the PPG data and the ECG data may also be performed by the processor 103, which is not limited herein.

The memory 105 is used for storing software programs and various data (such as various detection data of the watch 100), and the processor 103 executes various functional applications and data processing of the watch 100 by running the software programs and data stored in the memory 105. For example, in some embodiments of the present application, the memory 105 may store PPG data acquired by a PPG sensor or ECG data acquired by an ECG sensor. Meanwhile, the memory may also store registration information, login information, and the like of the user.

The wireless communication unit 106 and the watch 100 implement wireless communication with other electronic devices (e.g., a mobile phone, a tablet computer, etc.) through the wireless communication unit 106, for example, Wireless Local Area Network (WLAN) (e.g., wireless fidelity (Wi-Fi) network), Bluetooth (BT), Global Navigation Satellite System (GNSS), Frequency Modulation (FM), Near Field Communication (NFC), infrared technology (IR), and other solutions for wireless communication may be included in the wireless communication unit 106.

It is understood that the structure shown in fig. 2 is only one specific structure for realizing the functions of the watch 100 in the present embodiment, and the watch 100 having other structures and capable of realizing similar functions is also applicable to the present embodiment, and is not limited herein.

In the following embodiments, the PPG sensor and the ECG sensor are used to detect premature beat as an example to illustrate the technical solution of the present application. It is understood that in other embodiments, the ECG detection and other devices capable of detecting the duration of premature beat may be combined to implement the technical solution of the present application, and is not limited herein.

First, a waveform diagram of PPG data and ECG data related to a premature beat in an embodiment of the present application is described. Figures 3a and 3b show PPG, ECG and heart rate plots for the atrio-early and the atrio-early case, respectively.

As shown in fig. 3a, when the heart beats early in the atrium, the waveforms appear in advance in the ECG waveform diagram as a P wave and a QRS complex (QRS complex), where the P wave is an atrial depolarization wave representing activation of the left and right atria, the QRS wave reflects changes in left and right ventricular depolarization potentials and times, the first downward wave in the QRS wave is a Q wave, the upward wave is an R wave, and the next downward wave is an S wave. The waveform in the PPG waveform map is characterized in that the waveform is wide and deformed, and the waveform in the PPG waveform map is characterized in that the former waveform is reduced and the waveform in the immediate vicinity is enlarged, and the waveform in the PPG waveform map in which the atrial is early can be randomly appeared, or the waveform in which the deformed waveform is separated from the normal waveform appears, for example, one normal wave and one deformed wave, which is called "bigeminy", and for example, one deformed wave and two normal waves, or two deformed waves and one normal wave, which is called "trigeminy".

As shown in fig. 3b, when the heart beats in the morning, the elementary waves in the ECG waveform show R-wave width deformity, and the elementary waves in the PPG waveform show cycle width deformity, the main feature may be that two elementary waves are merged together, and the elementary waves in the PPG waveform that appear in the morning may appear randomly, or the malformed elementary waves appear spaced from the normal elementary waves, for example, one normal elementary wave and one malformed elementary wave, which is called "bigeminal", and for example, one malformed elementary wave and two normal elementary waves, or two malformed elementary waves and one normal elementary wave, which is called "triginal". In the present application, the element wave refers to a waveform that can represent one heartbeat among waveforms of detection data obtained by various detection methods. For example, for a waveform of PPG data, the heart beats 100000 times in total within a certain time, which corresponds to 100000 PPG unit waves in the PPG waveform. Furthermore, it can be understood that for the above mentioned premature ventricular waveforms, since two normal PPG unit waves may be merged together and it is difficult to separate out a single unit wave, when the detected premature beat type is premature ventricular, the number of matched premature ventricular waves in the PPG waveform can be multiplied by 2 to be used as the number of premature ventricular unit waves. For example, by ECG detection, it is found that the premature beat is premature ventricular, and in the PPG waveform, the corresponding premature ventricular wave is a combination of two unit waves, and the number of the unit waves is m, so the number of the unit waves corresponding to premature ventricular can be set to 2 m.

It should be noted that, for the same person, since the position of the abnormal pacing point during premature beat is fixed, the unit waves of premature beats (such as atrial premature and ventricular premature) can be determined in the PPG oscillogram, but in the population, because of differences among individuals, and because the positions of the abnormal pacing points during premature beats of most people are different, the shapes of the PPG unit waves generated during premature beats of different people are very different, and it is impossible to distinguish whether the PPG unit wave in which premature beats occur is the unit wave in atrial premature or the unit wave in ventricular premature, so that the present application can judge whether the type of premature beat appearing in the detected PPG data is atrial premature or ventricular premature by means of the assistance of ECG.

The technical solution of the present application is described in detail below according to specific scenarios.

In some embodiments, the watch 100 monitors the heart rhythm condition of the user, determines whether the user has a premature beat according to the PPG data detected by the watch 100, starts ECG detection to determine a premature beat type in the case of the premature beat, continues the PPG detection, then determines the shape of a PPG unit wave corresponding to the premature beat type determined by the ECG (e.g., the shape of an atrial premature unit wave or the shape of a ventricular premature unit wave), performs waveform matching on the detected PPG data, matches the unit wave having the PPG unit wave shape of the determined premature beat type in the PPG waveform of the PPG data, then calculates the loads of different types of premature beats according to the matched corresponding unit waves, and finally the watch 100 performs a premature beat risk reminder for the user for the different types of premature beat loads, as shown in fig. 5a, when the watch 100 detects that the user is at risk of a premature beat (atrial or ventricular premature beat), the watch 100 interface presents "you have a premature beat symptom, please seek medical advice in time" to remind the user of the risk of premature beat, it is understood that the watch 100 can remind the user of the risk of premature beat in other forms, such as vibration or sound, and is not limited herein.

Furthermore, it is understood that in other embodiments, analysis of PPG data and ECG data may also be performed by the handset 200. For example, the PPG data and ECG data detected by the watch 100 are transmitted by the watch 100 to the mobile phone 200 through bluetooth or other wireless communication, then the mobile phone 200 determines the type of premature beat according to the received ECG data, and simultaneously labels the PPG data of different types of premature beat, thereby calculating different types of premature beat loads, and finally the mobile phone 100 performs a premature beat risk reminder for the user according to the different types of premature beat loads. For illustrative purposes, the following description will take the example of the watch 100 performing the detection to acquire PPG data and ECG data, processing the analysis data, and finally the watch 100 performing the premature beat risk reminder.

Fig. 4a shows a schematic flow diagram of a premature beat detection method according to some embodiments of the present application. In the embodiment shown in fig. 4a, it is directly determined whether the premature beat load detected by the PPG is greater than the atrial premature threshold at the beginning, because the atrial premature load generally needs to be treated when the atrial premature load is above 10% (i.e. the atrial premature threshold), and intervention is needed when the ventricular premature load is above 0.5% (the ventricular premature threshold), it is directly determined that the user premature beat load (whether the atrial premature or the ventricular premature) is too high by directly determining that the user premature beat load is greater than the atrial premature threshold, the user premature beat risk can be directly reminded, and when the user premature beat load is less than the atrial premature threshold, the ECG is enabled to detect, the premature beat types are distinguished, and whether the user has the premature beat risk is determined by adopting different premature beat thresholds according to different types. It is understood that the specific threshold values (e.g. 0.5% of the ventricular early threshold and 10% of the atrial early threshold) presented in the embodiments of the present application are merely exemplary, and the size of the specific threshold values can be modified according to practical situations, and is not limited herein.

Specifically, as shown in fig. 4a, the flow of the premature beat detection method includes:

a 401: the watch 100 acquires user PPG data.

a 402: the watch 100 determines whether there is a premature beat. For example, the watch 100 may continuously detect the user and may periodically or in real-time determine the collected PPG data to determine whether a premature beat is occurring. For example, the watch 100 determines whether the PPG waveform of the PPG data is abnormal based on the collected PPG data (see description of fig. 3a and 3 b).

If there is a premature beat, a403 is executed; otherwise, a401 continues.

a 403: the watch 100 determines whether the premature beat load is greater than the atrial premature threshold. The premature beat load may be derived from the number of abnormal PPG cell waves in the PPG waveform of the PPG data detected over a predetermined time as a percentage of the data of all PPG cell waves in the PPG waveform, e.g. a total of 100000 beats of the heart over a 24 hour period corresponds to 100000 PPG cell waves in the PPG waveform, and if there are 15000 abnormal PPG cell waves, the premature beat load is 15%. It should be noted that the atrial premature beat is converted into the atrial tachycardia and the atrial fibrillation, and the ventricular premature beat is converted into the ventricular tachycardia and the ventricular fibrillation, which are malignant lethal arrhythmias. Treatment is generally required when the atria are more than 10% early, and intervention is required when the ventricles are more than 0.5% early. If the risk thresholds are the same, the user will be alerted too much if too low when the risk is low, and will underestimate the risk and miss the optimal treatment window if too high. In the embodiment of the present application, the atrioventricular threshold is set to 10% and 0.5% based on clinical data, which is universal, but the atrioventricular threshold and the atrioventricular threshold may be adjusted according to specific situations, which is not limited herein. It is understood that the heartbeat is 100000 times, and there are 15000 abnormal PPG unit waves, these values are merely exemplary, and other values are also possible, and are not limited herein.

Furthermore, it is understood that in other embodiments of the present application, other manners known in the art may be used to calculate the premature beat load, and is not limited to the above manner.

If the premature beat load is greater than the atrial premature threshold, a408 is executed, i.e., the watch 100 alerts the user to the risk of premature beat high (as shown in fig. 5 a); if the premature beat load is less than the atrial premature threshold, a404 is performed.

a 404: the watch 100 reminds the user to perform ECG measurement, the watch 100 performs ECG measurement after the user instructs the ECG measurement, and performs PPG measurement synchronously, it can be understood that the background of the watch 100 can perform PPG measurement synchronously while the user performs ECG measurement. It will be appreciated that in some embodiments, the ECG measurement may also be turned on automatically after the premature beat is determined to have occurred, without the need to notify the user. Thereafter, a405 is executed.

a 405: the watch 100 determines a premature beat type based on an ECG waveform of the ECG data and labels a PPG waveform of the continuously detected PPG data according to the premature beat type. In fig. 3a and 3b, if the heart beats with premature beat, the watch 100 will generate corresponding abnormal ECG waveform and PPG waveform, if the ECG waveform has P wave and QRS wave advanced, the premature beat type is atrial premature, the watch 100 labels the malformed PPG unit wave generated at the corresponding time as "atrial premature" PPG unit wave, if the ECG waveform has R wave width malformation, the premature beat type is ventricular premature, the watch 100 labels the malformed PPG unit wave generated at the corresponding time as "ventricular premature" PPG unit wave, and then the watch 100 labels the PPG waveform of the detected PPG data within a predetermined time according to the shapes of the "atrial premature" PPG unit wave and the "ventricular premature" PPG unit wave. It will be appreciated that the above described identification of precocious or ventricular premature by means of ECG is only exemplary and that the algorithms actually used are far more complex than described or can even be marked in the background by the physician to improve the accuracy of the premature diagnosis. For example, if the ECG detects that the user's premature beat type is premature, a unit wave similar to or identical to the labeled "premature" PPG unit wave in the PPG waveform within 24 hours before and after the premature beat type can be found through waveform matching, and the found unit wave is labeled as "premature" unit wave. If the ECG detects that the premature beat type of the user is the premature ventricular beat type, unit waves similar to or identical to the marked 'premature ventricular' unit PPG waveform in the PPG waveform within 24 hours before and after the premature beat type can be searched and judged through waveform matching, and the searched unit waves are marked as 'premature ventricular' unit waves. It is understood that 24 hours is merely exemplary and other values are possible, and not limited herein, and the labeled period of time for the PPG unit wave may be 24 hours before the premature beat type is detected, or may be 24 hours after the premature beat type is detected, or may be 24 hours before and after the premature beat type is detected, and not limited herein.

If the watch 100 determines that the premature beat type is ventricular premature, go to a 406; if the watch 100 determines that the premature beat type is atrial premature, a407 is entered.

a 406: the watch 100 determines whether the ventricular premature load is greater than the ventricular premature threshold. For example, the ventricular early load may be determined by a percentage of the number of PPG unit waves labeled "ventricular early" in the PPG waveform represented by the PPG data to the total number of PPG unit waves in a predetermined time, for example, 100000 PPG unit waves in the PPG waveform diagram, 600 PPG unit waves labeled "ventricular early" in 24 hours, and the ventricular early load is 0.6%, it is understood that 600 is merely exemplary, and other values are also possible, and is not limited herein.

If the early ventricular load is judged to be greater than the early ventricular threshold, a408 is executed, that is, the watch 100 reminds the user of the high risk of the early ventricular, and the reminding mode can refer to the description of fig. 5a, for example, when the watch 100 detects that the early ventricular load of the user is greater than the early ventricular threshold, a reminding message such as "you have an early ventricular symptom and ask you to seek medical advice in time" appears on the interface; otherwise, a401 continues.

a 407: the watch 100 determines whether the early house load is greater than the early house threshold. The early atrial load may be the percentage of the number of PPG unit waves labeled "early atrial" in the PPG waveform represented by the PPG data over a predetermined time, which is the total number of PPG unit waves, e.g., 100000 PPG unit waves in the PPG waveform map, 12000 PPG unit waves labeled "early atrial" in 24 hours, and 12 early atrial load. It should be noted that the numerical values shown in the above examples are only exemplary, and may be other numerical values, which are not limited herein.

If the early-room load is judged to be greater than the early-room threshold, a408 is executed, that is, the watch 100 reminds the user of the early-room risk, the reminding mode can refer to the description of fig. 5a, for example, when the watch 100 detects that the early-room load of the user is greater than the early-room threshold, the interface of the watch 100 can display reminding information such as "you have an early-room symptom, ask you to seek medical advice in time"; otherwise, a401 continues.

Fig. 4b shows a flow chart of a premature beat detection method according to further embodiments of the present application. In the embodiment shown in fig. 4b, a smaller threshold a is set first, where the threshold a is smaller than the ventricular premature threshold (e.g., 0.5%), when the premature beat load detected in the PPG data is larger than the threshold a, it indicates that the user has a symptom of premature beat, and can remind the user of the risk of premature beat, then remind the user to start ECG detection or automatically perform ECG detection, then judge the type of premature beat according to the ECG detection data, and then remind the user of the risk of premature beat according to the different types of premature beat thresholds, so as to avoid missing the ventricular premature risk when the premature beat load is low.

Specifically, as shown in fig. 4b, the flow of the premature beat detection method includes:

b 401: the watch 100 acquires user PPG data.

b 402: the watch 100 determines whether a premature beat is present (described with reference to fig. 4 a).

If there is a premature beat, then b403 is performed, i.e., watch 100 determines whether the premature beat load is greater than a threshold A, where threshold A is less than or equal to the ventricular premature threshold, e.g., 0.5% for ventricular premature, which may take 0.3%. It should be noted that the numerical values shown in the above examples are only exemplary, and may be other numerical values, which are not limited herein.

If the premature beat load is larger than the threshold value A, b404 is executed, namely the watch 100 can remind the user of the risk of premature beat and remind the user to carry out ECG measurement, and the watch 100 carries out ECG measurement after the user instructs the ECG measurement and synchronously carries out PPG measurement;

if the premature beat load is less than the threshold A, b401 continues.

b 405: the watch 100 determines a premature beat type based on an ECG waveform of the ECG data and labels a PPG waveform of the continuously detected PPG data according to the premature beat type (the specific labeling method is described with reference to fig. 4 a).

If the watch 100 determines that the premature beat type is ventricular premature, go to b 406; if the watch 100 determines that the premature type is atrial premature, b407 is entered.

b 406: the watch 100 determines whether the load is greater than the load threshold (please refer to fig. 4 a).

If the load of the morning in the room is judged to be larger than the threshold value of the morning in the room, b408 is executed, namely the watch 100 reminds the user of the high risk of the morning in the room; otherwise, b401 continues. The process of calculating the load of the premature chamber and the process of determining the risk of the premature chamber are the same as those described in fig. 4a, and are not described herein again.

b 407: watch 100 determines whether the atrial premature load is greater than the atrial premature threshold (described with reference to fig. 4 a).

If the load of the house is judged to be larger than the house early threshold value, b408 is executed, namely the watch 100 reminds the user of the high risk of the house early; otherwise, b408 continues. The calculation process of the atrial premature load and the determination process of the atrial premature risk are the same as those described in fig. 4a, and are not described herein again.

Fig. 4c shows a flow chart of a premature beat detection method of some embodiments of the present application. In the embodiment shown in fig. 4c, a detection method is considered in which the user is simultaneously present with both premature and ventricular beats.

Specifically, as shown in fig. 4c, the flow of the premature beat detection method includes:

c 401: the watch 100 acquires user PPG data.

c 402: the watch 100 determines whether there is a premature beat. The determination process is the same as the related description in fig. 4a, and is not repeated herein.

If a premature beat is present, c403 is executed, i.e., watch 100 determines if the premature beat load is greater than threshold a. The determination process is the same as the related description in fig. 4b, and is not repeated herein.

If the premature load is greater than the threshold a, c404 is performed, i.e. the watch 100 can remind the user of the risk in premature and to take an ECG measurement, after having instructed the ECG measurement the watch 100 takes an ECG measurement and synchronously takes a PPG measurement.

If the premature beat load is less than the threshold A, c401 continues.

c 405: the watch 100 determines a premature beat type based on an ECG waveform of the ECG data and labels a PPG waveform of the continuously detected PPG data according to the premature beat type (the specific labeling method is described with reference to fig. 4 a).

If the watch 100 determines that the premature beat type is ventricular premature, then proceed to c 406; if the watch 100 determines that the premature beat type is atrioventricular, c407 is entered, and if the premature beat type is determined to be both atrioventricular and premature, c408 is entered.

c 406. the watch 100 determines whether the ventricular premature load is greater than the ventricular premature threshold (described with reference to fig. 4 a);

if the load of the room early is judged to be larger than the threshold value of the room early, executing c409, namely reminding the user of the high risk of the room early; the process of calculating the load of the premature chamber and the process of determining the risk of the premature chamber are the same as those described in fig. 4a, and are not described herein again. Otherwise, c401 continues.

c 407: the watch 100 determines whether the early house load is greater than the early house threshold (described with reference to fig. 4 a);

if the watch 100 judges that the early house load is greater than the early house threshold, c409 is executed, namely the watch 100 reminds the user of the early house risk; otherwise, c401 continues. The calculation process of the atrial premature load and the determination process of the atrial premature risk are the same as those described in fig. 4a, and are not described herein again.

c 408: the watch 100 determines whether the fusion load is greater than the fusion threshold.

The fusion threshold is a risk early warning threshold when the patient has two symptoms of the precocious puberty and the precocious ventriculus, the threshold comprehensively considers the different influences of the precocious puberty and the precocious ventriculus, and the precocious puberty and the ventriculus are weighted and constructed by the guidance of experts. It is understood that the fusion threshold may be a value between the ventricular premature threshold and the atrial premature threshold, and may be smaller than the ventricular premature threshold or larger than the atrial premature threshold, which is not limited herein. The following description is merely exemplary, and specific rules are made with reference to medical knowledge and recommendations of a medical professional. If the premature room threshold is 0.5% and the premature room threshold is 10%, 20 premature room loads correspond to 1 premature room load or 1 premature room load corresponds to 0.05 premature room load, and the premature room load may be converted into the premature room load during calculation and determined using the premature room threshold. For example, in 24 hours, the heart beats 100000 times, 6000 "atrio" and 400 "ventricular-early" unit waves appear in the PPG waveform, and 6000 "atrio" correspond to 300 "ventricular-early", and the fusion load is 700/100000 × 100% ═ 0.7%, and is greater than the fusion threshold (e.g., 0.5%, which is merely exemplary and does not necessarily coincide with the ventricular-early threshold) to alert the user of the risk of premature beats. It will be appreciated that if the patient's atrioventricular and premature atrioventricular are both below the corresponding atrioventricular (e.g., 10%) and premature ventricular thresholds (e.g., 0.5%) without regard to the fusion threshold, the patient will not be alerted to the risk of premature beats and the hidden risk will be ignored.

In addition, the load of the premature chamber can be converted into the load of the premature chamber during calculation, and the judgment is carried out by adopting a fusion threshold value based on the early chamber threshold value (for example, 10 percent are only exemplary and do not necessarily accord with the single early chamber threshold value). For example, if the premature chamber threshold is 0.5% and the premature chamber threshold is 10%, then 1 premature chamber load corresponds to 20 premature chamber loads. In 24 hours, the heart beats 100000 times, 5000 "atrial-early" unit waves and 300 "ventricular-early" unit waves appear in the PPG waveform, and then 300 "ventricular-early" units correspond to 6000 "ventricular-early", so that the fusion load is 11000/100000-11%, which is greater than the fusion threshold of 10%. It will be appreciated that if the patient's atrioventricular and premature atrioventricular are both below the corresponding atrioventricular (e.g., 10%) and premature ventricular thresholds (e.g., 0.5%) without regard to the fusion threshold, the patient will not be alerted to the risk of premature beats and the hidden risk will be ignored. It should be noted that the numerical values shown in the above examples are only exemplary, and may be other numerical values, which are not limited herein.

If the fusion load is greater than the fusion threshold, c409 is executed, that is, the watch 100 reminds the user of having both the early-room risk and the early-room risk, the reminding manner may refer to the description of fig. 5a, for example, a reminding message such as "you have both the early-room symptom and the early-room symptom at the same time, please see doctor at once" may appear on the interface of the watch 100; otherwise, c401 continues.

Fig. 4d illustrates a flow chart of a premature beat detection method of some embodiments of the present application. In the embodiment shown in fig. 4d, the user can directly make ECG and PPG measurements without having to remind the user through a watch to make an ECG detection, so the user can judge whether he is at risk of a premature beat at any time.

Specifically, as shown in fig. 4d, the flow of the premature beat detection method includes:

d 401: the watch 100 acquires user PPG data.

d 402: the user takes the ECG measurements, the user instructs the watch 100 to take the ECG measurements after the ECG measurements and to take the PPG measurements simultaneously, in some embodiments, the watch automatically turns on the PPG measurements without notifying the user.

And d403, judging the type of the premature beat by the watch 100 based on the ECG waveform of the ECG data, and labeling the PPG waveform of the PPG data which is continuously detected according to the type of the premature beat (the specific labeling method refers to the relevant description of the fig. 4 a).

If the watch 100 determines that the premature beat type is ventricular premature, then go to d 404; if the watch 100 determines that the premature beat type is atrioventricular, d405 is entered, and if the premature beat type is determined to be both atrioventricular and premature, d406 is entered.

d404, the watch 100 determines whether the load is greater than the load threshold (please refer to the description of FIG. 4 a);

if the watch 100 determines that the early ventricular load is greater than the early ventricular threshold, then d407 is executed, i.e., the watch 100 alerts the user of the high risk of early ventricular (described with reference to FIG. 4 a); otherwise, d401 continues.

d 405: watch 100 determines whether the atrial premature load is greater than the atrial premature threshold (described with reference to fig. 4 a).

If the watch 100 judges that the early house load is greater than the early house threshold, executing d407, namely reminding the user of the early house risk; otherwise, d401 continues. The calculation process of the atrial premature load and the determination process of the atrial premature risk are the same as those described in fig. 4a, and are not described herein again.

d 406: the watch 100 determines whether the fusion load is greater than the fusion threshold (described with reference to fig. 4 c).

If the fusion load is greater than the fusion threshold, d407 is executed, i.e. the user is reminded of having both atrioventricular and early-ventricular risks (please refer to the description of fig. 4c in particular), otherwise, d401 is continued.

The above embodiment describes a method for detecting the occurrence of premature beat of a user, and in practical situations, there are cases where atrial fibrillation and premature beat occur simultaneously, where atrial fibrillation refers to the frequency of atrial activation reaching 300 to 600 times/minute, the ventricular beat frequency is fast (commonly known as heart rate is ventricular rate), the rhythm is absolutely irregular and sometimes reaching 100 to 160 times/minute, the morbidity is closely related to coronary heart disease, hypertension, heart failure and other diseases, and patients with atrial fibrillation can be accompanied by premature beat simultaneously, the main common is ventricular premature beat, and the probability of atrial fibrillation accompanied by ventricular premature beat accounts for about 90%.

The following describes a method for detecting when atrial fibrillation and premature beat occur simultaneously. As shown in fig. 6, when the PPG detects the presence of atrial fibrillation in the user, the PPG waveform appears narrow and malformed and appears random, while the early ventricular PPG waveform is broad and malformed.

Specifically, as shown in fig. 4e, the procedure of detecting atrial fibrillation and premature beat simultaneously includes:

e 401: the watch 100 acquires user PPG data (described in relation to fig. 4 a).

e 402: the watch 100 determines whether atrial fibrillation and premature beat are present in the user (see the associated description of fig. 4a and 6).

e 403: if there is atrial fibrillation and premature beats in the user, the watch 100 alerts the user to perform an ECG measurement, and the watch 100 performs an ECG measurement after the ECG measurement is instructed by the user (e.g., the user clicks a button on the display 102 of the watch 100, the watch 100 generates an on instruction in response to the user's click), and performs a PPG measurement simultaneously; otherwise, e401 continues.

e 404. the watch 100 determines the type of premature beat based on the ECG waveform of the ECG data and labels the PPG waveform of the continuously detected PPG data according to the type of premature beat (see the relevant description of fig. 3a and 3 b).

If the watch 100 determines that the premature beat type is ventricular premature, then e405 is entered; if the watch 100 determines that the premature type is atrial premature, then e406 is entered.

e405, the watch 100 determines whether the ventricular premature load is greater than the ventricular premature threshold (see the description relating to fig. 4 a);

if the watch 100 judges that the ventricular load is greater than the ventricular load threshold, e407 is executed, that is, the watch 100 reminds the user of atrial fibrillation with high ventricular risk, the reminding manner may be as described with reference to fig. 5a, for example, the interface of the watch 100 displays information such as "you have symptoms of atrial fibrillation with ventricular load, please see doctor immediately"; otherwise, e401 continues.

e406, the watch 100 determines whether the early house load is greater than the early house threshold (see the description related to fig. 4 a);

if the watch 100 judges that the load of the atrial fibrillation is greater than the threshold value of the atrial fibrillation, e407 is executed, that is, the watch 100 reminds the user of the atrial fibrillation with the high risk of the atrial fibrillation, for example, the interface of the watch 100 displays information such as "you have the symptom of the atrial fibrillation with the early atrial fibrillation and ask for a doctor immediately"; otherwise, e401 continues.

While the above embodiment illustrates the scheme in which the watch 100 independently performs the premature beat detection and the user reminding, in other embodiments, the watch 100 may be used to perform the PPG detection and the ECG detection, and other electronic devices (such as the mobile phone 200 or the server 300) perform the premature beat type determination and the premature beat load (ventricular premature load or atrial premature load) calculation, and then return the calculation result to the watch 100 to remind the user of the risk of premature beat (refer to the description of fig. 5 a). Or the mobile phone 200 may directly remind the user of the premature beat risk on the electronic device (e.g., the mobile phone 200), as shown in fig. 5b, the mobile phone 200 may count PPG data of a predetermined time, for example, one day, one week, one month, or one year, for example, within one week, count 3 times of irregular heart rhythms, 10 times of irregular heart rhythms (suspected premature beats), 12 times of irregular heart rhythms (suspected atrial fibrillation), and 198 times of abnormalities are not found, and based on these data, the proportion of the abnormal heart rhythms calculated may be 11% and is greater than the atrial premature threshold (10%), the mobile phone 200 performs the arrhythmia high risk reminder for the user, and the reminder mode refers to the premature beat risk reminder mode of the mobile phone in fig. 5a, which is not described herein.

In particular, fig. 7 shows a schematic diagram of the interaction between the mobile phone 200 and the watch 100, as shown in fig. 7:

700: the handset 200 establishes a communication connection with the watch 100.

702: the watch 100 sends the collected user PPG data to the handset 200. It is to be understood that the watch 100 may transmit the acquired PPG data to the mobile phone 200 at regular time, or may transmit the acquired PPG data in response to a request of the mobile phone 200, which is not limited herein.

The handset 200 determines from the PPG waveform of the PPG data whether there is a premature beat. The specific determination method is consistent with the above-mentioned watch 100 side, and is not described herein.

Wherein, under the condition that the premature beat type judgment result is that the premature beat exists, the mobile phone 200 sends an ECG starting instruction to the watch 100; otherwise, no message is sent to the watch 100.

706: the mobile phone 200 sends an ECG start instruction to the watch 100 when the premature beat type determination result indicates that a premature beat exists. It is understood that in other embodiments, the handset 200 may also send an ECG turn-on instruction to the user to turn on the ECG detection of the watch 100 by the user.

708: the watch 100 transmits the ECG data and the PPG data for a predetermined time to the handset 200.

710: the mobile phone 200 determines the type of premature beat according to the ECG waveform of the ECG data, labels the PPG waveform of the PPG data of the predetermined time based on different types of premature beat, and then calculates different types of premature beat loads, and the specific determination and calculation method is consistent with the above calculation method at the watch 100 side, which is not described herein again.

712: the mobile phone 200 performs premature beat risk reminding on the user according to the different types of premature beat thresholds, or the mobile phone 200 sends the calculation result to the watch 100, and the watch 100 performs premature beat risk reminding on the user, or the mobile phone 200 sends the calculation result to the watch 100, the mobile phone 200 and the watch 100 perform premature beat risk reminding on the user at the same time, and the mode for judging whether to perform premature beat risk reminding on the user by the mobile phone 200 is consistent with the judgment mode of the watch 100 side, which is not described herein again.

While the above embodiments have been described with respect to the watch 100 performing premature beat detection via ECG detection and PPG detection, it is to be understood that in other embodiments, other electronic devices may be used to perform premature beat detection.

For example, in some embodiments, an electronic mattress may be used to detect a cardiogram (SCG) to determine if a user is experiencing a premature beat, then the watch 100 may be used to detect an ECG to determine the type of premature beat, label the SCG based on the type of premature beat, and finally perform a risk alert to the user based on the different types of premature beat thresholds. The method comprises the following specific steps:

(1) the electronic mattress collects SCG data.

(2) The watch 100 detects the ECG and the electronic mattress measures SCG simultaneously.

(3) Judging the premature beat type based on the ECG waveform of the ECG data, and labeling the SCG waveform of the SCG data continuously detected according to the premature beat type, wherein if the premature beat type is premature ventricular, the SCG unit wave generated at the corresponding time can be labeled as 'premature ventricular' SCG unit wave, and if the premature beat type is premature atrial, the SCG unit wave generated at the corresponding time can be labeled as 'premature atrial' SCG unit wave.

(4) And if the premature beat type is judged to be the ventricular premature beat type, judging whether the ventricular premature load is larger than a ventricular premature threshold value, wherein the ventricular premature load can be calculated according to the percentage of the number of the cell wave numbers marked as 'ventricular premature' SCG cell waves in the SCG waveform in a preset time to the total number of the SCG cell waves.

If the watch 100 determines that the premature beat type is premature, it determines whether the premature load is greater than a premature threshold, wherein the premature load may be calculated according to a percentage of the number of cell waves labeled as "premature" SCG cell waves in the SCG waveform to the total number of SCG cell waves within a predetermined time.

(5) If the watch 100 determines that the ventricular premature load is greater than the ventricular premature threshold, then the user is alerted to a high risk; and if the watch judges that the early load of the house is greater than the early threshold value of the house, reminding the user of high risk.

In addition, in some embodiments, a body fat scale may be used to detect a Ballistocardiogram (BCG) or an Impedance Plethysmogram (IPG) to determine whether a user has a premature beat, then a watch may be used to detect an ECG to determine the type of the premature beat, the BCG or the IPG may be labeled based on the type of the premature beat, and finally a risk alert may be given to the user according to different types of premature beat thresholds. The following example illustrates a body fat scale for BCG testing and a wristwatch 100 for ECG testing:

(1) the body fat scale collects BCG data.

(2) The watch 100 detects ECG and the body fat scale measures BCG simultaneously.

(3) Judging the premature beat type based on the ECG waveform of the ECG data, and labeling the BCG waveform of the BCG data continuously detected according to the premature beat type, wherein if the premature beat type is premature ventricular, the BCG unit wave generated at the corresponding time can be labeled as 'premature ventricular' BCG unit wave, and if the premature beat type is premature atrial, the corresponding BCG unit wave can be labeled as 'premature atrial' BCG unit wave.

(4) If the watch 100 determines that the premature beat type is ventricular premature, it determines whether the ventricular premature load is greater than a ventricular premature threshold, wherein the ventricular premature load may be calculated from a percentage of the number of BCG unit waves labeled "ventricular premature" in the BCG waves to the total number of BCG unit waves in the BCG waveform over a predetermined time.

If the watch 100 determines that the premature beat type is premature, it determines whether the premature load is greater than a premature threshold, wherein the premature load may be calculated from a percentage of the number of BCG unit waves labeled "premature" in the BCG waveform to the total number of BCG unit waves in the BCG waveform over a predetermined time.

(5) If the watch 100 determines that the ventricular premature load is greater than the ventricular premature threshold, then the user is alerted to a high risk; and if the watch judges that the early load of the house is greater than the early threshold value of the house, reminding the user of high risk.

Fig. 8 shows a block diagram of an electronic device 800 capable of implementing the functions of the electronic device 200 shown in fig. 1 according to an embodiment of the present application. Specifically, as shown in fig. 8, the electronic device 800 may include a processor 810, an external memory interface 820, an internal memory 821, a Universal Serial Bus (USB) interface 830, a charging management module 840, a power management module 841, a battery 842, an antenna 1, an antenna 2, a mobile communication module 850, a wireless communication module 860, an audio module 870, a speaker 870A, a receiver 870B, a microphone 870C, a headset interface 870D, a sensor module 880, a key 890, a motor 898, an indicator 892, a camera 893, a display 894, and a Subscriber Identification Module (SIM) card interface 895, and the like. The sensor module 880 may include a pressure sensor 880A, a gyroscope sensor 880B, an air pressure sensor 880C, a magnetic sensor 880D, an acceleration sensor 880E, a distance sensor 880F, a proximity light sensor 880G, a fingerprint sensor 880H, a temperature sensor 880J, a touch sensor 880K, an ambient light sensor 880L, a bone conduction sensor 880M, and the like.

It is to be understood that the illustrated structure of the embodiment of the present application does not specifically limit the electronic device 800. In other embodiments of the present application, the electronic device 800 may include more or fewer components than illustrated, or combine certain components, or split certain components, or a different arrangement of components. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.

Processor 810 may include one or more processing units, such as: the processor 810 may include an Application Processor (AP), a modem processor, a Graphics Processing Unit (GPU), an Image Signal Processor (ISP), a controller, a video codec, a Digital Signal Processor (DSP), a baseband processor, and/or a neural-Network Processing Unit (NPU), etc. The different processing units may be separate devices or may be integrated into one or more processors. The processor 810 may determine the type of premature beat of the user from the received ECG data and calculate different types of premature beat loads from the received PPG data.

The controller can generate an operation control signal according to the instruction operation code and the timing signal to complete the control of instruction fetching and instruction execution.

A memory may also be provided in processor 810 for storing instructions and data. For example, processor 810 may store the user's PPG data and ECG data sent by watch 100, in some embodiments the memory in processor 810 is a cache memory. The memory may hold instructions or data that have just been used or recycled by the processor 810. If the processor 810 needs to use the instruction or data again, it can be called directly from the memory. Avoiding repeated accesses reduces the latency of the processor 810, thereby increasing the efficiency of the system.

In some embodiments, processor 810 may include one or more interfaces. The interface may include an integrated circuit (I2C) interface, an integrated circuit built-in audio (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.

Micro USB interface, USB Type C interface etc.. The USB interface 830 may be used to connect a charger to charge the electronic device 800, and may also be used to transmit data between the electronic device 800 and peripheral devices, for example, to transmit PPG data and ECG data of a user. And the earphone can also be used for connecting an earphone and playing audio through the earphone. The interface may also be used to connect other electronic devices, such as AR devices and the like.

It should be understood that the interfacing relationship between the modules illustrated in the embodiments of the present application is only an exemplary illustration, and does not limit the structure of the electronic device 800. In other embodiments of the present application, the electronic device 800 may also adopt different interface connection manners or a combination of multiple interface connection manners in the above embodiments.

The charging management module 840 is configured to receive charging input from a charger. The power management module 848 is used to connect the battery 842, the charge management module 840 and the processor 880. The power management module 848 receives input from the battery 842 and/or the charge management module 840 and provides power to the processor 880, the internal memory 821, the display 894, the camera 893, and the wireless communication module 860, among other things. The power management module 848 may also be used to monitor battery capacity, battery cycle count, battery state of health (leakage, impedance), etc. In some other embodiments, the power management module 841 may also be disposed in the processor 880. In other embodiments, the power management module 841 and the charging management module 840 may be disposed in the same device.

The wireless communication function of the electronic device 800 may be implemented by the antenna 1, the antenna 2, the mobile communication module 850, the wireless communication module 860, the modem processor, the baseband processor, and the like.

The antennas 1 and 2 are used for transmitting and receiving electromagnetic wave signals. Each antenna in the electronic device 800 may be used to cover a single or multiple communication bands. Different antennas can also be multiplexed to improve the utilization of the antennas. For example: the antenna 1 may be multiplexed as a diversity antenna of a wireless local area network. In other embodiments, the antenna may be used in conjunction with a tuning switch.

The mobile communication module 850 may provide a solution including 2G/3G/4G/5G wireless communication applied on the electronic device 800. The wireless communication module 860 may provide solutions for wireless communication applied to the electronic device 800, including Wireless Local Area Networks (WLANs), such as wireless fidelity (Wi-Fi) networks, Bluetooth (BT), Global Navigation Satellite Systems (GNSS), Frequency Modulation (FM), Near Field Communication (NFC), Infrared (IR), and the like. The wireless communication module 860 may be one or more devices that integrate at least one communication processing module. The wireless communication module 860 receives electromagnetic waves via the antenna 2, performs frequency modulation and filtering processing on electromagnetic wave signals, and transmits the processed signals to the processor 810. The wireless communication module 860 may also receive signals to be transmitted from the processor 810, frequency modulate them, amplify them, and convert them into electromagnetic waves via the antenna 2 to radiate them.

In some embodiments, the electronic device 800 is capable of communicative connection with the watch 100 via the mobile communication module 850 or the wireless communication module 860.

In some embodiments, antenna 1 of electronic device 800 is coupled to mobile communication module 850 and antenna 2 is coupled to wireless communication module 860, such that electronic device 800 may communicate with networks and other devices via wireless communication techniques. The wireless communication technology may include global system for mobile communications (GSM), General Packet Radio Service (GPRS), code division multiple access (code division multiple access, CDMA), Wideband Code Division Multiple Access (WCDMA), time-division code division multiple access (time-division code division multiple access, TD-SCDMA), Long Term Evolution (LTE), LTE, BT, GNSS, WLAN, NFC, FM, and/or IR technologies, etc. The GNSS may include a Global Positioning System (GPS), a global navigation satellite system (GLONASS), a beidou navigation satellite system (BDS), a quasi-zenith satellite system (QZSS), and/or a Satellite Based Augmentation System (SBAS).

The electronic device 800 implements display functions via the GPU, the display screen 894, and the application processor, among other things. The GPU is a microprocessor for image processing, and is connected to a display screen 894 and an application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. Processor 810 may include one or more GPUs that execute program instructions to generate or alter display information.

The electronic device 800 may implement a shooting function through the ISP, the camera 893, the video codec, the GPU, the display screen 894, and the application processor, etc. In some embodiments of the present application, the display screen 894 is used to enable human-computer interaction with a user.

The external memory interface 820 may be used to connect an external memory card, such as a Micro SD card, to extend the memory capability of the electronic device 800. The external memory card communicates with the processor 810 through the external memory interface 820 to implement data storage functions. For example, the ECG data and PPG data of the user are saved in an external memory card.

The internal memory 821 may be used to store computer-executable program code, which includes instructions. The internal memory 821 may include a program storage area and a data storage area. The storage program area may store an operating system, an application program (such as a sound playing function, an image playing function, etc.) required by at least one function, and the like. The data storage area may store data (e.g., audio data, phone book, etc.) created during use of the electronic device 800, and the like. In addition, the internal memory 821 may include a high-speed random access memory, and may further include a nonvolatile memory, such as at least one magnetic disk storage device, a flash memory device, a universal flash memory (UFS), and the like. The processor 810 performs various functional applications and data processing of the electronic device 800 by executing instructions stored in the internal memory 821 and/or instructions stored in a memory provided in the processor.

Electronic device 800 may implement audio functionality via audio module 870, speaker 870A, receiver 870B, microphone 870C, headset interface 870D, and an application processor, among other things. Such as music playing, recording, etc.

The keys 890 include a power-on key, a volume key, and the like. The keys 890 may be mechanical keys. Or may be touch keys. The electronic device 800 may receive a key input, generate a key signal input related to user settings and function control of the electronic device 800.

The motor 891 may generate a vibration cue. The motor 891 may be used for incoming call vibration prompts, as well as for touch vibration feedback. For example, touch operations applied to different applications (e.g., photographing, audio playing, etc.) may correspond to different vibration feedback effects. The motor 891 may also respond to different vibration feedback effects for touch operations applied to different areas of the display screen 894. Different application scenes (such as time reminding, receiving information, alarm clock, game and the like) can also correspond to different vibration feedback effects. The touch vibration feedback effect may also support customization.

Indicator 892 may be an indicator light that may be used to indicate a state of charge, a change in charge, or a message, missed call, notification, etc.

The SIM card interface 895 is used to connect a SIM card.

Referring now to fig. 9, the software system of the electronic device 800 may employ a layered architecture, an event-driven architecture, a microkernel architecture, a microservice architecture, or a cloud architecture. The embodiment of the application takes an Android system with a layered architecture as an example, and exemplarily illustrates a software structure of a terminal device. Fig. 9 is a block diagram of a software configuration of a terminal device according to an embodiment of the present application.

The layered architecture divides the software into several layers, each layer having a clear role and division of labor. The layers communicate with each other through a software interface. In some embodiments, the Android system is divided into four layers, an application layer, an application framework layer, an Android runtime (Android runtime) and system library, and a kernel layer from top to bottom.

The application layer may include a series of application packages.

As shown in fig. 9, the application package may include phone, camera, gallery, calendar, talk, map, navigation, WLAN, bluetooth, music, video, short message, etc. applications.

The application framework layer provides an Application Programming Interface (API) and a programming framework for the application program of the application layer. The application framework layer includes a number of predefined functions.

As shown in FIG. 9, the application framework layers may include a window manager, content provider, view system, phone manager, resource manager, notification manager, and the like.

The window manager is used for managing window programs. The window manager can obtain the size of the display screen, judge whether a status bar exists, lock the screen, intercept the screen and the like.

The content provider is used to store and retrieve data and make it accessible to applications. The data may include video, images, audio, calls made and received, browsing history and bookmarks, phone books, etc.

The view system includes visual controls such as controls to display text, controls to display pictures, and the like. The view system may be used to build applications. The display interface may be composed of one or more views. For example, the display interface including the short message notification icon may include a view for displaying text and a view for displaying pictures.

The telephone manager is used for providing a communication function of the terminal equipment. Such as management of call status (including on, off, etc.).

The resource manager provides various resources for the application, such as localized strings, icons, pictures, layout files, video files, and the like.

The notification manager enables the application to display notification information in the status bar, can be used to convey notification-type messages, can disappear automatically after a short dwell, and does not require user interaction. Such as a notification manager used to inform download completion, message alerts, etc. The notification manager may also be a notification that appears in the form of a chart or scroll bar text at the top status bar of the system, such as a notification of a background running application, or a notification that appears on the screen in the form of a dialog window. For example, text information is prompted in the status bar, a prompt tone is given, the terminal device vibrates, an indicator light flickers, and the like.

The Android Runtime comprises a core library and a virtual machine. The Android runtime is responsible for scheduling and managing an Android system.

The core library comprises two parts: one part is a function which needs to be called by java language, and the other part is a core library of android.

The application layer and the application framework layer run in a virtual machine. And executing java files of the application program layer and the application program framework layer into a binary file by the virtual machine. The virtual machine is used for performing the functions of object life cycle management, stack management, thread management, safety and exception management, garbage collection and the like.

The system library may include a plurality of functional modules. For example: surface managers (surface managers), Media Libraries (Media Libraries), three-dimensional graphics processing Libraries (e.g., OpenGL ES), 2D graphics engines (e.g., SGL), and the like.

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

The media library supports a variety of commonly used audio, video format playback and recording, and still image files, among others. The media library may support a variety of audio-video encoding formats, such as: MPEG4, H.264, MP3, AAC, AMR, JPG, PNG, etc.

The three-dimensional graphic processing library is used for realizing three-dimensional graphic drawing, image rendering, synthesis, layer processing and the like.

The 2D graphics engine is a drawing engine for 2D drawing.

The kernel layer is a layer between hardware and software. The inner core layer at least comprises a display driver, a camera driver, an audio driver and a sensor driver.

Reference in the specification to "one embodiment" or "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment is included in at least one example embodiment or technology in accordance with the present disclosure. The appearances of the phrase "in one embodiment" in various places in the specification are not necessarily all referring to the same embodiment.

The disclosure also relates to an operating device for executing in text. This apparatus may be specially constructed for the required purposes, or it may comprise a general-purpose computer selectively activated or reconfigured by a computer program stored in the computer. Such a computer program may be stored in a computer readable medium, such as, but is not limited to, any type of disk including floppy disks, optical disks, CD-ROMs, magnetic-optical disks, read-only memories (ROMs), Random Access Memories (RAMs), EPROMs, EEPROMs, magnetic or optical cards, Application Specific Integrated Circuits (ASICs), or any type of media suitable for storing electronic instructions, and each may be coupled to a computer system bus. Further, the computers referred to in the specification may include a single processor or may be architectures employing multiple processor designs for increased computing capability.

The processes and displays presented herein are not inherently related to any particular computer or other apparatus. Various general-purpose systems may also be used with programs in accordance with the teachings herein, or it may prove convenient to construct more specialized apparatus to perform one or more method steps. The structure for a variety of these systems is discussed in the description that follows. In addition, any particular programming language sufficient to implement the techniques and embodiments of the present disclosure may be used. Various programming languages may be used to implement the present disclosure as discussed herein.

Moreover, the language used in the specification has been principally selected for readability and instructional purposes, and may not have been selected to delineate or circumscribe the disclosed subject matter. Accordingly, the present disclosure is intended to be illustrative, but not limiting, of the scope of the concepts discussed herein.

35页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种生成心搏间期差值数据序列的方法和装置

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!