CN109377259A - A kind of generation method, device and equipment for recommending dish information - Google Patents

A kind of generation method, device and equipment for recommending dish information Download PDF

Info

Publication number
CN109377259A
CN109377259A CN201811069573.4A CN201811069573A CN109377259A CN 109377259 A CN109377259 A CN 109377259A CN 201811069573 A CN201811069573 A CN 201811069573A CN 109377259 A CN109377259 A CN 109377259A
Authority
CN
China
Prior art keywords
vegetable
meal time
information
current
type
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
Application number
CN201811069573.4A
Other languages
Chinese (zh)
Inventor
沈晶晶
李杨东
庄建琼
陈振兴
陈立
何宜华
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Koubei Shanghai Information Technology Co Ltd
Original Assignee
Koubei Shanghai Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Koubei Shanghai Information Technology Co Ltd filed Critical Koubei Shanghai Information Technology Co Ltd
Priority to CN201811069573.4A priority Critical patent/CN109377259A/en
Publication of CN109377259A publication Critical patent/CN109377259A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/02Marketing; Price estimation or determination; Fundraising
    • G06Q30/0282Rating or review of business operators or products
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/06Buying, selling or leasing transactions
    • G06Q30/0601Electronic shopping [e-shopping]
    • G06Q30/0631Item recommendations
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q50/00Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
    • G06Q50/10Services
    • G06Q50/12Hotels or restaurants

Landscapes

  • Business, Economics & Management (AREA)
  • Finance (AREA)
  • Engineering & Computer Science (AREA)
  • Accounting & Taxation (AREA)
  • Strategic Management (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Tourism & Hospitality (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • Development Economics (AREA)
  • General Business, Economics & Management (AREA)
  • Theoretical Computer Science (AREA)
  • Game Theory and Decision Science (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Human Resources & Organizations (AREA)
  • Primary Health Care (AREA)
  • Medical Treatment And Welfare Office Work (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

This application discloses a kind of generation methods for recommending dish information, comprising: obtains the current meal time;Recommend the corresponding relationship between template according to the current meal time and meal time and vegetable, obtain the first vegetable recommendation template corresponding with current meal time, wherein, the vegetable quantity that first vegetable recommends template to include vegetable type and often plant vegetables under category type;Obtain preferred dish information corresponding with current meal time;According to the vegetable type, often the vegetable quantity and the preferred dish information to plant vegetables under category type generates and recommends dish information.The application is during generating recommendation dish information, in view of the difference of meal time can generate different influences to the dining demand of dining customer, therefore by the meal time alternatively vegetable recommend template factor, and preferred dish information corresponding with the meal time is combined, so that the recommendation dish information generated meets the actual demand of dining customer at the dinner hour as far as possible.

Description

A kind of generation method, device and equipment for recommending dish information
Technical field
This application involves e-commerce fields, and in particular to a kind of that the generation method of dish information, device, electronics is recommended to set Standby and storage equipment.
Background technique
With the improvement of living standards, the food and beverage sevices place such as miscellaneous dining room, restaurant is more and more, while with The development of internet economy and consumption online, numerous online food and beverage sevice platforms emerge in large numbers rapidly in large quantities.However, along with various The appearance of different food and beverage sevice platforms, it is more and more to eat customer when having dinner, the selection of vegetable is needed to spend more More time and efforts.If dining customer can be saved in selection vegetable actively to dining customer recommendation suitable vegetable During required cost time and efforts.
Therefore, how for dining customer determine that suitable vegetable is problem to be solved.
Summary of the invention
The present invention provides a kind of generation method for recommending dish information, to generate suitable vegetable for dining customer, saves The time and efforts of dining customer's required cost during selecting vegetable.The application is additionally provided with a kind of recommendation vegetable letter Device, electronic equipment and the storage equipment of breath.
A kind of generation method of recommendation dish information of the application comprising:
Obtain the current meal time;
Recommend the corresponding relationship between template, acquisition and institute according to the current meal time and meal time and vegetable State corresponding first vegetable of current meal time and recommend template, wherein first vegetable recommend template include vegetable type with And the vegetable quantity often to plant vegetables under category type;
Obtain preferred dish information corresponding with current meal time;
According to the vegetable type, often plant vegetables vegetable quantity under category type and the preferred dish information, generation push away Recommend dish information.
Optionally, it is that meal time range is pushed away with vegetable that the meal time and vegetable, which recommend the corresponding relationship between template, Recommend the corresponding relationship between template;
It is described that corresponding relationship between template is recommended according to the current meal time and meal time and vegetable, it obtains The first vegetable corresponding with current meal time recommends template, comprising:
Determine current meal time range belonging to the current meal time;
It is index with the current meal time range, recommends pair between template in the meal time range and vegetable In should being related to, the first vegetable recommendation template corresponding with the current meal time range is searched.
Optionally, it further includes the vegetable requirement often to plant vegetables under category type that first vegetable, which recommends template,;
According to the vegetable type, often the vegetable quantity and the preferred dish information to plant vegetables under category type, it is raw At recommending dish information, comprising: according to the vegetable type, often plant vegetables vegetable quantity under category type, often plant vegetables under category type Vegetable require and the preferred dish information, generate recommend dish information.
Optionally, the above method further include:
Obtain the meal time;
According to the real consumption information for being directed to vegetable in the meal time, the real consumption in the meal time is obtained Vegetable type and the vegetable quantity often to plant vegetables under category type;
According to the real consumption vegetable type and the every vegetable quantity that plants vegetables under category type in the meal time, generate Vegetable corresponding to the meal time recommends template;
Establish the corresponding relationship between the meal time and vegetable recommendation template.
Optionally, the above method further include: obtain current dining room classification, current dining customer quantity and the customer that currently eats Between at least one of relation information information;
It is described that corresponding relationship between template is recommended according to the current meal time and meal time and vegetable, it obtains The first vegetable corresponding with current meal time recommends template, comprising: according to the current dining room classification, the current use Eat at least one of relation information information between customer quantity and the current dining customer, the current meal time and Meal time and vegetable recommend the corresponding relationship between template, obtain and the current dining room classification, the current dining customer At least one of relation information information and the current meal time are corresponding between quantity and the current dining customer First vegetable recommends template;
Wherein, it is specially dining room classification, dining customer that the meal time and vegetable, which recommend the corresponding relationship between template, At least one of relation information information, meal time recommend the corresponding pass between template with vegetable between quantity and dining customer System.
Optionally, the above method further include:
Obtain dining room classification, at least one of relation information information and use between customer quantity and dining customer of eating It eats the time;
According to the real consumption information for being directed to vegetable in the meal time, obtain in the dining room classification, dining customer Between quantity and dining customer under at least one of relation information information and the meal time real consumption vegetable Type and the vegetable quantity often to plant vegetables under category type;
According at least one of relation information information between the dining room classification, dining customer quantity and dining customer It is lower and correspond in the real consumption vegetable type of the meal time and the often vegetable quantity that plants vegetables under category type, generation At least one of relation information information and when the dining between the dining room classification, dining customer quantity and dining customer Between vegetable recommend template;
Establish at least one of relation information information between the dining room classification, dining customer quantity and dining customer, The meal time and the vegetable recommend the corresponding relationship between template.
Optionally, the current dining room classification of acquisition includes:
Obtain the geographical location information of current dining customer;
According to the corresponding relationship between the geographical location information and geographical location information and dining room information, acquisition and institute State the corresponding dining room information of geographical location information;
According to the corresponding relationship between the dining room information and dining room information and dining room classification, the current dining room is obtained Classification.
Optionally, the current dining room classification of acquisition includes:
Current dining customer is obtained in the triggering for being directed to the first dining room information on interface of ordering;
According to the corresponding relationship between first dining room information and dining room information and dining room classification, obtain and described the The corresponding current dining room classification of one dining room information.
Optionally, described to obtain current dining room classification, current relationship letter between customer quantity and current dining customer of eating At least one of breath information includes: to obtain current dining customer or the attendant that orders in the current meal provided on interface of ordering At least one of relation information information between Room classification, current dining customer quantity and current dining customer.
Optionally, the above method further include:
According to the history consumption information for being directed to vegetable in the meal time, will be more than in the meal time consumption quantity The dish information of first amount threshold is labeled as preferred dish information corresponding with the meal time;And/or
According to for the historical review data in meal time consumption vegetable, vegetable will be consumed in the meal time Favorable comment quantity is more than the dish information of the second amount threshold labeled as preferred dish information corresponding with the meal time;With/ Or,
Dining room is labeled as preferred vegetable corresponding with the meal time in the dish information that the meal time is promoted mainly Information;And/or
The dish information of favourable condition will be met in the meal time labeled as corresponding with the meal time preferred Dish information.
Optionally, vegetable quantity and the preferred vegetable according to the vegetable type, often to plant vegetables under category type Information generates and recommends dish information, comprising:
For the category type that often plants vegetables, selects corresponding with vegetable type and meet from the preferred dish information respectively The preferred dish information of vegetable quantity;
Using the preferred dish information selected as the recommendation dish information.
Optionally, the above method further include: work as if preferred dish information quantity corresponding with current vegetable type is more than The vegetable quantity of preceding vegetable type, then random selection meets current dish from preferred dish information corresponding with current vegetable type The preferred dish information of the vegetable quantity of category type;Alternatively,
If preferred dish information quantity corresponding with current vegetable type is more than the vegetable quantity of current vegetable type, It selects to meet current vegetable class from preferred dish information corresponding with current vegetable type according to pre-set preferred sequence The preferred dish information of the vegetable quantity of type;Alternatively,
If preferred dish information quantity corresponding with current vegetable type is more than the vegetable quantity of current vegetable type, Preferred dish information corresponding with current vegetable type is provided to current dining customer, what the current dining customer of acquisition provided meets The preferred dish information of the vegetable quantity of current vegetable type.
Optionally, the above method further include: work as if preferred dish information quantity corresponding with current vegetable type is less than The vegetable quantity of preceding vegetable type then selects all preferably vegetable letter from preferred dish information corresponding with current vegetable type Breath, and at least one not preferred dish information is selected from not preferred dish information corresponding with current vegetable type, so that The sum of quantity and the quantity of not preferred dish information of selection of the preferred dish information of whole are equal to current vegetable type Vegetable quantity;Alternatively,
If preferred dish information quantity corresponding with current vegetable type is less than the vegetable quantity of current vegetable type, The same preferred dish information of more number amounts is selected from preferred dish information corresponding with current vegetable type, so that selection Preferred dish information quantity summation be equal to current vegetable type vegetable quantity;Alternatively,
If preferred dish information quantity corresponding with current vegetable type is less than the vegetable quantity of current vegetable type, Select all preferred dish informations from preferred dish information corresponding with current vegetable type, and from other vegetable types pair At least one preferred dish information is selected in the preferred dish information answered so that the quantity of the preferred dish information of the whole with from The sum of quantity of preferred dish information selected in the corresponding preferred dish information of other vegetable types is equal to current vegetable type Vegetable quantity.
Optionally, the above method further include: if all preferred vegetable stockpile numbers corresponding with current vegetable type are total Be less than current vegetable type vegetable quantity, then select the preferred vegetable of whole corresponding with current vegetable type, and from Select at least one not preferred vegetable in the corresponding not preferred vegetable of current vegetable type so that all preferably the quantity of vegetable with The sum of quantity of not preferred vegetable of selection is equal to the vegetable quantity of current vegetable type;Alternatively,
If all preferred vegetable stockpile number summations corresponding with current vegetable type are less than the dish of current vegetable type Product quantity then selects the preferred vegetable of whole corresponding with current vegetable type, and from the corresponding preferred dish of other vegetable types At least one preferred vegetable is selected in product, so that all quantity of preferred vegetable vegetables corresponding with other vegetable types of selection The sum of quantity be equal to the vegetable quantity of current vegetable type.
Optionally, the above method further include: obtain the dining preference information of current dining customer;
According to the vegetable type, often the vegetable quantity and the preferred dish information to plant vegetables under category type, it is raw At recommendation dish information, comprising:
For the category type that often plants vegetables, selection is corresponding with vegetable type from the preferred dish information respectively, meets dish Product quantity, with the matched preferred dish information of dining preference information;
Using the preferred dish information selected as the recommendation dish information.
Optionally, the above method further include: obtain the history consumption information that current dining customer is directed to vegetable;
It is directed to the history consumption information of vegetable according to the current dining customer, obtains current dining customer described current Meal time consumption quantity is more than the dish information of third amount threshold;
According to the vegetable type, often the vegetable quantity and the preferred dish information to plant vegetables under category type, it is raw At recommendation dish information, comprising:
For the category type that often plants vegetables, respectively from the preferred dish information and the current dining customer in the current use Meal time consumption quantity is more than that selection is corresponding with vegetable type in the dish information of third amount threshold and meets vegetable number The dish information of amount;
Using the dish information selected as the recommendation dish information.
Optionally, the above method further include: export the recommendation dish information.
In addition the application provides a kind of generating means for recommending dish information, comprising:
Meal time obtaining unit, for obtaining the current meal time;
Vegetable recommends template obtaining unit, for recommending mould according to the current meal time and meal time and vegetable Corresponding relationship between plate obtains the first vegetable recommendation template corresponding with current meal time, wherein first dish The vegetable quantity that product recommend template to include vegetable type and often plant vegetables under category type;
It is preferred that dish information obtaining unit, for obtaining preferred dish information corresponding with current meal time;
Recommend dish information generation unit, vegetable quantity for according to the vegetable type, often planting vegetables under category type with And the preferred dish information, it generates and recommends dish information.
Optionally, it is that meal time range is pushed away with vegetable that the meal time and vegetable, which recommend the corresponding relationship between template, Recommend the corresponding relationship between template;
The vegetable recommends template obtaining unit to be specifically used for:
Determine current meal time range belonging to the current meal time;
It is index with the current meal time range, recommends pair between template in the meal time range and vegetable In should being related to, the first vegetable recommendation template corresponding with the current meal time range is searched.
Optionally, it further includes the vegetable requirement often to plant vegetables under category type that first vegetable, which recommends template,;
The recommendation dish information generation unit is specifically used for: the dish according to the vegetable type, often to plant vegetables under category type Product quantity, the vegetable requirement under the category that often plants vegetables type and the preferred dish information generate and recommend dish information.
Optionally, above-mentioned apparatus further include:
Meal time obtaining unit, for obtaining the meal time;
Vegetable type and quantity obtaining unit are directed to the real consumption information of vegetable for basis in the meal time, Obtain the real consumption vegetable type and the every vegetable quantity that plants vegetables under category type in the meal time;
Vegetable recommends template generation unit, for according in the real consumption vegetable type of the meal time and every kind Vegetable quantity under vegetable type generates the vegetable recommendation template for corresponding to the meal time;
Correspondence relationship establishing unit, the corresponding pass for establishing between the meal time and vegetable recommendation template System.
Optionally, further includes: output unit, for exporting the recommendation dish information.
In addition the application provides a kind of electronic equipment, comprising:
Processor;And
Memory, for storing the program for recommending the generation method of dish information, which is powered and by the processing After device runs the program of the recommendation dish information extracting method, following step is executed:
Obtain the current meal time;
Recommend the corresponding relationship between template, acquisition and institute according to the current meal time and meal time and vegetable State corresponding first vegetable of current meal time and recommend template, wherein first vegetable recommend template include vegetable type with And the vegetable quantity often to plant vegetables under category type;
Obtain preferred dish information corresponding with current meal time;
According to the vegetable type, often plant vegetables vegetable quantity under category type and the preferred dish information, generation push away Recommend dish information.
In addition the application provides a kind of storage equipment,
It is stored with the program for recommending the generation method of dish information, which is run by processor, execute following step:
Obtain the current meal time;
Recommend the corresponding relationship between template, acquisition and institute according to the current meal time and meal time and vegetable State corresponding first vegetable of current meal time and recommend template, wherein first vegetable recommend template include vegetable type with And the vegetable quantity often to plant vegetables under category type;
Obtain preferred dish information corresponding with current meal time;
According to the vegetable type, often plant vegetables vegetable quantity under category type and the preferred dish information, generation push away Recommend dish information.
Compared with prior art, the application has the following advantages:
The application provides generation method, device, electronic equipment and the storage equipment of a kind of recommendation dish information, first basis The current meal time and meal time and vegetable recommend the corresponding relationship between template, when obtaining with the current dining Between corresponding first vegetable recommend template, preferred dish information corresponding with current meal time, further according to described first Vegetable recommends template and the preferred dish information, generates and recommends dish information.The application is generating recommendation dish information In the process, it is contemplated that the difference of meal time can generate different influences to the dining demand of dining customer, therefore when will eat Between alternatively vegetable recommend template factor, and combine preferred dish information corresponding with the meal time so that generate push away It recommends dish information and meets the actual demand of dining customer at the dinner hour as far as possible.
Detailed description of the invention
Fig. 1 is a kind of flow chart of the generation method for recommendation dish information that the embodiment of the present application one provides;
Fig. 2 is that acquisition the first vegetable corresponding with the current meal time involved in the embodiment of the present application one recommends template Method flow diagram;
Fig. 3 is a kind of logical construction schematic diagram of the generating means for recommendation dish information that the embodiment of the present application two provides;
Fig. 4 is the logical construction schematic diagram for a kind of electronic equipment that the embodiment of the present application three provides.
Specific embodiment
It is with reference to the accompanying drawing and specific real in order to be more clearly understood that the above objects, features, and advantages of the application Mode is applied the application is further described in detail.It should be noted that in the absence of conflict, the implementation of the application Feature in example and embodiment can be combined with each other.
Many details are explained in the following description in order to fully understand the application.But the application can be with Much it is different from other way described herein to implement, those skilled in the art can be without prejudice to present specification intension In the case of do similar popularization, therefore the application is not limited by following public specific implementation.Below by way of specific embodiment To it is provided by the present application recommend dish information generation method, device and electronic equipment, storage equipment be described in detail and Explanation.
Embodiment one
Fig. 1 shows a kind of flow chart for recommending dish information generation method embodiment one provided by the present application.Such as Fig. 1 institute Show, recommends the generation method of dish information to include:
Step S101 obtains the current meal time.
Specifically, dining customer can be ordered food by barcode scanning, dining customer's barcode scanning point is postprandial, the execution of step S101 Main body can obtain the current meal time from code scaning information, alternatively, the executing subject of step S101 is after obtaining code scaning information, The current meal time can be obtained from other approach, such as obtains the time of executing subject local.
Alternatively implementation, service staff can order at the terminal for dining customer, i.e., in terminal The relevant information that upper input dining customer orders, after terminal obtains the relevant information, the time of available terminal local, terminal The local time can be used as the current meal time, alternatively, terminal will eat, the relevant information that customer orders is sent to server Afterwards, server obtains the time of server local, and the time of server local can be used as the current meal time.
It should be noted that the executing subject of step S101 can be the end that dining customer or service staff use End is also possible to support the server of process shown in Fig. 1, can also be that other can support the logic entity of process shown in Fig. 1. Correspondingly, the executing subject of other steps of process shown in Fig. 1 equally can be dining customer or service staff uses Terminal similarly can be the server of process shown in support Fig. 1, and also equally can be other can support process shown in Fig. 1 Logic entity.
In addition to step S101, process shown in FIG. 1 further includes step S102, according to current meal time and meal time Recommend the corresponding relationship between template with vegetable, obtains the first vegetable corresponding with the current meal time and recommend template.Wherein, The vegetable quantity that one vegetable recommends template to include vegetable type and often plant vegetables under category type.
Before obtaining the first vegetable corresponding with the current meal time and recommending template, meal time and dish can be first obtained Product recommend the corresponding relationship between template.A kind of implementation for obtaining the corresponding relationship is as follows:
Firstly, obtaining the meal time.Here meal time can refer to the history meal time, further, can obtain Obtain the history meal time of some dining customer or some dining customer group.
Later, according to the real consumption information for being directed to vegetable at the dinner hour, real consumption dish at the dinner hour is obtained Category type and the vegetable quantity often to plant vegetables under category type.Specifically, some history meal time can be used as index, going through Historical consumption data corresponding with the history meal time is searched in history consumption data, is looked into from the historical consumption data found Dish information is classified as at least one vegetable type, and can calculate and often plant vegetables under category type by the dish information for looking for consumption Vegetable quantity.Further, if obtaining the history meal time of some dining customer or some dining customer group before, The history meal time of dining customer or the dining customer group can be used so as index, is looked into historical consumption data Historical consumption data corresponding with the history meal time of dining customer or the dining customer group is looked for, from the history found The dish information of consumption is searched in consumption data.
Followed by, the vegetable quantity to plant vegetables under category type according to real consumption vegetable type at the dinner hour and often, Generate the vegetable recommendation template for corresponding to the meal time.It may include the reality of the meal time in the vegetable recommendation template of generation Consumption vegetable type and the vegetable quantity often to plant vegetables under category type, such as 8 people's set meal templates are generated, wherein requiring to include 5 Meat dish, 3 vegetable dishes, 8 portions of desserts, 8 portions of beverages, 8 portions of staple foods etc..Further, if obtaining dining customer or dining before The history meal time of customer group, then when generating vegetable recommendation template, it can be according to a dining customer or a use Meal customer group is generated and is corresponded in the real consumption vegetable type and the every vegetable quantity that plants vegetables under category type of the meal time Recommend template in the vegetable of the meal time, it can also be according to multiple dining customers or multiple dining customer groups in the dining Between real consumption vegetable type and the vegetable quantity that often plants vegetables under category type, generate and correspond to the vegetable of the meal time and push away Recommend template.Since multiple dining customers or multiple dining customer groups are in real consumption vegetable type at the same time and often Vegetable quantity under the category that plants vegetables type may be different, therefore when generating vegetable recommendation template, can be for these dining customers Or the vegetable quantity that these dining customer groups plant vegetables under category type in real consumption vegetable type at the same time and often Operation of averaging is carried out, obtains these dining customers or these dining customer groups in average consumption vegetable type at the same time And the average vegetable quantity often to plant vegetables under category type, vegetable is generated according to the result of acquisition and recommends template.
After generating vegetable recommendation template, the corresponding relationship between meal time and vegetable recommendation template can establish, so as to Vegetable recommendation template corresponding with the meal time is searched according to the meal time in subsequent.
It should be noted that when recommending the dining in the corresponding relationship between template for above-mentioned meal time and vegetable Between, it can be understood as meal time range, corresponding, during establishing the corresponding relationship, the meal time of acquisition can also Meal time range is obtained to refer to.In addition, the dining moment can be returned if the meal time obtained refers to the dining moment Class is meal time range, so that the corresponding relationship established is the corresponding pass between meal time range and vegetable recommendation template System.
In addition, can also can be mentioned from other in addition to the corresponding relationship established between meal time and vegetable recommendation template For obtaining the corresponding relationship in the logic entity of the corresponding relationship, that is, the executing subject for not needing step S101 and S102 generates The corresponding relationship, but the corresponding relationship can be obtained from other logic entities.Obtaining dining customer or dining customer group The current meal time, and obtain meal time and vegetable and recommend corresponding relationship between template, so that it may be used according to current The corresponding relationship eaten between time and meal time and vegetable recommendation template obtains the first dish corresponding with the current meal time Product recommend template.Specifically, one such implementation may refer to process shown in Fig. 2, which specifically includes as follows Step:
S102-1: current meal time range belonging to the current meal time is determined.
In this step, the current meal time can be understood as the concept at moment, it is understood that be short time period.It obtains After obtaining the current meal time, it can be determined that current meal time range belonging to the current meal time.For example, can delimit in advance Meal time range, daily 5 be breakfast time when 9,9 when 11 between the tea time in the morning, 11 be lunch when 14 Time, 14 be teatime when 16, and 16 be date for dinner when 21, and 21 be the food time when next day 5.When obtaining After obtaining the current meal time, the meal time belonging to the current meal time can determine according to the meal time range delimited in advance Range.
It is understood that above-mentioned meal time and vegetable recommend the corresponding relationship between template to can be meal time model Enclose the corresponding relationship recommended between template with vegetable.
S102-2: being index with current meal time range, at the dinner hour pair between range and vegetable recommendation template In should being related to, determine that the first vegetable corresponding with current meal time range recommends template.
It is above-mentioned to step S102's that acquisition meal time range and vegetable recommend the corresponding relationship between template that can refer to Associated description.It, can after obtaining the corresponding relationship between current meal time range and meal time range and vegetable recommendation template To use current meal time range for index, vegetable corresponding with current meal time range is searched in the corresponding relationship and is pushed away Recommend template.Here for ease of description, recommending template to be known as the recommendation of the first vegetable vegetable corresponding with current meal time range Template.
In specific implementation, each meal time range can be numbered, correspondingly, current dining model can be used Enclosing number is that index, at the dinner hour range and vegetable are recommended to search in corresponding relationship between template and compiled with current dining range Number corresponding vegetable recommends template.
It should be noted that since the different meal times will affect the dining demand of dining customer, such as dining customer It needs to be easier the staple food and liquid food of digestion in breakfast time, richer vegetable is needed in the lunchtime, in dinner Between if necessary to letter meal, then may require that vegetable amount is small and vegetable based on vegetable dish, therefore, vegetable recommends the vegetable class in template Type and quantity can be designed according to the dining demand of dining customer as far as possible, and vegetable can be made to recommend the dish for including in template in this way The vegetable quantity for including under category type and the category type that often plants vegetables is more in line with the dining demand of dining customer.For example, for one Customer, the corresponding vegetable of breakfast time recommend template corresponding including a staple food, a liquid food and a pickles, dinner hour It includes a staple food, two portions of meat dish, a vegetable dish and a liquid food that vegetable, which recommends template, and the corresponding vegetable of date for dinner recommends mould Plate includes a phlogiston dish, a cool vegetable dish and a liquid food.
In specific implementation, during obtaining suitable vegetable recommendation template, in addition to considering the current meal time, also It is contemplated that current dining room classification, currently dining customer quantity, the currently factors such as relation information between dining customer.For example, It can be according at least one of relation information letter between current dining room classification, current dining customer quantity and current dining customer Breath, current meal time and meal time and vegetable recommend the corresponding relationship between template, obtain with current dining room classification, when At least one of relation information information and current meal time are corresponding between preceding dining customer quantity and current dining customer The first vegetable recommend template;Wherein, meal time and vegetable recommend the corresponding relationship between template that can specifically refer to dining room At least one of relation information information, meal time and vegetable recommend mould between classification, dining customer quantity and dining customer Corresponding relationship between plate.
According to current dining room classification, currently eat between customer quantity, current dining customer in relation information at least Before a kind of information acquisition vegetable recommends template, current dining room classification, dining customer quantity can be first obtained, between dining customer At least one of relation information information, it is for instance possible to obtain currently dining customer or the attendant that orders are ordering on interface These information provided.
It can be by being arranged in dining room under the premise of obtaining current dining customer allows as another implementation Or the photographic device being arranged in the terminal that current dining customer or the attendant that orders use obtains current dining customer quantity, The relationship between the image analysis dining customer group of analysis dining customer group can be passed through.
Furthermore it is also possible to determine the pass between dining customer group by the historical consumption data before analysis dining customer System.
Further, it is also possible to obtain the information of current dining room classification by following manner.Obtain the geography of current dining customer Location information;According to the corresponding relationship between the geographical location information and geographical location information and dining room information, obtain with The corresponding dining room information of the geographical location information;According to pair between the dining room information and dining room information and dining room classification It should be related to, obtain the current dining room classification.Specifically, first determine the dining place in the geographic significance of current dining customer, The information such as longitude and latitude, urban road information and number for example, in geographic significance.Later, according to the dining in geographic significance Place obtains dining room information, for example, information such as dining room title, dining room number, the main vegetable feature in dining room.Finally, according to dining room The current dining room classification of information acquisition, for example, Chinese Restaurant, western-style restaurant, chafing dish restaurant etc..
Another implementation for obtaining dining room classification is to obtain current dining customer ordering on interface for the first meal The triggering of Room information;According to the corresponding relationship between the first dining room information and dining room information and dining room classification, obtain and first The corresponding current dining room classification of dining room information.In this fashion, currently dining customer can be directly selected on interface ordering One dining room information can obtain and work as according to the corresponding relationship between dining room information and dining room classification after obtaining dining room information The corresponding current dining room classification of dining room information of preceding dining customer selection.
For at least one of relation information letter between above-mentioned dining room classification, dining customer quantity and dining customer Breath, meal time and vegetable recommend the corresponding relationship between template, can be obtained by following manner: obtaining dining room classification, use It eats at least one of relation information information and meal time between customer quantity and dining customer, that is, it needs to be determined that dining Time, in addition to this, it is also necessary to determine at least one between dining room classification, dining customer quantity and the customer that eats in relation information Kind information.Later, it according to the real consumption information for being directed to vegetable at the dinner hour, obtains in dining room classification, dining customer quantity Between dining customer under at least one of relation information information and real consumption vegetable type at the dinner hour and Vegetable quantity under the category that often plants vegetables type, that is, according to vegetable history consumption at the dinner hour, it is determining with dining room classification, At least one of relation information vegetable type of the corresponding real consumption of information of eating between customer quantity and dining customer and Vegetable quantity under the category that often plants vegetables type.Followed by, according to the relationship between dining room classification, dining customer quantity and dining customer Real consumption vegetable type under at least one of information information and at the dinner hour and the dish often to plant vegetables under category type Product quantity is generated corresponding at least one of relation information information between dining room classification, dining customer quantity and dining customer And the meal time vegetable recommend template, that is, generate it is corresponding with the meal time and with dining room classification, eat customer quantity The vegetable that at least one of relation information information is corresponding between dining customer, including vegetable type and often plants vegetables under category type The vegetable of quantity recommends template.Finally, establishing between dining room classification, dining customer quantity and dining customer in relation information extremely A kind of few information, meal time and vegetable recommend the corresponding relationship between template.
As shown in Figure 1, process shown in FIG. 1 further includes step S103, obtain corresponding excellent with the current meal time Select dish information.
In specific implementation, can will be disappeared at the dinner hour according to the history consumption information for being directed to vegetable at the dinner hour Taking quantity is more than the dish information of the first amount threshold labeled as preferred dish information corresponding with the meal time.In this mode In, more vegetable is mainly consumed in the meal time according to the determination of the history consumption of some meal time, it will be in the use The meal time consumes more vegetable as the meal time corresponding preferred vegetable.
Alternatively, it is also possible to consume at the dinner hour according to for the historical review data for consuming vegetable at the dinner hour Vegetable favorable comment quantity is more than the dish information of the second amount threshold labeled as preferred dish information corresponding with the meal time.At this In kind mode, main consideration is corresponding as the meal time using the more vegetable in the consumption of some meal time history of favorable comment It is preferred that vegetable.
Further, it is also possible to which the dish information that dining room is promoted mainly at the dinner hour is labeled as preferred dish corresponding with the meal time Product information.In this fashion, main to consider the vegetable for promoting mainly in dining room for some meal time as the meal time pair The preferred vegetable answered.
As another implementation, the dish information for meeting favourable condition at the dinner hour can also be labeled as with Meal time corresponding preferred dish information.In this fashion, main consideration will be in some meal time preferential biggish vegetable As the meal time corresponding preferred vegetable.
Above-mentioned several ways can be understood as establishing the mode of meal time Yu preferred vegetable corresponding relationship.It is current obtaining After meal time and the corresponding relationship, so that it may determine preferred dish information corresponding with the current meal time.
Referring again to Fig. 1, process shown in FIG. 1 further includes step S104, according to vegetable type, is often planted vegetables under category type Vegetable quantity and preferred dish information generate and recommend dish information.
In specific implementation, it can be directed to the category type that often plants vegetables, respectively selection and dish from above-mentioned preferred dish information Category type is corresponding and meets the preferred dish information of vegetable quantity, using the preferred dish information selected as recommendation vegetable letter Breath.That is, the vegetable quantity that vegetable recommends template to define vegetable type and often plant vegetables under category type, recommends dish information generating When, it can be preferentially by the preferred dish information being obtained ahead of time according to the vegetable type and the every vegetable number that plants vegetables under category type of regulation Amount is filled into vegetable and recommends in template, to generate recommendation dish information.For example, 8 people's dinner set meal templates regulation has 5 meat or fish Dish, 3 vegetable dishes, 8 portions of aliquot desserts, 8 portions of cuvette beverages, 8 portions of single staple foods can select 5 preferred meat or fish from preferred vegetable Dish, 3 preferred vegetable dishes, 8 portions of preferred aliquot desserts, 8 portions of preferred cuvette beverages, 8 portions of preferred single staple foods, as recommendation vegetable letter Breath.
Further, if preferred dish information quantity corresponding with current vegetable type is more than the dish of current vegetable type Product quantity then randomly chooses the vegetable number for meeting current vegetable type from preferred dish information corresponding with current vegetable type The preferred dish information of amount, that is, then can be according to vegetable types entail if choice is larger it is preferred that vegetable quantity is more Preferred vegetable is randomly choosed with vegetable quantitative requirement.Alternatively, if preferred dish information quantity corresponding with current vegetable type More than the vegetable quantity of current vegetable type, then according to pre-set preferred sequence from it is corresponding with current vegetable type preferably Selection meets the preferred dish information of the vegetable quantity of current vegetable type in dish information, that is, can preset preferred dish The preferred sequence of product, if it is preferred that vegetable quantity is more, according to vegetable types entail and vegetable quantitative requirement, and according to this Preferred sequence selects preferred vegetable.Alternatively, if preferred dish information quantity corresponding with current vegetable type is more than current dish The vegetable quantity of category type then provides preferred dish information corresponding with current vegetable type to current dining customer, is worked as The preferred dish information for the vegetable quantity for meeting current vegetable type that preceding dining customer provides, that is, if it is preferred that vegetable quantity More, choice is larger, then can solicit the opinion of current dining customer, and the customer that please currently eats selects preferred vegetable letter Breath.
Further, if preferred dish information quantity corresponding with current vegetable type is less than the dish of current vegetable type Product quantity, then select all preferred dish informations from preferred dish information corresponding with current vegetable type, and from work as At least one not preferred dish information is selected in the corresponding not preferred dish information of preceding vegetable type, so that the preferred dish of the whole The sum of quantity and the quantity of not preferred dish information of selection of product information are equal to the vegetable quantity of current vegetable type, that is, such as The preferred vegetable quantity of fruit is few, then can first select whole preferred dish informations, determines the vegetable type required supplementation with later Not preferred dish information is selected, finally by selection according still further to the vegetable type and vegetable quantity required supplementation with vegetable quantity All preferably the sum of dish information and the not preferred dish information selected is as recommendation dish information.Alternatively, if with current dish The corresponding preferred dish information quantity of category type is less than the vegetable quantity of current vegetable type, then from corresponding with current vegetable type Preferred dish information in select the same preferred dish informations of more number amounts so that the quantity of the preferred dish information of selection Summation is equal to the vegetable quantity of current vegetable type, in this fashion, if it is preferred that vegetable negligible amounts, for same It is preferred that vegetable can choose more parts, certainly, it will appear more parts of feelings in the recommendation dish information ultimately produced for the vegetable having Shape.Alternatively, if preferred dish information quantity corresponding with current vegetable type is less than the vegetable quantity of current vegetable type, Select all preferred dish informations from preferred dish information corresponding with current vegetable type, and from other vegetable types pair At least one preferred dish information is selected in the preferred dish information answered so that the quantity of the preferred dish information of the whole with from The sum of quantity of preferred dish information selected in the corresponding preferred dish information of other vegetable types is equal to current vegetable type Vegetable quantity.In this fashion, if it is preferred that vegetable negligible amounts, it is contemplated that other kinds of preferred vegetable is believed Breath is as supplement.For example, not having the pickles type for belonging to breakfast originally, but consider 8 people for 8 people's dinner set meal templates The corresponding preferred vegetable negligible amounts of all vegetable types as defined in dinner set meal template, it is possible to consider to increase colewort Type, and select preferred pickles as the supplement of 8 people's dinner set meals.
It should be noted that being understood that for above-mentioned preferred dish information quantity corresponding with current vegetable type For, for a kind of selectable preferred vegetable quantity of vegetable type, for example, for meat dish, the preferred meat dish that are obtained ahead of time It is that fish-flavoured shredded pork, Kung Pao chicken, Fish Filets in Hot Chili Oil, hair and blood are prosperous, then preferred dish information quantity corresponding with meat dish is 4.For above-mentioned Preferred dish information quantity corresponding with current vegetable type more than current vegetable type vegetable quantity it is to be understood that needle Preferred vegetable quantity selectable to a kind of vegetable type recommends the vegetable number under the vegetable type as defined in template more than vegetable Amount, for example, it is 3 that vegetable, which recommends meat dish quantity as defined in template, then selectable if selectable preferred meat dish quantity is 4 It is preferred that meat dish quantity recommends meat dish quantity as defined in template, i.e., preferred dish information corresponding with current vegetable type more than vegetable Quantity is more than the vegetable quantity of current vegetable type.Similarly, if above-mentioned preferred vegetable letter corresponding with current vegetable type Vegetable quantity of the quantity less than current vegetable type is ceased it is to be understood that being directed to a kind of selectable preferred vegetable number of vegetable type Amount recommends the vegetable quantity under the vegetable type as defined in template less than vegetable.
In practical applications, at every point of time, each vegetable can correspond to a stockpile number.If being directed to one When the stockpile number summation of the selectable all preferred vegetables of vegetable type is less, even if by all preferred dishes of the vegetable type All stockpile numbers of product, which are added, to be also not achieved vegetable and recommends vegetable quantity under the vegetable type as defined in template, then can be by Vegetable is supplemented according to following methods, so that the vegetable quantity under the vegetable type after supplement meets vegetable and recommends template regulation The vegetable type under vegetable quantity.
Specifically, if all preferred vegetable stockpile number summations corresponding with current vegetable type are less than current vegetable class The vegetable quantity of type then selects the preferred vegetable of whole corresponding with current vegetable type, and from corresponding with current vegetable type Not preferred vegetable in select at least one not preferred vegetable so that all preferably quantity of vegetable and not preferred vegetables of selection The sum of quantity be equal to the vegetable quantity of current vegetable type, that is, using not preferred vegetable as supplement vegetable, so that after supplementing Vegetable quantity under current vegetable type meets the vegetable quantity under current vegetable type as defined in vegetable recommendation template.Alternatively, If all preferred vegetable stockpile number summations corresponding with current vegetable type are less than the vegetable quantity of current vegetable type, Select the preferred vegetable of whole corresponding with current vegetable type, and from the corresponding preferred vegetable of other vegetable types select to A few preferred vegetable, so that all the sum of quantity of the quantity of preferred vegetable vegetable corresponding with other vegetable types of selection Equal to the vegetable quantity of current vegetable type, that is, the vegetable under vegetable type as defined in vegetable recommendation template will be not belonging to originally As the vegetable of supplement so that the vegetable quantity under current vegetable type after supplement meet vegetable recommend it is current as defined in template Vegetable quantity under vegetable type.
In specific implementation, generate recommend vegetable during, except vegetable type can be considered, often plant vegetables under category type Vegetable quantity and preferred dish information outside, it is also contemplated that the dining preference information of the customer that eats, dining customer's history disappear Take the factors such as more vegetable.
If it is considered that dining preference information, then can first obtain the dining preference information of current dining customer, be directed to later The category that often plants vegetables type is selected from preferred dish information corresponding with vegetable type, meeting vegetable quantity, inclined with dining respectively The preferred dish information of good information matches, using the preferred dish information selected as recommendation dish information.For example, if current use Meal customers' preferences sweet food then can preferentially select taste compared with the vegetable of sweet tea as recommendation vegetable from preferred vegetable.Specific real Now, the dining preference information of dining customer can be obtained in several ways, the letter for example, history of analysis dining customer is eaten Breath, alternatively, obtaining dining customer or attendant passes through the dining preference information for interface offer of ordering.
If it is considered that dining customer's history consumes more vegetable, then current dining customer can be first obtained for vegetable History consumption information is directed to the history consumption information of vegetable according to current dining customer later, obtains current dining customer and is working as Preceding meal time consumption quantity is more than the dish information of third amount threshold, followed by for the category type that often plants vegetables, respectively from excellent Select dish information and the current dining customer in dish information of the current meal time consumption quantity more than third amount threshold It is middle to select dish information corresponding with vegetable type and meeting vegetable quantity, using the dish information selected as recommendation vegetable Information.Such as, if it is determined that it is more that dining customer consumed fish-flavoured shredded pork, Kung Pao chicken in the past, then no matter the two vegetables whether Belong to preferred vegetable, all can serve as the candidate vegetable for recommending vegetable.
Vegetable quantity mentioned above, that vegetable recommends template to may include vegetable type and often plant vegetables under category type.? In practical application, it can also include other information, such as the vegetable requirement under category type that often plants vegetables that vegetable, which recommends template,.At this point, Can according to vegetable type, often plant vegetables vegetable quantity under category type, the vegetable requirement and the preferred dish that often plant vegetables under category type Product information generates and recommends dish information.Vegetable requires the e.g. characteristic aspects such as taste, color, temperature, cooking time of vegetable Requirement.
After generating recommendation dish information, recommendation dish information can be exported.For example, being eaten by ordering interface to current Customer or attendant prompt above-mentioned recommendation dish information, and the mode of prompt is, for example, the modes such as display, voice prompting.
During dish information is recommended in the generation of above-described embodiment, it is contemplated that the difference of meal time can be to dining The dining demand of customer generates different influences, therefore by the meal time, alternatively vegetable recommends the factor of template, and combines Preferred dish information corresponding with the meal time, so that the recommendation dish information generated meets dining customer at the dinner hour as far as possible Actual demand.
Embodiment two
Corresponding to above method embodiment, the application also provides a kind of embodiment of generating means for recommending dish information. As shown in figure 3, the device includes:
Meal time obtaining unit 301, for obtaining the current meal time;
Vegetable recommends template obtaining unit 302, for being pushed away according to the current meal time and meal time with vegetable It recommends the corresponding relationship between template, obtains the first vegetable recommendation template corresponding with current meal time, wherein described the The vegetable quantity that one vegetable recommends template to include vegetable type and often plant vegetables under category type;
It is preferred that dish information obtaining unit 303, for obtaining preferred dish information corresponding with current meal time;
Recommend dish information generation unit 304, the vegetable quantity for according to the vegetable type, often planting vegetables under category type And the preferred dish information, it generates and recommends dish information.
Wherein, it is that meal time range and vegetable are recommended that the meal time and vegetable, which recommend the corresponding relationship between template, Corresponding relationship between template;Vegetable recommends template obtaining unit 302 to be specifically used for: determining belonging to the current meal time Current meal time range;It is index with the current meal time range, recommends mould in the meal time range and vegetable In corresponding relationship between plate, the first vegetable recommendation template corresponding with the current meal time range is searched.
Wherein, it further includes the vegetable requirement often to plant vegetables under category type that first vegetable, which recommends template,;Recommend dish information Generation unit 304 is specifically used for: according to the vegetable type, often plant vegetables vegetable quantity under category type, often plant vegetables under category type Vegetable require and the preferred dish information, generate recommend dish information.
Above-mentioned apparatus further include: meal time obtaining unit, for obtaining the meal time;Vegetable type and quantity obtain single Member, for obtaining the real consumption in the meal time according to the real consumption information for being directed to vegetable in the meal time Vegetable type and the vegetable quantity often to plant vegetables under category type;Vegetable recommends template generation unit, for according in the dining The real consumption vegetable type of time and the vegetable quantity often to plant vegetables under category type generate the dish for corresponding to the meal time Product recommend template;Correspondence relationship establishing unit, it is corresponding between the meal time and vegetable recommendation template for establishing Relationship.
Above-mentioned apparatus further include: auxiliary information obtaining unit, for obtaining current dining room classification, customer quantity of currently eating At least one of relation information information between current dining customer;Vegetable recommends template obtaining unit 302 to be specifically used for: root According between the current dining room classification, the current dining customer quantity and the current dining customer in relation information at least A kind of information, the current meal time and meal time and vegetable recommend the corresponding relationship between template, obtain with it is described At least one of relation information letter between current dining room classification, the current dining customer quantity and the current dining customer Breath and corresponding first vegetable of the current meal time recommend template;Wherein, the meal time and vegetable recommend template Between corresponding relationship be specially at least one of relation information letter between dining room classification, dining customer quantity and dining customer Breath, meal time and vegetable recommend the corresponding relationship between template.
Auxiliary information obtaining unit be also used to obtain dining room classification, dining customer quantity and dining customer between relation information At least one of information.Meal time obtaining unit 301 is also used to obtain the meal time.Vegetable type and quantity obtaining unit It is also used to be obtained according to the real consumption information for being directed to vegetable in the meal time in the dining room classification, dining Number of Customers Measure between dining customer under at least one of relation information information and the meal time real consumption vegetable class Type and the vegetable quantity often to plant vegetables under category type.Vegetable recommend template generation unit be also used to according to the dining room classification, Eat between customer quantity and the customer that eats under at least one of relation information information and the meal time reality Consumption vegetable type and the vegetable quantity often to plant vegetables under category type generate and correspond to the dining room classification, dining customer quantity At least one of relation information information and the vegetable of the meal time recommend template between dining customer.Corresponding relationship Unit is established, specifically for establishing between the dining room classification, dining customer quantity and dining customer in relation information at least A kind of information, the meal time and the vegetable recommend the corresponding relationship between template.
Auxiliary information obtaining unit is specifically used for, and obtains the geographical location information of current dining customer;According to the geography Corresponding relationship between location information and geographical location information and dining room information obtains corresponding with the geographical location information Dining room information;According to the corresponding relationship between the dining room information and dining room information and dining room classification, the current meal is obtained Room classification.
Auxiliary information obtaining unit is specifically used for, and obtains current dining customer and is ordering on interface for the first dining room information Triggering;According to the corresponding relationship between first dining room information and dining room information and dining room classification, obtain and described the The corresponding current dining room classification of one dining room information.
Auxiliary information obtaining unit is specifically used for, and obtains current dining customer or the attendant that orders above mentions at interface of ordering At least one of relation information information between current dining room classification, current dining customer quantity and the current dining customer supplied.
It is preferred that dish information obtaining unit 303 is also used to, letter is consumed for the history of vegetable according in the meal time Breath will be more than the dish information of the first amount threshold in the meal time consumption quantity labeled as corresponding with the meal time Preferred dish information;It, will be in the use and/or according to the historical review data being directed in meal time consumption vegetable Meal time consumption vegetable favorable comment quantity is more than the dish information of the second amount threshold labeled as corresponding with the meal time excellent Select dish information;And/or the dish information for promoting mainly in dining room in the meal time is labeled as corresponding with the meal time It is preferred that dish information;And/or the dish information for meeting favourable condition in the meal time is labeled as and the meal time Corresponding preferred dish information.
Recommend dish information generation unit 304 to be specifically used for, for the category type that often plants vegetables, believes respectively from the preferred vegetable Preferred dish information corresponding with vegetable type and meeting vegetable quantity is selected in breath;The preferred dish information of selection is made For the recommendation dish information.
If preferred dish information quantity corresponding with current vegetable type is more than the vegetable quantity of current vegetable type, Recommend dish information generation unit 304 to randomly choose from preferred dish information corresponding with current vegetable type and meets current dish The preferred dish information of the vegetable quantity of category type;Alternatively, if preferred dish information quantity corresponding with current vegetable type More than the vegetable quantity of current vegetable type, then recommend dish information generation unit 304 according to pre-set preferred sequence from Selection meets the preferred vegetable letter of the vegetable quantity of current vegetable type in preferred dish information corresponding with current vegetable type Breath;Alternatively, if preferred dish information quantity corresponding with current vegetable type is more than the vegetable quantity of current vegetable type, Recommend dish information generation unit 304 to provide preferred dish information corresponding with current vegetable type to current dining customer, obtains Obtain the preferred dish information for the vegetable quantity for meeting current vegetable type that currently dining customer provides.
If preferred dish information quantity corresponding with current vegetable type is less than the vegetable quantity of current vegetable type, Dish information generation unit 304 is recommended to select all preferably vegetable letter from preferred dish information corresponding with current vegetable type Breath, and at least one not preferred dish information is selected from not preferred dish information corresponding with current vegetable type, so that The sum of quantity and the quantity of not preferred dish information of selection of the preferred dish information of whole are equal to current vegetable type Vegetable quantity;Alternatively, if preferred dish information quantity corresponding with current vegetable type is less than the vegetable of current vegetable type Quantity then recommends dish information generation unit 304 to select more numbers from preferred dish information corresponding with current vegetable type The same preferred dish information of amount, so that the quantity summation of the preferred dish information of selection is equal to the vegetable of current vegetable type Quantity;Alternatively, if preferred dish information quantity corresponding with current vegetable type is less than the vegetable quantity of current vegetable type, Dish information generation unit 304 is then recommended to select all preferred vegetables from preferred dish information corresponding with current vegetable type Information, and at least one preferred dish information is selected from the corresponding preferred dish information of other vegetable types, so that described The all preferably quantity of dish informations and the preferred dish information selected from the corresponding preferred dish information of other vegetable types The sum of quantity be equal to the vegetable quantity of current vegetable type.
If all preferred vegetable stockpile number summations corresponding with current vegetable type are less than the dish of current vegetable type Product quantity, then recommend dish information generation unit 304 select the preferred vegetable of whole corresponding with current vegetable type, and from Select at least one not preferred vegetable in the corresponding not preferred vegetable of current vegetable type so that all preferably the quantity of vegetable with The sum of quantity of not preferred vegetable of selection is equal to the vegetable quantity of current vegetable type;Alternatively, if with current vegetable type Corresponding all preferred vegetable stockpile number summations are less than the vegetable quantity of current vegetable type, then recommend dish information to generate single Member 304 selects the preferred vegetable of whole corresponding with current vegetable type, and from the corresponding preferred vegetable of other vegetable types At least one preferred vegetable is selected, so that all numbers of the quantity of preferred vegetable vegetable corresponding with other vegetable types of selection The sum of amount is equal to the vegetable quantity of current vegetable type.
Above-mentioned apparatus further include: preference information obtaining unit, for obtaining the dining preference information of current dining customer.It pushes away Dish information generation unit 304 is recommended to be specifically used for, for the category type that often plants vegetables, respectively from the preferred dish information selection with Vegetable type is corresponding, meet vegetable quantity, with the matched preferred dish information of dining preference information;By the excellent of selection Select dish information as the recommendation dish information.
Above-mentioned apparatus further include: consumption information obtaining unit disappears for obtaining current dining customer for the history of vegetable Charge information.It is preferred that dish information obtaining unit 303, is also used to the history consumption letter according to the current dining customer for vegetable Breath obtains current dining customer in dish information of the current meal time consumption quantity more than third amount threshold.Recommend Dish information generation unit 304 is specifically used for, for the category type that often plants vegetables, respectively from the preferred dish information and described current The customer that eats selects and vegetable type in the dish information that the current meal time consumption quantity is more than third amount threshold Dish information that is corresponding and meeting vegetable quantity;Using the dish information selected as the recommendation dish information.
Above-mentioned apparatus further include: output unit, for exporting the recommendation dish information.
It can be with the associated description of reference pair above-described embodiment two, here no longer for the detailed description of above-mentioned apparatus embodiment It repeats.
Embodiment three
Corresponding with above-described embodiment one, the application also provides the embodiment of a kind of electronic equipment.
As shown in figure 4, electronic equipment includes:
Processor 401;
And
Memory 402, for storing the program for recommending the generation method of dish information, which is powered and passes through processor After 401 run the program of the recommendation dish information extracting method, following step is executed:
Obtain the current meal time;
Recommend the corresponding relationship between template, acquisition and institute according to the current meal time and meal time and vegetable State corresponding first vegetable of current meal time and recommend template, wherein first vegetable recommend template include vegetable type with And the vegetable quantity often to plant vegetables under category type;
Obtain preferred dish information corresponding with current meal time;
According to the vegetable type, often plant vegetables vegetable quantity under category type and the preferred dish information, generation push away Recommend dish information.
It can be with the associated description of reference pair above-described embodiment one, here for the detailed description of above-mentioned electronic equipment embodiment It repeats no more.
Example IV
Corresponding with above-described embodiment one, the application also provides a kind of embodiment for storing equipment.
The storage equipment includes:
It is stored with the program for recommending the generation method of dish information, which is run by processor, execute following step:
Obtain the current meal time;
Recommend the corresponding relationship between template, acquisition and institute according to the current meal time and meal time and vegetable State corresponding first vegetable of current meal time and recommend template, wherein first vegetable recommend template include vegetable type with And the vegetable quantity often to plant vegetables under category type;
Obtain preferred dish information corresponding with current meal time;
According to the vegetable type, often plant vegetables vegetable quantity under category type and the preferred dish information, generation push away Recommend dish information.
It can be with the associated description of reference pair above-described embodiment one, here for the detailed description of above-mentioned storage apparatus embodiments It repeats no more.
Although the application is disclosed as above with preferred embodiment, it is not for limiting this application, any this field Technical staff without departing from the spirit and scope of the present invention, can make possible variation and modification, therefore this application Protection scope should be subject to the range that this claim of this application defined.
In a typical configuration, calculating equipment includes one or more processors (CPU), input/output interface, net Network interface and memory.
Memory may include the non-volatile memory in computer-readable medium, random access memory (RAM) and/or The forms such as Nonvolatile memory, such as read-only memory (ROM) or flash memory (flash RAM).Memory is computer-readable medium Example.
Computer-readable medium includes permanent and non-permanent, removable and non-removable media can be by any method Or technology come realize information store.Information can be computer readable instructions, data structure, the module of program or other data. The example of the storage medium of computer includes, but are not limited to phase change memory (PRAM), static random access memory (SRAM), moves State random access memory (DRAM), other kinds of random access memory (RAM), read-only memory (ROM), electric erasable Programmable read only memory (EEPROM), flash memory or other memory techniques, read-only disc read only memory (CD-ROM) (CD-ROM), Digital versatile disc (DVD) or other optical storage, magnetic cassettes, tape magnetic disk storage or other magnetic storage devices Or any other non-transmission medium, can be used for storage can be accessed by a computing device information.As defined in this article, it calculates Machine readable medium does not include non-temporary computer readable media (transitory media), such as the data-signal and carrier wave of modulation.
It will be understood by those skilled in the art that embodiments herein can provide as method, system or computer program product. Therefore, complete hardware embodiment, complete software embodiment or embodiment combining software and hardware aspects can be used in the application Form.It is deposited moreover, the application can be used to can be used in the computer that one or more wherein includes computer usable program code The shape for the computer program product implemented on storage media (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) Formula.

Claims (10)

1. a kind of generation method for recommending dish information characterized by comprising
Obtain the current meal time;
Recommend the corresponding relationship between template according to the current meal time and meal time and vegetable, acquisition is worked as with described Preceding meal time, corresponding first vegetable recommended template, wherein it includes vegetable type and every that first vegetable, which recommends template, Vegetable quantity under the category that plants vegetables type;
Obtain preferred dish information corresponding with current meal time;
According to the vegetable type, often the vegetable quantity and the preferred dish information to plant vegetables under category type generates and recommends dish Product information.
2. the method according to claim 1, wherein corresponding between the meal time and vegetable recommendation template Relationship is the corresponding relationship between meal time range and vegetable recommendation template;
It is described that corresponding relationship between template, acquisition and institute are recommended according to the current meal time and meal time and vegetable It states corresponding first vegetable of current meal time and recommends template, comprising:
Determine current meal time range belonging to the current meal time;
It is index with the current meal time range, the corresponding pass between the meal time range recommends template with vegetable In system, the first vegetable recommendation template corresponding with the current meal time range is searched.
3. the method according to claim 1, wherein it further includes the category that often plants vegetables that first vegetable, which recommends template, Vegetable requirement under type;
It is described according to the vegetable type, often plant vegetables vegetable quantity under category type and the preferred dish information, generation push away Recommend dish information, comprising: according to the vegetable type, often plant vegetables vegetable quantity under category type, the dish that often plants vegetables under category type Product require and the preferred dish information, generate and recommend dish information.
4. the method according to claim 1, wherein further include:
Obtain the meal time;
According to the real consumption information for being directed to vegetable in the meal time, the real consumption vegetable in the meal time is obtained Type and the vegetable quantity often to plant vegetables under category type;
According to the real consumption vegetable type and the every vegetable quantity that plants vegetables under category type in the meal time, generates and correspond to Recommend template in the vegetable of the meal time;
Establish the corresponding relationship between the meal time and vegetable recommendation template.
5. the method according to claim 1, wherein further include: obtain that current dining room classification, currently eat customer At least one of relation information information between quantity and current dining customer;
It is described that corresponding relationship between template, acquisition and institute are recommended according to the current meal time and meal time and vegetable It states corresponding first vegetable of current meal time and recommends template, comprising: cared for according to the current dining room classification, the current dining At least one of relation information information, the current meal time and dining between objective quantity and the current dining customer Time and vegetable recommend the corresponding relationship between template, obtain and the current dining room classification, the current dining customer quantity At least one of relation information information and current meal time corresponding first between the current dining customer Vegetable recommends template;
Wherein, it is specially dining room classification, dining customer quantity that the meal time and vegetable, which recommend the corresponding relationship between template, At least one of relation information information, meal time and vegetable recommend the corresponding relationship between template between dining customer.
6. according to the method described in claim 5, it is characterized by further comprising:
When obtaining between dining room classification, dining customer quantity and dining customer at least one of relation information information and dining Between;
According to the real consumption information for being directed to vegetable in the meal time, obtain in the dining room classification, dining customer quantity Between dining customer under at least one of relation information information and the meal time real consumption vegetable type And the vegetable quantity often to plant vegetables under category type;
According under at least one of relation information information between the dining room classification, dining customer quantity and dining customer with And real consumption vegetable type and the every vegetable quantity that plants vegetables under category type in the meal time, generate correspond to it is described At least one of relation information information and the meal time between dining room classification, dining customer quantity and the customer that eats Vegetable recommends template;
Establish at least one of relation information information between the dining room classification, dining customer quantity and dining customer, described Meal time and the vegetable recommend the corresponding relationship between template.
7. according to the method described in claim 5, it is characterized in that, the current dining room classification of acquisition includes:
Obtain the geographical location information of current dining customer;
According to the corresponding relationship between the geographical location information and geographical location information and dining room information, obtain with described Manage the corresponding dining room information of location information;
According to the corresponding relationship between the dining room information and dining room information and dining room classification, the current dining room class is obtained Mesh.
8. a kind of generating means for recommending dish information characterized by comprising
Meal time obtaining unit, for obtaining the current meal time;
Vegetable recommends template obtaining unit, for according to the current meal time and meal time and vegetable recommend template it Between corresponding relationship, obtain the first vegetable recommendation template corresponding with current meal time, wherein first vegetable pushes away Recommend the vegetable quantity that template includes vegetable type and often plants vegetables under category type;
It is preferred that dish information obtaining unit, for obtaining preferred dish information corresponding with current meal time;
Recommend dish information generation unit, vegetable quantity and institute for according to the vegetable type, often planting vegetables under category type Preferred dish information is stated, generates and recommends dish information.
9. a kind of electronic equipment characterized by comprising
Processor;And
Memory, for storing the program for recommending the generation method of dish information, which is powered and passes through the processor and transport After the program of the generation method of the row recommendation dish information, following step is executed:
Obtain the current meal time;
Recommend the corresponding relationship between template according to the current meal time and meal time and vegetable, acquisition is worked as with described Preceding meal time, corresponding first vegetable recommended template, wherein it includes vegetable type and every that first vegetable, which recommends template, Vegetable quantity under the category that plants vegetables type;
Obtain preferred dish information corresponding with current meal time;
According to the vegetable type, often the vegetable quantity and the preferred dish information to plant vegetables under category type generates and recommends dish Product information.
10. a kind of storage equipment, which is characterized in that
It is stored with the program for recommending the generation method of dish information, which is run by processor, execute following step:
Obtain the current meal time;
Recommend the corresponding relationship between template according to the current meal time and meal time and vegetable, acquisition is worked as with described Preceding meal time, corresponding first vegetable recommended template, wherein it includes vegetable type and every that first vegetable, which recommends template, Vegetable quantity under the category that plants vegetables type;
Obtain preferred dish information corresponding with current meal time;
According to the vegetable type, often the vegetable quantity and the preferred dish information to plant vegetables under category type generates and recommends dish Product information.
CN201811069573.4A 2018-09-13 2018-09-13 A kind of generation method, device and equipment for recommending dish information Pending CN109377259A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811069573.4A CN109377259A (en) 2018-09-13 2018-09-13 A kind of generation method, device and equipment for recommending dish information

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811069573.4A CN109377259A (en) 2018-09-13 2018-09-13 A kind of generation method, device and equipment for recommending dish information

Publications (1)

Publication Number Publication Date
CN109377259A true CN109377259A (en) 2019-02-22

Family

ID=65404451

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811069573.4A Pending CN109377259A (en) 2018-09-13 2018-09-13 A kind of generation method, device and equipment for recommending dish information

Country Status (1)

Country Link
CN (1) CN109377259A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111009307A (en) * 2019-12-26 2020-04-14 珠海格力电器股份有限公司 Recipe data recommendation method and system and household appliance
CN111563788A (en) * 2020-03-26 2020-08-21 口碑(上海)信息技术有限公司 Object recommendation method and device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107886400A (en) * 2017-11-15 2018-04-06 维沃移动通信有限公司 A kind of recipe recommendation method, device and mobile terminal
CN108091029A (en) * 2017-11-27 2018-05-29 深圳市赛亿科技开发有限公司 Dining room row number management method and system
CN108280729A (en) * 2017-01-06 2018-07-13 中兴通讯股份有限公司 A kind of food preparation method and device
CN108305155A (en) * 2018-03-12 2018-07-20 陈静 A kind of catering information commending system based on big data

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108280729A (en) * 2017-01-06 2018-07-13 中兴通讯股份有限公司 A kind of food preparation method and device
CN107886400A (en) * 2017-11-15 2018-04-06 维沃移动通信有限公司 A kind of recipe recommendation method, device and mobile terminal
CN108091029A (en) * 2017-11-27 2018-05-29 深圳市赛亿科技开发有限公司 Dining room row number management method and system
CN108305155A (en) * 2018-03-12 2018-07-20 陈静 A kind of catering information commending system based on big data

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111009307A (en) * 2019-12-26 2020-04-14 珠海格力电器股份有限公司 Recipe data recommendation method and system and household appliance
CN111563788A (en) * 2020-03-26 2020-08-21 口碑(上海)信息技术有限公司 Object recommendation method and device

Similar Documents

Publication Publication Date Title
US20170316488A1 (en) Systems and Methods of Food Management
Ilbery et al. Producer constructions of quality in regional speciality food production: a case study from south west England
US20150079551A1 (en) System for planning meals
CN108288219A (en) The method for pushing and system of food product information
US20160253922A1 (en) Systems and Methods of Food Management
US20150169758A1 (en) Multi-partite graph database
US20090037288A1 (en) Recipe management and execution systems and methods
US20130224694A1 (en) Integrated System and Method for Meal Planning and Management
US20130295531A1 (en) Method for meal optimization
Said et al. You are What You Eat! Tracking Health Through Recipe Interactions.
JP6903523B2 (en) Information processing equipment, information processing methods, and programs
US20210313039A1 (en) Systems and Methods for Diet Quality Photo Navigation Utilizing Dietary Fingerprints for Diet Assessment
US11615877B2 (en) Lifestyle preference management system and method
US20150206224A1 (en) Commerce System and Method of Controlling Activity Within the Commerce System with Mapping Data Structure Supporting Intelligent Personal Agent
Adeosun et al. Informal ready-to-eat food vending: a social practice perspective on urban food provisioning in Nigeria
CN109064296A (en) A kind of methods, devices and systems assisting snack
CN109741125A (en) Recommend method and device, the storage medium, electronic device of vegetable
CN109377259A (en) A kind of generation method, device and equipment for recommending dish information
Müller et al. Disposable but indispensable: The role of packaging in everyday food consumption
JP3660736B2 (en) Interactive dish search device
CN116843403A (en) Student catering preference recommendation system based on deep learning algorithm
CN113781183B (en) Commodity display method, commodity display device, computer equipment and computer readable storage medium
CN109493253A (en) A kind of method of ordering and device, computer storage medium and electronic equipment
Piplani et al. Supply chain inventory co-ordination through multiple, common replenishment epochs and selective discount
Plessz et al. The political dimension of consumption work, or political consumption as work: how French households do gatekeeping on the food market

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20190222