A method, apparatus, device and medium for calculating a blood pressure value
By collecting data using piezoelectric sensors and calculating blood pressure values using algorithms, the problem of environmental dependence and data fluctuation in existing blood pressure measurement devices has been solved, enabling convenient and accurate blood pressure measurement.
Patent Information
- Application Number
- CN202310875727.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-07-17
- Publication Date
- 2025-12-09
- Estimated Expiration
- 2043-07-17
AI Technical Summary
In existing technologies, blood pressure measurement devices require manual reading and have high environmental requirements. Electronic blood pressure monitors are easily affected by data fluctuations, leading to inaccurate calculations.
Piezoelectric signal data is collected by a piezoelectric sensor, blood pressure value is calculated using an algorithm, interference data is filtered out using vital sign parameter thresholds, a target point set is determined and input into the blood pressure calculation model, and statistical calculation and fitting are performed in combination with historical data to obtain an accurate blood pressure value.
It enables convenient and accurate calculation of blood pressure values without the need for measuring instruments, improving the efficiency and accuracy of blood pressure measurement and reducing the impact of data fluctuations on the calculation results.
Smart Images

Figure CN116687365B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] Embodiments of the present application relate to the field of vital sign parameter measurement, and in particular to a method and device for calculating blood pressure value, equipment and medium. BACKGROUND
[0002] In related technologies, methods for measuring and calculating blood pressure value are mainly divided into two categories. The first category is to measure the blood pressure of a target object using a physical blood pressure measurement device (such as a mercury sphygmomanometer). The second category is to use an electronic sphygmomanometer to calculate the blood pressure value by monitoring the peak value in the pulse waveform. However, using a physical blood pressure measurement device requires manual reading and cannot conveniently measure blood pressure in any environment, which has a high requirement for the environment. When using an electronic sphygmomanometer to measure blood pressure, it is easily affected by data fluctuations, resulting in inaccurate blood pressure value calculation.
[0003] Therefore, how to conveniently and accurately calculate the blood pressure value becomes a problem to be solved. SUMMARY
[0004] Embodiments of the present application provide a method and device for calculating blood pressure value, equipment and medium. Through some embodiments of the present application, at least piezoelectric sensor is used to collect piezoelectric signal data, and an algorithm is used to accurately calculate the blood pressure value, thereby improving the efficiency of blood pressure measurement.
[0005] In a first aspect, the present application provides a method for calculating blood pressure value, the method comprising: confirming a target point set in current piezoelectric signal data, wherein the target point set comprises a first target point, a second target point and a third target point, the target point set is a set of points related to a wave peak satisfying a vital sign parameter threshold, and the current piezoelectric signal data is collected for a target object; inputting interval time between the first target point and the second target point and interval time between the second target point and the third target point into a blood pressure calculation model respectively, to obtain the blood pressure value of the target object.
[0006] Therefore, the present application is different from the use of professional blood pressure measurement devices and the use of peak values in waveforms to calculate blood pressure values in related technologies. The present application can filter interference data through a vital sign parameter threshold, thereby accurately calculating the blood pressure value through an algorithm, without the need for measurement instruments, and improving the efficiency of blood pressure measurement.
[0007] In combination with the first aspect, in an embodiment of the present application, the first target point, the second target point and the third target point are selected from the extreme points of a wave peak in the current piezoelectric signal data and the intersection points of the wave and the vital sign parameter threshold.
[0008] With reference to the first aspect, in an embodiment of the present application, before the interval time between the first target point and the second target point and the interval time between the second target point and the third target point are input into the blood pressure calculation model to obtain the blood pressure value of the target object, the method further comprises: performing statistical calculation on sample data of the interval time and corresponding sample data of the blood pressure value to obtain the blood pressure calculation model, wherein the blood pressure calculation model comprises a systolic blood pressure calculation model and a diastolic blood pressure calculation model.
[0009] Therefore, by performing statistical calculation on sample data of the interval time and corresponding blood pressure values, the embodiment of the present application can find the correlation between the interval time and the corresponding blood pressure values, so as to accurately calculate the blood pressure calculation model.
[0010] With reference to the first aspect, in an embodiment of the present application, the calculation on the sample data of the interval time and the corresponding sample data of the blood pressure value to obtain the blood pressure calculation model comprises: performing fitting calculation on the sample data of the interval time and the corresponding sample data of the blood pressure value to obtain a fitting function; and taking the fitting function as the blood pressure calculation model.
[0011] With reference to the first aspect, in an embodiment of the present application, the confirmation of the target point set in the current piezoelectric signal data comprises: obtaining a plurality of intersection points between a target curve at which the vital sign parameter threshold value is located and a waveform corresponding to the current piezoelectric signal data, and taking two adjacent intersection points as the first target point and the second target point; and taking a maximum value point adjacent to the first target point or the second target point as the third target point.
[0012] With reference to the first aspect, in an embodiment of the present application, the confirmation of the target point set in the current piezoelectric signal data comprises: taking a maximum value point greater than the vital sign parameter threshold value as the second target point; and taking two adjacent valley points of the second target point as the first target point and the third target point.
[0013] Therefore, by taking two intersection points as the first target point and the second target point and taking an adjacent maximum value point as the third target point, the embodiment of the present application can accurately obtain the target point related to the blood pressure value, thereby improving the accuracy of blood pressure value calculation.
[0014] In combination with the first aspect, in an embodiment of the present application, before the target point set in the current piezoelectric signal data is confirmed, the method further comprises: determining the vital sign parameter threshold of the current piezoelectric signal data, wherein the vital sign parameter threshold is determined based on historical piezoelectric signal data before the current piezoelectric signal data, and the piezoelectric signal data is collected by a piezoelectric sensor for a target object.
[0015] Therefore, unlike the related art which uses Fourier transform and peak-to-peak value to calculate blood pressure value, the embodiment of the present application can reduce the occurrence of inaccurate calculation results caused by piezoelectric signal data fluctuation by calculating the threshold value following the transformation of the current piezoelectric signal data.
[0016] In combination with the first aspect, in an embodiment of the present application, the determination of the vital sign parameter threshold of the current piezoelectric signal data comprises: determining the vital sign parameter threshold of the current piezoelectric signal data based on the average value and the extreme value of the historical piezoelectric signal data.
[0017] Therefore, by using the average value and the extreme value of the historical piezoelectric signal data to determine the vital sign parameter threshold, the embodiment of the present application can ensure that the vital sign parameter threshold can always follow the waveform transformation of the piezoelectric signal data.
[0018] In combination with the first aspect, in an embodiment of the present application, the extreme value comprises a maximum value; and the value range of the vital sign parameter threshold is between the average value and the maximum value of the historical piezoelectric signal data.
[0019] Therefore, by setting the value range of the threshold value between the average value and the extreme value, the embodiment of the present application can accurately capture the waveform of heartbeats and prevent multiple target points from appearing due to waveform fluctuation.
[0020] In combination with the first aspect, in an embodiment of the present application, the determination of the vital sign parameter threshold of the current piezoelectric signal data comprises: taking the average value between the average value and the maximum value of the historical piezoelectric signal data within a preset time period as the vital sign parameter threshold.
[0021] Therefore, by averaging the average value and the extreme value of the historical piezoelectric signal data, the embodiment of the present application can ensure that the difference between the vital sign parameter threshold and the extreme value is relatively fixed, thereby ensuring that accurate blood pressure value can be calculated even in the case of data fluctuation.
[0022] In combination with the first aspect, in an embodiment of the present application, the determination of the vital sign parameter threshold of the current piezoelectric signal data comprises:
[0023] updating the vital sign parameter threshold of the current piezoelectric signal data every preset updating time, wherein the vital sign parameter threshold remains unchanged within the preset updating time, and the historical piezoelectric signal data in a preset time period is data located in a preset storage space, wherein the preset storage space includes a preset number of bytes, and each of the plurality of sampling points corresponds to one byte in the preset storage space.
[0024] With reference to the first aspect, in an embodiment of the present application, the current piezoelectric signal data includes a plurality of segments of piezoelectric signal data, one segment of piezoelectric signal data corresponds to one vital sign parameter threshold, and the one vital sign parameter threshold is obtained by calculating the historical piezoelectric signal data in an adjacent preset time period; wherein the preset time period is 2 to 5 seconds, and the one segment of piezoelectric signal data is 30 to 100 milliseconds of piezoelectric signal data.
[0025] Therefore, by calculating the historical piezoelectric signal data in a preset time period, the embodiments of the present application can accurately quantify the fluctuation of data in the preset time period, thereby reducing the interference of data fluctuation on the calculation result.
[0026] With reference to the first aspect, in an embodiment of the present application, the sampling frequency of the piezoelectric signal data is 200 Hz, the preset time period is 3 seconds, and the preset number of bytes is 600 bytes; before determining the vital sign parameter threshold of the current piezoelectric signal data, the method further includes updating the historical piezoelectric signal data, wherein the historical piezoelectric signal data is collected at a preset frequency, in the updating process, the piezoelectric signal data of the first byte is deleted, the piezoelectric signal data from b to y bytes is moved to the position of the previous byte, and the updated piezoelectric signal data is placed in the position of the last byte, wherein b is 2 and y is 600.
[0027] Therefore, by the preset storage space, the embodiments of the present application can ensure the real-time of the calculation result, so that the target object can display the blood pressure value when the detection just starts.
[0028] With reference to the first aspect, in an embodiment of the present application, before determining the vital sign parameter threshold of the current piezoelectric signal data, the method further includes filtering and calculating the current unfiltered piezoelectric signal data according to a previous piezoelectric signal data to obtain the current piezoelectric signal data.
[0029] In combination with the first aspect, in an embodiment of the present application, the filtering and calculating the current unfiltered piezoelectric signal data according to the previous piezoelectric signal data to obtain the current piezoelectric signal data comprises: adding the product of the previous piezoelectric signal data and a first preset weight and the product of the current unfiltered piezoelectric signal data and a second preset weight to obtain the current piezoelectric signal data, wherein the sum of the first preset weight and the second preset weight is 1.
[0030] Therefore, the embodiment of the present application can ensure smooth transformation of the current piezoelectric signal data through filtering and calculating.
[0031] In combination with the first aspect, in an embodiment of the present application, before the determining the vital sign parameter threshold of the current piezoelectric signal data, the method further comprises: calculating an extreme value based on the maximum value and the minimum value in the historical piezoelectric signal data, and confirming that the extreme value meets a preset extreme value threshold.
[0032] Therefore, the embodiment of the present application can reduce the influence of a large change of an interference signal on the calculation result by confirming that the historical piezoelectric signal data meets the preset extreme value threshold.
[0033] Secondly, the present application provides a device for calculating a blood pressure value, the device comprising: a target point confirmation module configured to confirm a target point set in current piezoelectric signal data, wherein the target point set comprises a first target point, a second target point and a third target point, the target point set is a set of points related to one wave crest meeting a vital sign parameter threshold, and the current piezoelectric signal data is collected for a target object; and a blood pressure value calculation module configured to input interval time between the first target point and the second target point and interval time between the second target point and the third target point into a blood pressure calculation model respectively to obtain a blood pressure value of the target object.
[0034] In combination with the second aspect, in an embodiment of the present application, the first target point, the second target point and the third target point are selected from the extreme value point of one wave crest of the current piezoelectric signal data and the intersection point of the wave form and the vital sign parameter threshold.
[0035] In combination with the second aspect, in an embodiment of the present application, the blood pressure value calculation module is further configured to: perform statistical calculation on sample data of the interval time and corresponding blood pressure value sample data to obtain the blood pressure calculation model, wherein the blood pressure calculation model comprises a systolic blood pressure calculation model and a diastolic blood pressure calculation model.
[0036] With reference to the second aspect, in an implementation form of the present application, the blood pressure value calculation module is further configured to: perform fitting calculation on the sample data of the interval time and the corresponding blood pressure value sample data to obtain a fitting function; and take the fitting function as the blood pressure calculation model.
[0037] With reference to the second aspect, in an implementation form of the present application, the target point confirmation module is further configured to: obtain a plurality of intersection points between a target curve where the vital sign parameter threshold is located and a waveform corresponding to the current piezoelectric signal data, and take two adjacent intersection points as the first target point and the second target point; and take a maximum or minimum value point adjacent to the first target point or the second target point as the third target point.
[0038] With reference to the second aspect, in an implementation form of the present application, the target point confirmation module is further configured to: take a maximum value point greater than the vital sign parameter threshold as the second target point; and take two adjacent valley points of the second target point as the first target point and the third target point.
[0039] With reference to the second aspect, in an implementation form of the present application, the target point confirmation module is further configured to: determine the vital sign parameter threshold of the current piezoelectric signal data, wherein the vital sign parameter threshold is determined based on historical piezoelectric signal data before the current piezoelectric signal data, and the piezoelectric signal data is collected by a piezoelectric sensor for a target object.
[0040] With reference to the second aspect, in an implementation form of the present application, the target point confirmation module is further configured to: determine the vital sign parameter threshold of the current piezoelectric signal data based on an average value and a maximum value of the historical piezoelectric signal data.
[0041] With reference to the second aspect, in an implementation form of the present application, the vital sign parameter threshold is in a range between the average value and the maximum value of the historical piezoelectric signal data.
[0042] With reference to the second aspect, in an implementation form of the present application, the target point confirmation module is further configured to: take an average value between the average value and the maximum value of the historical piezoelectric signal data in a preset time period as the vital sign parameter threshold.
[0043] In combination with the second aspect, in an embodiment of the present application, the target point confirmation module is further configured to update the current piezoelectric signal data at a preset update time interval, wherein the vital sign parameter threshold of the current piezoelectric signal data remains unchanged within the preset update time, and the historical piezoelectric signal data in a preset time period is data located in a preset storage space, wherein the preset storage space includes a preset number of bytes, and each of the plurality of sampling points corresponds to one byte in the preset storage space.
[0044] In combination with the second aspect, in an embodiment of the present application, the current piezoelectric signal data includes a plurality of segments of piezoelectric signal data, one segment of piezoelectric signal data corresponds to one vital sign parameter threshold, and the one vital sign parameter threshold is calculated based on the historical piezoelectric signal data in adjacent preset time periods; wherein the preset time period is 2 to 5 seconds, and the one segment of piezoelectric signal data is 30 to 100 milliseconds of piezoelectric signal data.
[0045] In combination with the second aspect, in an embodiment of the present application, the sampling frequency of the piezoelectric signal data is 200 Hz, the preset time period is 3 seconds, and the preset number of bytes is 600 bytes; the target point confirmation module is further configured to update the historical piezoelectric signal data, wherein the historical piezoelectric signal data is collected at a preset frequency, in the updating process, the piezoelectric signal data of the first byte is deleted, the piezoelectric signal data from b to y bytes is moved to the position of the previous byte, and the updated piezoelectric signal data is placed in the position of the last byte, wherein b is 2 and y is 600.
[0046] In combination with the second aspect, in an embodiment of the present application, the target point confirmation module is further configured to filter and calculate the current unfiltered piezoelectric signal data based on a previous piezoelectric signal data to obtain the current piezoelectric signal data.
[0047] In combination with the second aspect, in an embodiment of the present application, the target point confirmation module is further configured to add the product of the previous piezoelectric signal data and a first preset weight to the product of the current unfiltered piezoelectric signal data and a second preset weight to obtain the current piezoelectric signal data, wherein the sum of the first preset weight and the second preset weight is 1.
[0048] In combination with the second aspect, in an embodiment of the present application, the target point confirmation module is further configured to calculate an extreme value based on the maximum value and the minimum value in the historical piezoelectric signal data, and confirm that the extreme value meets a preset extreme value threshold.
[0049] In a third aspect, the present application provides an electronic device, comprising: a processor, a memory and a bus; the processor is connected with the memory through the bus; the memory stores a computer program; the computer program is executed by the processor to implement the method according to any of the embodiments of the first aspect.
[0050] In a fourth aspect, the present application provides a computer readable storage medium, which stores a computer program; the computer program is executed to implement the method according to any of the embodiments of the first aspect. BRIEF DESCRIPTION OF DRAWINGS
[0051] Figure 1 A schematic diagram of a system for calculating blood pressure values according to an embodiment of the present application;
[0052] Figure 2 A flowchart of a method for calculating blood pressure values according to an embodiment of the present application;
[0053] Figure 3 A schematic diagram of a storage space according to an embodiment of the present application;
[0054] Figure 4 A schematic diagram of a storage space according to an embodiment of the present application;
[0055] Figure 5 A schematic diagram of piezoelectric signal data according to an embodiment of the present application;
[0056] Figure 6 A schematic diagram of piezoelectric signal data according to an embodiment of the present application;
[0057] Figure 7 A schematic diagram of piezoelectric signal data according to an embodiment of the present application;
[0058] Figure 8 A schematic diagram of a systolic pressure fitting curve according to an embodiment of the present application;
[0059] Figure 9 A schematic diagram of a diastolic pressure fitting curve according to an embodiment of the present application;
[0060] Figure 10 A flowchart of a method for calculating blood pressure values according to an embodiment of the present application;
[0061] Figure 11 A schematic diagram of a device for calculating blood pressure values according to an embodiment of the present application;
[0062] Figure 12 A schematic diagram of an electronic device according to an embodiment of the present application. DETAILED DESCRIPTION
[0063] To make the purposes, technical solutions, and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be described below in connection with the drawings in the embodiments of the present application. Obviously, the described embodiments are only some of the embodiments of the present application, rather than all the embodiments. The components of the embodiments of the present application described and shown in the drawings herein can be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of the present application provided in the drawings is not intended to limit the scope of the claimed present application, but only represents selected embodiments of the present application. Based on the embodiments of the present application, all other embodiments obtained by those skilled in the art without creative work belong to the scope of protection of the present application.
[0064] The embodiments of the present application can be applied to the scene of calculating the blood pressure value of a target object. In order to improve the problems in the background art, in some embodiments of the present application, the blood pressure value is calculated by the interval time between the intersection of the maximum point in the current piezoelectric signal data waveform and the waveform and the threshold value of the vital sign parameter. For example: in some embodiments of the present application, first, the first target point, the second target point, and the third target point in the current piezoelectric signal data are confirmed, then the interval time between the first target point and the second target point, and the interval time between the second target point and the third target point are input into the blood pressure calculation model respectively, and the blood pressure value of the target object is obtained.
[0065] The method steps in the embodiments of the present application will be described in detail below in connection with the drawings.
[0066] Figure 1 A schematic diagram of the system for calculating the blood pressure value in some embodiments of the present application is provided, which includes a piezoelectric sensor 110 and a processor 120. The piezoelectric sensor 110 collects the current piezoelectric signal data of a target object and transmits it to the processor 120. After receiving the current piezoelectric signal data, the processor 120 calculates the blood pressure value according to the current piezoelectric signal data.
[0067] Unlike the embodiments of the present application, the related art uses a mercury sphygmomanometer to measure blood pressure, which can only measure blood pressure and cannot directly measure heart rate, requires human intervention, and records time while listening to heart rate, which can lead to inaccurate measurement of heart rate and blood pressure. Due to the large size of the instrument, it is not convenient to use, and there is a certain risk of leakage of the internal mercury, which has certain safety hazards to the human body. The electronic sphygmomanometer is relatively cumbersome to use, and needs to be wrapped around the wrist or upper arm each time, and it takes about 1 minute to get the result each time, and the result only shows this measurement, and cannot be measured in real time. When measuring, the air pump inflation has noise, which causes interference to the surrounding personnel.
[0068] It should be noted that the method for calculating blood pressure values in the embodiments of the present application can be applied to any scene where blood pressure needs to be measured, and the piezoelectric sensor can also be placed on any product that needs to be placed. As a specific embodiment of the present application, the method for calculating blood pressure values in the present application can be applied to a scene where the blood pressure values of passengers (including the driver and other passengers) in a vehicle are calculated, and the piezoelectric sensor for collecting piezoelectric signal data is installed under the seat, the steering wheel, the gear lever, etc. In the vehicle driving or vehicle starting stage, the blood pressure values of the passengers in the vehicle are monitored.
[0069] As a specific embodiment of the present application, the piezoelectric sensor in the present application can also be installed in a smart cushion, a smart sofa, a mattress, a smart office chair, a smart bracelet, and clothes, a pillow, a toilet seat, an emergency bed, a hospital bed, a pet bed, etc. in a home or office scene. After the piezoelectric sensor obtains the piezoelectric signal data of the target object, the processor calculates the blood pressure value according to the current piezoelectric signal data, and after each device obtains the blood pressure value, subsequent operations are performed based on the blood pressure value according to the scene and the needs of the device. For example, when the piezoelectric sensor is installed in a hospital bed, after obtaining the blood pressure value of the target object (patient), an alarm is given in the case of an abnormal current blood pressure value. For example, when the piezoelectric sensor is installed in clothes (including clothes during exercise, hospital gowns, daily clothes, etc.), after monitoring that the current blood pressure value of the target object is abnormal, an alarm is given to the connected terminal in time.
[0070] It can be understood that the placement positions of the piezoelectric sensor and the application scenarios of the present application are only examples, and the present application does not limit the placement positions of the piezoelectric sensor and the application scenarios of calculating blood pressure values.
[0071] The following is an example of a processor to illustrate a scheme for calculating blood pressure values by the processor in the present application. It can be understood that the technical solution of the method for calculating blood pressure values in the embodiments of the present application can be applied to any processor, and the present application does not limit the type of processor.
[0072] At least to solve the problems in the background art, as shown in Figure 2 A scheme for calculating blood pressure values includes:
[0073] S210, confirming a target point set in the current piezoelectric signal data.
[0074] In an embodiment of the present application, before S210, it further includes determining a vital sign parameter threshold of the current piezoelectric signal data.
[0075] It should be noted that the vital sign parameter threshold is determined based on the historical piezoelectric signal data before the current piezoelectric signal data, that is, the application sets a preset storage space in the memory for storing the piezoelectric signal data, and the current piezoelectric signal data is determined based on the historical piezoelectric signal data in the preset storage space within a preset time period.
[0076] It can be understood that the current piezoelectric signal data waveform includes multiple segments of piezoelectric signal data, one segment of piezoelectric signal data corresponds to one vital sign parameter threshold, and one vital sign parameter threshold is calculated by the historical piezoelectric signal data in adjacent preset time periods. The preset time period is 2 to 5 seconds, and one segment of piezoelectric signal data is 30 to 100 milliseconds of piezoelectric signal data, wherein 40 milliseconds of piezoelectric signal data corresponds to 8 bytes of piezoelectric signal data.
[0077] Specifically, as shown in Figure 3 , the application sets a preset storage space 320 in the memory 310 of the device, and matches the preset storage space 320 with an appropriate depth N. As shown in Figure 4 , the application sets a preset storage space 320 in the memory 310 of the device, and matches the preset storage space 320 with an appropriate depth N. As shown in Figure 4 , the internal space of the preset storage space 320 is shown, and the preset storage space 320 includes N storage data positions, which become the memory depth, wherein the 1 position is the leftmost data, the 2 to N-1 positions are the intermediate data, and the N position is the rightmost data. When the depth N value is too large, there is too much useless data, resulting in an increase in the amount of data to be processed, and if the N value is too small, the accuracy of the data cannot be guaranteed. Therefore, the formula for calculating N is N = Fc x 60 / HR, wherein Fc represents the sampling frequency, Fc is 200 Hz, HR represents the number of heartbeats, and the unit is times / min. According to the minimum heart rate of 20 times / min, N = 200 x 60 / 20 = 600. Therefore, the application takes N = 600, and 600 bytes are sufficient to guarantee the data materials required for calculating the heart rate value, and can guarantee that there is always data in the preset storage space 320, so that the heart rate value can be calculated in real time, and the real-time calculation is improved without changing the accuracy.
[0078] In an embodiment of the application, the historical piezoelectric signal data is updated before S210, wherein the historical piezoelectric signal data is collected at a preset frequency, and in the updating process, the first byte of piezoelectric signal data is deleted, the b to y bytes are moved to the position of the previous byte, and the updated piezoelectric signal data is placed in the position of the last byte, wherein b is 2, y is 600, and the preset frequency is 200 Hz.
[0079] That is, the data storage principle of the preset storage space 320 is that the leftmost data in the preset storage space is discarded, the middle data is retained, and the rightmost data is left for new data to enter. Specifically, it is checked whether there is new data at the new data entry. If there is no new data, it waits for judgment until new data arrives. When there is new data, the preset storage space with a depth of N is allocated for storing the collected piezoelectric signal data. The entire preset storage space is shifted one bit to the left, the leftmost data is discarded, and the rightmost data is left out as the entry for the next new data, so as to always maintain the integrity of the data in the preset storage space. As shown in Table 1:
[0080] Table 1 Data shift table
[0081]
[0082] wherein the original data are a, b, c, d, …, x and y, which are changed to b, c, d, e, …, y and z by moving one bit to the left, that is, the leftmost a is removed. The rightmost y has the original 600th position changed to the 599th position, and the 600th position (the rightmost data) z is new data. Therefore, the previous sampling data can be retained, and the heart rate value can be displayed when the target user starts measuring, realizing the real-time calculation of the heart rate value.
[0083] It can be understood that the piezoelectric signal data is collected by a piezoelectric sensor for a target object. The target object can be a human or an animal, for example, a cat, a dog, etc.
[0084] Therefore, the embodiments of the present application can ensure the real-time calculation result by using the preset storage space, so that the target object can display the vital sign parameter value when the detection just starts.
[0085] In an embodiment of the present application, before S210, it further includes: filtering and calculating the current unfiltered piezoelectric signal data according to the previous piezoelectric signal data to obtain the current piezoelectric signal data. That is, in order to suppress the noise signal remaining in the previous piezoelectric signal data, make the overall waveform smooth, and increase the probability of effectiveness of each data, the previous piezoelectric signal data needs to be filtered and calculated.
[0086] Specifically, the filtering parameters are weighted to the previous piezoelectric signal data and the current unfiltered piezoelectric signal data respectively, and then the two items are summed to obtain the current piezoelectric signal data. That is, the product of the previous piezoelectric signal data and the first preset weight is added to the product of the current unfiltered piezoelectric signal data and the second preset weight to obtain the current piezoelectric signal data, wherein the sum of the first preset weight and the second preset weight is 1. As shown in formula (1):
[0087] ret = Kp x thisdata + (1 - Kp) x lastdata (1)
[0088] Wherein, ret represents the current piezoelectric signal data, 1-Kp represents the first preset weight, thisdata represents the current unfiltered piezoelectric signal data, Kp represents the second preset weight, and lastdata represents the previous piezoelectric signal data.
[0089] It can be understood that Kp can be valued according to actual conditions, for example, 0.2, 0.3, etc., and the application is not limited thereto.
[0090] Therefore, the application embodiment can ensure smooth transformation of the current piezoelectric signal data through filtering calculation.
[0091] In an embodiment of the application, before S210, it further includes: calculating an extreme value based on the maximum value and the minimum value in the historical piezoelectric signal data, and confirming that the extreme value meets a preset extreme value threshold. That is, the extreme value calculated by the application represents the highest point and the lowest point position of the piezoelectric signal data in the preset storage space, and the role is to determine the upper and lower limit interval to prevent overflow and further reduce the range, which greatly improves the data processing and accuracy. The application adopts the bubble sorting method to find the maximum value and the minimum value in the historical piezoelectric signal data in one cycle, and calculates the corresponding extreme value of the historical piezoelectric signal data based on the maximum value and the minimum value. As shown in formula (2):
[0092] R = (V max -V min ) / (V max +V ) (2)
[0093] Wherein, R represents the extreme value, V
[0001] represents the maximum value in the historical piezoelectric signal data, and V represents the minimum value in the historical piezoelectric signal data.
[0094] After obtaining the extreme value of the historical piezoelectric signal data, if it is confirmed that the extreme value meets the preset extreme value threshold, subsequent calculation is performed, if it is confirmed that the extreme value does not meet the preset extreme value threshold, subsequent calculation is not performed, and the R value is continued to be judged in the next calculation period until the R value meets the preset extreme value threshold and the subsequent calculation is performed. It can be understood that the preset extreme value threshold can be set according to the actual production situation, for example, the preset extreme value threshold can be 0.7, 0.8, etc.
[0095] Therefore, the application embodiment can reduce the influence of the interference signal with great change on the calculation result by confirming that the historical piezoelectric signal data meets the preset extreme value threshold.
[0096] In one embodiment of this application, S210 specifically includes: determining the threshold values of vital signs parameters of the current piezoelectric signal data based on the average and extreme values of historical piezoelectric signal data.
[0097] In other words, since data fluctuations are unavoidable during data acquisition, causing the data waveform to fluctuate, this application uses a vital sign parameter threshold to track the fluctuations of the entire waveform. Because the current piezoelectric signal data fluctuates with the waveform, the vital sign parameter threshold also fluctuates. However, the difference between the fluctuation of the current piezoelectric signal data and the vital sign parameter threshold is constant. Therefore, both values fluctuate simultaneously, resulting in a relative static state between them. Based on this, since the average value can change with the piezoelectric signal data, using only the average value to quantify the fluctuation of the current piezoelectric signal data would be affected by non-ECG signal data. Therefore, this application uses both the average value and the extreme value to quantify the fluctuation of the current piezoelectric signal data.
[0098] For example, such as Figure 5 As shown, the piezoelectric signal data 502 is divided into a first waveform and a second waveform. Each waveform has a corresponding peak. It can be seen from the waveform that there is a significant increase in the first waveform compared to the second waveform. However, the vital signs parameter threshold 501 also increases accordingly. Therefore, regardless of whether the waveform rises or falls, the vital signs parameter threshold will move with the waveform, ensuring that the difference between the highest point and the threshold is relatively fixed. That is, in the differential principle, both move upward at the same time, and the relative difference remains unchanged.
[0099] It should be noted that the current piezoelectric signal data includes multiple segments of piezoelectric signal data. Each segment of piezoelectric signal data corresponds to a vital sign parameter threshold. A vital sign parameter threshold is calculated from historical piezoelectric signal data within adjacent preset time periods. The vital sign parameter threshold of the current piezoelectric signal data is updated every preset update time. The vital sign parameter threshold remains unchanged within the preset update time.
[0100] In other words, a vital sign parameter threshold is calculated based on historical piezoelectric signal data within adjacent preset time periods at each preset update interval, and this vital sign parameter threshold is used for all piezoelectric signal data within the subsequent preset update time. This means that the duration of a segment of piezoelectric signal data is the duration of the preset update time.
[0101] It should be noted that the preset time period is 2 to 5 seconds, and a segment of piezoelectric signal data is 30 to 100 milliseconds of piezoelectric signal data. Among them, 40 milliseconds of piezoelectric signal data corresponds to 8 bytes of piezoelectric signal data. Optionally, the preset time period can be 3 seconds, and a segment of piezoelectric signal data can be 40 ms of piezoelectric signal data.
[0102] For example, the preset update time is 40 ms, the preset time period is 3 S (the preset storage space can store 600 data, and the sampling frequency is 200 Hz, so the historical piezoelectric signal data in the preset storage space within the preset time period is 3 S data), the vital sign parameter threshold is calculated once every 40 ms, the vital sign parameter threshold of this time is obtained by calculating the historical piezoelectric signal data of the adjacent 3 S, and the piezoelectric signal data in the next 40 ms all use the vital sign parameter threshold of this time, that is, the next calculation is performed after the 40 ms of this calculation.
[0103] Therefore, the embodiment of the present application can ensure that the vital sign parameter threshold can always follow the waveform of the piezoelectric signal data by using the average value and the extreme value of the historical piezoelectric signal data to determine the vital sign parameter threshold.
[0104] Specifically, in the case of forward sampling, the value range of the vital sign parameter threshold is between the average value and the maximum value of the historical piezoelectric signal data, or in the case of negative sampling, the value range of the vital sign parameter threshold is between the average value and the minimum value of the historical piezoelectric signal data. That is, in order to prevent the influence of the piezoelectric signal data with too small or too large fluctuation on the calculation of the vital sign parameter threshold, the value range of the vital sign parameter threshold is set between the average value and the extreme value. Considering that the maximum value can be used to calculate the heart rate value, and the minimum value can also be used to calculate the heart rate value, the vital sign parameter threshold can be between the average value and the maximum value, or between the average value and the minimum value.
[0105] It can be understood that the waveform of forward sampling and the waveform of negative sampling are symmetric about the abscissa. Generally, forward sampling is adopted.
[0106] Therefore, the embodiment of the present application can accurately capture the waveform of heartbeats by setting the value range of the threshold between the average value and the extreme value, and prevent multiple target points from appearing due to waveform fluctuation.
[0107] Optionally, the specific method for calculating the vital sign parameter threshold comprises: taking the average value between the average value and the maximum value of the historical piezoelectric signal data within the preset time period as the vital sign parameter threshold. As shown in formula (3):
[0108]
[0109] Wherein, Thr represents the vital sign parameter threshold, N represents the number of data stored in the preset storage space, i is a loop variable, the value range of i is 0-599, x[i] represents any one piezoelectric signal data, V maxa maximum value of the historical piezoelectric signal data in the preset time period.
[0110] Optionally, the sum of the average value and the minimum value of the historical piezoelectric signal data in the preset time period can be divided by M to obtain the vital sign parameter threshold. It should be noted that the average value between the average value and the minimum value of the historical piezoelectric signal data in the preset time period is the best embodiment of using the average value between the average value and the minimum value of the historical piezoelectric signal data in the preset time period as the vital sign parameter threshold. In addition to this, the average value between the average value and the minimum value of the historical piezoelectric signal data in the preset time period can also be divided by 2.1, 1.9, 2.5, etc., that is, M can be 2.1, 1.9, 2.5, etc., as long as the value range of the vital sign parameter threshold is set between the average value and the maximum value.
[0111] Optionally, the application can also complete the function of following the piezoelectric signal data fluctuation through the calculation of extreme value and summation operation, and can also determine the vital sign parameter threshold through the data accumulation integral method and the calculation of the average value of the historical piezoelectric signal data.
[0112] Therefore, by averaging the average value and the maximum value of the historical piezoelectric signal data, the application embodiment can ensure that the difference between the vital sign parameter threshold and the maximum value is relatively fixed, so as to ensure that the accurate blood pressure value can be calculated in the case of data fluctuation.
[0113] In an embodiment of the application, the target point set includes a first target point, a second target point and a third target point, and the target point set is a set of points related to a wave crest satisfying greater than the vital sign parameter threshold. The first target point, the second target point and the third target point in S210 are selected from the maximum point of a wave crest of the current piezoelectric signal data and the intersection of the waveform and the vital sign parameter threshold.
[0114] That is, the first target point, the second target point and the third target point can be the maximum value in the current piezoelectric signal data, the minimum value adjacent to the maximum value in the current piezoelectric signal data, or can be the point where the waveform is equal to the vital sign parameter threshold.
[0115] As a specific embodiment of S210, the implementation steps of S210 include:
[0116] First, a plurality of intersection points between the target curve where the vital sign parameter threshold is located and the corresponding waveform of the current piezoelectric signal data are obtained, and the two adjacent intersection points are taken as the first target point and the second target point.
[0117] Specifically, as Figure 6As shown, the point where the target curve of the vital signs parameter threshold 501 is equal to the current piezoelectric signal data 502 is the intersection point, namely point A and point B. Point A is taken as the first target point and point B is taken as the second target point.
[0118] Then, the extreme point adjacent to the first or second target point is taken as the third target point.
[0119] Specifically, in this embodiment, the minimum point adjacent to the second target point, i.e., point S, is taken as the third target point.
[0120] As another specific embodiment of S210, the implementation steps of S210 include:
[0121] First, the maximum value point that exceeds the threshold of vital signs parameters is taken as the second target point.
[0122] Specifically, such as Figure 7 As shown, the point where the vertical coordinate of the current piezoelectric signal data 502 is greater than the threshold of vital signs parameters is point B, and point B is taken as the second target point.
[0123] Then, the two troughs adjacent to the second target point are designated as the first and third target points.
[0124] Specifically, find two trough points A and S adjacent to point B, take point A as the first target point and point S as the third target point.
[0125] It should be noted that the time interval between the first target point and the second target point is... Figure 6 and Figure 7 The time interval between the second and third target points in the Tab is... Figure 6 and Figure 7 Tbs in.
[0126] S220, input the time interval between the first target point and the second target point, and the time interval between the second target point and the third target point into the blood pressure calculation model to obtain the blood pressure value of the target object.
[0127] In one embodiment of this application, before S220, the method further includes: performing statistical calculations on the sample data of the interval time and the corresponding blood pressure value sample data to obtain a blood pressure calculation model.
[0128] It is understandable that blood pressure calculation models include systolic blood pressure calculation models and diastolic blood pressure calculation models.
[0129] In other words, the samples at the time intervals are fitted with the corresponding diastolic and systolic blood pressure values to obtain a fitting function. The diastolic fitting function is used as the diastolic blood pressure calculation model, and the systolic blood pressure fitting function is used as the systolic blood pressure calculation model.
[0130] Specifically, blood pressure is divided into systolic pressure (SP) and diastolic pressure (DP), when the heart beats, the blood will fluctuate obviously, when the heart contracts maximally, the blood pressure is also maximally, that is Figure 6 AB segment in the above formula, the time of this segment can reflect the blood pressure, and the blood pressure value can be obtained according to the fitting formula.
[0131] That is, as shown in Figure 8 , different experimenters are found, and after multiple measurements, the interval time Tab between the first target point and the second target point is obtained, and the systolic pressure SP of the same person is measured, a plurality of interval times Tab and systolic pressures are fitted and calculated to obtain a fitting function SP = 0.1133 x Tab x Tab - 7.1065 x Tab + 183.65 (fitting goodness R2 = 0.99). And the measured systolic pressure and the calculated systolic pressure are compared to confirm that they are within the error range, and the final systolic pressure calculation model is obtained.
[0132] The interval time Tbs between the first target point and the second target point is obtained, and the diastolic pressure DP of the same person is measured, a plurality of interval times Tbs and diastolic pressures DP are fitted and calculated to obtain a fitting function DP = 0.061 x Tbs x Tbs - 2.6379 x Tbs + 93.749 (fitting goodness R2 = 0.98). As shown in Figure 9 , the measured diastolic pressure and the calculated diastolic pressure are compared to confirm that they are within the error range, and the final diastolic pressure calculation model is obtained.
[0133] It can be understood that since the more data is fitted, the higher the accuracy is, and the fitting function can continuously improve the accuracy with the increasing data in the process of use.
[0134] It should be noted that the fitting calculation is an embodiment in statistical calculation, and the present application can not only use the samples of interval time and the corresponding diastolic blood pressure and systolic blood pressure for fitting calculation, but also use the samples of interval time and the corresponding diastolic blood pressure and systolic blood pressure for neural network calculation, etc. The embodiments of the present application are not limited thereto.
[0135] In an embodiment of the present application, while using the above model to calculate the blood pressure value, the heart rate value can also be directly output. Specifically, the equal point between the vital sign parameter threshold and the current pressure signal data is obtained, the adjacent two equal points which are both in the rising stage or both in the falling stage are taken, and the interval time between the two equal points is taken as the time of one heartbeat, and then the heart rate value is calculated by the following formula:
[0136] HR = 60 (1 / T)
[0137] Here, HR represents the heart rate value, and T represents the time interval between these two equal points (in seconds).
[0138] In one embodiment of this application, the S220 implementation process specifically includes:
[0139] like Figure 6 As shown, firstly, each data point in the current piezoelectric signal data is compared with the threshold of vital signs parameters. If they are equal, it is determined to be point A, and a timer is started to begin timing.
[0140] Then, the data after point A is compared with the vital signs parameter threshold. If they are equal, it is determined to be point B. At this time, the timer value is the time from point A to point B, denoted as Tab.
[0141] Next, the data after point B is compared sequentially to find the first minimum value, which is point S. At this point, the timer data is the total time from point A to point S. This time minus Tab is the time from point B to point S, denoted as Tbs.
[0142] Finally, input Tab into the systolic blood pressure calculation model to obtain the systolic blood pressure value. Input Tbs into the diastolic blood pressure calculation model to obtain the diastolic blood pressure value.
[0143] As a specific embodiment of this application, such as Figure 10 As shown, at the piezoelectric signal data update entry 101, S102 is executed to determine whether there is new data. If there is no new data, the process returns to the piezoelectric signal data update entry 101 to continue the judgment. If there is new data, S103 is executed to set the storage space depth N, S104 is executed to perform storage space data shifting processing, then S105 is executed to perform first-order hysteresis filtering, S106 is executed to calculate the arithmetic extremum R of the piezoelectric signal data in the storage space, and S107 is executed to confirm that R meets the requirements. Then the threshold is dynamically calculated, S108 is executed to calculate the Tab value and Tbs value, and finally S109 is executed to obtain the blood pressure through the fitting function.
[0144] It should be noted that this application can also establish a fitting function between heart rate and blood pressure values to determine blood pressure values. Furthermore, this application can also utilize interval statistics to calculate blood pressure values.
[0145] Therefore, this application is characterized by the absence of constraints from measuring equipment, the lack of special coordination, and the absence of the need to press a steering wheel, making it suitable for blood pressure measurement in various scenarios. This application is a non-pneumatic measurement method, offering flexibility and no requirements for the measurement environment. Another advantage is its real-time performance and automatic adaptability, significantly reducing reliance on hardware filtering and shaping circuits. Blood pressure values can be directly calculated using Tab and Tbs values, improving calculation speed.
[0146] Therefore, the application uses a non-inflatable sensor to measure blood pressure, only needs to contact the sensor with the human body, does not need to be directly in contact with the skin, and can display the blood pressure state in real time, while measuring the heart rate and blood pressure value, and achieving synchronous measurement.
[0147] The above describes an embodiment of a method for calculating a blood pressure value provided by the application, and the following will describe a device for calculating a blood pressure value provided by the application.
[0148] As shown in Figure 11 Some embodiments of the application provide a device 11 for calculating a blood pressure value, which comprises: a target point confirmation module 111 and a blood pressure value calculation module 112.
[0149] The target point confirmation module 111 is configured to confirm a target point set in current piezoelectric signal data, wherein the target point set comprises a first target point, a second target point and a third target point, the target point set is a set of points related to one wave crest satisfying a vital sign parameter threshold, and the current piezoelectric signal data is collected for a target object; the blood pressure value calculation module 112 is configured to input interval times between the first target point and the second target point and interval times between the second target point and the third target point into a blood pressure calculation model respectively, and obtain a blood pressure value of the target object.
[0150] In an embodiment of the application, the first target point, the second target point and the third target point are selected from the extreme point of one wave crest of the current piezoelectric signal data and the intersection point of the wave form and the vital sign parameter threshold.
[0151] In an embodiment of the application, the blood pressure value calculation module 112 is further configured to: perform statistical calculation on sample data of the interval times and corresponding blood pressure value sample data, and obtain the blood pressure calculation model, wherein the blood pressure calculation model comprises a systolic blood pressure calculation model and a diastolic blood pressure calculation model.
[0152] In an embodiment of the application, the blood pressure value calculation module 112 is further configured to: perform fitting calculation on sample data of the interval times and corresponding blood pressure value sample data, and obtain a fitting function; and take the fitting function as the blood pressure calculation model.
[0153] In an embodiment of the application, the target point confirmation module 111 is further configured to: obtain a plurality of intersection points between a target curve where the vital sign parameter threshold is located and a wave form corresponding to the current piezoelectric signal data, and take two adjacent intersection points as the first target point and the second target point; and take an extreme point adjacent to the first target point or the second target point as the third target point.
[0154] In an embodiment of the present application, the target point confirmation module 111 is further configured to: determine the maximum value point greater than the vital sign parameter threshold value as the second target point; and determine two adjacent wave trough points of the second target point as the first target point and the third target point.
[0155] In an embodiment of the present application, the target point confirmation module 111 is further configured to: determine the vital sign parameter threshold value of the current piezoelectric signal data, wherein the vital sign parameter threshold value is determined based on historical piezoelectric signal data before the current piezoelectric signal data, and the piezoelectric signal data is collected by a piezoelectric sensor for a target object.
[0156] In an embodiment of the present application, the target point confirmation module 111 is further configured to: determine the vital sign parameter threshold value of the current piezoelectric signal data based on the average value and the extreme value of the historical piezoelectric signal data.
[0157] In an embodiment of the present application, the vital sign parameter threshold value is within a range between the average value and the maximum value of the historical piezoelectric signal data.
[0158] In an embodiment of the present application, the target point confirmation module 111 is further configured to: determine the average value between the average value and the maximum value of the historical piezoelectric signal data within a preset time period as the vital sign parameter threshold value.
[0159] In an embodiment of the present application, the target point confirmation module 111 is further configured to: update the vital sign parameter threshold value of the current piezoelectric signal data every interval of a preset update time, wherein the vital sign parameter threshold value remains unchanged within the preset update time, and the historical piezoelectric signal data within a preset time period is data in a preset storage space, wherein the preset storage space includes a preset number of bytes, and each of the plurality of sampling points corresponds to one byte in the preset storage space.
[0160] In an embodiment of the present application, the current piezoelectric signal data includes a plurality of piezoelectric signal data, one piezoelectric signal data corresponds to one vital sign parameter threshold value, and the one vital sign parameter threshold value is calculated based on adjacent historical piezoelectric signal data within a preset time period, wherein the preset time period is 2-5 seconds, and the one piezoelectric signal data is 30-100 milliseconds of piezoelectric signal data.
[0161] In an embodiment of the present application, the sampling frequency of the piezoelectric signal data is 200 Hz, the preset time period is 3 seconds, and the preset number of bytes is 600 bytes; the target point confirmation module 111 is further configured to update the historical piezoelectric signal data, wherein the historical piezoelectric signal data is collected at a preset frequency, in the updating process, the piezoelectric signal data of the first byte is deleted, the piezoelectric signal data from the bth byte to the yth byte is moved to the position of the byte before the first byte, and the updated piezoelectric signal data is placed at the position of the last byte, wherein b is 2 and y is 600.
[0162] In an embodiment of the present application, the target point confirmation module 111 is further configured to filter and calculate the current unfiltered piezoelectric signal data according to the previous piezoelectric signal data to obtain the current piezoelectric signal data.
[0163] In an embodiment of the present application, the target point confirmation module 111 is further configured to add the product of the previous piezoelectric signal data and a first preset weight and the product of the current unfiltered piezoelectric signal data and a second preset weight to obtain the current piezoelectric signal data, wherein the sum of the first preset weight and the second preset weight is 1.
[0164] In an embodiment of the present application, the target point confirmation module is further configured to calculate an extreme value based on the maximum value and the minimum value in the historical piezoelectric signal data, and confirm that the extreme value meets a preset extreme value threshold.
[0165] In the embodiments of the present application, Figure 11 The modules shown in the above embodiments can realize Figures 1 to 10 the processes in the method embodiments. Figure 11 The operations and / or functions of the modules in the above embodiments are respectively to realize Figures 1 to 10 the corresponding processes in the method embodiments. For details, refer to the descriptions in the method embodiments, and the detailed descriptions are appropriately omitted here to avoid repetition.
[0166] As Figure 12 shown in the above embodiments, the present application provides an electronic device 12, which comprises a processor 121, a memory 122 and a bus 123, the processor is connected with the memory through the bus, and the memory stores computer readable instructions, when the computer readable instructions are executed by the processor, the method in any one of the above embodiments is realized, for details, refer to the descriptions in the method embodiments, and the detailed descriptions are appropriately omitted here to avoid repetition.
[0167] The bus is used to enable direct communication between these components. In this embodiment, the processor can be an integrated circuit chip with signal processing capabilities. The processor can be a general-purpose processor, including a Central Processing Unit (CPU), a Network Processor (NP), etc.; it can also be a Digital Signal Processor (DSP), an Application-Specific Integrated Circuit (ASIC), an On-Premises Programmable Gate Array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components. It can implement or execute the methods, steps, and logic block diagrams disclosed in this embodiment. The general-purpose processor can be a microprocessor or any conventional processor.
[0168] The memory can be, but is not limited to, Random Access Memory (RAM), Read Only Memory (ROM), Programmable Read-Only Memory (PROM), Erasable Programmable Read-Only Memory (EPROM), Electrically Erasable Programmable Read-Only Memory (EEPROM), etc. The memory stores computer-readable instructions, which, when executed by the processor, can perform the methods described in the above embodiments.
[0169] Understandable. Figure 12 The structure shown is for illustrative purposes only and may include structures larger than those shown. Figure 12 The more or fewer components shown, or having the same Figure 12 The different configurations shown. Figure 12 The components shown can be implemented using hardware, software, or a combination thereof.
[0170] This application also provides a computer-readable storage medium storing a computer program. When the computer program is executed by a server, it implements any of the methods described in all the above embodiments. For details, please refer to the descriptions in the above method embodiments. To avoid repetition, detailed descriptions are appropriately omitted here.
[0171] The above descriptions are only the preferred embodiment of the present application, but not intended to limit the present application. Any modification, equivalent replacement and improvement made within the principle and technical scope of the present application should be included in the protection scope of the present application. It should be noted that similar reference numerals and letters represent similar items in the following drawings, thus, once an item is defined in one drawing, it does not need to be further defined and explained in the subsequent drawings.
[0172] The above descriptions are only the specific embodiments of the present application, but the protection scope of the present application is not limited to this. Any modification, equivalent replacement and improvement made within the technical range disclosed by the present application can be easily thought by any person skilled in the art, and should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be subject to the protection scope of the claims.
Claims
1. A method of calculating a blood pressure value, characterized by, The method comprises: Confirming a target point set in current piezoelectric signal data, wherein the target point set comprises a first target point, a second target point and a third target point, the target point set is a set of points related to a wave crest satisfying a vital sign parameter threshold, and the current piezoelectric signal data is collected for a target object; the vital sign parameter threshold is determined based on historical piezoelectric signal data before the current piezoelectric signal data; Inputting interval times between the first target point and the second target point and between the second target point and the third target point into a blood pressure calculation model respectively to obtain a blood pressure value of the target object; The confirming of the target point set in the current piezoelectric signal data comprises: obtaining a plurality of intersection points between a target curve where the vital sign parameter threshold is located and a waveform corresponding to the current piezoelectric signal data, and taking two adjacent intersection points as the first target point and the second target point; and taking a maximum or minimum value point adjacent to the first target point or the second target point as the third target point.
2. The method of claim 1, wherein, Before the inputting of the interval times between the first target point and the second target point and between the second target point and the third target point into the blood pressure calculation model respectively to obtain the blood pressure value of the target object, the method further comprises: Performing calculation on sample data of the interval times and corresponding blood pressure value sample data to obtain the blood pressure calculation model, wherein the blood pressure calculation model comprises a systolic blood pressure calculation model and a diastolic blood pressure calculation model.
3. The method of claim 2, wherein, The performing of the calculation on the sample data of the interval times and the corresponding blood pressure value sample data to obtain the blood pressure calculation model comprises: Performing fitting calculation on the sample data of the interval times and the corresponding blood pressure value sample data to obtain a fitting function; Taking the fitting function as the blood pressure calculation model.
4. The method according to any one of claims 1 to 3, characterized in that, Before the confirming of the target point set in the current piezoelectric signal data, the method further comprises: Determining the vital sign parameter threshold of the current piezoelectric signal data.
5. The method of claim 4, wherein, The determining of the vital sign parameter threshold of the current piezoelectric signal data comprises: Determining the vital sign parameter threshold of the current piezoelectric signal data based on an average value and a maximum value of the historical piezoelectric signal data.
6. The method of claim 5, wherein, The maximum value comprises a maximum value; and a value range of the vital sign parameter threshold is between the average value and the maximum value of the historical piezoelectric signal data.
7. The method of claim 6, wherein, The determining of the vital sign parameter threshold of the current piezoelectric signal data comprises: Taking an average value between the average value and the maximum value of the historical piezoelectric signal data in a preset time period as the vital sign parameter threshold.
8. The method of claim 4, wherein, The determining of the vital sign parameter threshold of the current piezoelectric signal data comprises: updating a vital sign parameter threshold of the current piezoelectric signal data every preset update time, wherein the vital sign parameter threshold remains unchanged within the preset update time, and historical piezoelectric signal data within a preset time period is data located in a preset storage space, wherein the preset storage space includes a preset number of bytes, and each of a plurality of sampling points corresponds to one byte in the preset storage space.
9. The method of claim 8, wherein, The current piezoelectric signal data includes a plurality of piezoelectric signal data, and one piece of piezoelectric signal data corresponds to one vital sign parameter threshold, and the one vital sign parameter threshold is calculated by adjacent historical piezoelectric signal data within a preset time period. Wherein, the preset time period is 2 to 5 seconds, and the one piece of piezoelectric signal data is 30 to 100 milliseconds of piezoelectric signal data.
10. The method of claim 9, wherein, The sampling frequency of the piezoelectric signal data is 200Hz, the preset time period is 3 seconds, and the preset number of bytes is 600 bytes. Before the target point set in the current piezoelectric signal data is confirmed, the method further comprises: updating the historical piezoelectric signal data, wherein the historical piezoelectric signal data is collected at a preset frequency, and in the updating process, the piezoelectric signal data of the first byte is deleted, the piezoelectric signal data from b to y bytes is moved to the position of the previous byte, and the updated piezoelectric signal data is placed in the position of the last byte, wherein b is 2 and y is 600.
11. The method of claim 4, wherein, Before the vital sign parameter threshold of the current piezoelectric signal data is determined, the method further comprises: filtering and calculating the current unfiltered piezoelectric signal data according to the previous piezoelectric signal data to obtain the current piezoelectric signal data.
12. The method of claim 11, wherein, The filtering and calculating the current unfiltered piezoelectric signal data according to the previous piezoelectric signal data to obtain the current piezoelectric signal data comprises: adding the product of the previous piezoelectric signal data and a first preset weight to the product of the current unfiltered piezoelectric signal data and a second preset weight to obtain the current piezoelectric signal data, wherein the sum of the first preset weight and the second preset weight is 1.
13. The method of claim 4, wherein, Before the vital sign parameter threshold of the current piezoelectric signal data is determined, the method further comprises: calculating an extreme value based on the maximum value and the minimum value in the historical piezoelectric signal data, and confirming that the extreme value meets a preset extreme value threshold.
14. An apparatus for calculating a blood pressure value, characterized by The device is used to execute the method of claim 1, comprising: a target point confirmation module configured to confirm a target point set in the current piezoelectric signal data, wherein the target point set includes a first target point, a second target point and a third target point, the target point set is a set of points related to one wave crest that meets a vital sign parameter threshold, and the current piezoelectric signal data is collected for a target object; a blood pressure value calculation module configured to input the interval time between the first target point and the second target point and the interval time between the second target point and the third target point into a blood pressure calculation model respectively to obtain a blood pressure value of the target object.
15. An electronic device, comprising: comprising: a processor, a memory and a bus; The processor is connected with the memory through the bus, and the memory stores a computer program, which is executed by the processor to implement the method in any one of claims 1-13.
16. A computer readable storage medium characterized by: The computer readable storage medium stores a computer program, which is executed to implement the method in any one of claims 1-13.
Citation Information
Patent Citations
Non-invasive continuous blood pressure measuring device based on pulse waves and method thereof
CN111839488A