CN114547438A - Dish recommendation method and device - Google Patents
Dish recommendation method and device Download PDFInfo
- Publication number
- CN114547438A CN114547438A CN202210069255.8A CN202210069255A CN114547438A CN 114547438 A CN114547438 A CN 114547438A CN 202210069255 A CN202210069255 A CN 202210069255A CN 114547438 A CN114547438 A CN 114547438A
- Authority
- CN
- China
- Prior art keywords
- dishes
- dish
- ordered
- customer
- customers
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/953—Querying, e.g. by the use of web search engines
- G06F16/9535—Search customisation based on user profiles and personalisation
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION 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/00—Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
- G06Q50/10—Services
- G06Q50/12—Hotels or restaurants
Landscapes
- Engineering & Computer Science (AREA)
- Business, Economics & Management (AREA)
- Tourism & Hospitality (AREA)
- Databases & Information Systems (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- General Health & Medical Sciences (AREA)
- Strategic Management (AREA)
- Primary Health Care (AREA)
- General Business, Economics & Management (AREA)
- Marketing (AREA)
- Human Resources & Organizations (AREA)
- Economics (AREA)
- Health & Medical Sciences (AREA)
- Data Mining & Analysis (AREA)
- General Engineering & Computer Science (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
本申请提供了一种菜品推荐方法及装置,通过获取客户ID,判断出客户属性,根据客户属性向客户推荐菜品。对于老客户,根据其历史点餐菜品确定本次推荐的菜品,当客户某一历史点餐菜品次数越多,说明客户越满意该菜品,意味着本次就餐客户也可能更大概率点这一个菜品。因此推荐历史点餐菜品最多的菜品,能够一定程度提高推送客户满意菜品的准确度。
The present application provides a method and device for recommending dishes. By acquiring a customer ID, the attributes of the customers are determined, and dishes are recommended to the customers according to the attributes of the customers. For old customers, the recommended dishes are determined according to their historical ordering dishes. The more times a customer orders a certain historical dish, the more satisfied the customer is with the dish, which means that the customer may order this one with a higher probability. dishes. Therefore, recommending the dishes with the most ordered dishes in history can improve the accuracy of pushing customers' satisfied dishes to a certain extent.
Description
技术领域technical field
本申请涉及数据处理技术领域,特别涉及为一种菜品推荐方法及装置。The present application relates to the technical field of data processing, and in particular, to a method and device for recommending dishes.
背景技术Background technique
随着互联网技术的不断成熟,越来越多的传统行业开始采用互联网技术,打破信息的不对称性格局,以及对产生的大数据进行整合利用,使得资源利用最大化。With the continuous maturity of Internet technology, more and more traditional industries have begun to adopt Internet technology to break the asymmetric pattern of information, and integrate and utilize the generated big data to maximize resource utilization.
例如现在许多餐馆都采取线上点餐的方式进行点餐,既节约了人工成本,也能提高客户体验。For example, many restaurants are now ordering food online, which not only saves labor costs, but also improves customer experience.
但是当客户在线下餐馆进行线上点餐时,由于对菜品的不熟悉,且推荐的菜品往往只是店内的招牌菜,客户很有可能对推荐的菜品不满意。However, when customers order online at offline restaurants, they are likely to be dissatisfied with the recommended dishes due to their unfamiliarity with the dishes, and the recommended dishes are often only the signature dishes in the store.
发明内容SUMMARY OF THE INVENTION
本发明的目的在于提供一种菜品推荐方法及装置,能够解决如何提高推送客户满意菜品的准确度的问题。The purpose of the present invention is to provide a method and device for recommending dishes, which can solve the problem of how to improve the accuracy of pushing dishes that customers are satisfied with.
为了实现上述发明目的,本发明提供如下技术方案:In order to realize the above-mentioned purpose of the invention, the present invention provides the following technical solutions:
第一方面,提供一种菜品推荐方法,包括:In the first aspect, a method for recommending dishes is provided, including:
获取客户ID;Get customer ID;
根据所述ID判断客户是否为老客户;Determine whether the customer is an old customer according to the ID;
若是,获取客户的历史点餐记录,所述历史点餐记录包括:点餐菜品、点餐菜品次数,所述历史点餐记录包括:在本餐厅的历史点餐记录或在点餐平台的历史点餐记录;If so, obtain the customer's historical ordering records, the historical ordering records include: ordered dishes, the number of ordered dishes, and the historical ordering records include: the historical ordering records of the restaurant or the history of the ordering platform meal ordering records;
将待点餐菜品与所述点餐菜品进行匹配,得到匹配菜品,所述待点餐菜品为菜单上的菜品;Matching the dishes to be ordered with the dishes to be ordered to obtain matching dishes, and the dishes to be ordered are dishes on the menu;
在所述匹配菜品中选择点菜次数最高的菜品作为推荐菜品,将所述推荐菜品推荐给客户。Among the matching dishes, the dish with the highest order times is selected as the recommended dish, and the recommended dish is recommended to the customer.
上述菜品推荐方法,通过获取客户ID,判断出客户属性,根据客户属性向客户推荐菜品。对于老客户,根据其历史点餐菜品确定本次推荐的菜品,当客户某一历史点餐菜品次数越多,说明客户越满意该菜品,意味着本次就餐客户也可能更大概率点这一个菜品。因此推荐历史点餐菜品最多的菜品,能够一定程度提高推送客户满意菜品的准确度。In the above method for recommending dishes, the attributes of the customers are determined by obtaining the customer IDs, and dishes are recommended to the customers according to the attributes of the customers. For old customers, the recommended dishes are determined according to their historical ordering dishes. When a customer orders a certain historical dish more times, it means that the customer is more satisfied with the dish, which means that the customer may order this one with a higher probability. dishes. Therefore, recommending the dishes with the most ordered dishes in history can improve the accuracy of pushing customer satisfaction dishes to a certain extent.
第一方面的一个可能的实现方式,所述历史点餐记录还包括:菜品评价,所述方法还包括:判断所述菜品评价是否为正面;将所述菜品评价为正面的菜品推荐给客户。In a possible implementation manner of the first aspect, the historical meal ordering record further includes: a dish evaluation, and the method further includes: judging whether the dish evaluation is positive; recommending the dish with the positive dish evaluation to the customer.
第一方面的一个可能的实现方式,所述方法还包括:计算待点餐菜品与点餐菜品的相似度;选择所述相似度处于预设范围内的点餐菜品作为候选菜品;选择所述候选菜品中点餐次数最多的菜品对应的待点餐菜品作为相似菜品;将所述相似菜品推荐给客户。In a possible implementation manner of the first aspect, the method further includes: calculating the similarity between the dish to be ordered and the dish to be ordered; selecting the dish for which the similarity is within a preset range as a candidate dish; selecting the dish to be ordered Among the candidate dishes, the dish to be ordered corresponding to the dish with the most order times is regarded as a similar dish; the similar dish is recommended to the customer.
第一方面的一个可能的实现方式,所述历史点餐记录还包括:点餐菜品价格,所述方法还包括:根据所述点餐菜品与所述点餐菜品价格计算菜品的平均价格;向客户推荐与所述平均价格处于相同价格区间或相邻价格区间的菜品。In a possible implementation manner of the first aspect, the historical ordering record further includes: the price of the ordered dish, and the method further includes: calculating an average price of the dish according to the ordered dish and the ordered dish price; The customer recommends dishes in the same price range or adjacent price range as the average price.
第一方面的一个可能的实现方式,若否,获取客户ID对应的地理信息;根据所述地理信息推荐对应的菜品。In a possible implementation manner of the first aspect, if not, obtain geographic information corresponding to the customer ID; and recommend corresponding dishes according to the geographic information.
第二方面,提供一种菜品推荐装置,所述装置包括:In a second aspect, a dish recommendation device is provided, the device comprising:
第一获取模块,用于获取客户ID;The first acquisition module is used to acquire the customer ID;
判断模块,用于根据所述ID判断客户是否为老客户;Judging module, for judging whether the customer is an old customer according to the ID;
第二获取模块,用于当客户是老客户时,获取客户的历史点餐记录,所述历史点餐记录包括:点餐菜品、点餐菜品次数,所述历史点餐记录包括:在本餐厅的历史点餐记录或在点餐平台的历史点餐记录;The second acquisition module is used to acquire the customer's historical ordering records when the customer is an old customer, the historical ordering records include: ordering dishes and the number of times of ordering dishes, and the historical ordering records include: in this restaurant The historical ordering records or the historical ordering records on the ordering platform;
匹配模块,用于将待点餐菜品与所述点餐菜品进行匹配,得到匹配菜品,所述待点餐菜品为菜单上的菜品;a matching module, configured to match the dishes to be ordered with the dishes to be ordered to obtain matching dishes, and the dishes to be ordered are dishes on the menu;
第一推荐模块,用于在所述匹配菜品中选择点菜次数最高的菜品作为推荐菜品,将所述推荐菜品推荐给客户。The first recommendation module is configured to select the dish with the highest ordering times among the matching dishes as the recommended dish, and recommend the recommended dish to the customer.
上述菜品推荐装置,通过获取客户ID,判断出客户属性,根据客户属性向客户推荐菜品。对于老客户,根据其历史点餐菜品确定本次推荐的菜品,当客户某一历史点餐菜品次数越多,说明客户越满意该菜品,意味着本次就餐客户也可能更大概率点这一个菜品。因此推荐历史点餐菜品最多的菜品,能够在一定程度提高推送客户满意菜品的准确度。The above-mentioned dish recommendation device determines the attributes of the customers by acquiring the customer IDs, and recommends dishes to the customers according to the attributes of the customers. For old customers, the recommended dishes are determined according to their historical ordering dishes. When a customer orders a certain historical dish more times, it means that the customer is more satisfied with the dish, which means that the customer may order this one with a higher probability. dishes. Therefore, recommending the dishes with the most ordered dishes in history can improve the accuracy of pushing customers' satisfied dishes to a certain extent.
第二方面的一个可能的实现方式,所述历史点餐记录还包括:菜品评价,所述装置还包括:判断模块,用于判断所述菜品评价是否为正面;第二推荐模块,用于将所述菜品评价为正面的菜品推荐给客户。In a possible implementation manner of the second aspect, the historical ordering record further includes: a dish evaluation, and the device further includes: a judgment module for judging whether the dish evaluation is positive; a second recommendation module for adding The dishes with a positive evaluation of the dishes are recommended to customers.
第二方面的一个可能的实现方式,所述装置还包括:第一计算模块,用于计算待点餐菜品与点餐菜品的相似度;第一选择模块,用于选择所述相似度处于预设范围内的点餐菜品作为候选菜品;第二选择模块,用于选择所述候选菜品中点餐次数最多的菜品对应的待点餐菜品作为相似菜品;第三推荐模块,用于将所述相似菜品推荐给客户。In a possible implementation manner of the second aspect, the apparatus further includes: a first calculation module, configured to calculate the similarity between the dishes to be ordered and the dishes to be ordered; a first selection module, configured to select the similarity in a predetermined level. Set the ordered dishes within the range as the candidate dishes; the second selection module is used to select the dishes to be ordered corresponding to the dishes with the most orders among the candidate dishes as similar dishes; the third recommendation module is used to select the said dishes Similar dishes are recommended to customers.
第二方面的一个可能的实现方式,所述历史点餐记录还包括:点餐菜品价格,所述装置还包括:第二计算模块,用于根据所述点餐菜品与所述点餐菜品价格计算菜品的平均价格;第四推荐模块,用于向客户推荐与所述平均价格处于相同价格区间或相邻价格区间的菜品。In a possible implementation manner of the second aspect, the historical ordering record further includes: the price of the ordered dish, and the apparatus further includes: a second calculation module configured to calculate the ordered dish according to the ordered dish and the ordered dish price Calculate the average price of the dishes; the fourth recommendation module is used for recommending dishes in the same price range or adjacent price range as the average price to customers.
第二方面的一个可能的实现方式,所述装置还包括:第三获取模块,用于当客户是新客户时,获取客户ID对应的地理信息;第五推荐模块,用于根据所述地理信息推荐对应的菜品。In a possible implementation manner of the second aspect, the apparatus further includes: a third obtaining module, configured to obtain geographic information corresponding to the customer ID when the customer is a new customer; and a fifth recommending module, configured to obtain geographic information according to the geographic information Recommend corresponding dishes.
附图说明Description of drawings
为了更清楚地说明本申请实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the following briefly introduces the accompanying drawings required for the description of the embodiments or the prior art. Obviously, the drawings in the following description are only These are some embodiments of the present application. For those of ordinary skill in the art, other drawings can also be obtained based on these drawings without any creative effort.
其中:in:
图1为一个实施例中菜品推荐方法的流程图;1 is a flowchart of a method for recommending dishes in one embodiment;
图2为一个实施例中的系统框图;Fig. 2 is a system block diagram in one embodiment;
图3为一个实施例中计算机设备的内部结构图。FIG. 3 is a diagram of the internal structure of a computer device in one embodiment.
具体实施方式Detailed ways
应当理解,此处所描述的具体实施例仅仅用以解释本申请,并不用于限定本申请。It should be understood that the specific embodiments described herein are only used to explain the present application, but not to limit the present application.
下面将结合本申请的实施例中的附图,对本申请的实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请的一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all the implementations. example. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative work fall within the protection scope of the present application.
需要说明的是,本申请的说明书和权利要求书及上述附图中的术语“包括”、“包含”和“具有”以及它们任何变形,意图在于覆盖不排他的包含。例如包含了一系列步骤或单元的过程、方法、终端、产品或设备没有限定于已列出的步骤或单元,而是可选地还包括没有列出的步骤或单元,或可选地还包括对于这些过程、方法、产品或设备固有的其他步骤或单元。在本申请的权利要求书、说明书以及说明书附图中的术语,诸如“第一”和“第二”等之类的关系术语仅仅用来将一个实体/操作/对象与另一个实体/操作/对象区分开来,而不一定要求或者暗示这些实体/操作/对象之间存在任何这种实际的关系或者顺序。It should be noted that the terms "comprising", "comprising" and "having" in the description and claims of the present application and the above-mentioned drawings, as well as any modifications thereof, are intended to cover non-exclusive inclusion. For example, a process, method, terminal, product or device comprising a series of steps or units is not limited to the listed steps or units, but optionally also includes unlisted steps or units, or optionally also includes For other steps or units inherent to these processes, methods, products or devices. Terms in the claims, description, and drawings of this application, relational terms such as "first" and "second", etc., are only used to associate one entity/operation/object with another entity/operation/ Objects are distinguished without necessarily requiring or implying any such actual relationship or ordering between these entities/operations/objects.
在本文中提及“实施例”意味着,结合实施例描述的特定特征、结构或特性可以包含在本申请的至少一个实施例中。在说明书中的各个位置出现该短语并不一定均是指相同的实施例,也不是与其他实施例互斥的独立的或备选的实施例。本领域技术人员显式地和隐式地理解的是,本文所描述的实施例可以与其他实施例相结合。Reference herein to an "embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the present application. The appearance of the phrase in various places in the specification is not necessarily all referring to the same embodiment, nor is it a separate or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.
目前很多餐厅都采用线上点餐的方式,客户通过扫码下单,不需要通过服务员点餐,能节约成本,且客户体验也比较好。但很多客户到餐厅吃饭时,往往不知道点什么菜比较合口味,通常系统会推荐该餐厅的招牌菜,但客户不一定会喜欢吃招牌菜,导致对推荐的菜品不满意,又不知道该餐厅的哪些菜品符合自己的口味。基于这个问题,本申请提出了一种菜品推荐方法,通过获取客户的历史点餐记录,了解客户经常点的菜品,通常客户点同一个菜品次数越多,说明客户比较喜欢吃该菜品。将客户历史点餐记录中点餐次数高的菜品与本餐厅出售的菜品匹配,将匹配菜品推荐给客户,能够一定程度提高推送客户满意菜品的准确度。At present, many restaurants use the method of online ordering. Customers place orders by scanning the QR code and do not need to order through the waiter, which can save costs and provide a better customer experience. However, when many customers go to a restaurant to eat, they often do not know which dishes are more suitable for their taste. Usually, the system will recommend the restaurant's signature dishes, but customers may not like to eat the signature dishes, resulting in dissatisfaction with the recommended dishes, and they do not know what to do. Which dishes in the restaurant suit your taste. Based on this problem, the present application proposes a method for recommending dishes. By obtaining the historical order records of customers, we can understand the dishes that customers often order. Usually, the more times a customer orders the same dish, the more the customer likes to eat the dish. Matching the dishes with high order times in the customer's historical order records with the dishes sold by the restaurant, and recommending the matching dishes to customers, can improve the accuracy of pushing customers' satisfied dishes to a certain extent.
如图1所示,提出了一种菜品推荐方法,包括:As shown in Figure 1, a dish recommendation method is proposed, including:
步骤101,终端获取客户ID。
其中,当客户通过线下餐厅点餐时,扫描桌上的二维码,进入点餐页面。在客户点餐前,如果是新客户,需要进行注册,生成客户ID,如果是老客户,终端获取客户ID。通过客户的ID可以查询到客户的资料,如历史点餐记录,客户信息等。终端包括计算机、平板电脑等。Among them, when customers order food through offline restaurants, they scan the QR code on the table to enter the ordering page. Before a customer orders, if it is a new customer, it needs to register and generate a customer ID. If it is an old customer, the terminal obtains the customer ID. The customer's information, such as historical order records, customer information, etc., can be queried through the customer's ID. Terminals include computers, tablet computers, and the like.
步骤102,终端根据所述ID判断客户是否为老客户。
步骤103,若是,终端获取客户的历史点餐记录,所述历史点餐记录包括:点餐菜品、点餐菜品次数,所述历史点餐记录包括:在本餐厅的历史点餐记录或在点餐平台的历史点餐记录。
其中,当终端判定客户是老客户时,说明客户之前在该餐厅点过餐,用户历史点过的菜品具有参考意义,终端根据客户ID查询到客户的历史点餐记录。Wherein, when the terminal determines that the customer is an old customer, it indicates that the customer has ordered meals in the restaurant before, and the dishes ordered by the user in the past are of reference significance, and the terminal queries the customer's historical ordering records according to the customer ID.
步骤104,终端将待点餐菜品与所述点餐菜品进行匹配,得到匹配菜品,所述待点餐菜品为菜单上的菜品.In
其中,终端通过获取历史点餐记录中的点餐菜品,与待点餐菜品即菜单上的菜品进行匹配,待点餐菜品预存在系统里,当待点餐菜品与点餐菜品匹配成功时,即二者是同一道菜,将该菜品作为匹配菜品。Among them, the terminal obtains the ordered dishes in the historical ordering records, and matches the dishes to be ordered, that is, the dishes on the menu, and the dishes to be ordered are pre-stored in the system. That is, the two are the same dish, and the dish is regarded as a matching dish.
步骤105,终端在所述匹配菜品中选择点菜次数最高的菜品作为推荐菜品,将所述推荐菜品推荐给客户。Step 105: The terminal selects the dish with the highest ordering times among the matching dishes as the recommended dish, and recommends the recommended dish to the customer.
其中,点餐次数越多,说明客户越喜欢这道菜,因此将匹配菜品中点菜次数最高的菜品作为推荐菜品,推荐给客户。此外,根据推荐菜品数量的实际需要,可以按点餐次数排序依次推荐给客户,而不仅仅限于只推荐点餐次数最高的点餐菜品。Among them, the more times of ordering, the more customers like this dish, so the dish with the highest ordering times among the matching dishes is used as the recommended dish and recommended to the customer. In addition, according to the actual needs of the number of recommended dishes, it can be recommended to customers in order of ordering times, rather than only recommending only the ordering dishes with the highest ordering times.
上述菜品推荐方法,通过获取客户ID,判断出客户属性,根据客户属性向客户推荐菜品。对于老客户,根据其历史点餐菜品确定本次推荐的菜品,当客户某一历史点餐菜品次数越多,说明客户越满意该菜品,意味着本次就餐客户也可能更大概率点这一个菜品。因此推荐历史点餐菜品最多的菜品,能够一定程度提高推送客户满意菜品的准确度。In the above method for recommending dishes, the attributes of the customers are determined by obtaining the customer IDs, and dishes are recommended to the customers according to the attributes of the customers. For old customers, the recommended dishes are determined according to their historical ordering dishes. When a customer orders a certain historical dish more times, it means that the customer is more satisfied with the dish, which means that the customer may order this one with a higher probability. dishes. Therefore, recommending the dishes with the most ordered dishes in history can improve the accuracy of pushing customer satisfaction dishes to a certain extent.
在一个实施例中,所述历史点餐记录还包括:菜品评价,所述方法还包括:终端判断所述菜品评价是否为正面;将所述菜品评价为正面的菜品推荐给客户。In one embodiment, the historical meal ordering record further includes: dish evaluation, and the method further includes: the terminal judges whether the dish evaluation is positive; recommending the dish with the positive evaluation to the customer.
其中,客户在消费完之后会对菜品做出评价,当客户做出正面的评价时,说明客户有较大概率喜欢吃这道菜品。因此当客户下次就餐时,将这道菜推荐给客户,客户大概率会比较满意这道菜。当终端根据ID判定客户为老客户后,获取该客户的历史点餐记录,历史就餐记录中包括了菜品评价,终端获取用户的菜品评价,采用关键词提取算法提取菜品评价中的关键词,根据关键词判断该评价是否正面。例如,某位用户对某道菜品的评价是“这家餐厅环境很好,非常干净整洁,食物不仅外形美观,重要的是味道非常棒,色味俱佳。做法保留了食材原有的味道,清新爽口。而且菜品选择非常多,价格也不高,适合带着家人一起去。”,通过关键词提取算法提取出“环境很好”“干净整洁”“色味俱佳”“味道非常棒”“价格不高”等关键词,终端根据这些关键词判断出客户对这道菜品的评价为正面评价,说明客户对这道菜大概率比较满意。如果某位用户对某道菜品的评价是“这家店的菜一点都不好吃,还贵,性价比很低,上的菜都冷了,感觉菜也不新鲜”,通过关键词提取算法提取出“不好吃”“贵”“不新鲜”等关键词,终端根据这些关键词判断出客户对这道菜品的评价为负面评价,说明客户对这道菜不满意,因此不会再向客户推荐这道菜,以免引起客户不满。因此将菜品评价为正面的菜品推荐给客户,大概率客户会比较满意。Among them, customers will comment on the dishes after consumption, and when customers make positive comments, it means that customers have a high probability of liking the dishes. Therefore, when customers dine next time, recommend this dish to customers, and customers will most likely be satisfied with this dish. After the terminal determines that the customer is an old customer according to the ID, it obtains the customer's historical order records, which include the dish evaluation. The terminal obtains the user's dish evaluation, and uses a keyword extraction algorithm to extract keywords in the dish evaluation. Keywords determine whether the review is positive or not. For example, a user's evaluation of a certain dish is "This restaurant has a very good environment, very clean and tidy, the food is not only beautiful in appearance, but most importantly, it tastes very good, with good color and taste. The method retains the original taste of the ingredients, Fresh and refreshing. And there are many choices of dishes, the price is not high, it is suitable to take the family together.", through the keyword extraction algorithm, "the environment is very good", "clean and tidy", "good color and taste", "taste is very good" Keywords such as "price is not high", the terminal judges that the customer's evaluation of the dish is positive according to these keywords, indicating that the customer is likely to be satisfied with the dish. If a user's evaluation of a certain dish is "the food in this restaurant is not delicious at all, it is expensive, and the price-performance ratio is very low. Key words such as "not delicious", "expensive", and "not fresh" are displayed, and the terminal judges that the customer's evaluation of the dish is negative based on these keywords, indicating that the customer is not satisfied with the dish, so it will not tell the customer any more This dish is recommended so as not to cause dissatisfied customers. Therefore, recommend dishes that are rated as positive to customers, and there is a high probability that customers will be more satisfied.
在一个实施例中,所述方法还包括:终端计算待点餐菜品与点餐菜品的相似度;选择所述相似度处于预设范围内的点餐菜品作为候选菜品;选择所述候选菜品中点餐次数最多的菜品对应的待点餐菜品作为相似菜品;将所述相似菜品推荐给客户。In one embodiment, the method further includes: the terminal calculates the similarity between the dishes to be ordered and the ordered dishes; selects the ordered dishes whose similarity is within a preset range as the candidate dishes; selects one of the candidate dishes The dish to be ordered corresponding to the dish with the most orders is regarded as a similar dish; the similar dish is recommended to the customer.
其中,当客户在其他餐厅或者点餐平台上点餐后,也会产生历史点餐记录,终端获取这些历史点餐记录中的点餐菜品。通过对菜品进行量化分析,计算出待点餐菜品与点餐菜品的相似度。对待点餐进行相似度筛选,选择所述相似度处于预设范围内的点餐菜品作为候选菜品。预设范围根据实际需要自行设置,例如设置成70-100%。选择所述候选菜品中点餐次数最多的菜品对应的待点餐菜品作为相似菜品;将所述相似菜品推荐给客户。候选菜品是点餐菜品与本餐厅待点餐菜品的相似度处于预设范围内的菜品,选择候选菜品中点菜次数最高的菜品,客户对该菜品点餐次数越多,说明客户越满意该菜品,意味着本次就餐客户也可能更大概率点这一个菜品,能够一定程度提高推送客户满意菜品的准确度。此外,通过读取历史点餐数据并进行分析,即使客户没在本餐厅吃过饭,也能向客户推荐客户满意的菜品。Among them, when customers order food in other restaurants or ordering platforms, historical order records are also generated, and the terminal obtains the ordered dishes in these historical order records. Through quantitative analysis of the dishes, the similarity between the dishes to be ordered and the dishes to be ordered is calculated. The similarity screening is performed on the food to be ordered, and the ordered dishes with the similarity within a preset range are selected as candidate dishes. The preset range can be set according to actual needs, such as 70-100%. Selecting the dish to be ordered corresponding to the dish with the most order times among the candidate dishes as a similar dish; recommending the similar dish to the customer. The candidate dishes are the dishes whose similarity between the ordered dishes and the dishes to be ordered in this restaurant is within the preset range. Select the dishes with the highest ordering times among the candidate dishes. The more times customers order the dishes, the more satisfied the customers are. Dishes means that customers at this meal may also order this dish with a higher probability, which can improve the accuracy of pushing customer satisfaction dishes to a certain extent. In addition, by reading and analyzing the historical order data, even if the customer has not eaten at the restaurant, it is possible to recommend the customer's satisfactory dishes to the customer.
在一个实施例中,所述历史点餐记录还包括:点餐菜品价格,所述方法还包括:终端根据所述点餐菜品与所述点餐菜品价格计算菜品的平均价格;向客户推荐与所述平均价格处于相同价格区间或相邻价格区间的菜品。In one embodiment, the historical order record further includes: the price of the ordered dish, and the method further includes: the terminal calculates the average price of the dish according to the ordered dish and the ordered dish price; The average price is for dishes in the same price range or adjacent price ranges.
其中,客户在点餐时,通常会点价格在自己接受范围内的菜品。因此计算客户经常点餐的菜品所处的价格区间,向客户推荐处于该区间的菜品,客户更容易接受。在本实施例中,历史点餐记录中还包括点餐菜品价格,终端根据点餐菜品与点餐菜品价格计算菜品的平均价格。终端划定好价格区间,例如划分为0-30元、30-50元、50-100元、100元以上。当计算该用户点餐的平均价格为25元,向客户推荐处于0-30元区间的菜品或30-50元区间的菜品。通过计算客户的平均点餐价格,向客户推荐处于相同价格区间或相邻价格区间的菜品,客户更容易接受,能够一定程度提高推送客户满意菜品的准确度。Among them, when customers order food, they usually order dishes with prices within their acceptable range. Therefore, the price range of the dishes that customers often order is calculated, and the dishes in this range are recommended to customers, which is easier for customers to accept. In this embodiment, the historical ordering record further includes the price of the ordered dish, and the terminal calculates the average price of the dish according to the ordered dish and the ordered dish price. The terminal defines the price range, for example, it is divided into 0-30 yuan, 30-50 yuan, 50-100 yuan, and more than 100 yuan. When the average price of the user's order is calculated to be 25 yuan, dishes in the range of 0-30 yuan or dishes in the range of 30-50 yuan are recommended to the customer. By calculating the average order price of customers, and recommending dishes in the same price range or adjacent price range to customers, it is easier for customers to accept, and it can improve the accuracy of pushing customers' satisfied dishes to a certain extent.
在一个实施例中,所述方法还包括:若否,获取客户ID对应的地理信息;根据所述地理信息推荐对应的菜品。In one embodiment, the method further includes: if not, obtaining geographic information corresponding to the customer ID; and recommending corresponding dishes according to the geographic information.
其中,对于新客户,根据客户所处地区判断客户的口味在一定程度上是准确的。当终端判定客户为新客户后,终端根据用户ID获取用户的地理信息,在系统内预存了每一个身份对应的口味,同时也预存了待点餐菜品的口味,根据地理信息推荐对应的菜品。例如,客户的地理信息为湖南,系统中对应的口味为:辣、重油。因此,将对应该口味的菜品推荐给客户,相对于随机推荐,客户有较大概率会满意这道菜。Among them, for new customers, it is accurate to a certain extent to judge the customer's taste according to the region where the customer is located. When the terminal determines that the customer is a new customer, the terminal obtains the user's geographic information according to the user ID, pre-stores the taste corresponding to each identity in the system, and also pre-stores the taste of the dishes to be ordered, and recommends the corresponding dishes according to the geographic information. For example, the geographic information of the customer is Hunan, and the corresponding flavors in the system are: spicy, heavy oil. Therefore, a dish that should taste is recommended to customers. Compared with random recommendations, customers have a higher probability of being satisfied with the dish.
如图2所示,提出了一种菜品推荐装置,包括:As shown in Figure 2, a dish recommendation device is proposed, including:
第一获取模块201,用于获取客户ID;The first obtaining
判断模块202,用于根据所述ID判断客户是否为老客户;Judging
第二获取模块203,用于当客户是老客户时,获取客户的历史点餐记录,所述历史点餐记录包括:点餐菜品、点餐菜品次数,所述历史点餐记录包括:在本餐厅的历史点餐记录或在点餐平台的历史点餐记录;The second obtaining
匹配模块204,用于将待点餐菜品与所述点餐菜品进行匹配,得到匹配菜品,所述待点餐菜品为菜单上的菜品;The
第一推荐模块205,用于在所述匹配菜品中选择点菜次数最高的菜品作为推荐菜品,将所述推荐菜品推荐给客户。The
上述菜品推荐装置,通过获取客户ID,判断出客户属性,根据客户属性向客户推荐菜品。对于老客户,根据其历史点餐菜品确定本次推荐的菜品,当客户某一历史点餐菜品次数越多,说明客户越满意该菜品,意味着本次就餐客户也可能更大概率点这一个菜品。因此推荐历史点餐菜品最多的菜品,能够在一定程度提高推送客户满意菜品的准确度。The above-mentioned dish recommendation device determines the attributes of the customers by acquiring the customer IDs, and recommends dishes to the customers according to the attributes of the customers. For old customers, the recommended dishes are determined according to their historical ordering dishes. When a customer orders a certain historical dish more times, it means that the customer is more satisfied with the dish, which means that the customer may order this one with a higher probability. dishes. Therefore, recommending the dishes with the most ordered dishes in history can improve the accuracy of pushing customers' satisfied dishes to a certain extent.
在一个实施例中,所述历史点餐记录还包括:菜品评价,所述装置还包括:判断模块,用于判断所述菜品评价是否为正面;第二推荐模块,用于将所述菜品评价为正面的菜品推荐给客户。In one embodiment, the historical ordering record further includes: dish evaluation, and the device further includes: a judgment module for judging whether the dish evaluation is positive; a second recommendation module for evaluating the dish Recommended to customers for positive dishes.
在一个实施例中,所述装置还包括:第一计算模块,用于计算待点餐菜品与点餐菜品的相似度;第一选择模块,用于选择所述相似度处于预设范围内的点餐菜品作为候选菜品;第二选择模块,用于选择所述候选菜品中点餐次数最多的菜品对应的待点餐菜品作为相似菜品;第三推荐模块,用于将所述相似菜品推荐给客户。In one embodiment, the apparatus further includes: a first calculation module, configured to calculate the similarity between the dishes to be ordered and the dishes to be ordered; a first selection module, configured to select the similarity within a preset range. The ordered dishes are used as candidate dishes; the second selection module is used to select the dishes to be ordered corresponding to the dishes with the most orders among the candidate dishes as similar dishes; the third recommendation module is used to recommend the similar dishes to client.
在一个实施例中,所述历史点餐记录还包括:点餐菜品价格,所述装置还包括:第二计算模块,用于根据所述点餐菜品与所述点餐菜品价格计算菜品的平均价格;第四推荐模块,用于向客户推荐与所述平均价格处于相同价格区间或相邻价格区间的菜品。In one embodiment, the historical ordering record further includes: the price of the ordered dish, and the apparatus further includes: a second calculation module configured to calculate the average of the dish according to the ordered dish and the price of the ordered dish Price; the fourth recommendation module is used for recommending dishes in the same price range or adjacent price range as the average price to customers.
在一个实施例中,所述装置还包括:第三获取模块,用于当客户是新客户时,获取客户ID对应的地理信息;第五推荐模块,用于根据所述地理信息推荐对应的菜品。In one embodiment, the device further includes: a third acquisition module, configured to acquire geographic information corresponding to the customer ID when the customer is a new customer; and a fifth recommendation module, configured to recommend corresponding dishes according to the geographic information .
如图3所示,在一个实施例中,提出了一种计算机设备,该计算机设备包括通过终端总线连接的处理器、存储器和网络接口。其中,存储器包括非易失性存储介质和内存储器。该计算机设备的非易失性存储介质有存储操作终端,还可有存储计算机程序,该计算机程序被处理器执行时,可使得处理器实现上述的菜品推荐方法。该内存储器中也可储存有计算机程序,该计算机程序被处理器执行时,可使得处理器执行上述的菜品推荐方法。本领域技术人员可以理解,图3中示出的结构,仅仅是与本申请方案相关的部分结构的框图,并不构成对本申请方案所应用于其上的设备的限定,具体的设备可以包括比图中所示更多或更少的部件,或者组合某些部件,或者具有不同的部件布置。As shown in FIG. 3, in one embodiment, a computer device is presented, the computer device including a processor, a memory, and a network interface connected by a terminal bus. Wherein, the memory includes a non-volatile storage medium and an internal memory. The non-volatile storage medium of the computer device includes a storage operation terminal, and may also store a computer program. When the computer program is executed by the processor, the processor can implement the above-mentioned method for recommending dishes. A computer program may also be stored in the internal memory, and when the computer program is executed by the processor, the processor may execute the above-mentioned method for recommending dishes. Those skilled in the art can understand that the structure shown in FIG. 3 is only a block diagram of a partial structure related to the solution of the present application, and does not constitute a limitation on the equipment to which the solution of the present application is applied. More or fewer components are shown in the figures, either in combination or with different arrangements of components.
在一个实施例中,提出了一种计算机可读存储介质,有存储计算机程序,计算机程序被处理器执行时,使得处理器执行上述菜品推荐方法的步骤。In one embodiment, a computer-readable storage medium is provided, which stores a computer program, and when the computer program is executed by a processor, causes the processor to execute the steps of the above-mentioned method for recommending dishes.
可以理解的是,上述菜品推荐方法、装置、设备及存储介质属于一个总的发明构思,实施例可相互适用。It can be understood that the above-mentioned method, apparatus, device and storage medium for dish recommendation belong to a general inventive concept, and the embodiments are applicable to each other.
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,所述的程序可存储于一非易失性计算机可读取存储介质中,该程序在执行时,可包括如上述各方法的实施例的流程。其中,本申请所提供的各实施例中所使用的对存储器、存储、数据库或其它介质的任何引用,均可包括非易失性和/或易失性存储器。非易失性存储器可包括只读存储器(ROM)、可编程ROM(PROM)、电可编程ROM(EPROM)、电可擦除可编程ROM(EEPROM)或闪存。易失性存储器可包括随机存取存储器(RAM)或者外部高速缓冲存储器。作为说明而非局限,RAM以多种形式可得,诸如静态RAM(SRAM)、动态RAM(DRAM)、同步DRAM(SDRAM)、双数据率SDRAM(DDRSDRAM)、增强型SDRAM(ESDRAM)、同步链路(Synchlink)DRAM(SLDRAM)、存储器总线(Rambus)直接RAM(RDRAM)、直接存储器总线动态RAM(DRDRAM)、以及存储器总线动态RAM(RDRAM)等。Those of ordinary skill in the art can understand that all or part of the processes in the methods of the above embodiments can be implemented by instructing relevant hardware through a computer program, and the program can be stored in a non-volatile computer-readable storage medium , when the program is executed, it may include the flow of the above-mentioned method embodiments. Wherein, any reference to memory, storage, database or other medium used in the various embodiments provided in this application may include non-volatile and/or volatile memory. Nonvolatile memory may include read only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in various forms such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous chain Road (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), etc.
以上实施例的各技术特征可以进行任意的组合,为使描述简洁,未对上述实施例中的各个技术特征所有可能的组合都进行描述,然而,只要这些技术特征的组合不存在矛盾,都应当认为是本说明书记载的范围。The technical features of the above embodiments can be combined arbitrarily. In order to make the description simple, all possible combinations of the technical features in the above embodiments are not described. However, as long as there is no contradiction in the combination of these technical features It is considered to be the range described in this specification.
以上所述实施例仅表达了本申请的几种实施方式,其描述较为具体和详细,但并不能因此而理解为对本申请专利范围的限制。应当指出的是,对于本领域的普通技术人员来说,在不脱离本申请构思的前提下,还可以做出若干变形和改进,这些都属于本申请的保护范围。因此,本申请专利的保护范围应以所附权利要求为准。The above-mentioned embodiments only represent several embodiments of the present application, and the descriptions thereof are relatively specific and detailed, but should not be construed as a limitation on the scope of the patent of the present application. It should be pointed out that for those skilled in the art, without departing from the concept of the present application, several modifications and improvements can be made, which all belong to the protection scope of the present application. Therefore, the scope of protection of the patent of the present application shall be subject to the appended claims.
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210069255.8A CN114547438A (en) | 2022-01-20 | 2022-01-20 | Dish recommendation method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210069255.8A CN114547438A (en) | 2022-01-20 | 2022-01-20 | Dish recommendation method and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN114547438A true CN114547438A (en) | 2022-05-27 |
Family
ID=81672609
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210069255.8A Pending CN114547438A (en) | 2022-01-20 | 2022-01-20 | Dish recommendation method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114547438A (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6782370B1 (en) * | 1997-09-04 | 2004-08-24 | Cendant Publishing, Inc. | System and method for providing recommendation of goods or services based on recorded purchasing history |
CN106651524A (en) * | 2016-12-27 | 2017-05-10 | 杭州火小二科技有限公司 | Method for intelligently generating recommended menu |
CN109816469A (en) * | 2018-12-14 | 2019-05-28 | 平安科技(深圳)有限公司 | Vegetable recommended method and server based on big data |
CN110675226A (en) * | 2019-09-26 | 2020-01-10 | 秒针信息技术有限公司 | Dish recommendation method and device, computer equipment and readable storage medium |
CN111598737A (en) * | 2020-05-07 | 2020-08-28 | 深圳市金博奥科技有限公司 | A method and system for automatically recommending dishes to customers |
-
2022
- 2022-01-20 CN CN202210069255.8A patent/CN114547438A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6782370B1 (en) * | 1997-09-04 | 2004-08-24 | Cendant Publishing, Inc. | System and method for providing recommendation of goods or services based on recorded purchasing history |
CN106651524A (en) * | 2016-12-27 | 2017-05-10 | 杭州火小二科技有限公司 | Method for intelligently generating recommended menu |
CN109816469A (en) * | 2018-12-14 | 2019-05-28 | 平安科技(深圳)有限公司 | Vegetable recommended method and server based on big data |
CN110675226A (en) * | 2019-09-26 | 2020-01-10 | 秒针信息技术有限公司 | Dish recommendation method and device, computer equipment and readable storage medium |
CN111598737A (en) * | 2020-05-07 | 2020-08-28 | 深圳市金博奥科技有限公司 | A method and system for automatically recommending dishes to customers |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2020048084A1 (en) | Resource recommendation method and apparatus, computer device, and computer-readable storage medium | |
Majid et al. | Service quality, food quality, image and customer loyalty: An empirical study at a hotel restaurant | |
US8762226B2 (en) | Item discovery tools and methods for shopping in an electronic commerce environment | |
US9311650B2 (en) | Determining search result rankings based on trust level values associated with sellers | |
JP5831204B2 (en) | Information providing system, information providing method, and program | |
US11823042B2 (en) | System for measuring food weight | |
CN109214955B (en) | Method and device for generating meal package | |
CN105096151A (en) | Information recommendation method, device, and server | |
CN109886772A (en) | Products Show method, apparatus, computer equipment and storage medium | |
US20150254680A1 (en) | Utilizing product and service reviews | |
JP6413508B2 (en) | Information recommendation program and information processing apparatus | |
CN107092647A (en) | A kind of method and device that combination of resources is provided | |
JP2017134744A (en) | Information processing system, information processing method, and information processing program | |
CN109064296B (en) | Method, device and system for assisting in catering | |
CN116934418B (en) | Abnormal order detection and early warning method, system, equipment and storage medium | |
CN110910207A (en) | Method and system for improving commodity recommendation diversity | |
CN110458602A (en) | Commodity recommendation method, device, electronic device, and storage medium | |
KR20030058660A (en) | The method of Collaborative Filtering using content references of users in Personalization System | |
KR20220026255A (en) | Recommendation System for Health Supplement by Using Big Data | |
US20200394727A1 (en) | Food ordering system based on predefined variables | |
KR20230116355A (en) | Method and apparatus for recommending personalized recipe | |
CN114547438A (en) | Dish recommendation method and device | |
KR20230092278A (en) | Method and apparatus for food material recommendation using deep learning-based user segmentation | |
CN110889748B (en) | Store platform product recommendation method, store platform product recommendation device, computer equipment and storage medium | |
CN112182323A (en) | Category prediction method and device, electronic equipment and storage medium |
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 |