Growth state calculation method and device and storage medium
Obtaining and analyzing children's behavioral and physiological parameters through electronic devices, combined with machine learning models and questionnaire results, solves the accuracy and operational difficulty problems of children's growth status evaluation in the existing technology, and provides fast and accurate growth status evaluation and personality Suggestions for adjustments.
Patent Information
- Application Number
- CN202310336200.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-03-30
- Publication Date
- 2024-10-01
AI Technical Summary
The existing technology has problems of high accuracy and difficulty in evaluating children's growth status. This is mainly because the evaluation relies on questionnaires among children, parents and experts, requires subjective evaluation and multi-party cooperation, and is not accurate enough.
Obtain the user's behavioral parameters and physiological parameters within a preset time period through electronic devices, input the preset growth status model, use the machine learning model to calculate the user's growth status, combine the questionnaire results to train the model to improve accuracy, and provide ranking Bit information and adjustment tips.
It realizes the rapid and accurate determination of children's growth status, reduces the reliance on subjective evaluation, simplifies the operation process, and improves the user experience through personalized adjustment prompts.
Smart Images

Figure CN118737440A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of data processing technology, and in particular to a method, device and storage medium for calculating a growth status. Background Art
[0002] Nowadays, families and society are paying more and more attention to people's growth, especially children. Taking children as an example, more people use some indicators related to growth status to judge whether children are growing up healthily. For example, the current mainstream approach to evaluating whether children are growing up healthily is to have children and parents complete questionnaires related to growth status indicators, score themselves in the questionnaire according to their own situation, and then the evaluation experts make a judgment based on the results of the questionnaire.
[0003] However, this method of evaluating whether children grow up healthily has great limitations. For children, many indicators require them to make relatively subjective evaluations, so the evaluation results are not accurate enough. In addition, the questionnaire requires cooperation among children, parents and experts, and is difficult to operate.
[0004] Therefore, how to quickly and accurately determine the growth status of children has become a technical problem that needs to be solved urgently. Summary of the invention
[0005] The present application provides a growth status calculation method, device and storage medium, which can quickly and accurately determine the growth status of a child.
[0006] In a first aspect, the present application provides a method for calculating a growth status, which is applied to an electronic device, and the method comprises: obtaining behavioral parameters and / or physiological parameters of a user within a first preset time period; inputting the behavioral parameters and / or physiological parameters of the user within the first preset time period into a preset growth status model to obtain the growth status of the user; wherein the preset growth status model is trained based on the behavioral parameters and / or physiological parameters of the user within a second preset time period, and an evaluation result of the growth status of the user within the second preset time period, and the second preset time period is before the first preset time period.
[0007] In this embodiment, the electronic device can obtain the user's growth status by inputting the user's behavioral parameters and / or physiological parameters obtained within a first preset time period into a preset growth status model. This method calculates the user's growth status based on the preset growth status model. Compared with the questionnaire survey method used in the prior art, the obtained result is more accurate and easier to implement.
[0008] In some embodiments, before inputting the behavioral parameters and / or physiological parameters of the user within the first preset time period into the preset growth status model to obtain the growth status of the user, the method also includes: obtaining the behavioral parameters and / or physiological parameters of the user within the second preset time period, and the evaluation results of the growth status of the user within the second preset time period; training a preset machine learning model based on the behavioral parameters and / or physiological parameters of the user within the second preset time period, and the evaluation results of the growth status of the user within the second preset time period to obtain the preset growth status model.
[0009] In this embodiment, the preset machine learning model is trained using the evaluation results of the user's growth status in the second preset time period and related parameters, and the resulting growth status model is more accurate and more convincing.
[0010] In some embodiments, before training the preset machine learning model based on the behavioral parameters and / or physiological parameters of the user within the second preset time period and the evaluation results of the user's growth status within the second preset time period, the method also includes: extracting the acquisition time of the behavioral parameters and / or physiological parameters of the user within the second preset time period; combining the acquisition time of the behavioral parameters and / or physiological parameters of the user within the second preset time period with the behavioral parameters and / or physiological parameters of the user within the second preset time period to obtain target parameters, and the target parameters are the combined behavioral parameters and / or physiological parameters of the user within the second preset time period; training the preset machine learning model based on the behavioral parameters and / or physiological parameters of the user within the second preset time period and the evaluation results of the user's growth status within the second preset time period includes: training the preset machine learning model based on the target parameters and the evaluation results of the user's growth status within the second preset time period.
[0011] In this embodiment, the acquisition time of the user's behavioral parameters and / or physiological parameters within the second preset time period is combined with the user's behavioral parameters and / or physiological parameters within the second preset time period, introducing the influence of the parameter acquisition time on the growth status, making the trained growth status model more accurate.
[0012] In some embodiments, the evaluation result of the growth status of the user within the second preset time period is obtained based on the questionnaire results of the user completed within the second preset time period.
[0013] In this embodiment, the questionnaire results of the survey questionnaire are used as the evaluation results of the growth status, and the evaluation results are more objective and relatively accurate.
[0014] In some embodiments, the behavioral parameters of the user within the first preset time period include the exercise duration, exercise frequency and exercise type of the user within the first preset time period, and the physiological parameters of the user within the first preset time period include the body mass index, sleep duration and emotional information of the user within the first preset time period.
[0015] In some embodiments, the method further includes: displaying the growth status of the user.
[0016] In this embodiment, the electronic device displays the user's growth status for the user to view, so that the user can understand the detailed information of his or her growth status.
[0017] In some embodiments, the method further includes: sending the growth status of the user to the server; obtaining and displaying ranking information corresponding to the growth status of the user, the ranking information being obtained by the server after sorting the growth status of all users in the server within the first preset time period in a preset order.
[0018] In this embodiment, the electronic device obtains and displays the ranking information corresponding to the user's growth status, so that the user can know the relationship between his or her growth status and that of others, so as to accurately locate the user's own growth status.
[0019] In some embodiments, the method further includes: outputting prompt information based on the growth status of the user within the first preset time period displayed in the electronic device, wherein the prompt information is used to remind the user to make adjustments to improve the growth status of the user.
[0020] In this embodiment, the electronic device outputs corresponding prompt information to prompt the user to make adjustments in time, thereby improving the user experience.
[0021] In some embodiments, the prompt information is output based on the growth status of the user displayed in the electronic device during the first preset time period, including: comparing the growth status of the user displayed in the electronic device during the first preset time period with a preset standard growth status; when the growth status of the user displayed in the electronic device during the first preset time period is lower than the preset standard growth status, the prompt information is output, and the prompt information includes at least one of adjusting exercise duration, adjusting sleep duration, adjusting the proportion of positive emotions and adjusting weight.
[0022] In this embodiment, when the user's growth status in the first preset time period is lower than the preset standard growth status, the electronic device outputs specific prompt information such as adjusting exercise duration, sleep duration, etc., so that the user clearly knows the direction that needs to be adjusted so as to make adjustments in time.
[0023] In a second aspect, the present application provides a growth status calculation device, the device comprising: an acquisition module, used to obtain behavioral parameters and / or physiological parameters of a user within a first preset time period; a processing module, used to input the behavioral parameters and / or physiological parameters of the user within the first preset time period into a preset growth status model to obtain the growth status of the user; wherein the preset growth status model is trained based on the behavioral parameters and / or physiological parameters of the user within a second preset time period, and an evaluation result of the growth status of the user within the second preset time period, and the second preset time period is before the first preset time period.
[0024] In some embodiments, the acquisition module is also used to acquire the behavioral parameters and / or physiological parameters of the user within the second preset time period, and the evaluation results of the growth status of the user within the second preset time period; the processing module is also used to train a preset machine learning model based on the behavioral parameters and / or physiological parameters of the user within the second preset time period, and the evaluation results of the growth status of the user within the second preset time period, to obtain the preset growth status model.
[0025] In some embodiments, the device further includes: an extraction module. The extraction module is used to extract the acquisition time of the behavior parameters and / or physiological parameters of the user in the second preset time period; the processing module is also used to combine the acquisition time of the behavior parameters and / or physiological parameters of the user in the second preset time period with the behavior parameters and / or physiological parameters of the user in the second preset time period to obtain a target parameter, and the target parameter is the combined behavior parameters and / or physiological parameters of the user in the second preset time period; the processing module is specifically used to: train a preset machine learning model based on the target parameter and the evaluation result of the growth status of the user in the second preset time period.
[0026] In some embodiments, the evaluation result of the growth status of the user within the second preset time period is obtained based on the questionnaire results of the user completed within the second preset time period.
[0027] In some embodiments, the behavioral parameters of the user within the first preset time period include the exercise duration, exercise frequency and exercise type of the user within the first preset time period, and the physiological parameters of the user within the first preset time period include the body mass index, sleep duration and emotional information of the user within the first preset time period.
[0028] In some embodiments, the device further comprises: a display module. The display module is used to display the growth status of the user.
[0029] In some embodiments, the device further includes: a sending module. The sending module is used to send the growth status of the user to the server; the display module is also used to obtain and display the ranking information corresponding to the growth status of the user, and the ranking information is obtained by the server after sorting the growth status of all users in the server in the first preset time period in a preset order.
[0030] In some embodiments, the device further includes: an output module. The output module is used to output prompt information based on the growth status of the user in the first preset time period displayed in the electronic device, and the prompt information is used to remind the user to make adjustments to improve the growth status of the user.
[0031] In some embodiments, the output module is specifically used to: compare the growth status of the user displayed in the electronic device during the first preset time period with the preset standard growth status; when the growth status of the user displayed in the electronic device during the first preset time period is lower than the preset standard growth status, output the prompt information, and the prompt information includes at least one of adjusting exercise duration, adjusting sleep duration, adjusting the proportion of positive emotions and adjusting weight.
[0032] In a third aspect, the present application provides an electronic device, comprising a processor and a memory, wherein the memory is used to store code instructions; the processor is used to execute the code instructions to implement the method in the above-mentioned first aspect and any one of the embodiments.
[0033] Optionally, there are one or more processors and one or more memories.
[0034] Optionally, the memory may be integrated with the processor, or the memory may be provided separately from the processor.
[0035] In the specific implementation process, the memory can be a non-transitory memory, such as a read-only memory (ROM), which can be integrated with the processor on the same chip or can be set on different chips respectively. The embodiments of the present application do not limit the type of memory and the setting method of the memory and the processor.
[0036] In a fourth aspect, the present application provides a computer-readable storage medium, which stores a computer program (also referred to as code, or instructions) which, when executed on a computer, enables the computer to execute the method in the first aspect and any one of the embodiments described above.
[0037] In a fifth aspect, the present application provides a computer program product, comprising: a computer program (also referred to as code, or instruction), which, when executed, enables a computer to execute the method in the first aspect and any one of the embodiments. BRIEF DESCRIPTION OF THE DRAWINGS
[0038] Figure 1 A schematic diagram of the system architecture of an electronic device provided in an embodiment of the present application;
[0039] Figure 2 A flow chart of a method for calculating growth status provided in one embodiment of the present application;
[0040] Figure 3 A flow chart of a method for calculating growth status provided in another embodiment of the present application;
[0041] Figure 4 A schematic diagram of a display interface for a growth status provided by an embodiment of the present application;
[0042] Figure 5 A schematic diagram of a display interface for outputting prompt information provided by an embodiment of the present application;
[0043] Figure 6 A structural schematic diagram of a computing device in a growth state provided by one embodiment of the present application;
[0044] Figure 7 A schematic structural diagram of a computing device in a growth state provided in another embodiment of the present application. DETAILED DESCRIPTION
[0045] The technical solution in this application will be described below in conjunction with the accompanying drawings.
[0046] In order to facilitate the clear description of the technical solutions of the embodiments of the present application, in the embodiments of the present application, the words "first" and "second" are used to distinguish the same items or similar items with substantially the same functions and effects. For example, the first instruction and the second instruction are to distinguish different user instructions, and their order is not limited. Those skilled in the art can understand that the words "first" and "second" do not limit the quantity and execution order, and the words "first" and "second" do not necessarily limit them to be different.
[0047] It should be noted that, in this application, words such as "exemplarily" or "for example" are used to indicate examples, illustrations or explanations. Any embodiment or design described as "exemplarily" or "for example" in this application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "exemplarily" or "for example" is intended to present related concepts in a specific way.
[0048] In addition, "at least one" means one or more, and "plurality" means two or more. "And / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone, where A and B can be singular or plural. The character " / " generally indicates that the previous and next associated objects are in an "or" relationship. "At least one of the following" or similar expressions refers to any combination of these items, including any combination of single or plural items. For example, at least one of a, b and c can mean: a, or b, or c, or a and b, or a and c, or b and c, or a, b and c, where a, b, c can be single or multiple.
[0049] With the progress and development of society, families and society are paying more and more attention to people's growth, especially children. Taking children as an example, usually, indicators for evaluating whether children grow up healthily include body mass index (BMI), sleep, mood, exercise, etc. Comprehensive analysis of data in these aspects can reveal the growth status of children.
[0050] Currently, the mainstream approach to evaluating whether children are growing up healthily is for children and parents to complete questionnaires related to indicators of growth status, score themselves according to their own circumstances in the questionnaire, and then evaluation experts make judgments based on the questionnaire results.
[0051] However, this evaluation method has great limitations. For children, many indicators require them to make relatively subjective evaluations. Due to their age, their self-awareness ability is insufficient and their evaluations are not accurate enough. In addition, the questionnaire requires cooperation between children, parents and experts, and is difficult to operate, making it impossible to conduct routine tests.
[0052] Therefore, how to quickly and accurately assess children's growth status has become a technical problem that needs to be solved urgently.
[0053] In view of this, the embodiments of the present application provide a method, device and storage medium for calculating the growth status. In the technical solution of the present application, the electronic device obtains the behavioral parameters and / or physiological parameters of the user in a first preset time period; then the behavioral parameters and / or physiological parameters of the user in the first preset time period are input into a preset growth status model to obtain the user's growth status; wherein the preset growth status model is based on the behavioral parameters and / or physiological parameters of the user in a second preset time period, and the evaluation results of the user's growth status in the second preset time period are trained, and the second preset time period is located before the first preset time period. In the method for calculating the growth status of the present application, the electronic device can quickly and accurately determine the user's growth status based on the preset growth status model, and make timely adjustments according to the user's growth status.
[0054] It should be understood that the electronic device involved in the embodiments of the present application may be a mobile phone, a watch, a bracelet, or other electronic device that can collect user-related information, and the embodiments of the present application are not limited to this.
[0055] For example, Figure 1 A schematic diagram of the system architecture of an electronic device provided in an embodiment of the present application. Figure 1 As shown, the electronic device includes components such as a processor 110, a memory 120, a transceiver 130, a display unit 140, an input unit 150, a sensor 160, an audio circuit 170, and a power module 180.
[0056] The processor 110 is the control center of the electronic device, and uses various interfaces and lines to connect various parts of the entire electronic device. By running or executing software programs and / or modules stored in the memory 120, and calling data stored in the memory 120, the processor 110 performs various functions of the electronic device and processes data, thereby monitoring the electronic device as a whole. Optionally, the processor 110 may include one or more processing units; optionally, the processor 110 may integrate an application processor, which mainly processes operating devices, user interfaces, and application programs, etc. Of course, other processors may also be included, which are not listed here one by one.
[0057] The memory 120 can be used to store software programs and modules. The processor 110 executes various functional applications and data processing of the electronic device by running the software programs and modules stored in the memory 120. The memory 120 mainly includes a program storage area and a data storage area, wherein the program storage area can store operating devices, at least one application required for a function (such as a sound playback function, an image playback function, etc.), etc.; the data storage area can store data created according to the use of the electronic device (such as audio data, a phone book, etc.), etc. In addition, the memory 120 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other volatile solid-state storage devices.
[0058] The transceiver 130 can provide wireless communication solutions for electronic devices, including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), Bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), infrared (IR), etc. The transceiver 130 can be one or more devices integrating at least one communication processing module, for example, an antenna and a baseband processor are integrated into the transceiver 130, or an antenna and a modem processor are integrated into the transceiver 130, etc., which are not limited here.
[0059] The display unit 140 may be used to display information input by a user or information provided to a user and various menus of the electronic device. The display unit 140 may be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), etc., which is not limited here.
[0060] The input unit 150 can be used to receive input digital or character information, and to generate key signal input related to user settings and function control of the electronic device. Specifically, the input unit 150 can collect the user's operations on or near it, and drive the corresponding connection device according to a pre-set program. In addition, the input unit 150 may include a touch panel, which can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic wave. In addition to the touch panel, the input unit 150 may also include other input devices. Specifically, other input devices may include, but are not limited to, one or more of function keys (such as volume control keys, switch keys, etc.), trackballs, joysticks, etc.
[0061] The electronic device may also include at least one sensor 160, such as a gyroscope sensor, a motion sensor, and other sensors. The motion sensor may include an acceleration sensor for detecting the magnitude of acceleration in all directions, and the magnitude and direction of gravity when stationary, which may be used for applications to identify the posture of the electronic device, such as horizontal and vertical screen switching, related games, magnetometer posture calibration, etc. As for other sensors that may be configured in the electronic device, such as a pressure gauge, a barometer, a hygrometer, a thermometer, an infrared sensor, a fingerprint sensor, etc., they will not be described in detail here.
[0062] The audio circuit 170 may include a speaker and a microphone, and may provide an audio interface between a user and an electronic device. The audio circuit 170 may transmit the electrical signal converted from the received audio data to the speaker, which is converted into a sound signal for output; on the other hand, the microphone converts the collected sound signal into an electrical signal, which is received by the audio circuit 170 and converted into audio data, and then the audio data is output to the processor 110 for processing, and then sent to another electronic device through the video circuit, or the audio data is output to the memory 120 for further processing.
[0063] The electronic device also includes a power module 180 for supplying power to various components. Optionally, the power module 180 can be logically connected to the processor 110 through a power management device, so that the power management device can manage functions such as charging, discharging, and power consumption.
[0064] Although not shown, the electronic device may further include a camera. Optionally, the camera may be located at the front or rear of the electronic device, which is not limited in the embodiments of the present application.
[0065] It is to be understood that the structure illustrated in the embodiments of the present application does not constitute a specific limitation on the electronic device. In other embodiments of the present application, the electronic device may include more or fewer components than shown in the figure, or combine certain components, or split certain components, or arrange the components differently. The components shown in the figure may be implemented in hardware, software, or a combination of software and hardware.
[0066] In order to make the purpose and technical solution of this application clearer and more intuitive, the following will be combined with the accompanying drawings and embodiments to describe in detail the calculation method, device and storage medium of the growth state provided by the embodiments of this application. It should be understood that the specific embodiments described here are only used to explain this application and are not used to limit this application.
[0067] Please refer to Figure 2 , is a flow chart of a method for calculating growth status provided in one embodiment of the present application. The method can be applied to Figure 1 The electronic equipment shown is described in detail below Figure 2 The various steps in the method shown in the flowchart include:
[0068] S201, obtaining behavioral parameters and / or physiological parameters of a user within a first preset time period.
[0069] It should be understood that the user's behavioral parameters within the first preset time period may include data on the user's exercise status within the first preset time period, such as what exercises the user did within the first preset time period, how long the user exercised, etc. This application does not specifically limit this.
[0070] It should also be understood that the physiological parameters of the user within the first preset time period may include various indicator data of the user's body within the first preset time period, such as heart rate data, blood oxygen data, body mass index data, etc., which is not specifically limited in this application.
[0071] It should also be understood that the method of obtaining the user's behavioral parameters and / or physiological parameters within the first preset time period can be through some collection modules in the electronic device to collect the user's physical state information, such as collecting heart rate, exercise steps, etc.; it can also be through user input, such as directly entering height, weight, gender, etc., and this application does not limit this.
[0072] S202: Inputting the behavior parameters and / or physiological parameters of the user in the first preset time period into a preset growth status model to obtain the growth status of the user.
[0073] Among them, the preset growth status model is trained based on the user's behavioral parameters and / or physiological parameters in a second preset time period, and the evaluation results of the user's growth status in the second preset time period, and the second preset time period is before the first preset time period.
[0074] It should be understood that the electronic device can obtain corresponding growth status data by inputting the behavioral parameters and / or physiological parameters of the user in the first preset time period obtained in the above-mentioned step S201 into the preset growth status model trained in advance. In other words, the growth status is calculated by using the machine learning fusion method based on the behavioral parameters and / or physiological parameters of the user in the first preset time period collected by the electronic device. Compared with the method of obtaining the user's growth status data by conducting a questionnaire in the prior art, this method is simple and quick. Moreover, since the preset growth status model is trained based on the behavioral parameters and / or physiological parameters of the user in the second preset time period and the evaluation results of the user's growth status in the second preset time period, the obtained growth status data is relatively accurate.
[0075] In this embodiment, the electronic device can obtain the user's growth status by inputting the user's behavioral parameters and / or physiological parameters obtained within a first preset time period into a preset growth status model. Based on the preset growth status model, this method can quickly and accurately determine the user's growth status, allowing the user to make timely adjustments based on the growth status.
[0076] Based on the above embodiments, Figure 3 A flow chart of a method for calculating growth status provided in another embodiment of the present application, Figure 3 In the embodiment shown, taking how to obtain the preset growth state model as an example, the following is a detailed description. Figure 3 The various steps in the method shown in the flowchart include:
[0077] S301, obtaining behavioral parameters and / or physiological parameters of a user within a second preset time period, and an evaluation result of the growth status of the user within the second preset time period.
[0078] It should be understood that the user's behavioral parameters within the second preset time period include the user's exercise duration, exercise frequency and exercise type within the second preset time period. For example, the exercise type may be running, swimming, cycling, etc.; the user's physiological parameters within the second preset time period include the user's body mass index, sleep duration and emotional information within the second preset time period.
[0079] It should be noted that when obtaining the behavioral parameters and / or physiological parameters of the user within the second preset time period, the user is required to wear the electronic device within the second preset time period to better collect data.
[0080] In a possible implementation, taking the example that the user's exercise type in the second preset time period is running, the method for obtaining the user's exercise duration in the second preset time period includes: collecting the number of exercise steps of the user in the second preset time period; and determining the user's exercise duration in the second preset time period based on the correspondence between the number of exercise steps and the exercise duration in the second preset time period.
[0081] Exemplarily, the number of steps of the user in the second preset time period is counted by the collection module in the electronic device. Generally, if the user exercises more, the number of steps will be more, and the change in the number of steps can reflect the user's exercise duration.
[0082] In a possible implementation, the method for obtaining the body mass index of the user in the second preset time period includes: calculating the body mass index of the user in the second preset time period according to the height and weight of the user in the second preset time period.
[0083] Among them, body mass index (BMI), also known as body mass index or weight index, is an internationally used standard for measuring the degree of fatness and health of the human body. It is calculated by dividing the weight in kilograms by the square of the height in meters, such as BMI is mainly used for statistical purposes. When we need to compare and analyze the health effects of a person's weight on people of different heights, the BMI value is a neutral and reliable indicator.
[0084] Taking children's body mass index as an example, the reference standard is shown in Table 1 below:
[0085] Table 1
[0086]
[0087] Exemplarily, the electronic device calculates the BMI value using the above calculation formula according to the height and weight input by the user. At the same time, the user's age and gender need to be input, because the distribution of BMI is different for different ages and genders, and the reference standards are also different. The above Table 1 is the body mass index reference standard for children (1 to 11 years old). For adolescents and adults over 11 years old, the reference standards need to be differentiated according to gender. The specific reference standard values can refer to the reference standards in the prior art, and this application will not repeat them here.
[0088] It should also be understood that the electronic device will store the BMI-related data of the corresponding user, and usually, the user is required to update the data once every six months to ensure the accuracy of the data.
[0089] In a possible implementation, the method for acquiring the sleep duration of the user in the second preset time period includes: collecting the sleep duration of the user in the second preset time period, where the sleep duration includes the sum of the nap duration and the night sleep duration of the user in the second preset time period.
[0090] It should be understood that sleep is extremely important for the growth of minors, so it is necessary to count the total sleep duration of the user in the second preset time period.
[0091] In a possible implementation, the method for acquiring the user's emotional information within the second preset time period includes: collecting the user's heart rate variability within the second preset time period, and the heart rate variability is used to indicate the user's emotional changes; determining the user's emotional information within the second preset time period based on the user's heart rate variability within the second preset time period, and the correspondence between the heart rate variability and positive emotions and negative emotions.
[0092] Among them, heart rate variability (HRV) refers to the changes in the differences between successive heartbeat cycles. It is a real-time indicator for understanding how the reaction between the sympathetic and parasympathetic nerves affects the heart rate. HRV can describe the flexibility of the autonomic nervous system, and emotional regulation depends to a large extent on the ability to adjust instantly when people are awakened. The sluggishness of the autonomic nervous system will lead to a weakening of the ability to regulate emotions. Therefore, HRV can reflect the ability to regulate emotions.
[0093] Exemplarily, the electronic device evaluates the user's emotional changes within a second preset time period based on the user's heart rate variability collected by the collection module, for example, recording the proportion of the user's negative emotions and positive emotions.
[0094] It should also be understood that the evaluation result of the user's growth status in the second preset time period is obtained based on the questionnaire results of the user in the second preset time period. The questionnaire results are used to ensure the accuracy of the evaluation results, and the evaluation of the questionnaire results can be based on evaluation experts or authoritative persons in this field, so the evaluation results obtained are relatively objective and can be used as a reference standard.
[0095] It should be noted that the evaluation results of the user's growth status within the second preset time period can also be based on specifying some special evaluation standards, using unified evaluation rules, etc., to obtain more objective evaluation results. This application only takes the questionnaire results as an example and does not make any specific limitations.
[0096] 302. Training a preset machine learning model based on the behavioral parameters and / or physiological parameters of the user in a second preset time period and an evaluation result of the user's growth status in the second preset time period to obtain a preset growth status model.
[0097] It should be understood that the preset machine learning model can be a linear model, a nonlinear model, or other types of models, and this application does not limit this.
[0098] In a possible implementation, before training a preset machine learning model based on the user's behavioral parameters and / or physiological parameters in the second preset time period and the evaluation results of the user's growth status in the second preset time period, the electronic device may also extract the acquisition time of the user's behavioral parameters and / or physiological parameters in the second preset time period, combine the acquisition time of the user's behavioral parameters and / or physiological parameters in the second preset time period with the user's behavioral parameters and / or physiological parameters in the second preset time period to obtain a target parameter, which is the combined behavioral parameters and / or physiological parameters of the user in the second preset time period.
[0099] Furthermore, the electronic device trains a preset machine learning model based on the target parameters and the evaluation results of the user's growth status within a second preset time period.
[0100] It should be understood that the time of obtaining the user's behavioral parameters and / or physiological parameters within the second preset time period also affects the user's growth status within the second preset time period. For example, when an electronic device is counting sleep duration, compared with the sleep data collected one day ago, the sleep data collected seven days ago has a greater impact on the current growth status. Therefore, the growth status model trained by using the target parameters combined with the acquisition time of the behavioral parameters and / or physiological parameters is more accurate.
[0101] S303: Obtain behavioral parameters and / or physiological parameters of the user within a first preset time period.
[0102] It should be understood that the user's behavioral parameters within the first preset time period include the user's exercise duration, exercise frequency and exercise type within the first preset time period. For example, the exercise type may be running, swimming, cycling, etc.; the user's physiological parameters within the first preset time period include the user's body mass index, sleep duration and emotional information within the first preset time period.
[0103] The specific method for obtaining the user's exercise duration, body mass index, sleep duration and emotional information within the first preset time period can refer to the method in the above step S301, which will not be repeated here.
[0104] S304: Input the behavior parameters and / or physiological parameters of the user in the first preset time period into a preset growth status model to obtain the growth status of the user.
[0105] This step and Figure 2Step S202 in the illustrated embodiment is similar and will not be described in detail here.
[0106] It should be noted that the preset growth status model includes various parameters, such as sleep duration, exercise duration, body mass index and emotional information, which influence the weight coefficient of the growth status. Therefore, after using the electronic device for a period of time, new users can directly obtain the corresponding growth status based on the corresponding coefficient.
[0107] S305, displaying the user's growth status.
[0108] It should be understood that after the electronic device calculates the growth status of the user within the first preset time period, the electronic device may display the growth status on the screen of the electronic device.
[0109] For example, if the growth status is based on a full score of 100, assuming that user Xiao Ming searches on Sunday night and calculates that the growth status of this week is 92 points, the schematic diagram displayed on the screen is as follows: Figure 4 shown.
[0110] In a possible implementation, the electronic device will also send the user's growth status to the server, and then obtain and display the ranking information corresponding to the user's growth status. The ranking information is obtained by the server after sorting the growth status of all users in the server within the first preset time period in a preset order.
[0111] It should be understood that the server will desensitize the growth status data received from the user of the electronic device, that is, use desensitization technology to transform the growth status data to avoid sensitive data leakage and protect data security. Then the electronic device can obtain and display the growth status data of all users in the server, as well as the location of the current user, so that the user can observe whether he is at a normal level and then make adjustments according to his own situation.
[0112] S306: outputting prompt information based on the growth status of the user in the first preset time period displayed in the electronic device, where the prompt information is used to remind the user to make adjustments to improve the user's growth status.
[0113] It should be understood that the electronic device compares the growth status of the user displayed in the electronic device during the first preset time period with the preset standard growth status. If the growth status of the user displayed in the electronic device during the first preset time period is lower than the preset standard growth status, a prompt message is output, and the prompt message includes at least one of adjusting the exercise duration, adjusting the sleep duration, adjusting the proportion of positive emotions, and adjusting the weight.
[0114] Exemplarily, after analyzing the user's growth status, the electronic device will output prompt information based on the growth status. For example, if the sleep time is short, the user will be reminded to get more sleep; if the exercise time is short, the user will be reminded to increase exercise; if the body mass index is not within the normal range or the user is too fat, the user will be prompted to lose weight, etc., so as to improve the user's growth status.
[0115] It should also be understood that the method of outputting the prompt information may be to display the content of the prompt information on the screen of the electronic device, or to give a voice prompt to the user through voice broadcast, etc., and this application does not specifically limit this.
[0116] As an example, assuming that the method of outputting the prompt information is to display the content of the prompt information on the screen of the electronic device, if the electronic device analyzes the user's growth status and finds that the user lacks sleep, a prompt information can be displayed on the screen: the sleep time is short and it is recommended to make up for the sleep time. The corresponding display diagram is as follows Figure 5 shown.
[0117] It should be noted that the above Figure 4 and Figure 5 It can be displayed in different interfaces or simultaneously displayed in the same interface, such as split-screen display, or the contents of the two figures can be merged together and displayed in one interface. This application does not limit this.
[0118] In this embodiment, the electronic device first trains a preset machine learning model based on the user's behavioral parameters and / or physiological parameters in the second preset time period, and the evaluation results of the user's growth status in the second preset time period, to obtain a preset growth status model, and then obtains the user's growth status in the first preset time period based on the preset growth status model, and further displays the growth status, and outputs prompt information after analyzing the growth status to remind the user to make timely adjustments. Compared with the prior art method of only using questionnaires, the growth status calculation method of this growth status method obtains more accurate growth status data and is easier to implement. At the same time, users can also adjust their habits in time through observation to improve their growth status.
[0119] It should also be understood that the above embodiments may be coupled to each other, and this application does not limit this. Moreover, the size of the sequence number of each process does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of this application.
[0120] Combined with the above Figures 1 to 5 , describes in detail the calculation method of the growth state of the embodiment of the present application, and will be combined with Figure 6 and Figure 7 , a growth status calculation device of an embodiment of the present application is described in detail.
[0121] Figure 6 A structural schematic diagram of a growth status calculation device 600 provided in one embodiment of the present application, the device 600 includes: an acquisition module 601 and a processing module 602.
[0122] Among them, the acquisition module 601 is used to obtain the behavioral parameters and / or physiological parameters of the user within a first preset time period; the processing module 602 is used to input the behavioral parameters and / or physiological parameters of the user within the first preset time period into a preset growth status model to obtain the growth status of the user; wherein the preset growth status model is trained based on the behavioral parameters and / or physiological parameters of the user within a second preset time period, and the evaluation results of the growth status of the user within the second preset time period, and the second preset time period is before the first preset time period.
[0123] In some embodiments, the acquisition module 601 is also used to obtain the behavioral parameters and / or physiological parameters of the user within the second preset time period, and the evaluation results of the growth status of the user within the second preset time period; the processing module 602 is also used to train a preset machine learning model based on the behavioral parameters and / or physiological parameters of the user within the second preset time period, and the evaluation results of the growth status of the user within the second preset time period, to obtain the preset growth status model.
[0124] In some embodiments, the computing device for the growth status further includes: an extraction module. The extraction module is used to extract the acquisition time of the behavior parameters and / or physiological parameters of the user in the second preset time period; the processing module 602 is also used to combine the acquisition time of the behavior parameters and / or physiological parameters of the user in the second preset time period with the behavior parameters and / or physiological parameters of the user in the second preset time period to obtain a target parameter, and the target parameter is the combined behavior parameters and / or physiological parameters of the user in the second preset time period; the processing module 602 is specifically used to: train a preset machine learning model based on the target parameter and the evaluation result of the growth status of the user in the second preset time period.
[0125] In some embodiments, the evaluation result of the growth status of the user within the second preset time period is obtained based on the questionnaire results of the user completed within the second preset time period.
[0126] In some embodiments, the behavioral parameters of the user within the first preset time period include the exercise duration, exercise frequency and exercise type of the user within the first preset time period, and the physiological parameters of the user within the first preset time period include the body mass index, sleep duration and emotional information of the user within the first preset time period.
[0127] In some embodiments, the growth status calculation device further includes: a display module. The display module is used to display the growth status of the user.
[0128] In some embodiments, the growth status calculation device further includes: a sending module. The sending module is used to send the growth status of the user to the server; the display module is also used to obtain and display the ranking information corresponding to the growth status of the user, and the ranking information is obtained by the server after sorting the growth status of all users in the server in the first preset time period in a preset order.
[0129] In some embodiments, the growth status calculation device further includes: an output module. The output module is used to output prompt information based on the growth status of the user in the first preset time period displayed in the electronic device, and the prompt information is used to remind the user to make adjustments to improve the growth status of the user.
[0130] In some embodiments, the output module is specifically used to: compare the growth status of the user displayed in the electronic device during the first preset time period with the preset standard growth status; when the growth status of the user displayed in the electronic device during the first preset time period is lower than the preset standard growth status, output the prompt information, and the prompt information includes at least one of adjusting exercise duration, adjusting sleep duration, adjusting the proportion of positive emotions and adjusting weight.
[0131] It should be understood that the device 600 here is embodied in the form of a functional module. The term "module" here may refer to an application specific integrated circuit (ASIC), an electronic circuit, a processor (such as a shared processor, a proprietary processor or a group processor, etc.) and a memory for executing one or more software or firmware programs, a merged logic circuit and / or other suitable components that support the described functions. In an optional example, those skilled in the art will understand that the device 600 may be specifically an electronic device in the above-mentioned embodiment, or the functions of the electronic device in the above-mentioned embodiment may be integrated in the device 600, and the device 600 may be used to execute the various processes and / or steps corresponding to the electronic device in the above-mentioned method embodiment, and to avoid repetition, it will not be repeated here.
[0132] The above-mentioned device 600 has the function of implementing the corresponding steps executed by the electronic device in the above-mentioned method; the above-mentioned function can be implemented by hardware, or by hardware executing corresponding software. The hardware or software includes one or more modules corresponding to the above-mentioned function.
[0133] Figure 7 A schematic structural diagram of a computing device in a growth state provided in another embodiment of the present application. Figure 7 The computing device in the growth state shown can be used to execute the method of any of the aforementioned embodiments.
[0134] like Figure 7 As shown, the computing device 700 of the growth state of this embodiment includes: a memory 701, a processor 702, a communication interface 703 and a bus 704. The memory 701, the processor 702 and the communication interface 703 are connected to each other through the bus 704.
[0135] The memory 701 may be a read only memory (ROM), a static storage device, a dynamic storage device or a random access memory (RAM). The memory 701 may store a program. When the program stored in the memory 701 is executed by the processor 702, the processor 702 is used to execute each step of the method shown in the above embodiment.
[0136] The processor 702 can adopt a general-purpose central processing unit (CPU), a microprocessor, an application specific integrated circuit (ASIC), or one or more integrated circuits to execute relevant programs to implement the various methods shown in the embodiments of the present application.
[0137] The processor 702 may also be an integrated circuit chip with signal processing capability. In the implementation process, each step of the method of the embodiment of the present application may be completed by an integrated logic circuit of hardware in the processor 702 or by instructions in the form of software.
[0138] The processor 702 may also be a general purpose processor, a digital signal processor (DSP), an ASIC, a field programmable gate array (FPGA) or other programmable logic device, a discrete gate or transistor logic device, or a discrete hardware component. The methods, steps, and logic block diagrams disclosed in the embodiments of the present application may be implemented or executed. The general purpose processor may be a microprocessor or the processor may be any conventional processor, etc.
[0139] The steps of the method disclosed in the embodiment of the present application can be directly embodied as being executed by a hardware decoding processor, or being executed by a combination of hardware and software modules in the decoding processor. The software module can be located in a mature storage medium in the art such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory, or an electrically erasable programmable memory, a register, etc. The storage medium is located in the memory 701, and the processor 702 reads the information in the memory 701, and completes the functions required to be performed by the units included in the device of the present application in combination with its hardware.
[0140] The communication interface 703 may use, but is not limited to, a transceiver or other transceiver device to implement communication between the apparatus 700 and other devices or a communication network.
[0141] The bus 704 may include a path for transmitting information between various components of the device 700 (eg, the memory 701 , the processor 702 , and the communication interface 703 ).
[0142] It should be understood that the device 700 shown in the embodiment of the present application may be an electronic device, or may also be a chip configured in the electronic device.
[0143] It should be understood that in the various embodiments of the present application, the size of the serial numbers of the above-mentioned processes does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.
[0144] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.
[0145] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0146] In the several embodiments provided in the present application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0147] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0148] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
[0149] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application can be essentially or partly embodied in the form of a software product that contributes to the prior art. The computer software product is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods described in the various embodiments of the present application. The aforementioned storage media include: various media that can store program codes, such as USB flash drives, mobile hard disks, read-only memories (ROM), random access memories (RAM), magnetic disks or optical disks.
[0150] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
Claims
1. A method for calculating growth status, characterized in that: Applied to electronic equipment, the method comprises: Acquiring behavioral parameters and / or physiological parameters of the user within a first preset time period; Inputting the behavior parameters and / or physiological parameters of the user in the first preset time period into a preset growth status model to obtain the growth status of the user; Among them, the preset growth status model is trained based on the behavioral parameters and / or physiological parameters of the user in a second preset time period, and the evaluation results of the user's growth status in the second preset time period, and the second preset time period is before the first preset time period.
2. The method according to claim 1, characterized in that Before inputting the behavior parameters and / or physiological parameters of the user in the first preset time period into a preset growth status model to obtain the growth status of the user, the method further includes: Acquiring behavioral parameters and / or physiological parameters of the user during the second preset time period, and an evaluation result of the growth status of the user during the second preset time period; The preset growth status model is obtained by training a preset machine learning model based on the behavioral parameters and / or physiological parameters of the user in the second preset time period and the evaluation results of the growth status of the user in the second preset time period.
3. The method according to claim 2, characterized in that Before training the preset machine learning model based on the behavioral parameters and / or physiological parameters of the user in the second preset time period and the evaluation result of the growth status of the user in the second preset time period, the method further includes: Extracting the acquisition time of the behavior parameter and / or physiological parameter of the user within the second preset time period; combining the acquisition time of the behavior parameters and / or physiological parameters of the user in the second preset time period with the behavior parameters and / or physiological parameters of the user in the second preset time period to obtain a target parameter, wherein the target parameter is the combined behavior parameters and / or physiological parameters of the user in the second preset time period; The training of a preset machine learning model based on the behavioral parameters and / or physiological parameters of the user in the second preset time period and the evaluation result of the growth status of the user in the second preset time period includes: The preset machine learning model is trained based on the target parameters and the evaluation result of the user's growth status within the second preset time period.
4. The method according to claim 3, characterized in that The evaluation result of the growth status of the user within the second preset time period is obtained based on the questionnaire result of the user completed within the second preset time period.
5. The method according to claim 1, characterized in that The user's behavioral parameters within the first preset time period include the user's exercise duration, exercise frequency and exercise type within the first preset time period, and the user's physiological parameters within the first preset time period include the user's body mass index, sleep duration and emotional information within the first preset time period.
6. The method according to claim 1, characterized in that The method further comprises: Displays the user's growth status.
7. The method according to claim 1, characterized in that The method further comprises: Sending the growth status of the user to a server; Acquire and display ranking information corresponding to the growth status of the user, wherein the ranking information is obtained by the server after sorting the growth status of all users in the server within the first preset time period in a preset order.
8. The method according to claim 7, characterized in that The method further comprises: Based on the growth status of the user within the first preset time period displayed in the electronic device, prompt information is output, where the prompt information is used to remind the user to make adjustments to improve the growth status of the user.
9. The method according to claim 8, characterized in that The outputting prompt information based on the growth status of the user in the first preset time period displayed on the electronic device includes: comparing the growth status of the user in the first preset time period displayed in the electronic device with a preset standard growth status; When the growth status of the user during the first preset time period displayed in the electronic device is lower than the preset standard growth status, the prompt information is output, and the prompt information includes at least one of adjusting the exercise duration, adjusting the sleep duration, adjusting the proportion of positive emotions and adjusting the weight.
10. A device for calculating growth status, characterized in that: The device comprises: An acquisition module, used to acquire behavioral parameters and / or physiological parameters of the user within a first preset time period; a processing module, configured to input the behavior parameters and / or physiological parameters of the user in the first preset time period into a preset growth status model to obtain the growth status of the user; Among them, the preset growth status model is trained based on the behavioral parameters and / or physiological parameters of the user in a second preset time period, and the evaluation results of the user's growth status in the second preset time period, and the second preset time period is before the first preset time period.
11. An electronic device, characterized in that: The system comprises a processor and a memory, wherein the memory is used to store code instructions; and the processor is used to run the code instructions to execute the method according to any one of claims 1 to 9.
12. A computer-readable storage medium, characterized in that: Used to store a computer program, the computer program comprising instructions for implementing the method according to any one of claims 1 to 9.
