WO2020233587A1 - Information pushing method and apparatus based on food, and computer-readable storage medium - Google Patents

Information pushing method and apparatus based on food, and computer-readable storage medium Download PDF

Info

Publication number
WO2020233587A1
WO2020233587A1 PCT/CN2020/091217 CN2020091217W WO2020233587A1 WO 2020233587 A1 WO2020233587 A1 WO 2020233587A1 CN 2020091217 W CN2020091217 W CN 2020091217W WO 2020233587 A1 WO2020233587 A1 WO 2020233587A1
Authority
WO
WIPO (PCT)
Prior art keywords
food
information
intake
user
target
Prior art date
Application number
PCT/CN2020/091217
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 WO2020233587A1 publication Critical patent/WO2020233587A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/06Buying, selling or leasing transactions
    • G06Q30/0601Electronic shopping [e-shopping]
    • G06Q30/0631Item recommendations
    • 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

Definitions

  • This application relates to the technical field of healthy eating, in particular to a food-based information push method, device, and computer-readable storage medium.
  • the main purpose of this application is to provide a food-based information push method, device, and computer-readable storage medium, aiming to solve the problem of unhealthy diet and unhealthy health.
  • the present application provides a food-based information pushing method.
  • the food-based information pushing method includes the following steps:
  • the suggestion information corresponding to the user is generated according to the food information, and the suggestion information is pushed to the terminal associated with the user, where the suggestion information includes diet suggestion information and exercise suggestion information.
  • the step of generating suggestion information corresponding to the user according to the food information includes:
  • the dietary advice information is generated based on the intake of the target component and the first target intake corresponding to the target component, and the exercise is generated based on the intake of calories and the second target intake corresponding to the calories Suggested information.
  • the step of obtaining the first target intake corresponding to each of the target components and the second target intake corresponding to the calories includes:
  • the step of determining the first preset intake corresponding to the target component and the second preset intake corresponding to the calories includes:
  • the intake of the target component corresponding to the user type is used as the first preset intake, and the intake of calories corresponding to the user type is used as the second preset intake.
  • the step of generating suggestion information corresponding to the user according to the food information includes:
  • the step of determining the intake of each target component and the intake of calories of the user within the preset time according to the food information is performed.
  • the method further includes:
  • the method further includes:
  • the food-based information pushing method further includes:
  • the food information, the purchase time point, and the user are associated and saved.
  • the present application also provides a food-based information push device.
  • the food-based information push device includes a processor, a memory, and food-based information stored in the memory and running on the processor.
  • a push program which implements the steps of the food-based information push method as described above when the food-based information push program is executed by the processor.
  • the present application also provides a computer-readable storage medium that stores a food-based information push program, and when the food-based information push program is executed by a processor, the above The various steps of the food-based information push method.
  • the food-based information push method, device, and computer-readable storage medium provided in the present application.
  • the device obtains food information corresponding to the food purchased by the user within a preset time, and then generates the user's corresponding dietary advice information and sports health information according to the food information, Finally, the diet suggestion information and exercise suggestion information are sent to the user's associated terminal, so that the user can adjust their eating habits according to the diet suggestion information, and exercise according to the exercise suggestion information, thereby eliminating unhealthy conditions caused by unbalanced diet. Improve the user experience.
  • FIG. 1 is a schematic diagram of the hardware structure of a food-based information push device according to an embodiment of the application
  • FIG. 3 is a detailed flowchart of step S30 in FIG. 2;
  • FIG. 4 is a schematic flowchart of a second embodiment of the food-based information pushing method of this application.
  • the main solution of the embodiment of the present application is to determine the intake of each target component and the intake of calories of the user within the preset time according to the food information; obtain the first target corresponding to each target component Intake, and a second target intake corresponding to the calorie; generating the dietary advice information according to the intake of the target component and the first target intake corresponding to the target component, and according to the intake of the calorie And the second target intake corresponding to the calories generates the exercise recommendation information.
  • the device Since the device generates dietary advice information and exercise advice information according to the food information of the food purchased by the user, and sends the advice information to the user's associated terminal, the user can adjust his eating habits according to the dietary advice information, and proceed according to the exercise advice information. Exercise to eliminate unhealthy conditions caused by unbalanced diet and improve user experience.
  • the food-based information pushing device may be as shown in FIG. 1.
  • the food-based information pushing device includes: a processor 101, such as a CPU, a memory 102, and a communication bus 103.
  • the communication bus 103 is configured to realize connection and communication between these components.
  • the memory 102 may be a high-speed RAM memory, or a stable memory (non-volatile memory), such as a magnetic disk memory. As shown in FIG. 1, the memory 102 as a computer storage medium may include a food-based information push program; and the processor 101 may be configured to call the food-based information push program stored in the memory 102 and perform the following operations:
  • the suggestion information corresponding to the user is generated according to the food information, and the suggestion information is pushed to the terminal associated with the user, where the suggestion information includes diet suggestion information and exercise suggestion information.
  • the processor 101 may be configured to call a food-based information push program stored in the memory 102 and perform the following operations:
  • the dietary advice information is generated based on the intake of the target component and the first target intake corresponding to the target component, and the exercise is generated based on the intake of calories and the second target intake corresponding to the calories Suggested information.
  • the processor 101 may be configured to call a food-based information push program stored in the memory 102 and perform the following operations:
  • the processor 101 may be configured to call a food-based information push program stored in the memory 102 and perform the following operations:
  • the intake of the target component corresponding to the user type is used as the first preset intake, and the intake of calories corresponding to the user type is used as the second preset intake.
  • the processor 101 may be configured to call a food-based information push program stored in the memory 102 and perform the following operations:
  • the step of determining the intake of each target component and the intake of calories of the user within the preset time according to the food information is performed.
  • the processor 101 may be configured to call a food-based information push program stored in the memory 102 and perform the following operations:
  • the processor 101 may be configured to call a food-based information push program stored in the memory 102 and perform the following operations:
  • the processor 101 may be configured to call a food-based information push program stored in the memory 102 and perform the following operations:
  • the food information, the purchase time point, and the user are associated and saved.
  • the device obtains the food information corresponding to the food purchased by the user within a preset time, and then generates the diet suggestion information and exercise health information corresponding to the user according to the food information, and finally sends the diet suggestion information and exercise suggestion information to the user
  • the associated terminal enables users to adjust their own eating habits according to dietary advice information, and exercise according to exercise advice information, thereby eliminating unhealthy conditions caused by unbalanced diet and improving user experience.
  • Fig. 2 is a first embodiment of the food-based information pushing method of this application.
  • the food-based information pushing method includes the following steps:
  • Step S10 Obtain food information corresponding to the food purchased by the user within a preset time, where the food information includes food types, ingredients, and calories;
  • the execution subject is a food-based information pushing device, which is provided with an image acquisition module and a weight sensor, and the image acquisition module may be a camera or a camera.
  • the device After buying food, the user can place the food on the device, the device will take pictures of the food to get a picture of the food, and at the same time the weight of the food can be obtained through the weight sensor.
  • the device can identify the food according to the food picture, thereby determining the name of the food according to the name Determine the type of food; then the device determines the composition and calories of the food according to the type and weight of the food.
  • the composition can be trace elements such as protein, vitamins, and light powder, and elemental components indispensable to the human body.
  • the price of the food can be calculated according to the weight and type of the food, and after the user pays the price, the user’s payment time is recorded and the user information of the user is obtained.
  • the user information includes The user’s basic information, such as name, gender, age, weight, height, etc., can be registered and saved through the app; the device then stores the user information, the price the user pays for the food, the time of payment for the food, the type of food, Food ingredients and food calories are related and preserved.
  • the device can display the food information or send the food information to the user terminal so that the user can view it by himself.
  • the device can display the food information according to the current food purchased by the user.
  • the food information outputs prompt information. For example, if the calorie of the food purchased by the user is too high, a prompt message that the calorie of the food is too high can be generated.
  • the device stores the historical information of each user's food purchases.
  • the device can generate the user's corresponding suggestion information within a preset time based on the historical information.
  • the preset time can be any time period of a week, a month, or a quarter.
  • the preset time It can be set for the user or determined by the device itself.
  • the device first obtains the food information corresponding to the food purchased by the user within the preset time from the stored historical information.
  • Step S20 Generate suggestion information corresponding to the user according to the food information, and push the suggestion information to a terminal associated with the user, where the suggestion information includes diet suggestion information and exercise suggestion information.
  • the user's suggestion information can be generated according to each food information. Specifically, please refer to FIG. 3. That is, in step S20, the user's corresponding suggestion is generated according to the food information
  • the information steps include:
  • Step S21 determining the intake of each target component and the intake of calories of the user within the preset time according to the food information
  • Step S22 acquiring a first target intake corresponding to each of the target components and a second target intake corresponding to the calories;
  • Step S23 generating the dietary advice information according to the intake of the target component and the first target intake corresponding to the target component, and generating it based on the intake of calories and the second target intake corresponding to the calories The exercise suggestion information.
  • the device can determine the target ingredients of the food.
  • the target ingredients can be proteins, vitamins, starches, amino acids, fats and other ingredients.
  • the user can set the target ingredients through the APP; after getting the user’s food within a preset time After information, from this, the intake and calorie intake corresponding to each target component can be statistically obtained.
  • Each target component corresponds to a first target intake, and calories also contain a corresponding second target intake.
  • the target component is set with a first preset intake amount
  • the first preset intake amount is the unit intake, and the unit may be days, hours, or weeks
  • the preset time is set by the user or determined by the device.
  • the first preset intake can be corrected by the preset time to obtain the first target intake.
  • the daily intake of protein is 80g
  • the preset time is one week
  • the first preset intake amount can be determined according to user information. Specifically, the device obtains user information of the user.
  • the user information includes the user's age, gender, weight, height, etc., and the device can determine it according to the user information.
  • the user type of the user, and the intake of the target component corresponding to each user type is different. Therefore, after determining the user type of the user, the device can use the intake corresponding to each target component corresponding to the user type as each
  • the first preset intake corresponding to the target component for example, user types are divided into three types: A, B, and C. If the current user belongs to B, the intake of the target component corresponding to B is taken as the first preset corresponding to the target component. Set the intake.
  • the method for determining the second target intake corresponding to the calorie and the second preset intake may refer to the acquisition process of the first target intake and the first preset intake corresponding to the target component, which will not be repeated here.
  • the device can know whether the intake of the target component is too much or too little (the intake of the target component minus the first target corresponding to the target component)
  • the difference between the intake amount is less than the first preset difference, and it can be judged that the target component is too low; the intake of the target ingredient minus the first target intake corresponding to the target ingredient is greater than the second preset
  • the difference can be judged that the target component has been consumed too much), and the dietary advice information corresponding to the target component can be proposed. For example, if the user consumes too little iron, it can produce more iron-rich foods such as spinach Furthermore, you can calculate how much spinach the user should eat in the next period of time based on the dietary advice information;
  • the device can count the user's calorie intake within the preset time, and then subtract the calorie intake and the second target intake corresponding to the calorie to know whether the calorie intake is excessive (calorie The difference obtained by subtracting the second target intake from the second target intake is greater than the third preset difference, and it can be judged that the calorie intake is too much).
  • exercise advice information can be generated, for example, the user can be advised Perform aerobic exercises such as running to consume excess calories.
  • the device can also determine exercise advice information according to the intake of the target component. For example, if the user takes too little vitamin D within a preset time, the user can be advised to do more outdoor activities to synthesize vitamin D through sunlight.
  • the advice information includes diet advice information and exercise advice information.
  • the advice information can be pushed to the user terminal.
  • the user can adjust diet and exercise according to the suggested information.
  • the device can be equipped with a reminder function.
  • the device can determine the user's preferred food when eating according to the diet suggestion information.
  • the preferred food can be purchased according to the user's history
  • the food information is determined. For example, if the user has a record of eating spinach, then a prompt message can be generated to prompt the user to purchase spinach to supplement iron when buying food.
  • the device can prompt the user to perform outdoor activities such as running and playing basketball according to the exercise recommendation information.
  • the device can generate the user's corresponding diet report within a preset time.
  • the diet report contains the user's response to each target within the preset time.
  • the device then pushes the diet report to the terminal associated with the user.
  • the device obtains the food information corresponding to the food purchased by the user within a preset time, and then generates the diet advice information and exercise health information corresponding to the user according to the food information, and finally combines the diet advice information and exercise advice information Send to the user's associated terminal, so that the user can adjust their own eating habits according to the diet advice information, and exercise according to the exercise advice information, thereby eliminating the unhealthy condition caused by the unbalanced diet and improving the user experience.
  • FIG. 4 is a second embodiment of the food-based information pushing method of this application. Based on the first embodiment, after the step S10, the method further includes:
  • Step S30 Determine the number of purchases of food by the user within the preset time, and determine the target number of times for the preset time;
  • Step S40 When the number of purchases is greater than or equal to the target number of times, the step of determining the intake of each target component and the intake of calories of the user within the preset time is performed according to the food information.
  • Step S50 when the number of purchases is less than the target number of times, obtain each historical food information of the food purchased by the user;
  • Step S60 classify each of the historical food information according to breakfast, dinner, and Chinese food to obtain each set;
  • Step S70 Determine the habitual food information corresponding to the breakfast, the lunch, and the dinner according to the historical food information in each of the sets;
  • Step S80 Determine the intake of each target component and the intake of calories of the user within the preset time according to each of the habitual food information, and execute the obtaining of the first target intake corresponding to each of the target components And the second target intake corresponding to the calories.
  • the user’s three meals a day may not all be settled in the same store.
  • the user can go to other stores to eat, go to a friend’s house, or cook by himself. If the user’s food in the store where the device is located within the preset time
  • the recommendation information generated by the device is not very accurate.
  • the corresponding target number of times will be set for the preset time.
  • the number of target times is related to the length of the preset time. For example, if the preset time is set to one day, then the target number of times is 2. If the preset time is one week, the target number of times can be set to 18.
  • the device After the device obtains the food information of the food purchased by the user within the preset time, it can further obtain the number of times the user purchases the food within the preset time. If the number of purchases is greater than or equal to the target number of times, the device can determine that the recommendation information generated based on the food information is more accurate , Then the suggestion information can be generated based on the food information, that is, the device executes steps S21 to 23; and when the number of purchases is less than the target number of times, the suggestion information generated based on the food information is not accurate.
  • the device will obtain the user Purchase the historical food information of the food, then classify the historical food information according to breakfast, dinner and lunch to obtain three sets, and then determine the user's habitual food information corresponding to the three sets, so as to obtain the habitual food information and lunch corresponding to the breakfast
  • the user’s intake of each target component and calorie intake in a day is determined according to the three habitual food information, so that the intake of each target component and calorie intake can be determined according to the preset time and day.
  • the ratio, and the user’s intake of each target component and calorie intake within a day to determine the user’s intake of each target component and calorie intake within a preset time, and finally step S22-step S23 are performed to Generate user recommendations.
  • the food-based information pushing device determines the number of times the user has purchased food within a preset time, so as to compare the number of purchases with the target number of times corresponding to the preset time, and then according to different The comparison result adopts different methods to accurately generate the user's suggestion information.
  • the food-based information push device is highly intelligent and improves the user experience.
  • the present application also provides a food-based information pushing device.
  • the food-based information pushing device includes a processor, a memory, and a food-based information pushing program stored in the memory and running on the processor. When the food-based information pushing program is executed by the processor, each step of the food-based information pushing method described in the above embodiment is implemented.
  • the present application also provides a computer-readable storage medium that stores a food-based information push program, and when the food-based information push program is executed by a processor, the food-based information push program described in the above embodiment is implemented.
  • the various steps of the information push method are described in the above embodiment.
  • the method of the above embodiments can be implemented by means of software plus the necessary general hardware platform. Of course, it can also be implemented by hardware, but in many cases the former is better. ⁇
  • the technical solution of this application essentially or the part that contributes to the exemplary technology can be embodied in the form of a software product, and the computer software product is stored in a storage medium (such as ROM/RAM) as described above. , Magnetic disk, optical disk), including several instructions to make a terminal device (can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) execute the method described in each embodiment of the present application.

Landscapes

  • Health & Medical Sciences (AREA)
  • Business, Economics & Management (AREA)
  • Engineering & Computer Science (AREA)
  • Finance (AREA)
  • Accounting & Taxation (AREA)
  • Epidemiology (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Primary Health Care (AREA)
  • Public Health (AREA)
  • Nutrition Science (AREA)
  • Physical Education & Sports Medicine (AREA)
  • Biophysics (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Development Economics (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • Strategic Management (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Medical Treatment And Welfare Office Work (AREA)

Abstract

Disclosed are an information pushing method based on food. The information pushing method based on food comprises the following steps: acquiring food information corresponding to food purchased, within a pre-set time, by a user, wherein the food information comprises the type, components and calories of the food; and generating, according to the food information, suggestion information corresponding to the user, and pushing the suggestion information to a terminal associated with the user, wherein the suggestion information comprises diet suggestion information and exercise suggestion information. Further disclosed are an information pushing apparatus based on food, and a computer-readable storage medium.

Description

基于食物的信息推送方法、装置和计算机可读存储介质Food-based information pushing method, device and computer readable storage medium
相关申请Related application
本申请要求2019年05月21日申请的,申请号为201910427750.X,名称为“基于食物的信息推送方法、装置和计算机可读存储介质”的中国专利申请的优先权,在此将其全文引入作为参考。This application claims the priority of the Chinese patent application filed on May 21, 2019, the application number is 201910427750.X, and the name is "Food-based information push method, device and computer-readable storage medium". The full text is hereby Introduced as a reference.
技术领域Technical field
本申请涉及健康饮食技术领域,尤其涉及一种基于食物的信息推送方法、装置和计算机可读存储介质。This application relates to the technical field of healthy eating, in particular to a food-based information push method, device, and computer-readable storage medium.
背景技术Background technique
随着人们生活节奏的加快,人们动手做饭的时间越来越少,基本都是在外购买食物解决三餐问题。As the pace of people's lives accelerates, people have less and less time to cook, basically buying food out to solve the problem of three meals.
而在购买食物的时候,人们一般是基于自身的喜好进行购买的,从而会造成饮食不均衡,不利于身体健康。When buying food, people generally buy it based on their own preferences, which will cause an unbalanced diet, which is not conducive to health.
发明概述Summary of the invention
技术问题technical problem
问题的解决方案The solution to the problem
技术解决方案Technical solutions
本申请的主要目的在于提供一种基于食物的信息推送方法、装置和计算机可读存储介质,旨在解决饮食不健康,不利于身体健康的问题。The main purpose of this application is to provide a food-based information push method, device, and computer-readable storage medium, aiming to solve the problem of unhealthy diet and unhealthy health.
为实现上述目的,本申请提供的一种基于食物的信息推送方法,所述基于食物的信息推送方法包括以下步骤:In order to achieve the above-mentioned purpose, the present application provides a food-based information pushing method. The food-based information pushing method includes the following steps:
获取预设时间内用户购买的食物对应的食物信息,其中,所述食物信息包括食物种类、成分以及热量;Acquiring food information corresponding to the food purchased by the user within a preset time, where the food information includes food types, ingredients, and calories;
根据所述食物信息生成所述用户对应的建议信息,并向所述用户关联的终端推送所述建议信息,其中,所述建议信息包括饮食建议信息以及运动建议信息。The suggestion information corresponding to the user is generated according to the food information, and the suggestion information is pushed to the terminal associated with the user, where the suggestion information includes diet suggestion information and exercise suggestion information.
在一实施例中,所述根据所述食物信息生成所述用户对应的建议信息的步骤包 括:In an embodiment, the step of generating suggestion information corresponding to the user according to the food information includes:
根据所述食物信息确定所述用户在所述预设时间内中各个目标成分的摄取量以及热量的摄取量;Determine the intake of each target component and the intake of calories of the user within the preset time according to the food information;
获取各个所述目标成分对应的第一目标摄取量,以及所述热量对应的第二目标摄取量;Acquiring a first target intake corresponding to each of the target components and a second target intake corresponding to the calories;
根据所述目标成分的摄取量以及所述目标成分对应的第一目标摄取量生成所述饮食建议信息,并根据所述热量的摄取量以及所述热量对应的第二目标摄取量生成所述运动建议信息。The dietary advice information is generated based on the intake of the target component and the first target intake corresponding to the target component, and the exercise is generated based on the intake of calories and the second target intake corresponding to the calories Suggested information.
在一实施例中,所述获取各个所述目标成分对应的第一目标摄取量,以及所述热量对应的第二目标摄取量的步骤包括:In an embodiment, the step of obtaining the first target intake corresponding to each of the target components and the second target intake corresponding to the calories includes:
确定所述目标成分对应的第一预设摄取量以及所述热量对应的第二预设摄取量;Determining a first preset intake amount corresponding to the target component and a second preset intake amount corresponding to the calories;
根据所述预设时间对所述第一预设摄取量以及所述第二预设摄取量进行修正,以得到所述第一目标摄取量以及所述第二目标摄取量。Correcting the first preset intake amount and the second preset intake amount according to the preset time to obtain the first target intake amount and the second target intake amount.
在一实施例中,所述确定所述目标成分对应的第一预设摄取量以及所述热量对应的第二预设摄取量的步骤包括:In an embodiment, the step of determining the first preset intake corresponding to the target component and the second preset intake corresponding to the calories includes:
获取所述用户对应的用户信息,其中,所述用户信息包括年龄、性别、体重及/或身高;Acquiring user information corresponding to the user, where the user information includes age, gender, weight, and/or height;
根据所述用户信息确定所述用户所在的用户类型;Determining the user type of the user according to the user information;
将所述用户类型对应的目标成分的摄取量作为所述第一预设摄取量,并将所述用户类型对应的热量的摄取量作为所述第二预设摄取量。The intake of the target component corresponding to the user type is used as the first preset intake, and the intake of calories corresponding to the user type is used as the second preset intake.
在一实施例中,所述根据所述食物信息生成所述用户对应的建议信息的步骤包括:In an embodiment, the step of generating suggestion information corresponding to the user according to the food information includes:
确定所述用户在所述预设时间内食物的购买次数,并确定所述预设时间对于的目标次数;Determining the number of purchases of food by the user within the preset time, and determining the target number of times for the preset time;
在所述购买次数大于或等于目标次数时,执行所述根据所述食物信息确定所述用户在所述预设时间内中各个目标成分的摄取量以及热量的摄取量的步骤。When the number of purchases is greater than or equal to the target number of times, the step of determining the intake of each target component and the intake of calories of the user within the preset time according to the food information is performed.
在一实施例中,所述确定所述预设时间对于的目标次数的步骤之后,还包括:In an embodiment, after the step of determining the target number of times for the preset time, the method further includes:
在所述购买次数小于所述目标次数,获取所述用户的购买食物的各个历史食物信息;When the number of purchases is less than the target number of times, acquiring each historical food information of the food purchased by the user;
对各个所述历史食物信息按照早餐、晚餐、以及中餐进行分类,以得到各个集合;Classify each of the historical food information according to breakfast, dinner, and Chinese food to obtain each set;
根据各个所述集合中的所述历史食物信息,确定所述早餐、所述午餐以及所述晚餐对应的习惯食物信息;Determine the habitual food information corresponding to the breakfast, the lunch, and the dinner according to the historical food information in each of the collections;
根据各个所述习惯食物信息确定所述用户在所述预设时间内中各个目标成分的摄取量以及热量的摄取量,并执行所述获取各个所述目标成分对应的第一目标摄取量,以及所述热量对应的第二目标摄取量的步骤。Determine the intake of each target component and the intake of calories of the user within the preset time according to each of the habitual food information, and execute the acquisition of the first target intake corresponding to each of the target components, and The step of the second target intake corresponding to the calories.
在一实施例中,所述根据所述食物信息确定所述用户在所述预设时间内中各个目标成分的摄取量以及热量的摄取量的步骤之后,还包括:In an embodiment, after the step of determining the intake of each target component and the intake of calories of the user within the preset time according to the food information, the method further includes:
根据各个所述目标成分的摄取量以及所述热量的摄取量,生成所述用户在所述预设时间内对应的饮食报表;Generating a diet report corresponding to the user within the preset time according to the intake of each target component and the intake of calories;
向所述终端推送所述饮食报表。Push the diet report to the terminal.
在一实施例中,所述基于食物的信息推送方法,还包括:In an embodiment, the food-based information pushing method further includes:
拍摄所述用户购买的食物以得到食物图片,并获取所述食物对应的重量;Photographing the food purchased by the user to obtain a picture of the food, and obtaining the weight corresponding to the food;
确定所述食物的购买时间点,并根据所述食物图片以及所述重量确定所述食物对应的食物信息;Determining the time point of purchase of the food, and determining the food information corresponding to the food according to the food picture and the weight;
将所述食物信息、所述购买时间点以及所述用户关联并保存。The food information, the purchase time point, and the user are associated and saved.
为实现上述目的,本申请还提供一种基于食物的信息推送装置,所述基于食物的信息推送装置包括处理器、存储器以及存储在所述存储器并可在所述处理器运行的基于食物的信息推送程序,所述基于食物的信息推送程序被处理器执行时实现如上所述的基于食物的信息推送方法的各个步骤。In order to achieve the above objective, the present application also provides a food-based information push device. The food-based information push device includes a processor, a memory, and food-based information stored in the memory and running on the processor. A push program, which implements the steps of the food-based information push method as described above when the food-based information push program is executed by the processor.
为实现上述目的,本申请还提供一种计算机可读存储介质,所述计算机可读存储介质存储有基于食物的信息推送程序,所述基于食物的信息推送程序被处理器执行时实现如上所述的基于食物的信息推送方法的各个步骤。In order to achieve the above objective, the present application also provides a computer-readable storage medium that stores a food-based information push program, and when the food-based information push program is executed by a processor, the above The various steps of the food-based information push method.
本申请提供的基于食物的信息推送方法、装置和计算机可读存储介质,装置获取预设时间内用户购买的食物对应的食物信息,再根据食物信息生成用户对应 的饮食建议信息以及运动健康信息,最后将饮食建议信息以及运动建议信息发送至用户关联的终端,使得用户能够根据饮食建议信息调整自身的饮食习惯,并根据运动建议信息进行运动,进而消除饮食不均衡带来的身体不健康的情况,提高了用户体验。The food-based information push method, device, and computer-readable storage medium provided in the present application. The device obtains food information corresponding to the food purchased by the user within a preset time, and then generates the user's corresponding dietary advice information and sports health information according to the food information, Finally, the diet suggestion information and exercise suggestion information are sent to the user's associated terminal, so that the user can adjust their eating habits according to the diet suggestion information, and exercise according to the exercise suggestion information, thereby eliminating unhealthy conditions caused by unbalanced diet. Improve the user experience.
发明的有益效果The beneficial effects of the invention
对附图的简要说明Brief description of the drawings
附图说明Description of the drawings
为了更清楚地说明本申请实施例或示例性技术中的技术方案,下面将对实施例或示例性技术描述中所需要使用的附图作简单地介绍。In order to more clearly describe the technical solutions in the embodiments or exemplary technologies of the present application, the following will briefly introduce the accompanying drawings that need to be used in the description of the embodiments or exemplary technologies.
图1为本申请实施例涉及的基于食物的信息推送装置的硬件结构示意图;FIG. 1 is a schematic diagram of the hardware structure of a food-based information push device according to an embodiment of the application;
图2为本申请基于食物的信息推送方法的第一实施例的流程示意图;2 is a schematic flowchart of the first embodiment of the food-based information pushing method of this application;
图3为图2中步骤S30的细化流程示意图;FIG. 3 is a detailed flowchart of step S30 in FIG. 2;
图4为本申请基于食物的信息推送方法的第二实施例的流程示意图。FIG. 4 is a schematic flowchart of a second embodiment of the food-based information pushing method of this application.
本申请目的的实现、功能特点及优点将结合实施例,参照附图做进一步说明。The realization, functional characteristics, and advantages of the purpose of this application will be further described in conjunction with the embodiments and with reference to the accompanying drawings.
发明实施例Invention embodiment
本发明的实施方式Embodiments of the invention
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请的一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。The technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in this application, all other embodiments obtained by those of ordinary skill in the art without creative work fall within the protection scope of this application.
本申请实施例的主要解决方案是:根据所述食物信息确定所述用户在所述预设时间内中各个目标成分的摄取量以及热量的摄取量;获取各个所述目标成分对应的第一目标摄取量,以及所述热量对应的第二目标摄取量;根据所述目标成分的摄取量以及所述目标成分对应的第一目标摄取量生成所述饮食建议信息,并根据所述热量的摄取量以及所述热量对应的第二目标摄取量生成所述运动建议信息。The main solution of the embodiment of the present application is to determine the intake of each target component and the intake of calories of the user within the preset time according to the food information; obtain the first target corresponding to each target component Intake, and a second target intake corresponding to the calorie; generating the dietary advice information according to the intake of the target component and the first target intake corresponding to the target component, and according to the intake of the calorie And the second target intake corresponding to the calories generates the exercise recommendation information.
由于装置会根据用户购买的食物的食物信息生成饮食建议信息以及运动建议信 息,并将建议信息发送至用户关联的终端,使得用户能够根据饮食建议信息调整自身的饮食习惯,并根据运动建议信息进行运动,进而消除饮食不均衡带来的身体不健康的情况,提高了用户体验。Since the device generates dietary advice information and exercise advice information according to the food information of the food purchased by the user, and sends the advice information to the user's associated terminal, the user can adjust his eating habits according to the dietary advice information, and proceed according to the exercise advice information. Exercise to eliminate unhealthy conditions caused by unbalanced diet and improve user experience.
作为一种实现方案,基于食物的信息推送装置可以如图1所示。As an implementation scheme, the food-based information pushing device may be as shown in FIG. 1.
进一步的,参照图1,基于食物的信息推送装置包括:处理器101,例如CPU,存储器102,通信总线103。其中,通信总线103设置为实现这些组件之间的连接通信。Further, referring to FIG. 1, the food-based information pushing device includes: a processor 101, such as a CPU, a memory 102, and a communication bus 103. Wherein, the communication bus 103 is configured to realize connection and communication between these components.
存储器102可以是高速RAM存储器,也可以是稳定的存储器(non-volatilememory),例如磁盘存储器。如图1所示,作为一种计算机存储介质的存储器102中可以包括基于食物的信息推送程序;而处理器101可以设置为调用存储器102中存储的基于食物的信息推送程序,并执行以下操作:The memory 102 may be a high-speed RAM memory, or a stable memory (non-volatile memory), such as a magnetic disk memory. As shown in FIG. 1, the memory 102 as a computer storage medium may include a food-based information push program; and the processor 101 may be configured to call the food-based information push program stored in the memory 102 and perform the following operations:
获取预设时间内用户购买的食物对应的食物信息,其中,所述食物信息包括食物种类、成分以及热量;Acquiring food information corresponding to the food purchased by the user within a preset time, where the food information includes food types, ingredients, and calories;
根据所述食物信息生成所述用户对应的建议信息,并向所述用户关联的终端推送所述建议信息,其中,所述建议信息包括饮食建议信息以及运动建议信息。The suggestion information corresponding to the user is generated according to the food information, and the suggestion information is pushed to the terminal associated with the user, where the suggestion information includes diet suggestion information and exercise suggestion information.
在一实施例中,处理器101可以设置为调用存储器102中存储的基于食物的信息推送程序,并执行以下操作:In an embodiment, the processor 101 may be configured to call a food-based information push program stored in the memory 102 and perform the following operations:
根据所述食物信息确定所述用户在所述预设时间内中各个目标成分的摄取量以及热量的摄取量;Determine the intake of each target component and the intake of calories of the user within the preset time according to the food information;
获取各个所述目标成分对应的第一目标摄取量,以及所述热量对应的第二目标摄取量;Acquiring a first target intake corresponding to each of the target components and a second target intake corresponding to the calories;
根据所述目标成分的摄取量以及所述目标成分对应的第一目标摄取量生成所述饮食建议信息,并根据所述热量的摄取量以及所述热量对应的第二目标摄取量生成所述运动建议信息。The dietary advice information is generated based on the intake of the target component and the first target intake corresponding to the target component, and the exercise is generated based on the intake of calories and the second target intake corresponding to the calories Suggested information.
在一实施例中,处理器101可以设置为调用存储器102中存储的基于食物的信息推送程序,并执行以下操作:In an embodiment, the processor 101 may be configured to call a food-based information push program stored in the memory 102 and perform the following operations:
确定所述目标成分对应的第一预设摄取量以及所述热量对应的第二预设摄取量:Determine the first preset intake corresponding to the target component and the second preset intake corresponding to the calories:
根据所述预设时间对所述第一预设摄取量以及所述第二预设摄取量进行修正,以得到所述第一目标摄取量以及所述第二目标摄取量。Correcting the first preset intake amount and the second preset intake amount according to the preset time to obtain the first target intake amount and the second target intake amount.
在一实施例中,处理器101可以设置为调用存储器102中存储的基于食物的信息推送程序,并执行以下操作:In an embodiment, the processor 101 may be configured to call a food-based information push program stored in the memory 102 and perform the following operations:
获取所述用户对应的用户信息,其中,所述用户信息包括年龄、性别、体重及/或身高;Acquiring user information corresponding to the user, where the user information includes age, gender, weight, and/or height;
根据所述用户信息确定所述用户所在的用户类型;Determining the user type of the user according to the user information;
将所述用户类型对应的目标成分的摄取量作为所述第一预设摄取量,并将所述用户类型对应的热量的摄取量作为所述第二预设摄取量。The intake of the target component corresponding to the user type is used as the first preset intake, and the intake of calories corresponding to the user type is used as the second preset intake.
在一实施例中,处理器101可以设置为调用存储器102中存储的基于食物的信息推送程序,并执行以下操作:In an embodiment, the processor 101 may be configured to call a food-based information push program stored in the memory 102 and perform the following operations:
确定所述用户在所述预设时间内食物的购买次数,并确定所述预设时间对于的目标次数;Determining the number of purchases of food by the user within the preset time, and determining the target number of times for the preset time;
在所述购买次数大于或等于目标次数时,执行所述根据所述食物信息确定所述用户在所述预设时间内中各个目标成分的摄取量以及热量的摄取量的步骤。When the number of purchases is greater than or equal to the target number of times, the step of determining the intake of each target component and the intake of calories of the user within the preset time according to the food information is performed.
在一实施例中,处理器101可以设置为调用存储器102中存储的基于食物的信息推送程序,并执行以下操作:In an embodiment, the processor 101 may be configured to call a food-based information push program stored in the memory 102 and perform the following operations:
在所述购买次数小于所述目标次数,获取所述用户的购买食物的各个历史食物信息;When the number of purchases is less than the target number of times, acquiring each historical food information of the food purchased by the user;
对各个所述历史食物信息按照早餐、晚餐、以及中餐进行分类,以得到各个集合;Classify each of the historical food information according to breakfast, dinner, and Chinese food to obtain each set;
根据各个所述集合中的所述历史食物信息,确定所述早餐、所述午餐以及所述晚餐对应的习惯食物信息;Determine the habitual food information corresponding to the breakfast, the lunch, and the dinner according to the historical food information in each of the collections;
根据各个所述习惯食物信息确定所述用户在所述预设时间内中各个目标成分的摄取量以及热量的摄取量,并执行所述获取各个所述目标成分对应的第一目标摄取量,以及所述热量对应的第二目标摄取量的步骤。Determine the intake of each target component and the intake of calories of the user within the preset time according to each of the habitual food information, and execute the acquisition of the first target intake corresponding to each of the target components, and The step of the second target intake corresponding to the calories.
在一实施例中,处理器101可以设置为调用存储器102中存储的基于食物的信息推送程序,并执行以下操作:In an embodiment, the processor 101 may be configured to call a food-based information push program stored in the memory 102 and perform the following operations:
根据各个所述目标成分的摄取量以及所述热量的摄取量,生成所述用户在所述预设时间内对应的饮食报表;Generating a diet report corresponding to the user within the preset time according to the intake of each target component and the intake of calories;
向所述终端推送所述饮食报表。Push the diet report to the terminal.
在一实施例中,处理器101可以设置为调用存储器102中存储的基于食物的信息推送程序,并执行以下操作:In an embodiment, the processor 101 may be configured to call a food-based information push program stored in the memory 102 and perform the following operations:
拍摄所述用户购买的食物以得到食物图片,并获取所述食物对应的重量;Photographing the food purchased by the user to obtain a picture of the food, and obtaining the weight corresponding to the food;
确定所述食物的购买时间点,并根据所述食物图片以及所述重量确定所述食物对应的食物信息;Determining the time point of purchase of the food, and determining the food information corresponding to the food according to the food picture and the weight;
将所述食物信息、所述购买时间点以及所述用户关联并保存。The food information, the purchase time point, and the user are associated and saved.
本实施例根据上述方案,装置获取预设时间内用户购买的食物对应的食物信息,再根据食物信息生成用户对应的饮食建议信息以及运动健康信息,最后将饮食建议信息以及运动建议信息发送至用户关联的终端,使得用户能够根据饮食建议信息调整自身的饮食习惯,并根据运动建议信息进行运动,进而消除饮食不均衡带来的身体不健康的情况,提高了用户体验。In this embodiment, according to the above solution, the device obtains the food information corresponding to the food purchased by the user within a preset time, and then generates the diet suggestion information and exercise health information corresponding to the user according to the food information, and finally sends the diet suggestion information and exercise suggestion information to the user The associated terminal enables users to adjust their own eating habits according to dietary advice information, and exercise according to exercise advice information, thereby eliminating unhealthy conditions caused by unbalanced diet and improving user experience.
基于上述基于食物的信息推送装置的硬件构架,提出本申请基于食物的信息推送方法的实施例。Based on the hardware architecture of the aforementioned food-based information pushing device, an embodiment of the food-based information pushing method of the present application is proposed.
参照图2,图2为本申请基于食物的信息推送方法的第一实施例,所述基于食物的信息推送方法包括以下步骤:Referring to Fig. 2, Fig. 2 is a first embodiment of the food-based information pushing method of this application. The food-based information pushing method includes the following steps:
步骤S10,获取预设时间内用户购买的食物对应的食物信息,其中,所述食物信息包括食物种类、成分以及热量;Step S10: Obtain food information corresponding to the food purchased by the user within a preset time, where the food information includes food types, ingredients, and calories;
在本申请中,执行主体为基于食物的信息推送装置,该装置设有图像采集模块、重量传感器,图像采集模块可以是摄像头或者相机。In this application, the execution subject is a food-based information pushing device, which is provided with an image acquisition module and a weight sensor, and the image acquisition module may be a camera or a camera.
用户在购买食物后,可将食物放置在装置上,装置对食物进行拍摄得到食物图片,同时通过重量传感器获取该食物的重量,装置可以根据食物图片识别食物,从而确定食物的名称,以根据名称确定食物的种类;然后装置根据食物的种类以及重量来确定该食物的成分以及热量,成分可以是蛋白质、维生素、淡粉等微量元素、人体不可缺少的元素成分。确定食物的种类、成分以及热量后,可根据该食物的重量以及种类来计算食物的价格,并在用户支付该价格后,记 录用户的支付时间点,同时获取该用户的用户信息,用户信息包括用户的基本资料,比如名称、性别、年龄、体重、身高等,用户信息可通过应用程序注册并保存;装置再将用户信息、用户支付食物的价格、购买该食物的支付时间点、食物种类、食物成分、以及食物热量关联并保存。当然,装置在获得食物信息(食物信息包括食物种类、成分以及热量)后,可显示食物信息,或者将食物信息发送至用户终端,使得用户自行查看,此外,装置可以根据当前用户购买的食物的食物信息输出提示信息,比如,用户购买的食物的热量过高,可以生成食物热量过高的提示信息。After buying food, the user can place the food on the device, the device will take pictures of the food to get a picture of the food, and at the same time the weight of the food can be obtained through the weight sensor. The device can identify the food according to the food picture, thereby determining the name of the food according to the name Determine the type of food; then the device determines the composition and calories of the food according to the type and weight of the food. The composition can be trace elements such as protein, vitamins, and light powder, and elemental components indispensable to the human body. After determining the type, composition, and calories of the food, the price of the food can be calculated according to the weight and type of the food, and after the user pays the price, the user’s payment time is recorded and the user information of the user is obtained. The user information includes The user’s basic information, such as name, gender, age, weight, height, etc., can be registered and saved through the app; the device then stores the user information, the price the user pays for the food, the time of payment for the food, the type of food, Food ingredients and food calories are related and preserved. Of course, after obtaining the food information (the food information includes food types, ingredients, and calories), the device can display the food information or send the food information to the user terminal so that the user can view it by himself. In addition, the device can display the food information according to the current food purchased by the user. The food information outputs prompt information. For example, if the calorie of the food purchased by the user is too high, a prompt message that the calorie of the food is too high can be generated.
装置中存储有各个用户的购买食物的历史信息,装置可以根据历史信息来生成用户在预设时间内对应的建议信息,预设时间可以一周、一个月、一个季度任意的时间段,预设时间可以为用户设置,或者由装置自行确定,装置首先在存储的历史信息中获取预设时间内用户购买的食物对应的食物信息。The device stores the historical information of each user's food purchases. The device can generate the user's corresponding suggestion information within a preset time based on the historical information. The preset time can be any time period of a week, a month, or a quarter. The preset time It can be set for the user or determined by the device itself. The device first obtains the food information corresponding to the food purchased by the user within the preset time from the stored historical information.
步骤S20,根据所述食物信息生成所述用户对应的建议信息,并向所述用户关联的终端推送所述建议信息,其中,所述建议信息包括饮食建议信息以及运动建议信息。Step S20: Generate suggestion information corresponding to the user according to the food information, and push the suggestion information to a terminal associated with the user, where the suggestion information includes diet suggestion information and exercise suggestion information.
在装置获得用户在预设时间内的食物信息后,可以根据各个食物信息来生成用户的建议信息,具体的,请参照图3,即步骤S20中根据所述食物信息生成所述用户对应的建议信息的步骤包括:After the device obtains the user's food information within a preset time, the user's suggestion information can be generated according to each food information. Specifically, please refer to FIG. 3. That is, in step S20, the user's corresponding suggestion is generated according to the food information The information steps include:
步骤S21,根据所述食物信息确定所述用户在所述预设时间内中各个目标成分的摄取量以及热量的摄取量;Step S21, determining the intake of each target component and the intake of calories of the user within the preset time according to the food information;
步骤S22,获取各个所述目标成分对应的第一目标摄取量,以及所述热量对应的第二目标摄取量;Step S22, acquiring a first target intake corresponding to each of the target components and a second target intake corresponding to the calories;
步骤S23,根据所述目标成分的摄取量以及所述目标成分对应的第一目标摄取量生成所述饮食建议信息,并根据所述热量的摄取量以及所述热量对应的第二目标摄取量生成所述运动建议信息。Step S23, generating the dietary advice information according to the intake of the target component and the first target intake corresponding to the target component, and generating it based on the intake of calories and the second target intake corresponding to the calories The exercise suggestion information.
在本申请中,装置可确定食物的目标成分,目标成分可以是蛋白质、维生素、淀粉、氨基酸、脂肪等成分,当然,用户可以通过APP自行设置目标成分;在得到用户在预设时间内的食物信息后,由此,可以统计得到各个目标成分对应的 摄取量以及热量的摄取量。In this application, the device can determine the target ingredients of the food. The target ingredients can be proteins, vitamins, starches, amino acids, fats and other ingredients. Of course, the user can set the target ingredients through the APP; after getting the user’s food within a preset time After information, from this, the intake and calorie intake corresponding to each target component can be statistically obtained.
每一个目标成分对应有第一目标摄取量,且热量也含有对应的第二目标摄取量。具体的,目标成分设置有第一预设摄取量,第一预设摄取量为单位摄取量,单位可以是天、小时、周,而预设时间为用户设置,或者装置自行确定,此时,可以通过预设时间对第一预设摄取量进行修正,从而得到第一目标摄取量,例如,每天摄入蛋白质的量(第一预设摄取量)为80g,而预设时间为一周,那么蛋白质对应的第一目标摄取量=80g×7=560g。需要说明的是,第一预设摄取量可以根据用户信息来确定,具体的,装置获取该用户的用户信息,用户信息包括用户的年龄、性别、体重、身高等信息,装置可以根据用户信息确定该用户所在的用户类型,而每一种用户类型对应的目标成分的摄取量不同,因此,装置在确定用户所在的用户类型后,即可将用户类型对应的各个目标成分对应的摄取量作为各个目标成分对应的第一预设摄取量,例如,用户类型分为A、B、C三种,若当前用户属于B,则将B对应的目标成分的摄取量作为该目标成分对应的第一预设摄取量。Each target component corresponds to a first target intake, and calories also contain a corresponding second target intake. Specifically, the target component is set with a first preset intake amount, the first preset intake amount is the unit intake, and the unit may be days, hours, or weeks, and the preset time is set by the user or determined by the device. At this time, The first preset intake can be corrected by the preset time to obtain the first target intake. For example, the daily intake of protein (the first preset intake) is 80g, and the preset time is one week, then The first target intake corresponding to protein=80g×7=560g. It should be noted that the first preset intake amount can be determined according to user information. Specifically, the device obtains user information of the user. The user information includes the user's age, gender, weight, height, etc., and the device can determine it according to the user information. The user type of the user, and the intake of the target component corresponding to each user type is different. Therefore, after determining the user type of the user, the device can use the intake corresponding to each target component corresponding to the user type as each The first preset intake corresponding to the target component, for example, user types are divided into three types: A, B, and C. If the current user belongs to B, the intake of the target component corresponding to B is taken as the first preset corresponding to the target component. Set the intake.
热量对应的第二目标摄取量以及第二预设摄取量的确定方式可参照目标成分对应的第一目标摄取量以及第一预设摄取量的获取流程,在此不再一一赘述。The method for determining the second target intake corresponding to the calorie and the second preset intake may refer to the acquisition process of the first target intake and the first preset intake corresponding to the target component, which will not be repeated here.
装置通过对目标成分与该目标成分对应的第一目标摄取量进行减法运算,即可得知目标成分是否摄入过多或者过少(目标成分的摄入量减去目标成分对应的第一目标摄取量得到的差值小于第一预设差值,可判定该目标成分摄入过少;目标成分的摄入量减去目标成分对应的第一目标摄取量得到的差值大于第二预设差值,可判定该目标成分摄入过多),从而提出对该目标成分对应的饮食建议信息,例如,用户摄入的铁元素过少,则可生成多吃菠菜等含铁量丰富的食物的饮食建议信息,进一步的,可以根据折算出用户在下一个时间段内应该吃多少重量的菠菜;By subtracting the target component from the first target intake corresponding to the target component, the device can know whether the intake of the target component is too much or too little (the intake of the target component minus the first target corresponding to the target component) The difference between the intake amount is less than the first preset difference, and it can be judged that the target component is too low; the intake of the target ingredient minus the first target intake corresponding to the target ingredient is greater than the second preset The difference can be judged that the target component has been consumed too much), and the dietary advice information corresponding to the target component can be proposed. For example, if the user consumes too little iron, it can produce more iron-rich foods such as spinach Furthermore, you can calculate how much spinach the user should eat in the next period of time based on the dietary advice information;
此外,装置可以统计用户在该预设时间内的热量的摄取量,再通过对热量的摄取量以及热量对应的第二目标摄取量进行减法运算,即可得知热量是否摄入过多(热量的摄入量减去第二目标摄取量得到的差值大于第三预设差值,可判定热量摄入过多),在热量摄入过多则可生成运动建议信息,例如,可建议用户 进行跑步等有氧运动,以消耗摄入过多的热量。In addition, the device can count the user's calorie intake within the preset time, and then subtract the calorie intake and the second target intake corresponding to the calorie to know whether the calorie intake is excessive (calorie The difference obtained by subtracting the second target intake from the second target intake is greater than the third preset difference, and it can be judged that the calorie intake is too much). When the calorie intake is too much, exercise advice information can be generated, for example, the user can be advised Perform aerobic exercises such as running to consume excess calories.
当然,装置也可以根据目标成分的摄取量来确定运动建议信息,例如,用户在预设时间内摄入的维生素D过少,那么,可以建议用户多进行室外活动,以通过阳光合成维生素D。Of course, the device can also determine exercise advice information according to the intake of the target component. For example, if the user takes too little vitamin D within a preset time, the user can be advised to do more outdoor activities to synthesize vitamin D through sunlight.
可以理解的是,建议信息包括饮食建议信息以及运动建议信息,在装置生成建议信息后,即可将建议信息推送至用户终端。用户可以根据建议信息进行饮食调整以及进行运动,此外,装置可设置提示功能,在当用户处于进食时间时,装置可以根据饮食建议信息确定用户进食时的优选食物,优选食物可以根据用户的历史购买食物信息来确定,比如,用户有吃菠菜的记录,那么可以生成提示用户在购买食物时购买菠菜以补充铁元素的提示信息。此外,在室外空气质量良好,且气温适合时,装置可根据运动建议信息提示用户可进行跑步,打篮球等户外活动。It is understandable that the advice information includes diet advice information and exercise advice information. After the device generates the advice information, the advice information can be pushed to the user terminal. The user can adjust diet and exercise according to the suggested information. In addition, the device can be equipped with a reminder function. When the user is eating time, the device can determine the user's preferred food when eating according to the diet suggestion information. The preferred food can be purchased according to the user's history The food information is determined. For example, if the user has a record of eating spinach, then a prompt message can be generated to prompt the user to purchase spinach to supplement iron when buying food. In addition, when the outdoor air quality is good and the temperature is suitable, the device can prompt the user to perform outdoor activities such as running and playing basketball according to the exercise recommendation information.
需要说明的是,在当装置统计各个目标成分的摄取量以及热量的摄取量后,即可生成用户在预设时间内对应的饮食报表,饮食报表中含有用户在该预设时间内对各个目标成分的摄入量以及热量的摄入量,装置再将该饮食报表推送至用户关联的终端。It should be noted that after the device counts the intake of each target component and calorie intake, it can generate the user's corresponding diet report within a preset time. The diet report contains the user's response to each target within the preset time. For the intake of ingredients and calorie intake, the device then pushes the diet report to the terminal associated with the user.
在本实施例提供的技术方案中,装置获取预设时间内用户购买的食物对应的食物信息,再根据食物信息生成用户对应的饮食建议信息以及运动健康信息,最后将饮食建议信息以及运动建议信息发送至用户关联的终端,使得用户能够根据饮食建议信息调整自身的饮食习惯,并根据运动建议信息进行运动,进而消除饮食不均衡带来的身体不健康的情况,提高了用户体验。In the technical solution provided in this embodiment, the device obtains the food information corresponding to the food purchased by the user within a preset time, and then generates the diet advice information and exercise health information corresponding to the user according to the food information, and finally combines the diet advice information and exercise advice information Send to the user's associated terminal, so that the user can adjust their own eating habits according to the diet advice information, and exercise according to the exercise advice information, thereby eliminating the unhealthy condition caused by the unbalanced diet and improving the user experience.
参照图4,图4为本申请基于食物的信息推送方法的第二实施例,基于第一实施例,所述步骤S10之后,还包括:4, FIG. 4 is a second embodiment of the food-based information pushing method of this application. Based on the first embodiment, after the step S10, the method further includes:
步骤S30,确定所述用户在所述预设时间内食物的购买次数,并确定所述预设时间对于的目标次数;Step S30: Determine the number of purchases of food by the user within the preset time, and determine the target number of times for the preset time;
步骤S40,在所述购买次数大于或等于目标次数时,执行所述根据所述食物信息确定所述用户在所述预设时间内中各个目标成分的摄取量以及热量的摄取量的步骤。Step S40: When the number of purchases is greater than or equal to the target number of times, the step of determining the intake of each target component and the intake of calories of the user within the preset time is performed according to the food information.
步骤S50,在所述购买次数小于所述目标次数,获取所述用户的购买食物的各个历史食物信息;Step S50, when the number of purchases is less than the target number of times, obtain each historical food information of the food purchased by the user;
步骤S60,对各个所述历史食物信息按照早餐、晚餐、以及中餐进行分类,以得到各个集合;Step S60, classify each of the historical food information according to breakfast, dinner, and Chinese food to obtain each set;
步骤S70,根据各个所述集合中的所述历史食物信息,确定所述早餐、所述午餐以及所述晚餐对应的习惯食物信息;Step S70: Determine the habitual food information corresponding to the breakfast, the lunch, and the dinner according to the historical food information in each of the sets;
步骤S80,根据各个所述习惯食物信息确定所述用户在所述预设时间内中各个目标成分的摄取量以及热量的摄取量,并执行所述获取各个所述目标成分对应的第一目标摄取量,以及所述热量对应的第二目标摄取量的步骤。Step S80: Determine the intake of each target component and the intake of calories of the user within the preset time according to each of the habitual food information, and execute the obtaining of the first target intake corresponding to each of the target components And the second target intake corresponding to the calories.
在本实施例中,用户的一日三餐不一定全部在同一店铺解决,用户可以去其它店铺进餐,去朋友家吃饭,或者自行做饭,若是用户在预设时间内在装置所在店铺的食物的购买次数较少时,那么装置生成的建议信息并不很准确。对此,在设置预设时间时,会对该预设时间设置对应的目标次数,目标次数的多少与预设时间的长短有关,例如,预设时间设置为一天,那么目标次数为2次,在预设时间为一周,那么可将目标次数设置为18次。In this embodiment, the user’s three meals a day may not all be settled in the same store. The user can go to other stores to eat, go to a friend’s house, or cook by himself. If the user’s food in the store where the device is located within the preset time When the number of purchases is small, the recommendation information generated by the device is not very accurate. In this regard, when setting the preset time, the corresponding target number of times will be set for the preset time. The number of target times is related to the length of the preset time. For example, if the preset time is set to one day, then the target number of times is 2. If the preset time is one week, the target number of times can be set to 18.
装置在预设时间内获得用户购买食物的食物信息后,可进一步获取用户在该预设时间内食物的购买次数,若是购买次数大于或等于目标次数,装置可判定根据食物信息生成建议信息较为准确,那么可以根据食物信息来生成建议信息,也即装置执行步骤S21-步骤23;而在当购买次数小于目标次数时,则根据食物信息生成的建议信息并不准确,对此,装置会获取用户购买食物的历史食物信息,再将历史食物信息按照早餐、晚餐以及中餐进行分类,得到三个集合,然后确定三个集合中用户对应的习惯食物信息,从而获取的早餐对应的习惯食物信息、午餐对应的习惯食物信息以及晚餐对应的食物信息,由此再根据三个习惯食物信息来确定用户在一天之内中各个目标成分的摄取量以及热量的摄取量,从而可以根据预设时间与天的比值、以及用户在一天之内中各个目标成分的摄取量以及热量的摄取量,来确定用户在预设时间内各个目标成分的摄取量以及热量的摄取量,最后执行步骤S22-步骤S23,以生成用户的建议信息。After the device obtains the food information of the food purchased by the user within the preset time, it can further obtain the number of times the user purchases the food within the preset time. If the number of purchases is greater than or equal to the target number of times, the device can determine that the recommendation information generated based on the food information is more accurate , Then the suggestion information can be generated based on the food information, that is, the device executes steps S21 to 23; and when the number of purchases is less than the target number of times, the suggestion information generated based on the food information is not accurate. For this, the device will obtain the user Purchase the historical food information of the food, then classify the historical food information according to breakfast, dinner and lunch to obtain three sets, and then determine the user's habitual food information corresponding to the three sets, so as to obtain the habitual food information and lunch corresponding to the breakfast According to the corresponding habitual food information and the food information corresponding to the dinner, the user’s intake of each target component and calorie intake in a day is determined according to the three habitual food information, so that the intake of each target component and calorie intake can be determined according to the preset time and day. The ratio, and the user’s intake of each target component and calorie intake within a day to determine the user’s intake of each target component and calorie intake within a preset time, and finally step S22-step S23 are performed to Generate user recommendations.
在本实施例中,基于食物的信息推送装置在获取食物信息后,确定用户在预设 时间内食物的购买次数,从而根据购买次数与预设时间对应的目标次数进行比对,进而根据不同的比对结果采用不同的方式,准确的生成用户的建议信息,基于食物的信息推送装置智能化程度高,且提高了用户体验。In this embodiment, after obtaining the food information, the food-based information pushing device determines the number of times the user has purchased food within a preset time, so as to compare the number of purchases with the target number of times corresponding to the preset time, and then according to different The comparison result adopts different methods to accurately generate the user's suggestion information. The food-based information push device is highly intelligent and improves the user experience.
本申请还提供一种基于食物的信息推送装置,所述基于食物的信息推送装置包括处理器、存储器以及存储在所述存储器并可在所述处理器运行的基于食物的信息推送程序,所述基于食物的信息推送程序被处理器执行时实现如上实施例所述的基于食物的信息推送方法的各个步骤。The present application also provides a food-based information pushing device. The food-based information pushing device includes a processor, a memory, and a food-based information pushing program stored in the memory and running on the processor. When the food-based information pushing program is executed by the processor, each step of the food-based information pushing method described in the above embodiment is implemented.
本申请还提供一种计算机可读存储介质,所述计算机可读存储介质存储有基于食物的信息推送程序,所述基于食物的信息推送程序被处理器执行时实现如上实施例所述的基于食物的信息推送方法的各个步骤。The present application also provides a computer-readable storage medium that stores a food-based information push program, and when the food-based information push program is executed by a processor, the food-based information push program described in the above embodiment is implemented. The various steps of the information push method.
上述本申请实施例序号仅仅为了描述,不代表实施例的优劣。The serial numbers of the foregoing embodiments of the present application are only for description, and do not represent the advantages and disadvantages of the embodiments.
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个......”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。It should be noted that in this article, the terms "include", "include" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements not only includes those elements, It also includes other elements not explicitly listed, or elements inherent to the process, method, article, or device. Without more restrictions, the element defined by the sentence "including a..." does not exclude the existence of other identical elements in the process, method, article, or device that includes the element.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对示例性技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在如上所述的一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本申请各个实施例所述的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the method of the above embodiments can be implemented by means of software plus the necessary general hardware platform. Of course, it can also be implemented by hardware, but in many cases the former is better.的实施方式。 Based on this understanding, the technical solution of this application essentially or the part that contributes to the exemplary technology can be embodied in the form of a software product, and the computer software product is stored in a storage medium (such as ROM/RAM) as described above. , Magnetic disk, optical disk), including several instructions to make a terminal device (can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) execute the method described in each embodiment of the present application.
以上仅为本申请的可选实施例,并非因此限制本申请的专利范围,凡是利用本申请说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本申请的专利保护范围内。The above are only optional embodiments of this application, and do not limit the scope of this application. Any equivalent structure or equivalent process transformation made by using the description and drawings of this application, or directly or indirectly applied to other related technologies In the same way, all fields are included in the scope of patent protection of this application.

Claims (20)

  1. 一种基于食物的信息推送方法,其中,所述基于食物的信息推送方法包括以下步骤:A food-based information push method, wherein the food-based information push method includes the following steps:
    获取预设时间内用户购买的食物对应的食物信息,其中,所述食物信息包括食物种类、成分以及热量;Acquiring food information corresponding to the food purchased by the user within a preset time, where the food information includes food types, ingredients, and calories;
    根据所述食物信息生成所述用户对应的建议信息,并向所述用户关联的终端推送所述建议信息,其中,所述建议信息包括饮食建议信息以及运动建议信息。The suggestion information corresponding to the user is generated according to the food information, and the suggestion information is pushed to the terminal associated with the user, where the suggestion information includes diet suggestion information and exercise suggestion information.
  2. 如权利要求1所述的基于食物的信息推送方法,其中,所述根据所述食物信息生成所述用户对应的建议信息的步骤包括:5. The food-based information push method of claim 1, wherein the step of generating the user's corresponding suggestion information according to the food information comprises:
    根据所述食物信息确定所述用户在所述预设时间内中各个目标成分的摄取量以及热量的摄取量;Determine the intake of each target component and the intake of calories of the user within the preset time according to the food information;
    获取各个所述目标成分对应的第一目标摄取量,以及所述热量对应的第二目标摄取量;Acquiring a first target intake corresponding to each of the target components and a second target intake corresponding to the calories;
    根据所述目标成分的摄取量以及所述目标成分对应的第一目标摄取量生成所述饮食建议信息,并根据所述热量的摄取量以及所述热量对应的第二目标摄取量生成所述运动建议信息。The dietary advice information is generated based on the intake of the target component and the first target intake corresponding to the target component, and the exercise is generated based on the intake of calories and the second target intake corresponding to the calories Suggested information.
  3. 如权利要求2所述的基于食物的信息推送方法,其中,所述获取各个所述目标成分对应的第一目标摄取量,以及所述热量对应的第二目标摄取量的步骤包括:3. The food-based information push method according to claim 2, wherein the step of obtaining the first target intake corresponding to each of the target components and the second target intake corresponding to the calories comprises:
    确定所述目标成分对应的第一预设摄取量以及所述热量对应的第二预设摄取量;Determining a first preset intake amount corresponding to the target component and a second preset intake amount corresponding to the calories;
    根据所述预设时间对所述第一预设摄取量以及所述第二预设摄取量进行修正,以得到所述第一目标摄取量以及所述第二目标摄取量。Correcting the first preset intake amount and the second preset intake amount according to the preset time to obtain the first target intake amount and the second target intake amount.
  4. 如权利要求3所述的基于食物的信息推送方法,其中,所述确定所述目标成分对应的第一预设摄取量以及所述热量对应的第二预设摄取量的步骤包括:3. The food-based information push method according to claim 3, wherein the step of determining the first preset intake corresponding to the target component and the second preset intake corresponding to the calories comprises:
    获取所述用户对应的用户信息,其中,所述用户信息包括年龄、性别、体重及/或身高;Acquiring user information corresponding to the user, where the user information includes age, gender, weight, and/or height;
    根据所述用户信息确定所述用户所在的用户类型;Determining the user type of the user according to the user information;
    将所述用户类型对应的目标成分的摄取量作为所述第一预设摄取量,并将所述用户类型对应的热量的摄取量作为所述第二预设摄取量。The intake of the target component corresponding to the user type is used as the first preset intake, and the intake of calories corresponding to the user type is used as the second preset intake.
  5. 如权利要求2所述的基于食物的信息推送方法,其中,所述根据所述食物信息生成所述用户对应的建议信息的步骤包括:3. The food-based information pushing method of claim 2, wherein the step of generating the user's corresponding suggestion information according to the food information comprises:
    确定所述用户在所述预设时间内食物的购买次数,并确定所述预设时间对应的目标次数;Determining the number of times the user purchases food within the preset time, and determining the target number of times corresponding to the preset time;
    在所述购买次数大于或等于目标次数,执行所述根据所述食物信息确定所述用户在所述预设时间内中各个目标成分的摄取量以及热量的摄取量的步骤。When the number of purchases is greater than or equal to the target number of times, the step of determining the intake of each target component and the intake of calories of the user within the preset time according to the food information is performed.
  6. 如权利要求5所述的基于食物的信息推送方法,其中,所述确定所述预设时间对应的目标次数的步骤之后,还包括:5. The food-based information pushing method according to claim 5, wherein after the step of determining the target number of times corresponding to the preset time, the method further comprises:
    在所述购买次数小于所述目标次数,获取所述用户的购买食物的各个历史食物信息;When the number of purchases is less than the target number of times, acquiring each historical food information of the food purchased by the user;
    对各个所述历史食物信息按照早餐、晚餐、以及中餐进行分类,以得到各个集合;Classify each of the historical food information according to breakfast, dinner, and Chinese food to obtain each set;
    根据各个所述集合中的所述历史食物信息,确定所述早餐、所述午餐以及所述晚餐对应的习惯食物信息;Determine the habitual food information corresponding to the breakfast, the lunch, and the dinner according to the historical food information in each of the collections;
    根据各个所述习惯食物信息确定所述用户在所述预设时间内中各个目标成分的摄取量以及热量的摄取量,并执行所述获取各个所述目标成分对应的第一目标摄取量,以及所述热量对应的第二目标摄取量的步骤。Determine the intake of each target component and the intake of calories of the user within the preset time according to each of the habitual food information, and execute the acquisition of the first target intake corresponding to each of the target components, and The step of the second target intake corresponding to the calories.
  7. 如权利要求5所述的基于食物的信息推送方法,其中,所述确定所述预设时间对应的目标次数的步骤包括:8. The food-based information pushing method according to claim 5, wherein the step of determining the target number of times corresponding to the preset time comprises:
    根据所述预设时间对应的时长确定所述目标次数。The target number of times is determined according to the duration corresponding to the preset time.
  8. 如权利要求2所述的基于食物的信息推送方法,其中,所述根据所述食物信息确定所述用户在所述预设时间内中各个目标成分的摄取量以及热量的摄取量的步骤之后,还包括:3. The food-based information push method according to claim 2, wherein after the step of determining the intake of each target component and the intake of calories of the user within the preset time according to the food information, Also includes:
    根据各个所述目标成分的摄取量以及所述热量的摄取量,生成所述用户在所述预设时间内对应的饮食报表;Generating a diet report corresponding to the user within the preset time according to the intake of each target component and the intake of calories;
    向所述终端推送所述饮食报表。Push the diet report to the terminal.
  9. 如权利要求1所述的基于食物的信息推送方法,其中,所述基于食物的信息推送方法,还包括:3. The food-based information pushing method of claim 1, wherein the food-based information pushing method further comprises:
    拍摄所述用户购买的食物以得到食物图片,并获取所述食物对应的重量;Photographing the food purchased by the user to obtain a picture of the food, and obtaining the weight corresponding to the food;
    确定所述食物的购买时间点,并根据所述食物图片以及所述重量确定所述食物对应的食物信息;Determining the time point of purchase of the food, and determining the food information corresponding to the food according to the food picture and the weight;
    将所述食物信息、所述购买时间点以及所述用户关联并保存。The food information, the purchase time point, and the user are associated and saved.
  10. 一种基于食物的信息推送装置,其中,所述基于食物的信息推送装置包括处理器、存储器以及存储在所述存储器并可在所述处理器运行的基于食物的信息推送程序,所述基于食物的信息推送程序被处理器执行时实现如下步骤:A food-based information pushing device, wherein the food-based information pushing device includes a processor, a memory, and a food-based information pushing program stored in the memory and running on the processor. When the information push program is executed by the processor, the following steps are implemented:
    获取预设时间内用户购买的食物对应的食物信息,其中,所述食物信息包括食物种类、成分以及热量;Acquiring food information corresponding to the food purchased by the user within a preset time, where the food information includes food types, ingredients, and calories;
    根据所述食物信息生成所述用户对应的建议信息,并向所述用户关联的终端推送所述建议信息,其中,所述建议信息包括饮食建议信息以及运动建议信息。The suggestion information corresponding to the user is generated according to the food information, and the suggestion information is pushed to the terminal associated with the user, where the suggestion information includes diet suggestion information and exercise suggestion information.
  11. 如权利要求10所述的基于食物的信息推送装置,其中,所述基于食物的信息推送程序被处理器执行时实现如下步骤:10. The food-based information pushing device according to claim 10, wherein the following steps are implemented when the food-based information pushing program is executed by the processor:
    根据所述食物信息确定所述用户在所述预设时间内中各个目标成分的摄取量以及热量的摄取量;Determine the intake of each target component and the intake of calories of the user within the preset time according to the food information;
    获取各个所述目标成分对应的第一目标摄取量,以及所述热量对应的第二目标摄取量;Acquiring a first target intake corresponding to each of the target components and a second target intake corresponding to the calories;
    根据所述目标成分的摄取量以及所述目标成分对应的第一目标摄取量生成所述饮食建议信息,并根据所述热量的摄取量以及所述热量对应的第二目标摄取量生成所述运动建议信息。The dietary advice information is generated based on the intake of the target component and the first target intake corresponding to the target component, and the exercise is generated based on the intake of calories and the second target intake corresponding to the calories Suggested information.
  12. 如权利要求11所述的基于食物的信息推送装置,其中,所述基于食物的信息推送程序被处理器执行时实现如下步骤:11. The food-based information pushing device of claim 11, wherein the following steps are implemented when the food-based information pushing program is executed by the processor:
    确定所述目标成分对应的第一预设摄取量以及所述热量对应的第二预设摄取量;Determining a first preset intake amount corresponding to the target component and a second preset intake amount corresponding to the calories;
    根据所述预设时间对所述第一预设摄取量以及所述第二预设摄取量进行修正,以得到所述第一目标摄取量以及所述第二目标摄取量。Correcting the first preset intake amount and the second preset intake amount according to the preset time to obtain the first target intake amount and the second target intake amount.
  13. 如权利要求12所述的基于食物的信息推送装置,其中,所述基于食物的信息推送程序被处理器执行时实现如下步骤:The food-based information pushing device according to claim 12, wherein the following steps are implemented when the food-based information pushing program is executed by the processor:
    获取所述用户对应的用户信息,其中,所述用户信息包括年龄、性别、体重及/或身高;Acquiring user information corresponding to the user, where the user information includes age, gender, weight, and/or height;
    根据所述用户信息确定所述用户所在的用户类型;Determining the user type of the user according to the user information;
    将所述用户类型对应的目标成分的摄取量作为所述第一预设摄取量,并将所述用户类型对应的热量的摄取量作为所述第二预设摄取量。The intake of the target component corresponding to the user type is used as the first preset intake, and the intake of calories corresponding to the user type is used as the second preset intake.
  14. 如权利要求11所述的基于食物的信息推送装置,其中,所述基于食物的信息推送程序被处理器执行时实现如下步骤:11. The food-based information pushing device of claim 11, wherein the following steps are implemented when the food-based information pushing program is executed by the processor:
    确定所述用户在所述预设时间内食物的购买次数,并确定所述预设时间对应的目标次数;Determining the number of times the user purchases food within the preset time, and determining the target number of times corresponding to the preset time;
    在所述购买次数大于或等于目标次数,执行所述根据所述食物信息确定所述用户在所述预设时间内中各个目标成分的摄取量以及热量的摄取量的步骤。When the number of purchases is greater than or equal to the target number of times, the step of determining the intake of each target component and the intake of calories of the user within the preset time according to the food information is performed.
  15. 如权利要求14所述的基于食物的信息推送装置,其中,所述基于食物的信息推送程序被处理器执行时实现如下步骤:The food-based information pushing device according to claim 14, wherein the following steps are implemented when the food-based information pushing program is executed by the processor:
    在所述购买次数小于所述目标次数,获取所述用户的购买食物的 各个历史食物信息;When the number of purchases is less than the target number of times, acquiring each historical food information of the food purchased by the user;
    对各个所述历史食物信息按照早餐、晚餐、以及中餐进行分类,以得到各个集合;Classify each of the historical food information according to breakfast, dinner, and Chinese food to obtain each set;
    根据各个所述集合中的所述历史食物信息,确定所述早餐、所述午餐以及所述晚餐对应的习惯食物信息;Determine the habitual food information corresponding to the breakfast, the lunch, and the dinner according to the historical food information in each of the collections;
    根据各个所述习惯食物信息确定所述用户在所述预设时间内中各个目标成分的摄取量以及热量的摄取量,并执行所述获取各个所述目标成分对应的第一目标摄取量,以及所述热量对应的第二目标摄取量的步骤。Determine the intake of each target component and the intake of calories of the user within the preset time according to each of the habitual food information, and execute the acquisition of the first target intake corresponding to each of the target components, and The step of the second target intake corresponding to the calories.
  16. 一种计算机可读存储介质,其中,所述计算机可读存储介质存储有基于食物的信息推送程序,所述基于食物的信息推送程序被处理器执行时实现如下步骤:A computer-readable storage medium, wherein the computer-readable storage medium stores a food-based information push program, and when the food-based information push program is executed by a processor, the following steps are implemented:
    获取预设时间内用户购买的食物对应的食物信息,其中,所述食物信息包括食物种类、成分以及热量;Acquiring food information corresponding to the food purchased by the user within a preset time, where the food information includes food types, ingredients, and calories;
    根据所述食物信息生成所述用户对应的建议信息,并向所述用户关联的终端推送所述建议信息,其中,所述建议信息包括饮食建议信息以及运动建议信息。The suggestion information corresponding to the user is generated according to the food information, and the suggestion information is pushed to the terminal associated with the user, where the suggestion information includes diet suggestion information and exercise suggestion information.
  17. 如权利要求16所述的计算机可读存储介质,其中,所述基于食物的信息推送程序被处理器执行时实现如下步骤:15. The computer-readable storage medium of claim 16, wherein the following steps are implemented when the food-based information push program is executed by the processor:
    根据所述食物信息确定所述用户在所述预设时间内中各个目标成分的摄取量以及热量的摄取量;Determine the intake of each target component and the intake of calories of the user within the preset time according to the food information;
    获取各个所述目标成分对应的第一目标摄取量,以及所述热量对应的第二目标摄取量;Acquiring a first target intake corresponding to each of the target components and a second target intake corresponding to the calories;
    根据所述目标成分的摄取量以及所述目标成分对应的第一目标摄取量生成所述饮食建议信息,并根据所述热量的摄取量以及所述热量对应的第二目标摄取量生成所述运动建议信息。The dietary advice information is generated based on the intake of the target component and the first target intake corresponding to the target component, and the exercise is generated based on the intake of calories and the second target intake corresponding to the calories Suggested information.
  18. 如权利要求17所述的计算机可读存储介质,其中,所述基于食物的信息推送程序被处理器执行时实现如下步骤:17. The computer-readable storage medium of claim 17, wherein the following steps are implemented when the food-based information push program is executed by the processor:
    确定所述目标成分对应的第一预设摄取量以及所述热量对应的第二预设摄取量;Determining a first preset intake amount corresponding to the target component and a second preset intake amount corresponding to the calories;
    根据所述预设时间对所述第一预设摄取量以及所述第二预设摄取量进行修正,以得到所述第一目标摄取量以及所述第二目标摄取量。Correcting the first preset intake amount and the second preset intake amount according to the preset time to obtain the first target intake amount and the second target intake amount.
  19. 如权利要求18所述的计算机可读存储介质,其中,所述基于食物的信息推送程序被处理器执行时实现如下步骤:18. The computer-readable storage medium of claim 18, wherein the following steps are implemented when the food-based information push program is executed by the processor:
    获取所述用户对应的用户信息,其中,所述用户信息包括年龄、性别、体重及/或身高;Acquiring user information corresponding to the user, where the user information includes age, gender, weight, and/or height;
    根据所述用户信息确定所述用户所在的用户类型;Determining the user type of the user according to the user information;
    将所述用户类型对应的目标成分的摄取量作为所述第一预设摄取量,并将所述用户类型对应的热量的摄取量作为所述第二预设摄取量。The intake of the target component corresponding to the user type is used as the first preset intake, and the intake of calories corresponding to the user type is used as the second preset intake.
  20. 如权利要求17所述的计算机可读存储介质,其中,所述基于食物的信息推送程序被处理器执行时实现如下步骤:17. The computer-readable storage medium of claim 17, wherein the following steps are implemented when the food-based information push program is executed by the processor:
    确定所述用户在所述预设时间内食物的购买次数,并确定所述预设时间对应的目标次数;Determining the number of times the user purchases food within the preset time, and determining the target number of times corresponding to the preset time;
    在所述购买次数大于或等于目标次数,执行所述根据所述食物信息确定所述用户在所述预设时间内中各个目标成分的摄取量以及热量的摄取量的步骤。When the number of purchases is greater than or equal to the target number of times, the step of determining the intake of each target component and the intake of calories of the user within the preset time according to the food information is performed.
PCT/CN2020/091217 2019-05-21 2020-05-20 Information pushing method and apparatus based on food, and computer-readable storage medium WO2020233587A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201910427750.XA CN110264307A (en) 2019-05-21 2019-05-21 Information-pushing method, device and computer readable storage medium based on food
CN201910427750.X 2019-05-21

Publications (1)

Publication Number Publication Date
WO2020233587A1 true WO2020233587A1 (en) 2020-11-26

Family

ID=67914991

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/091217 WO2020233587A1 (en) 2019-05-21 2020-05-20 Information pushing method and apparatus based on food, and computer-readable storage medium

Country Status (2)

Country Link
CN (1) CN110264307A (en)
WO (1) WO2020233587A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110264307A (en) * 2019-05-21 2019-09-20 深圳市梵高控股有限公司 Information-pushing method, device and computer readable storage medium based on food
CN110866812A (en) * 2019-11-22 2020-03-06 四川省申氏泽涵食品有限公司 Food online shopping method and control system based on BMS protocol management mode

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104794660A (en) * 2014-01-20 2015-07-22 ***通信集团公司 Electronic ordering method, ordering server and electronic ordering system
US20160275484A1 (en) * 2007-05-11 2016-09-22 Sk Planet Co., Ltd. Method and system for ordering food by using rfid
CN106548380A (en) * 2016-11-25 2017-03-29 上海巨昂实业有限公司 The method and apparatus of Data acquisition and issuance
CN108630298A (en) * 2018-05-09 2018-10-09 南京邮电大学 Healthy diet management method and system, computer readable storage medium, terminal
CN108932651A (en) * 2018-05-28 2018-12-04 口碑(上海)信息技术有限公司 Order supervision and handling method and device
CN110264307A (en) * 2019-05-21 2019-09-20 深圳市梵高控股有限公司 Information-pushing method, device and computer readable storage medium based on food

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB2498710A (en) * 2012-01-17 2013-07-31 Wan-Ting Lee Providing healthy diet advice based on calories
CN105809598A (en) * 2016-03-10 2016-07-27 青岛海尔智能家电科技有限公司 Dietary intake management method, device and cloud platform
CN106250673A (en) * 2016-07-20 2016-12-21 美的集团股份有限公司 A kind of dietary recommendations continued and evaluation methodology, intelligent terminal, Cloud Server and system
CN107871532A (en) * 2017-10-17 2018-04-03 珠海格力电器股份有限公司 A kind of healthy diet management system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160275484A1 (en) * 2007-05-11 2016-09-22 Sk Planet Co., Ltd. Method and system for ordering food by using rfid
CN104794660A (en) * 2014-01-20 2015-07-22 ***通信集团公司 Electronic ordering method, ordering server and electronic ordering system
CN106548380A (en) * 2016-11-25 2017-03-29 上海巨昂实业有限公司 The method and apparatus of Data acquisition and issuance
CN108630298A (en) * 2018-05-09 2018-10-09 南京邮电大学 Healthy diet management method and system, computer readable storage medium, terminal
CN108932651A (en) * 2018-05-28 2018-12-04 口碑(上海)信息技术有限公司 Order supervision and handling method and device
CN110264307A (en) * 2019-05-21 2019-09-20 深圳市梵高控股有限公司 Information-pushing method, device and computer readable storage medium based on food

Also Published As

Publication number Publication date
CN110264307A (en) 2019-09-20

Similar Documents

Publication Publication Date Title
Alansari et al. Adult perceptions of different orthodontic appliances
US20180144831A1 (en) Real-time or just-in-time online assistance for individuals to help them in achieving personalized health goals
WO2020233587A1 (en) Information pushing method and apparatus based on food, and computer-readable storage medium
US20200074524A1 (en) Network computing system for providing interactive menus and group recommendations
US9792700B2 (en) Method and device for processing virtual fitting model image
US20180211723A1 (en) Personalized nutritional and metabolic modification system
CN105205769A (en) Data mining method based on intelligent canteen catering system
CN108303911A (en) Intelligent electric cooker, the cooking instruction recommendation method of intelligent electric cooker and medium
CN107480458A (en) Fitness program commending system and its method based on stature change identification
US20220022778A1 (en) System and methods for providing personalized workout and diet plans
CN111063428A (en) Interaction method and device for intelligent medicine box and user terminal
KR20190073042A (en) Device and method of providing health care service based on collecting user’s health habit information
KR102330705B1 (en) Personalized management application stored in recording medium and system for health care including the same
US20160364548A1 (en) Personalized nutritional and metabolic modification system
CN110580632B (en) Advertisement putting method and device
US20190328322A1 (en) Information processing apparatus and operation method thereof
CN113643794A (en) Diet exercise management system and management method, intelligent refrigerator and intelligent refrigerator system
JP2020107096A (en) System, device, method, and program for suggesting menu
US20220319667A1 (en) An apparatus and method for providing dietary recommendation
KR102564912B1 (en) Health care system using application for providing authentication and mehtod thereof
KR20140038892A (en) System for providing meal valuation and method thereof
WO2020233586A1 (en) Food bill pushing method and apparatus, and computer readable storage medium
CN111951928A (en) Method of controlling calorie intake, mobile terminal and computer storage medium
Cloud et al. “Drawing” conclusions about perceptions of ideal male and female body shapes
WO2018175962A1 (en) Personalized nutritional and metabolic modification system

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: 20809779

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20809779

Country of ref document: EP

Kind code of ref document: A1