A method and device for obtaining the stability of a pulse sensing device
By calculating the average periodic waveform and similarity of the pulse waveform graph, the problem of lack of quantitative standards for judging pulse waveform similarity in the prior art is solved, and the accuracy of pulse sensor device is accurately evaluated, which improves the accuracy and user experience of performance testing.
Patent Information
- Application Number
- CN202210530386.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-05-16
- Publication Date
- 2025-06-27
- Estimated Expiration
- 2042-05-16
AI Technical Summary
In the prior art, there is a lack of specific quantitative standards for the judgment of similarity of pulse waveforms, which makes performance test indicators highly subjective and it is difficult to accurately evaluate the stability of pulse sensing devices.
By obtaining the waveform charts of the two pulse waves to be compared, their average period waveforms are determined respectively, and the waveform similarity of the two average period waveform charts is calculated, thereby evaluating the stability of the pulse sensing device.
A specific method is provided to quantify the similarity of pulse waveforms, improve the accuracy and reliability of pulse sensing device performance testing, and improve the user experience.
Smart Images

Figure CN114970617B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of communications, and in particular, to a technology for obtaining the waveform similarity of pulse waves. Background Art
[0002] When measuring the pulse, usually the sensor is fixed at the position of the wrist pulse, simulating the pulse-taking method, applying a certain pressure, the sensor will sense the pulse beat, and the data of the sensor is collected into a computer or other devices through a circuit for subsequent data analysis. In some existing technical performance test indicators, such as the similarity of data waveforms, it is generally judged subjectively and lacks specific quantitative criteria. Summary of the Invention
[0003] An object of this application is to provide a method, device, medium and program product for obtaining the stability of a pulse sensing device.
[0004] According to one aspect of this application, a method for obtaining the stability of a pulse sensing device is provided, wherein the method includes:
[0005] Obtain two pulse waveform diagrams of two pulse waves to be compared, wherein the two pulse waves include the pulse waves of the same user collected by a certain pulse sensing device;
[0006] Respectively determine the corresponding average period waveforms according to the two pulse waveform diagrams to obtain two average period waveform diagrams;
[0007] Determine the waveform similarity corresponding to the two pulse waves according to the two average period waveform diagrams, and determine the stability information of the certain pulse sensing device according to the waveform similarity.
[0008] According to another aspect of this application, a device for obtaining the waveform similarity of pulse waves is provided, wherein the device includes:
[0009] A first module for obtaining two pulse waveform diagrams of two pulse waves to be compared, wherein the two pulse waves include the pulse waves of the same user collected by a certain pulse sensing device;
[0010] A second module for respectively determining the corresponding average period waveforms according to the two pulse waveform diagrams to obtain two average period waveform diagrams;
[0011] A third module for determining the waveform similarity corresponding to the two pulse waves according to the two average period waveform diagrams, and determining the stability information of the certain pulse sensing device according to the waveform similarity.
[0012] According to one aspect of the present application, there is provided a computer device, wherein the device includes:
[0013] a processor; and
[0014] a memory arranged to store computer-executable instructions, which when executed cause the processor to perform the steps of any of the above methods.
[0015] According to one aspect of the present application, there is provided a computer-readable storage medium having stored thereon computer programs / instructions, characterized in that when the computer programs / instructions are executed, the system is caused to perform the steps of any of the above methods.
[0016] According to one aspect of the present application, there is provided a computer program product including computer programs / instructions, characterized in that when the computer programs / instructions are executed by a processor, the steps of any of the above methods are implemented.
[0017] Compared with the prior art, the present application provides a specific method for determining waveform similarity by obtaining two pulse waveform diagrams of two pulse waves to be compared, respectively determining corresponding average period waveforms according to the two pulse waveform diagrams to obtain two average period waveform diagrams, and determining the waveform similarity corresponding to the two pulse waves according to the two average period waveform diagrams. This provides a judgment benchmark for the performance test of device products and improves the user experience. Brief Description of the Drawings
[0018] Other features, objects, and advantages of the present application will become more apparent by reading the detailed description of the non-limiting embodiments with reference to the following drawings:
[0019] Figure 1 A method flowchart for obtaining the stability of a pulse sensing device according to an embodiment of the present application is shown;
[0020] Figure 2 An example diagram of a preprocessed pulse waveform diagram according to an embodiment of the present application is shown;
[0021] Figure 3 An example diagram of the period division of a pulse waveform diagram according to an embodiment of the present application is shown;
[0022] Figure 4 An example diagram of a single-period waveform diagram according to an embodiment of the present application is shown;
[0023] Figure 5 An example diagram of a single-period waveform diagram after cubic spline curve interpolation according to an embodiment of the present application is shown;
[0024] Figure 6 An example diagram showing a translated average periodic waveform diagram according to an embodiment of the present application;
[0025] Figure 7 An example diagram showing waveform similarity according to an embodiment of the present application;
[0026] Figure 8 An example diagram showing waveform similarity according to another embodiment of the present application
[0027] Figure 9 A device structure diagram of a computer device according to an embodiment of the present application;
[0028] Figure 10 An exemplary system that can be used to implement the various embodiments described in the present application.
[0029] Like reference numerals in the drawings represent like or similar components. Detailed Description of the Invention
[0030] The present application will be further described in detail below with reference to the accompanying drawings.
[0031] In a typical configuration of the present application, the terminal, the devices of the service network, and the trusted party each include one or more processors (e.g., a central processing unit (CPU)), an input / output interface, a network interface, and a memory.
[0032] The memory may include non-permanent memory in a computer-readable medium, random access memory (RAM), and / or non-volatile memory in the form of, for example, read only memory (ROM) or flash memory. The memory is an example of a computer-readable medium.
[0033] Computer-readable media includes both permanent and non-permanent, removable and non-removable media implemented by any method or technology for information storage. The information can be computer-readable instructions, data structures, program modules, or other data. Examples of computer storage media include, but are not limited to, Phase-Change Memory (PCM), Programmable Random Access Memory (PRAM), Static Random-Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read-Only Memory (ROM), Electrically-Erasable Programmable Read-Only Memory (EEPROM), flash memory or other memory technologies, Compact Disc Read-Only Memory (CD-ROM), Digital Versatile Disc (DVD) or other optical storage, magnetic cassettes, magnetic tape disk storage or other magnetic storage devices, or any other non-transmission media that can be used to store information accessible by a computing device.
[0034] The devices referred to in this application include, but are not limited to, user devices, network devices, or devices formed by integrating user devices and network devices through a network. The user devices include, but are not limited to, any mobile electronic product that can perform human-computer interaction with users (such as human-computer interaction through a touchpad), such as smartphones, tablets, etc. The mobile electronic products can adopt any operating system, such as the Android operating system, the iOS operating system, etc. Among them, the network devices include an electronic device that can automatically perform numerical calculations and information processing according to pre-set or stored instructions. Its hardware includes, but is not limited to, a microprocessor, an Application Specific Integrated Circuit (ASIC), a Programmable Logic Device (PLD), a Field Programmable Gate Array (FPGA), a Digital Signal Processor (DSP), an embedded device, etc. The network devices include, but are not limited to, computers, network hosts, a single network server, a set of multiple network servers, or a cloud composed of multiple servers; here, the cloud is composed of a large number of computers or network servers based on Cloud Computing. Among them, Cloud Computing is a type of distributed computing and consists of a virtual supercomputer formed by a group of loosely coupled computer sets. The network includes, but is not limited to, the Internet, a wide area network, a metropolitan area network, a local area network, a VPN network, a wireless ad hoc network (Ad Hoc network), etc. Preferably, the device can also be a program running on the user device, the network device, or a device formed by integrating the user device and the network device, the network device, the touch terminal, or the network device and the touch terminal through a network.
[0035] Of course, those skilled in the art should understand that the above devices are only examples. Other existing or future devices that may be applicable to this application should also be included within the protection scope of this application and are hereby incorporated by reference.
[0036] In the description of this application, "a plurality of" means two or more, unless otherwise specifically defined.
[0037] Figure 1A method for obtaining the stability of a pulse sensing device according to an aspect of the present application is shown. In this method, which is applied to a computer device, it includes step S101, step S102, and step S103. In step S101, two pulse waveform diagrams of two pulse waves to be compared are obtained; in step S102, corresponding average period waveforms are respectively determined according to the two pulse waveform diagrams to obtain two average period waveform diagrams; in step S103, the waveform similarity corresponding to the two pulse waves is determined according to the two average period waveform diagrams. Here, the computer device includes but is not limited to user equipment, network equipment, or an integrated device of user equipment and network equipment, etc. Among them, user equipment includes but is not limited to any mobile electronic product that can perform human-computer interaction with the user (such as through a touchpad for human-computer interaction), such as a smart phone, a tablet computer, a pulse meter, etc.; network equipment includes but is not limited to a computer, a network host, a single network server, a set of multiple network servers, or a cloud composed of multiple servers.
[0038] Specifically, in step S101, two pulse waveform diagrams of two pulse waves to be compared are obtained. For example, the computer device can obtain the data signal measured by a pulse measurement device. The pulse measurement device includes but is not limited to a piezoresistive pressure sensing device. The piezoresistive pressure sensing device is composed by utilizing the piezoresistive effect of single crystal silicon. It uses a single crystal silicon wafer as an elastic element. By using the integrated circuit process on the single crystal silicon diaphragm, a group of equivalent resistors are diffused in a specific direction of the single crystal silicon, and the resistors are connected into a bridge circuit. The single crystal silicon wafer is placed in the sensing device cavity. When the pressure changes, the single crystal silicon generates strain, causing the strain resistors directly diffused on it to change in proportion to the measured pressure, and then a corresponding voltage output signal is obtained by the bridge circuit. The piezoresistive pressure sensing device is placed at the user's pulse to collect the analog signal about the user's pulse. The computer device can receive the corresponding analog signal through the piezoresistive pressure sensing device or the communication connection with the piezoresistive pressure sensing device. Also, for example, the corresponding analog signal is stored on other devices, and the computer device receives the analog signal transmitted by the other device or the pulse waveform diagram corresponding to the analog signal through the communication connection with the other device. In some cases, in order to ensure the effective pulse period of the voltage output signal, the signal output duration of the analog signal is greater than or equal to a predetermined signal output duration, such as 2 seconds or 2.5 seconds, etc. Further, the analog signal includes the voltage output signal about the user's pulse collected in real time. The corresponding enhancement parameter is determined through the initially collected analog signal, so as to adjust the signal conditioning device through the enhancement parameter, thereby enhancing the subsequently collected analog signal and outputting the pulse waveform diagram corresponding to the digital signal.
[0039] For example, a computer device can first obtain the corresponding analog signal, process the analog signal, and convert the pulse wave of the electrical signal into a pulse waveform diagram in digital signal, etc. Or, the computer device can directly obtain the pulse waveform diagram stored in other devices, etc. Among them, the sources of the pulse waveform diagrams of the two pulse waves can be unrestricted. Or, in some cases, collecting the pulse waves of the same user based on the same external conditions and obtaining the corresponding waveform similarity can assist in judging the stability of the same pulse sensing device or testing whether the pulse sensing device to be tested is qualified, etc.
[0040] In some embodiments, in step S101, two candidate pulse waveform diagrams of two pulse waves to be compared are obtained; the two candidate pulse waveform diagrams are preprocessed to obtain the corresponding two pulse waveform diagrams. For example, when the computer device obtains the unprocessed candidate pulse waveform diagrams, it is necessary to first perform certain preprocessing on the candidate pulse waveform diagrams to obtain two relatively stable pulse waveform diagrams for processing, so as to prevent calculation errors caused by power frequency interference, baseline drift, etc. Among them, the preprocessing includes but is not limited to filtering. Among them, power frequency interference refers to a kind of interference caused by the power system. For example, the frequency is generally 50Hz or 60Hz, depending on the AC power frequency in different countries or regions, and it is mainly manifested as the superposition of a sine wave or other signals and the sine wave when measuring the signal. Baseline drift refers to the deviation of the detector baseline in a single direction as time increases, etc. The corresponding filtering is performed by a filtering unit. The filtering unit includes devices for filtering and noise reduction of analog information, such as a low-pass filtering device, etc. The rule is that low-frequency signals can pass through normally, while high-frequency signals exceeding the set critical value are blocked and weakened. The low-pass filter is designed as a second-order low-pass filter, and the -3dB cut-off frequency is set in the range of 200Hz - 300Hz. This low-pass filter is to improve the signal quality of the analog signal. Figure 2 An example of the pulse waveform diagram after preprocessing is shown.
[0041] In some cases, the preprocessing can also include signal conditioning of the waveform diagram, which is processed by a corresponding signal conditioning device. The signal conditioning device is used to protect, enhance, etc. the analog information output by the sensing device, and enhance the analog signal with a small amplitude into a qualified analog signal or digital output signal with a moderate amplitude, good quality, and small distortion. In some cases, the signal conditioning device can also filter and reduce noise of the analog signal, etc. The corresponding target enhancement parameter includes the parameter for enhancing the analog signal in the signal conditioning device, and this parameter is used to indicate the magnification for enhancing the analog signal, etc. By comparing the analog signal with a preset signal amplitude or voltage difference, etc., the magnification of the analog signal relative to the preset signal amplitude or voltage difference can be determined, and this magnification is determined as the corresponding target enhancement parameter, etc.
[0042] In step S102, corresponding average period waveforms are respectively determined according to the two pulse waveform diagrams to obtain two average period waveform diagrams. For example, after the computer device obtains the corresponding pulse waveform diagrams, it can first determine the corresponding average period waveforms, and then determine the similarity of the two pulse waves according to the average period waveforms. Specifically, the computer device can perform curve fitting on the waveforms of each period in the pulse waveform diagrams, and determine the curve result of the corresponding average period waveform according to multiple curve fitting results, such as calculating the standard deviation and determining the average period waveform based on the standard deviation. Also, for example, the computer device can obtain the single-period waveform diagrams of each period corresponding to the two pulse waveform diagrams, and then perform data averaging based on the multiple single-period waveform diagrams to determine the corresponding average period waveforms.
[0043] In some embodiments, step S102 includes sub-step S1021 (not shown) and sub-step S1022 (not shown). In step S1021, the two pulse waveform diagrams are divided into periods to determine multiple single-period waveform diagrams of the two pulse waveform diagrams; in step S1022, corresponding average period waveforms are determined according to the multiple single-period waveform diagrams of the two pulse waveform diagrams to obtain two average period waveform diagrams. For example, as Figure 3 shown in the period division example, the point data from before the current transition of the pulse wave to the point data before the next transition is divided into a single period of the pulse waveform diagram. Of course, the computer device can also take any other custom period (for example, taking the point data after the previous jump in the pulse wave to the end of the current jump, etc.) as the period division of the pulse wave, which is not limited here. After the computer device determines the multiple single-period waveform diagrams corresponding to the two pulse waveform diagrams, it can determine the average period waveforms of the two pulse waves according to the multiple single-period waveform diagrams. For example, when the number of points in the multiple single-period waveform diagrams of the same pulse waveform diagram is the same, the average data of each point can be solved based on the different period data of the points at the same position, so as to determine the average data of each point and obtain the corresponding average period waveform. Also, for example, when the number of points in the multiple single-period waveform diagrams of the same pulse waveform diagram is different, based on the single-period waveform with relatively average point data, the redundant point data of the single-period waveform with more point data can be removed, and a part of the fitted point data can be added to the single-period waveform with fewer point data, etc., so as to ensure that the number of point data in each single-period waveform diagram is the same, and then the average data of each point can be solved based on the different period data of the points at the same position, so as to determine the average data of each point and obtain the corresponding average period waveform, etc.
[0044] In some embodiments, the method further includes step S104 (not shown). In step S104 (or step d), a single-cycle waveform diagram is normalized to determine a normalized cycle waveform diagram with the same cycle length. Among them, in step S1022, each single-cycle waveform diagram among the multiple single-cycle waveform diagrams of the two pulse waveform diagrams is executed with the above step S104 / step d to determine multiple normalized cycle waveform diagrams of the two pulse waveform diagrams. The multiple normalized cycle waveform diagrams of the two pulse waveform diagrams are averaged to determine the corresponding average cycle waveform, so as to obtain two average cycle waveform diagrams. For example, for the processing of different numbers of points in a single-cycle waveform diagram, since discarding or adding point data may cause waveform errors, we obtain a normalized cycle waveform diagram with the same cycle length through normalization processing. Among them, the cycle length can be the number of point data within a preset cycle, or determined according to the average amount of the number of points in multiple single-cycle waveform diagrams, etc. The computer device performs normalization processing on each single-cycle waveform of the multiple single-cycle waveforms in the two pulse waveform diagrams, so as to determine multiple normalized cycle waveform diagrams of the two pulse waveform diagrams. Among them, the cycle lengths of each normalized cycle waveform diagram in the same pulse waveform diagram are the same, and the cycle lengths of the normalized cycle waveform diagrams from the two pulse waveform diagrams are also the same. In other words, the cycle lengths of all the normalized cycle waveform diagrams among the multiple normalized cycle waveform diagrams of the two determined pulse waveform diagrams are the same, etc.
[0045] In some cases, normalization is to limit the point data of a single-period waveform diagram to be processed within a certain range you need after processing (through a certain algorithm). First, normalization is for the convenience of subsequent data processing, and second, it is to ensure faster convergence during program operation. The specific role of normalization is to summarize and unify the statistical distribution of samples. Normalization between 0 and 1 is a statistical probability distribution, and normalization within a certain interval is a statistical coordinate distribution, which is not limited here. The point data in a single-period waveform diagram includes the horizontal axis coordinates and corresponding vertical axis coordinates of the points. Here, we need to make the number of points the same, that is, perform normalization processing. Then we need to first fit and expand the number of points according to the point data, and then ensure that the period lengths of each single-period waveform are the same through normalization processing. For example, in some embodiments, in step S104, curve interpolation is performed on a single-period waveform diagram to obtain a corresponding interpolated single-period waveform; the interpolated single-period waveform is normalized to determine a normalized period waveform diagram with the same period length. For example, a computer device performs curve interpolation on a single-period waveform diagram to obtain an interpolated single-period waveform with an expanded number of corresponding points, and then normalizes the number of points on the horizontal axis according to the interpolated single-period waveform to determine a normalized period waveform diagram with the same period length. Among them, curve interpolation includes but is not limited to spline interpolation method, parabolic interpolation, etc. Among them, an interpolation spline is composed of some polynomials, and each polynomial is determined by two adjacent data points. In this way, any two adjacent polynomials and their derivatives are continuous at the connection points. The normalization of the spline curve is to take points from the spline curve at a certain point interval, so as to ensure that the number of points of the finally obtained normalized period waveform conforms to the corresponding period length.
[0046] In some embodiments, the curve interpolation includes cubic spline curve interpolation. In some embodiments, the point interval for the normalization processing corresponds to the number of points of the single-period waveform diagram.
[0047] For example, as Figure 4 、 Figure 5 shown in the example, the waveform diagrams before and after cubic spline interpolation are respectively identified. Among them, there are 12 point data before interpolation and 1101 point data are taken after interpolation, etc. Specifically, a computer device interpolates each period waveform diagram with a cubic spline curve, inserts a point every 0.01 on the horizontal axis, and the number of points is expanded nearly 100 times; then each period is normalized, and uniformly reduced to 1001 points. A value is taken at a certain fixed point interval value, and the fixed point interval is related to the number of points of the period waveform diagram, such as determined by the corresponding number of points, expansion multiple, and period length, etc.
[0048] For example, for a single-cycle waveform diagram with two different cycle lengths, where the first cycle has 146 points, first perform interpolation (expand the number of points from 146 to 14501), then take a point every 14.5 points. When taking points, round down. The first point is at 1, the second point is at 16, the third point is at 30, the fourth point is at 45, the fifth point is at 59, and the 1001st point is at 14501. Similarly, for the second cycle waveform diagram with 151 points, first perform interpolation (151 -> 15001), take a point every 15.0 points, and round down when taking points. The first point is at 1, the second point is at 16, the third point is at 31, the fourth point is at 46, the fifth point is at 61, and the 1001st point is at 15001. Thus, two normalized cycle waveform diagrams with a cycle length of 1001 are obtained, etc.
[0049] In some embodiments, the averaging of the multiple normalized cycle waveform diagrams of the two pulse waveform diagrams to determine the corresponding average cycle waveform to obtain two average cycle waveform diagrams includes: averaging the multiple normalized cycle waveform diagrams of the two pulse waveform diagrams to determine the corresponding candidate average cycle waveform; translating the lowest point of the candidate average cycle waveform to a preset value to obtain two average cycle waveform diagrams. For example, for multiple normalized cycle waveform diagrams of the same pulse wave, we can, based on the horizontal axis coordinates, average the vertical axis coordinates of each same horizontal axis coordinate to determine the average vertical axis coordinate corresponding to each horizontal axis coordinate, thereby determining the candidate average cycle waveform with the same cycle length as the normalized cycle waveform diagram. In addition, the computer device can also perform certain adjustments on the candidate average cycle waveform to make subsequent calculations more convenient and faster, saving computing resources. For example, based on the vertical axis coordinates of the candidate waveform diagram, the computer can translate the lowest point of the candidate cycle waveform diagram to a preset value (for example, the target horizontal axis coordinate preset by the user, or 0, etc.), thereby determining the translated waveform diagram as the average cycle waveform diagram, etc. As Figure 6 shown, its average cycle waveform diagram is the waveform diagram formed by translating the lowest point of the candidate average cycle waveform diagram to 0, etc.
[0050] In step S103, the waveform similarity corresponding to the two pulse waves is determined according to the two average period waveform diagrams. For example, after the computer device determines the point data of the two average period waveform diagrams, it can determine the corresponding waveform similarity according to the corresponding point data. For example, based on the points with the same abscissa for each, the difference in the ordinates of the two average period waveform diagrams is solved, and the corresponding variance, standard deviation, etc. are determined based on this difference, and the waveform similarity of the two pulse waves is determined based on the variance, standard deviation, etc. Also, for example, the computer device first performs a normalization process on the two average period waveform diagrams, and then solves the corresponding waveform similarity according to the standard period waveform data. As in some embodiments, step S103 includes sub-step S1031 (not shown) and sub-step S1032 (not shown). In step S1031, the point data of the two average period waveform diagrams is normalized to determine the corresponding two standard period waveform data; in step S1032, the waveform similarity corresponding to the two pulse waves is determined according to the two standard period waveform data. For example, for the normalization process, for the point data in each average period waveform diagram, it is performed in the following way. For example, data_mean = mean(data), data_std = std(data), data_s = (data - data_mean) / data_std, etc., where mean is to calculate the mean of the data, std is to calculate the standard deviation of the data, and data_s is used to indicate the standardized standard period waveform data. After the computer obtains the corresponding standard period waveform data, it solves the corresponding parameters based on the two standard period waveform data and determines the waveform similarity according to the parameters. As in some embodiments, in step S1032, the corresponding amplitude difference information and Fréchet distance information are determined according to the two standard period waveform data; the waveform similarity corresponding to the two pulse waves is determined according to the amplitude information and the Fréchet distance information. For example, the amplitude information is used to indicate the difference between the maximum value and the minimum value that the physical quantity of the waveform diagram can reach. This amplitude information is used to indicate the difference between the maximum value and the minimum value of the amplitudes of the two standard period waveform data. For example, F = max(data_s_1, data_s_2) – min(data_s_1, data_s_2), where F represents the amplitude information of the two standardized period waveform data. The Fréchet distance is used to indicate the distance information between the two standard period waveform data in the Fréchet space, where the Fréchet space is a sequence space. For example, let X be a topological space. If for every subset A of X and x ∈ A, there exists a sequence {xn} in A such that {xn} converges to x, then X is called a Fréchet space.Among them, the Fréchet distance is determined by the following process: D = frdist(data_s_1, data_s_2), where frdist represents calculating the Fréchet distance, and D is used to indicate the Fréchet distance between two standard periodic waveform data. After the computer device determines the amplitude information and the Fréchet distance information, it can calculate the corresponding waveform similarity based on the amplitude information and the Fréchet distance information, such as S = 1 – D / F; where S is used to identify the corresponding waveform similarity. For example. Figure 7 , Figure 8 An example diagram showing the similarity comparison of two standardized waveform data.
[0051] In some embodiments, the two pulse waves include the pulse waves of the same user collected by a certain pulse sensing device; among them, the method further includes step S105 (not shown), in step S105, the stability information of the certain pulse sensing device is determined according to the waveform similarity. For example, if the corresponding external conditions are the same when the two pulse waves are collected, and the two pulse waves are collected by the same pulse sensing device from the same user, the computer device can evaluate the stability information of the pulse sensing device based on the similarity of the two pulse waves. The higher the waveform similarity, the better the stability of the pulse sensing device; the lower the waveform similarity, the worse the stability of the pulse sensing device. The corresponding stability information is used to indicate the stability degree when the pulse sensing device collects the pulse wave signal, and is proportional to the corresponding waveform similarity. In some cases, if the corresponding stability information is less than or equal to the stability threshold, the computer device can send a device prompt information about the pulse sensing device to the user, which is used to remind the user that the stability of the pulse sensing device is poor and needs to be replaced or repaired, etc.
[0052] In some embodiments, the two pulse waves include the pulse wave of the target user collected by the pulse sensing device to be tested and the pulse wave of the target user collected by the standard pulse sensing device. Wherein, the method further includes step S106 (not shown). In step S106, if the waveform similarity is greater than or equal to a preset similarity threshold, it is determined that the pulse sensing device to be tested is qualified; if the waveform similarity is less than the preset similarity threshold, it is determined that the pulse sensing device to be tested is unqualified. For example, we can also set a pulse device with stronger stability (for example, the corresponding waveform similarity is greater than or equal to a certain threshold, such as 98%, etc.) as the standard pulse sensing device to compare with the pulse sensing device to be tested and determine whether the acquisition performance of the pulse sensing device to be tested is qualified. For example, by collecting the pulse waves of the same target user through the standard pulse sensing device and the pulse sensing device to be tested, and using these two pulse waves as inputs, and determining the waveform similarity of these two pulse waves through the foregoing method. If the similarity is greater than or equal to the preset similarity threshold, it is determined that the pulse sensing device to be tested is qualified. For example, Figure 7 as shown by the two pulse waves with a waveform similarity of 0.96, which is greater than or equal to the preset similarity threshold of 0.80, etc., the corresponding pulse sensing device to be tested is qualified; if the waveform similarity is less than the preset similarity threshold, it is determined that the pulse sensing device to be tested is unqualified. For example, Figure 8 as shown by the two pulse waves with a waveform similarity of 0.79, which is less than the preset similarity threshold of 0.80, etc., the corresponding pulse sensing device to be tested is unqualified. By evaluating the performance of unmanufactured devices through waveform similarity and assisting in judging the acquisition function of the devices, the detection efficiency in the product production process is improved.
[0053] Figure 9 FIG. shows a computer device for obtaining the stability of a pulse sensing device according to an aspect of the present application, including a module 101, a module 102, and a module 103. The module 101 is configured to obtain two pulse waveform diagrams of two pulse waves to be compared; the module 102 is configured to respectively determine corresponding average period waveforms according to the two pulse waveform diagrams to obtain two average period waveform diagrams; the module 103 is configured to determine the waveform similarity corresponding to the two pulse waves according to the two average period waveform diagrams.
[0054] In some embodiments, the module 101 is configured to obtain two candidate pulse waveform diagrams of two pulse waves to be compared; perform preprocessing on the two candidate pulse waveform diagrams to obtain corresponding two pulse waveform diagrams.
[0055] In some embodiments, the first and second module 102 includes a first and second unit (not shown) and a first and second two unit (not shown). The first and second unit is configured to divide the two pulse waveform diagrams into periods to determine a plurality of single-period waveform diagrams of the two pulse waveform diagrams. The first and second two unit is configured to determine corresponding average period waveforms according to the plurality of single-period waveform diagrams of the two pulse waveform diagrams, so as to obtain two average period waveform diagrams.
[0056] Herein, the Figure 9 specific embodiments corresponding to the shown first module 101, the first and second module 102, and the first and third module 103 are the same as or similar to the Figure 1 embodiments of the shown step S101, step S102, and step S103, and thus will not be described in detail again and are included herein by reference.
[0057] In some embodiments, the device further includes a first and fourth module (not shown), which is configured to (or in module d) perform normalization processing on a single-period waveform diagram to determine a normalized period waveform diagram with the same period length. Among them, the first and second two unit is configured to execute the above-mentioned first and fourth module / module d for each single-period waveform diagram among the plurality of single-period waveform diagrams of the two pulse waveform diagrams to determine a plurality of normalized period waveform diagrams of the two pulse waveform diagrams. Average the plurality of normalized period waveform diagrams of the two pulse waveform diagrams to determine corresponding average period waveforms, so as to obtain two average period waveform diagrams.
[0058] In some embodiments, the first and fourth module is configured to perform curve interpolation on a single-period waveform diagram to obtain a corresponding interpolated single-period waveform. Perform normalization processing on the interpolated single-period waveform to determine a normalized period waveform diagram with the same period length. In some embodiments, the curve interpolation includes cubic spline curve interpolation. In some embodiments, the sampling interval of the normalization processing corresponds to the number of points of the single-period waveform diagram.
[0059] In some embodiments, the averaging of the plurality of normalized period waveform diagrams of the two pulse waveform diagrams to determine corresponding average period waveforms to obtain two average period waveform diagrams includes: averaging the plurality of normalized period waveform diagrams of the two pulse waveform diagrams to determine corresponding candidate average period waveforms; translating the lowest point of the candidate average period waveform to a preset value to obtain two average period waveform diagrams.
[0060] In some embodiments, a 1-3 module 103 includes a 1-3-1 unit (not shown) and a 1-3-2 unit (not shown). The 1-3-1 unit is configured to perform normalization processing on the point data of the two average period waveform diagrams to determine corresponding two standard period waveform data; the 1-3-2 unit is configured to determine the waveform similarity corresponding to the two pulse waves according to the two standard period waveform data. In some embodiments, the 1-3-2 unit is configured to determine corresponding amplitude difference information and Fréchet distance information according to the two standard period waveform data; and determine the waveform similarity corresponding to the two pulse waves according to the amplitude information and the Fréchet distance information.
[0061] In some embodiments, the two pulse waves include pulse waves of the same user collected by a certain pulse sensing device; wherein, the device further includes a 1-5 module (not shown) configured to determine the stability information of the certain pulse sensing device according to the waveform similarity.
[0062] In some embodiments, the two pulse waves include pulse waves of a target user collected by a to-be-tested pulse sensing device and pulse waves of the target user collected by a standard pulse sensing device; wherein, the device further includes a 1-6 module (not shown) configured to determine that the to-be-tested pulse sensing device passes the test if the waveform similarity is greater than or equal to a preset similarity threshold; and determine that the to-be-tested pulse sensing device fails the test if the waveform similarity is less than the preset similarity threshold.
[0063] Herein, the specific embodiments corresponding to the 1-4 module to the 1-6 module are the same as or similar to the embodiments of the foregoing steps S104 to S106, and thus will not be described in detail again and are incorporated herein by reference.
[0064] In addition to the methods and devices introduced in the above embodiments, the present application further provides a computer-readable storage medium storing computer code, and when the computer code is executed, the method as described in any preceding item is executed.
[0065] The present application further provides a computer program product, and when the computer program product is executed by a computer device, the method as described in any preceding item is executed.
[0066] The present application further provides a computer device, which includes:
[0067] One or more processors;
[0068] A memory for storing one or more computer programs;
[0069] When the one or more computer programs are executed by the one or more processors, the one or more processors are caused to implement the method as described in any preceding item.
[0070] Figure 10 illustrates an exemplary system that can be used to implement the various embodiments described in the present application;
[0071] such as Figure 10 shown in some embodiments, the system 300 can serve as any one of the above devices in each of the embodiments. In some embodiments, the system 300 may include one or more computer-readable media having instructions (e.g., system memory or NVM / storage device 320) and one or more processors (e.g., (one or more) processors 305) coupled to the one or more computer-readable media and configured to execute the instructions to implement modules to perform the actions described in the present application.
[0072] For one embodiment, the system control module 310 may include any suitable interface controller to provide any suitable interface to at least one of the (one or more) processors 305 and / or any suitable device or component communicating with the system control module 310.
[0073] The system control module 310 may include a memory controller module 330 to provide an interface to the system memory 315. The memory controller module 330 can be a hardware module, a software module, and / or a firmware module.
[0074] The system memory 315 can be used, for example, to load and store data and / or instructions for the system 300. For one embodiment, the system memory 315 may include any suitable volatile memory, e.g., suitable DRAM. In some embodiments, the system memory 315 may include double data rate type four synchronous dynamic random access memory (DDR4 SDRAM).
[0075] For one embodiment, the system control module 310 may include one or more input / output (I / O) controllers to provide an interface to the NVM / storage device 320 and the (one or more) communication interfaces 325.
[0076] For example, the NVM / storage device 320 can be used to store data and / or instructions. The NVM / storage device 320 may include any suitable non-volatile memory (e.g., flash memory) and / or may include any suitable (one or more) non-volatile storage devices (e.g., one or more hard disk drives (HDDs), one or more optical discs (CD) drives, and / or one or more digital versatile discs (DVD) drives).
[0077] The NVM / storage device 320 may include storage resources that are physically part of the device on which the system 300 is installed, or it may be accessible to the device without being part of the device. For example, the NVM / storage device 320 may be accessed via a network through the (one or more) communication interfaces 325.
[0078] (One or more) communication interfaces 325 may provide an interface for the system 300 to communicate through one or more networks and / or with any other suitable device. The system 300 may wirelessly communicate with one or more components of a wireless network according to any of one or more wireless network standards and / or protocols.
[0079] For one embodiment, at least one of the (one or more) processors 305 may be logically encapsulated with one or more controllers of the system control module 310 (e.g., the memory controller module 330). For one embodiment, at least one of the (one or more) processors 305 may be logically encapsulated with one or more controllers of the system control module 310 to form a system-in-package (SiP). For one embodiment, at least one of the (one or more) processors 305 may be logically integrated with one or more controllers of the system control module 310 on the same die. For one embodiment, at least one of the (one or more) processors 305 may be logically integrated with one or more controllers of the system control module 310 on the same die to form a system-on-chip (SoC).
[0080] In various embodiments, the system 300 may be, but is not limited to: a server, a workstation, a desktop computing device, or a mobile computing device (e.g., a laptop computing device, a handheld computing device, a tablet computer, a netbook, etc.). In various embodiments, the system 300 may have more or fewer components and / or a different architecture. For example, in some embodiments, the system 300 includes one or more cameras, a keyboard, a liquid crystal display (LCD) screen (including a touchscreen display), a non-volatile memory port, multiple antennas, a graphics chip, an application specific integrated circuit (ASIC), and speakers.
[0081] It should be noted that the present application can be implemented in software and / or a combination of software and hardware. For example, it can be implemented using an application specific integrated circuit (ASIC), a general purpose computer, or any other similar hardware device. In one embodiment, the software program of the present application can be executed by a processor to implement the steps or functions described above. Similarly, the software program of the present application (including related data structures) can be stored in a computer-readable recording medium, such as a RAM memory, a magnetic or optical drive, or a floppy disk and the like. In addition, some steps or functions of the present application can be implemented using hardware, for example, as a circuit that cooperates with the processor to execute each step or function.
[0082] In addition, a part of the present application can be applied as a computer program product, such as computer program instructions, which when executed by a computer, can call or provide the methods and / or technical solutions according to the present application through the operation of the computer. Those skilled in the art should understand that the forms of existence of computer program instructions in a computer-readable medium include, but are not limited to, source files, executable files, installation package files, etc. Correspondingly, the ways in which computer program instructions are executed by a computer include, but are not limited to: the computer directly executes the instruction, or the computer compiles the instruction and then executes the corresponding compiled program, or the computer reads and executes the instruction, or the computer reads and installs the instruction and then executes the corresponding installed program. Here, the computer-readable medium can be any available computer-readable storage medium or communication medium accessible to the computer.
[0083] The communication medium includes a medium through which a communication signal containing, for example, computer-readable instructions, data structures, program modules, or other data is transmitted from one system to another system. The communication medium can include a guided transmission medium (such as cables and wires (e.g., optical fibers, coaxial, etc.)) and a wireless (unguided transmission) medium that can propagate energy waves, such as sound, electromagnetic, RF, microwave, and infrared. The computer-readable instructions, data structures, program modules, or other data can be embodied as, for example, a modulated data signal in a wireless medium (such as a carrier wave or a similar mechanism embodied as part of spread spectrum technology). The term "modulated data signal" refers to a signal whose one or more characteristics are changed or set in a manner that encodes information in the signal. Modulation can be an analog, digital, or hybrid modulation technique.
[0084] By way of example and not limitation, a computer-readable storage medium may include volatile and non-volatile, removable and non-removable media implemented in any method or technology for storing information such as computer-readable instructions, data structures, program modules or other data. For example, computer-readable storage media includes, but is not limited to, volatile memory such as random access memory (RAM, DRAM, SRAM); and non-volatile memory such as flash memory, various read-only memories (ROM, PROM, EPROM, EEPROM), magnetic and ferromagnetic / ferroelectric memories (MRAM, FeRAM); and magnetic and optical storage devices (hard disks, tapes, CDs, DVDs); or other media now known or later developed that can store computer-readable information / data for use by a computer system.
[0085] Here, an embodiment according to the present application includes a device that includes a memory for storing computer program instructions and a processor for executing the program instructions, wherein when the computer program instructions are executed by the processor, the device is triggered to run based on the methods and / or technical solutions according to the foregoing multiple embodiments of the present application.
[0086] For those skilled in the art, it is obvious that the present application is not limited to the details of the above exemplary embodiments, and the present application can be implemented in other specific forms without departing from the spirit or basic characteristics of the present application. Therefore, from any point of view, the embodiments should be regarded as exemplary and non-limiting. The scope of the present application is defined by the appended claims rather than the above description. Therefore, all changes falling within the meaning and scope of the equivalent elements of the claims are intended to be included in the present application. Any reference signs in the claims should not be construed as limiting the claimed claim. In addition, it is obvious that the word "comprising" does not exclude other units or steps, and the singular does not exclude the plural. The multiple units or devices stated in the apparatus claims can also be implemented by one unit or device through software or hardware. First, second, etc. are used to denote names and do not denote any particular order.
Claims
1. A method for obtaining the stability of a pulse sensing device, wherein, The method includes: Obtaining two pulse waveform diagrams of two pulse waves to be compared, where the two pulse waves include the pulse waves of the same user collected by a certain pulse sensing device; Performing cycle division according to the two pulse waveform diagrams to determine a plurality of single-cycle waveform diagrams of the two pulse waveform diagrams; determining corresponding average cycle waveforms according to the plurality of single-cycle waveform diagrams of the two pulse waveform diagrams to obtain two average cycle waveform diagrams; Determining the waveform similarity corresponding to the two pulse waves according to the two average cycle waveform diagrams; Determining the stability information of the certain pulse sensing device according to the waveform similarity; Wherein, the method further includes: Performing normalization processing on a single-cycle waveform diagram to determine a normalized cycle waveform diagram with the same cycle length, where the normalization processing includes fitting and expanding the point data of the single-cycle waveform diagram, and then normalizing the expanded point data to determine a waveform diagram with the same cycle length; Wherein, the determining corresponding average cycle waveforms according to the plurality of single-cycle waveform diagrams of the two pulse waveform diagrams to obtain two average cycle waveform diagrams includes: Performing the above step d on each single-cycle waveform diagram among the plurality of single-cycle waveform diagrams of the two pulse waveform diagrams to determine a plurality of normalized cycle waveform diagrams of the two pulse waveform diagrams, where the cycle lengths of all the normalized cycle waveform diagrams among the plurality of normalized cycle waveform diagrams are the same; Performing averaging on the plurality of normalized cycle waveform diagrams of the two pulse waveform diagrams to determine corresponding average cycle waveforms to obtain two average cycle waveform diagrams.
2. The method according to claim 1, wherein The obtaining two pulse waveform diagrams of two pulse waves to be compared includes: Obtaining two candidate pulse waveform diagrams of two pulse waves to be compared; Performing preprocessing on the two candidate pulse waveform diagrams to obtain corresponding two pulse waveform diagrams.
3. The method according to claim 1, wherein, The performing normalization processing on a single-cycle waveform diagram to determine a normalized cycle waveform diagram with the same cycle length includes: Performing curve interpolation on a single-cycle waveform diagram to obtain a corresponding interpolated single-cycle waveform; Performing normalization processing on the interpolated single-cycle waveform to determine a normalized cycle waveform diagram with the same cycle length.
4. The method according to claim 3, wherein, The curve interpolation includes cubic spline curve interpolation.
5. The method according to claim 3 or 4, wherein The point-taking interval of the normalization processing corresponds to the number of points of the single-cycle waveform diagram.
6. The method according to claim 1, wherein, The performing averaging on the plurality of normalized cycle waveform diagrams of the two pulse waveform diagrams to determine corresponding average cycle waveforms to obtain two average cycle waveform diagrams includes: Performing averaging on the plurality of normalized cycle waveform diagrams of the two pulse waveform diagrams to determine corresponding candidate average cycle waveforms; Translating the lowest point of the candidate average cycle waveform to a preset value to obtain two average cycle waveform diagrams.
7. The method according to claim 1, wherein The determining the waveform similarity corresponding to the two pulse waves according to the two average cycle waveform diagrams includes: Performing standardization processing on the point data of the two average cycle waveform diagrams to determine corresponding two standard cycle waveform data; Determining the waveform similarity corresponding to the two pulse waves according to the two standard cycle waveform data.
8. The method according to claim 7, wherein Determining the waveform similarity corresponding to the two pulse waves according to the two pieces of standard periodic waveform data includes: Determining the corresponding amplitude information and Fréchet distance information according to the two pieces of standard periodic waveform data; Determining the waveform similarity corresponding to the two pulse waves according to the amplitude information and the Fréchet distance information.
9. The method according to claim 1, wherein The two pulse waves include the pulse wave of the target user collected by the pulse sensing device to be tested and the pulse wave of the target user collected by the standard pulse sensing device; wherein, the method further includes: If the waveform similarity is greater than or equal to a preset similarity threshold, it is determined that the pulse sensing device to be tested is qualified for testing; If the waveform similarity is less than the preset similarity threshold, it is determined that the pulse sensing device to be tested is unqualified for testing.
10. A computer device, wherein, The device includes: A processor; and A memory arranged to store computer-executable instructions, the executable instructions, when executed, causing the processor to perform the steps of the method according to any one of claims 1 to 9.
11. A computer-readable storage medium having computer programs / instructions stored thereon, characterized in that, The computer program / instructions, when executed, cause the system to perform the steps of the method according to any one of claims 1 to 9.
12. A computer program product, comprising a computer program / instructions, characterized in that, The computer program / instructions, when executed by the processor, implement the steps of the method according to any one of claims 1 to 9.
Citation Information
Patent Citations
Pulse wave-based biometric identification method and related device thereof
CN110123289A