Intelligent kitchen interaction system and method based on scene analysis
Through a smart kitchen interaction system based on scenario analysis, combined with voice understanding and recipe ingredient analysis, it solves the problem of collaborative work of smart kitchen equipment and uncertain development direction, realizes personalized recipe recommendation and health management, and improves user experience and recommendation accuracy. sex.
Patent Information
- Application Number
- CN202410674492.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-29
- Publication Date
- 2024-08-23
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
Existing smart kitchen equipment cannot work effectively together and cannot maximize the liberation of human labor. Moreover, the development direction of smart kitchen products is uncertain and fails to meet the personalized needs of users.
An intelligent kitchen interaction system based on scenario analysis is used to obtain the user's taste preferences, eating habits and health needs through speech understanding and recipe ingredient analysis, integrate speech understanding and recipe ingredient data, construct an intelligent control classification feature vector, and use a classifier to determine whether Recommend current recipes to users.
It realizes personalized recipe recommendations, improves user satisfaction and health management, improves intelligent interaction capabilities and recommendation accuracy, and meets users' personalized needs.
Smart Images

Figure CN118535906A
Abstract
Description
Technical Field
[0001] The present application relates to the field of intelligent interaction technology, and more specifically, to an intelligent kitchen interaction system and method based on scenario analysis. Background Art
[0002] With the promotion of national policies and the development of technology, the integration of three networks and the Internet of Things technology have been widely used. Refrigerators, televisions, microwave ovens, washing machines and other electrical appliances have entered the smart era. Compared with traditional home appliances, smart home appliances have liberated users from tedious and complicated labor to a greater extent.
[0003] As living conditions improve, eating healthy has become a focus of increasing attention. Kitchen equipment is the basis of healthy eating. How to turn the food in the refrigerator into delicious food and maintain the best cooking effect and air environment has become the research direction of many manufacturers. Although some kitchen smart device terminals have appeared on the market, each device is still independent and cannot exchange information with each other, so it is impossible to achieve the purpose of collaborative work. Therefore, traditional kitchen equipment cannot meet the needs of maximizing the liberation of human labor. According to relevant media surveys, most of the existing smart kitchens are smart cabinet designs or smart kitchenware designs. Among the 503,380 valid samples selected, 36.62% of smart kitchen products did not achieve the expected goals. The ambiguity of the demand for smart kitchens has led to uncertainty in the development direction. The emergence of big data, the Internet and the Internet of Things technology has enabled the information implanted in smart kitchen products to correspond to more movement methods and control methods. The intelligent kitchen design based on situational analysis can expand the application scenarios and realize diversified design according to the personalized needs of consumers.
[0004] Therefore, an intelligent kitchen interaction system and method based on scenario analysis is desired. Summary of the invention
[0005] In order to solve the above technical problems, the present application is proposed. The embodiment of the present application provides a smart kitchen interaction system and method based on scenario analysis, which determines whether to recommend the current recipe to the user by integrating speech understanding and recipe ingredient analysis.
[0006] Accordingly, according to one aspect of the present application, a smart kitchen interaction system based on scenario analysis is provided, comprising:
[0007] The scenario analysis data collection module is used to obtain the user's taste preferences, eating habits and health needs voice information, as well as the content data of each ingredient in the current recipe;
[0008] A scenario analysis data processing module, used to extract a user demand voice understanding feature vector and a recipe ingredient content data feature vector from the voice information and the current recipe ingredient content data respectively;
[0009] A scenario analysis data fusion module, used to construct an intelligent control classification feature vector between the user demand speech understanding feature vector and the recipe ingredient content data feature vector, and perform unit activation averaging based on feature representation on the intelligent control classification feature vector to obtain an optimized intelligent control classification feature vector;
[0010] The intelligent control analysis module is used to pass the optimized intelligent control classification feature vector through a classifier to obtain a classification result, and the classification result is used to indicate whether to recommend the current recipe to the user.
[0011] According to another aspect of the present application, a smart kitchen interaction method based on scenario analysis is provided, which includes:
[0012] Obtain voice information about the user's taste preferences, eating habits, and health needs, as well as the content data of each ingredient in the current recipe;
[0013] Extracting a user demand voice understanding feature vector and a recipe ingredient content data feature vector from the voice information and the current recipe ingredient content data respectively;
[0014] Constructing an intelligent control classification feature vector between the user demand speech understanding feature vector and the recipe ingredient content data feature vector, and performing unit activation averaging based on feature representation on the intelligent control classification feature vector to obtain an optimized intelligent control classification feature vector;
[0015] The optimized intelligent control classification feature vector is passed through a classifier to obtain a classification result, and the classification result is used to indicate whether the current recipe is recommended to the user.
[0016] Compared with the prior art, the present application provides a smart kitchen interaction system and method based on scenario analysis, which obtains the user's taste preferences, eating habits, health needs and recipe ingredient data, integrates voice understanding and recipe ingredient analysis, obtains the intelligent control classification feature vector, and uses the classifier to determine whether to recommend the current recipe to the user, thereby realizing smart kitchen interaction based on scenario analysis. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] By describing the embodiments of the present application in more detail in conjunction with the accompanying drawings, the above and other purposes, features and advantages of the present application will become more apparent. The accompanying drawings are used to provide a further understanding of the embodiments of the present application and constitute a part of the specification. Together with the embodiments of the present application, they are used to explain the present application and do not constitute a limitation of the present application. In the accompanying drawings, the same reference numerals generally represent the same components or steps.
[0018] Figure 1 It is a block diagram of a smart kitchen interaction system based on scenario analysis according to an embodiment of the present application.
[0019] Figure 2 It is a block diagram of a scenario analysis data processing module in a smart kitchen interaction system based on scenario analysis according to an embodiment of the present application.
[0020] Figure 3 It is a block diagram of a voice information processing unit in a smart kitchen interaction system based on scenario analysis according to an embodiment of the present application.
[0021] Figure 4 The present invention is a flowchart of a smart kitchen interaction method based on scenario analysis according to an embodiment of the present application. DETAILED DESCRIPTION
[0022] Various exemplary embodiments, features and aspects of the present application will be described in detail below with reference to the accompanying drawings. The same reference numerals in the accompanying drawings represent elements with the same or similar functions. Although various aspects of the embodiments are shown in the accompanying drawings, the drawings are not necessarily drawn to scale unless otherwise specified.
[0023] The word “exemplary” is used exclusively herein to mean “serving as an example, example, or illustration.” Any embodiment described herein as “exemplary” is not necessarily to be construed as preferred or advantageous over other embodiments.
[0024] In addition, in order to better illustrate the present application, numerous specific details are given in the following specific embodiments. It should be understood by those skilled in the art that the present application can also be implemented without certain specific details. In some examples, methods, means, components and circuits well known to those skilled in the art are not described in detail in order to highlight the subject matter of the present application.
[0025] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the features. In the description of this application, the meaning of "plurality" is two or more, unless otherwise clearly and specifically defined.
[0026] Figure 1FIG. 1 is a block diagram of a smart kitchen interaction system based on scenario analysis according to an embodiment of the present application. Figure 1 As shown, according to the embodiment of the present application, the smart kitchen interaction system 100 based on scenario analysis includes: a scenario analysis data acquisition module 110, which is used to obtain voice information of the user's taste preferences, eating habits and health needs, and obtain the content data of each ingredient in the current recipe; a scenario analysis data processing module 120, which is used to extract the user demand voice understanding feature vector and the recipe component content data feature vector from the voice information and the current recipe component content data respectively; a scenario analysis data fusion module 130, which is used to construct an intelligent control classification feature vector between the user demand voice understanding feature vector and the recipe component content data feature vector, and perform unit activation averaging based on feature representation on the intelligent control classification feature vector to obtain an optimized intelligent control classification feature vector; an intelligent control analysis module 140, which is used to pass the optimized intelligent control classification feature vector through a classifier to obtain a classification result, and the classification result is used to indicate whether to recommend the current recipe to the user.
[0027] In the embodiment of the present application, the scenario analysis data acquisition module 110 is used to obtain the voice information of the user's taste preferences, eating habits and health needs, and to obtain the content data of each ingredient of the current recipe. It should be understood that by obtaining the voice information of the user's taste preferences, eating habits and health needs, the system can understand the user's preferences and health considerations, and thus recommend recipes that are more in line with the user's taste and needs. After the system understands the user's taste preferences and eating habits, it can provide more personalized recipe recommendations to increase user satisfaction. Understanding the user's health needs can help the system recommend recipes that meet the user's nutritional needs and promote user health management. When the system considers the user's health needs, it can avoid recommending recipes that are not suitable or have potential health risks, and improve the user's health level. Obtaining the content data of each ingredient of the current recipe can help the system analyze the nutritional components and applicable population of the recipe. By integrating user needs and recipe data, the system can generate an intelligent control classification feature vector, and then recommend recipes suitable for the user based on the classification results. Personalized recommendations and intelligent control can enhance the user experience and make the user feel that the system is more intimate and intelligent. Users can more easily choose recipes that meet their tastes and health needs, improving user satisfaction and user experience.
[0028] In the embodiment of the present application, the scenario analysis data processing module 120 is used to extract the user demand voice understanding feature vector and the recipe ingredient content data feature vector from the voice information and the current recipe ingredient content data respectively. It should be understood that this information is converted into a form that can be processed and analyzed by a computer so that the system can better understand user needs and recipe information, thereby performing intelligent recommendations and controls. This feature vector extraction can help the system understand and process user needs and recipe information more effectively, thereby improving the system's intelligent interaction capabilities and recommendation accuracy.
[0029] Furthermore, voice information about the user's taste preferences, eating habits and health needs is obtained, which is used to: obtain voice data about the user's taste preferences, eating habits and health needs, and perform voice recognition on the voice data to obtain the voice information. It should be understood that the acquisition of voice information is more convenient than text input, and users can express their taste preferences, eating habits and health needs more naturally without the need for cumbersome text input. Voice information contains more emotions and tones, which can more accurately reflect the user's real needs and preferences, thereby providing users with more personalized services and recommendations. By performing voice recognition on voice data, the user's spoken information can be converted into text form, which facilitates the system to perform further analysis and processing, thereby better understanding the user's needs.
[0030] Specifically, in one embodiment of the present application, Figure 2 FIG. 1 is a block diagram of a scenario analysis data processing module in a smart kitchen interaction system based on scenario analysis according to an embodiment of the present application. Figure 2 As shown, in the above-mentioned smart kitchen interaction system 100 based on scenario analysis, the scenario analysis data processing module 120 includes: a voice information processing unit 121, which is used to perform word segmentation processing on the voice information and encode the word segmentation to obtain the user demand voice understanding feature vector; a recipe data processing unit 122, which is used to perform word segmentation processing on the content data of each ingredient of the current recipe and extract the content data of each ingredient of the recipe to obtain the feature vector of the content data of each ingredient of the recipe.
[0031] Accordingly, in a specific example of the present application, the speech information processing unit 121 is used to perform word segmentation processing on the speech information and encode the word segmentation to obtain the user demand speech understanding feature vector. It should be understood that the computer cannot directly understand and process speech information, so it is necessary to convert the speech information into a form that can be recognized by the computer. Word segmentation processing can divide the continuous speech signal into words or phrases, and convert these words or phrases into a digital form that can be processed by the computer through encoding. The word segmentation and encoding process helps to extract key features in the speech information, such as words, phrases, tone, etc. These features are essential for understanding the user's taste preferences, eating habits and health needs. By encoding the extracted features into feature vectors, the user's speech information can be represented in a numerical form that can be understood by the computer, providing a basis for subsequent data processing and analysis. After obtaining the user demand speech understanding feature vector, the system can use these feature vectors to perform tasks such as speech recognition, sentiment analysis, and user intent understanding, so as to better provide users with personalized services and recommendations.
[0032] further, Figure 3 FIG. 1 is a block diagram of a voice information processing unit in a smart kitchen interaction system based on scenario analysis according to an embodiment of the present application. Figure 3 As shown, in the scenario analysis data processing module 120 of the above-mentioned scenario analysis-based smart kitchen interaction system 100, the voice information processing unit 121 includes: a voice information segmentation processing subunit 1211, which is used to perform segmentation on the voice information and pass each segmented word through a word embedding model to obtain a sequence of voice information input vectors; a converter encoding subunit 1212, which is used to pass the sequence of voice information input vectors through a converter-based encoder model to obtain a sequence of voice feature vectors; a vector encoding subunit 1213, which is used to arrange the sequence of voice feature vectors into a one-dimensional vector and then pass it through a bidirectional LSTM model to obtain a user demand voice understanding feature vector.
[0033] Specifically, the speech information word segmentation processing subunit 1211 is used to perform word segmentation processing on the speech information and pass each word after word segmentation through a word embedding model to obtain a sequence of speech information input vectors. It should be understood that the semantic relationship between words can be better captured by segmenting the speech information and converting it into a vector through a word embedding model. The word embedding model can map words into a high-dimensional vector space, so that words with similar semantics are closer in the vector space, which is conducive to subsequent semantic understanding and analysis. Deep learning models usually require input vectors of fixed length, and segmenting the speech information and converting it into a vector sequence can ensure that the length of each input is fixed, which is convenient for the processing of the neural network model. The vector representation obtained by the word embedding model can be better generalized to words that the model has not seen, improving the generalization ability of the model and the ability to process unknown words. Converting words into vectors through a word embedding model can convert high-dimensional sparse word representations into low-dimensional dense vector representations, reducing the dimension of the feature space, which is conducive to the training and computational efficiency of the model.
[0034] Furthermore, the converter encoding subunit 1212 is used to pass the sequence of the speech information input vector through a converter-based encoder model to obtain a sequence of speech feature vectors. It should be understood that the speech information contains rich features, and these features can be better captured by the encoder model, thereby improving the understanding and representation capabilities of the speech information. The speech feature vector processed by the encoder model usually has a lower dimension, which can better represent the original speech information, while reducing the complexity of the data, which is convenient for subsequent processing and analysis. The converter-based encoder model can effectively model the input sequence, capture the long-distance dependencies in the sequence, and help to more accurately understand the context and context of the speech information. By using a converter-based encoder model to process speech information, the performance and accuracy of the intelligent system can be improved, thereby improving the user experience and interaction effect.
[0035] Furthermore, the vector encoding subunit 1213 is used to arrange the sequence of the speech feature vectors into a one-dimensional vector and then pass it through a bidirectional LSTM model to obtain a user demand speech understanding feature vector. It should be understood that in order to better capture the contextual information and long-term dependencies in the sequence data. The bidirectional LSTM model combines the forward LSTM and the backward LSTM, and can consider both past and future information at the same time, so as to more comprehensively understand the sequence data. By arranging the sequence of speech feature vectors into a one-dimensional vector, the sequence data can be converted into a fixed-length representation, which helps to simplify the processing of the model and improve efficiency. The bidirectional LSTM model can effectively process such one-dimensional sequence data, and by learning the patterns and rules in the sequence, it can extract more representative feature vectors, thereby achieving a deeper understanding and accurate recognition of the user demand speech.
[0036] Accordingly, in a specific example of the present application, the recipe data processing unit 122 is used to extract the feature vector of the content data of each ingredient in the recipe after performing word segmentation processing on the content data of each ingredient in the current recipe. It should be understood that after the word segmentation processing on the content data of each ingredient in the current recipe, the association and information between the ingredients can be better captured, thereby more accurately characterizing the characteristics of the recipe. Through word segmentation processing, the original data can be converted into a more informative feature representation, which helps the model better understand the relationship and characteristics between the ingredients. These feature vectors can be used to train models to improve the understanding and analysis capabilities of recipes.
[0037] Specifically, the recipe data processing unit includes: a recipe component segmentation subunit, which is used to perform segmentation on the content data of each component of the current recipe and then pass it through a converter-based context encoder to obtain multiple-dimensional recipe component content data feature vectors; a convolutional encoding subunit, which is used to arrange the multiple-dimensional recipe component content data feature vectors in two dimensions into a recipe component content data feature matrix and then pass it through a recipe content feature extractor based on a first convolutional neural network model to obtain a recipe component content data feature vector.
[0038] Furthermore, the recipe component segmentation subunit is used to perform segmentation processing on the content data of each component of the current recipe and then pass it through a converter-based context encoder to obtain feature vectors of the content data of each component of the recipe in multiple dimensions. It should be understood that the word segmentation process can help to divide the components in the recipe more finely, so as to better understand the content information of each component. Through the context encoder, the semantic associations between components can be captured and the data representation ability can be improved. Through the converter model, the content data of each component can be converted into a feature vector with rich semantic information. These feature vectors can better represent the importance and characteristics of each component in the recipe. Obtaining a multi-dimensional feature vector can provide a more comprehensive information representation, which helps to better distinguish the differences and associations between different components in subsequent analysis and processing. The converter-based context encoder can help establish an effective model for recipe data and improve the efficiency and accuracy of data processing.
[0039] Specifically, the recipe component segmentation subunit includes: a recipe component embedding conversion secondary subunit, which is used to pass the content data of each component of the current recipe through an embedding layer to convert each component content data in the content data of each component of the current recipe into a component content data embedding vector to obtain a sequence of component content data embedding vectors, wherein the embedding layer uses a learnable embedding matrix to embed-code the each component content data; a recipe component encoding secondary subunit, which is used to pass the sequence of component content data embedding vectors through the converter-based context encoder to obtain the feature vectors of the content data of each component of the recipe in multiple dimensions.
[0040] Furthermore, the convolutional encoding subunit is used to arrange the feature vectors of the content data of each ingredient of the recipe in two dimensions into a feature matrix of the content data of each ingredient of the recipe, and then obtain the feature vectors of the content data of each ingredient of the recipe through a recipe content feature extractor based on the first convolutional neural network model. It should be understood that in order to better extract and represent the characteristic information of the recipe, more accurate and effective data processing and analysis can be achieved. By arranging the feature vectors of the content data of each ingredient of the recipe in multiple dimensions into a feature matrix, the relationship and structural information between each ingredient can be better retained. Such an arrangement helps the neural network model to better understand the spatial characteristics of the recipe data and can more effectively extract useful feature information. The recipe content feature extractor based on the first convolutional neural network model can automatically extract and abstract important feature information in the recipe data by learning the patterns and features in the data. This can help the system better understand the ingredient content data of the recipe, improve the efficiency and accuracy of data processing, and thus provide more powerful support for subsequent analysis and decision-making.
[0041] In an embodiment of the present application, the scenario analysis data fusion module 130 is used to construct an intelligent control classification feature vector between the user demand voice understanding feature vector and the recipe ingredient content data feature vector, and perform unit activation averaging based on feature representation on the intelligent control classification feature vector to obtain an optimized intelligent control classification feature vector. It should be understood that the purpose of fusing the user demand voice understanding feature vector and the recipe ingredient content data feature vector is to create a comprehensive feature vector for intelligent control classification. Such fusion can help the system better understand the user's needs, and combine the ingredient content data in the recipe to more accurately classify intelligent control. By fusing the user demand voice understanding feature vector and the recipe ingredient content data feature vector, the system can comprehensively consider the user's needs and the recipe information, so as to better understand the user's intentions and requirements. This comprehensive feature vector can provide more comprehensive and accurate information, which helps the system make more accurate intelligent control classification decisions.
[0042] In particular, in the technical solution of the present application, it is considered that if the data of some recipe ingredients is much more than that of other ingredients, the intelligent control classification feature vector may be over-concentrated on these ingredients, forming a local abnormal distribution. Users' taste preferences, eating habits and health needs are expressed in various ways. If the model fails to fully capture this diversity, it may lead to local abnormal distribution of intelligent control classification feature vectors. The converter-based context encoder may have limitations in processing certain specific recipe ingredient data, resulting in inaccurate feature extraction, thereby affecting the distribution of feature vectors. The fusion process of user demand speech understanding feature vectors and recipe ingredient content data feature vectors may be very complicated, and improper weight allocation of different features may lead to local abnormal distribution. The intelligent control classification feature vector has local abnormal distribution, which may lead to inaccurate decision boundaries of the classifier, thereby affecting the results of recipe recommendation. Local abnormal distribution may cause the model to overfit on the training set and reduce its generalization ability on unknown data. If the feature vector does not accurately reflect the actual needs of the user, the recommendation system may ignore the user's important preferences and health needs. Local abnormal distribution may cause the system to be overly sensitive to small changes in input data, reducing the robustness of the system. In order to solve this problem, in the technical solution of the present application, the intelligent control classification feature vector is averaged based on the unit activation of feature representation.
[0043] Accordingly, in one embodiment of the present application, the scenario analysis data fusion module 130 includes: a fusion unit for fusing the user demand voice understanding feature vector and the recipe ingredient content data feature vector to obtain the intelligent control classification feature vector; an optimization unit for performing unit activation averaging based on feature representation on the intelligent control classification feature vector to obtain the optimized intelligent control classification feature vector.
[0044] Further, in a specific example of the present application, the fusion unit is used to fuse the user demand voice understanding feature vector and the recipe ingredient content data feature vector using the following fusion formula to obtain the intelligent control classification feature vector, wherein the fusion formula is:
[0045] V1=αV s +βV d
[0046] Wherein, V1 is the intelligent control classification feature vector, V s is the user demand speech understanding feature vector, V dis the feature vector of the data of the content of each ingredient in the recipe, "+" represents the addition of the elements at corresponding positions of the feature vector of the user demand voice comprehension and the feature vector of the data of the content of each ingredient in the recipe, and α and β are weighting parameters for controlling the balance between the feature vector of the user demand voice comprehension and the feature vector of the data of the content of each ingredient in the recipe in the intelligent control classification feature vector.
[0047] Furthermore, in a specific example of the present application, the optimization unit includes: a characteristic index adjustment value subunit, which is used to calculate the natural exponential function value raised to the power of the characteristic value of the predetermined position of the intelligent control classification feature vector and then subtract one to obtain the characteristic index adjustment value; a cumulative exponential function value subunit, which is used to calculate the cumulative value of the natural exponential function value raised to the power of the characteristic value of each position of the intelligent control classification feature vector to obtain the cumulative exponential function value; an activation weighted value subunit, which is used to calculate the absolute value of the ratio between the characteristic index adjustment value and the cumulative exponential function value, and activate the calculated result through a softmax activation function to obtain an activation weighted value; and a product calculation subunit, which is used to calculate the product between the activation weighted value and the characteristic value of the predetermined position of the intelligent control classification feature vector to obtain the characteristic value of the predetermined position of the optimized intelligent control classification feature vector.
[0048] Specifically, the optimization unit can also be expanded by formulating, including: performing unit activation averaging based on feature representation on the intelligent control classification feature vector using the following formula to obtain the optimized intelligent control classification feature vector, wherein the formula is:
[0049]
[0050] where v i is the eigenvalue of the ith position of the intelligent control classification feature vector, softmax represents the normalized exponential function, v i ′ is the eigenvalue of the i-th position of the optimized intelligent control classification feature vector.
[0051] In view of the existence of local abnormal distribution in the intelligent control classification feature vector, in the technical solution of the present application, the intelligent control classification feature vector is averaged based on the unit activation of the feature representation, which balances the influence of each feature unit on the final classification decision by calculating the average of the activation value of each unit in the feature representation. This can not only reduce the negative impact of local abnormal distribution on the classification result, but also promote the balanced contribution of each unit in the feature vector, thereby ensuring that each feature unit can contribute to the classification decision process in the most appropriate way. In this way, the decision domain under the class probability limitation is converged based on the inductive constraint of the classification problem, thereby improving the certainty of the inductive result under the target problem.
[0052] In an embodiment of the present application, the intelligent control analysis module 140 is used to pass the optimized intelligent control classification feature vector through a classifier to obtain a classification result, and the classification result is used to indicate whether to recommend the current recipe to the user. It should be understood that the purpose of passing the optimized intelligent control classification feature vector through a classifier to obtain a classification result, and then using the classification result to indicate whether to recommend the current recipe to the user is to use machine learning and artificial intelligence technology to automate and optimize the recipe recommendation process. By inputting the feature vector into the classifier for classification, the system can determine whether the current recipe meets the user's preferences or needs based on the trained model and the information of the feature vector. The classification results can be used as part of the recommendation system to help the system decide whether to recommend a specific recipe to the user. This method can improve the accuracy and personalization of the recommendation system, so that the recommended recipes are more in line with the user's tastes and preferences, thereby improving user experience and satisfaction.
[0053] Accordingly, in one embodiment of the present application, the intelligent control analysis module 140 includes: an intelligent control fully-connected encoding unit, used to use the fully-connected layer of the classifier to fully-connected encode the optimized intelligent control classification feature vector to obtain a fully-connected encoded optimized intelligent control classification feature vector; an intelligent control classification unit, used to pass the fully-connected encoded optimized intelligent control classification feature vector through the Softmax classification function of the classifier to obtain a first probability of recommending the current recipe to the user and a second probability of not recommending the current recipe to the user; an intelligent control classification result determination unit, used to determine the classification result based on a comparison between the first probability and the second probability.
[0054] In summary, the smart kitchen interaction system and method based on scenario analysis according to the embodiment of the present application obtains the user's taste preferences, eating habits, health needs and recipe ingredient data, integrates voice understanding and recipe ingredient analysis, obtains the intelligent control classification feature vector, and uses the classifier to determine whether to recommend the current recipe to the user, thereby realizing smart kitchen interaction based on scenario analysis.
[0055] As described above, the scenario-analysis-based smart kitchen interaction system 100 according to the embodiment of the present application can be implemented in various terminal devices, such as a server of the scenario-analysis-based smart kitchen interaction system. In one example, the scenario-analysis-based smart kitchen interaction system 100 can be integrated into the terminal device as a software module and / or a hardware module. For example, the scenario-analysis-based smart kitchen interaction system 100 can be a software module in the operating system of the terminal device, or can be an application developed for the terminal device; of course, the scenario-analysis-based smart kitchen interaction system 100 can also be one of the many hardware modules of the terminal device.
[0056] Alternatively, in another example, the scenario analysis-based smart kitchen interaction system 100 and the terminal device may also be separate devices, and the scenario analysis-based smart kitchen interaction system 100 may be connected to the terminal device via a wired and / or wireless network, and transmit interaction information in accordance with an agreed data format.
[0057] Figure 4 FIG. 1 is a flow chart of a smart kitchen interaction method based on scenario analysis according to an embodiment of the present application. Figure 4 As shown, the scenario analysis-based smart kitchen interaction method according to the embodiment of the present application includes the following steps: S110, obtaining voice information of the user's taste preferences, eating habits and health needs, and obtaining data on the content of each ingredient in the current recipe; S120, extracting a user demand voice understanding feature vector and a recipe component content data feature vector from the voice information and the current recipe component content data, respectively; S130, constructing an intelligent control classification feature vector between the user demand voice understanding feature vector and the recipe component content data feature vector, and performing unit activation averaging based on feature representation on the intelligent control classification feature vector to obtain an optimized intelligent control classification feature vector; S140, passing the optimized intelligent control classification feature vector through a classifier to obtain a classification result, and the classification result is used to indicate whether to recommend the current recipe to the user.
[0058] Here, those skilled in the art can understand that the specific operations of each step in the above-mentioned intelligent kitchen interaction method based on scenario analysis have been referred to above. Figures 1 to 3 The description of the scenario analysis-based smart kitchen interaction system has been introduced in detail, and therefore, its repeated description will be omitted.
[0059] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.
[0060] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0061] In the several embodiments provided in the present application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0062] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0063] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
[0064] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk, etc., which can store program codes.
[0065] The above is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any person skilled in the art can easily think of changes or substitutions within the technical scope disclosed by the present invention, which should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.
Claims
1. An intelligent kitchen interactive system based on scenario analysis, characterized in that: include: The scenario analysis data collection module is used to obtain the user's taste preferences, eating habits and health needs voice information, as well as the content data of each ingredient in the current recipe; A scenario analysis data processing module, used to extract a user demand voice understanding feature vector and a recipe ingredient content data feature vector from the voice information and the current recipe ingredient content data respectively; A scenario analysis data fusion module, used to construct an intelligent control classification feature vector between the user demand speech understanding feature vector and the recipe ingredient content data feature vector, and perform unit activation averaging based on feature representation on the intelligent control classification feature vector to obtain an optimized intelligent control classification feature vector; The intelligent control analysis module is used to pass the optimized intelligent control classification feature vector through a classifier to obtain a classification result, and the classification result is used to indicate whether to recommend the current recipe to the user.
2. The intelligent kitchen interactive system based on scenario analysis according to claim 1 is characterized in that: Acquiring voice information about the user's taste preferences, eating habits and health needs, for: acquiring voice data about the user's taste preferences, eating habits and health needs, and performing voice recognition on the voice data to obtain the voice information.
3. The intelligent kitchen interactive system based on scenario analysis according to claim 2 is characterized in that: The scenario analysis data processing module includes: A speech information processing unit, used for performing word segmentation on the speech information and encoding the word segmentation to obtain the user demand speech understanding feature vector; The recipe data processing unit is used to extract the content data of each ingredient in the current recipe after word segmentation to obtain the feature vector of the content data of each ingredient in the recipe.
4. The intelligent kitchen interactive system based on scenario analysis according to claim 3 is characterized in that: The voice information processing unit comprises: A speech information word segmentation processing subunit, used for performing word segmentation processing on the speech information and embedding each word after word segmentation into a word embedding model to obtain a sequence of speech information input vectors; A transformer encoding subunit, configured to pass the sequence of speech information input vectors through a transformer-based encoder model to obtain a sequence of speech feature vectors; The vector encoding subunit is used to arrange the sequence of the speech feature vectors into a one-dimensional vector and then pass it through a bidirectional LSTM model to obtain a user demand speech understanding feature vector.
5. The intelligent kitchen interactive system based on scenario analysis according to claim 4 is characterized in that: The recipe data processing unit comprises: A recipe component segmentation subunit, used to perform a segmentation process on the content data of each component of the current recipe and then pass it through a converter-based context encoder to obtain a feature vector of the content data of each component of the recipe in multiple dimensions; The convolutional encoding subunit is used to arrange the feature vectors of the content data of each ingredient in the recipes of the multiple dimensions in two dimensions into a feature matrix of the content data of each ingredient in the recipes, and then obtain the feature vectors of the content data of each ingredient in the recipes through a recipe content feature extractor based on the first convolutional neural network model.
6. The intelligent kitchen interactive system based on scenario analysis according to claim 5 is characterized in that: The recipe component word segmentation subunit includes: A recipe ingredient embedding conversion secondary subunit, used for converting each ingredient content data of the current recipe into an ingredient content data embedding vector through an embedding layer to obtain a sequence of ingredient content data embedding vectors, wherein the embedding layer uses a learnable embedding matrix to embed the each ingredient content data; The recipe ingredient encoding secondary subunit is used to embed the sequence of ingredient content data into vectors through the converter-based context encoder to obtain the feature vectors of the ingredient content data of the recipes in multiple dimensions.
7. The intelligent kitchen interactive system based on scenario analysis according to claim 6 is characterized in that: The scenario analysis data fusion module includes: A fusion unit, used for fusing the user demand voice understanding feature vector and the recipe ingredient content data feature vector to obtain the intelligent control classification feature vector; The optimization unit is used to perform unit activation averaging based on feature representation on the intelligent control classification feature vector to obtain the optimized intelligent control classification feature vector.
8. The intelligent kitchen interactive system based on scenario analysis according to claim 7 is characterized in that: The optimization unit comprises: A characteristic index adjustment value subunit, used for calculating a natural exponential function value raised to a power of a characteristic value at a predetermined position of the intelligent control classification characteristic vector and then subtracting one to obtain a characteristic index adjustment value; An accumulated exponential function value subunit, used for calculating the accumulated value of the natural exponential function value raised to the power of the eigenvalue of each position of the intelligent control classification eigenvector to obtain an accumulated exponential function value; an activation weighted value subunit, used to calculate the absolute value of the ratio between the characteristic index adjustment value and the cumulative exponential function value, and activate the calculated result through a softmax activation function to obtain an activation weighted value; The product calculation subunit is used to calculate the product between the activation weighted value and the feature value of the predetermined position of the intelligent control classification feature vector to obtain the feature value of the predetermined position of the optimized intelligent control classification feature vector.
9. The intelligent kitchen interactive system based on scenario analysis according to claim 8, characterized in that: The intelligent control analysis module comprises: An intelligent control fully connected encoding unit, used for performing fully connected encoding on the optimized intelligent control classification feature vector using the fully connected layer of the classifier to obtain a fully connected encoded optimized intelligent control classification feature vector; An intelligent control classification unit, used for passing the fully connected coding optimized intelligent control classification feature vector through the Softmax classification function of the classifier to obtain a first probability of recommending the current recipe to the user and a second probability of not recommending the current recipe to the user; An intelligent control classification result determination unit is used to determine the classification result based on a comparison between the first probability and the second probability.
10. A smart kitchen interaction method based on scenario analysis, characterized in that: include: Obtain voice information about the user's taste preferences, eating habits, and health needs, as well as the content data of each ingredient in the current recipe; Extracting a user demand voice understanding feature vector and a recipe ingredient content data feature vector from the voice information and the current recipe ingredient content data respectively; Constructing an intelligent control classification feature vector between the user demand speech understanding feature vector and the recipe ingredient content data feature vector, and performing unit activation averaging based on feature representation on the intelligent control classification feature vector to obtain an optimized intelligent control classification feature vector; The optimized intelligent control classification feature vector is passed through a classifier to obtain a classification result, and the classification result is used to indicate whether the current recipe is recommended to the user.
Citation Information
Cited By
Man-machine interaction system based on multi-modal large model
CN119597986A
