Method of calibrating a blood pressure measurement function and electronic device
By actively determining the calibration timing within the wearable device and automatically calibrating the zero-point drift of the barometric pressure sensor, the problem of decreased blood pressure measurement accuracy in wearable devices is solved, achieving accurate blood pressure measurement and improved user experience.
Patent Information
- Application Number
- CN202210119230.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-02-08
- Publication Date
- 2025-12-12
- Estimated Expiration
- 2042-02-08
AI Technical Summary
The lack of a ventilation valve in the barometric pressure sensor of wearable devices prevents calibration before each measurement, resulting in decreased blood pressure measurement accuracy and the inability to provide accurate blood pressure measurement results.
Electronic devices can automatically perform calibration by actively determining the appropriate time to determine the zero-point drift of the barometric pressure sensor, obtain the target deviation value, and complete the calibration process in an automated manner, thereby improving the reliability of blood pressure measurement.
It enables users to obtain accurate blood pressure values during use, reduces hardware complexity, and improves user experience and the reliability of blood pressure measurement.
Smart Images

Figure CN116602639B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the terminal field, and in particular to a method for calibrating a blood pressure measurement function and an electronic device. BACKGROUND
[0002] With the development of electronic technology, the functions of electronic devices are constantly enhanced, and electronic devices are increasingly involved in the daily life of consumers. For example, wearable devices such as wristbands and watches can provide a blood pressure measurement function to help consumers measure their blood pressure at any time and any place, and thus understand their physical condition.
[0003] The wearable device described above often measures blood pressure by using the oscillometric method. The oscillometric method requires accurate measurement of the air pressure value of the air bag, and then calculates the blood pressure value based on the air pressure value of the air bag and the amplitude change of the pulse signal. Because the air pressure value of the air bag is generally measured by an air pressure sensor, it is clear that the measurement accuracy of the air pressure sensor will directly affect the accuracy of the blood pressure measurement.
[0004] Professional medical devices such as arm sphygmomanometers are often properly maintained by consumers, or are maintained and calibrated regularly by professionals in special places such as hospitals. However, the use scenarios of wearable devices are different from those of professional medical devices. As a consumer's daily life electronic device, the wearable device may be bumped, wet, and the like, which can reduce the accuracy of the air pressure sensor on the wearable electronic device. Further, the wearable device is often not equipped with a through air valve for connecting the air bag and the atmosphere in order to facilitate portability, and thus cannot be connected to the atmosphere before each blood pressure measurement, and the air pressure sensor cannot be calibrated before each blood pressure measurement. The reading of the uncalibrated air pressure sensor is inaccurate, and thus the blood pressure determined based on the reading of the air pressure sensor is also inaccurate.
[0005] After the accuracy of the air pressure sensor decreases, the accuracy of the blood pressure measurement of the wearable device will also decrease, and thus the wearable device cannot provide accurate blood pressure measurement results to the consumer. SUMMARY
[0006] The embodiments of the present application provide a method for calibrating a blood pressure measurement function and an electronic device, and relate to the terminal field. First, the electronic device provided by the embodiments of the present application can measure the blood pressure of a user. Second, the method for calibrating a blood pressure measurement function provided by the present application can autonomously determine a suitable opportunity to perform calibration, determine the zero-point drift of the air pressure sensor, and thus obtain accurate blood pressure during the use of the blood pressure measurement function by the user.
[0007] In a first aspect, an embodiment of the present application provides a data protection method applied to an electronic device, the electronic device comprising: an air bag, an air pressure sensor, and an air pump, the air bag being connected to the air pump, and the air pressure sensor being configured to measure air pressure of the air bag; the method comprising: determining one or more first deviation values based on one or more readings of the air pressure sensor, in a case where a first condition is met, the first deviation values being configured to indicate zero-point drift of the air pressure sensor, the first condition comprising that the electronic device is in an unworn state and a stationary state, or a charging state and a stationary state, or an air bag disassembly state and a stationary state; determining a target deviation value based on the one or more first deviation values, the target deviation value being a deviation value used to calculate blood pressure; in response to a first operation of a user, inflating the air bag by the air pump, and determining blood pressure of the user based on the air pressure sensor and the target deviation value.
[0008] In the above embodiment, since the electronic device is not configured with a through air valve, the electronic device actively determines a suitable timing to perform calibration, and then obtains a target deviation value, so that the blood pressure value can be calibrated when the user uses the electronic device to measure blood pressure, and accurate blood pressure can be obtained. Moreover, since the electronic device is not configured with a through air valve, the hardware complexity of the electronic device is low, which helps to improve the reliability of blood pressure measurement.
[0009] In combination with some embodiments of the first aspect, in some embodiments, the method further comprises: in response to a second operation of the user, determining whether the first condition is met, the second operation comprising that the user clicks a first control.
[0010] In the above embodiment, the electronic device can determine whether the calibration condition is met in response to the operation of the user, and then determine whether to calibrate, thereby improving the user experience.
[0011] In combination with some embodiments of the first aspect, in some embodiments, in response to a change in the state of the electronic device, it is determined whether the first condition is met.
[0012] In the above embodiment, when the state of the electronic device changes, it can be determined whether the calibration condition is met, and then it is determined whether to perform calibration, without the user having to perform tedious operations, and the judgment and calibration are automatically completed, thereby improving the user experience.
[0013] In some embodiments of the first aspect, in response to the change of the state of the electronic device, determining whether the first condition is met comprises: in response to the electronic device changing from the air bag undetached state to the air bag detached state, determining whether the electronic device maintains the stationary state and the air bag detached state; or in response to the electronic device changing from the uncharged state to the charged state, determining whether the electronic device maintains the stationary state and the charged state.
[0014] In the above embodiments, when the electronic device changes from the air bag undetached state to the air bag detached state, or the electronic device changes from the uncharged state to the charged state, the electronic device can determine whether the condition for calibration is met, and then determine whether to perform calibration, without the user going through tedious operations, automatically completing the judgment and calibration, and improving the user experience.
[0015] In some embodiments of the first aspect, the method further comprises: periodically determining whether the first condition is met.
[0016] In the above embodiments, the electronic device can periodically determine whether the condition for calibration is met, and then determine whether to perform calibration, without the user going through tedious operations, automatically completing the judgment and calibration, and improving the user experience.
[0017] In some embodiments of the first aspect, after determining one or more first deviation values based on one or more readings of the air pressure sensor in the case where the first condition is met, before determining the target deviation value based on the one or more first deviation values, the method further comprises: determining whether the air pressure sensor is faulty based on the one or more first deviation values.
[0018] In the above embodiments, the electronic device can also determine whether the air pressure sensor is faulty based on the deviation value determined in the calibration process. When the air pressure sensor fails, the electronic device can determine that the air pressure sensor fails in a timely manner, which can ensure the reliability of blood pressure measurement and improve the user experience.
[0019] In some embodiments of the first aspect, in some embodiments, the determining, based on the one or more first deviation values, whether the barometric pressure sensor is malfunctioning specifically comprises: comparing magnitudes of the one or more first deviation values and a preset deviation threshold; if all of the one or more first deviation values are smaller than the preset deviation threshold, determining that the barometric pressure sensor is not malfunctioning; if not all of the one or more first deviation values are smaller than the preset deviation threshold, determining that the barometric pressure sensor is malfunctioning; and / or comparing a standard deviation of the one or more first deviation values and a preset standard deviation threshold; if the standard deviation of the one or more first deviation values is smaller than the standard deviation threshold, determining that the barometric pressure sensor is not malfunctioning; if the standard deviation of the one or more first deviation values is larger than the standard deviation threshold, determining that the barometric pressure sensor is malfunctioning.
[0020] In the above embodiments, the electronic device can determine whether the barometric pressure sensor is malfunctioning based on statistical characteristics of the deviation values, and can determine that the barometric pressure sensor is malfunctioning in a timely manner after the barometric pressure sensor is malfunctioning, thereby ensuring the reliability of blood pressure measurement and improving the user experience.
[0021] In some embodiments of the first aspect, in some embodiments, the determining, based on the one or more first deviation values, the target deviation value specifically comprises: in response to the first operation of the user, or after determining the one or more first deviation values, determining the target deviation value based on the one or more first deviation values.
[0022] In the above embodiments, the electronic device can determine one or more first deviation values during calibration, and then determine the target deviation value based on the one or more first deviation values, so that the target deviation value is close to the true deviation, and a more accurate blood pressure value is obtained.
[0023] In some embodiments of the first aspect, in some embodiments, the determining, based on the one or more first deviation values, the target deviation value specifically comprises: in a case where the number of the one or more first deviation values is one, determining the one first deviation value as the target deviation value; in a case where the number of the one or more first deviation values is a plurality, determining a mean value of the plurality of first deviation values as the target deviation value.
[0024] In the above embodiments, the electronic device can determine the target deviation value based on the one or more first deviation values, so that the target deviation value is close to the true deviation, and a more accurate blood pressure value is obtained.
[0025] In some embodiments of the first aspect, in some embodiments, the determining the target deviation value based on the one or more first deviation values specifically comprises: determining the target deviation value based on the one or more first deviation values and a historical deviation value, the historical deviation value comprising a target deviation value obtained by the electronic device in a previous calibration of the blood pressure measurement function.
[0026] In the above embodiments, the electronic device can obtain the target deviation value based on the one or more first deviation values and the historical deviation value, so that the target deviation value is close to the real deviation, and thus a more accurate blood pressure value is obtained.
[0027] In the second aspect, the embodiments of the present application provide a data protection method applied to an electronic device, the electronic device comprising: an air bag, an air pressure sensor, and an air pump, the air bag being connected to the air pump, and the air pressure sensor being configured to measure the air pressure of the air bag; the method comprising: displaying a first control in a case where a first condition is met, the first control being configured to prompt a user that the electronic device is in a calibration process, and the first condition comprising that the electronic device is in an undressed state and a stationary state, or a charging state and a stationary state, or an air bag disassembly state and a stationary state; and displaying a second control after receiving a first operation of the user, the second control being configured to display first data, the first data comprising a blood pressure of the user, the blood pressure of the user being determined based on the air pressure sensor and a target deviation value, the target deviation value being a deviation value used for calculating the blood pressure, and the target deviation value being determined in the case where the first condition is met.
[0028] In the above embodiments, since the electronic device is not configured with a valve, the electronic device actively determines a suitable timing to perform calibration, and then obtains the target deviation value, so that the blood pressure value can be calibrated when the user uses the electronic device to measure the blood pressure, and an accurate blood pressure is obtained. Moreover, since the electronic device is not configured with a valve, the complexity of the hardware of the electronic device is low, which helps to improve the reliability of blood pressure measurement.
[0029] In some embodiments of the second aspect, the method further comprises: determining one or more first deviation values based on one or more readings of the air pressure sensor in the case where the first condition is met; determining the target deviation value based on the one or more first deviation values; and in response to the first operation, inflating the air bag by the air pump, and determining the blood pressure of the user based on the air pressure sensor and the target deviation value.
[0030] In the above embodiments, the electronic device determines the target deviation value in the case where the first condition is met, and thus the blood pressure data can be corrected when the user uses the blood pressure measurement function, and an accurate blood pressure is obtained.
[0031] In a third aspect, an electronic device is provided. The electronic device includes an airbag, an air pressure sensor, and an air pump. The airbag is connected to the air pump. The air pressure sensor is configured to measure air pressure of the airbag. The electronic device includes one or more processors and a memory. The memory is coupled to the one or more processors. The memory is configured to store computer program codes including computer instructions. The one or more processors are configured to invoke the computer instructions to cause the electronic device to perform the following operations. In response to a first condition being met, the one or more processors are configured to determine one or more first deviation values based on one or more readings of the air pressure sensor. The first deviation values are configured to indicate a zero-point drift of the air pressure sensor. The first condition includes that the electronic device is in an undetached state and a stationary state, or in a charging state and the stationary state, or in an airbag-detached state and the stationary state. The one or more processors are configured to determine a target deviation value based on the one or more first deviation values. The target deviation value is configured to be a deviation value used for calculating blood pressure. In response to a first operation of a user, the one or more processors are configured to cause the air pump to inflate the airbag. The one or more processors are configured to determine blood pressure of the user based on the air pressure sensor and the target deviation value.
[0032] In the above embodiments, since the electronic device does not have a configured air valve, the electronic device actively determines a suitable timing to perform calibration, and then obtains a target deviation value. Thus, when the user uses the electronic device to measure blood pressure, the blood pressure value can be calibrated, and accurate blood pressure can be obtained. Moreover, since the electronic device does not have a configured air valve, the hardware complexity of the electronic device is low, which helps to improve the reliability of blood pressure measurement.
[0033] In some embodiments of the third aspect, the one or more processors are further configured to invoke the computer instructions to cause the electronic device to perform the following operation. In response to a change in a state of the electronic device, the one or more processors are configured to determine whether the first condition is met.
[0034] In some embodiments of the third aspect, the one or more processors are specifically configured to invoke the computer instructions to cause the electronic device to perform the following operation. In response to the electronic device changing from an airbag-detached state to an airbag-detached state, the one or more processors are configured to determine whether the electronic device maintains a stationary state and the airbag-detached state. Alternatively, in response to the electronic device changing from an undetached state to a charging state, the one or more processors are configured to determine whether the electronic device maintains a stationary state and the charging state.
[0035] In some embodiments of the third aspect, the one or more processors are further configured to invoke the computer instructions to cause the electronic device to perform the following operation. The one or more processors are configured to periodically determine whether the first condition is met.
[0036] In conjunction with some embodiments of the third aspect, in some embodiments, the one or more processors are further configured to invoke the computer instructions to cause the electronic device to perform: determining whether the barometric pressure sensor is faulty based on the one or more first deviation values.
[0037] In conjunction with some embodiments of the third aspect, in some embodiments, the one or more processors are specifically configured to invoke the computer instructions to cause the electronic device to perform: comparing the one or more first deviation values with a preset deviation threshold; if all one or more first deviation values are less than the preset deviation threshold, determining that the barometric pressure sensor is not faulty; if the one or more first deviation values are not all less than the preset deviation threshold, determining that the barometric pressure sensor is faulty; and / or comparing the standard deviation of the one or more first deviation values with a preset standard deviation threshold; if the standard deviation of the one or more first deviation values is less than the standard deviation threshold, determining that the barometric pressure sensor is not faulty; if the standard deviation of the one or more first deviation values is greater than the standard deviation threshold, determining that the barometric pressure sensor is faulty.
[0038] In conjunction with some embodiments of the third aspect, in some embodiments, the one or more processors are specifically configured to invoke the computer instructions to cause the electronic device to perform: in response to the first operation by the user, or, after determining the one or more first deviation values, to determine the target deviation value based on the one or more first deviation values.
[0039] In conjunction with some embodiments of the third aspect, in some embodiments, the one or more processors are specifically configured to invoke the computer instructions to cause the electronic device to perform: when the number of the one or more first deviation values is one, determining the one first deviation value as the target deviation value; and when the number of the one or more first deviation values is multiple, determining the average of the multiple first deviation values as the target deviation value.
[0040] In conjunction with some embodiments of the third aspect, in some embodiments, the one or more processors are specifically configured to invoke the computer instructions to cause the electronic device to perform: determining the target deviation value based on the one or more first deviation values and historical deviation values, the historical deviation values including the target deviation value obtained by a calibration method previously performed by the electronic device to perform the blood pressure measurement function.
[0041] In a fourth aspect, an electronic device is provided. The electronic device includes an airbag, an air pressure sensor, and an air pump. The airbag is connected to the air pump, and the air pressure sensor is configured to measure air pressure of the airbag. The electronic device includes one or more processors and a memory. The memory is coupled to the one or more processors and configured to store computer program codes including computer instructions. The one or more processors are configured to invoke the computer instructions to cause the electronic device to perform the following operations. When a first condition is met, a first control is displayed. The first control is configured to prompt a user to calibrate the electronic device. The first condition includes that the electronic device is in an undressed state and a stationary state, or in a charging state and a stationary state, or in an airbag detached state and a stationary state. After receiving a first operation of the user, a second control is displayed. The second control is configured to display first data. The first data includes blood pressure of the user. The blood pressure of the user is determined based on the air pressure sensor and a target deviation value. The target deviation value is a deviation value used to calculate the blood pressure. The target deviation value is determined when the first condition is met.
[0042] In some embodiments of the fourth aspect, the one or more processors are further configured to invoke the computer instructions to cause the electronic device to perform the following operations. When the first condition is met, one or more first deviation values are determined based on one or more readings of the air pressure sensor. The target deviation value is determined based on the one or more first deviation values. In response to the first operation, the airbag is inflated by the air pump. The blood pressure of the user is determined based on the air pressure sensor and the target deviation value.
[0043] In a fifth aspect, a chip system is provided. The chip system is applied to an electronic device. The chip system includes one or more processors. The processor is configured to invoke computer instructions to cause the electronic device to perform the method described in the first aspect, the second aspect, and any possible implementation manner of the first aspect and the second aspect.
[0044] In a sixth aspect, a computer program product including instructions is provided. When the computer program product is executed on an electronic device, the electronic device performs the method described in the first aspect, the second aspect, and any possible implementation manner of the first aspect and the second aspect.
[0045] In a seventh aspect, a computer-readable storage medium including instructions is provided. When the instructions are executed on an electronic device, the electronic device performs the method described in the first aspect, the second aspect, and any possible implementation manner of the first aspect and the second aspect.
[0046] It can be understood that the electronic device provided in the third and fourth aspects, the chip system provided in the fifth aspect, the computer program product provided in the sixth aspect and the computer storage medium provided in the seventh aspect are all used to execute the method provided in the embodiments of the present application. Therefore, the beneficial effects achieved thereby can refer to the beneficial effects in the corresponding method, which will not be described herein again. BRIEF DESCRIPTION OF DRAWINGS
[0047] FIG. 1A An exemplary schematic diagram of a conventional electronic sphygmomanometer usage method provided in the embodiments of the present application.
[0048] FIG. 1B An exemplary schematic diagram of the principle of the oscillometric method provided in the embodiments of the present application.
[0049] FIG. 1C An exemplary schematic diagram of the zero-point drift of the air pressure sensor 203B provided in the embodiments of the present application.
[0050] FIG. 1D An exemplary schematic diagram of the erroneous blood pressure measurement result caused by the zero-point drift of the air pressure sensor 203B provided in the embodiments of the present application.
[0051] FIG. 2A An exemplary schematic diagram of the hardware structure of the electronic device provided in the embodiments of the present application.
[0052] FIG. 2B 、 FIG. 2C 、 FIG. 2D 、 FIG. 2E An exemplary schematic diagram of the hardware structure of the electronic device supporting the blood pressure measurement function provided in the embodiments of the present application.
[0053] FIG. 2F 、 FIG. 2G Another exemplary schematic diagram of the hardware structure of the electronic device supporting the blood pressure measurement function provided in the embodiments of the present application.
[0054] FIG. 3 An exemplary schematic diagram of the software architecture of the electronic device provided in the embodiments of the present application.
[0055] FIG. 4 An exemplary schematic diagram of the flow of the method of calibrating the blood pressure measurement function provided in the embodiments of the present application.
[0056] FIG. 5A 、 FIG. 5B 、 FIG. 5C 、 FIG. 5D An exemplary schematic diagram of the user interface of the electronic device provided in the embodiments of the present application.
[0057] FIG. 6An example schematic diagram of the electronic device provided in the embodiments of the present application identifying whether the airbag 203D is detached through the magnetic sensor.
[0058] FIG. 7 Another example schematic diagram of the user interface on the electronic device provided in the embodiments of the present application.
[0059] FIG. 8 An example schematic diagram of the method flow of determining whether the air pressure sensor is faulty provided in the embodiments of the present application.
[0060] FIG. 9A An example schematic diagram of the data flow in the method process of calibrating the blood pressure measurement function provided in the embodiments of the present application.
[0061] FIG. 9B Another example schematic diagram of the data flow in the method process of calibrating the blood pressure measurement function provided in the embodiments of the present application. DETAILED DESCRIPTION
[0062] The terminology used in the following embodiments of the present application is only for the purpose of describing specific embodiments and is not intended to be limiting of the present application. As used in the specification and the appended claims of the application, the singular forms "a," "an" and "the" are intended to include both singular and plural forms, unless the context clearly indicates otherwise. It will be further understood that the terms "and / or," as used in the specification and in the claims, are used to allow for any and all possible combinations of one or more of the associated listed items.
[0063] Hereinafter, the terms "first" and "second" are only used for the purpose of description, and cannot be understood as implying or suggesting relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined with "first" and "second" can explicitly or implicitly include one or more of the features, and in the description of the embodiments of the present application, the meaning of "a plurality of" is two or more, unless otherwise specified.
[0064] The term "user interface (UI)" in the following embodiments of the present application is a medium interface for interaction and information exchange between an application or an operating system and a user, which realizes the conversion between the internal form of information and the form that the user can accept. The commonly used form of user interface is graphic user interface (GUI), which refers to a user interface related to computer operation displayed in a graphical manner. It can be a visual interface element such as text, icon, button, menu, tab, text box, dialog box, status bar, navigation bar, Widget, etc. displayed in the display screen of the electronic device.
[0065] With the development of electronic technology, electronic devices capable of performing blood pressure measurement functions are developing towards intelligence and wearability. Next, first introduce the traditional electronic sphygmomanometer and the principle of blood pressure measurement.
[0066] FIG. 1A An exemplary schematic diagram of a method for using a traditional electronic sphygmomanometer provided for embodiments of the present application.
[0067] As shown in FIG. 1A , the sphygmomanometer 1A01 includes a host 1A03 and a cuff 1A02.
[0068] A user can use the sphygmomanometer 1A01 to measure blood pressure, wherein the process of measuring blood pressure can include: first, the user wears a cuff; then the user starts the sphygmomanometer, the sphygmomanometer 1A01 temporarily blocks the arterial blood vessels of the arm by inflating the cuff 1A02, then records the air pressure value of the cuff 1A02 and the pulse signal generated by the pulse in the process of slowly deflating; finally, the blood pressure of the user is determined based on the air pressure value of the cuff 1A02 and the amplitude or envelope of the pulse signal.
[0069] Wherein, the blood flow will generate a side pressure on the blood vessel wall, and the change in the size of the side pressure will cause the blood vessel wall to vibrate slightly, and the pulse signal is the signal generated by the slight vibration of the blood vessel wall.
[0070] Wherein, determining the blood pressure of the user based on the air pressure value of the cuff and the amplitude or envelope of the pulse signal is also called oscillography. Next, an exemplary principle of oscillography is introduced in conjunction with the content shown in FIG. 1B .
[0071] FIG. 1B An exemplary schematic diagram of the principle of oscillography provided for embodiments of the present application.
[0072] As shown in FIG. 1B , in the process of the sphygmomanometer 1A01 temporarily blocking the arterial blood vessels of the arm by inflating the cuff 1A02, the state of the cuff 1A02 is gradually rising to stable, and the state of the artery is gradually blocked to completely blocked; then in the process of slowly deflating, the state of the cuff 1A02 is gradually decreasing to 0, and the state of the artery is completely blocked to unblocked.
[0073] In the process of gradually reducing the pressure of the cuff 1A02 to 0, the pressure value of the cuff 1A02 and the pulse signal are recorded. When the pressure value of the cuff 1A02 is greater than or equal to the systolic pressure, the artery is blocked, and the pulse signal is a small oscillation wave; when the pressure value of the cuff 1A02 gradually decreases and is less than the systolic pressure and greater than the mean pressure, the artery gradually unblocks, and the amplitude of the pulse signal continuously increases; when the pressure value of the cuff 1A02 is equal to the mean pressure, the amplitude of the pulse signal reaches a maximum value; when the pressure value of the cuff 1A02 continues to gradually decrease and is greater than the diastolic pressure and less than the mean pressure, the amplitude of the pulse signal gradually decreases; and when the pressure value of the cuff 1A02 is less than the diastolic pressure, the pulse signal is a small oscillation wave.
[0074] Therefore, the sphygmomanometer 1A01 can determine the systolic pressure and diastolic pressure of the user through the amplitude change of the pulse signal and the pressure value of the cuff 1A02. The pressure value of the cuff 1A02 and the pulse signal can be determined by the pressure sensor 203B (not shown in the figures) built in the host 1A03 in the sphygmomanometer 1A01. FIG. 1A 、 FIG. 1B FIG. 1C and FIG. 2A .
[0075] However, in the case that the pressure value of the cuff 1A02 obtained by the sphygmomanometer 1A01 is inaccurate, the systolic pressure, mean pressure and diastolic pressure calculated by the sphygmomanometer 1A01 are also inaccurate.
[0076] Among them, the zero point drift of the pressure sensor will cause the sphygmomanometer 1A01 to be unable to accurately measure the pressure value in the cuff 1A02. Taking the differential pressure type pressure sensor 203B as an example, the zero point drift and the result caused by the zero point drift are exemplarily introduced.
[0077] Among them, the differential pressure type pressure sensor can include two sensing elements. One sensing element is in communication with the cuff 1A02 for measuring the pressure in the cuff 1A02, and the other sensing element is in communication with the external environment of the watch and can be used to measure the atmospheric pressure. Among them, the sensing element can output different intensity of electrical signal according to the change of pressure. The differential pressure sensor can accurately determine the pressure in the cuff 1A02 by comparing the electrical signals output by the two sensing elements.
[0078] FIG. 1C An exemplary schematic diagram of the zero point drift of the pressure sensor 203B provided in the embodiments of the present application.
[0079] As FIG. 1C As shown, when the air pressure sensor 203B does not have zero point drift, the reading of the air pressure sensor 203B is 0 when the sensing element 203B1 and the sensing element 203B2 of the air pressure sensor 203B are in the same pressure environment; however, when the air pressure sensor 203B has zero point drift, the reading of the air pressure sensor 203B is not 0 when the sensing element 203B1 and the sensing element 203B2 of the air pressure sensor 203B are in the same pressure environment.
[0080] The specific description of the sensing element 203B1 and the sensing element 203B2 can be referred to the following FIG. 2F The specific description of the sensing element 203B1 and the sensing element 203B2 can be referred to the following
[0081] The device aging and the device damage of the air pressure sensor 203B can cause the zero point drift of the air pressure sensor 203B.
[0082] After the air pressure sensor 203B has zero point drift, the air pressure sensor 203B cannot accurately measure the pressure in the cuff 1A02 during the blood pressure measurement of the user.
[0083] For example, when the sensing element 203B1 and the sensing element 203B2 are in the same pressure environment, the reading of the air pressure sensor 203B is 5 mmHg, that is, the zero point drift of the air pressure sensor 203B is 5 mmHg. During the blood pressure measurement of the user, the pressure of the air bag is A mmHg, and the reading of the air pressure sensor 203B is A+5 mmHg, which further causes the false blood pressure result as follows FIG. 1D As shown.
[0084] After the air pressure sensor 203B has zero point drift, the air pressure sensor 203B cannot accurately measure the pressure in the cuff 1A02 during the blood pressure measurement of the user.
[0085] FIG. 1D An example of the false blood pressure measurement result caused by the zero point drift of the air pressure sensor 203B provided by the embodiments of the present application is shown in the following.
[0086] As FIG. 1D As shown, when the air pressure sensor 203B has zero point drift, the air pressure value of the cuff 1A02 provided by the air pressure sensor 203B to the processor in the host 1A03 is false. The processor in the host 1A03 will obtain false systolic pressure, false mean pressure, and false diastolic pressure according to the false air pressure value of the cuff 1A02.
[0087] A feasible solution is to calibrate the air pressure sensor 203B of the sphygmomanometer 1A01 before measuring the blood pressure, and determine the zero point drift of the air pressure sensor 203B. A feasible solution is to calibrate the air pressure sensor 203B of the sphygmomanometer 1A01 before measuring the blood pressure, and determine the zero point drift of the air pressure sensor 203B.
[0088] For the differential pressure type air pressure sensor 203B, the sensing element 203B1 and the sensing element 203B2 of the air pressure sensor 203B need to be placed in the same air pressure environment to complete calibration, which requires a more complex hardware structure design of the blood pressure meter.
[0089] For example, the arm type blood pressure meter often increases one or more through air valves for connecting the sensing element 203B1 of the air pressure sensor 203B with the external environment. Before the user uses the wall type blood pressure meter to measure blood pressure, the wall type blood pressure meter actively opens the through air valve, so that the sensing element 203B1 and the sensing element 203B2 of the air pressure sensor 203B sense the same atmospheric pressure, thereby completing the calibration of the air pressure sensor 203B and determining the zero drift of the air pressure sensor 203B. After the calibration is completed, the arm type blood pressure meter performs the blood pressure measurement function.
[0090] However, for wearable devices, a complex hardware structure design reduces the portability of the wearable device. Further, due to the complex use scenarios of the wearable device, such as bumping, wetness, and the like, the one or more additional through air valves may increase the failure rate of the wearable device.
[0091] In combination with the content described above, for wearable devices, the additional one or more through air valves reduce the portability of the wearable device, and the newly added hardware structure itself may also fail. For example, the through air valve itself fails, so that the sensing element 203B1 and the sensing element 203B2 are located in different pressure environments, and after the calibration of the air pressure sensor 203B, the electronic device obtains an incorrect zero drift of the air pressure sensor 203B, and the blood pressure measured by the user using the electronic device is incorrect.
[0092] For example, the zero drift of the air pressure sensor 203B is AmmHg, and in the case of a failure of the through air valve, the sensing element 203B1 and the sensing element 203B2 are calibrated in different pressure environments, and an incorrect zero drift of BmmHg is obtained. In the process of measuring blood pressure by the user, the electronic device obtains a reading of CmmHg of the air pressure sensor, and the electronic device determines that the pressure of the cuff 1A02 is C-BmmHg, while the actual pressure of the cuff 1A02 is C-AmmHg.
[0093] To solve this problem, the embodiments of the present application provide a method for calibrating a blood pressure measurement function and an electronic device.
[0094] Secondly, the method for calibrating a blood pressure measurement function and the electronic device provided by the embodiments of the present application are introduced below. Hereinafter, the hardware structure and the software architecture of the electronic device are introduced first, and then the flow of the method for calibrating the blood pressure measurement function performed by the electronic device is introduced.
[0095] In the electronic device hardware structure part, first, the overall hardware structure of the electronic device is introduced, and then the hardware structure supporting the blood pressure measurement function is introduced.
[0096] FIG. 2A An exemplary schematic diagram of the hardware structure of the electronic device provided in the embodiments of the present application.
[0097] As shown in FIG. 2A , the electronic device can be a wearable device such as a bracelet, a watch, etc., and the electronic device can also be a non-wearable device such as a wall-mounted blood pressure meter, etc. The embodiments of the present application do not specially limit the specific type of the electronic device.
[0098] The electronic device can include a processor 200, a wireless communication module 201, a mobile communication module 202, a sensor module 203, a key 204, a display screen 205, a motor 206, an internal memory 207, a SIM card interface 208, a USB interface 209, a power management module 210, a battery 211, and a charging management module 212. The sensor module 203 can include a touch sensor 203A, an air pressure sensor 203B, an air pump 203C, and an air bag 203D. The air bag 203D is similar in function to the cuff 1A02.
[0099] It can be understood that the structure shown in the embodiments of the present application does not constitute a specific limitation on the electronic device. In other embodiments of the present application, the electronic device can include more or fewer components than shown, or combine certain components, or split certain components, or different component arrangements. The components shown can be implemented in hardware, software, or a combination of software and hardware.
[0100] The processor 200 can include one or more processing units, for example: the processor 200 can 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. Different processing units can be independent devices or can be integrated into one or more processors.
[0101] In some embodiments, the processor 200 can include one or more interfaces. The interfaces can include an inter-integrated circuit (I2C) interface, an inter-integrated circuit sound (I2S) interface, a pulse code modulation (PCM) interface, a universal asynchronous receiver / transmitter (UART) interface, a mobile industry processor interface (MIPI), a general-purpose input / output (GPIO) interface, a subscriber identity module (SIM) interface, and / or a universal serial bus (USB) interface, etc.
[0102] In some embodiments, the processor 200 can also be a mircrocontroller unit (MCU).
[0103] The I2C interface is a bidirectional synchronous serial bus, including a serial data line (SDA) and a serial clock line (SCL). In some embodiments, the processor 200 can include multiple sets of I2C bus. The processor 200 can be coupled to the touch sensor 203A, the power management module 210, etc. through different I2C bus interfaces. For example, the processor 200 can be coupled to the touch sensor 203A through an I2C interface, so that the processor 200 and the touch sensor 203A communicate through the I2C bus interface, and realize the touch function of the electronic device.
[0104] The I2S interface can be used for audio communication. The PCM interface can also be used for audio communication, which samples, quantizes and encodes analog signals. The UART interface is a universal serial data bus, which is used for asynchronous communication. The bus can be a bidirectional communication bus. It converts the data to be transmitted between serial communication and parallel communication. In some embodiments, the UART interface is usually used to connect the processor 200 and the wireless communication module 201. For example, the processor 200 communicates with the Bluetooth module in the wireless communication module 201 through the UART interface, and realizes the Bluetooth function.
[0105] The MIPI interface can be used to connect the processor 200 and peripheral devices such as the display 205. The MIPI interface includes a camera serial interface (CSI), a display serial interface (DSI), and the like. The processor 200 and the display 205 communicate through the DSI interface to realize the display function of the electronic device.
[0106] The GPIO interface can be configured by software. The GPIO interface can be configured as a control signal or as a data signal. The USB interface 209 is an interface that meets the USB standard specification, and can be a Mini USB interface, a Micro USB interface, a USB Type C interface, or the like. The USB interface 209 can be used to connect a charger to charge the electronic device, or to transmit data between the electronic device and a peripheral device.
[0107] It can be understood that the interface connection relationship between the modules shown in the embodiments of the present application is only illustrative and does not constitute a structural limitation on the electronic device. In other embodiments of the present application, the electronic device can also use different interface connection methods or combinations of multiple interface connection methods.
[0108] The charging management module 212 is used to receive charging input from a charger. The charger can be a wireless charger or a wired charger. In some wired charging embodiments, the charging management module 212 can receive charging input from a wired charger through the USB interface 209. In some wireless charging embodiments, the charging management module 212 can receive wireless charging input through a wireless charging coil of the electronic device. The charging management module 212 can charge the battery 211 while also supplying power to the electronic device through the power management module 210.
[0109] The power management module 210 is used to connect the battery 211, the charging management module 212, and the processor 200. The power management module 210 receives input from the battery 211 and / or the charging management module 212 to supply power to the processor 200, the internal memory 207, the display 205, and the wireless communication module 201. The power management module 210 can also be used to monitor parameters such as battery capacity, battery cycle count, and battery health status (leakage, impedance). In other embodiments, the power management module 210 can also be disposed in the processor 200. In other embodiments, the power management module 210 and the charging management module 212 can also be disposed in the same device.
[0110] The wireless communication function of the electronic device can be realized through the mobile communication module 202, the wireless communication module 201, a modem processor, a baseband processor, and the like.
[0111] The mobile communication module 202 can provide a solution for wireless communication including 2G / 3G / 4G / 5G, etc. applied to the electronic device. The mobile communication module 202 can include at least one filter, a switch, a power amplifier, a low noise amplifier (LNA), etc. The mobile communication module 202 can receive electromagnetic waves by an antenna, and perform filtering, amplification, etc. on the received electromagnetic waves, and transfer the processed signals to a modem processor for demodulation. In some embodiments, at least part of the functional modules of the mobile communication module 202 can be disposed in the processor 200. In some embodiments, at least part of the functional modules of the mobile communication module 202 can be disposed in the same device as at least part of the modules of the processor 200.
[0112] The wireless communication module 201 can provide a solution for wireless communication including wireless local area networks (WLAN) (e.g., wireless fidelity (Wi-Fi) network), bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), infrared (IR) technology, etc. applied to the electronic device. The wireless communication module 201 can be one or more devices integrating at least one communication processing module. The wireless communication module 201 receives electromagnetic waves via an antenna, performs frequency modulation and filtering on the electromagnetic wave signals, and transmits the processed signals to the processor 200. The wireless communication module 201 can also receive signals to be transmitted from the processor 200, perform frequency modulation and amplification, and radiate the signals as electromagnetic waves via an antenna.
[0113] The key 204 includes a power key, a volume key, etc. The key 204 can be a mechanical key. It can also be a touch key. The electronic device can receive a key input, and generate a key signal input related to user settings and function control of the electronic device.
[0114] The display screen 205 is configured to display images, videos, and the like. The display screen 205 includes a display panel. The display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode (AMOLED), a flex light-emitting diode (FLED), a quantum dot light emitting diode (QLED), or the like. In some embodiments, the electronic device can include one or N display screens 205, where N is a positive integer greater than 1.
[0115] The motor 206 can generate a vibration prompt. The motor 206 can be used for incoming call vibration prompts and also for touch vibration feedback. For example, touch operations acting on different applications (e.g., taking photos, playing audio, etc.) can correspond to different vibration feedback effects. Touch operations acting on different regions of the display screen 205 can also correspond to different vibration feedback effects of the motor 206.
[0116] The internal memory 207 can include one or more random access memories (RAMs) and one or more non-volatile memories (NVMs).
[0117] The random access memory can include a static random-access memory (SRAM), a dynamic random access memory (DRAM), a synchronous dynamic random access memory (SDRAM), a double data rate synchronous dynamic random access memory (DDR SDRAM, such as a fifth-generation DDR SDRAM commonly referred to as a DDR5 SDRAM), or the like.
[0118] The non-volatile memory can include a magnetic disk storage device, a flash memory. The flash memory can include NOR FLASH, NAND FLASH, 3D NAND FLASH, etc. according to the operating principle, and can include single-level cell (SLC), multi-level cell (MLC), triple-level cell (TLC), quad-level cell (QLC), etc. according to the storage unit potential order, and can include universal flash storage (UFS), embedded multi media Card (eMMC), etc. according to the storage specification. The random access memory can be directly read and written by the processor 200, and can be used to store executable programs (such as machine instructions) of an operating system or other programs running, and can also be used to store data of users and application programs, etc. The non-volatile memory can also store executable programs and store data of users and application programs, etc., which can be loaded in advance into the random access memory for direct reading and writing by the processor 200.
[0119] The SIM card interface 208 is used to connect the SIM card. The SIM card can be inserted into or pulled out of the SIM card interface 208 to realize contact and separation with the electronic device. The electronic device can support one or N SIM card interfaces, and N is a positive integer greater than 1. The SIM card interface 208 can support Nano SIM cards, Micro SIM cards, SIM cards, etc. The same SIM card interface 208 can simultaneously insert multiple cards. The types of the multiple cards can be the same or different. The SIM card interface 208 can also be compatible with different types of SIM cards. The SIM card interface 208 can also be compatible with external storage cards. The electronic device interacts with the network through the SIM card to realize functions such as calling and data communication. In some embodiments, the electronic device uses eSIM, i.e. embedded SIM card. The eSIM card can be embedded in the electronic device and cannot be separated from the electronic device.
[0120] Touch sensor 203A, also referred to as "touch device". Touch sensor 203A can be disposed on display screen 205, and touch sensor 203A and display screen 205 together form a touch screen, also referred to as "touch panel". Touch sensor 203A is configured to detect touch operations performed on or near the touch sensor 203A. The touch sensor 203A can transmit the detected touch operation to the application processor to determine the touch event type. Visual output related to the touch operation can be provided through display screen 205. In some other embodiments, touch sensor 203A can also be disposed on the surface of the electronic device, which is different from the position where display screen 205 is disposed.
[0121] Barometric pressure sensor 203B is configured to measure barometric pressure. In some embodiments of the present application, the electronic device measures the barometric pressure in air bag 203D through barometric pressure sensor 203B. In some embodiments of the present application, part of the components of barometric pressure sensor 203B are located inside air bag 203D to sense the barometric pressure of air bag 203D.
[0122] Air pump 203C is configured to inflate and deflate. In some embodiments of the present application, the electronic device inflates air bag 203D through air pump 203C, where air pump 203C and air bag 203D are connected through air path connection assembly 203E. Air bag 203D is configured to press the blood vessels of the user, which is similar to the function of cuff 1A02 in FIG. 1A
[0123] Magnetic sensor 203F includes a Hall sensor. In some embodiments of the present application, the electronic device can use magnetic sensor 203F to determine whether air bag 203D on the electronic device is detached. For example, a magnet can be disposed on air bag 203D or the watchband connected to air bag 203D, and the electronic device can determine the magnetic flux generated by the magnet on air bag 203D or the magnet on air bag 203D through the magnetic sensor, and then determine whether air bag 203D on the electronic device is detached.
[0124] It is worth noting that air path connection assembly 203E can be a separate component, or air path connection assembly 203E can be an air path formed by the combination of other hardware modules, or air path connection assembly 203E can be part of other components, for example, it can be part of air pump 203C, and for example, it can be part of air bag 203D.
[0125] It is worth noting that sensor module 203 can also include an acceleration sensor, an infrared sensor, and the like.
[0126] After introducing the overall hardware structure of the electronic device, the hardware structure supporting the blood pressure measurement function on the electronic device is introduced, for example, the hardware structure supporting the blood pressure measurement function on the electronic device is introduced. FIG. 2B FIG. 2C FIG. 2D FIG. 2E as shown.
[0127] FIG. 2B , FIG. 2C , FIG. 2C , FIG. 2D An example schematic diagram of a hardware structure for supporting a blood pressure measurement function on an electronic device is provided.
[0128] As shown in FIG. 2E , when the electronic device is a smart watch, the air bag 203D is attached to the side of the watch band close to the body. The air pump 203C is connected to the air bag 203D through the air path guide assembly 203E. Among them, the air bag 203D can be attached only on one side of the watch band, which can be located above the position of the user's wrist artery, such as the radial artery position.
[0129] Among them, the air pump 203C can be located inside the watch body of the smart watch, the air bag 203D can be connected with the watch band buckle, and the air bag 203D is connected with the watch dial through the air hole cover 203G1 (as shown below FIG. 2D ).
[0130] As shown in FIG. 2E , the back of the watch dial has a groove 203H corresponding to the air hole cover 203G1 and the air hole cover 203G2. Among them, the air hole cover 203G2 is not connected with the air bag 203D, and the air hole cover 203G1 is connected with the air bag 203D.
[0131] When the user does not need to use the blood pressure measurement function of the electronic device, the air bag 203D can be removed, and then a separate air hole cover 203G2 can be installed. Because there is an interface of the air path guide assembly 203E in the groove 203H, the user can install a separate air hole cover after removing the air bag 203D, so as to avoid dust and particles entering the inside of the watch body through the interface of the air path guide assembly 203E, as shown in FIG. 2F .
[0132] When the user needs to use the blood pressure measurement function of the electronic device, the air bag can be fixed inside the watch band through the buckle on the watch band, and then connected with the watch dial through the air hole cover 203G1 and the groove 203H. The air hole cover 203G1 also has an interface of the air path guide assembly 203E, which is connected with the interface of the air path guide assembly 203E in the groove 203H, so that the air pump 203C can inflate the air bag 203D, as shown in FIG. 2G .
[0133] As shown in FIG. 2F , after the user removes the air bag 203D and installs a separate air hole cover 203G2, the form of the electronic device is similar to that of a general watch. As shown in FIG. 2GAs shown, the user can remove the separate air hole cover 203G2, and then install the air bag 203D.
[0134] FIG. 2B to FIG. 2F 、 FIG. 3 Another example of the hardware structure of the electronic device supporting the blood pressure measurement function is shown in the figure.
[0135] As FIG. 3 shown, the air pressure sensor 203B includes two sensing elements, namely, sensing element 203B1 and sensing element 203B2. The sensing element 203B1 can be located in the air path conduction assembly or in the air bag 203D, as FIG. 3 shown. The sensing element 203B2 can be in communication with the atmosphere. That is, the sensing element 203B1 is used to measure the air pressure in the air bag 203D, and the sensing element 203B2 is used to measure the atmospheric pressure of the current environment.
[0136] It is worth noting that when the sensing element 203B1 is located in the air path conduction assembly, the sensing element 203B1 can be located inside the dial. It is worth noting that when the sensing element 203B1 is located in the air bag 203D, the recess also has a contact for transmitting signals, which is used to collect the electrical signal changes generated by the sensing element under the pressure change.
[0137] It is worth noting that in combination with the content shown in the above FIG. 4 , when the user removes the air bag 203D, that is, the recess 203H of the dial of the electronic device is not connected to any air hole cover, or the recess 203H is connected to a separate air hole cover 203G2, the electronic device is in the air bag disassembly state.
[0138] After introducing the hardware architecture of the electronic device, the software architecture of the electronic device is introduced below.
[0139] FIG. 4 An example of the software architecture of the electronic device provided in the embodiment of the present application is shown in the figure.
[0140] The layered architecture divides the software into several layers, and each layer has a clear role and division of labor. Layers communicate with each other through software interfaces. In some embodiments, the Android system is divided into four layers, from top to bottom, the application layer, the application framework layer, the Android runtime and the system library, and the kernel layer.
[0141] The application layer can include a series of application packages.
[0142] As FIG. 4 shown, the application package can include calendar, map, navigation, WLAN, Bluetooth, blood pressure measurement application, and other applications.
[0143] The application framework layer provides an application programming interface (API) and programming framework for the applications of the application layer. The application framework layer includes some pre-defined functions.
[0144] As shown in FIG. 2C The application framework layer can include a window manager, a content provider, a view system, a phone manager, a resource manager, a notification manager, and the like.
[0145] The window manager is used to manage the window program. The window manager can acquire the display screen size, determine whether there is a status bar, lock the screen, and intercept the screen, and the like.
[0146] The content provider is used to store and acquire data, and make the data accessible to the application program. The view system includes visual controls, such as a control for displaying text, a control for displaying pictures, and the like. The view system can be used to build an application program. A display interface can be composed of one or more views. For example, a display interface including a short message notification icon can include a view for displaying text and a view for displaying pictures. The phone manager is used to provide the communication function of the electronic device. For example, the management of the call state (including connection, hang-up, and the like). The resource manager provides various resources for the application program, such as localized strings, icons, pictures, layout files, video files, and the like. The notification manager enables the application program to display notification information in the status bar, which can be used to convey a type of message that can automatically disappear after a short stay without user interaction. For example, the notification manager is used to inform the completion of the download, message reminders, and the like. The notification manager can also be a notification in the form of a chart or a scroll bar text appearing in the system top status bar, such as a notification of an application running in the background, and can also be a notification in the form of a dialogue window appearing on the screen. For example, prompting text information in the status bar, issuing a prompt sound, the electronic device vibrating, the indicator light flashing, and the like.
[0147] The Android runtime includes a core library and a virtual machine. The Android runtime is responsible for the scheduling and management of the Android system.
[0148] The core library includes two parts: one part is the function function required to be called by the java language, and the other part is the core library of the Android.
[0149] The application layer and the application framework layer run in the virtual machine. The virtual machine executes the java files of the application layer and the application framework layer into binary files. The virtual machine is used to perform the management of the object life cycle, the management of the stack, the management of the thread, the management of the security and the exception, and the garbage collection, and the like.
[0150] The system library can include a plurality of functional modules. For example, a surface manager, media libraries, a three-dimensional graphics processing library (e.g., OpenGL ES), a 2D graphics engine (e.g., SGL), etc. The surface manager is used to manage the display subsystem and provides a plurality of applications with the fusion of 2D and 3D layers. The media libraries support a plurality of commonly used audio, video format playback and recording, and static image files, etc. The media libraries can support a plurality of audio and video encoding formats, such as: MPEG4, H.264, MP3, AAC, AMR, JPG, PNG, etc. The three-dimensional graphics processing library is used to implement three-dimensional graphics drawing, image rendering, synthesis, and layer processing, etc. The 2D graphics engine is a drawing engine for 2D drawing.
[0151] The kernel layer is a layer between hardware and software. The kernel layer at least includes a display driver, a camera driver, an audio driver, and a sensor driver.
[0152] The sensor driver includes driving of the air pressure sensor 203B, driving of the air pump 203C, and driving of the magnetic sensor 203F. The electronic device can obtain a reading of the air pressure sensor 203B through the driving of the air pressure sensor 203B.
[0153] Again, the method for calibrating the blood pressure measurement function provided in the embodiments of the present application is introduced.
[0154] The electronic device first determines whether the electronic device itself currently satisfies a first condition. If the electronic device satisfies the first condition, it is considered that the sensing elements 203B1 and 203B2 of the air pressure sensor 203B are located in an environment with the same pressure, for example, the sensing elements 203B1 and 203B2 of the air pressure sensor 203B are both in communication with the atmosphere.
[0155] The first condition can include that the electronic device is in a state of air bag disassembly, a charging state, a stationary state, or an unworn state, etc.
[0156] After determining that the first condition is satisfied, the electronic device can determine one or more first deviation values by recording the readings of the air pressure sensor, and in the next use of the blood pressure measurement function provided by the electronic device, the readings of the air pressure sensor 203B are corrected based on the one or more first deviation values measured before, and then the pressure of the air bag 203D is obtained, and then the accurate blood pressure is calculated. The first deviation value is the deviation caused by the zero drift of the air pressure sensor 203B.
[0157] Alternatively, the electronic device can also correct the reading of the air pressure sensor 203B based on the historical deviation value and the one or more first deviation values. Wherein, the historical deviation value includes one or more first deviation values obtained by the electronic device before performing calibration.
[0158] Alternatively, after determining the target deviation value based on the one or more first deviation values, the electronic device does not correct the reading of the air pressure sensor 203B, but directly determines the blood pressure deviation value based on the target deviation value, and directly corrects the blood pressure.
[0159] It can be understood that, since the electronic device is not configured with a through air valve for connecting the air bag 203D and the external environment, the electronic device needs to actively determine under what circumstances the pressure of the air bag 203D and the atmospheric pressure are the same, and then perform calibration. After calibration, the electronic device obtains one or more first deviation values, and then can predict the zero point drift of the air pressure sensor when the user uses the electronic device to measure blood pressure based on the one or more first deviation values, and then compensate for the zero point drift of the air pressure sensor, and then calculate the accurate blood pressure.
[0160] The method for calibrating the blood pressure measurement function provided by the embodiments of the present application can also determine whether the air pressure sensor 203B fails based on the first deviation value and / or the historical deviation value. If the air pressure sensor 203B of the electronic device fails, the user is prompted that the blood pressure measurement function of the electronic device fails, so that the user can timely perceive the running state of the electronic device and ensure the user experience.
[0161] For example, the electronic device can determine whether the air pressure sensor 203B fails based on the statistical characteristics of the historical deviation value and the one or more first deviation values obtained by performing calibration this time. For example, when the variance of the plurality of first deviation values is greater than a variance threshold, the electronic device can determine that the air pressure sensor 203B fails; or, for another example, when the mean of the plurality of first deviation values is greater than a mean threshold, the electronic device can determine that the air pressure sensor 203B fails. Wherein, the variance threshold and the mean threshold can be calculated based on the historical deviation value, can be pre-stored on the electronic device, or can be obtained by synchronizing with the cloud.
[0162] The method for calibrating the blood pressure measurement function provided by the embodiments of the present application will be described below in conjunction with the content shown in FIG. 2D .
[0163] FIG. 2E An exemplary schematic diagram of the flow of the method for calibrating the blood pressure measurement function provided by the embodiments of the present application is shown in
[0164] As shown in FIG. 2F , the flow of the method for calibrating the blood pressure measurement function provided by the embodiments of the present application includes:
[0165] S401: In response to the user's interaction, in response to the change of the electronic device state, or periodically, the electronic device determines whether the first condition is met.
[0166] In response to the user's interaction, the electronic device determines whether the first condition is met; or, in response to the change of the electronic device state; or, the electronic device periodically determines whether the first condition is met. When the electronic device determines that the first condition is met, the electronic device performs step S403; when the electronic device determines that the first condition is not met, the electronic device performs step S402.
[0167] Optionally, in some embodiments of the present application, the first condition can include multiple conditions. Optionally, in some embodiments of the present application, in the case where the first condition includes multiple conditions, the electronic device considers that the first condition is met when any one of the conditions is met. Alternatively, optionally, in some embodiments of the present application, the electronic device considers that the first condition is met when multiple conditions in the first condition are met.
[0168] Optionally, in some embodiments of the present application, the first condition or any one of the first conditions can be whether the electronic device is in a certain state, such as a stationary state, a charging state, a user not wearing state, an airbag disassembly state.
[0169] Optionally, in some embodiments of the present application, the first condition or any one of the first conditions can be that the electronic device is in an airbag disassembly state and a stationary state; or, the first condition can be that the electronic device is in a charging state; or, the first condition can be that the electronic device is in a stationary state and a not wearing state.
[0170] The stationary state can be that the electronic device is stationary for a period of time, such as 5 seconds, 15 seconds, 2 minutes, etc., wherein the stationary state can be determined by an acceleration sensor. The charging state can be that the electronic device is continuously charged for a period of time, such as 5 seconds, 15 seconds, 2 minutes, etc., and the stationary state can be determined by a power management module and / or a charging module.
[0171] It can be understood that when the electronic device is in a motion state (non-stationary state), according to Bernoulli's principle, in the case where the speed of the electronic device is greater than a certain speed threshold, the air pressure can change. Even if the sensing element 203B1 and the sensing element 203B2 of the air pressure sensor 203B are both in communication with the external environment of the electronic device, the air pressures sensed by the sensing element 203B1 and the sensing element 203B2 of the air pressure sensor 203B are different, or the air pressures sensed by the sensing element 203B1 and the sensing element 203B2 of the air pressure sensor 203B are changing, thereby causing the reading of the air pressure sensor 203B to not truly reflect the zero point drift of the air pressure sensor.
[0172] When the electronic device is a watch, the unworn state can be a state in which the user does not wear the electronic device, and the unworn state can be determined by the infrared sensor. The airbag detached state can refer to FIG. 2G 、 FIG. 5A 、 FIG. 5B the corresponding textual description, which will not be repeated here.
[0173] It should be noted that when the electronic device meets the first condition, it can be considered that the sensing elements 203B1 and 203B2 of the air pressure sensor 203B are both in communication with the atmosphere and are both located in the same pressure environment. That is, when the electronic device is in any one or more of the stationary state, the charging state, the unworn state, and the airbag detached state, the sensing element 203B1 is in communication with the atmosphere.
[0174] More specifically, when the electronic device is in the charging state, the electronic device is often stationary and not worn by the user, at which time it can be considered that the sensing elements 203B1 and 203B2 of the air pressure sensor 203B are both in communication with the external environment of the electronic device and are both located in the same pressure environment; when the electronic device is in the unworn state, the airbag 203D is not pressed by the user, and the pressure of the airbag 203D is relatively stable, and it can also be considered that the sensing elements 203B1 and 203B2 of the air pressure sensor 203B are both in communication with the external environment of the electronic device and are both located in the same pressure environment; when the electronic device is in the airbag detached state, the sensing elements 203B1 and 203B2 of the air pressure sensor 203B are both in communication with the external environment of the electronic device and are both located in the same pressure environment, which can be referred to in the above FIG. 5C 、 FIG. 5D corresponding textual description.
[0175] Optionally, in some embodiments of the present application, a period threshold can also be configured. The period threshold is the minimum time interval between two calibrations. It can be understood that by configuring the electronic device with a period threshold, the electronic device is prevented from frequently performing calibration on the air pressure sensor 203B, thereby reducing the power consumption of the electronic device.
[0176] The following describes three trigger occasions for the electronic device to determine whether the first condition is met.
[0177] (1) In response to user interaction, the electronic device determines whether the first condition is met.
[0178] The user interaction includes the user clicking the control 504.
[0179] FIG. 5A 、 FIG. 5A 、 FIG. 5A 、 FIG. 5B is an example of a user interface provided by an embodiment of the present application.
[0180] As shown in FIG. 5B , the user interface displayed on the display screen 205 of the electronic device includes a control 501 and a control 502. Among them, the control 501 and the control 502 can be the entry controls of different application programs / functions. FIG. 5C , the text on the control 501 is “Blood Pressure Measurement”, which is used to indicate that the control 501 is the entry of the blood pressure measurement application program or function; in FIG. 5D , the text on the control 502 is “Heart Rate Measurement”, which is used to indicate that the control 502 is the entry of the heart rate measurement application program or function.
[0181] After the user clicks the control 501, the user interface on the electronic device is as shown in FIG. 5C .
[0182] As shown in FIG. 5D , the user interface displayed on the display screen 205 of the electronic device includes a control 503 and a control 504. Among them, the text on the control 503 is “Start Measurement”, and the text on the control 504 is “Measurement Calibration”. Among them, the user can start measuring blood pressure by clicking the control 503; the user can click the control 504 to make the electronic device start executing the method for calibrating the blood pressure measurement function provided in the embodiments of the present application.
[0183] In response to the user clicking the control 504, the electronic device executes the method for calibrating the blood pressure measurement function provided in the embodiments of the present application. The electronic device first executes step S401 to determine whether the first condition is met. When it is determined that the first condition is not met, the electronic device can display the user interface as shown in FIG. 5A . When it is determined that the first condition is met, the electronic device can display the user interface as shown in FIG. 5B .
[0184] As shown in FIG. 5C , the user interface displayed on the display screen 205 of the electronic device includes a control 505. Among them, the control 505 is used to prompt the user that the current electronic device cannot perform calibration on the blood pressure measurement function, that is, cannot perform calibration on the air pressure sensor 203B. Among them, the control 505 includes an icon and a text, and the text is “Current calibration condition is not met!”, wherein the calibration condition is the first condition in the embodiments of the present application.
[0185] As shown in FIG. 5D , the user interface displayed on the display screen 205 of the electronic device includes a control 506. The control 506 is used to prompt the user that the current electronic device is performing calibration on the blood pressure measurement function, that is, is performing calibration on the air pressure sensor 203B. Among them, the control 506 includes an icon and a text, and the text is “Blood pressure measurement calibration in progress, please do not move”.
[0186] AsFIG. 6 , FIG. 6 , FIG. 6 , FIG. 1B The user interface shown is merely a partial user interface illustrating the method of the electronic device providing the embodiments of this application for performing the blood pressure measurement calibration function, and does not impose any limitation on the user interface that the electronic device providing the embodiments of this application can present for performing the blood pressure measurement calibration function.
[0187] (2) In response to a change in the state of the electronic device, the electronic device determines whether the first condition is met.
[0188] Changes in the state of electronic devices include: from not charging to charging, from moving to stationary, and from airbag not dismounted to airbag dismounted.
[0189] It is worth noting that the airbag disassembly status can be determined using a magnetic sensor, as detailed below. FIG. 7 The corresponding textual descriptions will not be repeated here.
[0190] For example, in response to an electronic device changing from a non-charging state to a charging state, the electronic device determines whether a first condition is met. The first condition is that the electronic device is in a charging state and a stationary state. If the electronic device has been charging for 5 minutes, and the electronic device itself has not moved during those 5 minutes, the electronic device determines that the first condition is met.
[0191] For example, in response to an electronic device changing from an airbag-in-place state to an airbag-deployed state, the electronic device determines whether a first condition is met. The first condition is that the electronic device is in both an airbag-deployed state and a stationary state. If the electronic device does not move within 5 minutes and remains in the airbag-deployed state, the electronic device determines that the first condition is met.
[0192] FIG. 7 This is an exemplary schematic diagram of an electronic device provided in this application that uses a magnetic sensor to identify whether the airbag 203D has been removed.
[0193] like FIG. 7 As shown, a magnetic device 1 is installed on the airbag 203D, and magnetic devices 2 are installed on the vent caps 203G1 and 203G2. When the airbag 203D is connected to the electronic device, the electronic device is connected to the airbag 203D through the vent cap 203G1, and the electronic device determines the magnetic flux as A through the magnetic sensor 203F. When the airbag 203D is removed and the individual vent cap 203G2 is installed, the electronic device determines the magnetic flux as B through the magnetic sensor 203F. When the airbag 203D is removed and the vent cap 203G2 is not installed, the electronic device determines the magnetic flux as C through the magnetic sensor 203F. Here, C can be equal to 0.
[0194] It is worth mentioning that considering the wrist circumference of different users varies greatly, the electronic device can have multiple watchbands, each of which is connected with an air bag 203D of different sizes through a buckle. Among them, the air bag 203D of different sizes can be configured with a magnetic device 1 that generates different magnetic field strengths, so that the electronic device can distinguish the air bag 203D on the current electronic device through the magnetic sensor 203F.
[0195] (3) Periodically, the electronic device determines whether the first condition is met
[0196] The electronic device can periodically determine whether the first condition is met. When the electronic device determines that the first condition is met, the electronic device performs step S403; when the electronic device determines that the first condition is not met, the electronic device performs step S402.
[0197] S402: During the process of measuring blood pressure by the user, the blood pressure of the user is determined based on the reading of the air pressure sensor 203B and the historical deviation value.
[0198] When the electronic device determines that the first condition is not met, since the sensing element 203B1 and the sensing element 203B2 of the air pressure sensor 203B are not in the same pressure environment, the electronic device temporarily does not perform calibration on the air pressure sensor 203B.
[0199] After the user uses the function of measuring blood pressure, the electronic device can determine the blood pressure of the user based on the historical deviation value and the reading of the air pressure sensor 203B; or if the electronic device has not performed calibration at all, the electronic device can determine the blood pressure of the user based on the reading of the air pressure sensor 203B.
[0200] Among them, the method for determining the blood pressure of the user can refer to the above FIG. 8 Corresponding text description, not repeated here.
[0201] S403: Display the blood pressure measured by the user this time on the display screen 205, and / or transmit the blood pressure data of the user to other electronic devices.
[0202] The electronic device can display the blood pressure measured by the user this time on the display screen 205, and / or transmit the blood pressure data of the user to other electronic devices.
[0203] Among them, the user interface of the electronic device for displaying the blood pressure measured by the user this time is as shown in FIG. 8 .
[0204] FIG. 1C Another exemplary schematic diagram of the user interface provided by the electronic device of the embodiment of the present application.
[0205] When the electronic device determines the blood pressure of the user based on the oscillometric method, the determined blood pressure is presented on the display screen 205 of the electronic device. As shown in FIG. 9, the content presented in the user interface displayed by the electronic device on the display screen 205 includes that the high pressure is 97 mmHg and the low pressure is 65 mmHg. FIG. 1C
[0206] When the electronic device is a watch, the other electronic device can be a terminal such as a mobile phone. The other electronic device can record the historical blood pressure data of the user, and then more accurately assess the physical condition of the user based on the historical blood pressure data.
[0207] S404: Obtain and record the reading of the air pressure sensor 203B, and determine the first deviation value based on the reading of the air pressure sensor 203B.
[0208] After the electronic device determines that the first condition is met, the electronic device obtains and records the reading of the air pressure sensor 203B, and determines the first deviation value based on the reading of the air pressure sensor 203B, because the sensing element 203B1 and the sensing element 203B2 of the air pressure sensor 203B are in the same pressure environment. The first deviation value is the zero drift of the air pressure sensor.
[0209] Optionally, in some embodiments of the present application, the first deviation value can be determined based on one or more readings of the air pressure sensor 203B.
[0210] Optionally, in some embodiments of the present application, the first deviation value is equal to the reading of the air pressure sensor 203B.
[0211] Optionally, in some embodiments of the present application, the reading of the air pressure sensor 203B can be recorded multiple times, and then the first deviation value can be determined based on the multiple readings of the air pressure sensor 203B. For example, the time consumption for recording one reading of the air pressure sensor 203B is 5 seconds, then step S404 can last for 50 seconds to record 10 readings of the air pressure sensor 203B, so that 10 deviations can be obtained, and then the electronic device takes the average of the 10 deviations as the first deviation value.
[0212] Optionally, in some embodiments of the present application, the time of measurement can be recorded at the same time as the reading of the air pressure sensor 203B.
[0213] S405: Determine whether the air pressure sensor 203B is faulty based on the first deviation value.
[0214] After the electronic device determines the first deviation value, the electronic device can determine whether the air pressure sensor 203B is faulty based on the first deviation value. If yes, the electronic device performs step S406; if no, the electronic device performs step S407.
[0215] The electronic device can be pre-configured with a rule for determining whether the barometric pressure sensor 203B is faulty. The rule can also be synchronized with the cloud. The electronic device determines whether the barometric pressure sensor 203B is faulty based on the rule and the first deviation value. Some examples of the rule are exemplarily introduced below.
[0216] Optionally, in some embodiments of the present application, the electronic device can compare the first deviation value with a deviation threshold value. When the first deviation value is less than the deviation threshold value, the electronic device determines that the barometric pressure sensor 203B is not faulty; when the first deviation value is greater than or equal to the deviation threshold value, the electronic device determines that the barometric pressure sensor 203B is faulty.
[0217] Optionally, in some embodiments of the present application, the electronic device obtains multiple readings of the barometric pressure sensor 203B, and can obtain multiple first deviation values. The electronic device can determine whether the barometric pressure sensor 203B is faulty based on a standard value of the first deviation values. When the standard deviation is greater than a standard deviation threshold value, it can be considered that the barometric pressure sensor 203B is faulty; when the standard deviation is less than the standard deviation threshold value, it can be considered that the barometric pressure sensor 203B is not faulty.
[0218] It is worth noting that the deviation threshold value and the standard deviation threshold value in the embodiments of the present application can be a value pre-stored in the electronic device, or a value that can be synchronized with the cloud. Alternatively, the deviation threshold value and the standard deviation threshold value in the above can also be a variable related to a time difference, wherein the time difference is the difference between the system time on the electronic device and the factory time.
[0219] Optionally, in some embodiments of the present application, the electronic device can determine whether the barometric pressure sensor 203B is faulty based on the first deviation value and historical deviation values. For example, the electronic device can determine the statistical characteristics of the deviation values based on the data in the historical deviation values, and then determine whether one or more first deviation values determined in step S404 conform to the statistical characteristics of the deviation values, to further determine whether the barometric pressure sensor 203B is faulty. For example, the statistical characteristics of the historical deviation values can be Gaussian distribution, and in the case that the barometric pressure sensor 203B is faulty, the first deviation can not be Gaussian distribution.
[0220] Some examples of determining whether the barometric pressure sensor 203B is faulty based on the first deviation value and the historical deviation values are exemplarily introduced below.
[0221] FIG. 3 An exemplary schematic diagram of a method for determining whether the barometric pressure sensor is faulty is provided in the embodiments of the present application.
[0222] S801: Determine whether the first deviation value is greater than or equal to the deviation threshold value.
[0223] The electronic device determines whether the first deviation value is greater than a deviation threshold. When the first deviation value is greater than or equal to the deviation threshold, step S802 is performed; when the first deviation value is less than the deviation threshold, step S803 is performed.
[0224] S802: The electronic device determines that the air pressure sensor 203B is faulty or discards the current data.
[0225] Optionally, in some embodiments of the present application, when the first deviation value is greater than or equal to the deviation threshold, the electronic device determines that the air pressure sensor 203B is faulty and stops providing related functions based on the air pressure sensor 203B to the user, such as blood pressure measurement function.
[0226] Optionally, in some embodiments of the present application, when the first deviation value is greater than or equal to the deviation threshold, step S404 is re-executed one or more times. When at least one or more of the first deviation values obtained by multiple measurements is greater than the deviation threshold, the electronic device determines that the air pressure sensor 203B is faulty and stops providing related functions based on the air pressure sensor 203B to the user, such as blood pressure measurement function.
[0227] Optionally, in some embodiments of the present application, when the first deviation value is greater than or equal to the deviation threshold, the current data can be discarded. The first deviation value will not be recorded in the historical deviation values.
[0228] Optionally, in some embodiments of the present application, when the first deviation value is greater than or equal to the deviation threshold, the current data can be discarded, and step S404 is re-executed to determine the first deviation value again. The first deviation value will not be recorded in the historical deviation values.
[0229] It can be understood that discarding the first deviation value obtained by the current measurement can avoid polluting the accuracy of the data in the historical deviation values, and thus a more accurate target deviation value can be obtained when the electronic device performs the subsequent step S407. The target deviation value is the deviation value used to calculate the blood pressure.
[0230] S803: Determine the probability distribution of the deviation value based on the historical deviation values, and calculate the confidence of the first deviation value.
[0231] Based on the probability distribution of the deviation value, the confidence of the first deviation value determined based on the probability distribution of the deviation value can be determined. The probability of the first deviation value in the probability distribution of the deviation value can be used as the confidence of the first deviation value.
[0232] For example, the probability distribution of the deviation value is a Gaussian distribution with a mean that increases over time and a standard deviation that increases over time. After obtaining the first deviation value, the probability of the first deviation value can be determined, and thus the confidence of the first deviation value can be determined.
[0233] S804: Determine whether the confidence of the first deviation value is greater than a confidence threshold.
[0234] Determine whether the confidence of the first deviation value is greater than a confidence threshold. If yes, execute step S805; if no, execute step S806.
[0235] S805: The electronic device determines that the barometric pressure sensor 203B is faulty.
[0236] S806: The electronic device determines that the barometric pressure sensor 203B is not faulty.
[0237] It is worth noting that, FIG. 9A The method shown is only an exemplary introduction to a method of determining whether the barometric pressure sensor 203B is faulty based on the first deviation value and the historical deviation value. Other statistical characteristics of the first deviation value and the historical deviation value can also be used to determine whether the barometric pressure sensor 203B is faulty, which is not limited herein.
[0238] S406: Display a first notification on the display screen 205, the first notification being used to prompt the user that the blood pressure measurement function of the electronic device is faulty.
[0239] After determining that the barometric pressure sensor 203B is faulty, the electronic device displays a first notification on the display screen 205. The first notification is used to prompt the user that the blood pressure measurement function of the electronic device is faulty.
[0240] For example, the user interface displayed on the display screen 205 of the electronic device includes a control for prompting the user that the blood pressure measurement function of the electronic device is faulty. The control can include an icon and text, and the text is "Blood pressure measurement function is abnormal, please go to after-sales maintenance!"
[0241] S407: Determine a deviation value participating in the calculation of blood pressure.
[0242] After determining that the barometric pressure sensor 203B is not faulty, a deviation value participating in the calculation of blood pressure can be determined. For convenience of description, the deviation value participating in the calculation of blood pressure is referred to as a target deviation value hereinafter.
[0243] During the process of measuring blood pressure of the user using the electronic device, after obtaining the reading of the barometric pressure sensor 203B, the electronic device can determine the pressure of the air bag 203D based on the target deviation value and the reading of the barometric pressure sensor 203B, and further determine the blood pressure of the user based on the oscillometric method.
[0244] For example, the target deviation value is 3.8 mmHg, and the reading of the barometric pressure sensor 203B is p mmHg. Then, the pressure of the air bag 203D is determined to be p-3.8 mmHg.
[0245] The electronic device has multiple methods to determine the target deviation value after obtaining the first deviation value, such as taking the first deviation value as the target deviation value, or determining the target deviation value based on the first deviation value and the historical deviation values, which are not limited herein.
[0246] Two methods of determining the deviation value participating in the calculation of blood pressure are exemplarily introduced below.
[0247] The first method includes steps S4071 and S4072.
[0248] S4071: determining a second deviation value based on the first deviation value and the historical deviation values.
[0249] After updating the probability distribution of the deviation value based on the first deviation value and the historical deviation values, the probability distribution is used to predict the deviation value of the next blood pressure measurement by the user as the second deviation value. The second deviation value is the target deviation value participating in the calculation of blood pressure.
[0250] Optionally, in some embodiments of the present application, considering that FIG. 9B As the zero-point drift of the air pressure sensor 203B increases over time, the electronic device determines the second deviation value based on the determination time of each historical deviation value, the determination time of the first deviation value, the historical deviation values, the first deviation value, and the time of blood pressure measurement by the user in response to the user starting to measure blood pressure.
[0251] Optionally, in some embodiments of the present application, the weight of the first deviation value can be appropriately increased during the calculation of the second deviation value, so that the determined second deviation value is closer to the deviation of the air pressure sensor 203B during the blood pressure measurement by the user.
[0252] S4072: determining the blood pressure of the user based on the second deviation value and the reading of the air pressure sensor 203B during the blood pressure measurement by the user.
[0253] During the blood pressure measurement by the user, the pressure of the air bag 203D is determined based on the second deviation value and the reading of the air pressure sensor 203B, and then the blood pressure of the user is determined based on the oscillometric method.
[0254] The second method includes step S4073.
[0255] S4073: determining the blood pressure of the user based on the first deviation value and the reading of the air pressure sensor 203B during the blood pressure measurement by the user.
[0256] Considering that FIG. 4The zero-point drift of the air pressure sensor 203B shown can increase over time, i.e. the size of the zero-point drift of the air pressure sensor 203B has a correlation with time. The first deviation value has the strongest correlation with the deviation caused by the zero-point drift of the air pressure sensor 203B when the user measures the blood pressure, compared to any of the historical deviation values. Therefore, optionally, in some embodiments of the present application, the first deviation value can be taken as the target deviation value.
[0257] During the process of measuring the blood pressure by the user, the pressure of the air bag 203D is determined based on the first deviation value and the reading of the air pressure sensor 203B, and then the blood pressure of the user is determined based on the oscillometric method.
[0258] S408: Display the blood pressure measured by the user this time on the display screen 205, and / or transmit the blood pressure data of the user to other electronic devices.
[0259] The content in step S408 can refer to the description in step S403 above, which will not be repeated here.
[0260] Finally, in combination with the software architecture shown in FIG. 9A , an exemplary introduction is made to the data flow in the method process of calibrating the blood pressure measurement function of the electronic device when the first condition is the static state and the charging state. FIG. 9A , FIG. 9B For example, the data flow in the method process of calibrating the blood pressure measurement function of the electronic device when the first condition is the static state and the charging state is shown. FIG. 9B
[0261] FIG. 9B An exemplary schematic diagram of the data flow in the method process of calibrating the blood pressure measurement function provided by the embodiments of the present application is shown.
[0262] As shown in , the acceleration sensor on the electronic device can be used to determine the acceleration information of the electronic device, and then the information of whether the electronic device is moving is transmitted to the blood pressure calibration service through the sensor driver and the Android sensor framework.
[0263] The battery management module 210 on the electronic device can obtain the battery information of the electronic device, such as the power, whether it is being charged, etc. The battery management module further transmits the battery information of the electronic device to the battery service (BatteryService), and the battery service transmits whether it is being charged to the blood pressure calibration service.
[0264] The blood pressure calibration service is a service, which can be used to receive messages from other services, messages from other framework layer modules, and messages from applications in the upper application layer. The blood pressure calibration service can be a functional module used to execute step S401, i.e. a functional module used to determine whether the first condition is met.
[0265] Another example schematic diagram of data flow in a method of calibrating a blood pressure measurement function provided for embodiments of the present application.
[0266] As shown in , upon the blood pressure calibration service determining that the first condition is satisfied, the air pressure sensor 203B is driven by the Android sensor framework, sensor driver, one or more readings of the air pressure sensor 203B are recorded, such as reading 1 in . The blood pressure calibration service obtains reading 1 by the Android sensor framework, sensor driver, and sends reading 1 to the blood pressure measurement application.
[0267] The blood pressure measurement application or the blood pressure calibration service can determine a target bias value based on the one or more readings 1, and correct readings of the air pressure sensor 203B based on the target bias value during a process in which the user uses the blood pressure measurement function, to obtain an accurate pressure value of the air bag 203D, and further to obtain an accurate blood pressure of the user.
[0268] In the above embodiments, the term "when" can be interpreted to mean "if" or "after" or "in response to determining" or "in response to detecting" depending on the context. Similarly, the phrase "upon determining" or "if detecting (the stated condition or event)" can be interpreted to mean "if determining" or "in response to determining" or "upon detecting (the stated condition or event)" or "in response to detecting (the stated condition or event)" depending on the context.
[0269] In the above embodiments, all or part of the embodiments can be implemented by software, hardware, firmware or any combination thereof. When implemented by software, all or part of the embodiments can be implemented in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, all or part of the processes or functions according to the embodiments of the present application are generated. The computer can be a general purpose computer, a special purpose computer, a computer network, or other programmable apparatus. The computer instructions can be stored in a computer readable storage medium or transmitted from one computer readable storage medium to another computer readable storage medium, for example, the computer instructions can be transmitted from one website, computer, server or data center to another website, computer, server or data center through wired (such as coaxial cable, optical fiber, digital subscriber line) or wireless (such as infrared, wireless, microwave, etc.) mode. The computer readable storage medium can be any available medium that can be accessed by a computer or a data storage device such as a server, data center, etc. integrated with one or more available media. The available medium can be a magnetic medium (for example, a floppy disk, a hard disk, a magnetic tape), an optical medium (for example, a DVD), or a semiconductor medium (for example, a solid state disk) and the like.
[0270] Those of ordinary skill in the art understand that all or part of the processes in the above embodiments can be implemented by a computer program to instruct the relevant hardware, and the program can be stored in a computer readable storage medium. When the program is executed, it can include the processes of the above method embodiments. The storage medium includes ROM or random access memory (RAM), magnetic disk or optical disk, and various media that can store program codes.
Claims
1. A calibration method of a blood pressure measurement function, characterized by, The application is applied to an electronic device, which comprises an air bag, an air pressure sensor and an air pump, the air bag is connected with the air pump, and the air pressure sensor is used for measuring the air pressure of the air bag. The method comprises: In response to the electronic device changing from an air bag undetached state to an air bag detached state, determining whether the electronic device is maintained in the air bag detached state and a static state; or, In response to the electronic device changing from an uncharged state to a charged state, determining whether the electronic device is maintained in the charged state and the static state; In the case that the electronic device is maintained in the air bag detached state and the static state, or the electronic device is maintained in the charged state and the static state, determining one or more first deviation values based on one or more readings of the air pressure sensor, the first deviation values being used for indicating the zero point drift of the air pressure sensor; Determining a target deviation value based on the one or more first deviation values, the target deviation value being a deviation value used for participating in the calculation of blood pressure; In response to a first operation of a user, inflating the air bag by the air pump, and determining the blood pressure of the user based on the air pressure sensor and the target deviation value.
2. The method of claim 1, wherein, Before the determining of the target deviation value based on the one or more first deviation values, the method further comprises: Determining whether the air pressure sensor is faulty based on the one or more first deviation values.
3. The method of claim 2, wherein, The determining of whether the air pressure sensor is faulty based on the one or more first deviation values specifically comprises: Comparing the one or more first deviation values with a preset deviation threshold value; if the one or more first deviation values are all less than the preset deviation threshold value, it is determined that the air pressure sensor is not faulty; if the one or more first deviation values are not all less than the preset deviation threshold value, it is determined that the air pressure sensor is faulty; And / or, comparing the standard deviation of the one or more first deviation values with a preset standard deviation threshold value; if the standard deviation of the one or more first deviation values is less than the standard deviation threshold value, it is determined that the air pressure sensor is not faulty; if the standard deviation of the one or more first deviation values is greater than the standard deviation threshold value, it is determined that the air pressure sensor is faulty.
4. The method according to any one of claims 1 to 3, characterized in that, The determining of the target deviation value based on the one or more first deviation values specifically comprises: In response to the first operation of the user, or after the determination of the one or more first deviation values, determining the target deviation value based on the one or more first deviation values.
5. The method of claim 4, wherein, The determining of the target deviation value based on the one or more first deviation values specifically comprises: In the case that the number of the one or more first deviation values is one, determining the one first deviation value as the target deviation value; In the case that the number of the one or more first deviation values is multiple, determining the mean value of the multiple first deviation values as the target deviation value.
6. The method of claim 4, wherein, The determining of the target deviation value based on the one or more first deviation values specifically comprises: The target deviation value is determined based on the one or more first deviation values and a historical deviation value, the historical deviation value including a target deviation value obtained by the electronic device performing a calibration method of the blood pressure measurement function previously.
7. An electronic device, comprising: The electronic device includes a gas bag, a gas pressure sensor, a gas path conduction assembly, and a gas pump, the gas bag being connected to the gas pump, and the gas pressure sensor being configured to measure the gas pressure of the gas bag; the electronic device further includes one or more processors and a memory; The memory is coupled to the one or more processors, and the memory is configured to store computer program codes including computer instructions, and the one or more processors are configured to invoke the computer instructions to cause the electronic device to perform the method according to any one of claims 1 to 6.
8. A chip system applied to an electronic device, characterized by comprising: The chip system includes one or more processors configured to invoke computer instructions to cause the electronic device to perform the method according to any one of claims 1 to 6.
9. A computer-readable storage medium comprising instructions, characterized in that, The instructions, when executed on an electronic device, cause the electronic device to perform the method according to any one of claims 1 to 6.
10. A computer program product, characterised in that, The computer instructions, when executed by one or more processors, implement the method according to any one of claims 1 to 6.
Citation Information
Patent Citations
Method for eliminating zero drift of electronic sphygmomanometer and device adopting the method
CN101756699A