Heart rate analysis method and device, equipment, storage medium and program product
By fitting the amplitude and frequency information of the ECG signal from a single-lead ECG device, a fitted pulse signal is generated to determine the heart rate information, thus solving the problem of low accuracy in heart rate analysis of single-lead ECG devices and achieving higher accuracy and applicability.
Patent Information
- Application Number
- CN202510829700.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-06-20
- Publication Date
- 2025-11-11
AI Technical Summary
The existing single-lead ECG equipment suffers from low accuracy in heart rate analysis.
By acquiring the ECG signal output from a single-lead ECG device, the initial high-frequency pulse signal is fitted using amplitude and frequency information to generate a fitted pulse signal, and the heart rate information is determined based on the error information.
It improves the accuracy and applicability of heart rate analysis, and can better adapt to the differences in physiological characteristics of different individuals.
Smart Images

Figure CN120918666A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of data processing technology, and in particular to a heart rate analysis method, apparatus, device, storage medium, and program product. Background Technology
[0002] In the field of modern medical device technology, single-lead ECG devices have broken through many limitations of traditional ECG testing equipment. Previously, patients needed to go to specialized medical institutions for ECG testing, where professionals would connect complex multi-lead testing equipment in a specific testing environment. This was not only time-consuming and labor-intensive but also placed high demands on the testing environment and personnel operation. Single-lead ECG devices, however, are different. They are compact, portable, and highly efficient. Patients can even collect ECG data themselves at home, in the office, or while traveling, greatly improving the convenience and timeliness of testing.
[0003] Currently, heart rate analysis using single-lead ECG equipment suffers from low accuracy. Summary of the Invention
[0004] Therefore, it is necessary to provide a heart rate analysis method, device, equipment, storage medium, and program product that can improve the accuracy of heart rate analysis in response to the above-mentioned technical problems.
[0005] In a first aspect, this application provides a heart rate analysis method applied to a single-lead electrocardiogram device, the method comprising:
[0006] Acquire the electrocardiogram (ECG) signal output by a single-lead ECG device after detecting the target object;
[0007] Based on the amplitude and frequency information corresponding to the electrocardiogram (ECG) signal, the initial high-frequency pulse signal generated by the single-lead ECG device is fitted to obtain the fitted pulse signal; the fitted pulse signal is used to simulate the ECG signal.
[0008] Error information is determined based on electrocardiogram signals and fitted pulse signals, and the heart rate information of the target object is determined based on the error information.
[0009] In some embodiments, the initial high-frequency pulse signal generated by the single-lead ECG device is fitted based on the amplitude and frequency information corresponding to the ECG signal to obtain a fitted pulse signal, including:
[0010] Fast Fourier analysis was performed on the electrocardiogram signal to obtain amplitude and frequency information;
[0011] An initial high-frequency pulse signal is generated, and the amplitude and frequency of the initial high-frequency pulse signal are adjusted according to the amplitude and frequency information to obtain a fitted pulse signal.
[0012] In some embodiments, the amplitude and frequency of the initial high-frequency pulse signal are adjusted according to the amplitude information and frequency information to obtain a fitted pulse signal, including:
[0013] The amplitude of the initial high-frequency pulse signal is adjusted to the amplitude corresponding to the amplitude information to obtain the intermediate pulse signal;
[0014] The frequency value of the intermediate pulse signal is adjusted to the frequency value corresponding to the frequency information to obtain the fitted pulse signal.
[0015] In some embodiments, error information is determined based on electrocardiogram signals and fitted pulse signals, and heart rate information of the target object is determined based on the error information, including:
[0016] The electrocardiogram signal and the fitted pulse signal are input into a preset error analysis model for error analysis to obtain error information;
[0017] The heart rate information of the target object is obtained by performing a difference operation between the frequency value of the fitted pulse signal and the error value corresponding to the error information.
[0018] In some embodiments, the method further includes:
[0019] The ECG signal output from a single-lead ECG device is analyzed to obtain the length and noise level of the ECG signal;
[0020] The ECG signal is denoised based on its length and noise level to obtain the denoised ECG signal.
[0021] Based on the amplitude and frequency information corresponding to the electrocardiogram (ECG) signal, the initial high-frequency pulse signal generated by the single-lead ECG device is fitted to obtain the fitted pulse signal, including:
[0022] Based on the amplitude and frequency information corresponding to the denoised ECG signal, the initial high-frequency pulse signal generated by the single-lead ECG device is fitted to obtain the fitted pulse signal.
[0023] In some embodiments, the electrocardiogram (ECG) signal is denoised based on its length and noise level to obtain a denoised ECG signal, including:
[0024] The number of grading layers is determined based on the length and noise level of the electrocardiogram signal;
[0025] The electrocardiogram signal is decomposed into first-level approximation coefficients and first detail coefficients.
[0026] The first approximation coefficient is decomposed into a second-level decomposition to obtain the second approximation coefficient and the second detail coefficient.
[0027] The first detail coefficient and the second detail coefficient are processed according to a preset threshold range to obtain the first target detail coefficient and the second target detail coefficient;
[0028] The second approximation coefficient, the first target detail coefficient, and the second target detail coefficient are used to reconstruct the signal and obtain the denoised electrocardiogram signal.
[0029] Secondly, this application also provides a heart rate analysis device, the device comprising:
[0030] The acquisition module is used to acquire the electrocardiogram (ECG) signal output by the single-lead ECG device after detecting the target object;
[0031] The fitting module is used to fit the initial high-frequency pulse signal generated by the single-lead ECG device based on the amplitude and frequency information corresponding to the ECG signal, and obtain the fitted pulse signal; the fitted pulse signal is used to simulate the ECG signal;
[0032] The determination module is used to determine error information based on the electrocardiogram signal and the fitted pulse signal, and to determine the heart rate information of the target object based on the error information.
[0033] Thirdly, this application also provides a computer device, which includes a memory and a processor. The memory stores a computer program, and the processor executes the computer program to perform the following steps:
[0034] Acquire the electrocardiogram (ECG) signal output by a single-lead ECG device after detecting the target object;
[0035] Based on the amplitude and frequency information corresponding to the electrocardiogram (ECG) signal, the initial high-frequency pulse signal generated by the single-lead ECG device is fitted to obtain the fitted pulse signal; the fitted pulse signal is used to simulate the ECG signal.
[0036] Error information is determined based on electrocardiogram signals and fitted pulse signals, and the heart rate information of the target object is determined based on the error information.
[0037] Fourthly, this application also provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, performs the following steps:
[0038] Acquire the electrocardiogram (ECG) signal output by a single-lead ECG device after detecting the target object;
[0039] Based on the amplitude and frequency information corresponding to the electrocardiogram (ECG) signal, the initial high-frequency pulse signal generated by the single-lead ECG device is fitted to obtain the fitted pulse signal; the fitted pulse signal is used to simulate the ECG signal.
[0040] Error information is determined based on electrocardiogram signals and fitted pulse signals, and the heart rate information of the target object is determined based on the error information.
[0041] Fifthly, this application also provides a computer program product, which includes a computer program that, when executed by a processor, performs the following steps:
[0042] Acquire the electrocardiogram (ECG) signal output by a single-lead ECG device after detecting the target object;
[0043] Based on the amplitude and frequency information corresponding to the electrocardiogram (ECG) signal, the initial high-frequency pulse signal generated by the single-lead ECG device is fitted to obtain the fitted pulse signal; the fitted pulse signal is used to simulate the ECG signal.
[0044] Error information is determined based on electrocardiogram signals and fitted pulse signals, and the heart rate information of the target object is determined based on the error information.
[0045] The aforementioned heart rate analysis method, device, equipment, storage medium, and program product involve acquiring the electrocardiogram (ECG) signal output by a single-lead ECG device after detecting a target object. Then, based on the amplitude and frequency information corresponding to the ECG signal, the initial high-frequency pulse signal generated by the single-lead ECG device is fitted to obtain a fitted pulse signal. Finally, error information is determined based on the ECG signal and the fitted pulse signal, and the heart rate information of the target object is determined based on this error information. In this method, since amplitude information reflects the intensity of cardiac electrical activity and frequency information reflects the rhythmic changes of cardiac electrical activity, combining both types of information to fit the initial high-frequency pulse signal allows for a more comprehensive and accurate simulation of the ECG signal, resulting in more precise heart rate information determined based on the error information. Furthermore, obtaining a fitted pulse signal simulating the ECG signal through fitting better adapts to the physiological differences among individuals, improving the accuracy and applicability of heart rate detection in different populations. Attached Figure Description
[0046] Figure 1 These are internal structural diagrams of the computer device in some embodiments;
[0047] Figure 2 This is one of the flowcharts illustrating the heart rate analysis method in some embodiments;
[0048] Figure 3 This is a second flowchart illustrating the heart rate analysis method in some embodiments;
[0049] Figure 4 This is the third flowchart illustrating the heart rate analysis method in some embodiments;
[0050] Figure 5This is the fourth flowchart illustrating the heart rate analysis method in some embodiments;
[0051] Figure 6 This is the fifth flowchart illustrating the heart rate analysis method in some embodiments;
[0052] Figure 7 This is the sixth flowchart illustrating the heart rate analysis method in some embodiments;
[0053] Figure 8 This is a structural block diagram of a heart rate analysis device in some embodiments. Detailed Implementation
[0054] In the embodiments of this application, the term "and / or" describes the relationship between associated objects, indicating that three relationships can exist. For example, A and / or B can represent three cases: A alone, A and B simultaneously, and B alone. The character " / " generally indicates that the preceding and following associated objects have an "or" relationship.
[0055] In the embodiments of this application, the term "multiple" refers to two or more, and other quantifiers are similar.
[0056] In the embodiments of this application, the term "at least one" means one or more. For example, at least one of A, B and C can represent six situations: A exists alone, B exists alone, C exists alone, A and B exist simultaneously, A and C exist simultaneously, B and C exist simultaneously, and A, B and C exist simultaneously.
[0057] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only a part of the embodiments of this application, and not all of the embodiments. Based on the embodiments of this application, all other embodiments obtained by those of ordinary skill in the art without creative effort are within the scope of protection of this application.
[0058] In the field of modern medical device technology, single-lead ECG devices have broken through many limitations of traditional ECG testing equipment. Previously, patients needed to go to specialized medical institutions for ECG testing, where professionals would connect complex multi-lead testing equipment in a specific testing environment. This was not only time-consuming and labor-intensive but also placed high demands on the testing environment and personnel operation. Single-lead ECG devices, on the other hand, are small, portable, and highly efficient. Patients can even collect ECG data themselves at home, in the office, or while traveling, greatly improving the convenience and timeliness of testing. Currently, however, the accuracy of heart rate analysis using single-lead ECG devices remains a concern.
[0059] In view of this, embodiments of this application propose a heart rate analysis method, apparatus, device, storage medium, and program product, which simulates an electrocardiogram (ECG) signal by fitting an initial high-frequency pulse signal generated by a single-lead ECG device, and then determines heart rate information based on the ECG signal and the fitted pulse signal, thereby improving the accuracy of heart rate analysis.
[0060] It should be noted that the beneficial effects or technical problems solved by the embodiments of this application are not limited to this one, but may also be other implicit or related problems. For details, please refer to the description of the embodiments below.
[0061] The technical solution of this application and how the technical solution of this application solves the above-mentioned technical problems are described in detail below with specific embodiments. These specific embodiments can be combined with each other, and the same or similar concepts or processes may not be described again in some embodiments. The embodiments of this application will now be described with reference to the accompanying drawings.
[0062] In some embodiments, the heart rate analysis method provided in this application can be applied to, for example... Figure 1 The internal structure diagram of the single-lead ECG device shown can be as follows: Figure 1 As shown, the single-lead ECG device includes a processor, memory, input / output interface, communication interface, display unit, and input device. The processor, memory, and input / output interface are connected via a system bus, and the communication interface, display unit, and input device are also connected to the system bus via the input / output interface. The processor provides computational and control capabilities. The memory includes a non-volatile storage medium and internal memory. The non-volatile storage medium stores the operating system and computer programs. The internal memory provides the environment for the operation of the operating system and computer programs in the non-volatile storage medium. The input / output interface is used for exchanging information between the processor and external devices. The communication interface is used for wired or wireless communication with external terminals; wireless communication can be achieved through Wi-Fi, mobile cellular networks, NFC (Near Field Communication), or other technologies. When the computer program is executed by the processor, it implements a heart rate analysis method. The display unit of the single-lead ECG device forms a visually visible image and can be a display screen, projection device, or virtual reality imaging device. The display screen can be an LCD screen or an e-ink screen. The input device of the single-lead ECG device can be a touch layer covering the display screen, or a button, trackball, or touchpad set on the casing of the single-lead ECG device, or an external keyboard, touchpad, or mouse, etc.
[0063] Those skilled in the art will understand that Figure 1The structure shown is merely a block diagram of a portion of the structure related to the present application and does not constitute a limitation on the single-lead ECG device to which the present application is applied. A specific single-lead ECG device may include more or fewer components than those shown in the figure, or combine certain components, or have different component arrangements.
[0064] In some embodiments, such as Figure 2 As shown, a heart rate analysis method is provided, which can be applied to... Figure 1 Taking a single-lead ECG device as an example, the explanation includes the following steps:
[0065] S201, acquire the electrocardiogram signal output by the single-lead electrocardiogram device after detecting the target object.
[0066] In this embodiment, the single-lead ECG device can acquire the ECG signal of the target object within a preset time period through its internal signal acquisition module. For example, the preset time period is 1 minute or 1 second, and the specific preset time period is determined according to actual needs; this embodiment is not limited to this. Optionally, after acquiring the ECG signal, the single-lead ECG device can amplify the weak ECG signal to obtain an amplified ECG signal. Optionally, the single-lead ECG device can also use a filter to perform noise reduction processing on the ECG signal or the amplified ECG signal to obtain a noise-reduced ECG signal.
[0067] S202, based on the amplitude and frequency information corresponding to the electrocardiogram signal, the initial high-frequency pulse signal generated by the single-lead electrocardiogram device is fitted to obtain the fitted pulse signal.
[0068] Among them, the fitted pulse signal is used to simulate the electrocardiogram signal.
[0069] In this embodiment, after obtaining the ECG signal based on the above steps, the single-lead ECG device can sample the ECG signal to obtain the amplitude of each sampling point, thus obtaining the amplitude information corresponding to the ECG signal, and perform frequency analysis on the ECG signal to obtain frequency information. After obtaining the frequency information, the single-lead ECG device can extract the frequency range and generate an initial high-frequency pulse signal higher than the frequency range. Then, a suitable fitting algorithm is selected to fit the initial high-frequency pulse signal generated by the single-lead ECG device to obtain a fitted pulse signal. Optionally, the single-lead ECG device can adjust the parameters of the initial high-frequency pulse signal (such as pulse amplitude, width, frequency, etc.) according to the amplitude and frequency information of the ECG signal to make the fitted pulse signal as close as possible to the ECG signal. During the fitting process, the error between the fitted pulse signal and the ECG signal is continuously calculated, and the parameters of the pulse signal are adjusted according to the error feedback until the error meets the preset conditions, thus obtaining the fitted pulse signal.
[0070] S203 determines error information based on electrocardiogram signals and fitted pulse signals, and determines the heart rate information of the target object based on the error information.
[0071] In this embodiment, the single-lead ECG device can calculate the difference between the ECG signal and the fitted pulse signal at each sampling point to obtain an error signal. Then, statistical analysis is performed on the error signal to obtain error information, such as the mean, variance, or mean square error corresponding to the error signal. This error information is then fed into a heart rate calculation function to obtain the heart rate information of the target object.
[0072] The heart rate analysis method provided in this application acquires the electrocardiogram (ECG) signal output by a single-lead ECG device after detecting a target object. Then, based on the amplitude and frequency information corresponding to the ECG signal, it fits the initial high-frequency pulse signal generated by the single-lead ECG device to obtain a fitted pulse signal. Finally, it determines error information based on the ECG signal and the fitted pulse signal, and then determines the heart rate information of the target object based on the error information. In this method, since amplitude information reflects the intensity of cardiac electrical activity and frequency information reflects the rhythmic changes of cardiac electrical activity, the method combines both types of information to fit the initial high-frequency pulse signal, which can more comprehensively and accurately simulate the ECG signal, thus making the heart rate information determined based on the error information more accurate. Moreover, obtaining the fitted pulse signal that simulates the ECG signal through fitting can better adapt to the differences in physiological characteristics of different individuals, improving the accuracy and applicability of heart rate detection in different populations.
[0073] In some embodiments, a specific implementation method is also provided for fitting the initial high-frequency pulse signal generated by a single-lead ECG device based on the amplitude and frequency information corresponding to the ECG signal, such as... Figure 3 As shown, the step S202 above, "fitting the initial high-frequency pulse signal generated by the single-lead ECG device according to the amplitude and frequency information corresponding to the ECG signal to obtain the fitted pulse signal," includes:
[0074] S301 performs Fast Fourier Analysis on the electrocardiogram signal to obtain amplitude and frequency information.
[0075] In this embodiment, after obtaining the ECG signal, the single-lead ECG device can acquire a Fast Fourier Transform (FFT) function. The ECG signal is input into the FFT function for FFT analysis, converting the time-domain ECG signal into a frequency-domain ECG signal, resulting in a series of complex numbers. The amplitude information of each frequency component is obtained by taking the modulus of these complex numbers. Furthermore, the actual frequency corresponding to each frequency component can be calculated based on the sampling frequency and the length of the complex numbers, thus obtaining the frequency information.
[0076] S302, generate an initial high-frequency pulse signal, and adjust the amplitude and frequency of the initial high-frequency pulse signal according to the amplitude and frequency information to obtain a fitted pulse signal.
[0077] In this embodiment, after obtaining the amplitude and frequency information corresponding to the ECG signal based on the above steps, the single-lead ECG device can extract the frequency range from the frequency information, generate an initial high-frequency pulse signal higher than the frequency range, and adjust the amplitude and frequency of the initial high-frequency pulse signal according to the amplitude and frequency information to obtain a fitted pulse signal. Specifically, the amplitude of the initial high-frequency pulse signal can be adjusted according to the amplitude information, and the frequency of the initial high-frequency pulse signal can be adjusted according to the frequency information to obtain the adjusted initial high-frequency pulse signal, i.e., the fitted pulse signal. Optionally, the frequency of the initial high-frequency pulse signal can be adjusted first according to the frequency information, and then the amplitude of the initial high-frequency pulse signal can be adjusted according to the amplitude information to obtain the adjusted initial high-frequency pulse signal, i.e., the fitted pulse signal.
[0078] Optional, such as Figure 4 As shown, S302 specifically includes:
[0079] S3021 adjusts the amplitude of the initial high-frequency pulse signal to the amplitude corresponding to the amplitude information to obtain the intermediate pulse signal.
[0080] The intermediate pulse signal is a high-frequency pulse signal with adjusted amplitude.
[0081] In this embodiment, the single-lead ECG device can adjust the amplitude of the initial high-frequency pulse signal according to the amplitude information, that is, adjust the amplitude of the initial high-frequency pulse signal to the amplitude corresponding to the amplitude information to obtain the intermediate pulse signal.
[0082] S3022, adjust the frequency value of the intermediate pulse signal to the frequency value corresponding to the frequency information to obtain the fitted pulse signal.
[0083] Among them, the fitted pulse signal is a high-frequency pulse signal with adjusted amplitude and frequency.
[0084] In this embodiment of the application, after the single-lead ECG device obtains the intermediate pulse signal based on the above steps, it can adjust the intermediate pulse signal according to the frequency information, that is, adjust the frequency value of the intermediate pulse signal to the frequency value corresponding to the frequency information to obtain the fitted pulse signal.
[0085] In some embodiments, a specific implementation method for determining the heart rate information of a target object is also provided, such as... Figure 5 As shown, the "determining error information based on the electrocardiogram signal and the fitted pulse signal, and determining the heart rate information of the target object based on the error information" in S203 above includes:
[0086] S401, input the electrocardiogram signal and the fitted pulse signal into the preset error analysis model for error analysis to obtain error information.
[0087] The preset error analysis model can be an algorithm model or a neural network model. The error information is the heart rate difference.
[0088] In this embodiment, after obtaining the ECG signal and the fitted pulse signal, the single-lead ECG device can input the ECG signal and the fitted pulse signal into a preset error analysis model for error analysis to obtain error information. Specifically, the preset error analysis model can be represented by the following relationship:
[0089]
[0090] in, The error information is the frequency difference between the fitted pulse signal and the ECG signal after frequency domain analysis. This represents the maximum frequency of the electrocardiogram (ECG) signal. To fit the frequency of the pulse signal. To fit the sampling rates of the pulse signal and the ECG signal, the sampling rates of the pulse signal and the ECG signal are the same frequency. This is the scaling frequency of the ECG signal, with a default value of 1. It is a constant, and its default value is 60.
[0091] S402, perform a difference operation between the frequency value of the fitted pulse signal and the error value corresponding to the error information to obtain the heart rate information of the target object.
[0092] In this embodiment, after obtaining the error information based on the above steps, the single-lead ECG device can perform a difference operation between the frequency value of the fitted pulse signal and the error value corresponding to the error information to obtain the heart rate information of the target object. The specific calculation process is as follows:
[0093]
[0094] in, This refers to the heart rate information of the target individual.
[0095] The method described in this application involves analyzing the electrocardiogram (ECG) signal of the target object to obtain the corresponding ECG frequency, generating a pulse signal that is close to the ECG frequency, and compensating by comparing the frequency domain difference between the two. The compensation value is then added to the frequency of the original signal to obtain an accurate heart rate value.
[0096] In some embodiments, such as Figure 6 As shown, the above heart rate analysis method also includes:
[0097] S501 analyzes the ECG signal output by a single-lead ECG device to obtain the length and noise level of the ECG signal.
[0098] The length of an electrocardiogram (ECG) signal can be represented by the number of its sampling points.
[0099] In this embodiment of the application, after the single-lead ECG device acquires the ECG signal, it can analyze the number of sampling points of the ECG signal output by the single-lead ECG device to obtain the length of the ECG signal, and compare the corresponding graph of the ECG signal with the standard image to determine the error information, and then determine the noise level based on the magnitude of the error.
[0100] S502 denoises the ECG signal based on its length and noise level to obtain a denoised ECG signal.
[0101] In this embodiment, after obtaining the length and noise level of the ECG signal based on the above steps, the single-lead ECG device can segment the ECG signal according to the noise level to obtain multiple sub-ECG signals. For each sub-ECG signal, the sub-ECG signal can be filtered and denoised to obtain denoised multi-segment ECG signals. Finally, the denoised multi-segment ECG signals are spliced together to obtain the denoised ECG signal.
[0102] Optional, such as Figure 7 As shown, the above S502 specifically includes:
[0103] S5021 determines the number of grading layers based on the length and noise level of the electrocardiogram signal.
[0104] The hierarchical layer number represents the number of denoising stages. The hierarchical layer number includes the first stage and the second stage.
[0105] In this embodiment, a correspondence between the length, noise level, and grading level of an electrocardiogram (ECG) signal can be pre-constructed, and this correspondence can be stored as a preset mapping relationship in the storage unit or database of a single-lead ECG device. After the single-lead ECG device determines the noise level of the ECG signal based on the above steps, it can retrieve the preset mapping relationship from the storage unit or database and find the grading level corresponding to the length and noise level of the ECG signal in the preset mapping relationship.
[0106] S5022 performs the first-level decomposition of the electrocardiogram signal to obtain the first approximation coefficient and the first detail coefficient.
[0107] The first approximation coefficient represents the low-frequency portion of the ECG signal, used to characterize the main features and trends of the ECG signal. The first detail coefficient represents the high-frequency portion of the signal, used to characterize the detailed information and noise of the ECG signal.
[0108] In this embodiment of the application, the single-lead ECG device inputs the ECG signal to a low-pass filter to obtain a first approximation coefficient, and inputs the ECG signal to a high-pass filter to obtain a first detail coefficient.
[0109] S5023, perform a second-level decomposition on the first approximation coefficient to obtain the second approximation coefficient and the second detail coefficient.
[0110] In this embodiment, after obtaining the first approximation coefficient based on the above steps, the single-lead ECG device can input the first approximation coefficient to a low-pass filter to obtain the second approximation coefficient, and input the first approximation coefficient to a high-pass filter to obtain the second detail coefficient. It should be noted that this embodiment uses the first and second levels as examples. In practical applications, the number of levels can be greater than 3. For each level other than the first level, the iterative steps can be to input the approximation coefficient to a low-pass filter and a high-pass filter respectively for filtering to obtain the approximation coefficient and detail coefficient for the next level. Specifically, when the number of grading levels is N, the first-level decomposition process is as follows: inputting the ECG signal to a low-pass filter to obtain the first approximation coefficient, and inputting the ECG signal to a high-pass filter to obtain the first detail coefficient; the second-level decomposition process is as follows: inputting the first approximation coefficient to a low-pass filter to obtain the second approximation coefficient, and inputting the first approximation coefficient to a high-pass filter to obtain the second detail coefficient; the third-level decomposition process is as follows: inputting the second approximation coefficient to a low-pass filter to obtain the third approximation coefficient, and inputting the second approximation coefficient to a high-pass filter to obtain the third detail coefficient; repeating this cyclical step, the Nth-level decomposition process is as follows: inputting the (N-1)th approximation coefficient to a low-pass filter to obtain the Nth approximation coefficient, and inputting the (N-1)th approximation coefficient to a high-pass filter to obtain the Nth detail coefficient. For example, if the approximation coefficient is represented by X and the detail coefficient is represented by Y, then the first approximation coefficient is X1, and the first detail coefficient is Y1. When performing the second-level decomposition, X1 is decomposed to obtain X2 and Y2, and so on. After performing n levels of grading, Xn, Y1, Y2, ..., Yn can be obtained.
[0111] S5024, the first detail coefficient and the second detail coefficient are processed according to the preset threshold range to obtain the first target detail coefficient and the second target detail coefficient.
[0112] The preset value is 0. The preset threshold range can be determined according to actual needs.
[0113] In this embodiment, after obtaining the first detail coefficient and the second detail coefficient, the single-lead ECG device can further determine whether the first detail coefficient and the second detail coefficient are within a preset threshold range. If they are within the preset threshold range, the value of the detail coefficient is set to a preset value; if they are not within the preset threshold range, the value of the detail coefficient is retained. Specifically, it is determined whether the first detail coefficient is within the preset threshold range. If it is, the first detail coefficient is set to 0, i.e., the first target detail coefficient is 0; if it is not, the first detail coefficient is retained, i.e., the first target detail coefficient is the first detail coefficient. Similarly, it is determined whether the second detail coefficient is within the preset threshold range. If it is, the second detail coefficient is set to 0, i.e., the second target detail coefficient is 0; if it is not, the second detail coefficient is retained, i.e., the second target detail coefficient is the second detail coefficient.
[0114] S5025 reconstructs the signal from the second approximation coefficient, the first target detail coefficient, and the second target detail coefficient to obtain the denoised electrocardiogram signal.
[0115] In this embodiment, after obtaining the second approximation coefficient, the first target detail coefficient, and the second target detail coefficient based on the above steps, the single-lead ECG device can input the second approximation coefficient into the conjugate filter of the low-pass filter for reconstruction, and input the second target detail coefficient into the conjugate filter of the high-pass filter for reconstruction, to obtain the reconstructed first approximation coefficient. Then, the first approximation coefficient is input into the conjugate filter of the low-pass filter for reconstruction, and the first target detail coefficient is input into the conjugate filter of the high-pass filter for reconstruction, to obtain the reconstructed ECG signal. This step can be understood as the reverse process of the above-mentioned hierarchical decomposition. Specifically, when the number of levels is N, the first-level reconstruction process is as follows: inputting the Nth approximation coefficient into the conjugate filter of the low-pass filter for signal reconstruction, and inputting the Nth target detail coefficient into the conjugate filter of the high-pass filter for signal reconstruction, to obtain the (N-1)th approximation coefficient; the second-level reconstruction process is as follows: inputting the (N-1)th approximation coefficient into the conjugate filter of the low-pass filter for signal reconstruction, and inputting the (N-1)th target detail coefficient into the conjugate filter of the high-pass filter for signal reconstruction, to obtain the (N-2)th approximation coefficient; the Nth-level reconstruction process is as follows: inputting the first approximation coefficient into the conjugate filter of the low-pass filter for signal reconstruction, and inputting the first target detail coefficient into the conjugate filter of the high-pass filter for signal reconstruction, to obtain the reconstructed ECG signal.
[0116] Correspondingly, when the single-lead ECG device executes S202 "fitting the initial high-frequency pulse signal generated by the single-lead ECG device according to the amplitude and frequency information corresponding to the ECG signal to obtain the fitted pulse signal", it specifically performs the following:
[0117] S503, based on the amplitude and frequency information corresponding to the denoised ECG signal, fits the initial high-frequency pulse signal generated by the single-lead ECG device to obtain the fitted pulse signal.
[0118] In this embodiment, after obtaining the denoised ECG signal based on the above steps, the single-lead ECG device can sample the denoised ECG signal to obtain the amplitude of each sampling point, thereby obtaining the amplitude information corresponding to the denoised ECG signal, and perform frequency analysis on the denoised ECG signal to obtain frequency information. After obtaining the frequency information, the single-lead ECG device can extract the frequency range, generate an initial high-frequency pulse signal higher than the frequency range, and then select a suitable fitting algorithm to fit the initial high-frequency pulse signal generated by the single-lead ECG device to obtain the fitted pulse signal.
[0119] In summary, based on all the above embodiments, a heart rate analysis method is also provided, the method comprising:
[0120] S601, acquire the electrocardiogram signal output by the single-lead electrocardiogram device after detecting the target object.
[0121] S602 analyzes the ECG signal output by a single-lead ECG device to obtain the length and noise level of the ECG signal.
[0122] S603 determines the number of grading layers based on the length and noise level of the electrocardiogram signal.
[0123] S604 performs the first-level decomposition of the electrocardiogram signal to obtain the first approximation coefficient and the first detail coefficient.
[0124] S605, perform a second-level decomposition on the first approximation coefficient to obtain the second approximation coefficient and the second detail coefficient.
[0125] S606, process the first detail coefficient and the second detail coefficient according to the preset threshold range to obtain the first target detail coefficient and the second target detail coefficient.
[0126] S607, reconstruct the signal using the second approximation coefficient, the first target detail coefficient, and the second target detail coefficient to obtain the denoised ECG signal.
[0127] The S608 performs fast Fourier analysis on the denoised ECG signal to obtain amplitude and frequency information.
[0128] S609 generates an initial high-frequency pulse signal and adjusts the amplitude of the initial high-frequency pulse signal to the amplitude corresponding to the amplitude information to obtain an intermediate pulse signal.
[0129] S610 adjusts the frequency value of the intermediate pulse signal to the frequency value corresponding to the frequency information to obtain the fitted pulse signal. The fitted pulse signal is used to simulate an electrocardiogram (ECG) signal.
[0130] S611, input the denoised ECG signal and the fitted pulse signal into the preset error analysis model for error analysis to obtain error information.
[0131] S612 performs a difference operation between the frequency value of the fitted pulse signal and the error value corresponding to the error information to obtain the heart rate information of the target object.
[0132] The methods described in each of the above steps have been described in the foregoing embodiments. For details, please refer to the foregoing descriptions. They will not be repeated here.
[0133] It should be understood that although the steps in the flowcharts of the embodiments described above are shown sequentially according to the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless explicitly stated herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least some steps in the flowcharts of the embodiments described above may include multiple steps or multiple stages. These steps or stages are not necessarily completed at the same time, but can be executed at different times. The execution order of these steps or stages is not necessarily sequential, but can be performed alternately or in turn with other steps or at least some of the steps or stages of other steps.
[0134] Based on the same inventive concept, this application also provides a heart rate analysis device for implementing the heart rate analysis method described above. The solution provided by this device is similar to the implementation described in the above method; therefore, the specific limitations in one or more heart rate analysis device embodiments provided below can be found in the limitations of the heart rate analysis method described above, and will not be repeated here.
[0135] In some embodiments, such as Figure 8 As shown, a heart rate analysis device is provided, comprising:
[0136] The acquisition module 11 is used to acquire the electrocardiogram signal output by the single-lead electrocardiogram device after detecting the target object.
[0137] The fitting module 12 is used to fit the initial high-frequency pulse signal generated by the single-lead ECG device according to the amplitude and frequency information corresponding to the ECG signal, so as to obtain the fitted pulse signal; the fitted pulse signal is used to simulate the ECG signal.
[0138] The determination module 13 is used to determine error information based on the electrocardiogram signal and the fitted pulse signal, and to determine the heart rate information of the target object based on the error information.
[0139] In some embodiments, the above-mentioned fitting module includes:
[0140] The first analysis unit is used to perform fast Fourier analysis on the electrocardiogram signal to obtain amplitude and frequency information.
[0141] The fitting unit is used to generate an initial high-frequency pulse signal and adjust the amplitude and frequency of the initial high-frequency pulse signal according to the amplitude and frequency information to obtain the fitted pulse signal.
[0142] In some embodiments, the above-mentioned fitting unit includes:
[0143] The first adjustment subunit is used to adjust the amplitude of the initial high-frequency pulse signal to the amplitude corresponding to the amplitude information, so as to obtain the intermediate pulse signal.
[0144] The second regulator adjusts the frequency value of the intermediate pulse signal to the frequency value corresponding to the frequency information, thus obtaining the fitted pulse signal.
[0145] In some embodiments, the determining module includes:
[0146] The second analysis unit is used to input the electrocardiogram signal and the fitted pulse signal into a preset error analysis model for error analysis to obtain error information.
[0147] The calculation unit is used to perform a difference operation between the frequency value of the fitted pulse signal and the error value corresponding to the error information to obtain the heart rate information of the target object.
[0148] In some embodiments, the heart rate analysis device further includes:
[0149] The analysis module is used to analyze the ECG signal output by a single-lead ECG device to obtain the length and noise level of the ECG signal.
[0150] The noise reduction module is used to denoise the ECG signal based on its length and noise level, resulting in a denoised ECG signal.
[0151] Correspondingly, the aforementioned fitting module is specifically used to fit the initial high-frequency pulse signal generated by the single-lead ECG device based on the amplitude and frequency information corresponding to the denoised ECG signal, thereby obtaining the fitted pulse signal.
[0152] In some embodiments, the noise reduction module includes:
[0153] The determination unit is used to determine the number of grading layers based on the length and noise level of the electrocardiogram signal.
[0154] The first decomposition unit is used to perform the first-level decomposition of the electrocardiogram signal to obtain the first approximation coefficient and the first detail coefficient.
[0155] The second decomposition unit is used to perform a second-level decomposition on the first approximation coefficient to obtain the second approximation coefficient and the second detail coefficient.
[0156] The processing unit is used to process the first detail coefficient and the second detail coefficient according to a preset threshold range to obtain the first target detail coefficient and the second target detail coefficient.
[0157] The reconstruction unit is used to reconstruct the signal from the second approximation coefficient, the first target detail coefficient, and the second target detail coefficient to obtain the denoised electrocardiogram signal.
[0158] The modules in the aforementioned heart rate analysis device can be implemented entirely or partially through software, hardware, or a combination thereof. These modules can be embedded in the processor of a computer device in hardware form or independent of it, or stored in the memory of a computer device in software form, so that the processor can call and execute the corresponding operations of each module.
[0159] In some embodiments, a computer device is provided, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to perform the following steps:
[0160] Acquire the electrocardiogram (ECG) signal output by a single-lead ECG device after detecting the target object;
[0161] Based on the amplitude and frequency information corresponding to the electrocardiogram (ECG) signal, the initial high-frequency pulse signal generated by the single-lead ECG device is fitted to obtain the fitted pulse signal; the fitted pulse signal is used to simulate the ECG signal.
[0162] Error information is determined based on electrocardiogram signals and fitted pulse signals, and the heart rate information of the target object is determined based on the error information.
[0163] In some embodiments, when the processor executes a computer program, it further performs the following steps:
[0164] Fast Fourier analysis was performed on the electrocardiogram signal to obtain amplitude and frequency information;
[0165] An initial high-frequency pulse signal is generated, and the amplitude and frequency of the initial high-frequency pulse signal are adjusted according to the amplitude and frequency information to obtain a fitted pulse signal.
[0166] In some embodiments, when the processor executes a computer program, it further performs the following steps:
[0167] The amplitude of the initial high-frequency pulse signal is adjusted to the amplitude corresponding to the amplitude information to obtain the intermediate pulse signal;
[0168] The frequency value of the intermediate pulse signal is adjusted to the frequency value corresponding to the frequency information to obtain the fitted pulse signal.
[0169] In some embodiments, when the processor executes a computer program, it further performs the following steps:
[0170] The electrocardiogram signal and the fitted pulse signal are input into a preset error analysis model for error analysis to obtain error information;
[0171] The heart rate information of the target object is obtained by performing a difference operation between the frequency value of the fitted pulse signal and the error value corresponding to the error information.
[0172] In some embodiments, when the processor executes a computer program, it further performs the following steps:
[0173] The ECG signal output from a single-lead ECG device is analyzed to obtain the length and noise level of the ECG signal;
[0174] The ECG signal is denoised based on its length and noise level to obtain the denoised ECG signal.
[0175] Based on the amplitude and frequency information corresponding to the denoised ECG signal, the initial high-frequency pulse signal generated by the single-lead ECG device is fitted to obtain the fitted pulse signal.
[0176] In some embodiments, when the processor executes a computer program, it further performs the following steps:
[0177] The number of grading layers is determined based on the length and noise level of the electrocardiogram signal;
[0178] The electrocardiogram signal is decomposed into first-level approximation coefficients and first detail coefficients.
[0179] The first approximation coefficient is decomposed into a second-level decomposition to obtain the second approximation coefficient and the second detail coefficient.
[0180] The first detail coefficient and the second detail coefficient are processed according to a preset threshold range to obtain the first target detail coefficient and the second target detail coefficient;
[0181] The second approximation coefficient, the first target detail coefficient, and the second target detail coefficient are used to reconstruct the signal and obtain the denoised electrocardiogram signal.
[0182] The computer device provided in the above embodiments has a similar implementation principle and technical effect to the above method embodiments, and will not be described again here.
[0183] In some embodiments, a computer-readable storage medium is provided having a computer program stored thereon, which, when executed by a processor, performs the following steps:
[0184] Acquire the electrocardiogram (ECG) signal output by a single-lead ECG device after detecting the target object;
[0185] Based on the amplitude and frequency information corresponding to the electrocardiogram (ECG) signal, the initial high-frequency pulse signal generated by the single-lead ECG device is fitted to obtain the fitted pulse signal; the fitted pulse signal is used to simulate the ECG signal.
[0186] Error information is determined based on electrocardiogram signals and fitted pulse signals, and the heart rate information of the target object is determined based on the error information.
[0187] In some embodiments, when a computer program is executed by a processor, it further performs the following steps:
[0188] Fast Fourier analysis was performed on the electrocardiogram signal to obtain amplitude and frequency information;
[0189] An initial high-frequency pulse signal is generated, and the amplitude and frequency of the initial high-frequency pulse signal are adjusted according to the amplitude and frequency information to obtain a fitted pulse signal.
[0190] In some embodiments, when a computer program is executed by a processor, it further performs the following steps:
[0191] The amplitude of the initial high-frequency pulse signal is adjusted to the amplitude corresponding to the amplitude information to obtain the intermediate pulse signal;
[0192] The frequency value of the intermediate pulse signal is adjusted to the frequency value corresponding to the frequency information to obtain the fitted pulse signal.
[0193] In some embodiments, when a computer program is executed by a processor, it further performs the following steps:
[0194] The electrocardiogram signal and the fitted pulse signal are input into a preset error analysis model for error analysis to obtain error information;
[0195] The heart rate information of the target object is obtained by performing a difference operation between the frequency value of the fitted pulse signal and the error value corresponding to the error information.
[0196] In some embodiments, when a computer program is executed by a processor, it further performs the following steps:
[0197] The ECG signal output from a single-lead ECG device is analyzed to obtain the length and noise level of the ECG signal;
[0198] The ECG signal is denoised based on its length and noise level to obtain the denoised ECG signal.
[0199] Based on the amplitude and frequency information corresponding to the denoised ECG signal, the initial high-frequency pulse signal generated by the single-lead ECG device is fitted to obtain the fitted pulse signal.
[0200] In some embodiments, when a computer program is executed by a processor, it further performs the following steps:
[0201] The number of grading layers is determined based on the length and noise level of the electrocardiogram signal;
[0202] The electrocardiogram signal is decomposed into first-level approximation coefficients and first detail coefficients.
[0203] The first approximation coefficient is decomposed into a second-level decomposition to obtain the second approximation coefficient and the second detail coefficient.
[0204] The first detail coefficient and the second detail coefficient are processed according to a preset threshold range to obtain the first target detail coefficient and the second target detail coefficient;
[0205] The second approximation coefficient, the first target detail coefficient, and the second target detail coefficient are used to reconstruct the signal and obtain the denoised electrocardiogram signal.
[0206] The computer-readable storage medium provided in the above embodiments has a similar implementation principle and technical effect to the above method embodiments, and will not be described again here.
[0207] In some embodiments, a computer program product is provided, including a computer program that, when executed by a processor, performs the following steps:
[0208] Acquire the electrocardiogram (ECG) signal output by a single-lead ECG device after detecting the target object;
[0209] Based on the amplitude and frequency information corresponding to the electrocardiogram (ECG) signal, the initial high-frequency pulse signal generated by the single-lead ECG device is fitted to obtain the fitted pulse signal; the fitted pulse signal is used to simulate the ECG signal.
[0210] Error information is determined based on electrocardiogram signals and fitted pulse signals, and the heart rate information of the target object is determined based on the error information.
[0211] In some embodiments, when a computer program is executed by a processor, it further performs the following steps:
[0212] Fast Fourier analysis was performed on the electrocardiogram signal to obtain amplitude and frequency information;
[0213] An initial high-frequency pulse signal is generated, and the amplitude and frequency of the initial high-frequency pulse signal are adjusted according to the amplitude and frequency information to obtain a fitted pulse signal.
[0214] In some embodiments, when a computer program is executed by a processor, it further performs the following steps:
[0215] The amplitude of the initial high-frequency pulse signal is adjusted to the amplitude corresponding to the amplitude information to obtain the intermediate pulse signal;
[0216] The frequency value of the intermediate pulse signal is adjusted to the frequency value corresponding to the frequency information to obtain the fitted pulse signal.
[0217] In some embodiments, when a computer program is executed by a processor, it further performs the following steps:
[0218] The electrocardiogram signal and the fitted pulse signal are input into a preset error analysis model for error analysis to obtain error information;
[0219] The heart rate information of the target object is obtained by performing a difference operation between the frequency value of the fitted pulse signal and the error value corresponding to the error information.
[0220] In some embodiments, when a computer program is executed by a processor, it further performs the following steps:
[0221] The ECG signal output from a single-lead ECG device is analyzed to obtain the length and noise level of the ECG signal;
[0222] The ECG signal is denoised based on its length and noise level to obtain the denoised ECG signal.
[0223] Based on the amplitude and frequency information corresponding to the denoised ECG signal, the initial high-frequency pulse signal generated by the single-lead ECG device is fitted to obtain the fitted pulse signal.
[0224] In some embodiments, when a computer program is executed by a processor, it further performs the following steps:
[0225] The number of grading layers is determined based on the length and noise level of the electrocardiogram signal;
[0226] The electrocardiogram signal is decomposed into first-level approximation coefficients and first detail coefficients.
[0227] The first approximation coefficient is decomposed into a second-level decomposition to obtain the second approximation coefficient and the second detail coefficient.
[0228] The first detail coefficient and the second detail coefficient are processed according to a preset threshold range to obtain the first target detail coefficient and the second target detail coefficient;
[0229] The second approximation coefficient, the first target detail coefficient, and the second target detail coefficient are used to reconstruct the signal and obtain the denoised electrocardiogram signal.
[0230] The computer program product provided in the above embodiments has a similar implementation principle and technical effect to the above method embodiments, and will not be described again here.
[0231] Those skilled in the art will understand that all or part of the processes in the above embodiments can be implemented by a computer program instructing related hardware. The computer program can be stored in a non-volatile computer-readable storage medium. When executed, the computer program can include the processes of the embodiments described above. Any references to memory, databases, or other media used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM). The databases involved in the embodiments provided in this application may include at least one type of relational database and non-relational database. Non-relational databases may include, but are not limited to, blockchain-based distributed databases. The processors involved in the embodiments provided in this application may be general-purpose processors, central processing units, graphics processing units, digital signal processors, programmable logic devices, quantum computing-based data processing logic devices, etc., and are not limited to these.
[0232] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0233] The embodiments described above are merely illustrative of several implementation methods of this application, and while the descriptions are specific and detailed, they should not be construed as limiting the scope of this patent application. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these all fall within the protection scope of this application. Therefore, the protection scope of this application should be determined by the appended claims.
Claims
1. A heart rate analysis method, characterized in that, Applied to single-lead ECG equipment, the method includes: Acquire the electrocardiogram signal output by the single-lead electrocardiogram device after detecting the target object; Based on the amplitude and frequency information corresponding to the electrocardiogram (ECG) signal, the initial high-frequency pulse signal generated by the single-lead ECG device is fitted to obtain a fitted pulse signal; the fitted pulse signal is used to simulate the ECG signal. Error information is determined based on the electrocardiogram signal and the fitted pulse signal, and the heart rate information of the target object is determined based on the error information.
2. The method according to claim 1, characterized in that, The step of fitting the initial high-frequency pulse signal generated by the single-lead ECG device based on the amplitude and frequency information corresponding to the ECG signal to obtain a fitted pulse signal includes: Perform Fast Fourier Analysis on the electrocardiogram signal to obtain the amplitude information and the frequency information; The initial high-frequency pulse signal is generated, and the amplitude and frequency of the initial high-frequency pulse signal are adjusted according to the amplitude information and the frequency information to obtain the fitted pulse signal.
3. The method according to claim 2, characterized in that, The step of adjusting the amplitude and frequency of the initial high-frequency pulse signal according to the amplitude information and the frequency information to obtain the fitted pulse signal includes: The amplitude of the initial high-frequency pulse signal is adjusted to the amplitude corresponding to the amplitude information to obtain the intermediate pulse signal; The frequency value of the intermediate pulse signal is adjusted to the frequency value corresponding to the frequency information to obtain the fitted pulse signal.
4. The method according to any one of claims 1-3, characterized in that, The step of determining error information based on the electrocardiogram signal and the fitted pulse signal, and determining the heart rate information of the target object based on the error information, includes: The electrocardiogram signal and the fitted pulse signal are input into a preset error analysis model for error analysis to obtain the error information. The heart rate information of the target object is obtained by performing a difference operation between the frequency value of the fitted pulse signal and the error value corresponding to the error information.
5. The method according to any one of claims 1-3, characterized in that, The method further includes: The ECG signal output by the single-lead ECG device is analyzed to obtain the length and noise level of the ECG signal. The ECG signal is denoised based on its length and noise level to obtain a denoised ECG signal. The step of fitting the initial high-frequency pulse signal generated by the single-lead ECG device based on the amplitude and frequency information corresponding to the ECG signal to obtain a fitted pulse signal includes: Based on the amplitude and frequency information corresponding to the denoised ECG signal, the initial high-frequency pulse signal generated by the single-lead ECG device is fitted to obtain the fitted pulse signal.
6. The method according to claim 5, characterized in that, The step of denoising the electrocardiogram (ECG) signal based on its length and noise level to obtain a denoised ECG signal includes: The number of grading layers is determined based on the length of the electrocardiogram signal and the noise level. The electrocardiogram signal is decomposed into first-level approximation coefficients and first detail coefficients. The first approximation coefficient is decomposed into a second approximation coefficient and a second detail coefficient. The first detail coefficient and the second detail coefficient are processed according to a preset threshold range to obtain the first target detail coefficient and the second target detail coefficient; The second approximation coefficient, the first target detail coefficient, and the second target detail coefficient are used to reconstruct the signal to obtain the denoised electrocardiogram signal.
7. A heart rate analysis device, characterized in that, The device includes: The acquisition module is used to acquire the electrocardiogram (ECG) signal output by the single-lead ECG device after detecting the target object; The fitting module is used to fit the initial high-frequency pulse signal generated by the single-lead ECG device according to the amplitude and frequency information corresponding to the ECG signal, so as to obtain a fitted pulse signal; the fitted pulse signal is used to simulate the ECG signal. The determination module is used to determine error information based on the electrocardiogram signal and the fitted pulse signal, and to determine the heart rate information of the target object based on the error information.
8. A computer device comprising a memory and a processor, wherein the memory stores a computer program, characterized in that, When the processor executes the computer program, it implements the steps of the method according to any one of claims 1 to 6.
9. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 6.
10. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 6.