A kind of metabolic Forecasting Methodology and device
The invention name of the specification: metabolism prediction method and device technical field
[0001] The invention relates to the field of monitoring, in particular to a metabolism prediction method and a metabolism prediction device.
Background
[0002] The wireless urine wet alarm of the prior art, including the alarm casing, install alarm circuit board and to the alarm battery of alarm circuit board power supply in the alarm casing, the alarm casing is equipped with the urine wet sensor of being connected with alarm circuit board electricity outward, still include the alarm receiver, install the transmission circuit board in the alarm casing, be provided with the receiving circuit board of receiving transmission circuit board transmitting signal in the alarm receiver, install the receiver battery of supplying power to the receiving circuit board and the loudspeaker of receiving circuit board control in the alarm receiver, set firmly on the alarm receiver shell and hang and detain. The alarm receiver is also internally provided with a vibration motor controlled by the receiving circuit board. The wireless urine wet alarm has the advantages of reasonable structure, alarm and time saving, worry saving and labor saving, is beneficial to the healthy growth of people under guardianship, is suitable for people who can not take care of themselves due to large and small persons, and is particularly suitable for being used for keeping a baby.
[0003] The prior art has the following disadvantages: the alarm gives an alarm only after the diaper is sensed to be wet by the urine wet sensor, and the urine time of the person under guardianship cannot be predicted so that a caretaker can take a response measure in advance.
Technical problem
[0004] The invention provides a metabolism prediction method and a metabolism prediction device, and aims to solve the problem that the urine time of a monitored person cannot be predicted in the prior art.
Solution to the problem
Technical solution
[0005] In one aspect, the present invention provides a method for predicting metabolism, the method comprising:
[0006] acquiring a physical sign index of a user;
[0007] obtaining an initial metabolic parameter group according to the sign index;
[0008] acquiring a first water drinking amount of a user;
[0009] acquiring a first quantity of motion of a user;
[0010] acquiring a first expected urine time according to the first drinking water amount, the first motion amount and the initial metabolic parameter group; [0011] and sending out early warning prompts in advance according to the first expected urine time.
[0012] In a second aspect, the present invention provides a metabolism prediction apparatus, the apparatus comprising:
[0013] the first acquisition module is used for acquiring the physical sign index of the user;
[0014] the second acquisition module is used for acquiring an initial metabolic parameter set according to the sign index;
[0015] the third acquisition module is used for acquiring the first water drinking amount of the user;
[0016] the fourth acquisition module is used for acquiring the first quantity of motion of the user;
[0017] the first calculation module is used for acquiring a first expected urine time according to the first water drinking amount, the first motion amount and the initial metabolic parameter group;
[0018] and the first early warning module is used for sending out early warning prompts in advance according to the first expected urine time.
Advantageous effects of the invention
Advantageous effects
[0019] In the invention, the physical sign index of the user is firstly obtained; then obtaining an initial metabolic parameter group according to the sign index; then acquiring a first drinking amount and a first amount of exercise of the user; acquiring a first expected urine time interval according to the first water drinking amount, the first motion amount and the initial metabolic parameter group; finally, an early warning prompt is sent out according to the first expected urine time; therefore, the urine time of the person under guardianship is predicted, and the caretaker can take measures in advance.
Brief description of the drawings
Drawings
[0020] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings without creative efforts.
[0021] FIG. 1 is a flow chart of a method for predicting metabolism according to an embodiment of the present invention;
[0022] FIG. 2 is another flow chart of a method for predicting metabolism according to an embodiment of the present invention;
[0023] FIG. 3 is a schematic structural diagram of a metabolism prediction device according to a second embodiment of the present invention;
[0024] FIG. 4 is a schematic view of another embodiment of a metabolism prediction device according to the second embodiment of the present invention;
[0025] FIG. 5 is a schematic structural diagram of a third obtaining module of the metabolism predicting device according to the second embodiment of the present invention; 0026 fig. 6 is a schematic structural diagram of a fourth obtaining module of the metabolism predicting device according to the second embodiment of the present invention. Modes for carrying out the invention
[0027] In order to make the objects, technical solutions and advantages of the present invention more apparent, embodiments of the present invention will be described in detail with reference to the accompanying drawings.
[0028] The first embodiment is as follows:
[0029] the embodiment of the invention provides a metabolism prediction method, and referring to fig. 1, the metabolism prediction method comprises the following steps:
[0030] acquiring a sign index of a user 101.
[0031] In particular implementations, the vital signs index can include height and weight.
[0032] Obtaining an initial metabolic parameter set according to the sign index.
[0033] In a specific implementation, a two-dimensional table may be established first, where the two-dimensional table includes a physical sign index (such as height and weight) and an initial metabolic parameter set corresponding to the physical sign index, and then the initial metabolic parameter set corresponding to the physical sign index is obtained according to the two-dimensional table.
[0034] Acquiring a first drinking water amount of the user 103.
[0035] In a specific implementation, step 103 may include:
[0036] and A1, detecting the water pressure in a water cup held by a user through a pressure sensor, and outputting a corresponding pressure signal.
[0037] And B1, acquiring a first drinking water amount of the user according to the pressure signal.
[0038] In specific implementation, the pressure sensor can be arranged at the bottom of the cup, the pressure variation is obtained according to the pressure signal output by the pressure sensor, the variation of the water depth is obtained according to the pressure variation, and the water intake is obtained according to the variation of the water depth.
[0039] Acquiring a first quantity of motion of a user.
[0040] In a specific implementation, step 104 may include:
[0041] and A2, detecting the motion acceleration of the user through an acceleration sensor, and outputting a corresponding acceleration signal.
[0042] And B2, acquiring the first motion quantity of the user according to the acceleration signal.
[0043] The first amount of exercise and the second amount of exercise refer to the amount of heat consumed by the human body during the physical activity, and the amount of exercise is determined by the exercise intensity and duration of the exercise. [0044] In specific implementation, the acceleration of the human body can be obtained according to the acceleration signal, the motion intensity can be obtained according to the acceleration of the human body, and finally the amount of exercise can be obtained according to the motion intensity and the duration time.
[0045] Acquiring a first expected urine time according to the first drinking water amount, the first exercise amount and the initial metabolic parameter group
[0046] In particular implementations, the initial set of metabolic parameters may include a first initial metabolic parameter and a second initial metabolic parameter
Step 105 may specifically be:
[0047]obtaining a first predicted urinary time interval according to the following equation:
[0048]wherein 1 is the first expected urine time, and \ cutting \!is the first drinking water amount! In order for the first amount of motion,& 1is the first initial metabolic parameter! And ^ is a second initial metabolic parameter.
[0049] For example, when the first drinking water amount is 400 ml, the first exercise amount is 200 calories, the first metabolic parameter is 1 ml/calorie, and the second metabolic parameter is 4 ml/min, the first expected urination time interval can be calculated to be 50 minutes, that is, the person under guardianship can be expected to urinate after 50 minutes.
[0050] And 106, early warning prompt is sent out according to the first expected urine time.
[0051] In specific implementation, the early warning prompt can be sent out 5 minutes ahead of time according to the first expected urine time. For example, when the first expected urine interval is 50 minutes, the horn sounds an alarm after 45 minutes.
[0052] Optionally, as shown in fig. 2, step 107 to step 112 are further included after step 105.
[0053] And 107, acquiring the actual urine time intervals input by the user.
[0054] And 108, acquiring an actual metabolic parameter group according to the actual urine time intervals.
[0055] In a specific implementation, the actual metabolic parameter set may include a first actual metabolic parameter and a second actual metabolic parameter
Step 108 may specifically be:
[0056] obtaining the actual metabolic parameter group according to the following formula:
[0057]
[0058]wherein t is an actual urine time, W is a water drinking amount corresponding to the actual urine time, y is an exercise amount corresponding to the actual urine time, and a2Is the first actual metabolic parameter, 1^ c2Is the second actual metabolic parameter.
[0059] And 109, acquiring a second water intake of the user.
[0060] Acquiring a second quantity of motion of the user 110.
[0061] And 111, acquiring a second predicted urine time according to the second water intake, the second exercise amount and the actual metabolic parameter group
[0062] In a specific implementation, step 111 may specifically be:
[0063] obtaining a second predicted urinary time interval according to the following equation:
[0064]
[0065]wherein, 1^ a2For the second expected urine time, turning on/off2Is the second water intake, y2For the second amount of motion,& 2as the first actual metabolic parameter, 152Is the second actual metabolic parameter.
[0066] And 112, early warning prompt is sent out according to the second expected urine time.
[0067] The beneficial effects of steps 107 to 112 are as follows: by obtaining the actual urine time intervals for a plurality of times and obtaining the actual metabolic parameter set according to the actual urine time intervals for a plurality of times, the value of the metabolic parameter set according with the actual condition of the user is obtained, and the second expected urine time interval is calculated more accurately.
[0068] The embodiment first obtains the sign index of the user; then obtaining an initial metabolic parameter group according to the sign index; then acquiring a first drinking amount and a first amount of exercise of the user; acquiring a first expected urine time according to the first drinking water amount, the first exercise amount and the initial metabolic parameter group; finally, early warning prompts are sent out in advance according to the first expected urine time; therefore, the urine time of the person under guardianship is predicted, and the caretaker can take corresponding measures in advance.
[0069] Example two:
[0070] in a second embodiment of the present invention, as shown in fig. 3, the metabolism prediction apparatus 30 includes a first obtaining module 310, a second obtaining module 320, a third obtaining module 330, a fourth obtaining module 340, a first calculating module 350, and a first warning module 360.
[0071] A first obtaining module 310, configured to obtain a sign index of a user.
[0072] A second obtaining module 320, configured to obtain an initial set of metabolic parameters according to the sign index. [0073] And a third obtaining module 330, configured to obtain the first drinking water amount of the user.
[0074] The fourth obtaining module 340 is configured to obtain the first amount of motion of the user.
[0075] The first calculating module 350 is configured to obtain a first expected urine time according to the first drinking water amount, the first exercise amount, and the initial metabolic parameter group.
[0076] In a specific implementation, the initial metabolic parameter group may include a first initial metabolic parameter and a second initial metabolic parameter, and the process of the first calculating module obtaining the first pre-programmed time interval according to the first water consumption amount, the first motion amount, and the initial metabolic parameter group may specifically be:
[0077] obtaining a first predicted urinary time interval according to the following equation:
[0078]
[0079]wherein 1 is the first expected urine time, and \ cutting \!is the first drinking water amount! In order for the first amount of motion,& 1is the first initial metabolic parameter! And ^ is a second initial metabolic parameter.
[0080] The first early warning module 360 is configured to send an early warning prompt in advance according to the first expected urine interval.
[0081] Optionally, as shown in fig. 4, the metabolism prediction apparatus 40 further includes a fifth obtaining module 370, a second calculating module 380, a sixth obtaining module 390, a seventh obtaining module 3100, a third calculating module 3110 and a second pre-alarm module 3120.
[0082] A fifth obtaining module 370, configured to obtain actual urine inches input by the user for multiple times.
[0083] The second calculating module 380 is configured to obtain the actual set of metabolism parameters according to multiple actual urine inches.
[0084] In a specific implementation, the actual metabolic parameter set may include a first actual metabolic parameter and a second actual metabolic parameter
The process of acquiring the actual metabolic parameter set by the second calculation module according to the multiple actual urine inches specifically comprises the following steps: [0085] the actual set of metabolic parameters was obtained according to the following equation:
[0086]
[0087]wherein t is an actual urine time, W is a water drinking amount corresponding to the actual urine time, y is an exercise amount corresponding to the actual urine time, and a2Is the first actual metabolic parameter, 1^ c2Is the second actual metabolic parameter。[0088]And a sixth obtaining module 390 for obtaining the second water intake of the user.
[0089] A seventh obtaining module 3100 for obtaining a second amount of user motion.
[0090] And a third calculating module 3110, configured to obtain a second expected urinary time interval according to the second water intake amount, the second exercise amount, and the actual metabolic parameter group.
[0091] In a specific implementation, the process of acquiring the second predicted urine time by the third calculation module according to the second water intake, the second motion amount and the actual metabolic parameter group may specifically be:
[0092] obtaining a second predicted urinary time interval according to the following equation:
[0093]
[0094]wherein, 1^ a2For the second expected urine time, turning on/off2The water intake is the second water intake,2for the second amount of motion,&2as the first actual metabolic parameter, 152Is the second actual metabolic parameter.
[0095] And the second early warning module 3120 is configured to issue an early warning prompt in advance according to the second expected urine interval.
[0096] As shown in fig. 5, the third acquiring module 330 includes a first detecting unit 331 and a first acquiring unit 332
[0097] The first detecting unit 331 is configured to detect a water pressure in a water cup held by a user through a pressure sensor, and output a corresponding pressure signal.
[0098] A first obtaining unit 332, configured to obtain a first drinking water amount of the user according to the pressure signal.
[0099] As shown in fig. 6, the fourth obtaining module 340 includes a second detecting unit 341 and a second obtaining unit 342
[0100] The second detecting unit 341 is configured to detect the motion acceleration of the user through the acceleration sensor, and output a corresponding acceleration signal.
[0101] A second obtaining unit 342 for obtaining the first motion amount of the user according to the acceleration signal.
[0102] The embodiment first obtains the sign index of the user; then obtaining an initial metabolic parameter group according to the sign index; then acquiring a first drinking amount and a first amount of exercise of the user; acquiring a first expected urine time according to the first drinking water amount, the first exercise amount and the initial metabolic parameter group; finally, early warning prompts are sent out in advance according to the first expected urine time; therefore, the urine time of the person under guardianship is predicted, and the caretaker can take measures in advance.
[0103] The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
[0104] It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program instructing relevant hardware, where the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
[0105] The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like that fall within the spirit and principle of the present invention are intended to be included therein.