WO2022193676A1 - Method and apparatus for generating user portrait, and storage medium and electronic device - Google Patents

Method and apparatus for generating user portrait, and storage medium and electronic device Download PDF

Info

Publication number
WO2022193676A1
WO2022193676A1 PCT/CN2021/128263 CN2021128263W WO2022193676A1 WO 2022193676 A1 WO2022193676 A1 WO 2022193676A1 CN 2021128263 W CN2021128263 W CN 2021128263W WO 2022193676 A1 WO2022193676 A1 WO 2022193676A1
Authority
WO
WIPO (PCT)
Prior art keywords
user
plan
information
exercise
target
Prior art date
Application number
PCT/CN2021/128263
Other languages
French (fr)
Chinese (zh)
Inventor
王磊
魏绎郦
黄迪
李林峰
Original Assignee
北京懿医云科技有限公司
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 北京懿医云科技有限公司 filed Critical 北京懿医云科技有限公司
Publication of WO2022193676A1 publication Critical patent/WO2022193676A1/en

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
    • G16H20/00ICT specially adapted for therapies or health-improving plans, e.g. for handling prescriptions, for steering therapy or for monitoring patient compliance
    • G16H20/60ICT specially adapted for therapies or health-improving plans, e.g. for handling prescriptions, for steering therapy or for monitoring patient compliance relating to nutrition control, e.g. diets
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02ATECHNOLOGIES FOR ADAPTATION TO CLIMATE CHANGE
    • Y02A90/00Technologies having an indirect contribution to adaptation to climate change
    • Y02A90/10Information and communication technologies [ICT] supporting adaptation to climate change, e.g. for weather forecasting or climate simulation

