A method, device, equipment and medium for monitoring physical condition

By integrating sensors and algorithm processing in wearable devices to obtain ECG, body temperature and motion information, the problem of low heart rate monitoring accuracy of wearable devices is solved, and rapid and effective heart rate and body temperature monitoring and long-term health monitoring during the epidemic period are achieved.

CN115944281BActive Publication Date: 2024-09-24成都芯忆联信息技术有限公司
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202211610551.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-12-14
Publication Date
2024-09-24
Estimated Expiration
2042-12-14

AI Technical Summary

Technical Problem

Existing wearable devices are not accurate enough when monitoring heart rate, which may lead to high false monitoring. Especially during home isolation and cardiovascular disease prevention scenarios during the epidemic, it is especially difficult to effectively monitor heart rate and body temperature.

Method used

By integrating multiple sensors in the controller of the wearable device, ECG information, analog voltage values ​​and action posture information are obtained, noise reduction processing and algorithm calculations are performed, and instantaneous heart rate values, real-time body temperature values ​​and motion information are obtained. Combined with ECG and Body temperature monitoring, sending monitoring information to the user terminal.

Benefits of technology

It achieves rapid and effective measurement of real-time heart rate and body temperature during the epidemic, and long-term monitoring of physical health status by collecting exercise data, improving monitoring precision and accuracy.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115944281B
    Figure CN115944281B
Patent Text Reader

Abstract

The present invention discloses a method, a monitoring device, a monitoring equipment and a medium for monitoring a physical state. The method includes obtaining electrocardiogram information, analog voltage values ​​and motion posture information corresponding to a user; performing noise reduction processing on the electrocardiogram information to obtain electrocardiogram waveform data; calculating the R wave peak of the electrocardiogram waveform data according to a pre-set mean algorithm to obtain multiple instantaneous heart rate values; performing analog-to-digital conversion on the analog voltage values ​​to obtain voltage values; calculating the voltage values ​​according to a transfer function to obtain real-time body temperature values; parsing the posture change process of the motion posture information to obtain the user's current motion information; and sending the monitoring information to the user terminal. It is suitable for quickly and effectively measuring real-time heart rate and body temperature during an epidemic, and can also collect motion data information and conduct long-term monitoring of one's own physical health status in combination with electrocardiogram and body temperature monitoring.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of body monitoring, and in particular to a body state monitoring method, monitoring device, monitoring equipment and medium. Background Art

[0002] Cardiovascular diseases are highly concomitant and high-risk, and the effective way to prevent cardiovascular diseases is to monitor ECG signals over a long period of time. Since ECG signals are susceptible to interference, and one of the most important clinical features since the outbreak of the COVID-19 pandemic is fever, which is often accompanied by symptoms such as irregular heartbeat, in the two scenarios of epidemic self-isolation monitoring at home and cardiovascular disease prevention, portable and small wearable devices need to solve the problem of insufficient accuracy in processing heart rate monitoring, which may lead to high false monitoring. Summary of the invention

[0003] In order to overcome the deficiencies of the prior art solutions, the embodiments of the present invention provide a method, a monitoring device, a monitoring equipment and a medium for monitoring a body state.

[0004] The technical solution adopted by the present invention to solve its technical problem is:

[0005] In a first aspect, an embodiment of the present invention provides a method for monitoring a physical state, the monitoring method being applied to a controller of a wearable device, the wearable device comprising a plurality of sensors, the controller establishing a data transmission connection with a user terminal and each sensor, the monitoring method comprising:

[0006] Obtaining ECG information, analog voltage values, and motion posture information corresponding to the user;

[0007] Performing noise reduction processing on the ECG information to obtain ECG waveform data;

[0008] Calculating the R wave peak of the electrocardiogram waveform data according to a preset mean value algorithm to obtain multiple instantaneous heart rate values;

[0009] Performing analog-to-digital conversion on the analog voltage value to obtain a voltage value;

[0010] Calculating the voltage value according to the transfer function to obtain a real-time body temperature value;

[0011] Analyze the posture change process of the action posture information to obtain the user's current movement information;

[0012] The instantaneous heart rate value, the real-time body temperature value and the current exercise information are used as monitoring information to monitor the user's body, and the monitoring information is sent to the user terminal.

[0013] In a second aspect, an embodiment of the present invention further provides a device for monitoring a physical state, wherein the monitoring device is configured in a controller of a wearable device, wherein the wearable device includes a plurality of sensors, wherein the controller establishes a data transmission connection with a user terminal and each sensor, and wherein the monitoring device includes:

[0014] An acquisition module is used to obtain the ECG information, analog voltage value and motion posture information corresponding to the user;

[0015] A noise reduction module is used to perform noise reduction processing on ECG information to obtain ECG waveform data;

[0016] A first calculation module, used for calculating the R wave peak of the ECG waveform data according to a preset mean value algorithm to obtain a plurality of instantaneous heart rate values;

[0017] A conversion module, used for performing analog-to-digital conversion on an analog voltage value to obtain a voltage value;

[0018] The second calculation module is used to calculate the voltage value according to the transfer function to obtain the real-time body temperature value;

[0019] The parsing module is used to parse the posture change process of the action posture information to obtain the user's current motion information;

[0020] The sending module is used to use the instantaneous heart rate value, real-time body temperature value and current exercise information as monitoring information to monitor the user's body, and at the same time send the monitoring information to the user terminal.

[0021] In a third aspect, an embodiment of the present invention further provides a device for monitoring a physical state, the device comprising a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other via the communication bus;

[0022] Memory, used to store computer programs;

[0023] The processor is used to execute the steps of the method for monitoring the physical condition described in any one of the embodiments of the first aspect when executing the program stored in the memory.

[0024] In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the steps of the method for monitoring the physical condition described in any one of the embodiments of the first aspect are performed.

[0025] Compared with the prior art, the present invention has the following beneficial effects:

[0026] It is suitable for quickly and effectively measuring real-time heart rate and body temperature during an epidemic. It can also collect sports data information and combine it with ECG and body temperature monitoring to conduct long-term monitoring of one's own physical health status. BRIEF DESCRIPTION OF THE DRAWINGS

[0027] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without paying any creative work.

[0028] Figure 1 It is a flow chart of a method for monitoring a physical state according to an embodiment of the present invention.

[0029] Figure 2 It is a block diagram of a device for monitoring a physical state according to an embodiment of the present invention.

[0030] Figure 3 It is a block diagram of a device for monitoring a physical state according to an embodiment of the present invention. DETAILED DESCRIPTION

[0031] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0032] It should be understood that when used in this specification and the appended claims, the terms "include" and "comprises" indicate the presence of described features, integers, steps, operations, elements and / or components, but do not exclude the presence or addition of one or more other features, integers, steps, operations, elements, components and / or combinations thereof.

[0033] It should also be understood that the terms used in the present specification are only for the purpose of describing specific embodiments and are not intended to limit the present invention. As used in the present specification and the appended claims, unless the context clearly indicates otherwise, the singular forms "a", "an" and "the" are intended to include plural forms.

[0034] It should be further understood that the term "and / or" used in the present description and the appended claims refers to any and all possible combinations of one or more of the associated listed items, and includes these combinations.

[0035] In order to solve the problem that the processing heart rate monitoring accuracy is not accurate enough and may cause high false monitoring in the monitoring method applied to wearable devices in the prior art, an embodiment of the present invention provides a method for monitoring body status, which is specifically applied in the controller of the wearable device. It can be understood that the method for monitoring body status executes relevant steps or processes through the application software or program installed in the controller, and the controller establishes a data transmission connection with the user terminal, and the controller processes the relevant data and sends it to the user terminal; for example, the controller establishes a network connection with an external device (tablet, mobile phone or notebook, etc.) through a wireless signal transmitter to realize the transmission of data information. The controller is a component used to control each unit module in the wearable device, that is, a control circuit board with an MCU chip in the wearable device. The wireless signal transmitter can establish a mobile hotspot, Bluetooth and other wireless connection connection methods with the external device to wirelessly transmit information or data.

[0036] The following is a detailed description of the specific implementation process of a method for monitoring a physical state provided by the present invention. Figure 1 As shown, the method includes steps S110 to S160.

[0037] S110, obtaining electrocardiogram information, analog voltage value, and motion posture information corresponding to the user.

[0038] Specifically, the above-mentioned ECG information, analog voltage value and motion posture information can be obtained through the relevant sensor modules in the wearable device, and then the obtained ECG information, analog voltage value and motion posture information are calculated to obtain the corresponding instantaneous heart rate value, real-time body temperature value and current motion information. During a preset period of time, the ECG information, analog voltage value and motion posture information of the user's body are collected through this part of the sensor module. The preset time can be set in a customized way. As long as this time point is reached, the sensor module in the wearable device will automatically collect the user's body. It can also be that the user only needs to wear the wearable device on the wrist to automatically collect the user's own data.

[0039] For example, the wearable device includes a heart rate module, a display module, a temperature acquisition circuit module, a motion data collection module and a wireless transmission module. The heart rate module is responsible for collecting the electrocardiogram information of the current user, while the temperature acquisition circuit module is responsible for collecting the analog voltage value, and the motion data collection module is responsible for collecting the current motion information of the current user. The collected electrocardiogram information, analog voltage value and motion posture information are processed and displayed by the display module for the user to view.

[0040] S120: Perform noise reduction processing on the ECG information to obtain ECG waveform data.

[0041] Specifically, due to the noise that may appear during the collection of ECG information, the collected ECG information is not accurate enough. ECG information is a weak electrical signal. During the collection process, the collection process of ECG information is easily affected by other external factors such as the environment and instruments. These factors will affect the collection of low-frequency parts such as P waves and Q waves of ECG signals. Therefore, it is particularly important to reduce the noise in ECG signals. Therefore, it is necessary to perform noise reduction on ECG information to obtain more accurate ECG information.

[0042] For example, the correlation coefficient method is used to find the high-frequency noise intrinsic mode function component dominated by noise, and then wavelet improved threshold denoising is performed. For low-frequency components, by setting a fixed threshold, the components below the threshold are determined as baseline drift signals, which are removed and finally reconstructed. After the ECG information is processed by denoising, the denoising algorithm achieved by the denoising process is better than that before the denoising process, and a good denoising effect is achieved. In the heart rate acquisition module, in order to obtain the raw data collected by the heart rate module, the TIM2 timer is first initialized, the interrupt function is written, and then it is transmitted to the main control through the SPI protocol.

[0043] The specific model of the heart rate acquisition module in the embodiment of the present invention is ADS1292.

[0044] S130, calculating the R wave peak of the ECG waveform data according to a preset mean value algorithm to obtain a plurality of instantaneous heart rate values.

[0045] Specifically, by generating a target index matrix based on a mean-based algorithm and removing interfering target pixels, the applicability of the constant false alarm probability operator to complex scenes is improved; a fast strategy based on integral images is adopted to greatly reduce the running time of the algorithm, making the computational time complexity of the algorithm independent of the size of the sliding window; finally, accurate target detection results are obtained through count filtering and morphological processing. The proposed algorithm is both adaptive and has a greatly improved computing speed over existing similar algorithms, thereby being able to detect noise signals such as baseline drift and power frequency interference of ECG information, and adapting to R wave detection in ECG signals.

[0046] For example, when the ECG signal is processed by a filter, its frequency can be retained to the maximum extent of Q wave, R wave and S wave. Although the input signal is reduced, the frequencies of Q wave, R wave and S wave are concentrated in the filter, so both high-frequency noise and low-frequency noise can be processed, which is equivalent to increasing the group components of Q wave, R wave and S wave. Then, the ECG signal is processed by absolute value to obtain multiple peaks, and then the signal processed by absolute value through the filter is smoothed. Since the ECG signal after filtering will be lost, two sliding window filters are required to process the ECG information, which enhances the R wave amplitude in the ECG signal. The ECG signal processed by the mean algorithm is conducive to obtaining the target R wave in the interference noise.

[0047] S140, performing analog-to-digital conversion on the analog voltage value to obtain a voltage value.

[0048] Specifically, the analog voltage value is converted by a multi-order transfer function to obtain a voltage value. The analog voltage value is converted into a digital value by converting a continuous analog value with a continuous amplitude into a discrete digital value with a discrete amplitude. The output digital value is proportional to the input analog value.

[0049] The conversion process includes four stages, namely sampling, holding, quantization and encoding. The sampling process refers to the process of converting a continuous time signal into a discrete time signal. After sampling, the analog signal with continuous time and continuous value becomes a signal with discrete time and continuous value, which is called a sampling signal. The sampling circuit is equivalent to an analog switch, which works periodically. The quantization process refers to the process of converting a continuous value signal into a discrete value signal. After quantization, the sampling signal with discrete time and continuous value can be converted into a digital signal with discrete time and discrete value. The holding process refers to the process of converting a signal with discrete time and continuous value into a signal with continuous time and discrete value. During quantization and encoding, the holding circuit is equivalent to a constant voltage source, which "holds" the signal voltage at the input end of the quantizer at the sampling moment.

[0050] S150, calculating the voltage value according to the transfer function to obtain the real-time body temperature value.

[0051] Specifically, according to the electrical characteristic temperature table, a voltage output value is obtained, and then the least squares sum formula is used for calculation to obtain the transfer function. The transfer function of the embodiment of the present invention is specifically a multi-order transfer function, for example, including a first-order transfer function, a second-order transfer function, and a third-order transfer function, and even a fourth-order transfer function, but generally a third-order transfer function is obtained, and the number of connections of the third-order transfer function will be higher, and the fitting process will be more accurate, so generally a third-order transfer function is obtained, and then the third-order transfer function is used for fitting processing using matlab.

[0052] The Matlab mentioned above refers to the Matrix Laboratory, which is an integrated development environment (IDE / Integrated Develop Environment).

[0053] S160: Analyze the posture change process of the action posture information to obtain the user's current movement information.

[0054] Specifically, when the user is wearing a wearable device and is in a state of motion, the user's movement posture information is monitored at this time. When the user is in a state of motion, the user needs to constantly swing the postures of various parts of the body. Then, the user's posture change process is monitored and analyzed, thereby obtaining the user's current motion information.

[0055] For example, when the user is in a running or walking state, the relative angle of the vertical line of the user's leg lifting process is monitored, that is, when the user lifts the first leg, the relative angle of the vertical line of the first leg. After the first leg is lifted and falls, when the other second leg is lifted, the relative angle of the line of the second leg is also monitored, and the current movement information of the user at this time is monitored and collected in this way.

[0056] In a specific embodiment, step S130, calculating the R wave peak of the ECG waveform data according to a preset mean-based algorithm to obtain multiple instantaneous heart rate values, includes the following steps:

[0057] Generate an ECG threshold value corresponding to the ECG waveform data, and determine whether the ECG waveform data exceeds the ECG threshold value.

[0058] Specifically, the ECG thresholds corresponding to different ECG waveform data are also different. Therefore, it is necessary to determine the ECG threshold corresponding to the ECG waveform data based on different ECG waveform data. The ECG threshold can also be partially adjusted according to actual needs to achieve a more adaptive match with the ECG waveform data.

[0059] Then, a judgement is made based on the obtained ECG waveform data to determine whether the ECG waveform data exceeds the generated ECG threshold. Each ECG waveform data has an ECG value. If the ECG value is greater than the generated ECG threshold, it is determined to exceed the ECG threshold; if the ECG value is less than the generated ECG threshold, it is determined to not exceed the ECG threshold. That is, it is necessary to judge whether the ECG waveform data exceeds the ECG threshold based on whether the ECG value of the ECG waveform data is greater than the generated ECG threshold, and then record each judgment result.

[0060] If the ECG waveform data exceeds the ECG threshold, the target point of the ECG threshold is recorded once.

[0061] Specifically, the judgment result of whether the ECG value of the ECG waveform data exceeds the ECG threshold is recorded, that is, each time the ECG value of the ECG waveform data exceeds the ECG threshold, the target point of the ECG threshold is recorded once. One target point is equivalent to an ECG value of ECG waveform data exceeding the ECG threshold, and so on. The number of times that the ECG values ​​of multiple ECG waveform data exceed the ECG threshold is calculated, and the total number of target points of the ECG threshold is recorded.

[0062] If the ECG waveform data does not exceed the ECG threshold, a target-free point of the ECG threshold is recorded.

[0063] Specifically, the judgment result that the ECG value of the ECG waveform data does not exceed the ECG threshold is recorded, that is, each time the ECG value of the ECG waveform data does not exceed the ECG threshold, a targetless point of the ECG threshold is recorded. One targetless point is equivalent to an ECG value of ECG waveform data not exceeding the ECG threshold, and so on. The total number of times that the ECG values ​​of multiple ECG waveform data do not exceed the ECG threshold is calculated, and the total number of targetless points of the ECG threshold is recorded.

[0064] All the times of the target points of the ECG threshold are calculated to obtain multiple instantaneous heart rate values.

[0065] Specifically, the total number of times that the ECG values ​​according to the ECG waveform data exceed the ECG threshold and the target points of all ECG thresholds are recorded is summarized, that is, the total number of times that the ECG values ​​of the ECG waveform data exceed the target points of the ECG threshold appear in the process is recorded, and then multiple instantaneous heart rate values ​​can be calculated.

[0066] In a specific embodiment, the step of performing noise reduction processing on the ECG information to obtain ECG waveform data includes the following steps:

[0067] Obtain multiple sampling values ​​of ECG information in one cycle.

[0068] Specifically, within a preset period, multiple sampling values ​​of the ECG information are obtained, and the value of each sampling value is different. There are also large differences between the values ​​of the sampling values, such as including sampling values ​​with relatively large values ​​and sampling values ​​with relatively small values. Then, screening is performed based on the values ​​of the obtained sampling values, so that the values ​​of the filtered sampling values ​​can be processed in a normalized manner. The period of the embodiment of the present invention can also be multiple periods. The above embodiment obtains multiple sampling values ​​in one period, and the specific time required for one period can be customized according to the actual calculation requirements, that is, the specific time of one period can be set.

[0069] A first sampling value with a highest upper limit and a second sampling value with a lowest lower limit are screened out from the plurality of sampling values.

[0070] Specifically, since the values ​​of the multiple sampling values ​​obtained are different, it is necessary to screen out the sampling value with the highest upper limit from the multiple sampling values ​​as the first sampling value, that is, to select a part of the sampling values ​​with the maximum values ​​from the values ​​of the multiple sampling values, and use this part of the sampling values ​​with the maximum values ​​as the first sampling value; at the same time, it is necessary to screen out the sampling value with the lowest lower limit from the multiple sampling values ​​as the second sampling value, that is, to select a part of the sampling values ​​with the lowest values ​​from the values ​​of the multiple sampling values, and use this part of the sampling values ​​with the lowest values ​​as the second sampling value, so as to obtain multiple first sampling values ​​with the maximum values ​​and multiple second sampling values ​​with the lowest values.

[0071] It should also be noted that the first sampling values ​​of each maximum value are also different, that is, the values ​​of each first sampling value are different; the second sampling values ​​of each minimum value are also different, that is, the values ​​of each second sampling value are different.

[0072] Determine multiple highest values ​​and multiple lowest values ​​of the first sampling value and the second sampling value, and calculate the average values ​​of the multiple highest values ​​and the multiple lowest values ​​of the first sampling value and the second sampling value to obtain a first sampling average value and a second sampling average value.

[0073] Specifically, since the numerical value of each first sampling value is different and the numerical value of each second sampling value is different, it is necessary to determine multiple maximum values ​​and multiple minimum values ​​of the first sampling value, that is, to determine the average value of the highest value and the lowest value of the first sampling value from this part of the first sampling values. Since the first sampling value also includes the highest value and the lowest value, the highest value of the first sampling value and the lowest value of the first sampling value are calculated to obtain the average value between the highest value of the first sampling value and the lowest value of the first sampling value, and the average value is used as the first sampling average value; in addition, it is similarly necessary to determine multiple maximum values ​​and multiple minimum values ​​of the second sampling value. From this part of the second sampling values, the average value of the highest value and the lowest value of the second sampling value is determined. Since the second sampling value also includes the highest value and the lowest value, the highest value of the second sampling value and the lowest value of the second sampling value are calculated to obtain the average value between the highest value of the second sampling value and the lowest value of the second sampling value, and the average value is used as the second sampling average value.

[0074] The first sampling average value and the second sampling average value are limited to a preset value range to obtain the first electrocardiogram waveform data and the second electrocardiogram waveform data.

[0075] Specifically, the obtained first sampling average value is limited to a preset numerical range to prevent other unnecessary values ​​from being included in the first sampling average value, that is, the first sampling average value is normalized so that any first sampling average value obtained is calculated to be within a numerical range of 0-1, which can prevent the value of the first sampling average value from being too large, which is inconvenient for subsequent processing steps. Therefore, the first sampling average value needs to be limited to a suitable numerical range; the obtained second sampling average value is limited to a preset numerical range in order to prevent other unnecessary values ​​from being included in the second sampling average value. The second sampling average value is normalized so that any second sampling average value obtained is calculated to be within a numerical range of 0-1, which can prevent the value of the second sampling average value from being too large. The second sampling average value needs to be limited to a suitable numerical range.

[0076] In a specific embodiment, the step of limiting the first sampling average value and the second sampling average value within a preset value range to obtain the first electrocardiogram waveform data and the second electrocardiogram waveform data includes the steps of:

[0077] The first sampling average value is deducted from the lowest value of the first sampling values ​​to obtain a first sampling deducted value.

[0078] Specifically, the first sampling deduction value is calculated based on the obtained first sampling average value and the lowest value of the first sampling value obtained previously is deducted, and the first sampling deduction value is specifically the difference between the first sampling average value and the lowest value of the first sampling value.

[0079] For example, the value of the first sampling average value is 9, and the lowest value of the first sampling value is 1. Then, after deducting the lowest value of the first sampling value from the first sampling average value, the first sampling deducted value is 8.

[0080] The high and low difference values ​​of the first sampling value are removed from the first sampling deduction value to obtain first electrocardiogram waveform data.

[0081] Specifically, the first ECG waveform data is calculated based on the obtained first sampling deduction value and the high and low difference value of the first sampling value removed, and the first ECG waveform data is specifically the division value of the first ECG waveform data and the high and low difference value of the first sampling value.

[0082] For example, the first sampling deduction value is 8, and the high-low difference value of the first sampling value is specifically 10. Then, after the first sampling deduction value is combined with the high-low difference value of the first sampling value, the first ECG waveform data specifically obtained is 0.8.

[0083] The second sampling average value is deducted from the lowest value of the second sampling values ​​to obtain a second sampling deducted value.

[0084] Specifically, the second sampling deduction value is calculated based on the obtained second sampling average value and the lowest value of the second sampling value obtained previously. The second sampling deduction value is specifically the difference between the second sampling average value and the lowest value of the second sampling value.

[0085] For example, the value of the second sampling average value is 4, and the lowest value of the second sampling value is also 1. Then, after deducting the lowest value of the second sampling value from the second sampling average value, the second sampling deducted value is 3.

[0086] The high and low difference values ​​of the second sampling values ​​are removed from the second sampling subtraction value to obtain second ECG waveform data.

[0087] Specifically, the second ECG waveform data is calculated based on the obtained second sampling deduction value and the high and low difference value of the second sampling value. The second ECG waveform data is specifically the division value of the second ECG waveform data and the high and low difference value of the second sampling value.

[0088] For example, the second sampling deduction value is calculated to be 3, and the high-low difference value of the second sampling value is specifically 10. Then, the second sampling deduction value is added to the high-low difference value of the second sampling value to obtain the second ECG waveform data specifically 0.3.

[0089] It should be noted that the high and low difference values ​​of the first sampling value and the high and low difference values ​​of the second sampling value are obtained by deducting the lowest value of the sampling value from the highest value of the sampling value, so as to obtain the corresponding high and low difference values ​​of the first sampling value and the second sampling value. That is, the high and low difference value of the first sampling value is the highest value of the first sampling value deducting the lowest value of the first sampling value from the highest value of the first sampling value, so as to obtain the high and low difference value of the first sampling value.

[0090] For example, the highest value of the first sampling value is 11, and the lowest value of the first sampling value is 1, so the obtained high-low difference value of the first sampling value is 10.

[0091] In a specific embodiment, before S150, the voltage value is calculated according to the transfer function, the following steps are also included:

[0092] The voltage output value corresponding to the voltage value is screened out according to the preset electrical characteristic temperature table.

[0093] Specifically, the voltage output value corresponding to each voltage value is different, so the voltage output value needs to be screened out according to different voltage values.

[0094] The voltage output value is calculated according to the least squares sum formula to obtain the transfer function.

[0095] Specifically, the square sum of the minimization error is used to find the best function matching of the data. The least square method can be used to easily obtain unknown data, and the sum of the squares of the errors between the data obtained and the actual data is minimized. In addition, the least square method can also be used for curve fitting. Through this formula, one is to minimize the error, and the second is that the method of minimizing the error is to minimize the sum of the squares of the errors. The least square method can be used to easily obtain unknown data, and the sum of the squares of the errors between the data obtained and the actual data is minimized. The least square method can also be used for curve fitting, and the fitted curve can be a linear fit and a nonlinear fit.

[0096] In a specific embodiment, step S160, parsing the posture change process of the action posture information to obtain the current motion information of the user, includes the following steps:

[0097] Get the foot-lifting information of the current user when moving, and determine whether the foot-lifting information meets the posture feature conditions.

[0098] Specifically, an inertial measurement unit is used to measure the foot-lifting information of the user when moving, that is, the relative angle of one thigh to the vertical line when the user lifts the leg. According to the posture characteristics performed by the user during normal walking, at least three feature points are obtained, such as lifting the right leg, dropping the right leg, and lifting the left leg, which are used to judge the user's right leg stepping out, left leg dropping, and left leg stepping out to right leg dropping. The foot-lifting information needs to meet the posture feature conditions in order to obtain the collection of motion postures. Specifically, it is necessary to determine whether the amplitude threshold and slope threshold of the foot-lifting information meet the posture feature conditions. If the foot-lifting information meets the posture feature conditions, it is determined that the current user is in motion; conversely, if the foot-lifting information does not meet the posture feature conditions, it is determined that the current user is in a non-motion state.

[0099] In a specific embodiment, the steps of obtaining the foot-lifting information of the user when moving sent by multiple sensors and determining whether the foot-lifting information meets the posture feature condition include the following steps:

[0100] Get the maximum and minimum acceleration values ​​of the axial acceleration value of the foot lifting information.

[0101] Specifically, the axial acceleration value refers to the axial value when the user lifts his leg during normal walking. The axial acceleration value includes the first axial acceleration value, the second axial acceleration value and the third axial acceleration value, that is, the X-axis acceleration value, the Y-axis acceleration value and the Z-axis acceleration value; the maximum acceleration value and the minimum acceleration value of one of the axial acceleration values ​​are obtained.

[0102] The acceleration average value of the maximum acceleration value of the axial acceleration value and the minimum acceleration value of the axial acceleration value is calculated, and the acceleration average value is used as the posture characteristic condition.

[0103] Specifically, based on the maximum acceleration value of the acceleration value and the minimum acceleration value of the axial acceleration value, the average value between the maximum acceleration value and the minimum acceleration value is calculated. When determining whether the user has taken a step, the average acceleration value is used as the judgment condition for whether the posture feature condition is met.

[0104] Determine whether the previous axial acceleration value with the largest amplitude change meets the posture characteristic condition.

[0105] Specifically, the three axial acceleration values ​​obtained are compared to determine the axial acceleration value with the largest amplitude change among the three axial acceleration values. For example, the amplitude change of the X-axial acceleration value is the largest. The previous axial acceleration value of the X-axial acceleration value is used as the judgment whether the posture characteristic condition is met, that is, whether the previous axial acceleration value of the X-axial acceleration value is greater than the acceleration average value (posture characteristic condition). If the judgment result is that the previous axial acceleration value is not greater than the acceleration average value, it is determined that the current user is in motion.

[0106] Through the physical condition monitoring method of the embodiment of the present invention, it is possible to quickly and effectively measure real-time heart rate and body temperature during an epidemic. At the same time, it is also possible to collect motion data information and combine it with electrocardiogram and body temperature monitoring to conduct long-term monitoring of one's own physical health status.

[0107] Corresponding to the above-mentioned method for monitoring the body state, an embodiment of the present invention further provides a device for monitoring the body state 100, which can be configured in a controller of a wearable device, the wearable device includes a plurality of sensors, the controller establishes a data transmission connection with a user terminal and each sensor, and the device for monitoring the body state 100 is used to execute any embodiment of the above-mentioned method for monitoring the body state. Specifically, according to the attached Figure 2 As shown, specifically including:

[0108] The acquisition module 110 is used to obtain the ECG information, analog voltage value and motion posture information corresponding to the user;

[0109] The noise reduction module 120 is used to perform noise reduction processing on the ECG information to obtain ECG waveform data;

[0110] A first calculation module 130 is used to calculate the R wave peak of the ECG waveform data according to a preset mean value algorithm to obtain a plurality of instantaneous heart rate values;

[0111] The conversion module 140 is used to perform analog-to-digital conversion on the analog voltage value to obtain a voltage value;

[0112] The second calculation module 150 is used to calculate the voltage value according to the transfer function to obtain the real-time body temperature value;

[0113] The parsing module 160 is used to parse the posture change process of the action posture information to obtain the current motion information of the user;

[0114] The sending module 170 is used to use the instantaneous heart rate value, the real-time body temperature value and the current movement information as monitoring information to monitor the user's body, and send the monitoring information to the user terminal.

[0115] Through the physical condition monitoring device 100 of the embodiment of the present invention, it is possible to quickly and effectively measure real-time heart rate and body temperature during an epidemic situation. At the same time, it is also possible to collect motion data information and combine it with electrocardiogram and body temperature monitoring to conduct long-term monitoring of one's own physical health status.

[0116] In addition, the embodiment of the present invention also provides a device for monitoring the body state. Figure 3As shown, the monitoring device 10 includes a processor 401, a communication interface 402, a memory 403 and a communication bus 404; wherein the processor 401, the communication interface 402, and the memory 403 communicate with each other via the communication bus 404; the memory 403 is used to store computer programs; in one embodiment of the present invention, the processor 401 is used to execute the steps of the body state monitoring method provided by any one of the aforementioned method invention embodiments when executing the program stored in the memory 403.

[0117] An embodiment of the present invention further provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the steps of the method for monitoring the physical condition provided in any one of the above method embodiments are implemented.

[0118] It should be noted that, in this article, relational terms such as "first" and "second" are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.

[0119] The foregoing is merely a specific embodiment of the present invention, which enables those skilled in the art to understand or implement the present invention. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention will not be limited to the embodiments shown herein, but rather to the widest scope consistent with the principles and novel features claimed herein.

Claims

1. A method for monitoring physical condition, characterized in that: The monitoring method is applied to a controller of a wearable device, the wearable device includes a plurality of sensors, the controller establishes a data transmission connection with a user terminal and each sensor, and the monitoring method includes: Obtaining ECG information, analog voltage values, and motion posture information corresponding to the user; Performing noise reduction processing on the ECG information to obtain ECG waveform data; Calculating the R wave peak of the electrocardiogram waveform data according to a preset mean value algorithm to obtain multiple instantaneous heart rate values; Performing analog-to-digital conversion on the analog voltage value to obtain a voltage value; Calculating the voltage value according to the transfer function to obtain a real-time body temperature value; Parse according to the posture change process of the action posture information to obtain the current motion information of the user; wherein, obtain the foot-lifting information of the user sent by multiple sensors when moving, and judge whether the foot-lifting information meets the posture characteristic condition; if the foot-lifting information meets the posture characteristic condition, determine that the current user is in motion; if the foot-lifting information does not meet the posture characteristic condition, determine that the current user is in a non-motion state; wherein the step is to obtain the foot-lifting information of the user sent by multiple sensors when moving, and judge whether the foot-lifting information meets the posture characteristic condition, including obtaining the maximum acceleration value and the minimum acceleration value of the axial acceleration value of the foot-lifting information; calculating the acceleration average value of the maximum acceleration value of the axial acceleration value and the minimum acceleration value of the axial acceleration value, and using the acceleration average value as the posture characteristic condition; judge whether the previous axial acceleration value of the axial acceleration value with the largest amplitude change meets the posture characteristic condition; The instantaneous heart rate value, the real-time body temperature value and the current exercise information are used as monitoring information to monitor the user's body, and the monitoring information is sent to the user terminal.

2. The method for monitoring the physical condition according to claim 1, characterized in that: The R wave peak of the electrocardiogram waveform data is calculated according to a preset mean value algorithm to obtain multiple instantaneous heart rate values, including: generating an ECG threshold value corresponding to the ECG waveform data, and determining whether the ECG waveform data exceeds the ECG threshold value; If the ECG waveform data exceeds the ECG threshold, then the target point of the ECG threshold is recorded once; If the ECG waveform data does not exceed the ECG threshold, then a target-free point of the ECG threshold is recorded once; All the times of the target point of the electrocardiogram threshold are calculated to obtain a plurality of instantaneous heart rate values.

3. The method for monitoring the physical condition according to claim 2, characterized in that: The performing noise reduction processing on the ECG information to obtain ECG waveform data includes: Obtaining multiple sampling values ​​of the electrocardiogram information in one cycle; Filter out a first sampling value with a highest upper limit and a second sampling value with a lowest lower limit from the plurality of sampling values; Determine multiple highest values ​​and multiple lowest values ​​of the first sampling value and the second sampling value, and calculate average values ​​of the multiple highest values ​​and the multiple lowest values ​​of the first sampling value and the second sampling value to obtain a first sampling average value and a second sampling average value; The first sampling average value and the second sampling average value are limited to a preset value range to obtain first electrocardiogram waveform data and second electrocardiogram waveform data.

4. The method for monitoring the physical condition according to claim 3, characterized in that: The step of limiting the first sampling average value and the second sampling average value to a preset value range to obtain first electrocardiogram waveform data and second electrocardiogram waveform data includes: Deducting the lowest value of the first sampling values ​​from the first sampling average value to obtain a first sampling deduction value; Dividing the first sampling deduction value by the high and low difference value of the first sampling value to obtain first ECG waveform data; Deduct the lowest value of the second sampling values ​​from the second sampling average value to obtain a second sampling deduction value; The second sampling deduction value is divided by the high-low difference value of the second sampling value to obtain second ECG waveform data.

5. The method for monitoring the physical condition according to claim 1, characterized in that: Before calculating the voltage value according to the transfer function, the method further includes: Screening out a voltage output value corresponding to the voltage value according to a preset electrical characteristic temperature table; The voltage output value is calculated according to a least squares sum formula to obtain a transfer function.

6. A device for monitoring a physical condition, characterized in that: The monitoring device is configured in a controller of a wearable device, the wearable device includes a plurality of sensors, the controller establishes a data transmission connection with a user terminal and each sensor, and the monitoring device includes: An acquisition module is used to obtain the ECG information, analog voltage value and motion posture information corresponding to the user; A noise reduction module is used to perform noise reduction processing on ECG information to obtain ECG waveform data; A first calculation module, used for calculating the R wave peak of the ECG waveform data according to a preset mean value algorithm to obtain a plurality of instantaneous heart rate values; A conversion module, used for performing analog-to-digital conversion on an analog voltage value to obtain a voltage value; The second calculation module is used to calculate the voltage value according to the transfer function to obtain the real-time body temperature value; The parsing module is used to parse the posture change process of the action posture information to obtain the user's current motion information; The sending module is used to use the instantaneous heart rate value, real-time body temperature value and current exercise information as monitoring information to monitor the user's body, and at the same time send the monitoring information to the user terminal.

7. A device for monitoring physical condition, characterized in that: The monitoring device includes a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other via the communication bus; Memory, used to store computer programs; A processor is used to implement the steps of the method for monitoring the physical condition described in any one of claims 1 to 5 when executing the program stored in the memory.

8. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method for monitoring the physical state as described in any one of claims 1 to 5 are implemented.