Beverage preparation methods, apparatus, vehicles, equipment, media, and processes.
By recognizing user emotions and generating personalized beverage preparation instructions, the problem of monotonous operation of in-vehicle coffee machines has been solved, enabling personalized beverage matching and emotional resonance, thus enhancing the user experience.
Patent Information
- Application Number
- CN202510623092.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-05-14
- Publication Date
- 2026-11-17
AI Technical Summary
Existing car coffee machines require manual operation and have a limited brewing mode, making it difficult to meet diverse user needs. They are especially unsuitable for providing beverages that match the user's mood and environment during long-distance travel or business receptions.
By analyzing the user's audio and/or facial image information, the system identifies the user's emotion type and generates beverage preparation instructions based on the emotion type. This drives the beverage preparation equipment to make personalized target beverages and optimizes the beverage ratio by combining environmental information.
It enables personalized matching of beverage output, enhances the emotional resonance of users during the process, and improves the user experience.
Smart Images

Figure CN123100972A_ABST
Abstract
Description
Technical Field
[0001] This disclosure relates to the field of vehicle technology, and more particularly to a method, apparatus, vehicle, equipment, medium, and process product for making a beverage. Background Technology
[0002] In recent years, with the development of vehicle intelligence, users' demand for in-vehicle services that enhance travel comfort has become increasingly significant. Under this trend, in-vehicle coffee machines have gradually become a configuration option in high-end models and business travel scenarios, providing passengers with ready-to-drink coffee and partially improving the limitations of beverage access during traditional travel.
[0003] However, current car coffee machines still require manual operation by users, and the brewing mode is relatively fixed and monotonous, making it difficult to meet the diverse needs of users. Summary of the Invention
[0004] To overcome the problems existing in the related technologies, this disclosure provides a method, apparatus, vehicle, equipment, medium and process product for making beverages.
[0005] According to a first aspect of the present disclosure, a method for preparing a beverage is provided, applied to a vehicle, the method comprising: In response to a user-triggered beverage making event, determine the user's current primary emotion type; Based on the first emotion type, a beverage preparation instruction is sent to the beverage preparation equipment, which instructs the beverage preparation equipment to prepare the target beverage.
[0006] Optionally, the user triggering the beverage preparation event can be determined in the following ways: Obtain the audio information input by the user; If the audio information meets the preset scenario conditions, it is determined that the user has triggered the beverage making event.
[0007] Optionally, the preset scenario conditions include: the text similarity between the audio text corresponding to the audio information and the specified text is greater than or equal to a preset similarity threshold.
[0008] Optionally, the preset scenario conditions include: the user intent corresponding to the audio information is a specified intent.
[0009] Optionally, determining the user's current first emotion type includes: Obtain the user information input by the user; the user information includes audio information and / or facial image information; Based on the user information, determine the user's current primary emotion type.
[0010] Optionally, determining the user's current first emotion type based on the user information includes: The user information is input into the target recognition model, and the user's current first emotion type is determined based on the emotion type output by the target recognition model.
[0011] Optionally, when the user information is audio information, the target recognition model includes an audio recognition model, and the step of inputting the user information into the target recognition model and determining the user's current first emotion type based on the emotion type output by the target recognition model includes: The audio information is input into the audio recognition model to obtain the second emotion type output by the audio recognition model; The second emotion type is taken as the user's current first emotion type.
[0012] Optionally, the audio recognition model is used to convert the input audio information into corresponding audio text; Determine the type similarity between the audio text and multiple preset emotion types; Based on the type similarity, the second emotion type corresponding to the audio information is output.
[0013] Optionally, determining the type similarity between the audio text and multiple preset emotion types includes: Identify the emotion keywords corresponding to the audio text; Based on the emotion keywords, determine the character weight corresponding to each text character in the audio text; Based on the character weights, the type similarity between the audio text and multiple preset emotion types is determined.
[0014] Optionally, when the user information is facial image information, the target recognition model includes a facial image recognition model, and the step of inputting the user information into the target recognition model and determining the user's current first emotion type based on the emotion type output by the target recognition model includes: The facial image information is input into the facial image recognition model to obtain the third emotion type output by the facial image recognition model; The third emotion type is taken as the user's current first emotion type.
[0015] Optionally, when the user information consists of audio information and facial image information, the target recognition model includes an audio recognition model and a facial image recognition model; the step of inputting the user information into the target recognition model and determining the user's current first emotion type based on the emotion type output by the target recognition model includes: The audio information is input into the audio recognition model to obtain the second emotion type output by the audio recognition model; The facial image information is input into the facial image recognition model to obtain the third emotion type output by the facial image recognition model; Based on the second emotion type and the third emotion type, the user's current first emotion type is determined.
[0016] Optionally, determining the user's current first emotion type based on the user information includes: The user information is sent to the cloud server so that the cloud server can analyze the user information and obtain the user's current first emotion type after analysis; Receive the user's current first emotion type sent by the cloud server.
[0017] Optionally, sending a beverage preparation instruction to the beverage preparation device based on the first emotion type includes: Based on the first emotion type, determine the beverage ingredient ratio corresponding to the target beverage; Based on the beverage ingredient ratio, a beverage preparation instruction is generated and sent to the beverage preparation equipment.
[0018] Optionally, determining the beverage ingredient ratio corresponding to the target beverage based on the first emotion type includes: Based on the first preset correspondence, determine the beverage ingredient ratio corresponding to the first emotion type from multiple first preset ingredient ratios; The first preset correspondence includes the correspondence between emotion type and first preset material ratio.
[0019] Optionally, the method further includes: Obtain environmental information about the user's current environment; The step of determining the beverage ingredient ratio corresponding to the target beverage based on the first emotion type includes: The proportions of beverage ingredients are determined based on the environmental information and the first emotion type.
[0020] Optionally, determining the beverage ingredient ratio based on the environmental information and the first emotion type includes: Based on the second preset correspondence, the beverage ingredient ratio corresponding to the first emotion type and the environmental information is determined from multiple second preset ingredient ratios; The second preset correspondence includes the correspondence between emotion type, environmental information and second preset material ratio.
[0021] According to a second aspect of the present disclosure, a method for preparing a beverage is provided, applied to a beverage preparation device, the method comprising: Receive beverage preparation instructions sent by the vehicle; The target beverage is prepared according to the beverage preparation instructions. The beverage preparation instruction is determined by the vehicle in response to a beverage preparation event triggered by the user, based on the user's first emotion type.
[0022] Optionally, the step of preparing the target beverage according to the beverage preparation instruction includes: Determine the corresponding beverage ingredient ratios according to the beverage preparation instructions; The target beverage is prepared according to the specified proportions of beverage ingredients.
[0023] Optionally, the method further includes: Determine the volume of the target container used to receive the target beverage; Based on the volume of the target container, determine the beverage capacity that the target container can hold; The process of preparing the target beverage according to the beverage ingredient ratio includes: The target beverage is prepared according to the beverage ingredient ratio and the beverage volume.
[0024] According to a third aspect of the present disclosure, a beverage preparation apparatus is provided, applied to a vehicle, the apparatus comprising: The determination module is configured to determine the user's current first emotion type in response to a beverage making event triggered by the user. The control module is configured to send a beverage preparation instruction to the beverage preparation device based on the first emotion type, the beverage preparation instruction being used to instruct the beverage preparation device to prepare the target beverage.
[0025] Optionally, the user triggering the beverage preparation event can be determined in the following ways: Obtain the audio information input by the user; If the audio information meets the preset scenario conditions, it is determined that the user has triggered the beverage making event.
[0026] Optionally, the preset scenario conditions include: the text similarity between the audio text corresponding to the audio information and the specified text is greater than or equal to a preset similarity threshold.
[0027] Optionally, the preset scenario conditions include: the user intent corresponding to the audio information is a specified intent.
[0028] Optionally, the determining module is configured to acquire user information input by the user; the user information includes audio information and / or facial image information; and determine the user's current first emotion type based on the user information.
[0029] Optionally, the determining module is configured to input the user information into the target recognition model and determine the user's current first emotion type based on the emotion type output by the target recognition model.
[0030] Optionally, when the user information is audio information, the target recognition model includes an audio recognition model, and the determining module is configured to input the audio information into the audio recognition model to obtain a second emotion type output by the audio recognition model; and to use the second emotion type as the user's current first emotion type.
[0031] Optionally, the audio recognition model is used to: convert the input audio information into corresponding audio text; determine the type similarity between the audio text and multiple preset emotion types; and output the second emotion type corresponding to the audio information based on the type similarity.
[0032] Optionally, determining the type similarity between the audio text and multiple preset emotion types includes: determining the emotion keywords corresponding to the audio text; determining the character weight corresponding to each text character in the audio text based on the emotion keywords; and determining the type similarity between the audio text and multiple preset emotion types based on the character weights.
[0033] Optionally, when the user information is facial image information, the target recognition model includes a facial image recognition model, and the determining module is configured to input the facial image information into the facial image recognition model to obtain a third emotion type output by the facial image recognition model; and to use the third emotion type as the user's current first emotion type.
[0034] Optionally, when the user information consists of audio information and facial image information, the target recognition model includes an audio recognition model and a facial image recognition model; the determining module is configured to input the audio information into the audio recognition model to obtain a second emotion type output by the audio recognition model; input the facial image information into the facial image recognition model to obtain a third emotion type output by the facial image recognition model; and determine the user's current first emotion type based on the second emotion type and the third emotion type.
[0035] Optionally, the determining module is configured to send the user information to a cloud server so that the cloud server can analyze the user information to obtain the analyzed user's current first emotion type; and receive the user's current first emotion type sent by the cloud server.
[0036] Optionally, the control module is configured to determine the beverage ingredient ratio corresponding to the target beverage based on the first emotion type; and generate the beverage preparation instruction based on the beverage ingredient ratio and send it to the beverage preparation equipment.
[0037] Optionally, the control module is configured to determine the beverage ingredient ratio corresponding to the first emotion type from a plurality of first preset ingredient ratios according to a first preset correspondence relationship; wherein, the first preset correspondence relationship includes the correspondence between emotion types and first preset ingredient ratios.
[0038] Optionally, the device further includes: The acquisition module is configured to acquire environmental information about the user's environment. The control module is configured to determine the proportion of beverage ingredients based on the environmental information and the first emotion type.
[0039] Optionally, the control module is configured to determine the beverage ingredient ratio corresponding to the first emotion type and the environmental information from a plurality of second preset ingredient ratios according to a second preset correspondence relationship; wherein, the second preset correspondence relationship includes the correspondence between emotion type, environmental information and second preset ingredient ratio.
[0040] According to a fourth aspect of the present disclosure, a beverage preparation apparatus is provided, applied to beverage preparation equipment, the apparatus comprising: The receiving module is configured to receive beverage preparation instructions sent by the vehicle; The production module is configured to produce the target beverage according to the beverage production instructions; The beverage preparation instruction is determined by the vehicle in response to a beverage preparation event triggered by the user, based on the user's first emotion type.
[0041] Optionally, the production module is configured to determine the corresponding beverage ingredient ratio according to the beverage production instruction; and to produce the target beverage according to the beverage ingredient ratio.
[0042] Optionally, the production module is further configured to determine the volume of a target container for receiving the target beverage; determine the beverage capacity that the target container can hold based on the volume of the target container; and produce the target beverage based on the beverage ingredient ratio and the beverage capacity.
[0043] According to a fifth aspect of the present disclosure, a vehicle is provided, comprising: a first processor; and a first memory for storing executable instructions of the first processor; wherein the first processor is configured to implement the steps of the beverage preparation method provided in the first aspect of the present disclosure when the executable instructions stored in the first memory are invoked.
[0044] According to a sixth aspect of the present disclosure, an electronic device is provided, comprising: a second processor; and a second memory for storing executable instructions of the second processor; wherein the second processor is configured to perform the steps of the beverage preparation method provided in the second aspect of the present disclosure when the executable instructions stored in the second memory are invoked.
[0045] According to a seventh aspect of the present disclosure, a beverage preparation apparatus is provided, including the electronic equipment provided in the sixth aspect of the present disclosure.
[0046] According to an eighth aspect of the present disclosure, a computer-readable storage medium is provided, having stored thereon computer program instructions that, when executed by a processor, implement the steps of the beverage preparation method provided in the first aspect of the present disclosure, or implement the steps of the beverage preparation method provided in the second aspect of the present disclosure.
[0047] According to a ninth aspect of the present disclosure, a computer program product is provided, including a computer program that, when executed by a processor, implements the steps of the beverage preparation method provided in the first aspect of the present disclosure, or implements the steps of the beverage preparation method provided in the second aspect of the present disclosure.
[0048] The technical solutions provided by the embodiments of this disclosure can include the following beneficial effects: First, in response to a beverage making event triggered by a user, the user's current first emotion type is determined. Then, based on the first emotion type, a beverage making instruction is sent to the beverage making device, which instructs the device to make a target beverage. Through the above method, during the beverage making process, by analyzing the user's current first emotion type and based on the analyzed first emotion type, the beverage making device is driven to make a target beverage for a specific emotion. Compared to the traditional fixed recipe mode, the beverage making mechanism based on the emotion dimension of this disclosure can provide feedback based on the user's emotional state, enriching the user's diverse needs for beverage making, realizing personalized matching of beverage output, enhancing the user's emotional resonance during use, and greatly improving the user experience.
[0049] It should be understood that the above general description and the following detailed description are exemplary and explanatory only, and are not intended to limit this disclosure. Attached Figure Description
[0050] The accompanying drawings, which are incorporated in and form a part of this specification, illustrate embodiments consistent with this disclosure and, together with the description, serve to explain the principles of this disclosure.
[0051] Figure 1 This is a flowchart illustrating a method for preparing a beverage according to an exemplary embodiment.
[0052] Figure 2 This is a flowchart illustrating another method for preparing a beverage according to an exemplary embodiment.
[0053] Figure 3 This is a flowchart illustrating another method for preparing a beverage according to an exemplary embodiment.
[0054] Figure 4 This is a flowchart illustrating a method for preparing a beverage according to an exemplary embodiment.
[0055] Figure 5 This is a flowchart illustrating a method for preparing a beverage according to an exemplary embodiment.
[0056] Figure 6 This is a block diagram illustrating a beverage preparation apparatus according to an exemplary embodiment.
[0057] Figure 7 This is a block diagram of an apparatus for making another beverage, according to an exemplary embodiment.
[0058] Figure 8 This is a block diagram illustrating a beverage preparation apparatus according to an exemplary embodiment.
[0059] Figure 9 This is a block diagram illustrating a vehicle according to an exemplary embodiment.
[0060] Figure 10 This is a block diagram illustrating an electronic device according to an exemplary embodiment.
[0061] Figure 11 This is a block diagram illustrating a beverage preparation apparatus according to an exemplary embodiment.
[0062] Figure 12 This is a block diagram illustrating an electronic device according to an exemplary embodiment. Detailed Implementation
[0063] Exemplary embodiments will now be described in detail, examples of which are illustrated in the accompanying drawings. When the following description relates to the drawings, unless otherwise indicated, the same numerals in different drawings denote the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this disclosure. Rather, they are merely examples of apparatuses and methods consistent with some aspects of this disclosure as detailed in the appended claims.
[0064] It should be noted that all actions involving the acquisition of signals, information, or data in this disclosure are carried out in compliance with the relevant data protection laws and policies of the country where the location is situated, and with authorization from the owner of the relevant device.
[0065] The terms "first," "second," etc., used in the specification, claims, and accompanying drawings of this application are used to distinguish similar objects and are not necessarily construed as referring to a specific order or sequence. Furthermore, in the description with reference to the accompanying drawings, the same reference numerals in different drawings denote the same elements.
[0066] The term "comprising" and its variations as used herein are open-ended inclusions, meaning "including but not limited to". The term "based on" means "at least partially based on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments". Definitions of other terms will be given in the description below.
[0067] In the description of this disclosure, unless otherwise stated, "multiple" means two or more, and other quantifiers are similar; "at least one," "one or more," or similar expressions refer to any combination of these items, including any combination of single or plural items. For example, at least one 'a' can represent any number of 'a's; as another example, one or more of a, b, and c can represent: a, b, c, ab, ac, bc, or abc, where a, b, and c can be single or multiple; "and / or" describes the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A alone, A and B simultaneously, and B alone, where A and B can be singular or plural. The character " / " indicates that the preceding and following related objects are in an "or" relationship.
[0068] Although operations or steps are described in a specific order in the accompanying drawings in the embodiments of this disclosure, it should not be construed as requiring these operations or steps to be performed in the specific order or serial order shown, or requiring all of the shown operations or steps to be performed to obtain the desired result. In the embodiments of this disclosure, these operations or steps may be performed serially; they may be performed in parallel; or a portion of these operations or steps may be performed.
[0069] Before introducing the beverage preparation methods, apparatus, vehicles, equipment, media, and program products provided in this disclosure, the application scenarios involved in the various embodiments of this disclosure are first introduced. This disclosure can be applied to the use scenarios of in-vehicle coffee machines or home coffee machines. With the improvement of vehicle intelligence, users' demand for in-vehicle comfort and personalized services has increased significantly. Against this background, in-vehicle coffee machines have gradually become a common configuration in high-end models and business travel scenarios, providing passengers with ready-to-drink coffee services and enriching the leisure experience during the journey. However, both in-vehicle coffee machines and home coffee machines generally suffer from the problem of relying on manual intervention in operation, such as requiring users to manually select coffee types and adjust concentration parameters, and the beverage flavors and preparation modes are fixed and monotonous, making it difficult to adapt to the differentiated needs in different scenarios. In long-term practice, the inventors have found that, especially in long-distance travel and business reception scenarios, users often cannot obtain beverage services that match their current mood and environment due to the limited functionality of the equipment, which reduces the expected effect of equipment use value and experience upgrade, and makes it difficult to meet the diverse needs of users.
[0070] To address the aforementioned technical problems, this invention provides a beverage preparation method, apparatus, vehicle, equipment, medium, and program product. During the beverage preparation process, by analyzing the user's current primary emotion type and based on this analysis, the beverage preparation equipment is driven to prepare a target beverage reflecting a specific emotion. Compared to traditional fixed-recipe models, this emotionally-based beverage preparation mechanism provides feedback based on the user's emotional state, enriching the user's diverse beverage preparation needs, achieving personalized beverage output, enhancing emotional resonance during use, and significantly improving the user experience.
[0071] The specific embodiments of the present invention will now be described in detail with reference to the accompanying drawings.
[0072] Figure 1 This is a flowchart illustrating a method for preparing a beverage according to an exemplary embodiment, the method being used in a vehicle, such as... Figure 1 As shown, the method may include the following steps.
[0073] In step S101, in response to the beverage making event triggered by the user, the user's current first emotion type is determined.
[0074] In this step, we can obtain the audio information input by the user and determine whether the user has triggered a beverage preparation event based on the audio information. If we determine that the user has triggered a beverage preparation event, we can determine that the user currently has a need to drink a beverage, and further determine the user's current primary emotional type.
[0075] In some embodiments, the user triggering of a beverage preparation event can be determined in the following ways: (1) Obtain the audio information input by the user.
[0076] Among these features, audio information input by the user can be collected through an audio acquisition device installed on the vehicle.
[0077] In one application scenario, when the user has enabled the audio recognition function, the system can also acquire the audio information input by the user, thus avoiding the vehicle controller being in a state of detecting the user's audio input for a long time and reducing the overall energy consumption of the vehicle.
[0078] (2) If the audio information meets the preset scenario conditions, determine that the user has triggered the beverage making event.
[0079] In one possible implementation, the preset scenario condition may include: the text similarity between the audio text corresponding to the audio information and the specified text is greater than or equal to a preset similarity threshold.
[0080] In other words, pre-defined text for beverage preparation scenarios (e.g., "I'm thirsty") can be set. While driving, such as on a long trip or camping, a user can say "I'm thirsty." The vehicle's audio capture device will collect the user's audio input and analyze it to determine if the user currently needs a beverage. When the audio text corresponding to the user's input has a high text similarity to the pre-defined text, it can be considered that the user has triggered the beverage preparation event.
[0081] In another possible implementation, the preset scenario condition may include: the user intent corresponding to the audio information is a specified intent.
[0082] Of course, to improve the flexibility of scene recognition, an intent recognition model can also be equipped. The intent recognition model can identify the user's input audio information. If it is determined that the user's intent corresponding to the current audio information is the specified intent, it indicates that the current user has a need to drink beverages. At this time, it can be determined that the user has triggered a beverage making event.
[0083] Understandably, if the audio information does not meet the preset scenario conditions, it means that the user does not currently have a need to drink beverages, and no further control operations need to be performed.
[0084] Once it is determined that a user triggered a beverage preparation event, further user information can be obtained, and based on this information, the user's current primary emotion type can be determined. This user information may include, for example, audio information and / or facial image information.
[0085] It should be noted that the above-mentioned determination of whether the audio information meets the preset scenario conditions and determination of the user's current first emotion type can be performed either on the vehicle or by the cloud server. That is, the audio information and user information are sent to the cloud server connected to the vehicle, and the cloud server analyzes the audio information to determine whether the user has triggered the beverage making event. If the beverage making event is determined to have been triggered, the user's current first emotion type is determined based on the user information.
[0086] In step S102, a beverage preparation instruction is sent to the beverage preparation device according to the first emotion type.
[0087] In some embodiments, the proportion of beverage ingredients corresponding to the target beverage can be determined based on a first emotion type, and a beverage preparation instruction can be generated based on the proportion of beverage ingredients. This beverage preparation instruction instructs the beverage preparation equipment to prepare the target beverage. The beverage ingredient proportion refers to the percentage of each ingredient required to prepare the target beverage. This proportion may include, but is not limited to, the proportion of raw materials (e.g., coffee, juice, or other liquids), sweeteners (e.g., syrup, honey, sugar, milk, etc.), flavorings (e.g., salt, spices, etc.), additives (e.g., creamer, tapioca pearls, etc. in milk tea, or carbon dioxide in carbonated beverages), and water. The specific proportion of ingredients can be set according to the material requirements of different beverages; the above is only one possible implementation, and this disclosure does not specifically limit it. The target beverage may be, for example, coffee, juice, milk tea, etc.
[0088] After receiving the beverage preparation instruction from the vehicle, the beverage preparation equipment prepares the target beverage according to the instruction. In this way, it can personalize the beverage for the user based on their mood type, meet the user's needs under different emotions, bring more thoughtful service to the user, and significantly improve the user experience.
[0089] Using the above method, during the beverage preparation process, the user's current primary emotion type is analyzed, and based on this analysis, the beverage preparation equipment is driven to produce a target beverage reflecting that specific emotion. Compared to traditional fixed-recipe models, this disclosed beverage preparation mechanism, based on an emotion dimension, can provide feedback based on the user's emotional state, enriching the user's diverse needs for beverage preparation, achieving personalized matching of beverage output, enhancing the user's emotional resonance during use, and greatly improving the user experience.
[0090] The following is a detailed explanation of how to determine a user's current primary emotion type.
[0091] Specifically, such as Figure 2 As shown, determining the user's current first emotion type in step S101 may include the following steps.
[0092] In step S1011, the user information input by the user is obtained.
[0093] The user information includes audio information and / or facial image information. The audio information can be acquired through an audio acquisition device installed in the vehicle, and the facial image information can be acquired through an image acquisition device installed in the vehicle.
[0094] In step S1012, the user's current first emotion type is determined based on the user information.
[0095] In some embodiments, the user information can be input into a target recognition model, and the user's current primary emotion type can be determined based on the emotion type output by the target recognition model. The target recognition model may include an audio recognition model and / or a facial image recognition model.
[0096] In other words, the collected user information can be analyzed through the vehicle to determine the user's current primary emotion type.
[0097] In one possible implementation, when the user information is audio information, the target recognition model includes an audio recognition model. First, the audio information can be input into the audio recognition model to obtain a second emotion type output by the audio recognition model. Then, this second emotion type is used as the user's current first emotion type.
[0098] By using an audio recognition model to perform emotion analysis on audio information and convert it into corresponding emotion types (such as joy, anger, anxiety, calmness, etc.), the user's current primary emotion type can be obtained.
[0099] The audio recognition model is used to convert the input audio information into corresponding audio text, determine the type similarity between the audio text and multiple preset emotion types, and output the second emotion type corresponding to the audio information based on the type similarity.
[0100] Determining the type similarity between the audio text and multiple preset emotion types can include: identifying the emotion keywords corresponding to the audio text; determining the character weight of each text character in the audio text based on the emotion keywords; and determining the type similarity between the audio text and multiple preset emotion types based on the character weights. Emotion keywords can be characters from words or phrases that characterize an emotional state. For example, emotion keywords for positive emotions can include joy, happiness, excitement, bliss, satisfaction, pride, surprise, and pleasure. Emotion keywords for negative emotions can include sadness, distress, pain, anger, anxiety, fear, frustration, disappointment, and loneliness. Emotion keywords for neutral emotions can include calmness, composure, serenity, numbness, and indifference. The audio recognition model strengthens the recognition weight of emotion keywords by identifying them in the audio text and increasing the character weight corresponding to those keywords, thereby improving the accuracy of subsequent emotion type identification. Next, the audio text is converted into corresponding vector feature data. Then, by activating a feedforward function (e.g., the GELU activation function), the output dimension of the vector feature data is expanded (e.g., by a factor of 4) to transform the text into a high-dimensional feature representation, allowing the model to capture more data details. Following this, based on the weight of each character, the processed vector feature data is matched against multiple preset emotion types in a pre-defined emotion feature library, selecting the emotion tag with the highest similarity. Finally, the matching results undergo dimensionality adaptation processing (e.g., compressing the data to its original dimension through linear transformation), thus transforming it into a readable emotion type tag for output, yielding the second emotion type.
[0101] In another possible implementation, where the user information is facial image information, the target recognition model includes a facial image recognition model. First, the facial image information can be input into the facial image recognition model to obtain a third emotion type output by the model. Then, this third emotion type is used as the user's current first emotion type.
[0102] A facial recognition model can analyze facial features in an input facial image to first locate the face, analyze the shape and dynamic changes of features such as the eyes, eyebrows, and mouth (e.g., frowning, upturned corners of the mouth), extract the combination patterns of these features, and then compare them with a preset emotional expression database (e.g., standard expressions of joy and anger) to finally match the most suitable emotional type. This facial recognition model can be any model in related technologies capable of achieving the above functions; this disclosure does not specifically limit it.
[0103] In another possible implementation, when the user information consists of audio and facial image information, the target recognition model includes both an audio recognition model and a facial image recognition model. That is, to improve the accuracy of emotion recognition, the results of both models can be combined to avoid one model misinterpreting the others and affecting the reliability of subsequent beverage preparation instructions. Specifically, the audio information can first be input into the audio recognition model to obtain the second emotion type output by the model. Simultaneously, the facial image information can be input into the facial image recognition model to obtain the third emotion type output by the model. Finally, based on the second and third emotion types, the user's current first emotion type is determined.
[0104] For example, different weights can be assigned to the second and third emotion types. If the two are inconsistent, the one with the higher weight is selected as the user's current first emotion type.
[0105] In addition to analyzing user information through vehicles to determine the user's current primary emotion type, in order to ensure the efficient use of vehicle resources and avoid excessive consumption of vehicle computing power, user information can also be analyzed through cloud servers to determine the user's current primary emotion type.
[0106] Specifically, the user information can be sent to a cloud server so that the cloud server can analyze the user information, obtain the user's current first emotion type after analysis, and receive the user's current first emotion type sent by the cloud server.
[0107] The method by which cloud servers analyze user information can be referenced from the method used by vehicles to analyze user information, and will not be elaborated further here.
[0108] The following is a detailed explanation of how to determine the beverage preparation instructions.
[0109] Specifically, such as Figure 3 As shown, the step S102 above, which sends a beverage preparation instruction to the beverage preparation device according to the first emotion type, may include the following steps.
[0110] In step S1021, the proportion of beverage ingredients corresponding to the target beverage is determined based on the first emotion type.
[0111] In one possible implementation, the beverage ingredient ratio corresponding to a first emotion type can be determined from multiple first preset ingredient ratios based on a first preset correspondence. This first preset correspondence includes the relationship between emotion types and first preset ingredient ratios; that is, different emotion types correspond to different ingredient ratios. This allows for personalized beverage delivery based on the user's emotion. For example, when an anxious emotion is detected, a soothing hot drink containing caramel or chocolate can be automatically provided; when a pleasant emotion is perceived, the fruity flavor of the drink is enhanced to prolong the positive experience. Compared to traditional fixed-recipe models, this disclosure's flavor adjustment mechanism based on the emotion dimension expands the scenario adaptability of the beverage library and enhances the user's emotional resonance during use by establishing a sensory connection between the beverage and the emotion, thereby improving the quality of personalized service.
[0112] In another possible implementation, environmental information can be further incorporated to determine the ingredient ratios for the target beverage. Specifically, environmental information about the user's environment can be obtained. This environmental information may include, for example, ambient temperature, humidity, and geographical location. Then, based on this environmental information and the primary emotional type, the beverage ingredient ratios can be determined.
[0113] For example, the beverage ingredient ratios corresponding to the first emotion type and the environmental information can be determined from multiple second preset ingredient ratios based on a second preset correspondence. The second preset correspondence includes the correspondence between emotion type, environmental information, and second preset ingredient ratios.
[0114] By considering the user's emotions and further integrating environmental information, the system automatically adjusts the beverage's flavor to provide the optimal experience. For example, when a user is feeling down, a hot coffee can be automatically offered to refresh them. On a hot summer day, an iced Americano can be provided to quench their thirst and cool them down. Conversely, in cold weather, when a user's positive mood is detected, a warm latte with cinnamon flavor can be offered to enhance their sense of well-being. In this way, by dynamically coordinating the relationship between the environment and the user's emotional needs, both physiological and psychological satisfaction is achieved.
[0115] In step S1022, the beverage preparation instruction is generated and sent to the beverage preparation equipment according to the beverage ingredient ratio.
[0116] The beverage ingredient ratios are written into the beverage preparation instructions and sent to the beverage preparation equipment, which then prepares the target beverage according to the instructions.
[0117] It should be noted that the method for determining the beverage ingredient ratio described above can be executed both on the vehicle and on the cloud server, and this disclosure does not specifically limit it. Similarly, the beverage preparation instruction can be generated either on the vehicle or on the cloud server. If the beverage preparation instruction is generated on the cloud server, it can be directly sent to the beverage preparation equipment for execution, or it can be sent to the vehicle and then from there to the beverage preparation equipment for execution.
[0118] Using the above method, during the beverage preparation process, the user's current primary emotion type is analyzed, and based on this analysis, the beverage preparation equipment is driven to produce a target beverage reflecting that specific emotion. Compared to traditional fixed-recipe models, this disclosed beverage preparation mechanism, based on an emotion dimension, can provide feedback based on the user's emotional state, enriching the user's diverse needs for beverage preparation, achieving personalized matching of beverage output, enhancing the user's emotional resonance during use, and greatly improving the user experience.
[0119] Figure 4 This is a flowchart illustrating a method for preparing a beverage according to an exemplary embodiment, applicable to beverage preparation equipment, such as... Figure 4 As shown, the method may include the following steps.
[0120] In step S201, a beverage preparation instruction sent by the vehicle is received.
[0121] In step S202, the target beverage is prepared according to the beverage preparation instruction.
[0122] The beverage preparation instruction is determined by the vehicle in response to a user-triggered beverage preparation event, based on the user's primary emotion type. For specific beverage preparation instructions, please refer to... Figures 1 to 3 The relevant content will not be elaborated here.
[0123] Upon receiving a beverage preparation instruction from a vehicle, the beverage preparation equipment can parse the instruction to obtain the corresponding beverage ingredient ratios. Based on these ratios, it then prepares the desired beverage. This beverage preparation equipment can be, for example, a coffee machine, juicer, milk tea machine, water dispenser, etc.
[0124] In some embodiments, after analyzing the beverage ingredient ratios, the beverage preparation equipment can further determine the volume of the target container for receiving the target beverage, and determine the beverage capacity that the target container can hold based on the target container's volume. For example, image recognition technology can be used to analyze a captured image containing the target beverage to obtain the target container's volume. Based on the target container's volume, a capacity value equal to or less than that volume is selected as the beverage capacity that the target container can hold. For example, 80% of the target container's volume can be used as the beverage capacity that the target container can hold. Then, the target beverage can be prepared according to the beverage ingredient ratios and the beverage capacity.
[0125] Using the above method, during the beverage preparation process, the user's current primary emotion type is analyzed, and based on this analysis, the beverage preparation equipment is driven to produce a target beverage reflecting that specific emotion. Compared to traditional fixed-recipe models, this disclosed beverage preparation mechanism, based on an emotion dimension, can provide feedback based on the user's emotional state, enriching the user's diverse needs for beverage preparation, achieving personalized matching of beverage output, enhancing the user's emotional resonance during use, and greatly improving the user experience.
[0126] Figure 5 This is a flowchart illustrating a beverage preparation method according to an exemplary embodiment, using the interaction between a vehicle, beverage preparation equipment, and a cloud server as an example to illustrate a possible implementation of this disclosure. Figure 5 The method may include the following steps.
[0127] In step S301, the vehicle responds to the user-triggered beverage preparation event by sending the acquired user information to the cloud server.
[0128] This user information includes audio information and / or facial image information.
[0129] In step S302, the cloud server determines the user's current first emotion type based on the user information.
[0130] The process of determining the user's current primary emotion type based on user information can be referenced in step S101, and will not be elaborated further here.
[0131] In step S303, the cloud server determines the beverage ingredient ratio corresponding to the target beverage based on the first emotion type.
[0132] The process of determining the user's current primary emotion type based on user information can be referenced in step S102, and will not be elaborated further here.
[0133] In step S304, the cloud server generates a beverage preparation instruction based on the beverage ingredient ratio and sends the beverage preparation instruction to the beverage preparation equipment.
[0134] It should be noted that if the beverage making equipment is not connected to the cloud server, the beverage making instruction can also be sent to the vehicle, which will then forward it to the beverage making equipment.
[0135] In step S305, the beverage making equipment parses the beverage making instructions to obtain the corresponding beverage ingredient ratios.
[0136] In step S306, the beverage making equipment determines the volume of the target container for receiving the target beverage, and determines the beverage capacity that the target container can hold based on the volume of the target container.
[0137] In step S307, the beverage making equipment produces the target beverage according to the beverage ingredient ratio and the beverage volume.
[0138] Using the above method, during the beverage preparation process, the user's current primary emotion type is analyzed, and based on this analysis, the beverage preparation equipment is driven to produce a target beverage reflecting that specific emotion. Compared to traditional fixed-recipe models, this disclosed beverage preparation mechanism, based on an emotion dimension, can provide feedback based on the user's emotional state, enriching the user's diverse needs for beverage preparation, achieving personalized matching of beverage output, enhancing the user's emotional resonance during use, and greatly improving the user experience.
[0139] Regarding the methods in the above embodiments, the specific manner in which each step is performed has been described. Figures 1 to 3 The embodiments of the method have been described in detail, and will not be elaborated upon here.
[0140] Figure 6 This is a block diagram illustrating a beverage preparation apparatus according to an exemplary embodiment, applicable to a vehicle, such as... Figure 6 As shown, the device 400 includes: Module 401 is configured to determine the user's current primary emotion type in response to a user-triggered beverage preparation event. The control module 402 is configured to send a beverage making instruction to the beverage making device based on the first emotion type. The beverage making instruction is used to instruct the beverage making device to make the target beverage.
[0141] Optionally, the user triggering the beverage preparation event can be determined in the following ways: Get the audio information input by the user; If the audio information meets the preset scenario conditions, it is determined that the user has triggered the beverage making event.
[0142] Optionally, the preset scenario conditions include: the text similarity between the audio text corresponding to the audio information and the specified text is greater than or equal to a preset similarity threshold.
[0143] Optionally, the preset scenario conditions include: the user intent corresponding to the audio information is a specified intent.
[0144] Optionally, the determining module 401 is configured to acquire user information input by the user; the user information includes audio information and / or facial image information; and determine the user's current first emotion type based on the user information.
[0145] Optionally, the determining module 401 is configured to input the user information into the target recognition model and determine the user's current first emotion type based on the emotion type output by the target recognition model.
[0146] Optionally, if the user information is audio information, the target recognition model includes an audio recognition model. The determining module 401 is configured to input the audio information into the audio recognition model to obtain a second emotion type output by the audio recognition model; and to use the second emotion type as the user's current first emotion type.
[0147] Optionally, the audio recognition model is used to convert the input audio information into corresponding audio text; determine the type similarity between the audio text and multiple preset emotion types; and output the second emotion type corresponding to the audio information based on the type similarity.
[0148] Optionally, determining the type similarity between the audio text and multiple preset emotion types includes: determining the emotion keyword corresponding to the audio text; determining the character weight corresponding to each text character in the audio text based on the emotion keyword; and determining the type similarity between the audio text and multiple preset emotion types based on the character weight.
[0149] Optionally, when the user information is facial image information, the target recognition model includes a facial image recognition model. The determining module 401 is configured to input the facial image information into the facial image recognition model to obtain the third emotion type output by the facial image recognition model; and to use the third emotion type as the user's current first emotion type.
[0150] Optionally, when the user information consists of audio information and facial image information, the target recognition model includes an audio recognition model and a facial image recognition model; the determining module 401 is configured to input the audio information into the audio recognition model to obtain a second emotion type output by the audio recognition model; input the facial image information into the facial image recognition model to obtain a third emotion type output by the facial image recognition model; and determine the user's current first emotion type based on the second emotion type and the third emotion type.
[0151] Optionally, the determining module 401 is configured to send the user information to the cloud server so that the cloud server can analyze the user information to obtain the user's current first emotion type after analysis; and receive the user's current first emotion type sent by the cloud server.
[0152] Optionally, the control module 402 is configured to determine the beverage ingredient ratio corresponding to the target beverage based on the first emotion type; generate the beverage preparation instruction based on the beverage ingredient ratio and send it to the beverage preparation equipment.
[0153] Optionally, the control module 402 is configured to determine the beverage ingredient ratio corresponding to the first emotion type from a plurality of first preset ingredient ratios according to a first preset correspondence relationship; wherein the first preset correspondence relationship includes the correspondence between emotion type and first preset ingredient ratio.
[0154] Optionally, such as Figure 7 As shown, the device 400 also includes: The acquisition module 403 is configured to acquire environmental information about the user's environment. The control module 402 is configured to determine the proportions of beverage ingredients based on the environmental information and the first emotion type.
[0155] Optionally, the control module 402 is configured to determine the beverage ingredient ratio corresponding to the first emotion type and the environmental information from a plurality of second preset ingredient ratios according to a second preset correspondence relationship; wherein, the second preset correspondence relationship includes the correspondence between emotion type, environmental information and second preset ingredient ratio.
[0156] Using the aforementioned device, during the beverage preparation process, the device analyzes the user's current primary emotion type and, based on this analysis, drives the beverage preparation equipment to create a target beverage reflecting that specific emotion. Compared to traditional fixed-recipe models, this emotionally-based beverage preparation mechanism provides feedback based on the user's emotional state, enriching the user's diverse beverage preparation needs, achieving personalized beverage output, enhancing emotional resonance during use, and significantly improving the user experience.
[0157] Regarding the apparatus in the above embodiments, the specific manner in which each module performs its operation has been described in detail in the embodiments related to the method, and will not be elaborated upon here.
[0158] Figure 8 This is a block diagram illustrating a beverage preparation apparatus according to an exemplary embodiment, applicable to beverage preparation equipment, such as... Figure 8 As shown, the device 500 includes: The receiving module 501 is configured to receive beverage preparation instructions sent by the vehicle; The production module 502 is configured to produce the target beverage according to the beverage production instruction; The beverage preparation instruction is determined by the vehicle in response to a beverage preparation event triggered by the user, based on the user's first emotional type.
[0159] Optionally, the production module 502 is configured to determine the corresponding beverage ingredient ratio according to the beverage production instruction; and to produce the target beverage according to the beverage ingredient ratio.
[0160] Optionally, the production module 502 is further configured to determine the volume of a target container for receiving the target beverage; determine the beverage capacity that the target container can hold based on the volume of the target container; and produce the target beverage based on the beverage ingredient ratio and the beverage capacity.
[0161] Using the aforementioned device, during the beverage preparation process, the device analyzes the user's current primary emotion type and, based on this analysis, drives the beverage preparation equipment to create a target beverage reflecting that specific emotion. Compared to traditional fixed-recipe models, this emotionally-based beverage preparation mechanism provides feedback based on the user's emotional state, enriching the user's diverse beverage preparation needs, achieving personalized beverage output, enhancing emotional resonance during use, and significantly improving the user experience.
[0162] Regarding the apparatus in the above embodiments, the specific manner in which each module performs its operation has been described in detail in the embodiments related to the method, and will not be elaborated upon here.
[0163] This disclosure also provides a computer-readable storage medium having stored thereon computer program instructions that, when executed by a processor, implement the steps of the beverage preparation method provided in this disclosure.
[0164] Figure 9This is a block diagram illustrating a vehicle 600 according to an exemplary embodiment. For example, vehicle 600 can be a hybrid vehicle, a non-hybrid vehicle, an electric vehicle, a fuel cell vehicle, or other types of vehicle. Vehicle 600 can be an autonomous vehicle, a semi-autonomous vehicle, or a non-autonomous vehicle.
[0165] Reference Figure 9 The vehicle 600 may include various subsystems, such as an infotainment system 610, a perception system 620, a decision control system 630, a drive system 640, and a computing platform 650. The vehicle 600 may also include more or fewer subsystems, and each subsystem may include multiple components. Furthermore, each subsystem and each component of the vehicle 600 can be interconnected via wired or wireless means.
[0166] In some embodiments, the infotainment system 610 may include a communication system, an entertainment system, and a navigation system, etc.
[0167] The perception system 620 may include several sensors for sensing information about the environment surrounding the vehicle 600. For example, the perception system 620 may include a global positioning system (which may be GPS, BeiDou, or other positioning systems), an inertial measurement unit (IMU), lidar, millimeter-wave radar, ultrasonic radar, and a camera device.
[0168] The decision control system 630 may include a computing system, a vehicle controller, a steering system, a throttle, and a braking system.
[0169] The drive system 640 may include components that provide powered motion to the vehicle 600. In one embodiment, the drive system 640 may include an engine, an energy source, a transmission system, and wheels. The engine may be one or a combination of internal combustion engines, electric motors, and compressed air engines. The engine is capable of converting energy provided by the energy source into mechanical energy.
[0170] Some or all of the functions of vehicle 600 are controlled by computing platform 650. Computing platform 650 may include at least one first processor 651 and a first memory 652, the first processor 651 being able to execute instructions 653 stored in the first memory 652.
[0171] The first processor 651 can be any conventional processor, such as a commercially available CPU. The processor may also include a graphics processing unit (GPU), a field-programmable gate array (FPGA), a system-on-a-chip (SOC), an application-specific integrated circuit (ASIC), or a combination thereof.
[0172] The first memory 652 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic storage, flash memory, magnetic disk or optical disk.
[0173] In addition to instruction 653, the first memory 652 can also store data, such as road maps, route information, vehicle position, direction, speed, and other data. The data stored in the first memory 652 can be used by the computing platform 650.
[0174] In this embodiment of the disclosure, the first processor 651 can execute instructions 653 to complete all or part of the steps of the beverage preparation method described above.
[0175] Figure 10 This is a block diagram illustrating an electronic device 700 according to an exemplary embodiment. For example, the electronic device 700 may be a mobile phone, computer, digital broadcasting terminal, messaging device, game console, tablet device, medical device, fitness equipment, personal digital assistant, etc.
[0176] Reference Figure 10 The electronic device 700 may include one or more of the following components: a first processing component 702, a second memory 704, a first power supply component 706, a multimedia component 708, an audio component 710, a first input / output interface 712, a sensor component 714, and a communication component 716.
[0177] The first processing component 702 typically controls the overall operation of the electronic device 700, such as operations associated with display, telephone calls, data communication, camera operation, and recording. The first processing component 702 may include one or more second processors 720 to execute instructions to complete all or part of the steps of the beverage preparation method described above. Furthermore, the first processing component 702 may include one or more modules to facilitate interaction between the first processing component 702 and other components. For example, the first processing component 702 may include a multimedia module to facilitate interaction between the multimedia component 708 and the first processing component 702.
[0178] The second memory 704 is configured to store various types of data to support the operation of the electronic device 700. Examples of this data include instructions for any application or method operating on the electronic device 700, contact data, phonebook data, messages, pictures, videos, etc. The second memory 704 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic storage, flash memory, magnetic disk, or optical disk.
[0179] The first power supply component 706 provides power to various components of the electronic device 700. The first power supply component 706 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to the electronic device 700.
[0180] Multimedia component 708 includes a screen that provides an output interface between the electronic device 700 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touchscreen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensors may sense not only the boundaries of the touch or swipe action but also the duration and pressure associated with the touch or swipe operation. In some embodiments, multimedia component 708 includes a front-facing camera and / or a rear-facing camera. When the electronic device 700 is in an operating mode, such as a shooting mode or a video mode, the front-facing camera and / or the rear-facing camera may receive external multimedia data. Each front-facing camera and rear-facing camera may be a fixed optical lens system or have focal length and optical zoom capabilities.
[0181] Audio component 710 is configured to output and / or input audio signals. For example, audio component 710 includes a microphone (MIC) configured to receive external audio signals when electronic device 700 is in an operating mode, such as call mode, recording mode, and voice recognition mode. The received audio signals may be further stored in a second memory 704 or transmitted via communication component 716. In some embodiments, audio component 710 also includes a speaker for outputting audio signals.
[0182] The first input / output interface 712 provides an interface between the first processing component 702 and the peripheral interface module, which may be a keyboard, click wheel, buttons, etc. These buttons may include, but are not limited to, a home button, volume buttons, a start button, and a lock button.
[0183] Sensor assembly 714 includes one or more sensors for providing state assessments of various aspects of electronic device 700. For example, sensor assembly 714 can detect the on / off state of electronic device 700, the relative positioning of components such as the display and keypad of electronic device 700, changes in position of electronic device 700 or a component of electronic device 700, the presence or absence of user contact with electronic device 700, orientation or acceleration / deceleration of electronic device 700, and temperature changes of electronic device 700. Sensor assembly 714 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. Sensor assembly 714 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, sensor assembly 714 may also include an accelerometer, gyroscope, magnetometer, pressure sensor, or temperature sensor.
[0184] Communication component 716 is configured to facilitate wired or wireless communication between electronic device 700 and other devices. Electronic device 700 can access wireless networks based on communication standards, such as WiFi, 2G, or 3G, or combinations thereof. In one exemplary embodiment, communication component 716 receives broadcast signals or broadcast-related information from an external broadcast management system via a broadcast channel. In one exemplary embodiment, communication component 716 also includes a near-field communication (NFC) module to facilitate short-range communication. For example, the NFC module may be implemented based on radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
[0185] In an exemplary embodiment, the electronic device 700 may be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field-programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components to perform the beverage preparation method described above.
[0186] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a second memory 704 including instructions, which can be executed by a second processor 720 of an electronic device 700 to complete the beverage preparation method described above. For example, the non-transitory computer-readable storage medium may be a ROM, random access memory (RAM), CD-ROM, magnetic tape, floppy disk, and optical data storage device, etc.
[0187] In another exemplary embodiment, a computer program product is also provided, the computer program product comprising a computer program executable by a programmable device, the computer program having a code portion for performing the method of making the beverage described above when executed by the programmable device.
[0188] Figure 11 This is a block diagram of a beverage preparation device disclosed herein, such as... Figure 11 As shown, the beverage preparation equipment 800 includes Figure 10 The provided electronic equipment is 700.
[0189] Figure 12 This is a block diagram illustrating an electronic device 900 according to an exemplary embodiment. For example, the electronic device 900 may be provided as a server. (Refer to...) Figure 12 The electronic device 900 includes a second processing component 922, which further includes one or more third processors, and memory resources represented by a third memory 932 for storing instructions executable by the second processing component 922, such as application programs. The application programs stored in the third memory 932 may include one or more modules, each corresponding to a set of instructions. Furthermore, the second processing component 922 is configured to execute instructions to perform the aforementioned beverage preparation method. The electronic device 900 may also include a second power supply component 926 configured to perform power management of the electronic device 900, a wired or wireless network interface 950 configured to connect the electronic device 900 to a network, and a second input / output interface 958. The electronic device 900 can operate on an operating system, such as Windows Server, stored in the third memory 932. TM Mac OS X TM Unix TM LinuxTM FreeBSD TM Or similar.
[0190] Those skilled in the art will also understand that the various illustrative logical blocks and steps listed in the embodiments of this application can be implemented by electronic hardware, computer software, or a combination of both. Whether such functionality is implemented through hardware or software depends on the specific application and the overall system design requirements. Those skilled in the art can implement the described functionality using various methods for each specific application, but such implementation should not be construed as exceeding the scope of protection of the embodiments of this application.
[0191] Furthermore, the term "exemplary" is used in this document to indicate that it serves as an example, instance, or illustration. Any aspect or design described as "exemplary" in this document is not necessarily to be construed as advantageous compared to other aspects or designs. Rather, the use of the term "exemplary" is intended to present concepts in a concrete manner.
[0192] Similarly, although this disclosure has been shown and described with respect to one or more implementations, equivalent variations and modifications will occur to those skilled in the art upon reading and understanding this specification and the accompanying drawings. This disclosure includes all such modifications and variations and is limited only by the scope of the claims. In particular, with respect to the various functions performed by the components described above (e.g., elements, resources, etc.), unless otherwise indicated, the terminology used to describe such components is intended to correspond to any component (functionally equivalent) that performs the specific function of the described component, even if structurally not equivalent to the disclosed structure. Furthermore, although specific features of this disclosure may have been disclosed with respect to only one of several implementations, such features may be combined with one or more other features of other implementations, as may be desired and advantageous to any given or particular application. Moreover, with regard to the terms “comprising,” “owning,” “having,” “having,” or variations thereof as used in the detailed description or claims, such terms are intended to be inclusive in a manner similar to the term “including.”
[0193] Other embodiments of this disclosure will readily occur to those skilled in the art upon consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of this disclosure that follow the general principles of this disclosure and include common knowledge or customary techniques in the art not disclosed herein. The specification and examples are to be considered exemplary only, and the true scope and spirit of this disclosure are indicated by the appended claims.
[0194] It should be understood that this disclosure is not limited to the precise structures described above and shown in the accompanying drawings, and various modifications and changes can be made without departing from its scope. The scope of this disclosure is limited only by the appended claims.
Claims
1. A method for preparing a beverage, characterized in that, Applied to vehicles, the method includes: In response to a user-triggered beverage making event, determine the user's current primary emotion type; Based on the first emotion type, a beverage preparation instruction is sent to the beverage preparation equipment, which instructs the beverage preparation equipment to prepare the target beverage.
2. The method according to claim 1, characterized in that, The following methods are used to determine if a user triggers a beverage preparation event: Obtain the audio information input by the user; If the audio information meets the preset scenario conditions, it is determined that the user has triggered the beverage making event.
3. The method according to claim 2, characterized in that, The preset scenario conditions include: the text similarity between the audio text corresponding to the audio information and the specified text is greater than or equal to a preset similarity threshold.
4. The method according to claim 2, characterized in that, The preset scenario conditions include: the user intent corresponding to the audio information is a specified intent.
5. The method according to claim 1, characterized in that, Determining the user's current first emotion type includes: Obtain the user information input by the user; the user information includes audio information and / or facial image information; Based on the user information, determine the user's current primary emotion type.
6. The method according to claim 5, characterized in that, Determining the user's current first emotion type based on the user information includes: The user information is input into the target recognition model, and the user's current first emotion type is determined based on the emotion type output by the target recognition model.
7. The method according to claim 6, characterized in that, When the user information is audio information, the target recognition model includes an audio recognition model. The step of inputting the user information into the target recognition model and determining the user's current first emotion type based on the emotion type output by the target recognition model includes: The audio information is input into the audio recognition model to obtain the second emotion type output by the audio recognition model; The second emotion type is taken as the user's current first emotion type.
8. The method according to claim 7, characterized in that, The audio recognition model is used to convert input audio information into corresponding audio text. Determine the type similarity between the audio text and multiple preset emotion types; Based on the type similarity, the second emotion type corresponding to the audio information is output.
9. The method according to claim 8, characterized in that, Determining the type similarity between the audio text and multiple preset emotion types includes: Identify the emotion keywords corresponding to the audio text; Based on the emotion keywords, determine the character weight corresponding to each text character in the audio text; Based on the character weights, the type similarity between the audio text and multiple preset emotion types is determined.
10. The method according to claim 6, characterized in that, When the user information is facial image information, the target recognition model includes a facial image recognition model. The step of inputting the user information into the target recognition model and determining the user's current first emotion type based on the emotion type output by the target recognition model includes: The facial image information is input into the facial image recognition model to obtain the third emotion type output by the facial image recognition model; The third emotion type is taken as the user's current first emotion type.
11. The method according to claim 6, characterized in that, When the user information consists of audio information and facial image information, the target recognition model includes an audio recognition model and a facial image recognition model; the step of inputting the user information into the target recognition model and determining the user's current first emotion type based on the emotion type output by the target recognition model includes: The audio information is input into the audio recognition model to obtain the second emotion type output by the audio recognition model; The facial image information is input into the facial image recognition model to obtain the third emotion type output by the facial image recognition model; Based on the second emotion type and the third emotion type, the user's current first emotion type is determined.
12. The method according to claim 5, characterized in that, Determining the user's current first emotion type based on the user information includes: The user information is sent to the cloud server so that the cloud server can analyze the user information and obtain the user's current first emotion type after analysis; Receive the user's current first emotion type sent by the cloud server.
13. The method according to any one of claims 1 to 12, characterized in that, Sending beverage preparation instructions to the beverage preparation device based on the first emotion type includes: Based on the first emotion type, determine the beverage ingredient ratio corresponding to the target beverage; Based on the beverage ingredient ratio, a beverage preparation instruction is generated and sent to the beverage preparation equipment.
14. The method according to claim 13, characterized in that, The step of determining the beverage ingredient ratio corresponding to the target beverage based on the first emotion type includes: Based on the first preset correspondence, determine the beverage ingredient ratio corresponding to the first emotion type from multiple first preset ingredient ratios; The first preset correspondence includes the correspondence between emotion type and first preset material ratio.
15. The method according to claim 13, characterized in that, The method further includes: Obtain environmental information about the user's current environment; The step of determining the beverage ingredient ratio corresponding to the target beverage based on the first emotion type includes: The proportions of beverage ingredients are determined based on the environmental information and the first emotion type.
16. The method according to claim 15, characterized in that, Determining the beverage ingredient ratio based on the environmental information and the first emotion type includes: Based on the second preset correspondence, the beverage ingredient ratio corresponding to the first emotion type and the environmental information is determined from multiple second preset ingredient ratios; The second preset correspondence includes the correspondence between emotion type, environmental information and second preset material ratio.
17. A method for preparing a beverage, characterized in that, Applied to beverage preparation equipment, the method includes: Receive beverage preparation instructions sent by the vehicle; The target beverage is prepared according to the beverage preparation instructions. The beverage preparation instruction is determined by the vehicle in response to a beverage preparation event triggered by the user, based on the user's first emotion type.
18. The method according to claim 17, characterized in that, The process of preparing the target beverage according to the beverage preparation instructions includes: Determine the corresponding beverage ingredient ratios according to the beverage preparation instructions; The target beverage is prepared according to the specified proportions of beverage ingredients.
19. The method according to claim 18, characterized in that, The method further includes: Determine the volume of the target container used to receive the target beverage; Based on the volume of the target container, determine the beverage capacity that the target container can hold; The process of preparing the target beverage according to the beverage ingredient ratio includes: The target beverage is prepared according to the beverage ingredient ratio and the beverage volume.
20. A beverage preparation apparatus, characterized in that, Applied to vehicles, the device includes: The determination module is configured to determine the user's current first emotion type in response to a beverage making event triggered by the user. The control module is configured to send a beverage preparation instruction to the beverage preparation device based on the first emotion type, the beverage preparation instruction being used to instruct the beverage preparation device to prepare the target beverage.
21. A beverage preparation apparatus, characterized in that, Applied to beverage preparation equipment, the device includes: The receiving module is configured to receive beverage preparation instructions sent by the vehicle; The production module is configured to produce the target beverage according to the beverage production instructions; The beverage preparation instruction is determined by the vehicle in response to a beverage preparation event triggered by the user, based on the user's first emotion type.
22. A vehicle, characterized in that, include: First processor; A first memory for storing instructions executable by a first processor; The first processor is configured to implement the steps of the method according to any one of claims 1 to 16 when executing instructions stored in the first memory are invoked.
23. An electronic device, characterized in that, include: Second processor; A second memory used to store instructions executable by a second processor; The second processor is configured to implement the steps of the method according to any one of claims 17 to 19 when executable instructions stored in the second memory are invoked.
24. A beverage preparation device, characterized in that, Includes the electronic device as described in claim 23.
25. A computer-readable storage medium having a computer program stored thereon, characterized in that, When executed by a processor, the computer program implements the steps of the method according to any one of claims 1 to 16, or implements the steps of the method according to any one of claims 17 to 19.
26. A computer program product, characterized in that, Includes a computer program that, when executed by a processor, implements the steps of the method according to any one of claims 1 to 16, or implements the steps of the method according to any one of claims 17 to 19.