Definitions

  • Embodiments of the present invention relate to the technical field of big data processing, and in particular, to a user portrait generation method, a user portrait generation device, a computer-readable storage medium, and an electronic device.
  • Diabetes mellitus is a common chronic non-communicable disease, a clinical syndrome caused by the interaction of genetic and environmental factors, and a lifelong disease.
  • the management of diabetes one of the main ways is to manage the patient's blood sugar.
  • the management methods of blood sugar mainly include exercise management and diet management.
  • a corresponding exercise plan and a diet plan are formulated for the user directly according to the user's own body mass index and combined with the existing medical knowledge.
  • a method for generating a user portrait comprising:
  • an apparatus for generating user portraits comprising:
  • a user label calculation module used to obtain disease information and daily life information of a target user, and determine user labels of the target user in multiple different dimensions according to the disease information and daily life information;
  • a plan table calculation module configured to determine the current exercise plan table and the current diet plan table of the target user according to the user labels on each of the different dimensions and the daily behavior information of the target user;
  • a user portrait generation module configured to construct a target plan according to the current exercise plan and the current diet plan, and generate a user portrait of the target user according to the goal plan, preset sports categories and food categories;
  • a plan matching module configured to match a standard diet plan and a standard exercise plan for the target user according to the user portrait, and send the standard diet plan and the standard exercise plan to the terminal device where the target user is located.
  • a computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, implements any one of the above-mentioned methods for generating a user portrait.
  • an electronic device comprising:
  • a memory for storing executable instructions for the processor
  • the processor is configured to execute any one of the user portrait generation methods described above by executing the executable instructions.
  • FIG. 1 schematically shows a flowchart of a method for generating a user portrait according to an exemplary embodiment of the present disclosure.
  • FIG. 2 schematically shows an example diagram of calculating a resting metabolic rate according to an exemplary embodiment of the present disclosure.
  • Fig. 3 schematically shows a method for determining the current exercise plan and the current diet plan of the target user according to the user tags on each of the different dimensions and the daily behavior information of the target user according to an exemplary embodiment of the present disclosure method flow chart.
  • FIG. 4 schematically shows an example diagram of calculation of a user's planned heart rate according to an exemplary embodiment of the present disclosure.
  • FIG. 5 schematically shows a construction of a target plan according to the current exercise plan and the current diet plan according to an exemplary embodiment of the present disclosure, and according to the goal plan, a preset sports category and a food category, generating The method flowchart of the user portrait of the target user.
  • FIG. 6 schematically shows a flowchart of another method for generating a user portrait according to an exemplary embodiment of the present disclosure.
  • FIG. 7 schematically shows a block diagram of an apparatus for generating a user portrait according to an exemplary embodiment of the present disclosure.
  • FIG. 8 schematically shows an electronic device for implementing the above-mentioned method for generating a user portrait according to an exemplary embodiment of the present disclosure.
  • Example embodiments will now be described more fully with reference to the accompanying drawings.
  • Example embodiments can be embodied in various forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the concept of example embodiments to those skilled in the art.
  • the described features, structures or characteristics may be combined in any suitable manner in one or more embodiments.
  • Diabetes mellitus is a common chronic non-communicable disease, a clinical syndrome caused by the interaction of genetic and environmental factors, and a lifelong disease. Diabetes is caused by the inability of the pancreas to secrete insulin normally, or the dysfunction of insulin.
  • the human body has been surrounded by high-calorie diets such as takeaways and snacks for a long time, coupled with the combined effect of factors such as the lack of exercise caused by the fat house culture, and the poor psychological state caused by occupational pressure, diabetes The incidence is showing a continuous upward trend, and its prevention and rehabilitation have become an extremely urgent task.
  • the management of diabetes one of the main ways is the management of patients' blood sugar.
  • Blood sugar management formulates exercise and diet management plans based on a comprehensive evaluation of personal health status, psychological status, diet status and lifestyle, and urges patients to implement them. Through the effect evaluation, the management plan is adjusted and implemented again, so as to achieve the purpose of long-term fat reduction and hypoglycemic reduction.
  • the management methods of blood sugar mainly include exercise management and diet management.
  • the purpose of diet management is to quantify the content of the three major nutrients in the diet, the calorie intake, the proportion of three meals, the proportion and quantity of trace elements, etc.
  • the purpose of exercise management is to quantify exercise intensity, exercise time, exercise frequency, etc. elements. Clinical practice shows that the effect of blood sugar management through the combination of exercise management and diet management is particularly significant.
  • This exemplary embodiment first provides a method for generating user portraits, which can run on a server, server cluster, or cloud server, etc.
  • a method for generating user portraits which can run on a server, server cluster, or cloud server, etc.
  • those skilled in the art can also run the method of the present invention on other platforms as required.
  • This example This is not specifically limited in the exemplary embodiment.
  • the user portrait generation method may include the following steps:
  • Step S110 Obtain disease information and daily life information of the target user, and determine user tags of the target user in multiple different dimensions according to the disease information and daily life information;
  • Step S120 Determine the current exercise plan and the current diet plan of the target user according to the user labels on each of the different dimensions and the daily behavior information of the target user;
  • Step S130 Build a target schedule according to the current exercise schedule and the current diet schedule, and generate a user portrait of the target user according to the target schedule, preset sports categories and food categories;
  • Step S140 Match a standard diet plan and a standard exercise plan for the target user according to the user portrait, and send the standard diet plan and standard exercise plan to the terminal device where the target user is located.
  • the user portrait generation method on the one hand, by obtaining the disease information and daily life information of the target user, and according to the disease information and daily life information, the user labels of the target user in multiple different dimensions are determined;
  • the user tag and the daily behavior information of the target user determine the current exercise plan and the current diet plan of the target user; then construct the goal plan according to the current exercise plan and the current diet plan, and according to the goal plan, preset Sports category and food category, generate the user portrait of the target user; finally, match the standard diet plan and standard exercise plan for the target user according to the user portrait, and send the standard diet plan and standard exercise plan to the terminal device where the target user is located.
  • the user labels in multiple different dimensions of the target user are considered at the same time, and the user label is calculated according to the disease information and daily life information, thus solving the problem in the prior art due to the lack of combination of the user's disease.
  • information and daily life information so that the user portrait cannot be generated according to the user's disease information and daily life information, so that the accuracy of the user portrait is low, which improves the accuracy of the user portrait; on the other hand, it solves the problem of the existing technology.
  • the daily behavior information is considered, that is, the feedback information of the user on the standard diet plan and the standard exercise plan is taken into account, which further improves the accuracy of the standard diet plan and the standard exercise plan, and reduces the user's response to the standard diet plan. And the difficulty of completing the standard exercise program improves the user experience.
  • Health file A wide table that records the patient's personal basic information, disease/treatment information, and life information.
  • Operational research optimization The optimization process of finding feasible solutions within a given boundary range and finding the best solution from the feasible solutions.
  • Positive feedback It means that the controlled part sends out feedback information, and its direction is consistent with the control information, which can promote or strengthen the activities of the control part; it can make the process continue to strengthen until the final physiological function is completed.
  • Personalized recommendation Provide different information combinations for different users.
  • Recommendation recall Select the part related to the current recommendation by the user (according to user information, user preference, historical behavior and other information) from the global candidate library as the candidate set.
  • the present disclosure improves the calculation of the content of the three major nutrients (protein, fat and carbohydrate), the calorie intake, the proportion of three meals, the proportion of trace elements, the duration of exercise, and the frequency of exercise. Under the sugar target, reduce the difficulty of completing the target. Through punch cards, user logs and other recording tools, improve the system and user information exchange, and further improve user satisfaction with recommendations.
  • the three major nutrients protein, fat and carbohydrate
  • the calorie intake the proportion of three meals
  • the proportion of trace elements the duration of exercise
  • the frequency of exercise Under the sugar target, reduce the difficulty of completing the target.
  • punch cards, user logs and other recording tools improve the system and user information exchange, and further improve user satisfaction with recommendations.
  • step S110 the disease information and daily life information of the target user are acquired, and according to the disease information and the daily life information, user tags of the target user in multiple different dimensions are determined.
  • the health file of the target user can be obtained, and the health file can be used to store user information, and then the target user's disease information and daily life information including disease information and daily life information are extracted from the health file;
  • the disease information may include basic patient information, physical information, diabetes information, hypertension information, hyperlipidemia information, hyperuric acid information, complications information, hormone information, etc.
  • daily life information may include diet information, sleep information, anxiety information, depression information Information, physical activity information, and cardiopulmonary function information; wherein, the data of the health record comes from questionnaires.
  • user tags of the target user in multiple different dimensions may be determined according to the disease information and daily behavior information. Specifically, it may include: first, according to the disease symptom information and physical information of the target user in the disease information, determine the first user label of the target user in the dimension of weight management; secondly, according to the daily life information, determine The target user has a second user label on the dimension of eating activity, a third user label on the physical activity dimension, and a fourth user label on the emotional activity dimension.
  • calculating the target user's second user label on the dimension of dietary activity, the third user label on physical activity, and the fourth user label on the emotional activity dimension of the target user according to the daily life information may further include: a
  • the second user tag is calculated according to the diet information in the daily life information; on the other hand, the third user tag is calculated according to the physical activity information and cardiopulmonary function information in the daily life information;
  • the fourth user tag is calculated according to sleep information, anxiety information and depression information in the daily life information.
  • the above-mentioned user tags may include a weight management tag (the first user tag in the weight management dimension), a diet activity tag (the second user tag in the diet activity dimension), and a physical activity tag (the third user tag in the physical activity dimension) User label), anxiety and depression label (the fourth user label on the emotional activity dimension) four categories. in:
  • the dietary activity label may include dietary habits and dietary risks; among them, the factors affecting dietary habits may include: dietary scene preference, staple food preference, and cooking method preference, and of course dairy product preference and snack intake preference, etc. No special restrictions are made. Factors affecting dietary risk may include risk of liver and kidney function, glycemic index of recommended foods, and dietary taboos.
  • the staple food preference can also be divided into staple food intake grading, protein intake grading, oil intake grading, and fruit intake grading.
  • the factors affecting the physical activity label can include physical activity classification and cardiopulmonary function classification, etc.; the factors affecting the weight management label can include resting metabolic rate, daily calorie consumption, and exercise time; the factors affecting the anxiety and depression label can include anxiety level and sleep. quality level, etc.
  • user tags may also include tags of other dimensions, such as user tags of the dimension of genetic medical history, etc., which is not limited in this example.
  • tags of other dimensions such as user tags of the dimension of genetic medical history, etc.
  • specific factors included in each user label can also be adjusted according to actual needs.
  • the value range of the user tag can be divided into three categories, namely, multi-value character type, single-value character type, and single-value floating-point type.
  • the resting metabolic rate of the target user can be calculated according to the user's gender, age, height and weight, as shown in FIG. 2 for details. For example: if the gender is male, the resting metabolic rate can be calculated by the following formula (1):
  • the resting metabolic rate can be calculated by the following formula (2):
  • the calculation method of daily calorie consumption is: resting metabolic rate * metabolic coefficient.
  • step S120 according to the user tags on each of the different dimensions and the daily behavior information of the target user, the current exercise schedule and the current diet schedule of the target user are calculated.
  • the current exercise plan and the current diet plan of the target user are determined, and the current exercise plan and the current diet plan can be determined. It includes steps S310-S330.
  • the user plan information of the target user is calculated according to the user labels on each of the different dimensions and the daily behavior information of the target user; wherein the user plan information includes the user's planned heart rate, the user's planned exercise A variety of the duration, the user's planned exercise intensity, the user's planned total energy intake, and the user's planned intake of protein, fat, and carbohydrate in the total energy.
  • step S320 the user plan information is adjusted according to the user's actual information in the target user's daily behavior information; wherein the user's actual information includes the user's actual heart rate, the user's actual exercise duration, the user's actual exercise intensity, The total energy actually consumed by the user and the ratios of protein, fat and carbohydrates actually consumed by the user in the total energy.
  • the user's actual information includes the user's actual heart rate, the user's actual exercise duration, the user's actual exercise intensity, The total energy actually consumed by the user and the ratios of protein, fat and carbohydrates actually consumed by the user in the total energy.
  • step S330 the current exercise schedule is generated according to the adjusted user's planned heart rate, the user's planned exercise duration, and the user's planned exercise intensity, and the adjusted total energy and the user's planned intake of protein are , the proportion of fat and carbohydrates in the total energy, and generate the current diet plan.
  • the user policy is an index that actually guides the user's calorie consumption, intake, and the ratio of three meals, and is mainly numerical.
  • the user policy may include exercise policy and diet policy, ie the current exercise schedule and current diet schedule as described herein.
  • the exercise policy current exercise plan
  • the diet policy current diet plan
  • the ratio range the proportion of breakfast/lunch/dinner/snack, and the range of trace elements, etc.
  • the input terminal may include the user labels of the above-mentioned different dimensions and the daily behavior information (records) and behavior records of the target user.
  • the generation of the user's planned heart rate may refer to FIG. 4 .
  • the user's planned heart rate (planned average heart rate) can be obtained through the exercise intensity label, the resting heart rate label and the reserve heart rate label.
  • the specific calculation method can be shown in the following formula (3):
  • Planned heart rate (0.4 + exercise intensity * 0.1) * reserve heart rate + resting heart rate; formula (3)
  • reserve heart rate maximum heart rate - resting heart rate
  • the user plan information can be adjusted according to the actual information of the user, thereby generating a current exercise plan table and a current diet plan table.
  • the specific adjustment process if the calculation result of the accumulated value of the user's exercise check-in and stay time on the exercise plan page does not reach the minimum threshold, the user's daily energy intake value will be reduced, and then other plan information will be adjusted. Adjustment.
  • a target plan table is constructed according to the current exercise plan table and the current diet plan table, and a user portrait of the target user is generated according to the target plan table, preset sports category and food category.
  • a target plan is constructed according to the current exercise plan and the current diet plan, and the target plan is generated according to the goal plan and preset sports categories and food categories.
  • the user portrait of the target user may include steps S510-S530.
  • step S510 a first objective function is generated according to the adjusted user's planned heart rate, the user's planned exercise time, and the user's planned exercise intensity in the current exercise schedule.
  • step S520 a second target is generated according to the adjusted total energy planned by the user and the proportion of protein, fat and carbohydrates planned by the user in the total energy in the current diet plan table function.
  • step S530 using the current exercise schedule as the first boundary condition of the first objective function, and using the current diet schedule as the second boundary condition of the second objective function, according to the preset
  • the first objective function and the second objective function are solved according to the sports category and the food category, and the user portrait of the target user is obtained; wherein, the user portrait includes the diet plan and the exercise plan of the target user.
  • steps S510 to S530 will be explained and described.
  • User portrait the operational research optimization algorithm uses the target data to construct the objective function and boundary conditions, and uses the material data as the solution space to solve the feasible and optimal solutions in the solution space.
  • the objective function can be:
  • Carbohydrates x11*breakfast+x12*lunch+x13*dinner+x14*snack;
  • Fat x31*breakfast+x32*lunch+x33*dinner+x34*snack
  • Sports categories can include jogging, jogging, brisk walking, fast running, rope skipping and yoga, etc.
  • Food categories can include rice, millet, brown rice, vegetables (spinach, cabbage, tomatoes, zucchini, broccoli, wax gourd, etc.), Steamed buns and meat (fish, chicken, duck, beef, etc.) can be adjusted according to the actual situation, which is not limited in this example.
  • the user portrait generation method may further include: filtering the sports scenes and sports preferences in the sports category based on preset filtering rules, and filtering the food category. Foods are filtered in the glycemic index. For example, before the material data (sports category and food category) is input into the operation research optimization calculation model, it must first go through business filtering. scene and sports preferences, etc.
  • step S140 a standard diet plan and a standard exercise plan are matched for the target user according to the user portrait, and the standard diet plan and standard exercise plan are sent to the terminal device where the target user is located.
  • matching a standard diet plan and a standard exercise plan for the target user according to the user portrait which may specifically include: matching the user portrait to the user's exercise preference according to the user's exercise preference in the daily behavior information.
  • the diet plan and the exercise plan are sorted, and the standard diet plan and the standard exercise plan are obtained according to the sorting result.
  • the feasible solutions and optimal solutions calculated by the operation research optimization can be input into the sorting module.
  • the actual user preferences and actual user behaviors of the target users are used for sorting, and the sorted TOP3 results are recalled as The standard diet plan and the standard exercise plan are sent to the terminal device where the target user is located, so that the user can view the standard diet plan and the standard exercise plan.
  • the user portrait generation method may include the following steps:
  • Step S610 collect the health profile data of the target user, and calculate the user label
  • Step S620 formulate a user policy according to the user tag
  • Step S630 filter the material data, and perform operational research optimization according to the filtered material data and the user policy to obtain multiple feasible solutions and an optimal solution;
  • Step S640 sort the feasible solutions and the optimal solutions according to the user behavior of the target user, and then obtain the final recommendation scheme, and adjust the user label and the recommendation scheme according to the specific feedback information of the target on the recommendation scheme.
  • the user portrait generation method provided by the present disclosure solves the problem that it is difficult to form positive feedback without user feedback as a label in the recommendation of diabetes diet and exercise in the prior art;
  • the diversity and accuracy of the scheme are increased; finally, the recommendation of diet and exercise using end-to-end neural networks in the existing technology is avoided, and the problem that health managers are difficult to interpret the recommendation results in real application scenarios is not considered .
  • the present disclosure also provides a user portrait generation device.
  • the user portrait generation device may include a user label calculation module 710 , a schedule generation module 720 , a user portrait generation module 730 and a scheme matching module 740 . in:
  • the user tag calculation module 710 can be used to obtain disease information and daily life information of the target user, and determine user tags of the target user in multiple different dimensions according to the disease information and daily life information;
  • the plan calculation module 720 may be configured to determine the current exercise plan and the current diet plan of the target user according to the user tags on each of the different dimensions and the daily behavior information of the target user;
  • the user portrait generation module 730 can be used to construct a target plan according to the current exercise plan and the current diet plan, and generate the user portrait of the target user according to the goal plan, the preset sports category and the food category. ;
  • the plan matching module 740 may be configured to match a standard diet plan and a standard exercise plan for the target user according to the user portrait, and send the standard diet plan and standard exercise plan to the terminal device where the target user is located.
  • user tags of the target user in multiple different dimensions are determined, including:
  • the disease symptom information and physique information of the target user in the disease information determine the first user label of the target user in the dimension of weight management
  • the target user's second user label on the dimension of eating activity, the third user label on the physical activity, and the fourth user label on the emotional activity dimension are determined.
  • a second user label on the eating activity dimension a third user label on the physical activity, and an emotional activity dimension of the target user are determined.
  • the fourth user tab of including:
  • the fourth user tag is calculated according to sleep information, anxiety information and depression information in the daily life information.
  • determining the current exercise plan and the current diet plan of the target user according to the user tags on each of the different dimensions and the daily behavior information of the target user including:
  • the user plan information includes the user's planned heart rate, the user's planned exercise duration, and the user's planned exercise. a variety of the intensity, the total energy the user plans to consume, and the proportion of protein, fat, and carbohydrates the user plans to consume in the total energy;
  • the user plan information is adjusted according to the user's actual information in the target user's daily behavior information; wherein the user's actual information includes the user's actual heart rate, the user's actual exercise duration, the user's actual exercise intensity, and the user's actual intake.
  • the current exercise schedule is generated, and based on the adjusted total energy planned by the user and the planned intake of protein, fat and carbohydrates by the user In the proportion of the total energy, the current diet plan table is generated.
  • a goal plan is constructed according to the current exercise plan and the current diet plan, and the goal is generated according to the goal plan, a preset sports category and a food category User profile, including:
  • the category solves the first objective function and the second objective function to obtain a user portrait of the target user; wherein the user portrait includes the target user's diet plan and exercise plan.
  • the user portrait generating apparatus further includes:
  • the data filtering module is configured to filter the sports scenes and sports preferences in the sports category based on preset filtering rules, and filter the blood sugar generation index of the food in the food category.
  • matching a standard diet plan and a standard exercise plan for the target user according to the user portrait includes:
  • modules or units of the apparatus for action performance are mentioned in the above detailed description, this division is not mandatory. Indeed, according to embodiments of the present invention, the features and functions of two or more modules or units described above may be embodied in one module or unit. Conversely, the features and functions of one module or unit described above may be further divided into multiple modules or units to be embodied.
  • an electronic device capable of implementing the above method is also provided.
  • aspects of the present invention may be implemented as a system, method or program product. Therefore, various aspects of the present invention can be embodied in the following forms: a complete hardware implementation, a complete software implementation (including firmware, microcode, etc.), or a combination of hardware and software aspects, which may be collectively referred to herein as implementations "circuit", “module” or "system”.
  • FIG. 8 An electronic device 800 according to this embodiment of the present invention is described below with reference to FIG. 8 .
  • the electronic device 800 shown in FIG. 8 is only an example, and should not impose any limitation on the function and scope of use of the embodiments of the present invention.
  • electronic device 800 takes the form of a general-purpose computing device.
  • Components of the electronic device 800 may include, but are not limited to, the above-mentioned at least one processing unit 810 , the above-mentioned at least one storage unit 820 , a bus 830 connecting different system components (including the storage unit 820 and the processing unit 810 ), and a display unit 840 .
  • the storage unit stores program codes, and the program codes can be executed by the processing unit 810, so that the processing unit 810 executes various exemplary methods according to the present invention described in the above-mentioned “Exemplary Methods” section of this specification Implementation steps.
  • the processing unit 810 may perform step S110 as shown in FIG.
  • Step S120 acquire disease information and daily life information of the target user, and determine, according to the disease information and daily life information, that the target user is in multiple different the user label on the dimension;
  • Step S120 According to the user label on each of the different dimensions and the daily behavior information of the target user, determine the current exercise plan and the current diet plan of the target user;
  • Step S130 According to the The current exercise plan and the current diet plan are constructed to construct a target plan, and according to the target plan, the preset sports category and the food category, the user portrait of the target user is generated;
  • Step S140 According to the user portrait, The target user matches the standard diet plan and the standard exercise plan, and sends the standard diet plan and the standard exercise plan to the terminal device where the target user is located.
  • the storage unit 820 may include a readable medium in the form of a volatile storage unit, such as a random access storage unit (RAM) 8201 and/or a cache storage unit 8202 , and may further include a read only storage unit (ROM) 8203 .
  • RAM random access storage unit
  • ROM read only storage unit
  • the storage unit 820 may also include a program/utility 8204 having a set (at least one) of program modules 8205 including, but not limited to, an operating system, one or more application programs, other program modules, and program data, An implementation of a network environment may be included in each or some combination of these examples.
  • the bus 830 may be representative of one or more of several types of bus structures, including a memory cell bus or memory cell controller, a peripheral bus, a graphics acceleration port, a processing unit, or a local area using any of a variety of bus structures bus.
  • the electronic device 800 may also communicate with one or more external devices 900 (eg, keyboards, pointing devices, Bluetooth devices, etc.), with one or more devices that enable a user to interact with the electronic device 800, and/or with Any device (eg, router, modem, etc.) that enables the electronic device 800 to communicate with one or more other computing devices. Such communication may take place through input/output (I/O) interface 850 . Also, the electronic device 800 may communicate with one or more networks (eg, a local area network (LAN), a wide area network (WAN), and/or a public network such as the Internet) through a network adapter 860 . As shown, network adapter 860 communicates with other modules of electronic device 800 via bus 830 . It should be understood that, although not shown, other hardware and/or software modules may be used in conjunction with electronic device 800, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives and data backup storage systems.
  • the exemplary embodiments described herein may be implemented by software, or may be implemented by software combined with necessary hardware. Therefore, the technical solutions according to the embodiments of the present invention can be embodied in the form of software products, and the software products can be stored in a non-volatile storage medium (which can be CD-ROM, U disk, mobile hard disk, etc.) or on the network , including several instructions to cause a computing device (which may be a personal computer, a server, a terminal device, or a network device, etc.) to execute the method according to an embodiment of the present invention.
  • a computing device which may be a personal computer, a server, a terminal device, or a network device, etc.
  • a computer-readable storage medium on which a program product capable of implementing the above-mentioned method of the present specification is stored.
  • aspects of the present invention can also be implemented in the form of a program product comprising program code for enabling the program product to run on a terminal device The terminal device performs the steps according to various exemplary embodiments of the present invention described in the "Example Method" section above in this specification.
  • a program product for implementing the above method according to an embodiment of the present invention may adopt a portable compact disc read only memory (CD-ROM) and include program codes, and may run on a terminal device, such as a personal computer.
  • CD-ROM compact disc read only memory
  • the program product of the present invention is not limited thereto, and in this document, a readable storage medium may be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, apparatus, or device.
  • the program product may employ any combination of one or more readable media.
  • the readable medium may be a readable signal medium or a readable storage medium.
  • the readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus or device, or a combination of any of the above. More specific examples (non-exhaustive list) of readable storage media include: electrical connections with one or more wires, portable disks, hard disks, random access memory (RAM), read only memory (ROM), erasable programmable read only memory (EPROM or flash memory), optical fiber, portable compact disk read only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the foregoing.
  • a computer readable signal medium may include a propagated data signal in baseband or as part of a carrier wave with readable program code embodied thereon. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the foregoing.
  • a readable signal medium can also be any readable medium, other than a readable storage medium, that can transmit, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device.
  • Program code embodied on a readable medium may be transmitted using any suitable medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
  • Program code for carrying out operations of the present invention may be written in any combination of one or more programming languages, including object-oriented programming languages—such as Java, C++, etc., as well as conventional procedural Programming Language - such as the "C" language or similar programming language.
  • the program code may execute entirely on the user computing device, partly on the user device, as a stand-alone software package, partly on the user computing device and partly on a remote computing device, or entirely on the remote computing device or server execute on.
  • the remote computing device may be connected to the user computing device through any kind of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computing device (eg, using an Internet service provider business via an Internet connection).
  • LAN local area network
  • WAN wide area network

Abstract

A method and apparatus for generating a user portrait, and a storage medium and an electronic device, which relate to the technical field of big data processing. The method comprises: determining user labels of a target user in a plurality of different dimensions according to disease information and daily life information; determining the current exercise schedule and the current diet schedule of the target user according to the user labels in the different dimensions and daily behavior information of the target user; constructing a target schedule according to the current exercise schedule and the current diet schedule, and generating a user portrait of the target user according to the target schedule, a preset exercise category and a food category; and matching a standard diet scheme and a standard exercise scheme for the target user according to the user portrait, and sending the standard diet scheme and the standard exercise scheme to a terminal device of the target user. The accuracy of a standard diet scheme and a standard exercise scheme is improved.

Description

用户画像生成方法及装置、存储介质、电子设备User portrait generation method and device, storage medium, and electronic device
相关申请的交叉引用CROSS-REFERENCE TO RELATED APPLICATIONS
本申请要求于2021年03月16日提交的申请号为202110281263.4、名称为“用户This application requires the application number 202110281263.4 to be submitted on March 16, 2021 and the name is "User 画像生成方法及装置、存储介质、电子设备”的中国专利申请的优先权,该中国专利申The priority of the Chinese patent application for the portrait generation method and device, storage medium, and electronic equipment”, the Chinese patent application 请的全部内容通过引入全部并入本文。The entire contents of please are incorporated herein by reference in their entirety.
技术领域technical field
本发明实施例涉及大数据处理技术领域,具体而言,涉及一种用户画像生成方法、用户画像生成装置、计算机可读存储介质以及电子设备。Embodiments of the present invention relate to the technical field of big data processing, and in particular, to a user portrait generation method, a user portrait generation device, a computer-readable storage medium, and an electronic device.
背景技术Background technique
糖尿病是一种常见的慢性非传染性疾病,是由遗传和环境因素相互作用而引起的临床综合征,是终身的疾病。其中,糖尿病的管理,主要的一种方式就是对患者的血糖进行管理。Diabetes mellitus is a common chronic non-communicable disease, a clinical syndrome caused by the interaction of genetic and environmental factors, and a lifelong disease. Among them, the management of diabetes, one of the main ways is to manage the patient's blood sugar.
除药物的介入外,血糖的管理方式主要有运动管理和饮食管理。在一些运动管理和饮食管理的方法中,是直接根据用户自身的身体质量指数,结合现有的医疗知识,为用户制定相应的运动计划以及饮食计划。In addition to the intervention of drugs, the management methods of blood sugar mainly include exercise management and diet management. In some methods of exercise management and diet management, a corresponding exercise plan and a diet plan are formulated for the user directly according to the user's own body mass index and combined with the existing medical knowledge.
发明内容SUMMARY OF THE INVENTION
根据本公开的一个方面,提供一种用户画像生成方法,包括:According to one aspect of the present disclosure, a method for generating a user portrait is provided, comprising:
获取目标用户的疾病信息和日常生活信息,并根据所述疾病信息和日常生活信息,确定所述目标用户在多个不同维度上的用户标签;Acquiring disease information and daily life information of the target user, and determining user labels of the target user in multiple different dimensions according to the disease information and daily life information;
根据各所述不同维度上的用户标签和所述目标用户的日常行为信息,确定所述目标用户的当前运动计划表以及当前饮食计划表;Determine the current exercise plan and the current diet plan of the target user according to the user tags on each of the different dimensions and the daily behavior information of the target user;
根据所述当前运动计划表和当前饮食计划表构建目标计划表,并根据所述目标计划表、预设的运动品类以及食品品类,生成所述目标用户的用户画像;Build a target plan according to the current exercise plan and the current diet plan, and generate a user portrait of the target user according to the goal plan, preset sports categories and food categories;
根据所述用户画像为所述目标用户匹配标准饮食方案和标准运动方案,并将所述标准饮食方案和标准运动方案发送至所述目标用户所在的终端设备。Match a standard diet plan and a standard exercise plan for the target user according to the user portrait, and send the standard diet plan and standard exercise plan to the terminal device where the target user is located.
根据本公开的一个方面,提供一种用户画像生成装置,包括:According to one aspect of the present disclosure, there is provided an apparatus for generating user portraits, comprising:
用户标签计算模块,用于获取目标用户的疾病信息和日常生活信息,并根据所述疾病信息和日常生活信息,确定所述目标用户在多个不同维度上的用户标签;a user label calculation module, used to obtain disease information and daily life information of a target user, and determine user labels of the target user in multiple different dimensions according to the disease information and daily life information;
计划表计算模块,用于根据各所述不同维度上的用户标签和所述目标用户的日常行为信息,确定所述目标用户的当前运动计划表以及当前饮食计划表;a plan table calculation module, configured to determine the current exercise plan table and the current diet plan table of the target user according to the user labels on each of the different dimensions and the daily behavior information of the target user;
用户画像生成模块,用于根据所述当前运动计划表和当前饮食计划表构建目标计划 表,并根据所述目标计划表、预设的运动品类以及食品品类,生成所述目标用户的用户画像;A user portrait generation module, configured to construct a target plan according to the current exercise plan and the current diet plan, and generate a user portrait of the target user according to the goal plan, preset sports categories and food categories;
方案匹配模块,用于根据所述用户画像为所述目标用户匹配标准饮食方案和标准运动方案,并将所述标准饮食方案和标准运动方案发送至所述目标用户所在的终端设备。A plan matching module, configured to match a standard diet plan and a standard exercise plan for the target user according to the user portrait, and send the standard diet plan and the standard exercise plan to the terminal device where the target user is located.
根据本公开的一个方面,提供一种计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现上述任意一项所述的用户画像生成方法。According to one aspect of the present disclosure, there is provided a computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, implements any one of the above-mentioned methods for generating a user portrait.
根据本公开的一个方面,提供一种电子设备,包括:According to one aspect of the present disclosure, there is provided an electronic device, comprising:
处理器;以及processor; and
存储器,用于存储所述处理器的可执行指令;a memory for storing executable instructions for the processor;
其中,所述处理器配置为经由执行所述可执行指令来执行上述任意一项所述的用户画像生成方法。Wherein, the processor is configured to execute any one of the user portrait generation methods described above by executing the executable instructions.
应当理解的是,以上的一般描述和后文的细节描述仅是示例性和解释性的,并不能限制本公开。It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure.
附图说明Description of drawings
此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本公开的实施例,并与说明书一起用于解释本公开的原理。显而易见地,下面描述中的附图仅仅是本公开的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。在附图中:The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the disclosure and together with the description serve to explain the principles of the disclosure. Obviously, the drawings in the following description are only some embodiments of the present disclosure, and for those of ordinary skill in the art, other drawings can also be obtained from these drawings without creative effort. In the attached image:
图1示意性示出根据本公开示例实施例的一种用户画像生成方法的流程图。FIG. 1 schematically shows a flowchart of a method for generating a user portrait according to an exemplary embodiment of the present disclosure.
图2示意性示出根据本公开示例实施例的一种静息代谢率的计算示例图。FIG. 2 schematically shows an example diagram of calculating a resting metabolic rate according to an exemplary embodiment of the present disclosure.
图3示意性示出根据本公开示例实施例的一种根据各所述不同维度上的用户标签和所述目标用户的日常行为信息,确定所述目标用户的当前运动计划表和当前饮食计划表的方法流程图。Fig. 3 schematically shows a method for determining the current exercise plan and the current diet plan of the target user according to the user tags on each of the different dimensions and the daily behavior information of the target user according to an exemplary embodiment of the present disclosure method flow chart.
图4示意性示出根据本公开示例实施例的一种用户计划心率的计算示例图。FIG. 4 schematically shows an example diagram of calculation of a user's planned heart rate according to an exemplary embodiment of the present disclosure.
图5示意性示出根据本公开示例实施例的一种根据所述当前运动计划表和当前饮食计划表构建目标计划表,并根据所述目标计划表、预设的运动品类以及食品品类,生成所述目标用户的用户画像的方法流程图。FIG. 5 schematically shows a construction of a target plan according to the current exercise plan and the current diet plan according to an exemplary embodiment of the present disclosure, and according to the goal plan, a preset sports category and a food category, generating The method flowchart of the user portrait of the target user.
图6示意性示出根据本公开示例实施例的另一种用户画像生成方法的流程图。FIG. 6 schematically shows a flowchart of another method for generating a user portrait according to an exemplary embodiment of the present disclosure.
图7示意性示出根据本公开示例实施例的一种用户画像生成装置的框图。FIG. 7 schematically shows a block diagram of an apparatus for generating a user portrait according to an exemplary embodiment of the present disclosure.
图8示意性示出根据本公开示例实施例的一种用于实现上述用户画像生成方法的电子设备。FIG. 8 schematically shows an electronic device for implementing the above-mentioned method for generating a user portrait according to an exemplary embodiment of the present disclosure.
具体实施方式Detailed ways
现在将参照附图更全面地描述示例实施方式。然而,示例实施方式能够以多种形式实施,且不应被理解为限于在此阐述的范例;相反,提供这些实施方式使得本公开将更加全面和完整,并将示例实施方式的构思全面地传达给本领域的技术人员。所描述的特 征、结构或特性可以以任何合适的方式结合在一个或更多实施方式中。Example embodiments will now be described more fully with reference to the accompanying drawings. Example embodiments, however, can be embodied in various forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the concept of example embodiments to those skilled in the art. The described features, structures or characteristics may be combined in any suitable manner in one or more embodiments.
此外,附图仅为本公开的示意性图解,并非一定是按比例绘制。图中相同的附图标记表示相同或类似的部分,因而将省略对它们的重复描述。附图中所示的一些方框图是功能实体,不一定必须与物理或逻辑上独立的实体相对应。可以采用软件形式来实现这些功能实体,或在一个或多个硬件模块或集成电路中实现这些功能实体,或在不同网络和/或处理器装置和/或微控制器装置中实现这些功能实体。Furthermore, the drawings are merely schematic illustrations of the present disclosure and are not necessarily drawn to scale. The same reference numerals in the drawings denote the same or similar parts, and thus their repeated descriptions will be omitted. Some of the block diagrams shown in the figures are functional entities that do not necessarily necessarily correspond to physically or logically separate entities. These functional entities may be implemented in software, or in one or more hardware modules or integrated circuits, or in different networks and/or processor devices and/or microcontroller devices.
糖尿病是一种常见的慢性非传染性疾病,是由遗传和环境因素相互作用而引起的临床综合征,是终身的疾病。糖尿病发病原因是人体体内胰腺不能正常分泌胰岛素,或者胰岛素功能失调而引起的。除了家族遗传因素外,近几年,人体长期被外卖,零食等高热量饮食环境包围,加之肥宅文化导致的人们疏于运动、以及职业压力导致的心理状态不佳等因素的综合作用,糖尿病发病率正呈现持续上升的趋势,其预防与康复成为一项极其紧迫的任务。糖尿病的管理,主要的一种方式就是患者血糖的管理。Diabetes mellitus is a common chronic non-communicable disease, a clinical syndrome caused by the interaction of genetic and environmental factors, and a lifelong disease. Diabetes is caused by the inability of the pancreas to secrete insulin normally, or the dysfunction of insulin. In addition to family genetic factors, in recent years, the human body has been surrounded by high-calorie diets such as takeaways and snacks for a long time, coupled with the combined effect of factors such as the lack of exercise caused by the fat house culture, and the poor psychological state caused by occupational pressure, diabetes The incidence is showing a continuous upward trend, and its prevention and rehabilitation have become an extremely urgent task. The management of diabetes, one of the main ways is the management of patients' blood sugar.
血糖管理通过在对个人健康状况、心理状况、饮食状况和生活方式进行综合评价的基础上,制定运动、饮食管理方案,督促患者执行。通过效果评估,调整管理方案并再度执行,从而达到长效减脂降糖的目的。除药物的介入外,血糖的管理方式主要有运动管理和饮食管理。其中,饮食管理的目的是量化膳食中三大营养物质的含量、摄入的热量、三餐的比例,微量元素比例和数量等要素,运动管理的目的是量化运动强度、运动时间、运动频率等要素。临床实践表明,通过运动管理、饮食管理相结合的方式进行血糖管理的效果尤为显著。Blood sugar management formulates exercise and diet management plans based on a comprehensive evaluation of personal health status, psychological status, diet status and lifestyle, and urges patients to implement them. Through the effect evaluation, the management plan is adjusted and implemented again, so as to achieve the purpose of long-term fat reduction and hypoglycemic reduction. In addition to the intervention of drugs, the management methods of blood sugar mainly include exercise management and diet management. Among them, the purpose of diet management is to quantify the content of the three major nutrients in the diet, the calorie intake, the proportion of three meals, the proportion and quantity of trace elements, etc. The purpose of exercise management is to quantify exercise intensity, exercise time, exercise frequency, etc. elements. Clinical practice shows that the effect of blood sugar management through the combination of exercise management and diet management is particularly significant.
本示例实施方式中首先提供了一种用户画像生成方法,该方法可以运行于服务器、服务器集群或云服务器等;当然,本领域技术人员也可以根据需求在其他平台运行本发明的方法,本示例性实施例中对此不做特殊限定。参考图1所示,该用户画像生成方法可以包括以下步骤:This exemplary embodiment first provides a method for generating user portraits, which can run on a server, server cluster, or cloud server, etc. Of course, those skilled in the art can also run the method of the present invention on other platforms as required. This example This is not specifically limited in the exemplary embodiment. Referring to Figure 1, the user portrait generation method may include the following steps:
步骤S110.获取目标用户的疾病信息和日常生活信息,并根据所述疾病信息和日常生活信息,确定所述目标用户在多个不同维度上的用户标签;Step S110. Obtain disease information and daily life information of the target user, and determine user tags of the target user in multiple different dimensions according to the disease information and daily life information;
步骤S120.根据各所述不同维度上的用户标签和所述目标用户的日常行为信息,确定所述目标用户的当前运动计划表以及当前饮食计划表;Step S120. Determine the current exercise plan and the current diet plan of the target user according to the user labels on each of the different dimensions and the daily behavior information of the target user;
步骤S130.根据所述当前运动计划表和当前饮食计划表构建目标计划表,并根据所述目标计划表、预设的运动品类以及食品品类,生成所述目标用户的用户画像;Step S130. Build a target schedule according to the current exercise schedule and the current diet schedule, and generate a user portrait of the target user according to the target schedule, preset sports categories and food categories;
步骤S140.根据所述用户画像为所述目标用户匹配标准饮食方案和标准运动方案,并将所述标准饮食方案和标准运动方案发送至所述目标用户所在的终端设备。Step S140. Match a standard diet plan and a standard exercise plan for the target user according to the user portrait, and send the standard diet plan and standard exercise plan to the terminal device where the target user is located.
上述用户画像生成方法中,一方面,通过获取目标用户的疾病信息和日常生活信息,并根据疾病信息和日常生活信息,确定目标用户在多个不同维度上的用户标签;然后根据各不同维度上的用户标签和目标用户的日常行为信息,确定目标用户的当前运动计划表和当前饮食计划表;再根据当前运动计划表和当前饮食计划表构建目标计划表,并根据目标计划表、预设的运动品类以及食品品类,生成目标用户的用户画像;最后根据用户画像为 目标用户匹配标准饮食方案和标准运动方案,并将标准饮食方案和标准运动方案发送至目标用户所在的终端设备,由于在生成用户画像的过程中,同时考虑到了目标用户的多个不同维度上的用户标签,且该用户标签是根据疾病信息和日常生活信息计算得到的,进而解决了现有技术中由于没有结合用户的疾病信息和日常生活信息,进而无法根据用户的疾病信息和日常生活信息生成用户画像,使得用户画像的准确率较低的问题,提高了用户画像的准确率;另一方面,解决了现有技术中由于仅根据用户自身的身体质量指数和现有的医疗知识,没有用户的反馈信息作为标签,使得运动计划和饮食计划的精确度较低的问题;再一方面,在当前运动计划表和当前饮食计划表时,考虑到了日常行为信息,也即考虑到了用户对标准饮食方案和标准运动方案的反馈信息,进而进一步的提高了标准饮食方案和标准运动方案的准确率,降低了用户对标准饮食方案和标准运动方案的完成难度,提高了用户体验。In the above user portrait generation method, on the one hand, by obtaining the disease information and daily life information of the target user, and according to the disease information and daily life information, the user labels of the target user in multiple different dimensions are determined; The user tag and the daily behavior information of the target user, determine the current exercise plan and the current diet plan of the target user; then construct the goal plan according to the current exercise plan and the current diet plan, and according to the goal plan, preset Sports category and food category, generate the user portrait of the target user; finally, match the standard diet plan and standard exercise plan for the target user according to the user portrait, and send the standard diet plan and standard exercise plan to the terminal device where the target user is located. In the process of user portrait, the user labels in multiple different dimensions of the target user are considered at the same time, and the user label is calculated according to the disease information and daily life information, thus solving the problem in the prior art due to the lack of combination of the user's disease. information and daily life information, so that the user portrait cannot be generated according to the user's disease information and daily life information, so that the accuracy of the user portrait is low, which improves the accuracy of the user portrait; on the other hand, it solves the problem of the existing technology. Because only based on the user's own body mass index and existing medical knowledge, there is no user's feedback information as a label, which makes the exercise plan and diet plan less accurate; on the other hand, in the current exercise plan table and the current diet When planning the table, the daily behavior information is considered, that is, the feedback information of the user on the standard diet plan and the standard exercise plan is taken into account, which further improves the accuracy of the standard diet plan and the standard exercise plan, and reduces the user's response to the standard diet plan. And the difficulty of completing the standard exercise program improves the user experience.
以下,将结合附图对本公开示例实施例用户画像生成方法中所包括的步骤进行详细的解释以及说明。Hereinafter, the steps included in the method for generating a user portrait according to an exemplary embodiment of the present disclosure will be explained and described in detail with reference to the accompanying drawings.
首先,对本公开示例实施示例中所涉及的名词进行解释以及说明。First, the terms involved in the exemplary implementation examples of the present disclosure are explained and described.
健康档案:记录患者个人基本信息,疾病/治疗信息以及生活信息的宽表。Health file: A wide table that records the patient's personal basic information, disease/treatment information, and life information.
方针:通过营养/运动指南,计算得到的个人标准消耗和摄入,以及标准运动时间、运动强度等指标。Guidelines: Through the nutrition/exercise guidelines, the calculated personal standard consumption and intake, as well as the standard exercise time, exercise intensity and other indicators.
运筹优化:在给定的边界范围内寻找可行解,并且从可行解中寻找最优良的解的优化过程。Operational research optimization: The optimization process of finding feasible solutions within a given boundary range and finding the best solution from the feasible solutions.
正反馈:是指受控部分发出反馈信息,其方向与控制信息一致,可以促进或加强控制部分的活动;其可以使过程不断加强,直至最终完成生理功能。Positive feedback: It means that the controlled part sends out feedback information, and its direction is consistent with the control information, which can promote or strengthen the activities of the control part; it can make the process continue to strengthen until the final physiological function is completed.
个性化推荐:针对不同的用户,提供不同的信息组合方式。Personalized recommendation: Provide different information combinations for different users.
推荐召回:从全局的候选库中选取和当前推荐被用户(根据用户信息,用户偏好,历史行为等信息)相关的一部分作为候选集。Recommendation recall: Select the part related to the current recommendation by the user (according to user information, user preference, historical behavior and other information) from the global candidate library as the candidate set.
推荐排序:对多个渠道召回结果统一打分,根据分数大小进行排序。Recommended sorting: Score the recall results of multiple channels uniformly, and sort according to the size of the scores.
其次,对本公开示例实施例的发明目的进行解释以及说明。具体的,本公开通过改进三大营养物质(蛋白质、脂肪以及碳水化合物)的含量、摄入的热量、三餐的比例、微量元素比例、运动时长、运动频次的计算,在满足患者减脂降糖目标下,降低目标的完成难度。通过打卡,用户日志等记录工具,完善系统和用户信息交流,进一步提升用户对于推荐的满意度。Next, the purpose of the invention of the exemplary embodiments of the present disclosure is explained and illustrated. Specifically, the present disclosure improves the calculation of the content of the three major nutrients (protein, fat and carbohydrate), the calorie intake, the proportion of three meals, the proportion of trace elements, the duration of exercise, and the frequency of exercise. Under the sugar target, reduce the difficulty of completing the target. Through punch cards, user logs and other recording tools, improve the system and user information exchange, and further improve user satisfaction with recommendations.
以下,将对步骤S110-步骤S140进行解释以及说明。Hereinafter, steps S110 to S140 will be explained and described.
在步骤S110中,获取目标用户的疾病信息和日常生活信息,并根据所述疾病信息和日常生活信息,确定所述目标用户在多个不同维度上的用户标签。In step S110, the disease information and daily life information of the target user are acquired, and according to the disease information and the daily life information, user tags of the target user in multiple different dimensions are determined.
在本示例实施例中,首先,可以获取目标用户(患者)的健康档案,该健康档案可以用来存放用户信息,然后再从该健康档案中提取目标用户的包括疾病信息和日常生活信息; 其中,疾病信息可以包括患者基本信息、体格信息、糖尿病信息、高血压信息、高血脂信息、高尿酸信息、并发症信息以及激素信息等;日常生活信息可以包括饮食信息、睡眠信息、焦虑信息、抑郁信息、体力活动信息以及心肺功能信息;其中,该健康档案的数据来源于调查问卷。In this exemplary embodiment, first, the health file of the target user (patient) can be obtained, and the health file can be used to store user information, and then the target user's disease information and daily life information including disease information and daily life information are extracted from the health file; wherein , the disease information may include basic patient information, physical information, diabetes information, hypertension information, hyperlipidemia information, hyperuric acid information, complications information, hormone information, etc.; daily life information may include diet information, sleep information, anxiety information, depression information Information, physical activity information, and cardiopulmonary function information; wherein, the data of the health record comes from questionnaires.
进一步的,可以根据所述疾病信息以及日常行为信息,确定所述目标用户在多个不同维度上的用户标签。具体的可以包括:首先,根据所述疾病信息中的目标用户的疾病症状信息和体格信息,确定所述目标用户在体重管理维度上的第一用户标签;其次,根据所述日常生活信息,确定所述目标用户在饮食活动维度上的第二用户标签、在体力活动上的第三用户标签以及在情绪活动维度上的第四用户标签。Further, user tags of the target user in multiple different dimensions may be determined according to the disease information and daily behavior information. Specifically, it may include: first, according to the disease symptom information and physical information of the target user in the disease information, determine the first user label of the target user in the dimension of weight management; secondly, according to the daily life information, determine The target user has a second user label on the dimension of eating activity, a third user label on the physical activity dimension, and a fourth user label on the emotional activity dimension.
其中,根据所述日常生活信息计算所述目标用户在饮食活动维度上的第二用户标签、在体力活动上的第三用户标签以及在情绪活动维度上的第四用户标签,还可以包括:一方面,根据所述日常生活信息中的饮食信息计算所述第二用户标签;另一方面,根据所述日常生活信息中的体力活动信息和心肺功能信息,计算所述第三用户标签;再一方面,根据所述日常生活信息中的睡眠信息、焦虑信息以及抑郁信息,计算所述第四用户标签。Wherein, calculating the target user's second user label on the dimension of dietary activity, the third user label on physical activity, and the fourth user label on the emotional activity dimension of the target user according to the daily life information may further include: a In one aspect, the second user tag is calculated according to the diet information in the daily life information; on the other hand, the third user tag is calculated according to the physical activity information and cardiopulmonary function information in the daily life information; In one aspect, the fourth user tag is calculated according to sleep information, anxiety information and depression information in the daily life information.
详细而言,上述用户标签可以包括体重管理标签(体重管理维度上的第一用户标签)、饮食活动标签(饮食活动维度上的第二用户标签)、体力活动标签(体力活动维度上的第三用户标签)、焦虑抑郁标签(情绪活动维度上的第四用户标签)四类。其中:In detail, the above-mentioned user tags may include a weight management tag (the first user tag in the weight management dimension), a diet activity tag (the second user tag in the diet activity dimension), and a physical activity tag (the third user tag in the physical activity dimension) User label), anxiety and depression label (the fourth user label on the emotional activity dimension) four categories. in:
饮食活动标签可以包括饮食习惯以及饮食风险;其中,影响饮食习惯的因素可以包括:饮食场景偏好、主食偏好以及烹饪方式偏好,当然还可以包括奶制品偏好以及零食摄入偏好等,本示例对此不做特殊限制。影响饮食风险的因素可以包括肝肾功能风险、推荐的食物的血糖的生成指数以及饮食禁忌等。同时,主食偏好中还可以分为主食摄入分级、蛋白质摄入分级、油脂摄入分级以及水果摄入等级等。The dietary activity label may include dietary habits and dietary risks; among them, the factors affecting dietary habits may include: dietary scene preference, staple food preference, and cooking method preference, and of course dairy product preference and snack intake preference, etc. No special restrictions are made. Factors affecting dietary risk may include risk of liver and kidney function, glycemic index of recommended foods, and dietary taboos. At the same time, the staple food preference can also be divided into staple food intake grading, protein intake grading, oil intake grading, and fruit intake grading.
影响体力活动标签的因素可以包括体力活动分级以及心肺功能分级等;影响体重管理标签的因素可以包括静息代谢率、日消耗热量以及运动时长等;影响焦虑抑郁标签的因素可以包括焦虑等级以及睡眠质量等级等。The factors affecting the physical activity label can include physical activity classification and cardiopulmonary function classification, etc.; the factors affecting the weight management label can include resting metabolic rate, daily calorie consumption, and exercise time; the factors affecting the anxiety and depression label can include anxiety level and sleep. quality level, etc.
此处需要补充说明的是,上述用户标签也可以包括其他维度的标签,例如遗传病史维度的用户标签等,本示例对此不做特殊限制。当然,各用户标签中所包括的具体因素也可以根据实际需要进行调整。同时,上述用户标签的值域可以分为三类,即多值字符类型、单值字符类型和单值浮点类型等。It should be supplemented here that the above-mentioned user tags may also include tags of other dimensions, such as user tags of the dimension of genetic medical history, etc., which is not limited in this example. Of course, the specific factors included in each user label can also be adjusted according to actual needs. Meanwhile, the value range of the user tag can be divided into three categories, namely, multi-value character type, single-value character type, and single-value floating-point type.
以下,以静息代谢率为例,对各用户标签的具体计算方法进行举例说明。例如,可以通过用户性别、年龄、身高和体重计算目标用户的静息代谢率,具体可以参考图2所示。例如:如果性别为男,则静息代谢率可以通过如下公式(1)计算得到:Hereinafter, taking the resting metabolic rate as an example, the specific calculation method of each user tag will be described as an example. For example, the resting metabolic rate of the target user can be calculated according to the user's gender, age, height and weight, as shown in FIG. 2 for details. For example: if the gender is male, the resting metabolic rate can be calculated by the following formula (1):
静息代谢率=9.99*(体重-105)+6.25*身高-4.92*年龄+5;公式(1)Resting metabolic rate = 9.99*(weight-105)+6.25*height-4.92*age+5; formula (1)
如果性别为女,则静息代谢率可以通过如下公式(2)计算得到:If the gender is female, the resting metabolic rate can be calculated by the following formula (2):
静息代谢率=9.99*(体重-105)+6.25*身高-4.92*年龄-161;公式(2)Resting metabolic rate = 9.99*(weight-105)+6.25*height-4.92*age-161; formula (2)
假如一个男性,身高为175cm,体重为80kg,年龄为43,则其静息代谢率为:636.94;If a man is 175cm tall, weighs 80kg, and is 43 years old, his resting metabolic rate is: 636.94;
日消耗热量的计算方法为:静息代谢率*新陈代谢系数。The calculation method of daily calorie consumption is: resting metabolic rate * metabolic coefficient.
此处需要进一步补充说明的是,其他各个维度的用户标签的计算方式参考后文附录的表1以及表2所示,本示例对此不做特殊限制。It needs to be further explained here that the calculation methods of user labels of other dimensions are shown in Table 1 and Table 2 in the appendix below, and this example does not impose special restrictions on this.
在步骤S120中,根据各所述不同维度上的用户标签以及所述目标用户的日常行为信息,计算所述目标用户的当前运动计划表以及当前饮食计划表。In step S120, according to the user tags on each of the different dimensions and the daily behavior information of the target user, the current exercise schedule and the current diet schedule of the target user are calculated.
在本示例实施例中,参考图3所示,根据各所述不同维度上的用户标签和所述目标用户的日常行为信息,确定所述目标用户的当前运动计划表和当前饮食计划表,可以包括步骤S310-步骤S330。In this exemplary embodiment, referring to FIG. 3 , according to the user labels on each of the different dimensions and the daily behavior information of the target user, the current exercise plan and the current diet plan of the target user are determined, and the current exercise plan and the current diet plan can be determined. It includes steps S310-S330.
在步骤S310中,根据各个所述不同维度上的用户标签和所述目标用户的日常行为信息,计算所述目标用户的用户计划信息;其中,所述用户计划信息包括用户计划心率、用户计划运动时长、用户计划运动强度、用户计划摄入的总能量以及用户计划摄入的蛋白质、脂肪以及碳水化合物在所述总能量中的占比中的多种。In step S310, the user plan information of the target user is calculated according to the user labels on each of the different dimensions and the daily behavior information of the target user; wherein the user plan information includes the user's planned heart rate, the user's planned exercise A variety of the duration, the user's planned exercise intensity, the user's planned total energy intake, and the user's planned intake of protein, fat, and carbohydrate in the total energy.
在步骤S320中,根据所述目标用户的日常行为信息中的用户实际信息对所述用户计划信息进行调整;其中,所述用户实际信息包括用户实际心率、用户实际运动时长、用户实际运动强度、用户实际摄入的总能量以及用户实际摄入的蛋白质、脂肪以及碳水化合物在所述总能量中的占比中的多种。In step S320, the user plan information is adjusted according to the user's actual information in the target user's daily behavior information; wherein the user's actual information includes the user's actual heart rate, the user's actual exercise duration, the user's actual exercise intensity, The total energy actually consumed by the user and the ratios of protein, fat and carbohydrates actually consumed by the user in the total energy.
在步骤S330中,根据调整后的用户计划心率、用户计划运动时长以及用户计划运动强度,生成所述当前运动计划表,并根据调整后的用户计划摄入的总能量和用户计划摄入的蛋白质、脂肪以及碳水化合物在所述总能量中的占比,生成所述当前饮食计划表。In step S330, the current exercise schedule is generated according to the adjusted user's planned heart rate, the user's planned exercise duration, and the user's planned exercise intensity, and the adjusted total energy and the user's planned intake of protein are , the proportion of fat and carbohydrates in the total energy, and generate the current diet plan.
以下,将对步骤S310-步骤S330进行解释以及说明。具体的,用户方针是实际指导用户热量的消耗、摄入以及三餐比例等因素的指标,主要为数值型。该用户方针可以包括运动方针和饮食方针,也即本文所记载的当前运动计划表以及当前饮食计划表。其中,运动方针(当前运动计划表)可以包括用户计划心率、运动时长以及运动强度等指标;饮食方针(当前饮食计划表)可以包括总能量、蛋白质占比范围、脂肪占比范围、碳水化合物占比范围、早餐/中餐/晚餐/加餐的占比范围以及微量元素范围等。Hereinafter, steps S310 to S330 will be explained and described. Specifically, the user policy is an index that actually guides the user's calorie consumption, intake, and the ratio of three meals, and is mainly numerical. The user policy may include exercise policy and diet policy, ie the current exercise schedule and current diet schedule as described herein. Among them, the exercise policy (current exercise plan) may include indicators such as the user's planned heart rate, exercise duration, and exercise intensity; the diet policy (current diet plan) may include total energy, protein percentage range, fat percentage range, carbohydrate percentage The ratio range, the proportion of breakfast/lunch/dinner/snack, and the range of trace elements, etc.
进一步的,在对当前运动计划表以及当前饮食计划表的计算过程中,其输入端可以包括上述各个不同维度的用户标签以及目标用户的日常行为信息(记录)和行为记录。例如,用户计划心率的生成可以参考图4所示。在图4中,通过运动强度标签、静息心率标签和储备心率标签可以得到用户计划心率(计划平均心率),具体计算方法可以如下公式(3)所示:Further, in the calculation process of the current exercise plan and the current diet plan, the input terminal may include the user labels of the above-mentioned different dimensions and the daily behavior information (records) and behavior records of the target user. For example, the generation of the user's planned heart rate may refer to FIG. 4 . In Figure 4, the user's planned heart rate (planned average heart rate) can be obtained through the exercise intensity label, the resting heart rate label and the reserve heart rate label. The specific calculation method can be shown in the following formula (3):
计划心率=(0.4+运动强度*0.1)*储备心率+静息心率;   公式(3)Planned heart rate = (0.4 + exercise intensity * 0.1) * reserve heart rate + resting heart rate; formula (3)
其中,储备心率=最大心率-静息心率;Among them, reserve heart rate = maximum heart rate - resting heart rate;
最大心率=220-年龄。Maximum heart rate = 220 - age.
此处需要补充说明的是,其他计划信息的计算方式与本领域的惯用计算方法类似,此 处不再一一赘述。It should be supplemented here that the calculation methods of other planning information are similar to the conventional calculation methods in the art, and will not be repeated here.
进一步的,当得到用户计划信息以后,可以根据用户的实际信息对用户计划信息进行调整,进而生成当前运动计划表以及当前饮食计划表。其中,在具体的调整过程中,如果用户运动打卡和在运动方案页面停留时间累加值计算结果没有达到最低阙值,那么就会降低用户每日的能量摄入值,进而在对其他计划信息进行调整。Further, after the user plan information is obtained, the user plan information can be adjusted according to the actual information of the user, thereby generating a current exercise plan table and a current diet plan table. Among them, in the specific adjustment process, if the calculation result of the accumulated value of the user's exercise check-in and stay time on the exercise plan page does not reach the minimum threshold, the user's daily energy intake value will be reduced, and then other plan information will be adjusted. Adjustment.
在步骤S130中,根据所述当前运动计划表和当前饮食计划表构建目标计划表,并根据所述目标计划表、预设的运动品类以及食品品类,生成所述目标用户的用户画像。In step S130, a target plan table is constructed according to the current exercise plan table and the current diet plan table, and a user portrait of the target user is generated according to the target plan table, preset sports category and food category.
在本示例实施例中,参考图5所示,根据所述当前运动计划表以及当前饮食计划表构建目标计划表,并根据所述目标计划表以及预设的运动品类以及食品品类,生成所述目标用户的用户画像,可以包括步骤S510-步骤S530。In this exemplary embodiment, referring to FIG. 5 , a target plan is constructed according to the current exercise plan and the current diet plan, and the target plan is generated according to the goal plan and preset sports categories and food categories. The user portrait of the target user may include steps S510-S530.
在步骤S510中,根据所述当前运动计划表中的调整后的用户计划心率、用户计划运动时以及用户计划运动强度生成第一目标函数。In step S510, a first objective function is generated according to the adjusted user's planned heart rate, the user's planned exercise time, and the user's planned exercise intensity in the current exercise schedule.
在步骤S520中,根据所述当前饮食计划表中的调整后的用户计划摄入的总能量和用户计划摄入的蛋白质、脂肪以及碳水化合物在所述总能量中的占比,生成第二目标函数。In step S520, a second target is generated according to the adjusted total energy planned by the user and the proportion of protein, fat and carbohydrates planned by the user in the total energy in the current diet plan table function.
在步骤S530中,以所述当前运动计划表作为所述第一目标函数的第一边界条件,以所述当前饮食计划表作为所述第二目标函数的第二边界条件,根据所述预设的运动品类以及食品品类对所述第一目标函数和第二目标函数进行求解,得到所述目标用户的用户画像;其中,所述用户画像包括所述目标用户的饮食方案以及运动方案。In step S530, using the current exercise schedule as the first boundary condition of the first objective function, and using the current diet schedule as the second boundary condition of the second objective function, according to the preset The first objective function and the second objective function are solved according to the sports category and the food category, and the user portrait of the target user is obtained; wherein, the user portrait includes the diet plan and the exercise plan of the target user.
以下,将对步骤S510-步骤S530进行解释以及说明。具体的,在生成用户画像(饮食以及运动方案推荐)的过程中,可以根据饮食方针、运动方针以及待推荐物料(运动品类以及食品品类),使用运筹优化方法计算用户可行召回结果,即可生成用户画像。其中,运筹优化算法使用方针数据构建目标函数和边界条件,使用物料数据作为解空间,求解在解空间下的可行解和最优解。Hereinafter, steps S510 to S530 will be explained and described. Specifically, in the process of generating user portraits (recommendation of diet and exercise plan), you can use the operation research optimization method to calculate the user's feasible recall results according to the diet policy, exercise policy, and the materials to be recommended (sports category and food category), which can be generated. User portrait. Among them, the operational research optimization algorithm uses the target data to construct the objective function and boundary conditions, and uses the material data as the solution space to solve the feasible and optimal solutions in the solution space.
例如,目标函数可以为:For example, the objective function can be:
卡路里=a*碳水化合物+b*蛋白质+c*脂肪;Calories=a*carbs+b*protein+c*fat;
碳水化合物=x11*早餐+x12*午餐+x13*晚餐+x14*加餐;Carbohydrates=x11*breakfast+x12*lunch+x13*dinner+x14*snack;
蛋白质=x21*早餐+x22*午餐+x23*晚餐+x24*加餐;Protein=x21*breakfast+x22*lunch+x23*dinner+x24*snack;
脂肪=x31*早餐+x32*午餐+x33*晚餐+x34*加餐;Fat = x31*breakfast+x32*lunch+x33*dinner+x34*snack;
边界条件:Boundary conditions:
a+b+c=1;a+b+c=1;
x11+x12+x13+x14=1;x11+x12+x13+x14=1;
x21+x22+x23+x24=1;x21+x22+x23+x24=1;
x31+x32+x33+x34=1;x31+x32+x33+x34=1;
x14<=0.2 and x14>=0;x14<=0.2 and x14>=0;
x24<=0.2 and x24>=0;x24<=0.2 and x24>=0;
x34<=0.2 and x34>=0。x34<=0.2 and x34>=0.
运动品类可以包括慢走、慢跑、快走、快跑、跳绳以及瑜伽等,食品品类可以包括大米饭、小米饭、糙米饭、蔬菜(菠菜、白菜、西红柿、西葫芦、西蓝花、冬瓜等)、馒头、肉类(鱼肉、鸡肉、鸭肉以及牛肉等),具体可以根据实际情况进行调整,本示例对此不做特殊限制。Sports categories can include jogging, jogging, brisk walking, fast running, rope skipping and yoga, etc. Food categories can include rice, millet, brown rice, vegetables (spinach, cabbage, tomatoes, zucchini, broccoli, wax gourd, etc.), Steamed buns and meat (fish, chicken, duck, beef, etc.) can be adjusted according to the actual situation, which is not limited in this example.
进一步的,为了可以提高求解结果的准确率以及求解效率,该用户画像生成方法还可以包括:基于预设过滤规则对所述运动品类中的运动场景和运动偏好进行过滤,并对所述食品品类中的食物的血糖的生成指数进行过滤。例如,物料数据(运动品类以及食品品类)在输入到运筹优化计算模型中之前,首先要经过业务过滤,主要的业务过滤包括目标用户的饮食禁忌、运动禁忌、食物的血糖的生成指数、运动的场景以及运动偏好等。Further, in order to improve the accuracy of the solution results and the solution efficiency, the user portrait generation method may further include: filtering the sports scenes and sports preferences in the sports category based on preset filtering rules, and filtering the food category. Foods are filtered in the glycemic index. For example, before the material data (sports category and food category) is input into the operation research optimization calculation model, it must first go through business filtering. scene and sports preferences, etc.
在步骤S140中,根据所述用户画像为所述目标用户匹配标准饮食方案和标准运动方案,并将所述标准饮食方案和标准运动方案发送至所述目标用户所在的终端设备。In step S140, a standard diet plan and a standard exercise plan are matched for the target user according to the user portrait, and the standard diet plan and standard exercise plan are sent to the terminal device where the target user is located.
在本示例实施例中,首先,根据所述用户画像为所述目标用户匹配标准饮食方案和标准运动方案,具体的可以包括:根据所述日常行为信息中的用户运动偏好对所述用户画像中的饮食方案和运动方案进行排序,并根据排序结果得到所述标准饮食方案和标准运动方案。具体的,可以将经过运筹优化计算出的可行解和最优解输入到排序模块,在排序模块中,使用目标用户的用户实际偏好以及用户实际行为等进行排序,把排序后TOP3结果召回,作为标准饮食方案以及标准运动方案,并将其发送至目标用户所在的终端设备,以使得用户对该标准饮食方案以及标准运动方案进行查看。In this exemplary embodiment, first, matching a standard diet plan and a standard exercise plan for the target user according to the user portrait, which may specifically include: matching the user portrait to the user's exercise preference according to the user's exercise preference in the daily behavior information. The diet plan and the exercise plan are sorted, and the standard diet plan and the standard exercise plan are obtained according to the sorting result. Specifically, the feasible solutions and optimal solutions calculated by the operation research optimization can be input into the sorting module. In the sorting module, the actual user preferences and actual user behaviors of the target users are used for sorting, and the sorted TOP3 results are recalled as The standard diet plan and the standard exercise plan are sent to the terminal device where the target user is located, so that the user can view the standard diet plan and the standard exercise plan.
以下,结合图6对本公开示例实施例用户画像生成方法进行进一步的解释以及说明。参考图6所示,该用户画像生成方法可以包括以下步骤:Hereinafter, the method for generating a user portrait according to an exemplary embodiment of the present disclosure will be further explained and described with reference to FIG. 6 . Referring to Figure 6, the user portrait generation method may include the following steps:
步骤S610,收集目标用户的健康档案数据,并计算用户标签;Step S610, collect the health profile data of the target user, and calculate the user label;
步骤S620,根据用户标签制定用户方针;Step S620, formulate a user policy according to the user tag;
步骤S630,对物料数据进行过滤,并根据过滤后的物料数据以及用户方针进行运筹优化,得到多个可行解以及一个最优解;Step S630, filter the material data, and perform operational research optimization according to the filtered material data and the user policy to obtain multiple feasible solutions and an optimal solution;
步骤S640,根据目标用户的用户行为对可行解以及最优解进行排序,进而得到最终的推荐方案,并根据目标对推荐方案的具体反馈信息,对用户标签以及推荐方案进行调整。Step S640 , sort the feasible solutions and the optimal solutions according to the user behavior of the target user, and then obtain the final recommendation scheme, and adjust the user label and the recommendation scheme according to the specific feedback information of the target on the recommendation scheme.
本公开所提供的用户画像生成方法,解决了现有技术中糖尿病饮食和运动的推荐中,没有用户反馈作为标签,难以形成正向反馈的问题;同时,还实现了对推荐方案的运筹优化,增加了方案的多样性以及精确度;最后,避免了现有技术中采用端到端神经网络的饮食和运动的推荐,没有考虑到真实应用场景中,健康管理师难以对推荐结果进行解释的问题。The user portrait generation method provided by the present disclosure solves the problem that it is difficult to form positive feedback without user feedback as a label in the recommendation of diabetes diet and exercise in the prior art; The diversity and accuracy of the scheme are increased; finally, the recommendation of diet and exercise using end-to-end neural networks in the existing technology is avoided, and the problem that health managers are difficult to interpret the recommendation results in real application scenarios is not considered .
本公开还提供了一种用户画像生成装置。参考图7所示,该用户画像生成装置可以包括用户标签计算模块710、计划表生成模块720、用户画像生成模块730以及方案匹配模块740。其中:The present disclosure also provides a user portrait generation device. Referring to FIG. 7 , the user portrait generation device may include a user label calculation module 710 , a schedule generation module 720 , a user portrait generation module 730 and a scheme matching module 740 . in:
用户标签计算模块710可以用于获取目标用户的疾病信息和日常生活信息,并根据所述疾病信息和日常生活信息,确定所述目标用户在多个不同维度上的用户标签;The user tag calculation module 710 can be used to obtain disease information and daily life information of the target user, and determine user tags of the target user in multiple different dimensions according to the disease information and daily life information;
计划表计算模块720可以用于根据各所述不同维度上的用户标签和所述目标用户的日常行为信息,确定所述目标用户的当前运动计划表以及当前饮食计划表;The plan calculation module 720 may be configured to determine the current exercise plan and the current diet plan of the target user according to the user tags on each of the different dimensions and the daily behavior information of the target user;
用户画像生成模块730可以用于根据所述当前运动计划表和当前饮食计划表构建目标计划表,并根据所述目标计划表、预设的运动品类以及食品品类,生成所述目标用户的用户画像;The user portrait generation module 730 can be used to construct a target plan according to the current exercise plan and the current diet plan, and generate the user portrait of the target user according to the goal plan, the preset sports category and the food category. ;
方案匹配模块740可以用于根据所述用户画像为所述目标用户匹配标准饮食方案和标准运动方案,并将所述标准饮食方案和标准运动方案发送至所述目标用户所在的终端设备。The plan matching module 740 may be configured to match a standard diet plan and a standard exercise plan for the target user according to the user portrait, and send the standard diet plan and standard exercise plan to the terminal device where the target user is located.
在本公开的一种示例性实施例中,根据所述疾病信息和日常行为信息,确定所述目标用户在多个不同维度上的用户标签,包括:In an exemplary embodiment of the present disclosure, according to the disease information and daily behavior information, user tags of the target user in multiple different dimensions are determined, including:
根据所述疾病信息中的目标用户的疾病症状信息和体格信息,确定所述目标用户在体重管理维度上的第一用户标签;According to the disease symptom information and physique information of the target user in the disease information, determine the first user label of the target user in the dimension of weight management;
根据所述日常生活信息,确定所述目标用户在饮食活动维度上的第二用户标签、在体力活动上的第三用户标签以及在情绪活动维度上的第四用户标签。According to the daily life information, the target user's second user label on the dimension of eating activity, the third user label on the physical activity, and the fourth user label on the emotional activity dimension are determined.
在本公开的一种示例性实施例中,根据所述日常生活信息,确定所述目标用户在饮食活动维度上的第二用户标签、在体力活动上的第三用户标签以及在情绪活动维度上的第四用户标签,包括:In an exemplary embodiment of the present disclosure, according to the daily life information, a second user label on the eating activity dimension, a third user label on the physical activity, and an emotional activity dimension of the target user are determined The fourth user tab of , including:
根据所述日常生活信息中的饮食信息计算所述第二用户标签;Calculate the second user tag according to the diet information in the daily life information;
根据所述日常生活信息中的体力活动信息以及心肺功能信息,计算所述第三用户标签;Calculate the third user tag according to the physical activity information and the cardiopulmonary function information in the daily life information;
根据所述日常生活信息中的睡眠信息、焦虑信息以及抑郁信息,计算所述第四用户标签。The fourth user tag is calculated according to sleep information, anxiety information and depression information in the daily life information.
在本公开的一种示例性实施例中,根据各所述不同维度上的用户标签和所述目标用户的日常行为信息,确定所述目标用户的当前运动计划表以及当前饮食计划表,包括:In an exemplary embodiment of the present disclosure, determining the current exercise plan and the current diet plan of the target user according to the user tags on each of the different dimensions and the daily behavior information of the target user, including:
根据各个所述不同维度上的用户标签和所述目标用户的日常行为信息,计算所述目标用户的用户计划信息;其中,所述用户计划信息包括用户计划心率、用户计划运动时长、用户计划运动强度、用户计划摄入的总能量以及用户计划摄入的蛋白质、脂肪以及碳水化合物在所述总能量中的占比中的多种;Calculate the user plan information of the target user according to the user labels on each of the different dimensions and the daily behavior information of the target user; wherein the user plan information includes the user's planned heart rate, the user's planned exercise duration, and the user's planned exercise. a variety of the intensity, the total energy the user plans to consume, and the proportion of protein, fat, and carbohydrates the user plans to consume in the total energy;
根据所述目标用户的日常行为信息中的用户实际信息对所述用户计划信息进行调整;其中,所述用户实际信息包括用户实际心率、用户实际运动时长、用户实际运动强度、用户实际摄入的总能量以及用户实际摄入的蛋白质、脂肪以及碳水化合物在所述总能量中的占比中的多种;The user plan information is adjusted according to the user's actual information in the target user's daily behavior information; wherein the user's actual information includes the user's actual heart rate, the user's actual exercise duration, the user's actual exercise intensity, and the user's actual intake. The total energy and a variety of the proportions of protein, fat and carbohydrates actually consumed by the user in the total energy;
根据调整后的用户计划心率、用户计划运动时长以及用户计划运动强度,生成所述当前运动计划表,并根据调整后的用户计划摄入的总能量和用户计划摄入的蛋白质、脂肪以 及碳水化合物在所述总能量中的占比,生成所述当前饮食计划表。According to the adjusted user's planned heart rate, the user's planned exercise duration, and the user's planned exercise intensity, the current exercise schedule is generated, and based on the adjusted total energy planned by the user and the planned intake of protein, fat and carbohydrates by the user In the proportion of the total energy, the current diet plan table is generated.
在本公开的一种示例性实施例中,根据所述当前运动计划表和当前饮食计划表构建目标计划表,并根据所述目标计划表、预设的运动品类以及食品品类,生成所述目标用户的用户画像,包括:In an exemplary embodiment of the present disclosure, a goal plan is constructed according to the current exercise plan and the current diet plan, and the goal is generated according to the goal plan, a preset sports category and a food category User profile, including:
根据所述当前运动计划表中的调整后的用户计划心率、用户计划运动时以及用户计划运动强度生成第一目标函数;generating a first objective function according to the adjusted user's planned heart rate, the user's planned exercise time, and the user's planned exercise intensity in the current exercise schedule;
根据所述当前饮食计划表中的调整后的用户计划摄入的总能量和用户计划摄入的蛋白质、脂肪以及碳水化合物在所述总能量中的占比,生成第二目标函数;generating a second objective function according to the adjusted total energy planned by the user and the proportion of protein, fat and carbohydrates planned by the user in the total energy in the current diet plan table;
以所述当前运动计划表作为所述第一目标函数的第一边界条件,以所述当前饮食计划表作为所述第二目标函数的第二边界条件,根据所述预设的运动品类和食品品类对所述第一目标函数和第二目标函数进行求解,得到所述目标用户的用户画像;其中,所述用户画像包括所述目标用户的饮食方案以及运动方案。Taking the current exercise schedule as the first boundary condition of the first objective function, and using the current diet schedule as the second boundary condition of the second objective function, according to the preset sports category and food The category solves the first objective function and the second objective function to obtain a user portrait of the target user; wherein the user portrait includes the target user's diet plan and exercise plan.
在本公开的一种示例性实施例中,所述用户画像生成装置还包括:In an exemplary embodiment of the present disclosure, the user portrait generating apparatus further includes:
数据过滤模块,用于基于预设过滤规则对所述运动品类中的运动场景和运动偏好进行过滤,并对所述食品品类中的食物的血糖的生成指数进行过滤。The data filtering module is configured to filter the sports scenes and sports preferences in the sports category based on preset filtering rules, and filter the blood sugar generation index of the food in the food category.
在本公开的一种示例性实施例中,根据所述用户画像为所述目标用户匹配标准饮食方案和标准运动方案,包括:In an exemplary embodiment of the present disclosure, matching a standard diet plan and a standard exercise plan for the target user according to the user portrait includes:
根据所述日常行为信息中的用户运动偏好对所述用户画像中的饮食方案和运动方案进行排序,并根据排序结果得到所述标准饮食方案和标准运动方案。Sort the diet plan and exercise plan in the user portrait according to the user's exercise preference in the daily behavior information, and obtain the standard diet plan and standard exercise plan according to the sorting result.
上述用户画像生成装置中各模块的具体细节已经在对应的用户画像生成方法中进行了详细的描述,因此此处不再赘述。The specific details of each module in the above-mentioned user portrait generation device have been described in detail in the corresponding user portrait generation method, and thus are not repeated here.
应当注意,尽管在上文详细描述中提及了用于动作执行的设备的若干模块或者单元,但是这种划分并非强制性的。实际上,根据本发明的实施方式,上文描述的两个或更多模块或者单元的特征和功能可以在一个模块或者单元中具体化。反之,上文描述的一个模块或者单元的特征和功能可以进一步划分为由多个模块或者单元来具体化。It should be noted that although several modules or units of the apparatus for action performance are mentioned in the above detailed description, this division is not mandatory. Indeed, according to embodiments of the present invention, the features and functions of two or more modules or units described above may be embodied in one module or unit. Conversely, the features and functions of one module or unit described above may be further divided into multiple modules or units to be embodied.
此外,尽管在附图中以特定顺序描述了本发明中方法的各个步骤,但是,这并非要求或者暗示必须按照该特定顺序来执行这些步骤,或是必须执行全部所示的步骤才能实现期望的结果。附加的或备选的,可以省略某些步骤,将多个步骤合并为一个步骤执行,以及/或者将一个步骤分解为多个步骤执行等。Additionally, although the various steps of the methods of the present invention are depicted in the figures in a particular order, this does not require or imply that the steps must be performed in that particular order, or that all illustrated steps must be performed to achieve the desired result. Additionally or alternatively, certain steps may be omitted, multiple steps may be combined into one step for execution, and/or one step may be decomposed into multiple steps for execution, and the like.
在本发明的示例性实施例中,还提供了一种能够实现上述方法的电子设备。In an exemplary embodiment of the present invention, an electronic device capable of implementing the above method is also provided.
所属技术领域的技术人员能够理解,本发明的各个方面可以实现为系统、方法或程序产品。因此,本发明的各个方面可以具体实现为以下形式,即:完全的硬件实施方式、完全的软件实施方式(包括固件、微代码等),或硬件和软件方面结合的实施方式,这里可以统称为“电路”、“模块”或“系统”。As will be appreciated by one skilled in the art, various aspects of the present invention may be implemented as a system, method or program product. Therefore, various aspects of the present invention can be embodied in the following forms: a complete hardware implementation, a complete software implementation (including firmware, microcode, etc.), or a combination of hardware and software aspects, which may be collectively referred to herein as implementations "circuit", "module" or "system".
下面参照图8来描述根据本发明的这种实施方式的电子设备800。图8显示的电子设 备800仅仅是一个示例,不应对本发明实施例的功能和使用范围带来任何限制。An electronic device 800 according to this embodiment of the present invention is described below with reference to FIG. 8 . The electronic device 800 shown in FIG. 8 is only an example, and should not impose any limitation on the function and scope of use of the embodiments of the present invention.
如图8所示,电子设备800以通用计算设备的形式表现。电子设备800的组件可以包括但不限于:上述至少一个处理单元810、上述至少一个存储单元820、连接不同系统组件(包括存储单元820和处理单元810)的总线830以及显示单元840。As shown in FIG. 8, electronic device 800 takes the form of a general-purpose computing device. Components of the electronic device 800 may include, but are not limited to, the above-mentioned at least one processing unit 810 , the above-mentioned at least one storage unit 820 , a bus 830 connecting different system components (including the storage unit 820 and the processing unit 810 ), and a display unit 840 .
其中,所述存储单元存储有程序代码,所述程序代码可以被所述处理单元810执行,使得所述处理单元810执行本说明书上述“示例性方法”部分中描述的根据本发明各种示例性实施方式的步骤。例如,所述处理单元810可以执行如图1中所示的步骤S110:获取目标用户的疾病信息和日常生活信息,并根据所述疾病信息和日常生活信息,确定所述目标用户在多个不同维度上的用户标签;步骤S120:根据各所述不同维度上的用户标签和所述目标用户的日常行为信息,确定所述目标用户的当前运动计划表和当前饮食计划表;步骤S130:根据所述当前运动计划表和当前饮食计划表构建目标计划表,并根据所述目标计划表、预设的运动品类以及食品品类,生成所述目标用户的用户画像;步骤S140:根据所述用户画像为所述目标用户匹配标准饮食方案和标准运动方案,并将所述标准饮食方案和标准运动方案发送至所述目标用户所在的终端设备。Wherein, the storage unit stores program codes, and the program codes can be executed by the processing unit 810, so that the processing unit 810 executes various exemplary methods according to the present invention described in the above-mentioned “Exemplary Methods” section of this specification Implementation steps. For example, the processing unit 810 may perform step S110 as shown in FIG. 1 : acquire disease information and daily life information of the target user, and determine, according to the disease information and daily life information, that the target user is in multiple different the user label on the dimension; Step S120: According to the user label on each of the different dimensions and the daily behavior information of the target user, determine the current exercise plan and the current diet plan of the target user; Step S130: According to the The current exercise plan and the current diet plan are constructed to construct a target plan, and according to the target plan, the preset sports category and the food category, the user portrait of the target user is generated; Step S140: According to the user portrait, The target user matches the standard diet plan and the standard exercise plan, and sends the standard diet plan and the standard exercise plan to the terminal device where the target user is located.
存储单元820可以包括易失性存储单元形式的可读介质,例如随机存取存储单元(RAM)8201和/或高速缓存存储单元8202,还可以进一步包括只读存储单元(ROM)8203。The storage unit 820 may include a readable medium in the form of a volatile storage unit, such as a random access storage unit (RAM) 8201 and/or a cache storage unit 8202 , and may further include a read only storage unit (ROM) 8203 .
存储单元820还可以包括具有一组(至少一个)程序模块8205的程序/实用工具8204,这样的程序模块8205包括但不限于:操作系统、一个或者多个应用程序、其它程序模块以及程序数据,这些示例中的每一个或某种组合中可能包括网络环境的实现。The storage unit 820 may also include a program/utility 8204 having a set (at least one) of program modules 8205 including, but not limited to, an operating system, one or more application programs, other program modules, and program data, An implementation of a network environment may be included in each or some combination of these examples.
总线830可以为表示几类总线结构中的一种或多种,包括存储单元总线或者存储单元控制器、外围总线、图形加速端口、处理单元或者使用多种总线结构中的任意总线结构的局域总线。The bus 830 may be representative of one or more of several types of bus structures, including a memory cell bus or memory cell controller, a peripheral bus, a graphics acceleration port, a processing unit, or a local area using any of a variety of bus structures bus.
电子设备800也可以与一个或多个外部设备900(例如键盘、指向设备、蓝牙设备等)通信,还可与一个或者多个使得用户能与该电子设备800交互的设备通信,和/或与使得该电子设备800能与一个或多个其它计算设备进行通信的任何设备(例如路由器、调制解调器等)通信。这种通信可以通过输入/输出(I/O)接口850进行。并且,电子设备800还可以通过网络适配器860与一个或者多个网络(例如局域网(LAN),广域网(WAN)和/或公共网络,例如因特网)通信。如图所示,网络适配器860通过总线830与电子设备800的其它模块通信。应当明白,尽管图中未示出,可以结合电子设备800使用其它硬件和/或软件模块,包括但不限于:微代码、设备驱动器、冗余处理单元、外部磁盘驱动阵列、RAID系统、磁带驱动器以及数据备份存储系统等。The electronic device 800 may also communicate with one or more external devices 900 (eg, keyboards, pointing devices, Bluetooth devices, etc.), with one or more devices that enable a user to interact with the electronic device 800, and/or with Any device (eg, router, modem, etc.) that enables the electronic device 800 to communicate with one or more other computing devices. Such communication may take place through input/output (I/O) interface 850 . Also, the electronic device 800 may communicate with one or more networks (eg, a local area network (LAN), a wide area network (WAN), and/or a public network such as the Internet) through a network adapter 860 . As shown, network adapter 860 communicates with other modules of electronic device 800 via bus 830 . It should be understood that, although not shown, other hardware and/or software modules may be used in conjunction with electronic device 800, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives and data backup storage systems.
通过以上的实施方式的描述,本领域的技术人员易于理解,这里描述的示例实施方式可以通过软件实现,也可以通过软件结合必要的硬件的方式来实现。因此,根据本发明实施方式的技术方案可以以软件产品的形式体现出来,该软件产品可以存储在一个非易失性 存储介质(可以是CD-ROM,U盘,移动硬盘等)中或网络上,包括若干指令以使得一台计算设备(可以是个人计算机、服务器、终端装置、或者网络设备等)执行根据本发明实施方式的方法。From the description of the above embodiments, those skilled in the art can easily understand that the exemplary embodiments described herein may be implemented by software, or may be implemented by software combined with necessary hardware. Therefore, the technical solutions according to the embodiments of the present invention can be embodied in the form of software products, and the software products can be stored in a non-volatile storage medium (which can be CD-ROM, U disk, mobile hard disk, etc.) or on the network , including several instructions to cause a computing device (which may be a personal computer, a server, a terminal device, or a network device, etc.) to execute the method according to an embodiment of the present invention.
在本发明的示例性实施例中,还提供了一种计算机可读存储介质,其上存储有能够实现本说明书上述方法的程序产品。在一些可能的实施方式中,本发明的各个方面还可以实现为一种程序产品的形式,其包括程序代码,当所述程序产品在终端设备上运行时,所述程序代码用于使所述终端设备执行本说明书上述“示例性方法”部分中描述的根据本发明各种示例性实施方式的步骤。In an exemplary embodiment of the present invention, there is also provided a computer-readable storage medium on which a program product capable of implementing the above-mentioned method of the present specification is stored. In some possible implementations, aspects of the present invention can also be implemented in the form of a program product comprising program code for enabling the program product to run on a terminal device The terminal device performs the steps according to various exemplary embodiments of the present invention described in the "Example Method" section above in this specification.
根据本发明的实施方式的用于实现上述方法的程序产品,其可以采用便携式紧凑盘只读存储器(CD-ROM)并包括程序代码,并可以在终端设备,例如个人电脑上运行。然而,本发明的程序产品不限于此,在本文件中,可读存储介质可以是任何包含或存储程序的有形介质,该程序可以被指令执行系统、装置或者器件使用或者与其结合使用。A program product for implementing the above method according to an embodiment of the present invention may adopt a portable compact disc read only memory (CD-ROM) and include program codes, and may run on a terminal device, such as a personal computer. However, the program product of the present invention is not limited thereto, and in this document, a readable storage medium may be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, apparatus, or device.
所述程序产品可以采用一个或多个可读介质的任意组合。可读介质可以是可读信号介质或者可读存储介质。可读存储介质例如可以为但不限于电、磁、光、电磁、红外线、或半导体的系统、装置或器件,或者任意以上的组合。可读存储介质的更具体的例子(非穷举的列表)包括:具有一个或多个导线的电连接、便携式盘、硬盘、随机存取存储器(RAM)、只读存储器(ROM)、可擦式可编程只读存储器(EPROM或闪存)、光纤、便携式紧凑盘只读存储器(CD-ROM)、光存储器件、磁存储器件、或者上述的任意合适的组合。The program product may employ any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. The readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus or device, or a combination of any of the above. More specific examples (non-exhaustive list) of readable storage media include: electrical connections with one or more wires, portable disks, hard disks, random access memory (RAM), read only memory (ROM), erasable programmable read only memory (EPROM or flash memory), optical fiber, portable compact disk read only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the foregoing.
计算机可读信号介质可以包括在基带中或者作为载波一部分传播的数据信号,其中承载了可读程序代码。这种传播的数据信号可以采用多种形式,包括但不限于电磁信号、光信号或上述的任意合适的组合。可读信号介质还可以是可读存储介质以外的任何可读介质,该可读介质可以发送、传播或者传输用于由指令执行系统、装置或者器件使用或者与其结合使用的程序。A computer readable signal medium may include a propagated data signal in baseband or as part of a carrier wave with readable program code embodied thereon. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the foregoing. A readable signal medium can also be any readable medium, other than a readable storage medium, that can transmit, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device.
可读介质上包含的程序代码可以用任何适当的介质传输,包括但不限于无线、有线、光缆、RF等,或者上述的任意合适的组合。Program code embodied on a readable medium may be transmitted using any suitable medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
可以以一种或多种程序设计语言的任意组合来编写用于执行本发明操作的程序代码,所述程序设计语言包括面向对象的程序设计语言—诸如Java、C++等,还包括常规的过程式程序设计语言—诸如“C”语言或类似的程序设计语言。程序代码可以完全地在用户计算设备上执行、部分地在用户设备上执行、作为一个独立的软件包执行、部分在用户计算设备上部分在远程计算设备上执行、或者完全在远程计算设备或服务器上执行。在涉及远程计算设备的情形中,远程计算设备可以通过任意种类的网络,包括局域网(LAN)或广域网(WAN),连接到用户计算设备,或者,可以连接到外部计算设备(例如利用因特网服务提供商来通过因特网连接)。Program code for carrying out operations of the present invention may be written in any combination of one or more programming languages, including object-oriented programming languages—such as Java, C++, etc., as well as conventional procedural Programming Language - such as the "C" language or similar programming language. The program code may execute entirely on the user computing device, partly on the user device, as a stand-alone software package, partly on the user computing device and partly on a remote computing device, or entirely on the remote computing device or server execute on. In the case of a remote computing device, the remote computing device may be connected to the user computing device through any kind of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computing device (eg, using an Internet service provider business via an Internet connection).
此外,上述附图仅是根据本发明示例性实施例的方法所包括的处理的示意性说明,而不是限制目的。易于理解,上述附图所示的处理并不表明或限制这些处理的时间顺序。另 外,也易于理解,这些处理可以是例如在多个模块中同步或异步执行的。Furthermore, the above-mentioned figures are merely schematic illustrations of the processes included in the methods according to the exemplary embodiments of the present invention, and are not intended to be limiting. It is easy to understand that the processes shown in the above figures do not indicate or limit the chronological order of these processes. In addition, it is also readily understood that these processes may be performed, for example, synchronously or asynchronously in multiple modules.
本领域技术人员在考虑说明书及实践这里发明的发明后,将容易想到本发明的其他实施例。本申请旨在涵盖本发明的任何变型、用途或者适应性变化,这些变型、用途或者适应性变化遵循本发明的一般性原理并包括本发明未发明的本技术领域中的公知常识或惯用技术手段。说明书和实施例仅被视为示例性的,本发明的真正范围和精神由权利要求指出。Other embodiments of the invention will readily occur to those skilled in the art upon consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses or adaptations of the invention which follow the general principles of the invention and which include common knowledge or conventional techniques in the art to which the invention is not invented . The specification and examples are to be regarded as exemplary only, with the true scope and spirit of the invention being indicated by the claims.
表1Table 1
Figure PCTCN2021128263-appb-000001
Figure PCTCN2021128263-appb-000001
Figure PCTCN2021128263-appb-000002
Figure PCTCN2021128263-appb-000002
Figure PCTCN2021128263-appb-000003
Figure PCTCN2021128263-appb-000003
表2Table 2
Figure PCTCN2021128263-appb-000004
Figure PCTCN2021128263-appb-000004
Figure PCTCN2021128263-appb-000005
Figure PCTCN2021128263-appb-000005

Claims (10)

  1. 一种用户画像生成方法,包括:A method for generating user portraits, comprising:
    获取目标用户的疾病信息和日常生活信息,并根据所述疾病信息和日常生活信息,确定所述目标用户在多个不同维度上的用户标签;Acquiring disease information and daily life information of the target user, and determining user labels of the target user in multiple different dimensions according to the disease information and daily life information;
    根据各所述不同维度上的用户标签和所述目标用户的日常行为信息,确定所述目标用户的当前运动计划表以及当前饮食计划表;Determine the current exercise plan and the current diet plan of the target user according to the user tags on each of the different dimensions and the daily behavior information of the target user;
    根据所述当前运动计划表和当前饮食计划表构建目标计划表,并根据所述目标计划表、预设的运动品类以及食品品类,生成所述目标用户的用户画像;Build a target plan according to the current exercise plan and the current diet plan, and generate a user portrait of the target user according to the goal plan, preset sports categories and food categories;
    根据所述用户画像为所述目标用户匹配标准饮食方案和标准运动方案,并将所述标准饮食方案和标准运动方案发送至所述目标用户所在的终端设备。Match a standard diet plan and a standard exercise plan for the target user according to the user portrait, and send the standard diet plan and standard exercise plan to the terminal device where the target user is located.
  2. 根据权利要求1所述的用户画像生成方法,其中,根据所述疾病信息和日常行为信息,确定所述目标用户在多个不同维度上的用户标签,包括:The method for generating a user portrait according to claim 1, wherein, according to the disease information and daily behavior information, determining the user labels of the target user in multiple different dimensions, comprising:
    根据所述疾病信息中的目标用户的疾病症状信息和体格信息,确定所述目标用户在体重管理维度上的第一用户标签;According to the disease symptom information and physique information of the target user in the disease information, determine the first user label of the target user in the dimension of weight management;
    根据所述日常生活信息,确定所述目标用户在饮食活动维度上的第二用户标签、在体力活动上的第三用户标签以及在情绪活动维度上的第四用户标签。According to the daily life information, the target user's second user label on the dimension of eating activity, the third user label on the physical activity, and the fourth user label on the emotional activity dimension are determined.
  3. 根据权利要求2所述的用户画像生成方法,其中,根据所述日常生活信息,确定所述目标用户在饮食活动维度上的第二用户标签、在体力活动上的第三用户标签以及在情绪活动维度上的第四用户标签,包括:The method for generating user portraits according to claim 2, wherein, according to the daily life information, the second user label of the target user in the dimension of eating activity, the third user label of physical activity, and the emotional activity of the target user are determined. The fourth user label in the dimension, including:
    根据所述日常生活信息中的饮食信息计算所述第二用户标签;Calculate the second user tag according to the diet information in the daily life information;
    根据所述日常生活信息中的体力活动信息和心肺功能信息,计算所述第三用户标签;Calculate the third user tag according to the physical activity information and cardiopulmonary function information in the daily life information;
    根据所述日常生活信息中的睡眠信息、焦虑信息以及抑郁信息,计算所述第四用户标签。The fourth user tag is calculated according to sleep information, anxiety information and depression information in the daily life information.
  4. 根据权利要求1所述的用户画像生成方法,其中,根据各所述不同维度上的用户标签和所述目标用户的日常行为信息,确定所述目标用户的当前运动计划表和当前饮食计划表,包括:The method for generating a user portrait according to claim 1, wherein the current exercise plan and the current diet plan of the target user are determined according to the user labels on each of the different dimensions and the daily behavior information of the target user, include:
    根据各个所述不同维度上的用户标签和所述目标用户的日常行为信息,计算所述目标用户的用户计划信息;其中,所述用户计划信息包括用户计划心率、用户计划运动时长、用户计划运动强度、用户计划摄入的总能量以及用户计划摄入的蛋白质、脂肪以及碳水化合物在所述总能量中的占比中的多种;Calculate the user plan information of the target user according to the user labels on each of the different dimensions and the daily behavior information of the target user; wherein the user plan information includes the user's planned heart rate, the user's planned exercise duration, and the user's planned exercise. a variety of the intensity, the total energy the user plans to consume, and the proportion of protein, fat, and carbohydrates the user plans to consume in the total energy;
    根据所述目标用户的日常行为信息中的用户实际信息对所述用户计划信息进行调整;其中,所述用户实际信息包括用户实际心率、用户实际运动时长、用户实际运动强度、用户实际摄入的总能量以及用户实际摄入的蛋白质、脂肪以及碳水化合物在所述总能量中的占比中的多种;The user plan information is adjusted according to the user's actual information in the target user's daily behavior information; wherein the user's actual information includes the user's actual heart rate, the user's actual exercise duration, the user's actual exercise intensity, and the user's actual intake. The total energy and a variety of the proportions of protein, fat and carbohydrates actually consumed by the user in the total energy;
    根据调整后的用户计划心率、用户计划运动时长以及用户计划运动强度,生成所述当前运动计划表,并根据调整后的用户计划摄入的总能量和用户计划摄入的蛋白质、脂肪以及碳水化合物在所述总能量中的占比,生成所述当前饮食计划表。According to the adjusted user's planned heart rate, the user's planned exercise duration, and the user's planned exercise intensity, the current exercise schedule is generated, and based on the adjusted total energy planned by the user and the planned intake of protein, fat and carbohydrates by the user In the proportion of the total energy, the current diet plan table is generated.
  5. 根据权利要求1所述的用户画像生成方法,其中,根据所述当前运动计划表和当前饮食计划表构建目标计划表,并根据所述目标计划表、预设的运动品类以及食品品类,生成所述目标用户的用户画像,包括:The method for generating a user portrait according to claim 1, wherein a target plan is constructed according to the current exercise plan and the current diet plan, and the target plan is generated according to the goal plan, a preset sports category and a food category. Describe the user profile of the target user, including:
    根据所述当前运动计划表中的调整后的用户计划心率、用户计划运动时以及用户计划运动强度生成第一目标函数;generating a first objective function according to the adjusted user's planned heart rate, the user's planned exercise time, and the user's planned exercise intensity in the current exercise schedule;
    根据所述当前饮食计划表中的调整后的用户计划摄入的总能量和用户计划摄入的蛋白质、脂肪以及碳水化合物在所述总能量中的占比,生成第二目标函数;generating a second objective function according to the adjusted total energy planned by the user and the proportion of protein, fat and carbohydrates planned by the user in the total energy in the current diet plan table;
    以所述当前运动计划表作为所述第一目标函数的第一边界条件,以所述当前饮食计 划表作为所述第二目标函数的第二边界条件,根据所述预设的运动品类和食品品类,对所述第一目标函数和第二目标函数进行求解,得到所述目标用户的用户画像;Taking the current exercise schedule as the first boundary condition of the first objective function, and using the current diet schedule as the second boundary condition of the second objective function, according to the preset sports category and food Category, solve the first objective function and the second objective function to obtain the user portrait of the target user;
    其中,所述用户画像包括所述目标用户的饮食方案以及运动方案。Wherein, the user portrait includes the target user's diet plan and exercise plan.
  6. 根据权利要求5所述的用户画像生成方法,其中,在根据所述预设的运动品类和食品品类,对所述第一目标函数和第二目标函数进行求解之前,所述用户画像生成方法还包括:The user portrait generation method according to claim 5, wherein before the first objective function and the second objective function are solved according to the preset sports category and food category, the user portrait generation method further include:
    基于预设过滤规则对所述运动品类中的运动场景和运动偏好进行过滤,并对所述食品品类中的食物的血糖的生成指数进行过滤。The sports scenes and sports preferences in the sports category are filtered based on preset filtering rules, and the blood sugar generation index of the food in the food category is filtered.
  7. 根据权利要求1所述的用户画像生成方法,其中,根据所述用户画像为所述目标用户匹配标准饮食方案和标准运动方案,包括:The method for generating a user portrait according to claim 1, wherein matching a standard diet plan and a standard exercise plan for the target user according to the user portrait, comprising:
    根据所述日常行为信息中的用户运动偏好对所述用户画像中的饮食方案和运动方案进行排序,并根据排序结果得到所述标准饮食方案和标准运动方案。Sort the diet plan and exercise plan in the user portrait according to the user's exercise preference in the daily behavior information, and obtain the standard diet plan and standard exercise plan according to the sorting result.
  8. 一种用户画像生成装置,包括:A user portrait generation device, comprising:
    用户标签计算模块,用于获取目标用户的疾病信息和日常生活信息,并根据所述疾病信息和日常生活信息,确定所述目标用户在多个不同维度上的用户标签;a user label calculation module, used to obtain disease information and daily life information of a target user, and determine user labels of the target user in multiple different dimensions according to the disease information and daily life information;
    计划表计算模块,用于根据各所述不同维度上的用户标签和所述目标用户的日常行为信息,确定所述目标用户的当前运动计划表和当前饮食计划表;a plan table calculation module, configured to determine the current exercise plan table and the current diet plan table of the target user according to the user labels on each of the different dimensions and the daily behavior information of the target user;
    用户画像生成模块,用于根据所述当前运动计划表和当前饮食计划表构建目标计划表,并根据所述目标计划表、预设的运动品类以及食品品类,生成所述目标用户的用户画像;a user portrait generation module, configured to construct a target plan according to the current exercise plan and the current diet plan, and generate a user portrait of the target user according to the goal plan, preset sports categories and food categories;
    方案匹配模块,用于根据所述用户画像为所述目标用户匹配标准饮食方案和标准运动方案,并将所述标准饮食方案和标准运动方案发送至所述目标用户所在的终端设备。A plan matching module, configured to match a standard diet plan and a standard exercise plan for the target user according to the user portrait, and send the standard diet plan and the standard exercise plan to the terminal device where the target user is located.
  9. 一种计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现权利要求1-7任一项所述的用户画像生成方法。A computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, implements the method for generating a user portrait according to any one of claims 1-7.
  10. 一种电子设备,包括:An electronic device comprising:
    处理器;以及processor; and
    存储器,用于存储所述处理器的可执行指令;a memory for storing executable instructions for the processor;
    其中,所述处理器配置为经由执行所述可执行指令来执行权利要求1-7任一项所述的用户画像生成方法。Wherein, the processor is configured to execute the method for generating a user portrait according to any one of claims 1-7 by executing the executable instructions.
PCT/CN2021/128263 2021-03-16 2021-11-02 Method and apparatus for generating user portrait, and storage medium and electronic device WO2022193676A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202110281263.4 2021-03-16
CN202110281263.4A CN113035317A (en) 2021-03-16 2021-03-16 User portrait generation method and device, storage medium and electronic equipment

Publications (1)

Publication Number Publication Date
WO2022193676A1 true WO2022193676A1 (en) 2022-09-22

Family

ID=76471230

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/128263 WO2022193676A1 (en) 2021-03-16 2021-11-02 Method and apparatus for generating user portrait, and storage medium and electronic device

Country Status (2)

Country Link
CN (1) CN113035317A (en)
WO (1) WO2022193676A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113035317A (en) * 2021-03-16 2021-06-25 北京懿医云科技有限公司 User portrait generation method and device, storage medium and electronic equipment
CN113707253B (en) * 2021-08-30 2023-06-27 深圳平安智慧医健科技有限公司 Medical scheme recommendation method, device, equipment and medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140287384A1 (en) * 2009-06-30 2014-09-25 Jeffery Boyes Method, system and apparatus for improved nutritional analysis
CN108665960A (en) * 2018-04-28 2018-10-16 见道(杭州)科技有限公司 A kind of health control method and device
CN110782971A (en) * 2019-10-09 2020-02-11 南京麦澜德医疗科技有限公司 Diet recommendation method and system
CN111883230A (en) * 2019-12-18 2020-11-03 深圳数字生命研究院 Method and device for generating diet data, storage medium and electronic device
CN112287208A (en) * 2019-09-30 2021-01-29 北京沃东天骏信息技术有限公司 User portrait generation method and device, electronic equipment and storage medium
CN113035317A (en) * 2021-03-16 2021-06-25 北京懿医云科技有限公司 User portrait generation method and device, storage medium and electronic equipment

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105528509A (en) * 2014-09-29 2016-04-27 西安乐食智能餐具有限公司 Method, apparatus and system for managing health plans
CN111180038B (en) * 2018-11-12 2022-03-11 厦门智汇权科技有限公司 Multi-dimensional large health guidance system based on traditional Chinese medicine theory
CN109671502A (en) * 2018-12-18 2019-04-23 北京妙医佳信息技术有限公司 Object portrait update method and device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140287384A1 (en) * 2009-06-30 2014-09-25 Jeffery Boyes Method, system and apparatus for improved nutritional analysis
CN108665960A (en) * 2018-04-28 2018-10-16 见道(杭州)科技有限公司 A kind of health control method and device
CN112287208A (en) * 2019-09-30 2021-01-29 北京沃东天骏信息技术有限公司 User portrait generation method and device, electronic equipment and storage medium
CN110782971A (en) * 2019-10-09 2020-02-11 南京麦澜德医疗科技有限公司 Diet recommendation method and system
CN111883230A (en) * 2019-12-18 2020-11-03 深圳数字生命研究院 Method and device for generating diet data, storage medium and electronic device
CN113035317A (en) * 2021-03-16 2021-06-25 北京懿医云科技有限公司 User portrait generation method and device, storage medium and electronic equipment

Also Published As

Publication number Publication date
CN113035317A (en) 2021-06-25

Similar Documents

Publication Publication Date Title
US11315688B2 (en) Methods and systems for an artificial intelligence alimentary professional support network for vibrant constitutional guidance
US11928570B2 (en) Artificial intelligence methods and systems for generation and implementation of alimentary instruction sets
US11461664B2 (en) Methods and systems for an artificial intelligence alimentary professional support network for vibrant constitutional guidance
US11289198B2 (en) Systems and methods for generating alimentary instruction sets based on vibrant constitutional guidance
WO2021030637A1 (en) Improving metabolic health using a precision treatment platform enabled by whole body digital twin technology
US8714983B2 (en) Multi-player role-playing lifestyle-rewarded health game
WO2021247922A1 (en) Predictive guidance systems for personalized health and self-care, and associated methods
WO2022193676A1 (en) Method and apparatus for generating user portrait, and storage medium and electronic device
US11322255B2 (en) Methods and systems for self-fulfillment of an alimentary instruction set based on vibrant constitutional guidance
US11205140B2 (en) Methods and systems for self-fulfillment of an alimentary instruction set based on vibrant constitutional guidance
US11568351B2 (en) Systems and methods for arranging transport of alimentary components
US11315684B2 (en) Systems and methods for generating alimentary instruction sets based on vibrant constitutional guidance
US11392854B2 (en) Systems and methods for implementing generated alimentary instruction sets based on vibrant constitutional guidance
US20220198338A1 (en) Method for and system for predicting alimentary element ordering based on biological extraction
WO2021158796A1 (en) Forecasting and explaining user health metrics
US20200321115A1 (en) Systems and methods for generating alimentary instruction sets based on vibrant constitutional guidance
US20210406025A1 (en) Method of and system for generating a rank-ordered instruction set using a ranking process
Hezarjaribi et al. Human-in-the-loop learning for personalized diet monitoring from unstructured mobile data
US20220054091A1 (en) Methods and systems for self-fulfillment of an alimentary instruction set based on vibrant constitutional guidance
US11222727B2 (en) Systems and methods for generating alimentary instruction sets based on vibrant constitutional guidance
US20230255556A1 (en) Biosensors and food logger systems for personalized health and self-care
US11887720B1 (en) Apparatus and method for using a feedback loop to optimize meals
US11894124B2 (en) Methods and systems for timing impact of nourishment consumption
US20240087719A1 (en) Methods and systems for calculating an edible score in a display interface
US11688507B2 (en) Systems and methods for generating a metabolic dysfunction nourishment program

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 21931251

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE