Cooking reference information acquisition method and device for target food and storage medium

文档序号:1659562 发布日期:2019-12-27 浏览:14次 中文

阅读说明:本技术 一种目标食物的烹饪参考信息获取方法、装置及存储介质 (Cooking reference information acquisition method and device for target food and storage medium ) 是由 杨应彬 于 2018-06-19 设计创作,主要内容包括:本发明公开了一种目标食物的烹饪参考信息获取方法,所述方法包括:获取目标食物的剩余保质时长;当所述目标食物的剩余保质时长小于或等于设置的提醒时长时,获取所述目标食物对应的烹饪参考信息。本发明还同时公开了一种目标食物的烹饪参考信息获取装置及存储介质。(The invention discloses a method for acquiring cooking reference information of target food, which comprises the following steps: acquiring the remaining shelf life of the target food; and when the remaining quality guarantee duration of the target food is less than or equal to the set reminding duration, acquiring the cooking reference information corresponding to the target food. The invention also discloses a device for acquiring the cooking reference information of the target food and a storage medium.)

1. A cooking reference information acquisition method of a target food, the method comprising:

acquiring the remaining shelf life of the target food;

and when the remaining quality guarantee duration of the target food is less than or equal to the set reminding duration, acquiring the cooking reference information corresponding to the target food.

2. The method of claim 1, further comprising:

and the first equipment sends the cooking reference information corresponding to the target food to the second equipment.

3. The method according to claim 1 or 2,

the obtaining of the remaining shelf life of the target food comprises:

the second equipment receives the residual quality guarantee period sent by the first equipment;

or the like, or, alternatively,

the second device automatically determines the remaining shelf-life.

4. The method of claim 3, wherein the first device automatically determining the remaining shelf-life comprises:

collecting the production date and the quality guarantee period of the target food;

and calculating the remaining quality guarantee period of the target food according to the production date, the quality guarantee period and the current time.

5. The method of claim 1, wherein the obtaining cooking reference information corresponding to the target food comprises:

and acquiring cooking reference information corresponding to at least two target foods.

6. The method of claim 1, wherein the obtaining of the cooking reference information corresponding to the target food comprises:

and searching and obtaining the cooking reference information corresponding to the target food from a server according to the target food.

7. The method of claim 1, wherein the obtaining of the cooking reference information corresponding to the target food comprises:

searching cooking reference information corresponding to the target food from a local cooking reference information list according to the target food; wherein the cooking reference information list includes: and the target food corresponds to the cooking reference information.

8. The method according to any one of claims 1 to 7, wherein the cooking reference information includes: recipe information;

the acquiring of the cooking reference information corresponding to the target food comprises:

and acquiring the recipe information corresponding to the target food.

9. The method according to any one of claims 1 to 7, wherein the cooking reference information further includes: cooking time recommendation information;

the acquiring of the cooking reference information corresponding to the target food comprises:

and acquiring cooking time recommendation information corresponding to the target food.

10. The method of claim 1, wherein the obtaining cooking reference information corresponding to the target food comprises:

acquiring cooking reference information corresponding to the cooking equipment associated with the target food; and/or the presence of a gas in the gas,

obtaining cooking reference information corresponding to health data of a target object associated with the target food.

11. A cooking reference information acquisition apparatus of a target food, the apparatus comprising: a memory and a processor; wherein the content of the first and second substances,

the memory for storing a computer program operable on the processor;

the processor, when executing the computer program, is adapted to perform the steps of the method of any of claims 1 to 10.

12. A computer-readable storage medium, in which a computer program is stored which is characterized in that it is executed by a processor for carrying out the steps of the method according to any one of claims 1 to 10.

Technical Field

The invention relates to the technical field of communication, in particular to a method and a device for acquiring cooking reference information of target food and a storage medium.

Background

In daily life, food waste in families is serious, foods bought by people are often placed in a storage cabinet or a refrigerator and are easy to forget, although technologies for reminding foods which are about to expire soon exist in the prior art, due to the fact that other available reference cooking information does not exist after reminding, the time for processing the foods cannot be better arranged after the reminding is received by users, and methods for processing the foods do not exist, so that the reminding can be invisible, and sometimes, even if the foods are known to expire soon, the foods which are about to expire soon can still be placed due to the fact that specific cooking time cannot be well arranged and the cooking knowledge or cooking technology of the users limits, and the foods which are about to expire soon are wasted.

Disclosure of Invention

In order to solve the problems in the prior art, embodiments of the present invention are expected to provide a method, an apparatus, and a storage medium for acquiring cooking reference information of target food, which can push the cooking reference information to food that is about to expire, so that a user can eat the food as soon as possible according to the cooking reference information, thereby avoiding waste and improving user experience.

In order to achieve the above object, the technical solution of the embodiment of the present invention is implemented as follows:

the embodiment of the invention provides a method for acquiring cooking reference information of target food, which comprises the following steps:

acquiring the remaining shelf life of the target food;

and when the remaining quality guarantee duration of the target food is less than or equal to the set reminding duration, acquiring the cooking reference information corresponding to the target food.

In the above scheme, the method further comprises:

and the first equipment sends the cooking reference information corresponding to the target food to the second equipment.

In the above scheme, the obtaining of the remaining shelf life of the target food includes:

the second equipment receives the residual quality guarantee period sent by the first equipment; or, the second device automatically determines the remaining shelf-life.

In the foregoing solution, the automatically determining, by the first device, the remaining shelf life includes:

collecting the production date and the quality guarantee period of the target food;

and calculating the remaining quality guarantee period of the target food according to the production date, the quality guarantee period and the current time.

In the above scheme, the obtaining of the cooking reference information corresponding to the target food includes: and acquiring cooking reference information corresponding to at least two target foods.

In the above scheme, the obtaining of the cooking reference information corresponding to the target food includes: and searching and obtaining the cooking reference information corresponding to the target food from a server according to the target food.

In the above scheme, the obtaining of the cooking reference information corresponding to the target food includes:

searching cooking reference information corresponding to the target food from a local cooking reference information list according to the target food; wherein the cooking reference information list includes: and the target food corresponds to the cooking reference information.

In the above solution, the cooking reference information includes: recipe information;

the acquiring of the cooking reference information corresponding to the target food comprises: and acquiring the recipe information corresponding to the target food.

In the above solution, the cooking reference information further includes: cooking time recommendation information;

the acquiring of the cooking reference information corresponding to the target food comprises: and acquiring cooking time recommendation information corresponding to the target food.

In the above scheme, the obtaining of the cooking reference information corresponding to the target food includes:

acquiring cooking reference information corresponding to the cooking equipment associated with the target food; and/or the presence of a gas in the gas,

obtaining cooking reference information corresponding to health data of a target object associated with the target food.

The embodiment of the invention also provides a device for acquiring the cooking reference information of the target food, which comprises: a memory and a processor; wherein the content of the first and second substances,

the memory for storing a computer program operable on the processor;

the processor is configured to perform any of the above method steps when running the computer program.

An embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored in the computer-readable storage medium, and the computer program is processed to implement each step in any one of the methods described above.

Therefore, according to the method, the device and the storage medium for acquiring the cooking reference information of the target food provided by the embodiment of the invention, by acquiring the remaining quality guarantee period of the target food, when the remaining quality guarantee period of the target food is less than or equal to the set reminding period, the cooking reference information corresponding to the target food is acquired. Therefore, the user can better arrange the processing time of the food, obtain a food processing method and the like according to the cooking reference information corresponding to the target food, even if the cooking knowledge or the cooking technology of the user is not enough, the user can be helped to cook the target food according to the cooking reference information so as to eat the target food as soon as possible, the waste of the food is avoided, and the user experience is improved.

Drawings

Fig. 1 is a flowchart illustrating a cooking reference information obtaining method for a target food according to an embodiment of the present invention;

fig. 2 is a schematic flowchart of a cooking reference information obtaining method for a target food according to an embodiment of the present invention;

fig. 3 is a schematic flowchart illustrating a specific process of another method for acquiring cooking reference information of a target food according to an embodiment of the present invention;

fig. 4 is a functional structure diagram of a cooking reference information obtaining apparatus for target food according to an embodiment of the present invention;

fig. 5 is a schematic diagram of a hardware structure of a cooking reference information obtaining apparatus for a target food according to an embodiment of the present invention;

fig. 6A is a schematic view of a target food information entry process according to an embodiment of the present invention;

fig. 6B is a schematic view of a processing flow when the remaining shelf life of the target food is equal to the set reminding duration according to the embodiment of the present invention.

Detailed Description

The embodiment of the invention provides a method for acquiring cooking reference information of a target food, which can acquire the cooking reference information corresponding to the target food by acquiring the remaining shelf life of the target food, wherein the remaining shelf life of the target food is less than or equal to the set reminding duration. Therefore, the user can better arrange the processing time of the food according to the cooking reference information corresponding to the target food, obtain a food processing method and the like, avoid the waste of the food and improve the user experience.

The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.

Fig. 1 is a schematic flowchart of a cooking reference information obtaining method for a target food according to an embodiment of the present invention, as shown in fig. 1, the method includes the following steps:

step 101: acquiring the remaining shelf life of the target food;

here, the obtaining of the remaining shelf life of the target food may be obtained by a terminal device, where the terminal device may be a mobile terminal device, such as a mobile phone, a tablet, and the like, and may also be an intelligent household device, such as a refrigerator, a locker, and the like; the remaining shelf life of the target food can be obtained by a server.

In an optional embodiment, the terminal device obtains the remaining shelf life of the target food, and may be configured to shoot a package label of the target food through a camera device installed on the terminal device, where the package label is printed with a production date, the shelf life, and a name of the target food, and a processor of the terminal device performs image processing on a shooting result to obtain related data information of the target food, and then analyzes the data information to obtain the remaining shelf life of the target food; in other embodiments, the terminal device obtains the remaining shelf-life of the target food, and may also manually add the relevant data information (including the name, production date, shelf-life, and the like of the target food) of the target food to the terminal device by the user. It can be understood that the terminal device obtains the remaining shelf-life of the target object, which may be that the first device automatically determines the remaining shelf-life, specifically, the first device obtains the remaining shelf-life after processing the data information related to the target food, and sends the remaining shelf-life to the second device, and the second device receives the remaining shelf-life of the target food; the first device may acquire the relevant data information of the target food and send the data information to the second device, and the second device receives the relevant data information of the target food and processes the data information to obtain the remaining shelf life of the target food, that is, the second device automatically determines the remaining shelf life by receiving the relevant information of the target food sent by the first device. Here, the first device may be a smart home terminal device such as a refrigerator or a locker that stores target food, and the second device may be a mobile terminal device such as a mobile phone, a tablet, or a notebook. The first device and the second device can be connected through communication connection modes such as a wireless network, Bluetooth and infrared.

In another optional embodiment, the server obtains the remaining shelf-life of the target food, and the remaining shelf-life of the target food obtained by the terminal device is sent to the server, and the server obtains the remaining shelf-life of the target food; the related data information (including the name, production date, shelf life and the like of the target food) of the target food acquired by the terminal device can be sent to the server, and the server analyzes and processes the obtained remaining shelf life of the target food.

Step 102: and when the remaining quality guarantee duration of the target food is less than or equal to the set reminding duration, acquiring the cooking reference information corresponding to the target food.

Here, it should be noted that the set reminding time length may be set in the terminal device by the user, or may be sent to the server through the terminal. The reminding duration is as follows: the user is prompted for a period of time to cook and/or eat as soon as possible before the end of the shelf life. Optionally, the reminder duration is shorter than the shelf-life duration. For example, the reminder duration is an expiration duration of 1/2 or an expiration duration of 1/3. The end time corresponding to the reminding duration may be: the last quality guarantee date corresponding to the quality guarantee time; the starting time corresponding to the reminding duration may be: and finally, pushing the reminding time length forward by the quality guarantee date.

Optionally, the reminding duration is how long before the target food is due to the end of the target food, and is preset in the terminal device by the user according to the amount of the food and the variety of the food; generally, the reminding time is set according to the production date and the quality guarantee time of the target food, specifically, the expiration date of the target food is calculated according to the production date and the quality guarantee time of the target food, and then the reminding time is set according to the expiration date. Here, assuming that the remaining shelf life (the expiration time from the target food) is one month, which means that the food becomes expired after one month, and the set reminding time is one month or one and a half months, when the remaining shelf life of the target food is less than or equal to the reminding time set by the user, that is, when the condition that the remaining shelf life of the target food is less than or equal to the set reminding time is satisfied, the server or the terminal acquires the cooking reference information corresponding to the target food. In other embodiments, the set reminding duration may be a default duration set before the terminal device leaves the factory, for example, ten days before the food is due as the default duration.

Further, the cooking reference information refers to time reference information and/or cooking method reference information for cooking the target food; the cooking method reference information may be cooking utensil reference information and/or cooking process reference information. Different target foods correspond to different cooking reference information, and the step of acquiring the cooking reference information corresponding to the target foods refers to that terminal equipment acquires the cooking reference information corresponding to the target foods. The cooking reference information may include: various reference information or recommendation information for the user to cook the target food, for example, parameters such as a reference recipe or recommendation food for cooking the target food, a recommendation time for cooking the target food, a cooking manner for cooking the target food, a cooking device used for cooking, and the like.

Specifically, the cooking reference information corresponding to the target food is searched from the server according to the target food. For example, according to the name of the target food, the cooking reference information corresponding to the target food is searched from the server or the cloud database, so that the user can refer to when and/or how to cook the target food according to the cooking reference information.

In an optional embodiment, the obtaining of the cooking reference information corresponding to the target food refers to searching the cooking reference information corresponding to the target food from a local cooking reference information list according to the target food; wherein the cooking reference information list includes: and the target food corresponds to the cooking reference information.

Here, it should be noted that, the cooking reference information corresponding to the target food is queried from a local cooking information list according to the target food, and it can be understood that, the server queries the cooking reference information corresponding to the target food from a server local cooking information list according to the target food; the terminal device may also be understood as querying, according to the target food, the cooking reference information corresponding to the target food from a local cooking information list of the terminal device. Here, the cooking reference information list is pre-stored in a memory of the server or the terminal device.

In addition, in an alternative embodiment, please refer to fig. 2, fig. 2 is a flowchart illustrating a method for acquiring cooking reference information of a target food according to an embodiment of the present invention, as shown in fig. 2, the method includes the following steps:

step 201: setting a reminding time length when the first equipment stores the target food;

here, the first device is a terminal device, and assuming that the first device is an intelligent refrigerator, when target food is put into the intelligent refrigerator, a reminding time duration is set, where the reminding time duration may be set according to the material property of the target food and/or the eating habit of a user, for example, the target food is eggs, and the reminding time duration is usually set to seven days; however, if the target food is edible oil, the reminding duration is usually set to three months, that is, the user is reminded to eat the edible oil as soon as possible three months before the edible oil expires.

The first device may also be an intelligent household device such as a locker and having functions of storage, communication, and the like, and here, the example is an intelligent refrigerator.

Step 202: the first equipment collects the production date and the quality guarantee period of the target food;

the production date and the shelf life of the target food can be collected according to a camera on the intelligent refrigerator, even the name of the target food, of course, the name of the target food can be input into the intelligent refrigerator by a user, and even the production date and the shelf life can be input by the user. For some foods, no packaging label is provided, so that the shelf life of the target food can be obtained only through information input by a user.

Step 203: calculating the remaining time of the target food according to the production date, the quality guarantee time and the current time;

specifically, the intelligent refrigerator calculates the remaining time of the target food according to the production date, the quality guarantee time and the current time.

Step 204: and judging whether the remaining shelf life of the target food is less than or equal to the set reminding time, if so, executing the step 205, and if not, returning to the step 202.

Step 205: the first equipment acquires cooking reference information corresponding to the target food;

and the intelligent refrigerator judges that the residual quality guarantee time of the target food is less than or equal to the set reminding time, and acquires the cooking reference information corresponding to the target food.

Step 206: and the first equipment sends the cooking reference information corresponding to the target food to the second equipment.

Here, the second device is also a terminal device, the second device is a mobile terminal device, for example, a mobile phone, and the first device sends the acquired cooking reference information corresponding to the target food to the second device (mobile phone), and the cooking reference information can be displayed on the second device (mobile phone) for a user to read.

It should be noted that the first device and the second device may be connected through a wireless network, bluetooth, infrared, or other communication connection.

Further, the cooking reference information includes: recipe information; the acquiring of the cooking reference information corresponding to the target food comprises: and acquiring the recipe information corresponding to the target food. Table 1 is a schematic table of a correspondence relationship between target food and recipe information in the embodiment of the present invention, as shown in table 1, the target food is an egg, the recipe 1 and the recipe 2 of the egg are stored in a memory of a server or a terminal device in advance, and when the remaining shelf life of the egg is less than or equal to a set reminding duration, the recipe 1 and the recipe 2 corresponding to the egg are obtained; correspondingly, if the target food is soybeans, the recipes 1 and 2 of the soybeans are stored in a memory of a server or a terminal device in advance, and when the remaining quality guarantee duration of the soybeans is less than or equal to the set reminding duration, the recipes 1 and 2 of the soybeans are obtained, so that even if the cooking knowledge or cooking technology of a user is limited, the foods which are about to expire can be effectively processed according to the pushed recipe information, and the waste of the foods is avoided. Meanwhile, compared with the method that the user needs to go to a person with good internet inquiry or consultation cooking technology to obtain the recipe information, the method for directly pushing the cooking reference information (such as the recipe information) is more convenient, and the user experience is improved.

TABLE 1

It should be noted that, in some embodiments, the memory of the server or the terminal device does not need to store the recipe information corresponding to the target food in advance, and after the target food is obtained, the terminal or the server may find the recipe information corresponding to the target food in the cloud or the database according to the name of the target food and display the recipe information on the terminal screen or send the recipe information to the terminal device.

Further, the cooking reference information may further include: the obtaining of the cooking reference information corresponding to the target food includes: and acquiring cooking time recommendation information corresponding to the target food. Table 2 is a schematic table of a corresponding relationship between target food and cooking time recommendation information in the embodiment of the present invention, as shown in table 2, the target food is an egg, the cooking time recommendation information of the egg is stored in a memory of a server or a terminal device in advance, and when the remaining shelf life of the egg is less than or equal to a set reminding duration, the cooking time recommendation information corresponding to the egg is obtained; correspondingly, if the target food is the soybeans, the cooking time recommendation information of the soybeans is stored in a memory of a server or a terminal device in advance, when the remaining quality guarantee duration of the soybeans is less than or equal to the set reminding duration, the cooking time recommendation information of the soybeans is obtained, and the user can be reminded of the preset time before the cooking time according to the requirement, so that the user can process the target food according to the recommended cooking time. Therefore, the time schedule for processing the target foods is provided for the user, the user can process the target foods orderly according to the time schedule, waste of the foods is avoided, and meanwhile user experience can be improved.

TABLE 2

It should be noted that the cooking time recommendation information may also be intermittent reminding information, for example, the food a is expired for only ten days, and the cooking time recommendation information may be preset information that automatically prompts the user to cook the food a before dinner cooking, for example, six o' clock. Therefore, the user does not need to distribute and arrange food, and can adaptively arrange according to daily reminding information, for example, the user needs to have a meal while going out on one day and can not cook food A, and the user can adjust to the lunch for cooking by himself at the moment.

It should be added that, in step 102, the cooking reference information corresponding to the target food is obtained, or the recipe information and the cooking time recommendation information corresponding to the target food are obtained at the same time.

Further, in an optional embodiment, in step 102, the obtaining cooking reference information corresponding to the target food includes: acquiring cooking reference information corresponding to the cooking equipment associated with the target food; in table 1, if the user does not store the cooking device, such as a soymilk maker, in the terminal or the server, the cooking reference information corresponding to the target food, such as recipe 2 information in the recipe information of soybeans, may not be present, so that by obtaining the cooking reference information corresponding to the cooking device associated with the target food, the existing cooking device of the user may be effectively utilized, and the recipe information that the existing cooking device may make for the target food is recommended on the basis of the existing cooking device, so as to reduce the selection of the recipe information of the user, help the user quickly determine which recipe information to use under the condition of the existing cooking device, and process the target food.

In another optional embodiment, in step 102, the obtaining cooking reference information corresponding to the target food further includes: acquiring cooking reference information corresponding to health data of a target object associated with the target food; here, the health data of the target object associated with the target food may be understood as health data information of the target object pre-stored in the terminal or the server, where the target object may be a food object of the target food, for example, the target food is a hypertensive patient who should eat a food with low salt and sugar, in this case, the recipe 1 information does not exist in the cooking reference information corresponding to the target food, for example, in the recipe information of soybeans (since the recipe 1 information corresponding to soybeans is a table of a lot of salt, it is not suitable for the hypertensive patient to eat), by acquiring the cooking reference information corresponding to the health data of the target object associated with the target food, the user can be helped to provide a healthier eating way for the target object, and the user experience is enhanced.

Further, the obtaining of the cooking reference information corresponding to the target food includes: and acquiring cooking reference information corresponding to at least two target foods.

Specifically, the obtaining of the cooking reference information corresponding to the target food may be to search the cooking reference information corresponding to each target food in a cooking reference information list, and obtain the cooking reference information corresponding to each target food together according to a comparison result.

Specifically, the cooking reference information corresponding to the target food may be obtained, or the cooking reference information corresponding to each target food may be searched from a server or a database, and the cooking reference information corresponding to each food is obtained through calculation and analysis. Therefore, when more than one target food is provided, each target food has the corresponding cooking reference information, and the cooking reference information corresponding to each target food is selected so as to cook the target foods at the same time, so that the trouble of independently processing each target food is reduced, the processing time is saved, and the waste of the foods is better avoided.

It should be added that, because the cooking reference information corresponding to the target food may be more, especially, if the cooking reference information is obtained through query of a server or a database, the cooking reference information of the target food may be sorted according to a predetermined rule, so that a predetermined amount of cooking reference information is obtained according to the sorting information. In an alternative embodiment, the predetermined rule may be sorting according to the reading frequency of the cooking reference information, and selecting a predetermined number of cooking reference information to be obtained, for example, obtaining the cooking reference information with the reading frequency ranked in the top ten. In another alternative embodiment, when there is more than one target food, the predetermined rule may be that the target foods are sorted according to the number of the target foods matched with the cooking reference information, and the predetermined number of cooking reference information is selected for obtaining, for example, the first two of the target foods matched with the cooking reference information are selected for obtaining, and if the first cooking reference information corresponds to five target foods, the second cooking reference information corresponds to three target foods, and the third cooking reference information corresponds to one target food, the first cooking reference information and the second cooking reference information are obtained.

Based on the method for obtaining cooking reference information of target food provided in the foregoing embodiment, taking a server as an execution subject as an example, a specific implementation process of the method for obtaining cooking reference information of target food provided in the embodiment of the present invention is further described in detail in a manner of creating an account system, please refer to fig. 3.

Fig. 3 is a schematic specific flowchart of another method for acquiring cooking reference information of a target food according to an embodiment of the present invention, as shown in fig. 3, the method includes the following steps:

step 301: the server acquires food information including a name, a production date and a shelf life;

here, the server obtains the food information, which may be that a camera of the terminal device shoots a food package label, and processes the shot image to obtain information of the food, specifically, name, production date and shelf life data information of the food, and sends the data information to the server, so that the server obtains the food information; it is also possible to obtain the food information of the food by direct user self-reading.

Step 302: adding food information to a user account system;

specifically, the obtained food information is added to the user account system through the terminal device and is synchronized to the server, wherein the obtained food information is added to the user account system through the terminal device, and the food information data obtained through analysis by the terminal device can be automatically added to the user account system; the food information data can be also manually input into the terminal equipment by the user and then synchronized into the user account system.

Step 303: setting one or more reminder durations for the food;

here, one or more reminder durations are set in the terminal device for the food, the setting being synchronized in the server. And if the user does not set the reminding time length, adopting default reminding time length.

Step 304: the server acquires the remaining shelf life of the food;

here, the server calculates the remaining shelf life of the food by the acquired production date, shelf life and current time of the food.

Step 305: the server judges whether the residual quality guarantee period of the food is less than or equal to the set reminding period; if yes, go to step 306; if not, go to step 304;

here, the server judges whether the remaining shelf life of the food is less than or equal to the set reminding duration; if yes, go to step 306; if not, go to step 304.

Step 306: the server acquires cooking reference information corresponding to the food in the account system;

specifically, there may be multiple account systems in the server, where one account system corresponds to each target user, where step 306 specifically includes: and acquiring cooking reference information corresponding to the food in the account system of the target user. In other account systems, the cooking reference information corresponding to the food is not the same. For example, in the account system of zhang san, the corresponding cooking reference information of the egg only exists in the recipe 1 corresponding to the egg as in table 1, but in the account system of lie san, the corresponding cooking reference information of the egg exists in the recipes 1 and 2 corresponding to the egg as in table 1.

Step 307: acquiring related information of the food pre-recorded in an account system;

specifically, the account system pre-enters relevant information of the food, including cooking equipment information associated with the food and/or health data information of a target object associated with the food.

Step 308: and obtaining the cooking reference information of the food according to the related information of the food, and sending the cooking reference information to the user terminal.

Specifically, the cooking reference information of the food is obtained according to the related information of the food pre-entered in the account system, for example, the user pre-enters the cooking devices such as an egg steamer and a soymilk maker, and the cooking reference information of the cooking devices is obtained according to the information, so that the food can be cooked by the existing cooking devices of the user better.

Specifically, cooking reference information of the food is obtained according to health data information corresponding to a target pre-entered in an account system, for example, the user is a hypertensive patient and is not suitable for eating the food such as polysaccharide with high salt content, and the cooking reference information of the food with low salt content, low sugar content and the like is obtained according to the information; and the cooking reference information which is adapted to the hypertension patient and corresponds to the food is obtained according to the related information, so that the cooking reference information can be better provided for the user, and the user experience is facilitated.

Finally, the cooking reference information is sent to a user terminal, wherein the user terminal can be a mobile terminal including a mobile phone, a tablet and the like of the user.

In the specific implementation mode, various types of information of the target food are acquired in various ways for the target food, and when the remaining shelf life of the food is less than or equal to the set reminding duration, corresponding cooking reference information obtained by the food according to the relevant information of the food is acquired and sent to the user terminal. Therefore, the things can be effectively processed before the things expire, food waste is avoided, cooking reference information which is more convenient for a user to process the food can be obtained according to other information related to the food, such as cooking equipment, and even healthier cooking reference information which is used for the user to process the food can be obtained according to health data of the target object, so that user experience is enhanced.

In order to implement the method of the embodiment of the invention, the invention also provides a device for acquiring the cooking reference information of the target food, which is used for implementing the specific details of the method for acquiring the cooking reference information of the target food of the invention and achieving the same effect.

Fig. 4 is a functional structure schematic diagram of a cooking reference information acquiring apparatus for target food according to an embodiment of the present invention, and as shown in fig. 4, the cooking reference information acquiring apparatus for target food includes: a first acquisition module 41 and a second acquisition module 42; wherein the content of the first and second substances,

the first obtaining module 41 is used for obtaining the remaining shelf life of the target food;

the second obtaining module 42 is configured to obtain the cooking reference information corresponding to the target food when the remaining shelf life of the target food is less than or equal to the set reminding duration.

Optionally, the apparatus further comprises a sending module;

the sending module is used for sending the cooking reference information corresponding to the target food to the second equipment by the first equipment.

Optionally, the first obtaining module 42 is further configured to:

the second equipment receives the residual quality guarantee period sent by the first equipment; or the like, or, alternatively,

the second device automatically determines the remaining shelf-life.

Optionally, the first obtaining module 41 is specifically configured to:

collecting the production date and the quality guarantee period of the target food;

and calculating the remaining quality guarantee period of the target food according to the production date, the quality guarantee period and the current time.

Optionally, the second obtaining module 42 is further configured to:

and acquiring cooking reference information corresponding to at least two target foods.

Optionally, the second obtaining module 42 is specifically configured to:

and searching and obtaining the cooking reference information corresponding to the target food from a server according to the target food.

Optionally, the second obtaining module 42 is specifically configured to:

searching cooking reference information corresponding to the target food from a local cooking reference information list according to the target food; wherein the cooking reference information list includes: and the target food corresponds to the cooking reference information.

Optionally, the cooking reference information includes: recipe information; the second obtaining module 42 is specifically configured to:

and acquiring the recipe information corresponding to the target food.

Optionally, the cooking reference information further includes: cooking time recommendation information; the second obtaining module 42 is specifically configured to:

and acquiring cooking time recommendation information corresponding to the target food.

Optionally, the second obtaining module 42 is specifically configured to:

acquiring cooking reference information corresponding to the cooking equipment associated with the target food; and/or the presence of a gas in the gas,

obtaining cooking reference information corresponding to health data of a target object associated with the target food.

In practical applications, the first obtaining module 41, the second obtaining module 42, and the sending module may be implemented by a Processor in an application-function switching device, such as a Central Processing Unit (CPU), a Micro Processing Unit (MPU), a Digital Signal Processor (DSP), a Field Programmable Gate Array (FPGA), or the like.

In the cooking reference information acquiring apparatus for the target food provided in the above embodiment, when the cooking reference information is acquired, only the division of the program modules is illustrated, and in practical applications, the processing distribution may be completed by different program modules according to needs, that is, the internal structure of the apparatus may be divided into different program modules to complete all or part of the processing described above. In addition, the cooking reference information acquiring device of the target food and the cooking reference information acquiring method embodiment of the target food provided by the above embodiments belong to the same concept, and specific implementation processes thereof are detailed in the method embodiments and are not described herein again.

The embodiment of the invention also provides electronic equipment which comprises any one of the cooking reference information acquisition devices for the target food.

In order to implement the method of the embodiment of the invention, the invention also provides a device for acquiring the cooking reference information of the target food, which is used for implementing the specific details of the method for acquiring the cooking reference information of the target food of the invention and achieving the same effect.

Fig. 5 is a schematic diagram of a hardware structure of a device for acquiring cooking reference information of a target food according to an embodiment of the present invention, and as shown in fig. 5, the acquiring of the cooking reference information of the target food includes: a processor 51, and a memory 52 for storing computer programs operable on the processor 51; wherein the content of the first and second substances,

the processor 51 is configured to, when running the computer program, execute:

acquiring the remaining shelf life of the target food;

and when the remaining quality guarantee duration of the target food is less than or equal to the set reminding duration, acquiring the cooking reference information corresponding to the target food.

Optionally, the processor 51 is configured to, when running the computer program, perform:

and the first equipment sends the cooking reference information corresponding to the target food to the second equipment.

Optionally, the processor 51 is configured to execute, when the program for obtaining the remaining shelf life of the target food is executed:

the second equipment receives the residual quality guarantee period sent by the first equipment;

or the like, or, alternatively,

the second device automatically determines the remaining shelf-life.

Optionally, the processor 51 is configured to execute, when the program for automatically determining the remaining shelf life by the first device is executed:

collecting the production date and the quality guarantee period of the target food;

and calculating the remaining quality guarantee period of the target food according to the production date, the quality guarantee period and the current time.

Optionally, the processor 51 is configured to, when the program for acquiring the cooking reference information corresponding to the target food is executed, execute:

and acquiring cooking reference information corresponding to at least two target foods.

Optionally, the processor 51 is configured to, when the program for acquiring the cooking reference information corresponding to the target food is executed, execute:

and searching and obtaining the cooking reference information corresponding to the target food from a server according to the target food.

Optionally, the processor 51 is configured to, when the program for acquiring the cooking reference information corresponding to the target food is executed, execute:

searching cooking reference information corresponding to the target food from a local cooking reference information list according to the target food; wherein the cooking reference information list includes: and the target food corresponds to the cooking reference information.

Optionally, the cooking reference information comprises recipe information; the processor 51 is configured to, when the program for acquiring the cooking reference information corresponding to the target food is executed, execute:

and acquiring the recipe information corresponding to the target food.

Optionally, the cooking reference information further includes: cooking time recommendation information; the processor 51 is configured to, when the program for acquiring the cooking reference information corresponding to the target food is executed, execute:

and acquiring cooking time recommendation information corresponding to the target food.

Optionally, the processor 51 is configured to, when the program for acquiring the cooking reference information corresponding to the target food is executed, execute:

acquiring cooking reference information corresponding to the cooking equipment associated with the target food; and/or the presence of a gas in the gas,

obtaining cooking reference information corresponding to health data of a target object associated with the target food.

In practice, of course, the various components are coupled together by a bus system 53, as shown in FIG. 5. It will be appreciated that the bus system 53 is used to enable communications among the components. The bus system 53 includes a power bus, a control bus, and a status signal bus in addition to the data bus. For clarity of illustration, however, the various buses are labeled as bus system 53 in fig. 5.

The present invention also provides a computer storage medium having stored thereon an executable program that when executed by a processor performs the steps of:

acquiring the remaining shelf life of the target food;

and when the remaining quality guarantee duration of the target food is less than or equal to the set reminding duration, acquiring the cooking reference information corresponding to the target food.

Optionally, the executable program, when executed by the processor, performs the steps of:

and the first equipment sends the cooking reference information corresponding to the target food to the second equipment.

Optionally, the executable program, when executed by the processor, is configured to implement the step of obtaining a remaining shelf-life of the target food:

the second equipment receives the residual quality guarantee period sent by the first equipment;

or the like, or, alternatively,

the second device automatically determines the remaining shelf-life.

Optionally, the executable program, when executed by the processor, is configured to implement the step of the first device automatically determining the remaining shelf-life by:

collecting the production date and the quality guarantee period of the target food;

and calculating the remaining quality guarantee period of the target food according to the production date, the quality guarantee period and the current time.

Optionally, when executed by the processor, the executable program is configured to implement the step of acquiring the cooking reference information corresponding to the target food:

and acquiring cooking reference information corresponding to at least two target foods.

Optionally, when executed by the processor, the executable program is configured to implement the step of acquiring the cooking reference information corresponding to the target food:

and searching and obtaining the cooking reference information corresponding to the target food from a server according to the target food.

Optionally, when executed by the processor, the executable program is configured to implement the step of acquiring the cooking reference information corresponding to the target food:

searching cooking reference information corresponding to the target food from a local cooking reference information list according to the target food; wherein the cooking reference information list includes: and the target food corresponds to the cooking reference information.

Optionally, the cooking reference information includes: recipe information; when being executed by a processor, the executable program realizes the steps of acquiring the cooking reference information corresponding to the target food:

the acquiring of the cooking reference information corresponding to the target food comprises:

and acquiring the recipe information corresponding to the target food.

Optionally, the cooking reference information further includes: cooking time recommendation information; when being executed by a processor, the executable program realizes the steps of acquiring the cooking reference information corresponding to the target food:

the acquiring of the cooking reference information corresponding to the target food comprises:

and acquiring cooking time recommendation information corresponding to the target food.

Optionally, when being executed by the processor, the executable program is to specifically implement the step of acquiring the cooking reference information corresponding to the target food:

acquiring cooking reference information corresponding to the cooking equipment associated with the target food; and/or the presence of a gas in the gas,

obtaining cooking reference information corresponding to health data of a target object associated with the target food.

Any of the embodiments described above below provide several specific examples:

fig. 6A is a schematic view of a target food information entry process provided by an embodiment of the present invention, and as shown in fig. 6, the flow of the food entry method is as follows:

step 601: acquiring information of food, including name, production date and shelf life;

here, the remaining shelf life of the target food is acquired by acquiring the name, production date, and shelf life of the food. Specifically, the information of the food is acquired, wherein the information at least comprises an identification number, a production date and a shelf life of the food, and the acquisition mode can be that a user uses a camera device of the intelligent terminal device (a first device refrigerator and/or a second device mobile terminal) to shoot a packaging label of the food, and a shooting result is sent to a software program on the intelligent terminal device or uploaded to a specific server.

Step 602: adding the food information to the user account information;

here, the food information is added to the user account information and synchronized to a specific server; the adding mode can be actively added by the user or automatically added when the food information is obtained in step 601.

Step 603: the user sets one or more reminder durations for the food.

Here, the user sets one or more reminding durations of the food in the account information, namely how long before the expiration time is reached, and synchronizes to a specific server; it is necessary to supplement that the user may not set the reminding duration by directly using the default reminding duration in the account information. Wherein, the reminding duration is as follows: the user is prompted for a period of time to cook and/or eat as soon as possible before the end of the shelf life. Optionally, the reminder duration is shorter than the shelf-life duration. For example, the reminder duration is an expiration duration of 1/2 or an expiration duration of 1/3. The end time corresponding to the reminding duration may be: the last quality guarantee date corresponding to the quality guarantee time; the starting time corresponding to the reminding duration may be: and finally, pushing the reminding time length forward by the quality guarantee date.

Referring to fig. 6B when the remaining shelf-life of the food is equal to the set reminding duration, fig. 6B is a schematic view of a processing workflow when the remaining shelf-life of the target food is equal to the set reminding duration according to an embodiment of the present invention, as shown in fig. 6, the processing workflow includes the following steps:

step 604: the server acquires cooking reference information in the account information;

here, the server acquires cooking reference information in the account information, at least recipe collection information, namely, recipe information corresponding to the food; optionally, the server obtains the cooking reference information in the account information, including: and the recipe information of the food is corresponding to the intelligent household appliance information and/or the health data information of the target object bound in the account information.

Step 605: the server acquires information input before reminding of due food;

here, the server acquires information entered before reminding of the expiration of food, including at least an identification number, a production date, and a shelf life of the food; in some embodiments, the server obtains information entered before the reminder expires, and may also obtain food information for the upcoming expiration reminder but not the reminder that has not expired.

Step 606: the server calculates a single recipe or a recipe list that can be used to preferentially treat the food, and informs the user.

Here, the server calculates the remaining shelf-life of the food according to a preset calculation mode, that is, the remaining shelf-life of the food is calculated according to the production date, the shelf-life and the current time of the food, and further, the information in the steps 604 and 605 is integrated to obtain a single recipe or a recipe list which can preferentially process the food which is reminded of expiring; for example, the server pushes corresponding single recipes or a recipe list according to the priority order of the remaining quality guarantee period from short to long, and informs the user. Further, the ordering of the recipe list is also ordered according to a predetermined calculation mode, specifically, the calculation mode may be a simple database field matching mode, and the more matching fields, the earlier the ordering in the recipe list. Further, the informing manner may be to push a message to the smart terminal device (the first device refrigerator and/or the second device mobile terminal) used by the user, send a voice, and the like.

In practical applications, the computer-readable storage medium may be a Memory such as a Ferroelectric Random Access Memory (FRAM), a Read-Only Memory (ROM), a Programmable Read-Only Memory (PROM), an erasable Programmable Read-Only Memory (EPROM), an electrically erasable Programmable Read-Only Memory (EEPROM), a Flash Memory (Flash Memory), a magnetic surface Memory, an optical disk, or a Compact Disc Read-Only Memory (CD-ROM).

The above description is only a preferred embodiment of the present invention, and is not intended to limit the scope of the present invention. Any modification, equivalent replacement, and improvement made within the spirit and scope of the present invention are included in the protection scope of the present invention.

20页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种食谱推荐方法、装置、烹饪电器和计算机存储介质

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!