CN114420246A - Data processing method, device, server and storage medium - Google Patents

Data processing method, device, server and storage medium Download PDF

Info

Publication number
CN114420246A
CN114420246A CN202210069783.3A CN202210069783A CN114420246A CN 114420246 A CN114420246 A CN 114420246A CN 202210069783 A CN202210069783 A CN 202210069783A CN 114420246 A CN114420246 A CN 114420246A
Authority
CN
China
Prior art keywords
heat consumption
value
total
target
consumption value
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210069783.3A
Other languages
Chinese (zh)
Inventor
柯波
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
DO Technology Co ltd
Original Assignee
DO Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by DO Technology Co ltd filed Critical DO Technology Co ltd
Priority to CN202210069783.3A priority Critical patent/CN114420246A/en
Publication of CN114420246A publication Critical patent/CN114420246A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G16INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
    • G16HHEALTHCARE INFORMATICS, i.e. INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR THE HANDLING OR PROCESSING OF MEDICAL OR HEALTHCARE DATA
    • G16H20/00ICT specially adapted for therapies or health-improving plans, e.g. for handling prescriptions, for steering therapy or for monitoring patient compliance
    • G16H20/30ICT specially adapted for therapies or health-improving plans, e.g. for handling prescriptions, for steering therapy or for monitoring patient compliance relating to physical therapies or activities, e.g. physiotherapy, acupressure or exercising
    • GPHYSICS
    • G16INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
    • G16HHEALTHCARE INFORMATICS, i.e. INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR THE HANDLING OR PROCESSING OF MEDICAL OR HEALTHCARE DATA
    • G16H10/00ICT specially adapted for the handling or processing of patient-related medical or healthcare data
    • G16H10/60ICT specially adapted for the handling or processing of patient-related medical or healthcare data for patient-specific data, e.g. for electronic patient records
    • GPHYSICS
    • G16INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
    • G16HHEALTHCARE INFORMATICS, i.e. INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR THE HANDLING OR PROCESSING OF MEDICAL OR HEALTHCARE DATA
    • G16H50/00ICT specially adapted for medical diagnosis, medical simulation or medical data mining; ICT specially adapted for detecting, monitoring or modelling epidemics or pandemics
    • G16H50/30ICT specially adapted for medical diagnosis, medical simulation or medical data mining; ICT specially adapted for detecting, monitoring or modelling epidemics or pandemics for calculating health indices; for individual health risk assessment

Abstract

The embodiment of the invention provides a data processing method, a data processing device, a server and a storage medium, relates to the technical field of software, is applied to the server, is in communication connection with a terminal corresponding to a user, and comprises the following steps: acquiring heat consumption data of a user monitored by a terminal; responding to a starting instruction, and acquiring a first heat consumption total value of a user within a first set statistical time period within a set period by a first moment based on heat consumption data; determining a heat difference value based on a preset target heat consumption value and a first total heat consumption value, determining at least one activity mode and activity duration corresponding to the activity mode according to the heat difference value, and sending the determined activity mode and activity duration to a terminal for displaying; counting a second heat consumption total value of the user in a first set counting time period at a second moment, wherein the second heat consumption total value is larger than the first heat consumption total value; and if the second heat consumption total value is smaller than the target heat consumption value, adjusting the target heat consumption value in a second set statistical time interval in the set period.

Description

Data processing method, device, server and storage medium
Technical Field
The invention relates to the technical field of software, in particular to a data processing method, a data processing device, a server and a storage medium.
Background
Overweight and obese scheduling problem has puzzled many people always, along with the popularization of intelligent wearing equipment, people can help oneself to carry out the monitoring and the management of motion through intelligent wearing equipment to reach the purpose of reducing fat.
However, in the prior art, the fat-reducing activity of the user is mainly guided by a mode of 'special time + special sports', and the mode is mechanized and not flexible enough.
Disclosure of Invention
In order to solve the above problems, the present invention provides a data processing method, apparatus, server and storage medium, so as to at least partially improve the flexibility of a user fat reduction scheme, add a user fat reduction option, and enrich fat reduction content.
Embodiments of the invention may be implemented as follows:
in a first aspect, the present invention provides a data processing method applied to a server, where the server is in communication connection with a terminal corresponding to a user, and the method includes:
acquiring heat consumption data of a user monitored by the terminal;
responding to a starting instruction, and acquiring a first heat consumption total value of the user in a first set statistical time period in a set period by a first moment based on the heat consumption data; the first moment is the moment when the starting instruction is received;
determining a heat difference value based on a preset target heat consumption value and the first total heat consumption value, determining at least one activity mode and activity duration corresponding to the activity mode according to the heat difference value, and sending the determined activity mode and activity duration to the terminal for displaying;
counting a second heat consumption total value of the user in the first set counting time period at a second moment, wherein the second heat consumption total value is larger than the first heat consumption total value; the second time is later than the first time;
and if the second heat consumption total value is smaller than the target heat consumption value, adjusting the target heat consumption value of a second set statistical time interval in the set period, wherein the second set statistical time interval is a statistical time interval in the set period except for the first set statistical time interval.
Optionally, before the acquiring, in response to a start instruction, a first total calorie consumption value of the user within a first set statistical period within a set period by a first time based on the calorie consumption data, the method further includes:
the step of determining the target heat consumption value and the set period specifically includes:
acquiring basic information and a total heat consumption target of the user based on the terminal;
determining a calorie intake value of the user in the first set statistical period and the target heat consumption value based on the basic information;
determining the set period based on the total calorie consumption target, the calorie intake value, and the target calorie consumption value.
Optionally, if the second total heat consumption value is smaller than the target heat consumption value, adjusting the target heat consumption value in a second set statistical time period in the set period includes:
determining a remaining caloric consumption value based on the caloric consumption total target and the second caloric consumption total value;
and adjusting the target heat consumption value of a second set statistical time interval in the set period based on the residual heat consumption value and the set period residual time length to obtain the adjusted target heat consumption value.
Optionally, the method further comprises:
and the range of the target heat consumption value of a second set statistical time interval in the set period is within +/-X% of the target heat consumption value before adjustment, and X belongs to R.
Optionally, the determining at least one activity manner and an activity duration corresponding to the activity manner according to the heat difference, and sending the determined activity manner and activity duration to the terminal for displaying includes:
calculating a difference value between the preset target heat consumption value and the first total heat consumption value to obtain a heat difference value;
and when the target heat consumption value is larger than the first total heat consumption value, determining at least one activity mode and activity duration corresponding to the activity mode from a preset activity efficiency table according to the heat difference value, and sending the activity mode and the activity duration corresponding to the activity mode to the terminal for displaying.
Optionally, the activity mode includes:
fast walking, jogging, swimming, riding, ball, and housework.
Optionally, the method further comprises:
acquiring a total heat consumption target modification instruction from the user based on the terminal;
and modifying the heat consumption total target according to the heat consumption total target modification instruction.
In a second aspect, the present invention provides a data processing apparatus, applied to a server, where the server is in communication connection with a terminal corresponding to a user, the apparatus including:
the heat consumption data acquisition unit is used for acquiring heat consumption data of the user monitored by the terminal;
a first total calorie consumption value acquisition unit, configured to acquire, in response to a start instruction, a first total calorie consumption value of the user within a first set statistical period within a set cycle by a first time based on the calorie consumption data; the first moment is the moment when the starting instruction is received;
the activity mode determining unit is used for determining a heat difference value based on a preset target heat consumption value and the first total heat consumption value, determining at least one activity mode and activity duration corresponding to the activity mode according to the heat difference value, and sending the determined activity mode and activity duration to the terminal for displaying;
a second total calorie consumption value acquiring unit, configured to count a second total calorie consumption value of the user in the first set counting period at a second time, where the second total calorie consumption value is greater than the first total calorie consumption value; the second time is later than the first time;
and a target heat consumption value adjusting unit, configured to adjust a target heat consumption value in a second set statistical time period within the set period if the second total heat consumption value is smaller than the target heat consumption value, where the second set statistical time period is a statistical time period other than the first set statistical time period within the set period.
In a third aspect, the present invention provides a server, comprising: memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the steps of any of the methods described above when executing the program.
In a fourth aspect, the present invention provides a computer-readable storage medium, which includes a computer program, where the computer program controls a server where the computer-readable storage medium is located to implement the steps of any one of the above methods when the computer program runs.
The beneficial effects of the embodiment of the invention include, for example:
when a starting instruction is received, a first total calorie consumption value of a current user in a first set statistical time period in a set period is obtained, the first total calorie consumption value is compared with a preset target calorie consumption value, a plurality of activity modes are recommended to the user according to the comparison result, and the activity modes in a user fat-reducing plan are increased.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the embodiments will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present invention and therefore should not be considered as limiting the scope, and for those skilled in the art, other related drawings can be obtained according to the drawings without inventive efforts.
Fig. 1 is a schematic structural diagram of a server according to an embodiment of the present invention;
FIG. 2 is a flowchart illustrating steps of a data processing method according to an embodiment of the present invention;
FIG. 3 is a flow chart illustrating sub-steps of a data processing method according to an embodiment of the present invention;
fig. 4 is a schematic diagram of a terminal display interface according to an embodiment of the present invention;
fig. 5 is a schematic diagram of interaction between a server and a terminal device according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of a data processing apparatus according to an embodiment of the present invention.
Icon: 100-a server; 110-a memory; 120-a processor; 130-a communication module; 300-a data processing apparatus; 301-caloric consumption data acquisition unit; 302-first total heat consumption value acquisition unit; 303-an activity mode determination unit; 304-a second total heat consumption value obtaining unit; 305-target heat consumption value adjusting unit.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. The components of embodiments of the present invention generally described and illustrated in the figures herein may be arranged and designed in a wide variety of different configurations.
Thus, the following detailed description of the embodiments of the present invention, presented in the figures, is not intended to limit the scope of the invention, as claimed, but is merely representative of selected embodiments of the invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, it need not be further defined and explained in subsequent figures.
Furthermore, the appearances of the terms "first," "second," and the like, if any, are used solely to distinguish one from another and are not to be construed as indicating or implying relative importance.
It should be noted that the features of the embodiments of the present invention may be combined with each other without conflict.
Referring to fig. 1, a block diagram of a server 100 provided by the present application is shown, which includes a memory 110, a processor 120 and a communication module 130. The memory 110, the processor 120, and the communication module 130. The various elements are directly or indirectly electrically connected to one another to enable data transfer or interaction. For example, the components may be electrically connected to each other via one or more communication buses or signal lines.
The memory 110 is used to store programs or data. The Memory 110 may be, but is not limited to, a Random Access Memory (RAM), a Read Only Memory (ROM), a Programmable Read-Only Memory (PROM), an Erasable Read-Only Memory (EPROM), an electrically Erasable Read-Only Memory (EEPROM), and the like.
The processor 120 is used to read/write data or programs stored in the memory and perform corresponding functions.
The communication module 130 is configured to establish a communication connection between the server and another communication terminal through the network, and to transceive data through the network.
It should be understood that the configuration shown in fig. 1 is merely a schematic diagram of the configuration of the server 100, and that the server 100 may include more or less components than those shown in fig. 1, or have a different configuration than that shown in fig. 1. The components shown in fig. 1 may be implemented in hardware, software, or a combination thereof.
In practical situations, the server 100 may be in communication connection with a terminal corresponding to a user, and obtain information and data of the user through the terminal; the server 100 may also be in communication connection with a terminal having a human-computer interface and a sensing device, respectively, to obtain user-defined content through the human-computer interface, and obtain user information and data through the sensing device. For example: server-smart phone-smart wearable device. The user can operate APP in the intelligent wearable device through the smart phone to achieve human-computer interaction, and the intelligent wearable device can acquire health data of the user.
Overweight and obesity refer to abnormal or excessive fat accumulation that can impair health. Body Mass Index (BMI) is a convenient index of high differential body weight, and is commonly used to classify overweight and obesity in adults. The world health organization has the following numbers for global estimation: in 2016, over 19 hundred million adults over 18 years of age (inclusive) are overweight, with over 6.5 million people obese; in 2016, 39% of adults 18 years old and older (39% male, 40% female) were overweight; overall, approximately 13% of adults worldwide (11% in men, 15% in women) were obese at 2016. The global prevalence of obesity has nearly tripled between 1975 and 2016. Overweight and obesity are significant risk factors for non-infectious diseases, such as: cardiovascular disease (mainly heart disease and stroke), which was the first cause of death in 2012; diabetes mellitus; musculoskeletal disorders (particularly osteoarthritis-a highly disabling degenerative disease of the joints); certain cancers (including endometrium, breast, ovary, prostate, liver, gall bladder, kidney, and colon), and the like.
Therefore, how to reasonably and effectively perform fat-reducing activities is a health problem which many people need to solve urgently at present. Along with intelligent wearing equipment is more and more popularized, it except can receiving the information and the phone of cell-phone, can also carry out daily health monitoring like rhythm of the heart, sleep to and help the user to carry out the monitoring and the management of motion, it is the important application scene of the fat reduction mode among the prior art to utilize intelligent wearing equipment and relevant APP nature to subtract fat, control weight. However, in the current scheme, users are mainly allowed to control diet and are required to execute the prearranged exercise courses (indoor fitness, running and the like) according to a set plan, namely a 'special time + special exercise' mode. The method can provide the operation guidance of fat reduction for the user to a certain extent, but the current proposal has the following defects:
1. the training plan is rigid in installation and lacks elasticity. For example, exercise courses are scheduled on monday/three/five/day, but there are cases in real life where exercise courses cannot be executed as planned, for example: on business trips, overtime work, etc., resulting in the user not being able to complete the planning completely.
2. Scheduled athletic workout content lacks flexibility, such as a running course scheduled today, but cannot be performed due to weather (rain); or indoor fitness is arranged today, the user does not have fitness but does other sports (such as swimming, mountain climbing and the like), and the current scheme cannot intelligently cover the situation.
3. The accuracy is low. After a user misses a certain day of exercise courses, the current scheme cannot add the deficit margin into the subsequent plan arrangement, that is, the fault tolerance (compatibility) of the current method to the missed exercise arrangement scene is low, and the deviation between exercise consumption estimated by the fat-reducing plan theory and an actual execution plan is large, so that the accuracy of final exercise consumption fat reduction is low.
In order to solve the problems, the invention provides a data processing method which is applied to a server, wherein the server is in communication connection with a terminal corresponding to a user. Referring to fig. 2, fig. 2 is a schematic flow chart of the data processing method provided in the present embodiment, which includes the following steps:
step S120: and acquiring the heat consumption data of the user monitored by the terminal.
Step S130: responding to a starting instruction, and acquiring a first heat consumption total value of the user in a first set statistical time period in a set period by a first moment based on the heat consumption data; the first time is the time when the starting instruction is received.
Step S140: determining a heat difference value based on a preset target heat consumption value and the first total heat consumption value, determining at least one activity mode and activity duration corresponding to the activity mode according to the heat difference value, and sending the determined activity mode and activity duration to the terminal for displaying.
Step S150: counting a second heat consumption total value of the user in the first set counting time period at a second moment, wherein the second heat consumption total value is larger than the first heat consumption total value; the second time is later than the first time.
Step S160: and if the second heat consumption total value is smaller than the target heat consumption value, adjusting the target heat consumption value of a second set statistical time interval in the set period, wherein the second set statistical time interval is a statistical time interval in the set period except for the first set statistical time interval.
In step S120, the terminal may be an intelligent wearable device equipped with a sensor and having a human-computer interaction interface, such as an intelligent bracelet with a touch screen and a motion monitoring device, an intelligent watch, and the like; the terminal can also be two independent devices, wherein one device can carry out human-computer interaction, and the other device can carry out real-time monitoring on human body data. The caloric consumption data may be the amount of calories consumed by the user in various activities. The terminal provided with the sensor monitors the heat consumption data of the user in real time so as to be acquired by the server side in real time or acquired according to a preset frequency.
In step S130, the start instruction may be an activation instruction of the user, or may be a self-start at a fixed time preset in the server. The first set statistical period and the second set statistical period may be a day, a week, etc., and are not particularly limited herein. When receiving a starting instruction, the server starts to count the total heat value consumed by the user in a set counting period.
Taking the starting instruction as the activating instruction of the user and the first set statistical time interval as one day as an example: if the user turns on the APP (i.e. sends a starting instruction) on the mobile phone at 12 pm (i.e. the first time) of a certain day, at the moment of starting the APP, the server counts the heat value consumed by the user from 0 pm to 12 pm on the same day, i.e. a first total heat consumption value, through the intelligent wearable device on the user.
Optionally, before, in response to the start instruction, acquiring, based on the heat consumption data, a first total heat consumption value of the user in a first set statistical time period in a set period by the first time, the embodiment of the present invention further includes step S110: a step of determining a target heat consumption value and setting a period, which includes the following sub-steps as shown in fig. 3:
substep S111: and acquiring basic information of the user and a total heat consumption target based on the terminal.
Substep S112: and determining the heat intake value of the user in the first set statistical time period and the target heat consumption value based on the basic information.
Substep S113: determining the set period based on the total calorie consumption target, the calorie intake value, and the target calorie consumption value.
For substep S111, the user 'S basic information may include the user' S profile such as height, weight, gender, name, etc., and the total goal of caloric consumption may be a fat reduction plan for the user, such as 3 kg fat reduction, 1 kg fat reduction, etc.
In an actual situation, a user can enter basic information and a total heat consumption target based on an APP and the like through a terminal interface such as a touch screen of a mobile phone or an intelligent wearable device, so that a server can acquire the basic information and the total heat consumption target. Some calorie consumption values corresponding to the user basic information may be set in advance in the server, and according to the correspondence, the server may determine the calorie intake value and the target consumed calorie value based on the basic information.
Generally, about 7700 kilocalories of energy are contained in one kilogram of fat, i.e., 7700 kilocalories of energy must be consumed in the body by reducing one kilogram of fat. The definition of the world health organization for basal metabolism is: after 10-12 hours of fasting and good sleep, waking and lying on the back, under the constant temperature condition (22-26 ℃), no physical activity and nervous thinking activity exist, muscles of the whole body are relaxed, and energy is consumed in unit time, and at the moment, the energy is only used for maintaining the most basic life activities such as body temperature, heart beating, respiration, functions of various organs and cells.
The formula for calculating the basal metabolism given by the world health organization is as follows (unit: kcal):
age (age) Female with a view to preventing the formation of wrinkles Male sex
18-30 years old 14.6x body weight (kg) +450 15.2x body weight (kg) +680
31-60 years old 8.6x body weight (kg) +830 11.5x body weight (kg) +830
Over 60 years old 10.4x body weight (kg) +600 13.4x body weight (kg) +490
During normal weight maintenance, a person ingests approximately 140% to 160% of the caloric intake of the diet per day, based on the basal metabolic calories. During the period of fat loss, the dietary intake of calories needs to be reduced (less than usual), and the intake of dietary calories is about 100% to 120% of basal metabolism.
In practical situations, a person's daily caloric intake value may be set as the product of the base metabolic caloric value and the dietary intake caloric coefficient. The dietary intake caloric coefficient is related to gender and weight, and can be set as the following relation:
Figure BDA0003481658970000121
Figure BDA0003481658970000131
during the process of fat loss, the user will intake less calories than the total calories consumed by his basal metabolic and activity expenditure. Therefore, the heat buffering difference value can be set according to the weight and the sex of the user so as to ensure the health of the human body.
As an alternative embodiment, the thermal buffer difference (in kcal) may be as shown in the following table:
body weight (kg) Female with a view to preventing the formation of wrinkles Male sex
<=60 580 710
(60~80] 650 780
(80~100] 710 860
For example, if the set statistical period is one day, the basic information of the user a is: female, height 1.65m, weight 68 kg, age 35 years, user a's daily caloric buffer difference is 650 kcal, basal metabolic caloric is:
8.6X 68+830 Kcal 1415 Kcal
Caloric intake values were: 1415 × 1.13 ═ 1599 kcal
The total activity amount required by the user every day is the total caloric consumption target, and the target caloric consumption value can be the sum of the daily intake value of the user and the caloric buffer difference value, minus the caloric value consumed by the basic metabolism, so the target caloric consumption value of the user a is:
1599+650 cost 1415 834 Kcal
Then, user a has a caloric intake value of 1599 kcal and a target consumption caloric value of 834 kcal.
Alternatively, the ratio (unit: kilocalories) of the heat value corresponding to the total target of heat consumption to the target consumed heat value may be set as the set period. In practical implementation, the set period can be set as day, week, month, etc. according to practical situations, and only the time unit conversion is needed for the set period.
Still taking user a above as an example, if user a sets a total target for caloric consumption of 3 kg (i.e. 23100 kcal), the set period may be total target for caloric consumption/target caloric consumption value of 23100 ÷ 834 ≈ 28 days/1 month/4 weeks.
The above embodiment is only one of various optional embodiments in this specification, and each value and each corresponding relationship may be set according to an actual situation.
In step S140, after the start instruction is obtained from the terminal, one or more activity modes and activity duration corresponding to the activity modes may be determined according to a difference between a preset target heat consumption value and a counted total heat consumption amount (a first total heat consumption value) up to the present, and the determined activity modes and activity duration may be sent to the terminal for display, so as to guide the user to perform the next activity to achieve the purpose of reducing fat. The activity may be fast walking, jogging, swimming, riding, ball and housework, etc.
Alternatively, when the target heat consumption value is greater than the first total heat consumption value, at least one of the activity mode and the activity duration may be determined through a preset activity efficiency table according to a difference value between a preset target heat consumption value and the first total heat consumption value, that is, a heat difference value. An activity efficiency table is provided for this specification, as shown in the following table:
Figure BDA0003481658970000151
Figure BDA0003481658970000161
if the user opens the APP, the first total heat consumption value is 300 kcal, the preset target heat consumption value is 800 kcal, and the heat difference value is 500 kcal, it may be determined that: the method comprises the following steps of (1) quickly walking for 60 minutes, or jogging for 30 minutes, or swimming for 30 minutes, or riding for 30 minutes, or playing balls for 30 minutes, and sending corresponding activity duration to a terminal for display; the combined activities of fast walking for 40 minutes + riding for 15 minutes, or ball for 20 minutes + jogging for 15 minutes can be determined and sent to the terminal for display. Please refer to fig. 4, which is a terminal display interface provided in the embodiments of the present disclosure.
In steps S150 and S160, when each set statistic time period ends, the server performs statistics on the final consumed total heat value (i.e. the final total heat consumption value) of the user in the set statistic time period at a preset time, for example, at a second time of the first set statistic time period, the server performs statistics on a second total heat consumption value of the user in the first set statistic time period. If the final total heat consumption value is smaller than the target heat consumption value, that is, the target heat consumption value is not reached, the target heat consumption value of the remaining set statistical time period in the set period needs to be adjusted to guide the user to complete the total heat consumption target of the set period.
Still taking the set statistical period as one day as an example, if the preset time is 24 o' clock, the set period is one month, the target heat consumption value of the user B is 800 kcal, and the second total heat consumption value of the day is 600 kcal, the target heat consumption value is not reached, the server will add the heat value of 200 kcal which is not reached into the total heat consumption target again, and readjust the target heat consumption values of the rest set statistical periods (including the second set statistical period) of the user B according to the number of remaining days in the set period.
Optionally, in each set statistical time period, when the server monitors that the heat consumption value of the user reaches the target heat consumption value in real time or according to a preset frequency, the terminal may be controlled to remind the user, where the reminding manner may be vibration, voice prompt, ring setting, or the like.
As an alternative embodiment, when the target heat consumption value is adjusted, the adjustment may also be performed in units of weeks, for example: setting the period as 1 month, wherein the total heat consumption value of the user C in the first Monday week is 300 kilocalories of the target heat consumption value, when the set statistical time period of the Monday week is over, the target heat consumption value from Tuesday to Sunday can be readjusted, and if the user C in Sunday does not complete the target heat consumption value, the remaining unfinished heat consumption value of the week of the user C is cleared and is not accumulated into the heat consumption target of the next week.
Alternatively, the remaining calorie consumption value may be determined from the calorie consumption total target and the difference of the total value of the calories consumed in the set period. The ratio of the remaining calorie consumption value to the set period of time remaining in the cycle may be used as the adjusted target calorie consumption value, i.e., the target calorie consumption value for the set period of time remaining in the cycle (including the second set statistical period).
For example: setting a cycle as one week, setting a statistical time interval as one day, setting a preset time as 24 click, setting a total heat consumption target as 5600 kilocalories, and setting a target heat consumption value as 800 kilocalories. If the total calorie consumption value of the user D monday is 200 kcal, then the difference value of 600 kcal is evenly distributed to the target calorie consumption values of tuesday to sunday at 24 monday, that is, the target calorie consumption values of tuesday to sunday are adjusted to 900 kcal, and so on.
Optionally, in order to ensure that the adjusted target heat consumption value is user-achievable and beneficial to health, therefore, the range of the adjusted target heat consumption value is controlled to be within ± X% of the target heat consumption value before adjustment, X ∈ R, that is, X may be set to any real number, and when the worker actually operates, the worker may set X according to an actual situation, which is not limited herein. For example: if the target heat consumption value is 600 kcal and X is 20, the adjusted target heat consumption value (unit: kcal) should be maintained between [480,720] in a set period, and if the adjusted target heat consumption value is greater than 720 kcal after calculation, 720 kcal is taken as the adjusted target heat consumption value.
Optionally, when the user thinks that the user cannot complete the total heat consumption target set by the user, the user can modify the total heat consumption target through the human-computer interaction interface and send a total heat consumption target modification instruction. And the server receives the total heat consumption target modification instruction and modifies the total heat consumption target according to the total heat consumption target modification instruction content.
In order to better explain the scheme, the present specification provides a schematic interaction diagram between a server and a terminal device as shown in fig. 5, and provides the following embodiments to further explain the scheme.
Please refer to fig. 5, the server may be a cloud server, the smart terminal may be a terminal device such as a smart phone, and the smart wearable device may be a smart band, a smart watch, or the like. When the data processing method provided by the specification is executed, a user can input basic information of the user and a heat consumption target through an intelligent terminal; monitoring the heat consumption condition of a user by the intelligent wearable device, and sending the monitored data to the server side; the server analyzes and processes the data from the intelligent wearable device, and sends the processing result to the intelligent terminal for displaying so that the user can check the heat consumption condition and the fat reduction guidance of the user through the intelligent terminal.
Taking the way of recommending activities to the user C as an example: the user inputs the heat consumption target and basic information such as height, weight, sex, age and the like through the intelligent terminal, and the intelligent terminal sends the input of the user C to the server; the server calculates a target heat consumption value of the user C, a heat intake value in a statistical time period and a set period according to the basic information of the user C and the heat consumption target; the intelligent wearable device is worn on the body of the user C, monitors the heat consumption data of the user and sends the heat consumption data to the server; when a user C sends a starting instruction through an intelligent terminal, a server acquires a first total heat consumption value of the user C in a first set statistical time period at the current moment, determines a heat difference value through calculation, and determines one or more activity modes and activity duration corresponding to the activity modes according to the heat difference value; and the server sends the determined one or more activity modes and the activity duration corresponding to the activity modes to the intelligent terminal, and the intelligent terminal displays the activity modes for the user C to check. Based on the same inventive concept, as shown in fig. 6, an embodiment of the present invention provides a data processing apparatus 300, which is applied to a server, where the server is in communication connection with a terminal corresponding to a user, and the data processing apparatus 300 includes:
a heat consumption data acquiring unit 301, configured to acquire heat consumption data of a user monitored by the terminal;
a first total calorie consumption value acquiring unit 302, configured to acquire, in response to a start instruction, a first total calorie consumption value of the user within a first set statistical period within a set cycle by a first time based on the calorie consumption data; the first moment is the moment when the starting instruction is received;
an activity mode determination unit 303, configured to determine a heat difference value based on a preset target heat consumption value and the first total heat consumption value, determine at least one activity mode and an activity duration corresponding to the activity mode according to the heat difference value, and send the determined activity mode and activity duration to the terminal for display;
a second total calorie consumption value obtaining unit 304, configured to count a second total calorie consumption value of the user in the first set counting period at a second time, where the second total calorie consumption value is greater than the first total calorie consumption value; the second time is later than the first time;
a target heat consumption value adjusting unit 305, configured to adjust a target heat consumption value in a second set statistical time period within the set period if the second total heat consumption value is smaller than the target heat consumption value, where the second set statistical time period is a statistical time period other than the first set statistical time period within the set period.
With regard to the above-described data processing apparatus 300, the specific functions of the respective units have been described in detail in the embodiments of the data processing method provided in the present specification, and will not be elaborated herein.
Based on the same inventive concept, the present specification embodiment provides a computer-readable storage medium on which a computer program is stored, which, when executed by a processor, implements the steps of any one of the foregoing data processing methods.
By adopting the scheme in the embodiment of the invention, the following effects can be at least partially achieved:
1. when a starting instruction is received, a first total calorie consumption value of a current user in a first set statistical time period in a set period is obtained, the first total calorie consumption value is compared with a preset target calorie consumption value, a plurality of activity modes are recommended to the user according to the comparison result, and the activity modes in a user fat-reducing plan are increased.
2. And intelligently adjusting the target heat consumption value in the second set statistical time period in the set period according to the residual heat consumption value and the set period residual time length to dynamically provide the fat reduction guidance for the user, so that the user can arrange daily activities according to free busy.
In the embodiments provided in the present invention, it should be understood that the disclosed apparatus and method can be implemented in other ways. The apparatus embodiments described above are merely illustrative, and for example, the flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of apparatus, methods and computer program products according to various embodiments of the present invention. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
In addition, the functional modules in the embodiments of the present invention may be integrated together to form an independent part, or each module may exist separately, or two or more modules may be integrated to form an independent part.
The functions, if implemented in the form of software functional modules and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
The above description is only for the specific embodiment of the present invention, but the scope of the present invention is not limited thereto, and any changes or substitutions that can be easily conceived by those skilled in the art within the technical scope of the present invention are included in the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the appended claims.

Claims (10)

1. A data processing method is applied to a server, wherein the server is in communication connection with a terminal corresponding to a user, and the method comprises the following steps:
acquiring heat consumption data of a user monitored by the terminal;
responding to a starting instruction, and acquiring a first heat consumption total value of the user in a first set statistical time period in a set period by a first moment based on the heat consumption data; the first moment is the moment when the starting instruction is received;
determining a heat difference value based on a preset target heat consumption value and the first total heat consumption value, determining at least one activity mode and activity duration corresponding to the activity mode according to the heat difference value, and sending the determined activity mode and activity duration to the terminal for displaying;
counting a second heat consumption total value of the user in the first set counting time period at a second moment, wherein the second heat consumption total value is larger than the first heat consumption total value; the second time is later than the first time;
and if the second heat consumption total value is smaller than the target heat consumption value, adjusting the target heat consumption value of a second set statistical time interval in the set period, wherein the second set statistical time interval is a statistical time interval in the set period except for the first set statistical time interval.
2. The data processing method of claim 1, wherein before the acquiring, in response to a start instruction, a first total caloric consumption value of the user within a first set statistical period within a set period by a first time based on the caloric consumption data, the method further comprises:
the step of determining the target heat consumption value and the set period specifically includes:
acquiring basic information and a total heat consumption target of the user based on the terminal;
determining a calorie intake value of the user in the first set statistical period and the target heat consumption value based on the basic information;
determining the set period based on the total calorie consumption target, the calorie intake value, and the target calorie consumption value.
3. The data processing method according to claim 2, wherein the adjusting the target heat consumption value for a second set statistical period within the set period if the second total heat consumption value is smaller than the target heat consumption value comprises:
determining a remaining caloric consumption value based on the caloric consumption total target and the second caloric consumption total value;
and adjusting the target heat consumption value of a second set statistical time interval in the set period based on the residual heat consumption value and the set period residual time length to obtain the adjusted target heat consumption value.
4. A data processing method according to claim 3, characterized in that the method further comprises:
and the range of the target heat consumption value of a second set statistical time interval in the set period is within +/-X% of the target heat consumption value before adjustment, and X belongs to R.
5. The data processing method according to claim 1, wherein the determining at least one activity manner and an activity duration corresponding to the activity manner according to the heat difference value, and sending the determined activity manner and activity duration to the terminal for display comprises:
calculating a difference value between the preset target heat consumption value and the first total heat consumption value to obtain a heat difference value;
and when the target heat consumption value is larger than the first total heat consumption value, determining at least one activity mode and activity duration corresponding to the activity mode from a preset activity efficiency table according to the heat difference value, and sending the activity mode and the activity duration corresponding to the activity mode to the terminal for displaying.
6. A data processing method as claimed in any one of claims 1 to 5, wherein said activity mode comprises:
fast walking, jogging, swimming, riding, ball, and housework.
7. The data processing method of claim 2, wherein the method further comprises:
acquiring a total heat consumption target modification instruction from the user based on the terminal;
and modifying the heat consumption total target according to the heat consumption total target modification instruction.
8. A data processing device is applied to a server which is in communication connection with a terminal corresponding to a user, and the device comprises:
the heat consumption data acquisition unit is used for acquiring heat consumption data of the user monitored by the terminal;
a first total calorie consumption value acquisition unit, configured to acquire, in response to a start instruction, a first total calorie consumption value of the user within a first set statistical period within a set cycle by a first time based on the calorie consumption data; the first moment is the moment when the starting instruction is received;
the activity mode determining unit is used for determining a heat difference value based on a preset target heat consumption value and the first total heat consumption value, determining at least one activity mode and activity duration corresponding to the activity mode according to the heat difference value, and sending the determined activity mode and activity duration to the terminal for displaying;
a second total calorie consumption value acquiring unit, configured to count a second total calorie consumption value of the user in the first set counting period at a second time, where the second total calorie consumption value is greater than the first total calorie consumption value; the second time is later than the first time;
and a target heat consumption value adjusting unit, configured to adjust a target heat consumption value in a second set statistical time period within the set period if the second total heat consumption value is smaller than the target heat consumption value, where the second set statistical time period is a statistical time period other than the first set statistical time period within the set period.
9. A server, comprising: memory, processor and computer program stored on the memory and executable on the processor, the processor implementing the steps of the method according to any one of claims 1 to 7 when executing the program.
10. A computer-readable storage medium, comprising a computer program which, when executed, controls a server on which the computer-readable storage medium is located to implement the steps of the method according to any one of claims 1 to 7.
CN202210069783.3A 2022-01-21 2022-01-21 Data processing method, device, server and storage medium Pending CN114420246A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210069783.3A CN114420246A (en) 2022-01-21 2022-01-21 Data processing method, device, server and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210069783.3A CN114420246A (en) 2022-01-21 2022-01-21 Data processing method, device, server and storage medium

Publications (1)

Publication Number Publication Date
CN114420246A true CN114420246A (en) 2022-04-29

Family

ID=81276300

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210069783.3A Pending CN114420246A (en) 2022-01-21 2022-01-21 Data processing method, device, server and storage medium

Country Status (1)

Country Link
CN (1) CN114420246A (en)

Similar Documents

Publication Publication Date Title
US10271774B2 (en) Activity tracking device and associated display
Fortmann et al. Make me move at work! An ambient light display to increase physical activity
FI129382B (en) System and method for guiding a user to improve general performance
US9743848B2 (en) Heart rate variability with sleep detection
US7805186B2 (en) System for monitoring and predicting physiological state under physical exercise
US8810410B2 (en) Activity meter
WO2019079503A2 (en) Applied data quality metrics for physiological measurements
CN110740790A (en) Physical activity monitoring and stimulation with electronic devices
US20180345081A1 (en) Method for providing action guide information and electronic device supporting method
US20160120460A1 (en) Mobile health care device and operating method thereof
CN106581951B (en) Method and device for recording motion parameters by intelligent watch
US9864843B2 (en) System and method for identifying performance days
US20180239869A1 (en) Systems and methods for displaying health metrics in a calendar view
EP1921981B1 (en) Apparatus and method for preventing hypoglycaemia in a human type 1 diabetic patient during physical activity
US10448866B1 (en) Activity tracker
US20150120017A1 (en) System and method for identifying fitness cycles
CN107376304B (en) Equivalent step number detection method and device, wearable device comprising same and mobile terminal
CN110706784A (en) Calorie intake amount calculation method, device, system, apparatus, and storage medium
CN114420246A (en) Data processing method, device, server and storage medium
US20170072263A1 (en) Activity tracking arrangement and associated display with goal-based dashboard
US20210228942A1 (en) Method for optimizing stretching actions
US20220110547A1 (en) Providing guidance during rest and recovery
WO2022187019A1 (en) Coaching based on menstrual cycle
US20240074709A1 (en) Coaching based on reproductive phases
EP4358857A1 (en) Coaching based on reproductive phases

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination