Detailed Description
So that the manner in which the features and elements of the disclosed embodiments can be understood in detail, a more particular description of the disclosed embodiments, briefly summarized above, may be had by reference to the embodiments, some of which are illustrated in the appended drawings. In the following description of the technology, for purposes of explanation, numerous details are set forth in order to provide a thorough understanding of the disclosed embodiments. However, one or more embodiments may be practiced without these details. In other instances, well-known structures and devices may be shown in simplified form in order to simplify the drawing.
The terms "first," "second," and the like in the description and in the claims, and the above-described drawings of embodiments of the present disclosure, are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It should be understood that the data so used may be interchanged under appropriate circumstances such that embodiments of the present disclosure described herein may be made. Furthermore, the terms "comprising" and "having," as well as any variations thereof, are intended to cover non-exclusive inclusions.
The term "plurality" means two or more unless otherwise specified.
In the embodiment of the present disclosure, the character "/" indicates that the preceding and following objects are in an or relationship. For example, A/B represents: a or B.
The term "and/or" is an associative relationship that describes objects, meaning that three relationships may exist. For example, a and/or B, represents: a or B, or A and B.
Referring to fig. 1, an embodiment of the present disclosure provides a method for recipe recommendation, including:
s01, updating the dish database according to the habit fire value of the user;
s02, detecting the current food in the refrigerator, and matching menu information corresponding to each food in the refrigerator according to the dish database;
and S03, recommending the menu information to the user.
By adopting the method for recommending the menu provided by the embodiment of the disclosure, the menu database can be updated by using the habit fire value of the user, and meanwhile, the menu information corresponding to the menu database is matched according to the food in the refrigerator, and the recommendation prompt is given to the user, so that the function of automatically recommending the menu to the user is realized, the recommendation information is more targeted, the user can quickly select the menu, and the user experience is improved.
Optionally, the recipe information is displayed through a display screen of the refrigerator.
Optionally, the fire value is acquired, including:
detecting a temperature value by a temperature sensor;
and matching according to the temperature value and the set temperature range, and matching a corresponding preset fire power value according to the temperature range.
Optionally, a temperature sensor is mounted at the lower part of the burner of the cooking appliance, the temperature sensor is in contact with a metal chassis of the burner of the cooking appliance, and the temperature sensor acquires a temperature value in real time during the operation of the cooking appliance. Optionally, the temperature sensor acquires the temperature value every time t during the operation of the cooking appliance, and optionally, t is 5 minutes.
As shown in table 1, the temperature value is matched with the set temperature range, and the corresponding preset fire power value is matched according to the temperature range; table 1 is a correspondence table of the temperature range and the preset fire value, and T is a temperature value.
Temperature range
|
Fire power value (kw)
|
T=0
|
0
|
0<T≤40
|
0.3
|
40<T≤60
|
2.4
|
60<T
|
4 |
TABLE 1
Optionally, the acquiring the fire value of the set time period includes: detecting a temperature value of the bottom of the pot through a temperature sensor in a set time period; and determining the temperature range of the temperature value of the pot bottom, and matching the corresponding preset fire force value according to the temperature range.
Optionally, the acquiring the fire value of the set time period includes: in a set time period, a switch gear is detected through a fire detection device, and a fire value corresponding to the fire gear is obtained by detecting the fire gear.
Alternatively, the fire power detecting means is a potentiometer mounted on a knob switch of the cooking appliance that controls the fire power of the burner. And in the running process of the cooking appliance, the potentiometer acquires the switch gear in real time. Table 2 shows the correspondence between the switch gear and the predetermined value of the fire, and as shown in table 2, different values of the fire correspond to different switch gears.
Switch gear
|
Fire power value (kw)
|
Closing gear
|
0
|
First gear
|
0.3
|
Second gear
|
2.4
|
Three-gear
|
4 |
TABLE 2
Alternatively, the fire power value is detected by a potentiometer for detecting the rotation angle of a knob switch of the cooking appliance.
Optionally, W is a fire power value, and when W is more than 0 and less than or equal to 0.3, the fire power is corresponding to small fire; when W is more than 0.3 and less than or equal to 2.4, the fire power is middle fire; when W is more than 2.4 and less than or equal to 4, the fire is big fire.
Optionally, updating the dish database according to the habit fire value of the user includes: acquiring a fire power value of a set time period, acquiring a habit fire power value of a user according to the duration of the fire power value, matching a menu corresponding to the habit fire power value of the user, and recording the menu and corresponding food to update a dish database.
Optionally, a fire power value of the cooking appliance used each time in the last month and a duration of the corresponding fire power value are obtained, and the fire power value with the longest duration in the set time period is the user habit fire power value. For example, the duration of the fire value of 2.8 in the last month is the longest, i.e., 2.8 is the user's habit fire value, which corresponds to a big fire.
In some embodiments, detecting food within a current refrigerator includes: collecting images in the refrigerator at the current moment, and determining food in the refrigerator through image analysis; or reading the electronic tags of the food in the refrigerator, and determining the food in the refrigerator according to the reading result. Optionally, detecting food within the refrigerator comprises: the food inside the refrigerator is identified by using radio frequency. Optionally, identifying food inside the refrigerator using radio frequency includes: reading an electronic tag configured on the food, wherein the electronic tag comprises the name, the type and the production date of the food.
Optionally, the name of the food displayed by the electronic tag in the refrigerator is information such as tomatoes, eggs, lean pork, pork fat intestines and the like through radio frequency identification, and then the food such as tomatoes, eggs, lean pork, pork fat intestines and the like is in the refrigerator. Thus, it is possible to effectively and rapidly recognize information about food, such as the kind of food, for example, tomatoes, vegetables, and the date of production of 12 months and 1 day, from the inside of the refrigerator by the user.
Optionally, matching recipe information corresponding to each food in the refrigerator according to the dish database includes: and matching the detected food with a dish database to obtain all menu information containing the food.
Alternatively, it is detected that the foods in the refrigerator are tomatoes, eggs, lean pork, fat pork intestines, squids and the like, and the updated materials in the dish database correspond to all the recipe information of tomatoes, eggs, lean pork, fat pork intestines and squids through the user's habit of fire force value, such as big fire, for example, such as tomato fried eggs, tomato egg soup, agaric shredded pork, fish-flavored shredded pork, braised fat pork intestines, fire-exploded fat pork intestines, and the like, and the corresponding methods thereof. For example, the shredded pork with fish flavor corresponds to practice 6, and comprises: the method comprises the steps of cutting pork into shreds, pickling, cutting scallion into small sections, preparing seasonings, frying the pork shreds and the scallion by heating a pot and frying for 5 minutes with strong fire.
Therefore, the habit menu of the user can be obtained according to the habit fire power of the user when using the stove, and meanwhile, the corresponding menu information is matched according to the food in the refrigerator, so that the recommended menu information is more in line with the preference of the user.
Optionally, taking the habit fire value of the user as an example of big fire, the updated dish database shown in table 4 is obtained by matching the menu corresponding to the habit fire value of the user, and compared with the total dish database table 3, the cooking preference of the user can be flexibly adjusted according to the set time period by the scheme, so that the user experience is improved.
Name of menu
|
Material
|
Making method
|
Fire power
|
Tomato fried egg
|
Tomato, tomato,Egg
|
Preparation method 1
|
Big fire
|
Tomato egg soup
|
Tomato and egg
|
Preparation method 2
|
Middle fire
|
Shredded pork with pickled peppers
|
Pickled peppers and pork
|
Preparation method 4
|
Big fire
|
Auricularia auricula-judae shredded pork
|
Auricularia and lean pork
|
Preparation method 5
|
Big fire
|
Shredded pork with fish flavor
|
Pork and scallion
|
Preparation method 6
|
Big fire
|
Braised beef in soy sauce
|
Beef and potato
|
Preparation method 7
|
Small fire
|
Braised pork intestines
|
Pig's fat intestine and radish
|
Preparation method 8
|
Small fire
|
Fire-exploded fat sausage
|
Pig's fat sausage
|
Preparation method 9
|
Big fire
|
Fire-exploded squid
|
Fresh squid
|
Method of making 10
|
Big fire
|
Stewed chicken soup with Chinese yam
|
Rhizoma Dioscoreae and Carnis gallus Domesticus
|
Preparation method 11
|
Small fire
|
Stewed pork rib soup with white gourd
|
White gourd and pork chop
|
Practice 12
|
Small fire |
TABLE 3
Name of menu
|
Material
|
Making method
|
Fire power
|
Tomato fried egg
|
Tomato and egg
|
Preparation method 1
|
Big fire
|
Shredded pork with pickled peppers
|
Pickled peppers and pork
|
Preparation method 4
|
Big fire
|
Auricularia auricula-judae shredded pork
|
Auricularia and lean pork
|
Preparation method 5
|
Big fire
|
Shredded pork with fish flavor
|
Pork and scallion
|
Preparation method 6
|
Big fire
|
Fire-exploded fat sausage
|
Pig's fat sausage
|
Preparation method 9
|
Big fire
|
Fire-exploded squid
|
Fresh squid
|
Method of making 10
|
Big fire |
TABLE 4
As shown in tables 3 and 4, after the habit heat value of the user in the set time period is obtained, the menu corresponding to the habit heat value is matched in the total dish database, and the menu and the corresponding food are recorded to update the dish database. The recipes in the total dish database can be added, deleted or changed as required. For example, when the habit fire value of the user in the set time period is a big fire, the menu corresponding to the big fire and the corresponding food are matched in the total dishes database shown in table 3, and the updated dishes database shown in table 4 is obtained.
In some embodiments, recommending the recipe information to the user includes: displaying the menu information through a display screen of the refrigerator; or, the menu information is sent to the handheld terminal equipment of the user.
Optionally, the method for recipe recommendation further comprises: acquiring a user instruction; and carrying out voice playing on the menu information according to the user instruction.
Optionally, when the updated recipe database has the fire-exploded fat intestines, and the pig fat intestines are detected in the refrigerator of the user, the recipe information of the fire-exploded fat intestines is recommended to the user. When a user needs to point the fire-exploded sausage, that is, to select the method of fire-exploded sausage, the user can click the "fire-exploded sausage" displayed correspondingly on the display screen or send a voice command of the "fire-exploded sausage", and then the display screen displays or plays the method 9 corresponding to the fire-exploded sausage by voice. Therefore, menu information liked by the user can be matched according to the user habits and food in the refrigerator, the user is recommended, the menu can be recommended according to the user preferences, and the user experience is improved.
As shown in fig. 2, an apparatus for recommending recipes according to an embodiment of the present disclosure includes a processor (processor)100 and a memory (memory)101 storing program instructions, and may further include a Communication Interface (Communication Interface)102 and a bus 103. The processor 100, the communication interface 102, and the memory 101 may communicate with each other via a bus 103. The communication interface 102 may be used for information transfer. The processor 100 may call program instructions in the memory 101, the processor being configured to perform the method for recipe recommendation of the above described embodiment when executing the program instructions.
In addition, the logic instructions in the memory 101 may be implemented in the form of software functional units and stored in a computer readable storage medium when the logic instructions are sold or used as independent products.
The memory 101, which is a computer-readable storage medium, may be used for storing software programs, computer-executable programs, such as program instructions/modules corresponding to the methods in the embodiments of the present disclosure. The processor 100 executes functional applications and data processing by executing software programs, instructions and modules stored in the memory 101, namely, implements the method for menu recommendation in the above method embodiments.
The memory 101 may include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data created according to the use of the mobile terminal, and the like. In addition, the memory 101 may include a high-speed random access memory, and may also include a nonvolatile memory.
By adopting the device for recommending the menu provided by the embodiment of the disclosure, the menu database can be updated through the habit fire power value of the user using the cooker, the common cooking method of the user is obtained, meanwhile, the menu information corresponding to the menu database is matched according to the food in the refrigerator, and the recommendation prompt is carried out on the user, so that the function of automatically recommending the menu to the user can be realized, the menu can be recommended according to the food in the refrigerator according to the habit of the user, the recommendation information is more targeted, the user can quickly select the menu, and the user experience degree is improved.
The embodiment of the disclosure provides a refrigerator, which comprises the device for recommending the menu. The refrigerator can update the dish database through the habit fire power value of a user using the cooker to obtain a common cooking method of the user, meanwhile, menu information corresponding to the dish database is matched according to food in the refrigerator, recommendation prompting is carried out on the user, the function of automatically recommending menus to the user can be achieved, the food in the refrigerator can be recommended according to the habit of the user, the recommendation information is more targeted, the user can select the menu quickly, and the user experience degree is improved.
The disclosed embodiments provide a computer-readable storage medium storing computer-executable instructions configured to perform the above-described method for recipe recommendation.
The disclosed embodiments provide a computer program product comprising a computer program stored on a computer readable storage medium, the computer program comprising program instructions which, when executed by a computer, cause the computer to perform the above-described method for recipe recommendation.
The computer-readable storage medium described above may be a transitory computer-readable storage medium or a non-transitory computer-readable storage medium.
The technical solution of the embodiments of the present disclosure may be embodied in the form of a software product, which is stored in a storage medium and includes one or more instructions for enabling a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method of the embodiments of the present disclosure. And the aforementioned storage medium may be a non-transitory storage medium comprising: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes, and may also be a transient storage medium.
The above description and drawings sufficiently illustrate embodiments of the disclosure to enable those skilled in the art to practice them. Other embodiments may incorporate structural, logical, electrical, process, and other changes. The examples merely typify possible variations. Individual components and functions are optional unless explicitly required, and the sequence of operations may vary. Portions and features of some embodiments may be included in or substituted for those of others. The scope of the disclosed embodiments includes the full ambit of the claims, as well as all available equivalents of the claims. As used in this application, although the terms "first," "second," etc. may be used in this application to describe various elements, these elements should not be limited by these terms. These terms are only used to distinguish one element from another. For example, a first element could be termed a second element, and, similarly, a second element could be termed a first element, unless the meaning of the description changes, so long as all occurrences of the "first element" are renamed consistently and all occurrences of the "second element" are renamed consistently. The first and second elements are both elements, but may not be the same element. Furthermore, the words used in the specification are words of description only and are not intended to limit the claims. As used in the description of the embodiments and the claims, the singular forms "a", "an" and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. Similarly, the term "and/or" as used in this application is meant to encompass any and all possible combinations of one or more of the associated listed. Furthermore, the terms "comprises" and/or "comprising," when used in this application, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof. Without further limitation, an element defined by the phrase "comprising an …" does not exclude the presence of other identical elements in a process, method or device comprising the element. In this document, each embodiment may be described with emphasis on differences from other embodiments, and the same and similar parts between the respective embodiments may be referred to each other. For methods, products, etc. of the embodiment disclosures, reference may be made to the description of the method section for relevance if it corresponds to the method section of the embodiment disclosure.
Those of skill in the art would appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software may depend upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the disclosed embodiments. It can be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working processes of the system, the apparatus and the unit described above may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the embodiments disclosed herein, the disclosed methods, products (including but not limited to devices, apparatuses, etc.) may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, a division of a unit may be merely a division of a logical function, and an actual implementation may have another division, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form. Units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to implement the present embodiment. In addition, functional units in the embodiments of the present disclosure may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). In some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. In the description corresponding to the flowcharts and block diagrams in the figures, operations or steps corresponding to different blocks may also occur in different orders than disclosed in the description, and sometimes there is no specific order between the different operations or steps. For example, two sequential operations or steps may in fact be executed substantially concurrently, or they may sometimes be executed in the reverse order, depending upon the functionality involved. Each block of the block diagrams and/or flowchart illustrations, and combinations of blocks in the block diagrams and/or flowchart illustrations, can be implemented by special purpose hardware-based systems that perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.