Personalized dish seasoning method and apparatus based on food ordering habits
By calculating user similarity and establishing taste models, the problem of inaccurate seasoning recommendations in smart kitchens is solved, information processing efficiency is improved, user experience is improved, and personalized seasoning of dishes is achieved.
Patent Information
- Application Number
- PCT/CN2023/084928
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-02-28
- Filing Date
- 2023-03-30
- Publication Date
- 2024-09-06
AI Technical Summary
Seasoning recommendations in existing smart kitchens are inaccurate and information processing efficiency is low, resulting in poor user experience.
By calculating the similarity between the target user and other users, a taste model is established to recommend seasonings, and the user attribute vector and seasoning selection history are used to make accurate recommendations and optimize seasoning weight adjustment.
It improves the accuracy and efficiency of seasoning recommendations, improves user experience, and ensures personalized seasoning of dishes.
Smart Images

Figure CN2023084928_06092024_PF_FP
Abstract
Description
A personalized dish seasoning method and device based on ordering habits Technical Field
[0001] The present invention relates to the field of catering services, and in particular to a method and device for personalized seasoning of dishes based on ordering habits. Background Art
[0002] There's a saying that goes, "Food is the first necessity of the people," which demonstrates the importance of food to people's daily lives. Seasoning is an indispensable part of food preparation, and everyone has their own preferences for various seasonings. Smart kitchens have gradually become popular, but few offer recommended seasonings. Most consumers don't accurately predict the amount of seasoning they use, making it difficult for them to make a decision. Furthermore, when they make their own choices, they may be dissatisfied with the results, leading to a poor user experience.
[0003] A Chinese patent document with publication number CN109829111A, published on April 3, 2019, discloses a method and device for creating user taste labels and recommending recipes. The method includes: obtaining the user's geographic location, obtaining the user's taste preferences at the geographic location, binding the geographic location with the taste preferences, and storing them as a user taste label.
[0004] The disadvantages of the above-mentioned method and device for preparing user taste labels and recommending recipes are: the method only uses the target user's geographic location as the taste label, the method is too simple, the grasp of the user's taste is not accurate, the recommended taste is likely to make the target user dissatisfied, the device is too simple, the information processing efficiency is low, and the recommendation efficiency is low.
[0005] It should be noted that the above introduction to the technical background is merely intended to provide a clear and complete description of the technical solutions of this application and facilitate understanding by those skilled in the art. Simply because these solutions are described in the background technology section of this application, it should not be assumed that the above technical solutions are well known to those skilled in the art.
[0006] Summary of the Invention
[0007] The first purpose of the present invention is to solve the problem of inaccurate recommendations in the existing personalized seasoning method for dishes based on ordering habits, and to provide a personalized seasoning method for dishes based on ordering habits, which has the advantage of accurately recommending flavors.
[0008] The second purpose of the present invention is to solve the problem of low information processing efficiency of the existing personalized seasoning device for dishes based on ordering habits, and to provide a personalized seasoning device for dishes based on ordering habits, which has the advantages of reasonable structure and high information processing efficiency.
[0009] The present invention solves the above-mentioned technical problems by employing a technical solution. First, the target user's basic profile information is used to calculate similarities with other users; the target user's selected seasoning values on the ordering platform are used to establish a taste model for the target user; and seasonings are recommended to the target user based on the similarities and the target user's taste model. The main steps are: generating a user attribute vector for each user using their user attributes; calculating the similarity between other users and the target user based on the user attribute vector; and calculating the similarity between other users within each user group and the target user based on the similarity between the target user and other users within each user group.
[0010] Using the technical solution of the first aspect, when a target user orders a dish, various user information is first obtained, including basic profile information, the values of the seasonings selected on the ordering platform, and reviews of the purchased dishes. The basic profile information is then used to calculate the similarity between the target user and other users. A taste model is then created for the target user based on the values of the seasonings selected on the ordering platform. Finally, seasoning recommendations are made based on the similarity and taste model. This results in more accurate and efficient recommendations.
[0011] In the first aspect, before using the target user's basic profile information to calculate similarity with other users, the process further includes: obtaining each user's basic profile information and determining each user's attributes; obtaining the value of each user's seasoning selected on the ordering platform; and obtaining each user's rating of the purchased meal. Preferably, the basic profile information includes: place of residence, age, gender, dish rating, seasoning value, nationality, order time, weather, weight, etc. This acquisition of various user information makes similarity calculation more accurate.
[0012] In the first aspect, using the target user's basic profile information to calculate similarities with other users includes: using each user's user attributes to generate a user attribute vector for each user; using each user's user attribute vector to calculate similarities between the target user and other users in terms of the user attribute; and using the similarities between other users in each user group and the target user in terms of the attribute to calculate similarities between other users in each user group and the target user. Preferably, similarity calculation methods include, but are not limited to, Jaccard correlation coefficient, Pearson correlation coefficient, Euclidean distance, and cosine similarity. This allows for a reasonable and accurate similarity calculation process with high precision, facilitating precise recommendations of appropriate seasoning amounts.
[0013] In the first aspect, preferably, the similarity between other users and the target user in terms of user attributes is calculated using the following method: sim(a, b) = cos(a, b)
[0014] Here, a represents the target user's attribute vector, b represents the attribute vector of another user among all users, sim(a, b) represents the similarity between the target user and another user in terms of a certain attribute vector, and cos(a, b) represents the cosine of the angle between vectors a and b. Calculating similarity using the cosine of the angle is a classic similarity algorithm. For similarity between two vectors, a higher precision results in more accurate similarity calculations between the target user and other users, leading to more accurate recommendations for the target user.
[0015] In the first aspect, user attributes preferably include at least one of the following: place of residence, age, gender, dish rating, seasoning selection value, nationality, order time, weather, and weight. This allows for more selectable user attributes, allowing for the calculation of user similarities from multiple perspectives, resulting in more accurate results and more precise seasoning quantity recommendations for the target user.
[0016] In a first aspect, establishing a taste profile for a target user using the values of seasonings selected by the target user on a food ordering platform includes: recording the quantity of seasonings selected by the target user on the food ordering platform; and establishing a taste profile for the target user using the quantity of seasonings selected by the target user on the food ordering platform, wherein the quantity of seasonings is controlled by seasoning weights. Thus, when a returning user makes a purchase again, recommendations can be made based on the seasonings the user selected last time. For identical seasonings, the same recommendations can be made. For seasonings selected for the first time, recommendations can be made based on the user's taste profile, resulting in more accurate seasoning quantity recommendations.
[0017] In the first aspect, the taste model preferably includes: using the seasoning value selected by the target user to classify the target user's taste, wherein the classification includes: light, moderate, and strong. In this way, users can be classified according to different labels, making recommendations more convenient and accurate.
[0018] In a first aspect, recommending seasonings to a target user based on similarity and a user model includes: querying the target user's basic profile information; calculating the target user's similarity with other users; establishing a taste model using the number of seasonings selected by the target user on the ordering platform; and recommending the target user the value of the seasoning selected last time. For seasonings not previously selected, a large amount is recommended for strong flavors based on the taste model; a moderate amount is recommended for moderate flavors; and a small amount is recommended for light flavors based on the taste model. If the target user is a new user, the seasoning value of the user with the closest similarity to 1 is recommended. Preferably, the seasoning quantity includes: moderate, small, and large. Since most users cannot accurately select the specific gram quantity of a seasoning, providing this option helps customers make better choices and also facilitates the aforementioned taste classification. This makes the entire recommendation process simple and efficient. Recommendations are made to users based on the taste model, while new users can receive recommendations based on similarity with other users. This comprehensive recommendation process is highly accurate.
[0019] In the first aspect, the personalized seasoning method further includes initializing the seasoning weights for each user attribute to default values; if a target user's reviews detect that a particular seasoning is frequently mentioned, then reducing the target user's weight for that seasoning; and if a target user's reviews detect that a particular seasoning is rarely mentioned, then increasing the target user's weight for that seasoning. This allows weights to be updated based on the user's receptiveness to the seasoning. Since different users may define the quantity of seasoning differently, by searching for keywords in user reviews and finding relevant keywords, weights are updated to better recommend seasonings to the user.
[0020] The second aspect: A personalized seasoning device for dishes based on ordering habits, including: a similarity calculation module, configured to use the basic information of the target user to calculate the similarity with other users; a taste model establishment module, configured to use the numerical values of the seasonings selected by the target user on the ordering platform to establish a taste model for the target user; wherein, a communication module is provided between the modules of the personalized seasoning device for information exchange between the modules.
[0021] The second aspect also includes: an information acquisition module, which is configured to obtain the basic information of each user, the value of the seasoning selected on the ordering platform, and the evaluation of the purchased food; a seasoning recommendation module, which is configured to recommend seasonings to the target user based on similarity and user model; and a weight adjustment module, which is configured to adjust the seasoning weight according to the target user's evaluation.
[0022] Using the technical solution of the second aspect above, when the target user selects food, the information acquisition module will first obtain information about the target user's basic information, the value of the seasoning selected on the ordering platform, and the evaluation of the purchased food. Then the similarity calculation module calculates the similarity between the target user and other users based on the basic information obtained by the information acquisition module. The taste model establishment module establishes a taste model for the target user based on the value of the seasoning selected by the target user on the ordering platform obtained by the information acquisition module. Finally, the seasoning recommendation module recommends seasonings to the target user based on the similarity and taste model. When the customer is a repeat customer, the seasoning recommendation module will also update the target user's weight of the seasoning based on the target user's evaluation of the purchased food. Information flow between modules is through the information module.
[0023] In the second aspect, the device for personalized seasoning of dishes based on ordering habits also includes: a memory for storing a computer program; and a processor for implementing the steps of the method for personalized seasoning of dishes based on ordering habits as described in any one of claims 1 to 7 when executing the computer program.
[0024] The present invention provides an intelligent storage system and method for side dish boxes, which recommends seasonings to target users based on similarity and their taste profiles. The advantages include: 1. The personalized seasoning method uses similarity and taste profiles to accurately recommend seasoning quantities; 2. The personalized seasoning device has a rational structure and high information processing efficiency.
[0025] With reference to the following description and drawings, specific embodiments of the present application are disclosed in detail, indicating the manner in which the principles of the present application can be employed. It should be understood that the embodiments of the present application are not limited in scope thereby. Within the scope of the terms of the appended claims, the embodiments of the present application include many variations, modifications, and equivalents.
[0026] Features described and / or illustrated for one embodiment may be used in the same or similar manner in one or more other embodiments, combined with features in other embodiments, or substituted for features in other embodiments. It should be emphasized that the term "include / comprise" as used herein refers to the presence of a feature, an entire part, a step, or a component, but does not exclude the presence or addition of one or more other features, entire parts, steps, or components. BRIEF DESCRIPTION OF THE DRAWINGS
[0027] FIG1 is a schematic diagram of a method for personalized seasoning of dishes based on ordering habits according to the present invention;
[0028] FIG2 is a schematic diagram of calculating similarity with other users according to a method for personalized seasoning of dishes based on ordering habits of the present invention;
[0029] FIG3 is a schematic diagram of establishing a taste model for a target user according to a method for personalized seasoning of dishes based on ordering habits of the present invention;
[0030] FIG4 is a schematic diagram of a seasoning recommendation process according to a method for personalized seasoning of dishes based on ordering habits of the present invention;
[0031] FIG5 is a schematic diagram of some structures of a device for personalized seasoning of dishes based on ordering habits according to the present invention;
[0032] FIG6 is a schematic diagram of another structure of a device for personalized seasoning of dishes based on ordering habits according to the present invention;
[0033] In the figure: 50 personalized seasoning device, 501 information acquisition module, 502 similarity calculation module, 503 taste model establishment module, 504 seasoning recommendation module, 505 weight adjustment module, 60 personalized seasoning communication device, 610 memory, 620 storage interface, 630 communication bus, 640 processor, 650 network interface, 660 input and output interface. DETAILED DESCRIPTION
[0034] The specific implementation of the technical solution of the present invention will be further described below through examples and in conjunction with the accompanying drawings.
[0035] The following description provides examples and does not limit the scope, applicability, or examples set forth in the claims. Changes may be made to the function and arrangement of the elements described without departing from the scope of the present application. Various examples may appropriately omit, replace, or add various processes or components. For example, the described method may be performed in an order different from the order described, and various steps may be added, omitted, or combined. In addition, features described in some examples may be combined in other examples.
[0036] The terms used in this application are for the purpose of describing specific embodiments only and are not intended to limit this application. As used in this application and the appended claims, the singular forms "a," "an," "the," and "the" are intended to include the plural forms, unless the context clearly indicates otherwise. It should also be understood that the term "and / or" as used herein refers to and encompasses any and all possible combinations of one or more of the associated listed items.
[0037] Example 1
[0038] In embodiment 1 shown in Figures 1 to 4, the present invention provides a technical solution: a method for personalized seasoning of dishes based on ordering habits, comprising: using the basic profile information of the target user to calculate the similarity with other users; using the numerical values of the seasonings selected by the target user on the ordering platform to establish a taste model for the target user; and recommending seasonings to the target user based on the similarity and the user model.
[0039] FIG1 is a schematic diagram of a method for personalized seasoning of dishes based on ordering habits of the present invention, illustrating the specific process of the personalized seasoning method and providing a detailed introduction to how to perform the personalized seasoning method.
[0040] In step S11, the information acquisition module acquires basic information of each user. In this embodiment, the acquired basic information of the user includes: place of residence, age, gender, dish rating, seasoning selection value, nationality, order time, weather, weight, each of which can be called a user attribute.
[0041] In step S12, the information acquisition module acquires the values of the seasonings selected by each user on the ordering platform. The records are stored in the memory to facilitate recommendations for the same seasonings when the user reorders, and a taste model can be established based on the seasonings selected by the user.
[0042] In step S13, the information acquisition module obtains each user's evaluation of the purchased meal. The evaluation is stored in the memory and can directly help the weight adjustment module adjust the weight of the seasoning to make the seasoning recommendation more accurate.
[0043] In step S14, the similarity calculation module uses the target user's basic profile information to calculate the similarity with other users. The main steps are: using each user's user attributes to generate a user attribute vector for each user; using each user's user attribute vector, calculating the similarity between other users and the target user in terms of the user attribute; and using the similarity between other users in each user group and the target user in terms of the attribute, calculating the similarity between other users in each user group and the target user. In this way, the similarity calculation process is reasonable, the similarity calculation is accurate, and the precision is high, which is conducive to accurately recommending the appropriate amount of seasoning. In this embodiment, the similarity between other users and the target user in terms of user attributes is calculated using the following method: sim(a, b) = cos(a, b), where a represents the user attribute vector of the target user, b represents the user attribute vector of another user in each user group, sim(a, b) represents the similarity between a certain other user and the target user in terms of a certain user attribute vector, and cos(a, b) represents the cosine of the angle between vectors a and b. Calculating similarity using the cosine value of the angle is a classic similarity algorithm. For the similarity of two vectors, a high accuracy rate means a more accurate calculation of the similarity between the target user and other users, so recommendations for the target user are also more accurate.
[0044] In step S15, the taste model building module uses the seasoning values selected by the target user on the ordering platform to build a taste model for the target user. In this embodiment, the specific steps are: recording the number of seasonings selected by the target user on the ordering platform; and using the number of seasonings selected by the target user on the ordering platform to build a taste model for the target user. This allows repeat purchases by returning users to be recommended based on the seasonings they previously selected. For identical seasonings, the same recommendations can be used. For first-time seasonings, recommendations can be based on the user's taste model, resulting in more accurate seasoning quantity recommendations.
[0045] In step S16, the seasoning recommendation module recommends seasoning values to the target user based on the known data. The specific steps are as follows: Using the seasoning values selected by the target user on the ordering platform to establish a taste profile for the target user includes: recording the number of seasonings selected by the target user on the ordering platform; and using the number of seasonings selected by the target user on the ordering platform to establish a taste profile for the target user. This allows repeat purchases by returning users to be recommended based on the seasonings they previously selected. The same seasonings can be recommended based on the same quantity, while seasonings selected for the first time can be recommended based on the user's taste profile, making seasoning quantity recommendations more accurate. In this embodiment, seasoning quantities include: restricted, small, moderate, and large. Since users often struggle to accurately select specific gram quantities for seasonings, providing this option facilitates customer selection and facilitates the aforementioned taste categorization. The taste model includes: using the seasoning values selected by the target user to categorize the target user's taste into: light, moderate, and strong. This allows users to be categorized according to different tags, making recommendations more convenient and accurate.
[0046] In step S17, the processor identifies keywords in the target user's review and adjusts the weight of the seasoning. Specifically, the seasoning weights for each user attribute are initialized to default values. If the target user's review detects a significant amount of a seasoning, the weight for that seasoning is reduced. If the target user's review detects a significant amount of a seasoning, the weight for that seasoning is increased. This allows weights to be updated based on the user's preference for the seasoning. Different users may have different definitions of the quantity of a seasoning. Therefore, by searching for keywords in user reviews and finding relevant keywords, the weights are updated to better recommend seasonings to the user. In this embodiment, the search keywords include the seasoning in the entire sentence plus the adjective "how many" or "how many" in the sentence.
[0047] Figure 2 is a schematic diagram of calculating similarity with other users according to a method for personalized seasoning of dishes based on ordering habits of the present invention, illustrating a specific process of calculating similarity. The flowchart shown in Figure 2 includes the following steps.
[0048] In step S21, the information acquisition module acquires basic user information. Once this basic information is acquired, user attributes can be determined, allowing for similarity calculations. In this embodiment, the acquired user information includes: place of residence, age, gender, dish rating, seasoning selection value, nationality, order time, weather, and weight.
[0049] Step S22: The similarity calculation module determines the user attributes of the target user. In the above process of obtaining the basic information of the user data, each basic user data can be regarded as an independent user attribute.
[0050] Step S23: The similarity calculation module generates a user attribute vector for each user. In the above process of obtaining the basic information of the user data, each user basic data can be regarded as an independent user attribute.
[0051] In step S24, the similarity calculation module uses the attribute vector to calculate the similarity with other users. In this embodiment, the following method is used to calculate the similarity between other users and the target user in terms of user attributes: sim(a, b) = cos(a, b), where a represents the user attribute vector of the target user, b represents the user attribute vector of a certain other user among the users, sim(a, b) represents the similarity between a certain other user and the target user in terms of a certain user attribute vector, and cos(a, b) represents the cosine value of the angle between vectors a and b. Calculating similarity using the cosine value of the angle is a classic similarity algorithm. For the similarity of two vectors, a high accuracy rate means that the similarity calculation between the target user and other users is more accurate, so the recommendation for the target user is also more accurate. Specifically, for example, if the selected user attribute is residence, and the target user a = (4, 6, 6) and b = (5, 3, 4) in the residence attribute vector, the similarity between users a and b in the residence attribute vector can be calculated. Finally, the similarity between other users in each user group and the target user in terms of various product attributes is used to calculate the similarity between other users in each user group and the target user, and the average value of the similarity between other users and the target user in terms of various product attributes is used as the similarity between other users and the target user.
[0052] Figure 3 is a schematic diagram of establishing a taste model for a target user according to a method for personalized seasoning of dishes based on ordering habits of the present invention, illustrating the specific process of establishing the taste model.
[0053] Step S31: The taste model building module records the number of seasonings selected by the target user on the ordering platform. Based on the number of seasonings selected by the target user, the customer's taste can be classified.
[0054] In step S32, the taste modeling module categorizes the target user's taste based on the quantity of seasonings selected. In this embodiment, the quantity of seasonings includes: restricted, small, moderate, and large. Since users typically cannot accurately select the specific gram quantity of a seasoning, providing this option helps customers make better choices and also facilitates the aforementioned taste categorization. The taste modeling module utilizes the seasoning values selected by the target user to categorize the target user's taste into: light, moderate, and strong. This allows users to be categorized according to different tags, making recommendations more convenient and accurate.
[0055] Steps S33 to S39 classify customers: small quantities are classified as light; moderate quantities are classified as moderate; large quantities are classified as strong; and unfavorable quantities are directly recorded. Specifically, when a target customer selects a certain seasoning as unfavorable, it is directly recorded in the memory. When the target customer repurchases, the unfavorable quantity can be directly recommended. When a customer selects a small amount of a certain seasoning, the target customer is classified as light and marked with a value of 1; when a customer selects a moderate amount of a certain seasoning, the target customer is classified as moderate and marked with a value of 3; when a customer selects a large amount of a certain seasoning, the target customer is classified as strong and marked with a value of 5. Finally, the customer is classified using the value of each seasoning selected by the target customer, and the value is recorded. The average value of the values is then calculated, and customers with an average value between 1 and 2.5 are marked as light, customers with an average value between 2.5 and 4 are marked as moderate, and customers with an average value between 4 and 5 are marked as strong.
[0056] Figure 4 is a schematic diagram of the seasoning recommendation process described in the method for personalized seasoning of dishes based on ordering habits of the present invention, illustrating the entire process of seasoning recommendation for target users. The flowchart shown in Figure 4 includes the following steps.
[0057] Step S41, determine whether the target user is a new user, if so, execute steps S410 and S411, if not, execute steps S42 to S45.
[0058] In step S410, the similarity calculation module calculates the similarity between the target user and each user. The similarity calculation process is the same as that in FIG2 .
[0059] In step S411, the processor recommends to the target user other users whose similarity is closest to 1. Specifically, the similarity calculation module calculates the similarity between the target user and other users, finds the other user whose similarity is closest to 1, and recommends to the user based on the user's taste model.
[0060] In step S42, the processor obtains the taste model of the target user. The process of establishing the taste model of the target user is the same as that in FIG3 .
[0061] Step S43: The seasoning recommendation module recommends the selected seasonings based on the records. After the weight adjustment module adjusts the weights of the selected seasonings recorded in the taste model, the same quantity of seasonings can be recommended to the target customer again.
[0062] In step S44, the seasoning recommendation module recommends unselected seasonings based on taste classification. The customer taste classification method is shown in FIG3 . In this embodiment, a small amount of seasoning is recommended to target customers classified as light, a moderate amount is recommended to target customers classified as moderate, and a large amount of seasoning is recommended to target customers classified as strong.
[0063] Step S45: The processor records the data to the memory. The data is recorded in the memory so that the target customer can make the same seasoning recommendation the next time he or she repurchases.
[0064] Example 2
[0065] In Example 2 shown in Figures 5 to 6, the present invention provides a technical solution: a personalized seasoning device for dishes based on ordering habits, including: a similarity calculation module, configured to use the basic information of the target user to calculate the similarity with other users; a taste model establishment module, configured to use the numerical values of the seasoning selected by the target user on the ordering platform to establish a taste model for the target user; wherein, a communication module is provided between the modules of the personalized seasoning device for information exchange between the modules.
[0066] FIG5 is a schematic diagram of some structures of a personalized seasoning device for dishes based on ordering habits of the present invention, which is an illustration of the functional modules of the personalized seasoning device for dishes.
[0067] Specifically, in this embodiment, the personalized seasoning device 50 includes an information acquisition module 501, a similarity calculation module 502 and a taste model establishment module 503 acting on the information acquisition module, a seasoning recommendation module 504 for recommending seasonings to target customers, and a weight adjustment module 505.
[0068] Specifically, in this embodiment, information acquisition module 501 is configured to obtain basic user information, the value of the seasoning selected on the ordering platform, and the evaluation of the purchased meal. The information acquisition module obtains customer information stored in the memory in the storage device, including: place of residence, age, gender, dish rating, seasoning value, nationality, order time, weather, and weight.
[0069] Specifically, in this embodiment, the similarity calculation module 502 is configured to use the basic profile information of the target user to calculate the similarity with other users. In this embodiment, the similarity between the user attributes of other users and the target user is calculated using the following method: sim(a, b) = cos(a, b), where a represents the user attribute vector of the target user, b represents the user attribute vector of a certain other user among the users, sim(a, b) represents the similarity between a certain other user and the target user in a certain user attribute vector, and cos(a, b) represents the cosine value of the angle between vectors a and b. Calculating similarity using the cosine value of the angle is a classic similarity algorithm. For the similarity of two vectors, the higher the accuracy, the more accurate the similarity calculation between the target user and other users, so the recommendation for the target user is also more accurate.
[0070] Specifically, in this embodiment, the taste model building module 503 is configured to build a taste model for the target user using the value of the seasoning selected by the target user on the ordering platform. The taste model building module classifies the target user's taste according to the quantity of the selected seasoning. In this embodiment, the quantity of seasoning includes: taboo, small amount, moderate amount, and large amount. Generally, users cannot accurately select the specific gram quantity of the seasoning, so providing such an option helps customers make better choices and is more convenient for the above-mentioned taste classification; the taste model includes: using the value of the seasoning selected by the target user to classify the target user's taste, and the classification includes: light, moderate, and heavy. In this way, users can be classified according to different labels, which is more convenient when making recommendations and the recommendations are more accurate.
[0071] Specifically, in this embodiment, the seasoning recommendation module 504 is configured to recommend seasonings to the target user based on similarity and user profile. The seasoning recommendation process is illustrated in Figure 4 . First, it determines whether the target user is a new user. If so, the processor recommends seasonings to the target user based on the user's similarity closest to 1. If not, the seasoning recommendation module recommends seasonings based on selected seasonings based on history, and recommends seasonings based on unselected seasonings based on flavor categories.
[0072] Specifically, in this embodiment, the weight adjustment module 505 is configured to adjust the weight of the seasoning based on the target user's evaluation. The specific steps are as follows: initializing the seasoning weight of each user attribute to a default value; if it is detected that the target user's evaluation describes a seasoning frequently, then reducing the target user's weight of the seasoning by 0.9 times the original weight; if it is detected that the target user's evaluation describes a seasoning infrequently, then increasing the target user's weight of the seasoning by 1.1 times the original weight. In this way, the weight can be updated based on the degree of seasoning acceptance of different users. Different users have different definitions of the quantity of the seasoning. Therefore, by searching for keywords in user reviews and retrieving relevant keywords, the weight is updated to better recommend seasonings to the user. In this embodiment, the search keywords include: seasoning in the entire sentence + how many adjectives.
[0073] FIG6 is another structural diagram of a device for personalized seasoning of dishes based on ordering habits according to the present invention, illustrating the structure of the communication device.
[0074] Specifically, in this embodiment, the personalized seasoning communication device 60 includes a memory 610 and a processor 640 coupled to the data memory 610. The processor 640 is configured to execute the personalized seasoning method of dishes based on ordering habits in the above-mentioned embodiment 1 based on instructions stored in the memory 610.
[0075] The communication device 60 may also include an input / output interface 660, a network interface 650, a storage interface 620, and the like. These interfaces 620, 650, and 660, as well as the memory 610 and the processor 640, may be connected via a communication bus 630 or a wireless network. The input / output interface 660 provides a connection interface for input / output devices such as a display, mouse, and keyboard. The network interface 650 provides a connection interface for various networked devices. The storage interface 620 provides a connection interface for external storage devices such as SD cards and USB flash drives. This improves data transmission efficiency and simplifies communication.
[0076] The present disclosure is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present disclosure. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device produce a device for implementing the functions specified in one or more processes in the flowchart and / or one or more boxes in the block diagram.
[0077] These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce a product including an instruction device that implements the functions specified in one or more processes in the flowchart and / or one or more boxes in the block diagram.
[0078] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, so that the instructions executed on the computer or other programmable device provide steps for implementing the functions specified in one or more processes in the flowchart and / or one or more boxes in the block diagram.
[0079] Although this document frequently uses terms such as information acquisition module, similarity calculation module, flavor model building module, memory, and processor, the use of other terms is not excluded. These terms are used solely to more conveniently describe and explain the essence of the present invention; interpreting them as any additional limitations would be contrary to the spirit of the present invention.
[0080] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention and are not limiting. Although the present invention has been described in detail with reference to the preferred embodiments, those skilled in the art should understand that the technical solutions of the present invention may be modified or replaced by equivalents without departing from the purpose and scope of the technical solutions of the present invention, which should all be included in the scope of the claims of the present invention.
Claims
1. A personalized seasoning method for dishes based on ordering habits. It is characterized in that include Use the target user's basic profile information to calculate the similarity with other users; Use the values of seasonings selected by target users on the ordering platform to build a taste model for target users; Recommend seasonings to target users based on similarity and the target user's taste model.
2. The personalized seasoning method according to claim 1, It is characterized in that Before using the basic information of the target user to calculate the similarity with other users, the following steps are also included: Obtain basic information about each user and determine the attributes of each user; Get the value of the seasoning selected by each user on the ordering platform; Get each user's evaluation of the purchased food.
3. The personalized seasoning method according to claim 2, It is characterized in that The calculation of the similarity with other users using the basic information of the target user includes: Using the user attributes of each user, generating a user attribute vector for each user; Using the user attribute vector of each user, calculate the similarity between other users and the target user in terms of the user attribute; The similarity between other users among each user and the target user on the attribute is used to calculate the similarity between other users among each user and the target user.
4. The personalized seasoning method according to claim 1, It is characterized in that The method of establishing a taste model for the target user by using the value of the seasoning selected by the target user on the ordering platform includes: Record the number of seasonings selected by target users on the ordering platform; Utilize the number of seasonings selected by target users on the ordering platform to build a taste model for target users; in, The amount of the seasoning is regulated by the seasoning weight.
5. The personalized seasoning method according to claim 1, It is characterized in that The recommending seasoning to the target user according to the similarity and the user model comprises: Query the basic information of the target user; Calculate the similarity between the target user and other users; Build a taste model using the number of seasonings selected by target users on the ordering platform; Recommend the last selected seasoning value to the target user. For those who have not selected any seasoning, recommend a large amount based on the taste model. If the taste model is strong, recommend a large amount. If the taste model is moderate, recommend a moderate amount. If the taste model is light, recommend a small amount. If the target user is a new user, recommend the seasoning value of another user whose similarity is closest to 1.
6. The personalized seasoning method according to claim 1 or 2 or 3 or 4 or 5, It is characterized in that Also includes: Initialize each user's seasoning weight to the default value; If the target user's evaluation describes a certain seasoning more often, the target user's weight of the seasoning is reduced; If it is detected that a certain seasoning is rarely described in the target user's evaluation, the weight of the seasoning for the target user is increased.
7. A personalized seasoning device for dishes based on ordering habits, It is characterized in that include: A similarity calculation module is configured to calculate similarities with other users using basic information of the target user; A taste model building module is configured to build a taste model for a target user using the value of the seasoning selected by the target user on the ordering platform; in, A communication module is provided between each module of the personalized seasoning device for information exchange between the modules.
8. The personalized seasoning device for dishes based on ordering habits according to claim 7, It is characterized in that Also includes: The information acquisition module is configured to obtain basic information of each user, the value of the seasoning selected on the ordering platform, and the evaluation of the purchased food; a seasoning recommendation module, configured to recommend seasonings to a target user based on similarity and a user model; The weight module is configured to adjust the weight of the seasoning according to the target user's evaluation.
9. The personalized seasoning device for dishes based on ordering habits according to claim 7 or 8, It is characterized in that Also includes: Memory for storing computer programs; A processor, configured to implement the steps of the method for personalized seasoning of dishes based on ordering habits as described in any one of claims 1 to 6 when executing the computer program.
Citation Information
Patent Citations
Dietary recommendation method based on typical taste of user
CN106548006A
A recommendation method for vegetables
CN109299360A
Information resource recommendation method, device and equipment and storage medium
CN109800356A
Individualized taste management method and system
CN112352286A
Seasoning control method and device based on user feedback, storage medium and electronic equipment
CN114140029A
Cited By
Intelligent face file personalized recommendation method and system
CN120952583A
Seasoning mixing system and method using ai
WO2026212132A1
