CN112163006A - Information processing method and device, electronic equipment and storage medium - Google Patents
Information processing method and device, electronic equipment and storage medium Download PDFInfo
- Publication number
- CN112163006A CN112163006A CN202010873429.7A CN202010873429A CN112163006A CN 112163006 A CN112163006 A CN 112163006A CN 202010873429 A CN202010873429 A CN 202010873429A CN 112163006 A CN112163006 A CN 112163006A
- Authority
- CN
- China
- Prior art keywords
- information
- menu
- target
- preset
- determining
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 230000010365 information processing Effects 0.000 title claims abstract description 20
- 238000003672 processing method Methods 0.000 title claims abstract description 13
- 238000000034 method Methods 0.000 claims abstract description 29
- 238000012545 processing Methods 0.000 claims abstract description 13
- 235000013305 food Nutrition 0.000 claims description 56
- 239000000463 material Substances 0.000 claims description 51
- 238000001514 detection method Methods 0.000 claims description 22
- 238000004891 communication Methods 0.000 claims description 18
- 238000004590 computer program Methods 0.000 claims description 8
- 235000016709 nutrition Nutrition 0.000 claims description 8
- 238000010411 cooking Methods 0.000 abstract description 5
- 239000008280 blood Substances 0.000 description 6
- 210000004369 blood Anatomy 0.000 description 6
- 230000036541 health Effects 0.000 description 5
- 230000008569 process Effects 0.000 description 4
- 241000251468 Actinopterygii Species 0.000 description 3
- 244000295724 Allium chinense Species 0.000 description 3
- 235000016790 Allium chinense Nutrition 0.000 description 3
- 230000009471 action Effects 0.000 description 3
- 230000036772 blood pressure Effects 0.000 description 3
- 230000008859 change Effects 0.000 description 3
- 238000010586 diagram Methods 0.000 description 3
- 239000008157 edible vegetable oil Substances 0.000 description 3
- 235000013601 eggs Nutrition 0.000 description 3
- 235000011194 food seasoning agent Nutrition 0.000 description 3
- 230000004048 modification Effects 0.000 description 3
- 238000012986 modification Methods 0.000 description 3
- 235000015277 pork Nutrition 0.000 description 3
- 235000013311 vegetables Nutrition 0.000 description 3
- 235000008534 Capsicum annuum var annuum Nutrition 0.000 description 2
- 240000008384 Capsicum annuum var. annuum Species 0.000 description 2
- 239000004278 EU approved seasoning Substances 0.000 description 2
- WQZGKKKJIJFFOK-GASJEMHNSA-N Glucose Natural products OC[C@H]1OC(O)[C@H](O)[C@@H](O)[C@@H]1O WQZGKKKJIJFFOK-GASJEMHNSA-N 0.000 description 2
- 244000273928 Zingiber officinale Species 0.000 description 2
- 235000006886 Zingiber officinale Nutrition 0.000 description 2
- 238000012217 deletion Methods 0.000 description 2
- 230000037430 deletion Effects 0.000 description 2
- 230000006870 function Effects 0.000 description 2
- 235000008397 ginger Nutrition 0.000 description 2
- 239000008103 glucose Substances 0.000 description 2
- 230000006872 improvement Effects 0.000 description 2
- 240000006108 Allium ampeloprasum Species 0.000 description 1
- 235000005254 Allium ampeloprasum Nutrition 0.000 description 1
- 240000002234 Allium sativum Species 0.000 description 1
- 240000002930 Alternanthera sessilis Species 0.000 description 1
- 235000015579 Alternanthera sessilis Nutrition 0.000 description 1
- 208000000412 Avitaminosis Diseases 0.000 description 1
- 244000056139 Brassica cretica Species 0.000 description 1
- 235000003351 Brassica cretica Nutrition 0.000 description 1
- 235000011297 Brassica napobrassica Nutrition 0.000 description 1
- 241000219192 Brassica napus subsp. rapifera Species 0.000 description 1
- 235000003343 Brassica rupestris Nutrition 0.000 description 1
- 206010006956 Calcium deficiency Diseases 0.000 description 1
- 235000002566 Capsicum Nutrition 0.000 description 1
- 241001070941 Castanea Species 0.000 description 1
- 235000014036 Castanea Nutrition 0.000 description 1
- 235000007516 Chrysanthemum Nutrition 0.000 description 1
- 244000189548 Chrysanthemum x morifolium Species 0.000 description 1
- 241000252233 Cyprinus carpio Species 0.000 description 1
- 241000238557 Decapoda Species 0.000 description 1
- 206010020772 Hypertension Diseases 0.000 description 1
- 206010021135 Hypovitaminosis Diseases 0.000 description 1
- 240000007594 Oryza sativa Species 0.000 description 1
- 235000007164 Oryza sativa Nutrition 0.000 description 1
- 239000006002 Pepper Substances 0.000 description 1
- 240000004760 Pimpinella anisum Species 0.000 description 1
- 235000012550 Pimpinella anisum Nutrition 0.000 description 1
- 235000016761 Piper aduncum Nutrition 0.000 description 1
- 235000017804 Piper guineense Nutrition 0.000 description 1
- 244000203593 Piper nigrum Species 0.000 description 1
- 235000008184 Piper nigrum Nutrition 0.000 description 1
- 229920002472 Starch Polymers 0.000 description 1
- 241000270666 Testudines Species 0.000 description 1
- 210000000577 adipose tissue Anatomy 0.000 description 1
- 208000007502 anemia Diseases 0.000 description 1
- 230000003796 beauty Effects 0.000 description 1
- 235000015278 beef Nutrition 0.000 description 1
- QKSKPIVNLNLAAV-UHFFFAOYSA-N bis(2-chloroethyl) sulfide Chemical compound ClCCSCCCl QKSKPIVNLNLAAV-UHFFFAOYSA-N 0.000 description 1
- 235000013330 chicken meat Nutrition 0.000 description 1
- 239000003086 colorant Substances 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 230000003247 decreasing effect Effects 0.000 description 1
- 235000005911 diet Nutrition 0.000 description 1
- 230000037213 diet Effects 0.000 description 1
- 239000000835 fiber Substances 0.000 description 1
- 235000004611 garlic Nutrition 0.000 description 1
- 235000012907 honey Nutrition 0.000 description 1
- 201000001421 hyperglycemia Diseases 0.000 description 1
- 235000013372 meat Nutrition 0.000 description 1
- LPUQAYUQRXPFSQ-DFWYDOINSA-M monosodium L-glutamate Chemical compound [Na+].[O-]C(=O)[C@@H](N)CCC(O)=O LPUQAYUQRXPFSQ-DFWYDOINSA-M 0.000 description 1
- 235000013923 monosodium glutamate Nutrition 0.000 description 1
- 239000004223 monosodium glutamate Substances 0.000 description 1
- 235000010460 mustard Nutrition 0.000 description 1
- 235000015097 nutrients Nutrition 0.000 description 1
- 230000035764 nutrition Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 235000009566 rice Nutrition 0.000 description 1
- 150000003839 salts Chemical class 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 235000002639 sodium chloride Nutrition 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
- 235000013555 soy sauce Nutrition 0.000 description 1
- 235000019698 starch Nutrition 0.000 description 1
- 239000008107 starch Substances 0.000 description 1
- 230000001502 supplementing effect Effects 0.000 description 1
- 230000009182 swimming Effects 0.000 description 1
- 238000012795 verification Methods 0.000 description 1
- 208000030401 vitamin deficiency disease Diseases 0.000 description 1
- 238000005303 weighing Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/24—Querying
- G06F16/245—Query processing
- G06F16/2457—Query processing with adaptation to user needs
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/50—Information retrieval; Database structures therefor; File system structures therefor of still image data
- G06F16/58—Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually
- G06F16/583—Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually using metadata automatically derived from the content
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/953—Querying, e.g. by the use of web search engines
- G06F16/9535—Search customisation based on user profiles and personalisation
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F18/00—Pattern recognition
- G06F18/20—Analysing
- G06F18/22—Matching criteria, e.g. proximity measures
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V20/00—Scenes; Scene-specific elements
- G06V20/20—Scenes; Scene-specific elements in augmented reality scenes
Abstract
The application discloses an information processing method, an information processing device, electronic equipment and a storage medium. Wherein, the method comprises the following steps: acquiring retrieval information; determining a target menu matched with the retrieval information in a preset menu library, wherein a plurality of menus are stored in the preset menu library, and the target menu is determined based on the similarity between the retrieval information and each menu in the preset menu library; acquiring operation information acting on the target menu; and executing processing operation on the target menu according to the operation information. According to the embodiment of the application, the target menu can be quickly acquired from the preset menu library through retrieval information, more appropriate menus can be recommended to people who lack cooking knowledge, meanwhile, the target menu can be supported to be operated and changed, and a user can conveniently modify the menus according to the favorite taste of the user, so that the menus are innovated.
Description
Technical Field
The present application relates to the field of information processing, and in particular, to an information processing method and apparatus, an electronic device, and a storage medium.
Background
Along with the continuous improvement of living standard, intelligent house has also walked into in people's daily life gradually. In the era of everything interconnection, household appliances become more intelligent and can bring more life convenience to people. Meanwhile, people pay more and more attention to body health, the nutrition of food is more and more paid more and more attention, and diet is directly related to the body health and the life quality of family members, so that in a kitchen, people can cook food by using a recipe recommended by kitchen appliances in an intelligent mode, and the problems that people never know what to eat and how to cook are not known are solved.
At present, in the related art, a recipe recommendation method includes application program pushing, and the inventor finds that the application program pushing is only pushing according to the preference of a user and cannot perform recipe retrieval according to the existing food materials, and meanwhile, the recipe pushed by the application program does not support change, so that the recipe is single in making and lacks innovation.
Disclosure of Invention
In order to solve the technical problems that in the prior art, menu retrieval cannot be performed according to existing food materials, and meanwhile menus pushed by application programs do not support change, so that the menu making method is single and lacks innovation, the application provides an information processing method and device, an electronic device and a storage medium.
According to an aspect of an embodiment of the present application, there is provided an information processing method including:
acquiring retrieval information;
determining a target menu matched with the retrieval information in a preset menu library, wherein a plurality of menus are stored in the preset menu library, and the target menu is determined based on the similarity between the retrieval information and each menu in the preset menu library;
acquiring operation information acting on the target menu;
and executing processing operation on the target menu according to the operation information.
Further, the acquiring the retrieval information includes:
acquiring a detection image, wherein the detection image carries at least one food material to be identified;
analyzing the detection image to determine the characteristic information of the food material to be identified;
determining the food material name of the food material to be identified according to the characteristic information of the food material to be identified, and taking the food material name as the retrieval information;
or, the acquiring the retrieval information further comprises:
and taking input information received by a preset terminal as the retrieval information.
Further, the determining a target menu matched with the retrieval information in a preset menu library includes:
determining first attribute information according to the retrieval information;
determining second attribute information of the menu in the preset menu library;
calculating the similarity of the first attribute information and the second attribute information, and taking the menu with the similarity greater than or equal to a preset similarity as a candidate menu;
and determining the target menu from the candidate menus according to a preset rule.
Further, the determining the target menu from the candidate menus according to a preset rule includes:
acquiring current time information and/or current environment information;
and determining a target menu associated with the current time information and/or the current environment information from the candidate menus according to preset time information and/or the corresponding relation between the environment information and the menus.
Further, the method further comprises:
acquiring object information of a current operation object;
changing the attribute information of the target menu according to the object information;
and feeding back the changed target menu to a preset terminal.
The object information includes at least one of: physical characteristic data, exercise amount, and/or nutritional requirement data.
Further, the method further comprises:
generating at least one adjustment option from the body characteristic data;
determining a target adjusting option according to the priority of the adjusting option;
and changing the attribute information of the target menu according to the target adjusting option.
Further, the method further comprises:
generating at least one adjustment option according to the amount of motion;
determining a target adjustment option according to the selected operation acting on the adjustment option;
and changing the attribute information of the target menu according to the target adjusting option.
According to another aspect of the embodiments of the present application, there is also provided an information processing apparatus including:
the acquisition module is used for acquiring retrieval information;
the determining module is used for determining a target menu matched with the retrieval information in a preset menu library, wherein a plurality of menus are stored in the preset menu library, and the target menu is determined based on the similarity between the retrieval information and each menu in the preset menu library;
the detection module is used for acquiring operation information acting on the target menu;
and the execution module is used for executing processing operation on the target menu according to the operation information.
According to another aspect of the embodiments of the present application, there is also provided a storage medium including a stored program that executes the above steps when the program is executed.
According to another aspect of the embodiments of the present application, there is also provided an electronic apparatus, including a processor, a communication interface, a memory, and a communication bus, where the processor, the communication interface, and the memory complete communication with each other through the communication bus; wherein: a memory for storing a computer program; a processor for executing the steps of the method by running the program stored in the memory.
Embodiments of the present application also provide a computer program product containing instructions, which when run on a computer, cause the computer to perform the steps of the above method.
Compared with the prior art, the technical scheme provided by the embodiment of the application has the following advantages: according to the embodiment of the application, the target menu can be quickly acquired from the preset menu library through information retrieval, more appropriate menus can be recommended to people who lack cooking knowledge, meanwhile, the target menu can be supported to be operated and changed, and the menus can be conveniently modified according to own preferences, so that the satisfaction degree of users is improved.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and together with the description, serve to explain the principles of the application.
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly described below, and it is obvious for those skilled in the art to obtain other drawings without inventive exercise.
Fig. 1 is a flowchart of an information processing method according to an embodiment of the present application;
fig. 2 is a flowchart of an information processing method according to another embodiment of the present application;
fig. 3 is a block diagram of an information processing apparatus according to an embodiment of the present application;
fig. 4 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
In order to make the purpose, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be described clearly and completely with reference to the drawings in the embodiments of the present application, it is obvious that the described embodiments are some embodiments of the present application, but not all embodiments, and the illustrative embodiments and descriptions thereof of the present application are used for explaining the present application and do not constitute a limitation to the present application. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
It is noted that, in this document, relational terms such as "first" and "second," and the like, may be used solely to distinguish one entity or action from another similar entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The embodiment of the application provides an information processing method and device, electronic equipment and a storage and receiving device. The method provided by the embodiment of the invention can be applied to any required electronic equipment, for example, the electronic equipment can be electronic equipment such as a server and a terminal, and the method is not particularly limited herein, and is hereinafter simply referred to as electronic equipment for convenience in description.
According to an aspect of embodiments of the present application, there is provided an embodiment of a method for information processing. Fig. 1 is a flowchart of a control method for smart home devices provided in an embodiment of the present application, and as shown in fig. 1, the method further includes:
step S11, acquiring retrieval information;
in the embodiment of the application, the retrieval information is used for retrieving the target menu, wherein the retrieval information may be food material information, name of a dish, efficacy information of the dish, and the like. The following example specifically describes the manner in which the retrieval information is acquired.
As an example, a detection image is obtained, the detection image carries at least one food material to be identified, the detection image is analyzed to determine characteristic information of the food material to be identified, a food material name of the food material to be identified is determined according to the characteristic information of the food material to be identified, and the food material name is used as the retrieval information;
the food material in the image can be identified according to the detection image, the detection image is subjected to image identification, and the characteristic information of the food material to be identified in the image can be obtained, wherein the characteristic information of the food material is information for identifying or extracting the type name of the food material in the detection image, and can be information of the color, the shape, the outline and the like of the food material; the food material names of the food materials to be identified can be determined by detecting the characteristic information of the images, the characteristic information of various food materials corresponding to the food material names is stored in the database in advance, and the characteristic information of the food materials can be information such as colors, shapes and outlines of the food.
It should be noted that the detection image may be a picture taken by a camera of a preset terminal, or may be a picture stored in the terminal, for example, when a user prepares to cook at home, the user needs to take a picture of the food material on the sticky board to obtain the detection image. Or the terminal stores the image of the food material, the image of the food material can be directly used as a detection picture to be identified, and shooting is not needed.
Or, the obtaining of the retrieval information further comprises: and taking the input information received by the preset terminal as retrieval information. As one example, the input information may be a name of a dish, a name of food material, efficacy information of the dish, and the like, which are input by the user.
Step S12, determining a target menu matched with the retrieval information in a preset menu library, wherein the preset menu library stores a plurality of menus, and the target menu is determined based on the similarity between the retrieval information and each menu in the preset menu library;
in the embodiment of the present application, determining a target menu matched with the retrieval information in the preset menu library includes: and determining first attribute information according to the retrieval information, and determining second attribute information carried by the menu in the preset menu library. It is understood that the first attribute information and the second attribute information include at least one of: vegetable system, food material type, auxiliary materials, intake amount, efficacy and the like.
For example, when the retrieval information is the lucai and fish with the functions of maintaining beauty and keeping young, tonifying qi and enriching blood. The first attribute information determined based on the search information includes: lucai (vegetable series), beautifying, nourishing qi and blood, and fish (food type-meat). Or, the retrieval information obtained by analyzing the detection image includes: eggs, pork, green Chinese onions, green peppers and the like, and the first attribute information determined according to the search information comprises: eggs (food type-egg product), pork (food type-meat), green Chinese onion (auxiliary material), green pepper (food type-vegetable).
It should be noted that the second attribute information carried by the recipes in the recipe library is preset. For example: the second attribute information corresponding to the four-happiness ball comprises the following cuisine: rutabaga, food material type-meat: pork, food material type-egg product: egg, food material type-vegetables: rape and auxiliary materials: edible oil, salt, monosodium glutamate, ginger, green Chinese onion, pepper, aniseed, starch and light soy sauce.
And then calculating the similarity of the first attribute information and the second attribute information, taking the menu with the similarity larger than or equal to the preset similarity as a candidate menu, and determining a target menu from the candidate menu according to a preset rule. It can be understood that the same food materials can be used in different recipes, so that a plurality of different recipes (candidate recipes) can be retrieved when the recipes are retrieved according to the food materials, and then the candidate recipes are screened by adopting a preset rule, so that the retrieved recipes are more suitable for users.
In the embodiment of the present application, determining a target menu from candidate menus according to a preset rule includes: and acquiring current time information and/or current environment information, and determining a target menu associated with the current time information and/or the current environment information from the candidate menus according to the preset time information and/or the corresponding relation between the environment information and the menus.
As an example, obtaining the current environment information may be: acquiring current weather information of the position of a current operation object; acquiring the current temperature and humidity of the position of a current operation object; and acquiring the current air condition of the position where the current operation object is positioned, and the like. The current season information is acquired, and the current season can be determined through a calendar of a preset terminal.
Step S13, acquiring operation information acting on the target menu;
in the embodiment of the application, after obtaining the target menu, the user can perform relevant operations on the target menu according to the taste of the user, and the operation information includes: the addition, replacement and deletion of food materials, or the addition, replacement and deletion of seasonings, and the like.
In step S14, a processing operation is performed on the target recipe according to the operation information.
In the embodiment of the present application, after the operation information is acquired, the operation information needs to be verified, and it can be understood that, because there is a case that food is restriction, for example: chicken meat: chrysanthemum, mustard, sticky rice, plum, garlic, carp, turtle meat, shrimp and rabbit meat are avoided. Beef: avoid cooking with fish, and avoid chestnut, honey, leek, white spirit and ginger. When the user adds or replaces food materials and seasonings, the operation information is verified, so that the modified menu is healthy.
And after the verification is passed, executing corresponding processing operation on the target menu according to the operation information. The processing operations further comprise: and changing the target menu according to the operation information. The processing operations further comprise: the changed target menu is recorded and associated with the target menu, so that various cooking schemes of one menu can be obtained conveniently when other users inquire the menu, and the satisfaction degree of the users is improved by adding various choices.
According to the embodiment of the application, the target menu can be quickly acquired from the preset menu library through retrieval information, more appropriate menus can be recommended to people who lack cooking knowledge, meanwhile, the target menu can be supported to be operated and changed, and a user can conveniently modify the menus according to the favorite taste of the user, so that the menus are innovated.
Fig. 2 is a flowchart of an information processing method according to an embodiment of the present application, and as shown in fig. 2, the method may include the following steps:
step S21, acquiring object information of the current operation object;
in this embodiment of the present application, the current operation object may be a user, and the object information may be understood as user information, where the object information includes: physical characteristic data, exercise amount, and/or nutritional requirement data.
Detecting a current operation object to determine body characteristic data of the current operation object, wherein the body characteristic data comprises: weight, height, body fat, blood pressure, blood glucose, age, etc. The physical characteristic data is related data representing human health, and comprises various data contents related to the health of the user, and the physical characteristic data can be obtained by requesting a connected human characteristic acquisition device to update data, can be manually input by the user according to the health condition of the user, and can also be obtained in other modes.
As an example, the connected human body feature collecting device may be an intelligent weighing scale, an intelligent bracelet, a blood glucose meter, a blood pressure meter, and other devices, that is, in the menu recommendation, the physical condition of the user may be obtained in real time by connecting the human body feature collecting device, so as to provide an accurate basis for the realization of the menu recommendation.
In this embodiment of the application, the exercise amount of the current operation object in the preset time may also be obtained, where the exercise amount is data representing that a human body completes some exercise items in a certain time period, and specifically, the number of walking steps, running kilometers, or swimming time of the current operation object in the preset time may be obtained.
In the embodiment of the application, the nutritional requirement data of the current operation object is obtained. The nutritional requirement data can be the nutritional requirement data determined by the current operation object according to the information such as physical examination reports uploaded by the current operation object, such as vitamin deficiency, anemia, calcium deficiency and the like.
Step S22, changing the attribute information of the target menu according to the object information;
in the embodiment of the application, the current operation object is detected to determine body characteristic data of the current operation object, at least one adjusting option is generated according to the body characteristic data, a target adjusting option is determined according to the priority of the adjusting option, and the attribute information of the target menu is changed according to the target adjusting option.
As one example, when the body characteristic data includes hypertension, hyperglycemia, the generated adjustment options include: reducing the intake of edible oil in the target menu, namely priority 3, reducing the intake of fat food materials in the target menu, namely priority 1, and reducing the intake of sugar seasoning in the target menu, namely priority 2; wherein the priority for reducing the intake of the fat food materials in the target menu is highest, the intake of the fat food materials in the target menu is reduced as a target adjustment option,
based on the mode listed above, the target menu is changed according to the regulation options generated by blood pressure, blood fat and blood sugar, so that the changed target menu is closer to the requirements of the physical characteristics of the user, the intelligent degree is high, and the user experience is good.
In the embodiment of the application, the motion amount of a current operation object in a preset time period is obtained, at least one adjusting option is formed according to the motion amount, a target adjusting option is determined according to the selected operation acting on the adjusting option, and the attribute information of a target menu is changed according to the target adjusting option.
As one example, when the number of running kilometers in the amount of exercise is greater than a preset kilometer number, the generated adjustment options include: increasing the intake of vegetable types in the target recipe, increasing the intake of soy products in the target recipe, and decreasing the intake of edible oils in the target recipe. A target adjustment option is then determined based on the selected operation.
Based on the above listed recommendation mode, the target menu is changed according to the adjustment options generated by the exercise amount, so that the changed target menu can be used for supplementing nutrients after a user performs a large amount of exercises, the intelligent degree is high, and the user experience is good.
And step S23, feeding back the changed target menu to a preset terminal.
Fig. 3 is a block diagram of an information processing apparatus provided in an embodiment of the present application, and the apparatus may be implemented as part of or all of an electronic device through software, hardware, or a combination of the software and the hardware. As shown in fig. 3, the apparatus includes:
an obtaining module 31, configured to obtain retrieval information;
the determining module 32 is configured to determine a target menu matched with the retrieval information in a preset menu library, where the preset menu library stores a plurality of menus, and the target menu is determined based on similarity between the retrieval information and each menu in the preset menu library;
the detection module 33 is used for acquiring operation information acting on the target menu;
and the execution module 34 is used for executing processing operation on the target menu according to the operation information.
Further, the obtaining module 31 is specifically configured to obtain a detection image, where the detection image carries at least one food material, analyze the detection image to determine characteristic information of the food material, and use the characteristic information as search information;
or, the obtaining module 31 is specifically configured to use input information received by a preset terminal as the retrieval information.
Further, the determining module 32 includes:
the first determining submodule is used for determining first attribute information according to the retrieval information;
the second determining submodule is used for determining second attribute information carried by the menu in the preset menu library;
the calculating submodule is used for calculating the similarity of the first attribute information and the second attribute information and taking the menu with the similarity larger than or equal to the preset similarity as a candidate menu;
and the processing submodule is used for determining a target menu from the candidate menus according to a preset rule.
Further, the processing submodule is specifically configured to acquire current time information and/or current environment information; and determining a target menu associated with the current time information and/or the current environment information from the candidate menus according to the preset time information and/or the corresponding relation between the environment information and the menus.
Further, the apparatus provided in the embodiment of the present application further includes:
the receiving module is used for acquiring the object information of the current operation object;
the change module is used for changing the attribute information of the target menu according to the object information;
and the feedback module is used for feeding back the changed target menu to the preset terminal.
The object information includes at least one of: physical characteristic data, exercise amount, and/or nutritional requirement data.
Further, a modification module, specifically configured to generate at least one adjustment option according to the body characteristic data; determining a target adjusting option according to the priority of the adjusting option; and changing the attribute information of the target menu according to the target adjusting option.
Further, the changing module is specifically configured to form at least one adjustment option according to the amount of motion; determining a target adjustment option according to the selected operation acting on the adjustment option; and changing the attribute information of the target menu according to the target adjusting option.
An embodiment of the present application further provides an electronic device, as shown in fig. 4, the electronic device may include: the system comprises a processor 1501, a communication interface 1502, a memory 1503 and a communication bus 1504, wherein the processor 1501, the communication interface 1502 and the memory 1503 complete communication with each other through the communication bus 1504.
A memory 1503 for storing a computer program;
the processor 1501 is configured to implement the steps of the above embodiments when executing the computer program stored in the memory 1503.
The communication bus mentioned in the above terminal may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The communication bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown, but this does not mean that there is only one bus or one type of bus.
The communication interface is used for communication between the terminal and other equipment.
The Memory may include a Random Access Memory (RAM) or a non-volatile Memory (non-volatile Memory), such as at least one disk Memory. Optionally, the memory may also be at least one memory device located remotely from the processor.
The Processor may be a general-purpose Processor, and includes a Central Processing Unit (CPU), a Network Processor (NP), and the like; the Integrated Circuit may also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic device, a discrete Gate or transistor logic device, or a discrete hardware component.
In another embodiment provided by the present application, a computer-readable storage medium is further provided, which stores instructions that, when executed on a computer, cause the computer to execute the information processing method described in any one of the above embodiments.
In yet another embodiment provided by the present application, there is also provided a computer program product containing instructions which, when run on a computer, cause the computer to perform the information processing method described in any of the above embodiments.
In the above embodiments, the implementation may be wholly or partially realized by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When loaded and executed on a computer, cause the processes or functions described in accordance with the embodiments of the application to occur, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored in a computer readable storage medium or transmitted from one computer readable storage medium to another, for example, the computer instructions may be transmitted from one website, computer, server, or data center to another website, computer, server, or data center by wire (e.g., coaxial cable, fiber optic, digital subscriber line) or wirelessly (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device, such as a server, a data center, etc., that incorporates one or more of the available media. The usable medium may be a magnetic medium (e.g., floppy Disk, hard Disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., Solid State Disk), among others.
The above description is only for the preferred embodiment of the present application, and is not intended to limit the scope of the present application. Any modification, equivalent replacement, improvement and the like made within the spirit and principle of the present application are included in the protection scope of the present application.
The above description is merely exemplary of the present application and is presented to enable those skilled in the art to understand and practice the present application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the application. Thus, the present application is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.
Claims (10)
1. An information processing method characterized by comprising:
acquiring retrieval information;
determining a target menu matched with the retrieval information in a preset menu library, wherein a plurality of menus are stored in the preset menu library, and the target menu is determined based on the similarity between the retrieval information and each menu in the preset menu library;
acquiring operation information acting on the target menu;
and executing processing operation on the target menu according to the operation information.
2. The method of claim 1, wherein the obtaining retrieval information comprises:
acquiring a detection image, wherein the detection image carries at least one food material to be identified;
analyzing the detection image to determine the characteristic information of the food material to be identified;
determining the food material name of the food material to be identified according to the characteristic information of the food material to be identified, and taking the food material name as the retrieval information;
or, the acquiring the retrieval information further comprises:
and taking input information received by a preset terminal as the retrieval information.
3. The method of claim 1, wherein the determining the target menu in the preset menu library matching the retrieved information comprises:
determining first attribute information according to the retrieval information;
determining second attribute information of the menu in the preset menu library;
calculating the similarity of the first attribute information and the second attribute information, and taking the menu with the similarity greater than or equal to a preset similarity as a candidate menu;
and determining the target menu from the candidate menus according to a preset rule.
4. The method of claim 3, wherein the determining the target recipe from the candidate recipes according to a preset rule comprises:
acquiring current time information and/or current environment information;
and determining a target menu associated with the current time information and/or the current environment information from the candidate menus according to preset time information and/or the corresponding relation between the environment information and the menus.
5. The method of claim 1, further comprising:
acquiring object information of a current operation object;
changing the attribute information of the target menu according to the object information;
feeding back the changed target menu to a preset terminal;
the object information includes at least one of: physical characteristic data, exercise amount, and/or nutritional requirement data.
6. The method of claim 5, wherein the changing the attribute information of the target recipe according to the object information comprises:
generating at least one adjustment option from the body characteristic data;
determining a target adjusting option according to the priority of the adjusting option;
and changing the attribute information of the target menu according to the target adjusting option.
7. The method of claim 5, wherein the changing the attribute information of the target recipe according to the object information comprises:
generating at least one adjustment option according to the amount of motion;
determining a target adjustment option according to the selected operation acting on the adjustment option;
and changing the attribute information of the target menu according to the target adjusting option.
8. An information processing apparatus characterized by comprising:
the acquisition module is used for acquiring retrieval information;
the determining module is used for determining a target menu matched with the retrieval information in a preset menu library, wherein a plurality of menus are stored in the preset menu library, and the target menu is determined based on the similarity between the retrieval information and each menu in the preset menu library;
the detection module is used for acquiring operation information acting on the target menu;
and the execution module is used for executing processing operation on the target menu according to the operation information.
9. A storage medium, characterized in that the storage medium comprises a stored program, wherein the program is operative to perform the method steps of any of the preceding claims 1 to 7.
10. An electronic device comprises a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory are communicated with each other through the communication bus; wherein:
a memory for storing a computer program;
a processor for performing the method steps of any of claims 1-7 by executing a program stored on a memory.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010873429.7A CN112163006A (en) | 2020-08-26 | 2020-08-26 | Information processing method and device, electronic equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010873429.7A CN112163006A (en) | 2020-08-26 | 2020-08-26 | Information processing method and device, electronic equipment and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN112163006A true CN112163006A (en) | 2021-01-01 |
Family
ID=73860266
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010873429.7A Pending CN112163006A (en) | 2020-08-26 | 2020-08-26 | Information processing method and device, electronic equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112163006A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112214676A (en) * | 2020-10-19 | 2021-01-12 | 扬州大学 | Menu updating method, system, terminal and storage medium for automatic cooker |
CN113329545A (en) * | 2021-05-25 | 2021-08-31 | 深圳市欧瑞博科技股份有限公司 | Intelligent lighting method and device, intelligent control device and storage medium |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20140193783A1 (en) * | 2013-01-07 | 2014-07-10 | Lg Electronics Inc. | Method of providing meal plan using refrigerator and refrigerator using the same |
US20160179935A1 (en) * | 2014-12-17 | 2016-06-23 | International Business Machines Corporation | Techniques for modifying recipes to reduce preparation times and/or incorporate preferred ingredients |
CN107423421A (en) * | 2017-07-31 | 2017-12-01 | 京东方科技集团股份有限公司 | Menu recommends method, apparatus and refrigerator |
CN108765202A (en) * | 2018-04-11 | 2018-11-06 | 丽睿客信息科技(北京)有限公司 | It makes a reservation configuration method, device and Self-service order system |
TWI664599B (en) * | 2018-02-12 | 2019-07-01 | 迅康自動化股份有限公司 | Smart recipe selection apparatus, method thereof and automatic cooking apparatus |
CN110490769A (en) * | 2019-07-08 | 2019-11-22 | 珠海优特智厨科技有限公司 | The processing method of menu information, apparatus and system |
CN111241292A (en) * | 2019-12-27 | 2020-06-05 | 珠海格力电器股份有限公司 | Menu recommendation method and device, electronic equipment and storage medium |
CN111584035A (en) * | 2019-02-18 | 2020-08-25 | 珠海格力电器股份有限公司 | Menu recommendation method and device and refrigerator |
-
2020
- 2020-08-26 CN CN202010873429.7A patent/CN112163006A/en active Pending
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20140193783A1 (en) * | 2013-01-07 | 2014-07-10 | Lg Electronics Inc. | Method of providing meal plan using refrigerator and refrigerator using the same |
US20160179935A1 (en) * | 2014-12-17 | 2016-06-23 | International Business Machines Corporation | Techniques for modifying recipes to reduce preparation times and/or incorporate preferred ingredients |
CN107423421A (en) * | 2017-07-31 | 2017-12-01 | 京东方科技集团股份有限公司 | Menu recommends method, apparatus and refrigerator |
TWI664599B (en) * | 2018-02-12 | 2019-07-01 | 迅康自動化股份有限公司 | Smart recipe selection apparatus, method thereof and automatic cooking apparatus |
CN108765202A (en) * | 2018-04-11 | 2018-11-06 | 丽睿客信息科技(北京)有限公司 | It makes a reservation configuration method, device and Self-service order system |
CN111584035A (en) * | 2019-02-18 | 2020-08-25 | 珠海格力电器股份有限公司 | Menu recommendation method and device and refrigerator |
CN110490769A (en) * | 2019-07-08 | 2019-11-22 | 珠海优特智厨科技有限公司 | The processing method of menu information, apparatus and system |
CN111241292A (en) * | 2019-12-27 | 2020-06-05 | 珠海格力电器股份有限公司 | Menu recommendation method and device, electronic equipment and storage medium |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112214676A (en) * | 2020-10-19 | 2021-01-12 | 扬州大学 | Menu updating method, system, terminal and storage medium for automatic cooker |
CN113329545A (en) * | 2021-05-25 | 2021-08-31 | 深圳市欧瑞博科技股份有限公司 | Intelligent lighting method and device, intelligent control device and storage medium |
CN113329545B (en) * | 2021-05-25 | 2023-08-29 | 深圳市欧瑞博科技股份有限公司 | Intelligent lighting method and device, intelligent control device and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP7077506B2 (en) | Food cooking methods and systems based on food identification | |
CN105809598A (en) | Dietary intake management method, device and cloud platform | |
US11823042B2 (en) | System for measuring food weight | |
JP7018279B2 (en) | Alternative recipe presentation device, alternative recipe presentation method, computer program and data structure | |
CN110287306B (en) | Recipe recommendation method and equipment | |
CN110688568A (en) | Menu recommendation method and device | |
CN105138682A (en) | Convenient dish and digital recipe matching method, server and terminal | |
EP2678677A1 (en) | Transformation system for optimization of nutritional substances at consumption | |
CN112069403A (en) | Menu recommendation method and device, computer equipment and storage medium | |
CN112163006A (en) | Information processing method and device, electronic equipment and storage medium | |
CN110223757A (en) | The recommended method of recipe scheme, device, medium, electronic equipment | |
CN110444271A (en) | Dietary recommendation generation method, device, computer equipment and storage medium | |
KR102189232B1 (en) | Method, system and non-transitory computer-readable recording medium for providing contents based on life style | |
JP6410069B1 (en) | Recipe information providing apparatus, recipe information providing method, and recipe information providing program | |
CN112902406B (en) | Air conditioner and/or fan parameter setting method, control device and readable storage medium | |
KR20190074474A (en) | An apparatus for managing user-customized feeding behavior based on genetic anaysis data, and an operational method thereof | |
WO2017143701A1 (en) | Method and device for processing information on the basis of food quantity | |
CN110852299A (en) | Method and device for determining eating habits of customers | |
CN113158018A (en) | Recipe recommendation method, refrigerator and computer-readable storage medium | |
JP5843382B2 (en) | Meal management device and meal management system | |
CN112331302A (en) | Automatic diet management method and system, kitchen robot and storage medium | |
CN114207732A (en) | Apparatus and method for providing dietary recommendations | |
CN111061891A (en) | Image recognition menu development method, terminal and readable storage medium | |
CN112417261A (en) | Menu recommendation method for cooking machine, cooking machine and server | |
CN112102922B (en) | Information recommendation method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |