User body fat detection method and device, computer equipment and medium

By using a magnetic induction device in the body fat scale to generate induced current in the preset magnetic field, and combining the body fat detection model for contactless measurement and correction, the problem of inaccurate measurement of existing body fat scales is solved, achieving high accuracy and convenience body fat detection.

CN113768487BActive Publication Date: 2024-12-03SHENZHEN CHENBEI TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202110881772.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-08-02
Publication Date
2024-12-03
Estimated Expiration
2041-08-02

AI Technical Summary

Technical Problem

Existing body fat scales have problems with inaccurate measurement through bioresistance measurement, especially due to the tiny current and the accuracy problems caused by contact requirements, as well as limited aesthetics and convenience.

Method used

A magnetic induction device is used to generate an induced current in the preset magnetic field, and the contactless measurement is performed through the induced current and the preset body fat detection model, the induced current is corrected to improve accuracy, and the body fat is calculated based on the user's height, weight and induced current.

Benefits of technology

Contactless measurement is realized, the accuracy and accuracy of body fat detection is improved, and the device design is simplified, enhancing the convenience and aesthetics of detection.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113768487B_ABST
    Figure CN113768487B_ABST
Patent Text Reader

Abstract

The present application provides a method and device for detecting user body fat, a computer device and a medium. The method includes: obtaining a first induced current, which is an induced current generated by a magnetic induction device in a preset magnetic field when a target user is in the preset magnetic field, wherein the preset magnetic field is generated by a magnetic field generating device corresponding to the magnetic induction device, and the magnetic induction device and the magnetic field generating device are located in a body fat detection device; according to the first induced current and a preset body fat detection model, determining the user body fat of the target user, wherein the body fat detection model stores the corresponding relationship between the user body fat and the induced current. The present application can realize accurate measurement of user body fat.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of user feature detection, and in particular to a method and apparatus for detecting user body fat, computer equipment and media. Background Art

[0002] Body fat scales are weight scales that can measure body fat, which have been developed in recent years as users pay more attention to their health. Most of the body fat scales on the market currently use bio-impedance analysis (BIA) to measure fat, body fat level and other data. When a person stands on a body fat scale, the body fat scale will emit a weak current that the human body cannot perceive through the electrode sheet / conductive film, which flows through the human body from one foot to the other, thus forming a closed loop. In this process, the body fat scale can obtain the resistivity of different parts of the human body and calculate the content of each part. Since the current emitted by the body fat scale is very small, only at the microampere (μA) level, if there is water or impurities on the soles of the feet, it will affect the accuracy of the measurement, thereby causing measurement errors. In addition, this measurement method and body fat scale require the human body to be in full contact with the electrodes to obtain its resistance. It is stipulated that the human body's standing position must be in contact with the electrodes and that there must be electrodes in fixed positions in the scale design, which affects the appearance and convenience. Summary of the invention

[0003] The present application provides a method and apparatus for detecting body fat of a user, a computer device and a medium to solve the technical problem of inaccurate measurement caused by the bioimpedance measurement method for measuring body fat.

[0004] In a first aspect, a method for detecting body fat of a user is provided, the method comprising the following steps:

[0005] Obtaining a first induced current, the first induced current being an induced current generated by a magnetic induction device in a preset magnetic field when a target user is in the preset magnetic field, wherein the preset magnetic field is generated by a magnetic field generating device corresponding to the magnetic induction device, and the magnetic induction device and the magnetic field generating device are located in a body fat detection device;

[0006] The user body fat of the target user is determined according to the first induced current and a preset body fat detection model, wherein the body fat detection model stores a corresponding relationship between the user body fat and the induced current.

[0007] In this technical solution, by obtaining the first induced current, the induced current generated when the user is in a preset magnetic field can be obtained, and then the user's body fat can be measured according to the first induced current and the body fat detection model that stores the corresponding relationship between the user's body fat and the induced current. Since the user's body fat is measured by measuring the induced current when the user is in a preset magnetic field, non-contact measurement can be achieved, and non-contact measurement can avoid the occurrence of inaccurate measurement caused by biological contact, thereby improving the measurement accuracy.

[0008] In combination with the first aspect, in a possible implementation, the above correspondence is a functional relationship with height, weight and induced current as independent variables and user body fat as dependent variable; the above determination of the user body fat of the above target user based on the above first induced current and a preset body fat detection model includes: obtaining the weight data and height data of the above target user; substituting the above weight data, the above height data and the above first induced current into the above functional relationship respectively to obtain the user body fat of the above target user. By pre-establishing the association between height, weight and induced current and user body fat, the user body fat of the user can be obtained.

[0009] In combination with the first aspect, in a possible implementation, before determining the body fat of the target user according to the first induced current and the preset body fat detection model, the method further includes: obtaining a second induced current, the second induced current being the induced current generated by the magnetic induction device when no one is in the preset magnetic field; and correcting the first induced current according to the second induced current. By correcting the first induced current by obtaining the induced current when no one is in the preset magnetic field, the body fat detection of the user can be made more accurate.

[0010] In combination with the first aspect, in a possible implementation, the correction of the first induced current according to the second induced current includes: obtaining a preset induced current, which is a predetermined induced current generated by a magnetic induction device in an unmanned state; using the ratio of the preset induced current to the second induced current as a correction coefficient of the first induced current to obtain the corrected first induced current. By using the ratio of the induced current in the unmanned state in the magnetic field measured in the experiment and the induced current in the unmanned state in the magnetic field measured in actual use as the correction coefficient, the interference caused by the difference between the magnetic induction device and the magnetic field generating device used in the experiment and the magnetic induction device and the magnetic field generating device used in actual application is offset, so that the corrected first induced current is adapted to the body fat detection model, thereby improving the accuracy of the detection.

[0011] In combination with the first aspect, in a possible implementation, the obtaining of the first induced current includes: obtaining the induced current generated by the magnetic induction device based on the preset magnetic field; if it is determined that the induced current generated by the magnetic induction device undergoes a process of changing from large to small and remains unchanged within a preset time, it is determined that the target user is in the preset magnetic field, and the induced current generated by the magnetic induction device within the preset time is determined as the first induced current. By detecting whether the induced current changes to detect whether the target user is in the preset magnetic field, the device can be simplified.

[0012] In combination with the first aspect, in a possible implementation, after determining the user body fat of the target user according to the first induced current and the preset body fat detection model, the method further includes: obtaining the gender data and age data of the target user; determining the standard body fat of the target user according to the gender data and the age data; and measuring the physical condition of the target user by the difference between the user body fat and the standard body fat. By measuring the physical condition of the target user by the difference between the user body fat and the standard body fat, it is possible to detect whether the user's physical condition is normal.

[0013] In combination with the first aspect, in a possible implementation, after determining the user body fat of the target user according to the first induced current and the preset body fat detection model, the method further includes: after obtaining the user body fat of the target user within a preset period, generating a diet plan and / or exercise plan for the target user according to the body fat change of the target user within the preset period. After obtaining the body fat change of the target user over a period of time, generating a diet plan or exercise plan for the target user according to the body fat change of the target user can make the user's life healthier.

[0014] In a second aspect, a user body fat detection device is provided, comprising:

[0015] an induced current acquisition module, used to acquire a first induced current, wherein the first induced current is an induced current generated by a magnetic induction device in a preset magnetic field when a target user is in the preset magnetic field, wherein the preset magnetic field is generated by a magnetic field generating device corresponding to the magnetic induction device, and the magnetic induction device and the magnetic field generating device are located in the body fat detection device;

[0016] The body fat calculation module is used to determine the user body fat of the above-mentioned target user according to the above-mentioned first induced current and a preset body fat detection model, wherein the above-mentioned body fat detection model stores the corresponding relationship between the user's body fat and the induced current.

[0017] In a third aspect, a computer device is provided, comprising a memory and one or more processors, wherein the one or more processors are used to execute one or more computer programs stored in the memory, and when the one or more processors execute the one or more computer programs, the computer device implements the user body fat detection method of the first aspect.

[0018] In a fourth aspect, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores a computer program, wherein the computer program includes program instructions, and when the program instructions are executed by a processor, the processor executes the user body fat detection method of the first aspect.

[0019] This application can achieve the technical effect of accurately measuring the user's body fat. BRIEF DESCRIPTION OF THE DRAWINGS

[0020] Figure 1 A structural schematic diagram of a weight scale / body fat scale provided in an embodiment of the present application;

[0021] Figure 2 A schematic diagram of a flow chart of a method for detecting body fat of a user provided in an embodiment of the present application;

[0022] Figure 3 It is a structural schematic diagram of a user body fat detection device provided in an embodiment of the present application;

[0023] Figure 4 It is a structural diagram of a computer device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0024] The technical solutions in the embodiments of the present application will be described below in conjunction with the drawings in the embodiments of the present application.

[0025] The technical solution of the present application can be applied to scenarios where the user's body fat is detected.

[0026] In some feasible implementations, the technical solution of the present application can be applied to a weight scale / body fat scale that includes a magnetic field generating device and a magnetic induction device, wherein the magnetic field generating device and the magnetic induction device are both arranged in the weight scale / body fat scale, and the magnetic induction device is arranged in the weight scale / body fat scale corresponding to the magnetic field generating device (meaning that the magnetic induction device is located in the magnetic field generated by the magnetic field generating device), the magnetic field generating device is used to generate a magnetic field, and the magnetic induction device is used to generate an induced current based on the magnetic field generated by the magnetic field generating device.

[0027] In a specific embodiment, the magnetic field generating device may be an electromagnet, and the magnetic induction device may be a coil antenna. Figure 1As shown, the weight scale / body fat scale 10 may include a scale body 103, an electromagnet 101 and a coil antenna 102. The scale body 103 includes a first cover plate 1031 and a second cover plate 1032. The first cover plate 1031 and the second cover plate 1032 enclose a receiving space. The first cover plate 1031 may be a display panel for displaying weight data, battery power and other data. The user may stand on the first cover plate to complete the weight detection. The second cover plate 1032 may be a plastic shell for carrying various devices arranged in the receiving space, such as a main control board, a weight sensor, etc. The main control board is fixed on the second cover plate 1032 to realize various control functions, such as realizing analog-to-digital conversion and calculation, and powering the weight sensor. The electromagnet 101 and the coil antenna 102 are both arranged in the receiving space and fixed on the second cover plate 1032 by a bracket. The coil antenna 102 is connected to the main control board through a connecting line. Among them, the two ends of the electromagnet 101 are the north (N) pole and the south (S) pole, respectively. The magnetic flux lines are emitted from the N pole of the electromagnet in a radially scattered manner to form a preset magnetic field; the coil antenna 102 is located above the S pole of the electromagnet, and the magnetic flux lines in the preset magnetic field pass through the coil antenna 102 and then converge back to the S pole of the electromagnet. When the magnetic flux lines in the preset magnetic field pass through the coil antenna 102, the coil antenna 102 will generate an induced electromotive force and an induced current. The induced current is transmitted to the main control board through the connecting line, and the main control board can obtain a certain current value after analog-to-digital conversion. Optionally, the magnetic field generating device and the magnetic induction device can also have other implementation methods. For example, the electromagnet can be replaced by a permanent magnet. This application does not limit the specific implementation method of the magnetic field generating device and the magnetic induction device and the specific position setting in the weight scale / body fat scale.

[0028] In other feasible implementations, the technical solution of the present application can also be applied to a terminal device that establishes a communication connection relationship with a weight scale / body fat scale, such as a mobile phone, a tablet, etc. Among them, the weight scale / body fat scale can send the induced current generated by the magnetic induction device to the terminal device through the communication connection between the weight scale / body fat scale and the terminal device, and the communication connection includes but is not limited to a Bluetooth connection, a WiFi connection, etc.

[0029] When a user is in a preset magnetic field generated by a magnetic field generating device, the magnetic flux lines in the preset magnetic field will attenuate due to passing through the user's body, causing the magnetic field strength in the preset magnetic field to weaken. The induced current generated by the magnetic induction device based on the attenuated magnetic flux lines will change accordingly compared to the induced current generated by the magnetic induction device when there is no one in the preset magnetic field. Due to differences in height, weight, body fat percentage, etc. among different users, the degree of attenuation of the magnetic flux lines in the preset magnetic field will vary from user to user, and accordingly, the induced current generated by the magnetic induction device will also be different. Based on this, the present application proposes a method for detecting user body fat. By detecting the induced current generated by the magnetic induction device when the user is in a preset magnetic field, the user's body fat is determined based on the induced current, thereby improving the accuracy of detecting the user's body fat. The following is a detailed introduction to the technical solution of the present application.

[0030] See also Figure 2 , Figure 2 A flow chart of a method for detecting body fat of a user provided in an embodiment of the present application, which method can be applied to the aforementioned weight scale / body fat scale or a terminal device that establishes a communication connection relationship with the weight scale / body fat scale, such as Figure 2 As shown, the method comprises the following steps:

[0031] S201, obtaining a first induced current.

[0032] Here, the first induced current is the induced current generated by the magnetic induction device in the preset magnetic field when the target user is in the preset magnetic field, wherein the preset magnetic field is generated by a magnetic field generating device corresponding to the magnetic induction device, and the magnetic induction device and the magnetic field generating device are located in the body fat detection device. The magnetic induction device corresponds to the magnetic field generating device, which means that the magnetic induction device is located in the preset magnetic field generated by the magnetic field generating device. Specifically, the body fat detection device can be the aforementioned weight scale / body fat scale.

[0033] The target user may be any user in the preset magnetic field. Specifically, the target user in the preset magnetic field may mean that the user is standing on the body fat detection device; alternatively, it may also mean that the distance between the target user and the body fat detection device is less than a preset distance threshold, wherein the preset distance threshold is determined by the magnetic field range generated by the magnetic field generating device.

[0034] In a feasible implementation, the induced current generated by the magnetic induction device based on the preset magnetic field can be obtained; after determining that the induced current generated by the magnetic induction device undergoes a process of changing from large to small, and remains unchanged within a preset time length, it is determined that the target user is in the preset magnetic field, and the induced current generated by the magnetic induction device within the preset time length is determined as the first induced current.

[0035] When someone is in the preset magnetic field, the magnetic flux lines in the preset magnetic field will attenuate due to the presence of the human body, causing the induced current generated by the magnetic induction device to decrease. This indicates that the target user is in the preset magnetic field. After the induced current changes from large to small, it remains unchanged for a period of time, indicating that the target user has been in the preset magnetic field during this period of time. Therefore, the induced current generated by the magnetic induction device within the preset time period is the current generated by the magnetic induction device when the target user is in the preset magnetic field, that is, the first induced current. By detecting whether the target user is in the preset magnetic field by detecting whether the induced current changes, it is possible to detect whether there is anyone in the magnetic field without adding additional detection components, which can have the effect of streamlining the device.

[0036] In another feasible implementation, when the device where the magnetic induction device and the magnetic field generating device are located is the aforementioned weight scale / body fat scale, it is also possible to determine whether the weight scale / body fat scale has obtained weight data, and determine the induced current generated by the magnetic induction device when the weight scale / body fat scale obtains weight data as the first induced current. When the weight scale / body fat scale obtains weight data (referring to the weight scale / body fat scale detecting weight), it means that there is someone on the weight scale / body fat scale, that is, the target user is in a preset magnetic field. Therefore, the induced current generated by the magnetic induction device when the weight scale / body fat scale obtains weight data is the current generated by the magnetic induction device when the target user is in the preset magnetic field, that is, the first induced current. By judging the weight measurement function of the weight scale / body fat scale, it is also possible to detect whether there is anyone in the magnetic field without adding additional detection components, which can have the effect of streamlining the device.

[0037] It should be understood that the implementation method of detecting whether the target user is in a preset magnetic field is not limited to the above content. In an optional implementation method, it can also be combined with physiological signal detection methods (such as detecting whether a physiological signal exists through a piezoelectric film sensor, and determining the induced current generated by the magnetic induction device when the physiological signal exists as the first induced current), infrared detection and other methods to detect whether there is a person in the magnetic field, so as to further improve the accuracy of the detection of whether there is a person. The specific detection method is not limited in this application.

[0038] S202: Determine the body fat of the target user according to the first induced current and a preset body fat detection model.

[0039] Here, the body fat detection model stores the correspondence between the user's body fat and the induced current. After the first induced current is obtained, the user's body fat corresponding to the first induced current can be determined as the user's body fat of the target user based on the first induced current and the correspondence between the user's body fat and the induced current.

[0040] In a feasible implementation, the corresponding relationship between the user's body fat and the induced current can be a functional relationship with height, weight and induced current as independent variables and the user's body fat as a dependent variable. After obtaining the first induced current, the weight data and height data of the target user can be obtained; the weight data, target height data and the first induced current of the target user are respectively substituted into the functional relationship to obtain the user's body fat of the target user.

[0041] Specifically, the functional relationship with height, weight and induced current as independent variables and user body fat as dependent variable can be as follows:

[0042]

[0043] Among them, a, b, c, d, e, f, g, h, i, and j are function constants, which are determined in advance through experiments, W is body weight, H is height, I is induced current, and F is body fat percentage.

[0044] After obtaining the target user's weight data, height data and first induced current, the target user's weight data is substituted into W in the above formula 1, the target user's height data is substituted into H in the above formula 1, and the first induced current is substituted into I in the above formula 1. The obtained F is the user's body fat.

[0045] In the above technical solution, the principle characteristic that different users have different attenuation degrees of magnetic flux lines in the magnetic field, and the induced current generated by the magnetic induction device is also different, by obtaining the first induced current, the induced current generated by the user in the preset magnetic field can be obtained, and then the user's body fat can be measured according to the first induced current and the body fat detection model that stores the corresponding relationship between the user's body fat and the induced current. Since the user's body fat is measured by measuring the induced current of the user in the preset magnetic field, non-contact measurement can be achieved, and non-contact measurement can avoid the occurrence of inaccurate measurement caused by biological contact, thereby improving the measurement accuracy.

[0046] Optionally, in some possible implementations, the first induced current may be calibrated to make the detection result more accurate. The above step S202 may further include the following steps:

[0047] Step a1, obtaining a second induced current.

[0048] Here, the second induced current is the induced current generated by the magnetic induction device when there is no one in the preset magnetic field.

[0049] In some possible scenarios, the maximum induced current generated by the magnetic induction device can be obtained as the second induced current. When there is no one in the preset magnetic field, the magnetic flux lines in the preset magnetic field pass through the magnetic induction device without attenuation. In this case, the induced current generated by the magnetic induction device is the largest. Therefore, the maximum induced current generated by the magnetic induction device is the induced current generated by the magnetic induction device when there is no one in the preset magnetic field. Determining the second induced current in this way can play a role in streamlining the device. In some other possible scenarios, the second induced current can be pre-set in the device where the magnetic induction device and the magnetic field generating device are located after being measured at the factory, and the second induced current can be obtained from the device where the magnetic induction device and the magnetic field generating device are located. In some other possible scenarios, when the device where the magnetic induction device and the magnetic field generating device are located is the aforementioned weight scale / body fat scale, it can also be determined whether the weight scale / body fat scale has obtained weight data, and the induced current generated by the magnetic induction device when the weight scale / body fat scale has not obtained weight data is determined as the second induced current. Not limited to the description here, in other scenarios, there may be other ways to obtain the second induced current. For example, the second induced current may be obtained in combination with physiological signal detection (such as detecting whether a physiological signal exists through a piezoelectric film sensor, and determining the induced current generated by the magnetic induction device when no physiological signal exists as the second induced current), infrared detection, etc., and this application does not impose any restrictions.

[0050] Step a2: correcting the first induced current according to the second induced current.

[0051] Since different magnetic field generating devices and magnetic induction devices generate different magnetic field intensities, the induced currents generated by the magnetic induction devices will also be different. In order to avoid slight differences, the first induced current needs to be calibrated so that the first induced current can be compatible with the magnetic induction device (hereinafter referred to as the experimental magnetic induction device) used in the process of determining the corresponding relationship between the user's body fat and the induced current.

[0052] In a feasible implementation, a preset induced current can be obtained, which is a predetermined induced current generated by a magnetic induction device in an unmanned state; the ratio of the preset induced current to the second induced current is used as a correction coefficient of the first induced current, and the correction coefficient is multiplied by the first induced current to obtain the corrected first induced current, and then based on the corresponding relationship between the user's body fat and the induced current, the user's body fat corresponding to the corrected first induced current is determined as the user's body fat of the target user.

[0053] Among them, the preset induced current is the induced current generated by the experimental magnetic induction device when there is no one in the magnetic field generated by the magnetic field generating device corresponding to the experimental magnetic induction device.

[0054] Specifically, when the corresponding relationship between the user's body fat and the induced current is a functional relationship with height, weight and induced current as independent variables and the user's body fat as a dependent variable, the above formula 1 can be transformed into the following formula:

[0055]

[0056] Wherein, I1 is the preset induction current, and I2 is the second induction current.

[0057] By using the ratio of the induced current in the magnetic field without anyone measured in the experiment to the induced current in the magnetic field without anyone measured in actual use as a correction coefficient, the interference caused by the difference between the magnetic induction device and the magnetic field generating device used in the experiment and the magnetic induction device and the magnetic field generating device used in actual application can be offset, so that the corrected first induced current is suitable for the body fat detection model, thereby improving the accuracy of the detection.

[0058] Optionally, in some possible implementations, the physical condition of the target user may also be determined based on the body fat of the target user. The above step S202 may further include the following steps:

[0059] Step b1, obtaining the gender data and age data of the target user.

[0060] Step b2, determining the standard body fat of the target user based on the gender data and age data of the target user.

[0061] Specifically, a preset standard body fat table can be obtained, which stores the correspondence between user gender, user age and standard body fat. Then, based on the gender data and age data of the target user, the standard body fat in the standard body fat table corresponding to the gender data and age data of the target user is determined as the standard body fat of the target user.

[0062] For example, a standard body fat table may be as follows:

[0063] age male female 18-20 14.3-18.9 23.2-29 21-25 15.4-21.2 25.5-29.6 28-30 18.1-22.3 31-35 19.2-23.4 26.1-31.5 36-40 20.2-24.4 26.7-32.1 41-45 22.8-26.6 28.8-32.7 46-50 23.9-27.7 29.4-34.4 51-55 25-28.7 30.1-35 56 and above 26-30.8 31.3-37.2

[0064] Step b3, measuring the physical condition of the target user based on the difference between the target user's body fat and the target user's standard body fat.

[0065] Specifically, one or more gap thresholds may be preset, and then the relationship between the gap between the target user's body fat and the target user's standard body fat and the multiple gap thresholds may be determined to determine the target user's physical condition.

[0066] For example, if the target user's body fat is less than the target user's standard body fat, and the difference between the target user's body fat and the target user's standard body fat is greater than a first difference threshold, the target user's physical condition is determined to be a thin state; if the difference between the target user's body fat and the target user's standard body fat is less than the first difference threshold, the target user's physical condition is determined to be a normal state; if the target user's body fat is greater than the target user's standard body fat, and the difference between the target user's body fat and the target user's standard body fat is greater than the first difference threshold, the target user's physical condition is determined to be an obese state.

[0067] By measuring the target user's physical condition based on the difference between the user's body fat and the standard body fat, it can be used to detect whether the user's physical condition is normal. In addition, different standard body fats are set for users of different ages and genders, which achieves a fine division of the user's standard body fat and can more accurately measure the user's physical condition.

[0068] Optionally, in some possible implementations, a corresponding exercise plan and / or diet plan may be generated for the target user based on the target user's body fat over a period of time. The above step S202 may further include the following steps: after obtaining the target user's body fat over a preset period, a diet plan and / or exercise plan may be generated for the target user based on the target user's body fat changes over the preset period.

[0069] Specifically, if the target user's body fat change in the preset period is an increase in body fat, a light diet plan can be generated for the target user to make the user's diet lighter and healthier, and an enhanced exercise plan can be generated for the target user to enhance the user's exercise; if the target user's body fat change in the preset period is body fat maintenance, the target user's current diet plan and / or exercise plan can be maintained; if the target user's body fat change in the preset period is a decrease in body fat, a normal diet plan can be generated for the user to enable the user to maintain a normal diet, and a simple exercise plan can be generated for the user, and the simple exercise plan is used to maintain the user's body fat at the current body fat.

[0070] Optionally, the aforementioned method of determining the user's physical condition can be combined to determine changes in the target user's physical condition within a preset period, and a diet plan and / or exercise plan can be generated for the target user based on the changes in the user's physical condition and body fat within the preset period.

[0071] After obtaining the target user's body fat changes and physical condition changes over a period of time, a diet plan or exercise plan is generated for the target user based on the target user's body fat changes and physical condition changes, which can maintain the user's body in a better state and make the user's life healthier.

[0072] The method of the present application is introduced above. In order to better implement the method of the present application, the device of the present application is introduced next.

[0073] See also Figure 3 , Figure 3 is a structural schematic diagram of a user body fat detection device provided in an embodiment of the present application, wherein the user body fat detection device can be the aforementioned weight scale / body fat scale or a terminal device that establishes a communication connection relationship with the weight scale / body fat scale, such as Figure 3 As shown, the device 30 includes:

[0074] The induced current acquisition module 301 is used to acquire a first induced current, where the first induced current is an induced current generated by a magnetic induction device in a preset magnetic field when the target user is in the preset magnetic field, wherein the preset magnetic field is generated by a magnetic field generating device corresponding to the magnetic induction device, and the magnetic induction device and the magnetic field generating device are located in the body fat detection device;

[0075] The body fat calculation module 302 is used to determine the user body fat of the above-mentioned target user according to the above-mentioned first induced current and a preset body fat detection model, wherein the above-mentioned body fat detection model stores the corresponding relationship between the user's body fat and the induced current.

[0076] In a possible design, the above correspondence is a functional relationship with height, weight and induced current as independent variables and user body fat as dependent variable; the body fat calculation module 302 is specifically used to: obtain the weight data and height data of the above target user; substitute the above weight data, the above height data and the above first induced current into the above functional relationship respectively to obtain the user body fat of the above target user.

[0077] In a possible design, the device further includes a correction module 303: used to obtain a second induced current, where the second induced current is the induced current generated by the magnetic induction device when there is no one in the preset magnetic field; and to correct the first induced current according to the second induced current.

[0078] In a possible design, the correction module 303 is specifically used to: obtain a preset induced current, which is a predetermined induced current generated by the magnetic induction device in an unmanned state; and use the ratio of the preset induced current to the second induced current as a correction coefficient of the first induced current to obtain the corrected first induced current.

[0079] In a possible design, the induced current acquisition module 301 is specifically used to: obtain the induced current generated by the magnetic induction device based on the preset magnetic field; if it is determined that the induced current generated by the magnetic induction device undergoes a process of changing from large to small and remains unchanged within a preset time, it is determined that the target user is in the preset magnetic field, and the induced current generated by the magnetic induction device within the preset time is determined as the first induced current.

[0080] In a possible design, the above-mentioned device also includes a state measurement module 304, which is used to obtain the gender data and age data of the above-mentioned target user; determine the standard body fat of the above-mentioned target user based on the above-mentioned gender data and the above-mentioned age data; and measure the physical state of the above-mentioned target user based on the difference between the body fat of the above-mentioned user and the above-mentioned standard body fat.

[0081] In a possible design, the device further includes a plan generation module 305, which is used to generate a diet plan and / or exercise plan for the target user according to changes in body fat of the target user within the preset period after obtaining the body fat of the target user within the preset period.

[0082] It should be noted that Figure 3 For the contents not mentioned in the corresponding embodiments, please refer to the description of the aforementioned method embodiments, which will not be repeated here.

[0083] The above device utilizes the principle that different users have different attenuation degrees of magnetic flux lines in a magnetic field, and the induced current generated by the magnetic induction device is also different. By acquiring the first induced current, the induced current generated by the user in a preset magnetic field can be acquired, and then the user's body fat can be measured based on the first induced current and a body fat detection model that stores the corresponding relationship between the user's body fat and the induced current. Since the user's body fat is measured by measuring the induced current of the user in a preset magnetic field, non-contact measurement can be achieved, and non-contact measurement can avoid the occurrence of inaccurate measurements caused by biological contact, thereby improving the accuracy of the measurement.

[0084] See also Figure 4 , Figure 4 4 is a schematic diagram of a computer device provided in an embodiment of the present application, wherein the computer device 40 includes a processor 401 and a memory 402. The processor 401 is connected to the memory 402, for example, the processor 401 may be connected to the memory 402 via a bus.

[0085] The processor 401 is configured to support the computer device 40 to perform the corresponding functions in the method in the above method embodiment. The processor 401 can be a central processing unit (CPU), a network processor (NP), a hardware chip or any combination thereof. The above hardware chip can be an application specific integrated circuit (ASIC), a programmable logic device (PLD) or a combination thereof. The above PLD can be a complex programmable logic device (CPLD), a field-programmable gate array (FPGA), a generic array logic (GAL) or any combination thereof.

[0086] The memory 402 is used to store program codes, etc. The memory 402 may include a volatile memory (VM), such as a random access memory (RAM); the memory 402 may also include a non-volatile memory (NVM), such as a read-only memory (ROM), a flash memory, a hard disk drive (HDD) or a solid-state drive (SSD); the memory 402 may also include a combination of the above-mentioned types of memories.

[0087] The processor 401 may call the program code to perform the following operations:

[0088] Obtaining a first induced current, the first induced current being an induced current generated by a magnetic induction device in a preset magnetic field when a target user is in the preset magnetic field, wherein the preset magnetic field is generated by a magnetic field generating device corresponding to the magnetic induction device, and the magnetic induction device and the magnetic field generating device are located in a body fat detection device;

[0089] The user body fat of the target user is determined according to the first induced current and a preset body fat detection model, wherein the body fat detection model stores a corresponding relationship between the user body fat and the induced current.

[0090] An embodiment of the present application further provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, wherein the computer program includes program instructions, and when the program instructions are executed by a computer, the computer executes the method described in the above embodiment.

[0091] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiments can be implemented by instructing the relevant hardware through a computer program, and the program can be stored in a computer-readable storage medium. When the program is executed, it can include the processes of the embodiments of the above-mentioned methods. The storage medium can be a disk, an optical disk, a read-only memory (ROM) or a random access memory (RAM).

[0092] The above disclosure is only the preferred embodiment of the present application, which certainly cannot be used to limit the scope of rights of the present application. Therefore, equivalent changes made according to the claims of the present application are still within the scope covered by the present application.

Claims

1. A method for detecting body fat of a user, It is characterized in that include: Obtaining a first induced current, where the first induced current is an induced current generated by a magnetic induction device in a preset magnetic field when a target user is in the preset magnetic field, wherein the preset magnetic field is generated by a magnetic field generating device corresponding to the magnetic induction device, and the magnetic induction device and the magnetic field generating device are located in a body fat detection device; Acquire a second induced current, where the second induced current is an induced current generated by the magnetic induction device when no one is in the preset magnetic field; Correcting the first induced current according to the second induced current; Obtaining a preset induced current, where the preset induced current is a predetermined induced current generated by the magnetic induction device in an unmanned state; Using the ratio of the preset induced current to the second induced current as a correction coefficient of the first induced current to obtain a corrected first induced current; The user body fat of the target user is determined according to the first induced current and a preset body fat detection model, wherein the body fat detection model stores a corresponding relationship between the user body fat and the induced current.

2. The method according to claim 1, It is characterized in that The corresponding relationship is a functional relationship with height, weight and induced current as independent variables and user body fat as dependent variable; The determining the body fat of the target user according to the first induced current and a preset body fat detection model includes: Obtaining weight data and height data of the target user; Substituting the weight data, the height data and the first induced current into the functional relationship respectively to obtain the user body fat of the target user specifically includes: Among them, a, b, c, d, e, f, g, h, i, and j are function constants, which are determined in advance through experiments, W is body weight, H is height, I is induced current, and F is body fat percentage.

3. The method according to any one of claims 1 to 2, It is characterized in that The obtaining of the first induced current comprises: Acquire an induced current generated by the magnetic induction device based on the preset magnetic field; If it is determined that the induced current generated by the magnetic induction device undergoes a process of changing from large to small and remains unchanged within a preset time period, it is determined that the target user is in the preset magnetic field, and the induced current generated by the magnetic induction device within the preset time period is determined as the first induced current.

4. The method according to any one of claims 1 to 2, It is characterized in that After determining the body fat of the target user according to the first induced current and a preset body fat detection model, the method further includes: Obtaining gender data and age data of the target user; Determine the standard body fat of the target user according to the gender data and the age data; The physical condition of the target user is measured by the difference between the user's body fat and the standard body fat.

5. The method according to any one of claims 1 to 2, It is characterized in that After determining the body fat of the target user according to the first induced current and a preset body fat detection model, the method further includes: After the body fat of the target user within a preset period is acquired, a diet plan and / or exercise plan is generated for the target user according to the body fat change of the target user within the preset period.

6. A user body fat detection device, It is characterized in that include: an induced current acquisition module, configured to acquire a first induced current, wherein the first induced current is an induced current generated by a magnetic induction device in a preset magnetic field when a target user is in the preset magnetic field, wherein the preset magnetic field is generated by a magnetic field generating device corresponding to the magnetic induction device, and the magnetic induction device and the magnetic field generating device are located in a body fat detection device; and acquire a second induced current, wherein the second induced current is an induced current generated by the magnetic induction device when no one is in the preset magnetic field; Correcting the first induced current according to the second induced current; obtaining a preset induced current, where the preset induced current is a predetermined induced current generated by the magnetic induction device in an unmanned state; using a ratio of the preset induced current to the second induced current as a correction coefficient of the first induced current to obtain a corrected first induced current; The body fat calculation module is used to determine the user body fat of the target user according to the first induced current and a preset body fat detection model, wherein the body fat detection model stores the corresponding relationship between the user body fat and the induced current.

7. A computer device, It is characterized in that The method comprises a memory and one or more processors, wherein the one or more processors are used to execute one or more computer programs stored in the memory, and when the one or more processors execute the one or more computer programs, the computer device implements the method according to any one of claims 1 to 5.

8. A computer-readable storage medium, It is characterized in that The computer-readable storage medium stores a computer program, wherein the computer program includes program instructions, and when the program instructions are executed by a processor, the processor is caused to perform the method according to any one of claims 1 to 5.