Interactive voice assistant animation generation method, system and device and medium
Interactive animations are generated through speech recognition, situational awareness and emotion recognition technologies, which solves the problem of voice assistants in smart cockpits being unable to provide intuitive feedback, and improves user interaction experience and system usability.
Patent Information
- Application Number
- CN202410787484.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-18
- Publication Date
- 2024-09-03
AI Technical Summary
The voice assistant in the existing smart cockpit responds to the user's instructions through voice, but cannot provide intuitive interactive feedback, resulting in a low human-computer interaction experience for the user and unable to meet the user's interaction needs.
By acquiring voice command data and in-vehicle environment data, the voice recognition model is used for intent recognition, the large language model is combined for situation awareness, and the emotion recognition model is used to generate interactive animations to achieve intelligent response and action performance of the voice assistant.
It improves the human-computer interaction experience, meets user interaction needs, increases the usability and user satisfaction of the interactive system, provides more intelligent and personalized services, and enhances driving comfort and satisfaction.
Smart Images

Figure CN118587336A
Abstract
Description
Technical Field
[0001] The present application relates to the field of vehicle-mounted terminal technology, and in particular to a method, system, device and medium for generating an interactive voice assistant animation. Background Art
[0002] In the process of automobile intelligence development, the two modules of user interaction and entertainment information are integrated based on the human-computer interaction scene in the car cockpit, providing users with an efficient, intuitive, and futuristic driving experience. In the related technology, most voice assistants in smart cockpits will directly respond to commands through voice, which cannot achieve the intention of improving user experience and is difficult to meet the user's interaction needs. In summary, the technical problems existing in the related technology need to be improved. Summary of the invention
[0003] The main purpose of the embodiments of the present application is to propose an interactive voice assistant animation generation method, system, device and medium, which can generate interactive animation of a voice assistant and enhance the human-computer interaction experience.
[0004] To achieve the above object, an embodiment of the present application provides a method for generating an interactive voice assistant animation, the method comprising the following steps:
[0005] Acquire voice command data and in-vehicle environment data;
[0006] Performing intent recognition processing on the voice command data through a voice recognition model to obtain an intent recognition result;
[0007] Performing situational awareness processing by combining the intention recognition result and the in-vehicle environment data through a large language model to obtain a situational awareness result;
[0008] Performing emotion recognition processing on the voice command data through an emotion recognition model to obtain an emotion recognition result;
[0009] The voice assistant is subjected to situational interaction processing according to the situational perception result and the emotion recognition result to generate an interactive animation.
[0010] In some embodiments, performing intent recognition processing on the voice command data through a voice recognition model to obtain an intent recognition result includes the following steps:
[0011] Inputting the voice command data into the voice recognition model, wherein the voice recognition model includes a text conversion module, a named entity recognition module, and an intent recognition module;
[0012] Performing text sequence mapping processing on the voice instruction data by the text conversion module to obtain a converted text;
[0013] Recognize and classify entities in the converted text using a named entity recognition module to obtain recognized entities;
[0014] The intention recognition module performs multi-label classification prediction processing on the recognized entity and outputs the intention recognition result.
[0015] In some embodiments, the step of performing context awareness processing by combining the intention recognition result and the in-vehicle environment data with a large language model to obtain a context awareness result includes the following steps:
[0016] Performing multiple rounds of task conversation processing on the large language model according to the intention recognition result to obtain a conversation result;
[0017] Performing situation classification processing on the in-vehicle environment data according to the conversation result to obtain a classification situation;
[0018] The classified contexts are matched according to the intention recognition results to obtain context perception results.
[0019] In some embodiments, performing emotion recognition processing on the voice command data by using an emotion recognition model to obtain an emotion recognition result includes the following steps:
[0020] Performing feature extraction processing on the voice command data to obtain acoustic features and semantic features;
[0021] Fusing the acoustic feature and the semantic feature to obtain a fused feature;
[0022] The fusion feature is input into the emotion recognition model, and the emotion recognition result is output.
[0023] In some embodiments, performing context interaction processing on the voice assistant according to the context perception result and the emotion recognition result to generate an interactive animation includes the following steps:
[0024] Determine an interaction scene and an interaction object according to the situation perception result;
[0025] Performing virtual image generation processing on the voice assistant according to the emotion recognition result to obtain a voice assistant image;
[0026] The voice assistant image and the interactive object are interactively processed according to the interactive scenario to generate an interactive animation.
[0027] In some embodiments, performing a virtual image generation process on the voice assistant according to the emotion recognition result to obtain a voice assistant image includes the following steps:
[0028] Performing three-dimensional modeling and texture mapping processing on the voice assistant to obtain a three-dimensional model;
[0029] According to the emotion recognition result, key frame animation generation processing is performed on the expression of the three-dimensional model to obtain a voice assistant image.
[0030] In some embodiments, the interactive processing of the voice assistant image and the interactive object according to the interactive scenario to generate an interactive animation includes the following steps:
[0031] Generate interactive voice data and interactive action data according to the interactive scenario;
[0032] Adjusting the mouth animation parameters of the voice assistant image according to the interactive voice data to obtain a dynamic image;
[0033] The dynamic image and the interactive object are subjected to action interaction processing according to the interactive action data to generate an interactive animation.
[0034] To achieve the above object, another aspect of the embodiment of the present application provides an interactive voice assistant animation generation system, the system comprising:
[0035] The first module is used to obtain voice command data and in-vehicle environment data;
[0036] The second module is used to perform intention recognition processing on the voice command data through a voice recognition model to obtain an intention recognition result;
[0037] The third module is used to perform situational awareness processing by combining the intention recognition result and the in-vehicle environment data through a large language model to obtain a situational awareness result;
[0038] The fourth module is used to perform emotion recognition processing on the voice command data through an emotion recognition model to obtain an emotion recognition result;
[0039] The fifth module is used to perform situational interaction processing on the voice assistant according to the situational perception results and the emotion recognition results to generate an interactive animation.
[0040] To achieve the above-mentioned purpose, another aspect of an embodiment of the present application provides an electronic device, the electronic device comprising a memory and a processor, the memory storing a computer program, and the processor implementing the above-mentioned method when executing the computer program.
[0041] To achieve the above objective, another aspect of an embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method described above is implemented.
[0042] To achieve the above-mentioned purpose, another aspect of an embodiment of the present application proposes a smart cockpit, including a storage unit, a control unit and an on-board display screen, wherein a computer program is stored in the storage unit, and when the computer program is executed by the control unit, the method described above is implemented and displayed on the on-board display screen.
[0043] To achieve the above objectives, another aspect of an embodiment of the present application proposes a vehicle, including an on-board memory and an on-board processor, wherein a computer program is stored in the on-board memory, and the on-board processor is configured to run the computer program to execute the method described above.
[0044] The embodiments of the present application include at least the following beneficial effects: The present application provides a method, system, device and medium for generating an interactive voice assistant animation. The scheme obtains voice command data and in-vehicle environment data; performs intent recognition processing on the voice command data through a voice recognition model to obtain an intent recognition result; performs contextual perception processing on the large language model in combination with the intention recognition result and the in-vehicle environment data to obtain a contextual perception result, and can intelligently analyze the voice command data and the in-vehicle context, so as to perform intelligent response through the voice assistant to better meet the user's interaction needs; in addition, the scheme performs emotion recognition processing on the voice command data through an emotion recognition model to obtain an emotion recognition result; performs contextual interaction processing on the voice assistant according to the contextual perception result and the emotion recognition result to generate an interactive animation, and can generate an interactive animation consistent with the voice command data and the in-vehicle context, thereby improving the usability and user satisfaction of the interactive system. BRIEF DESCRIPTION OF THE DRAWINGS
[0045] Figure 1 It is a flowchart of an interactive voice assistant animation generation method provided in an embodiment of the present application;
[0046] Figure 2 yes Figure 1 An implementation flow chart of step S102;
[0047] Figure 3 yes Figure 1 An implementation flow chart of step S103;
[0048] Figure 4 yes Figure 1 An implementation flow chart of step S104;
[0049] Figure 5 yes Figure 1 An implementation flow chart of step S105;
[0050] Figure 6 yes Figure 5 An implementation flow chart of step S502;
[0051] Figure 7 yes Figure 5 An implementation flow chart of step S503;
[0052] Figure 8 It is a structural schematic diagram of an interactive voice assistant animation generation system provided in an embodiment of the present application;
[0053] Fig. 9 It is a schematic diagram of the hardware structure of an electronic device provided in an embodiment of the present application;
[0054] Fig.10 It is a structural schematic diagram of a computer-readable storage medium provided in an embodiment of the present application. DETAILED DESCRIPTION
[0055] In order to make the purpose, technical solutions and advantages of the present application clearer, the present application is further described in detail below in conjunction with the accompanying drawings and examples. It should be understood that the specific embodiments described herein are only used to explain the present application and are not intended to limit the present application. When the following description refers to the drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the embodiments of the present application. They are only examples of devices and methods consistent with some aspects of the embodiments of the present application as detailed in the attached claims.
[0056] It is understood that the terms "first", "second", etc. used in this application can be used to describe various concepts in this article, but unless otherwise specified, these concepts are not limited by these terms. These terms are only used to distinguish one concept from another concept. For example, without departing from the scope of the embodiment of the present application, the first information may also be referred to as the second information, and similarly, the second information may also be referred to as the first information. Depending on the context, the words "if" and "if" as used herein can be interpreted as "at the time of" or "when" or "in response to determination".
[0057] The terms "at least one", "multiple", "each", "any", etc. used in this application, at least one includes one, two or more, multiple includes two or more, each refers to each of the corresponding multiple, and any refers to any one of the multiple.
[0058] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art to which this application belongs. The terms used herein are only for the purpose of describing the embodiments of this application and are not intended to limit this application.
[0059] Before describing the embodiments of the present application in detail, some nouns and terms involved in the embodiments of the present application are first described. The nouns and terms involved in the embodiments of the present application are subject to the following explanations.
[0060] The vehicle terminal (Transmission Control Unit, TCU) is the front-end equipment of the vehicle monitoring and management system, and can also be called the vehicle dispatch monitoring terminal. It has powerful business dispatch functions and data processing capabilities by integrating multiple functions such as positioning, communication, and vehicle driving recorder.
[0061] A smart cockpit is a vehicle-mounted product equipped with intelligence and networking, which can interact intelligently with people, roads, and the vehicle itself. It is an important link and key node in the evolution of the relationship between people and vehicles from tools to partners. As the level of autonomous driving improves, drivers will have more time and options to do various tasks besides driving, which opens up new ways for interaction.
[0062] A smart car is a comprehensive system that integrates environmental perception, planning and decision-making, multi-level assisted driving and other functions. It concentrates on the use of computers, modern sensors, information fusion, communications, artificial intelligence and automatic control technologies. It can exchange information with people, vehicles, roads, etc. through the on-board environmental perception system and information terminals, so that the vehicle has intelligent environmental perception capabilities and can automatically analyze the safety and dangerous status of vehicle driving.
[0063] In the related art, the voice assistant of the smart cockpit directly replies to the user's voice data through voice, and the user cannot intuitively see the interactive feedback, which leads to a low user experience of human-computer interaction and cannot meet the different preferences and interactive needs of users. For example, the user enters the smart vehicle to wake up the smart voice assistant and sends voice data to the voice assistant: "Please turn on the air conditioning system". After receiving the voice data, the voice assistant turns on the air conditioning system and then replies through voice: "The air conditioning system is turned on", but the user can only hear the voice reply of the voice assistant and cannot intuitively see the interactive feedback.
[0064] In view of this, an interactive voice assistant animation generation method, system, device and medium are provided in the embodiment of the present application. The scheme obtains voice command data and in-vehicle environment data; performs intent recognition processing on the voice command data through a voice recognition model to obtain intent recognition results; performs context perception processing in combination with the intent recognition results and in-vehicle environment data through a large language model to obtain context perception results, and can intelligently analyze the voice command data and the in-vehicle context, so as to make intelligent responses through the voice assistant to better meet the user's interaction needs; in addition, the scheme performs emotion recognition processing on the voice command data through an emotion recognition model to obtain emotion recognition results; performs context interaction processing on the voice assistant according to the context perception results and the emotion recognition results to generate interactive animations, and can generate interactive animations that are consistent with the voice command data and the in-vehicle context, thereby improving the usability and user satisfaction of the interactive system. The scheme can generate interactive animations through intelligent action performance based on the user's voice command and context through the voice assistant, which enhances the interactive experience between the user and the vehicle, allowing the user to experience more intelligent and humanized services, and improves driving comfort and satisfaction.
[0065] An interactive voice assistant animation generation method provided in an embodiment of the present application relates to the field of vehicle-mounted terminal technology. The interactive voice assistant animation generation method provided in an embodiment of the present application can be applied to a vehicle-mounted terminal, can be applied to a server, and can also be software running in a vehicle-mounted terminal or a server. The server side can be configured as an independent physical server, or as a server cluster or distributed system consisting of multiple physical servers. It can also be configured as a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, CDN, and big data and artificial intelligence platforms. The server can also be a node server in a blockchain network; the software can be an application that implements an interactive voice assistant animation generation method, etc., but is not limited to the above forms.
[0066] Among them, the vehicle terminal may include a vehicle display screen, which includes a central control navigation entertainment screen, a liquid crystal instrument, a HUD, a streaming media rearview mirror, a rear entertainment screen, and a co-pilot entertainment screen, wherein the head-up display (HUD) includes a windshield head-up display (Windshield-HUD, W-HUD) and an augmented reality head-up display (Augmented RealityHUD, AR-HUD). Exemplarily, the generated interactive voice assistant animation is displayed through the desktop of the vehicle display screen, and then the user can view the interactive animation for human-computer interaction, and the interactive animation can meet the user's visual experience, and can enable the intelligent car system to better understand and respond to the driver's emotional needs through emotionally driven intelligent interactive services, provide a more intelligent and personalized user experience, and increase user satisfaction and loyalty.
[0067] It should be noted that in each specific implementation of the present application, when it comes to the need to perform relevant processing based on data related to user identity or characteristics such as user information, user behavior data, user historical data, and user location information, the user's permission or consent will be obtained first, and the collection, use, and processing of these data will comply with relevant laws, regulations, and standards. In addition, when the embodiment of the present application needs to obtain the user's sensitive personal information, the user's separate permission or consent will be obtained through a pop-up window or by jumping to a confirmation page. After clearly obtaining the user's separate permission or consent, the necessary user-related data for the normal operation of the embodiment of the present application will be obtained.
[0068] Figure 1 is an optional flowchart of an interactive voice assistant animation generation method provided in an embodiment of the present application. Figure 1 The method may include but is not limited to steps S101 to S105.
[0069] Step S101, acquiring voice command data and in-vehicle environment data;
[0070] Step S102, performing intent recognition processing on the voice command data through a voice recognition model to obtain an intent recognition result;
[0071] Step S103, performing context awareness processing by combining the intention recognition result and the in-vehicle environment data with a large language model to obtain a context awareness result;
[0072] Step S104, performing emotion recognition processing on the voice command data through an emotion recognition model to obtain an emotion recognition result;
[0073] Step S105, performing situational interaction processing on the voice assistant according to the situational perception result and the emotion recognition result to generate an interactive animation.
[0074] Steps S101 to S105 shown in the embodiment of the present application, by acquiring voice command data and in-vehicle environment data, the intelligent voice assistant can perform emotional perception and intelligent response to the voice command data and in-vehicle environment data to generate corresponding interactive animations, and can understand the user's voice command and emotional state through voice recognition and emotion recognition technology, and make corresponding action performances to generate personalized interactive animations to meet the user's human-computer interaction experience. Among them, the voice command data is the voice data received by the intelligent assistant, which can be obtained through sensors such as microphones; the in-vehicle environment data is obtained through sensors installed inside the vehicle, such as temperature sensors, humidity sensors, etc., and the temperature inside the vehicle can be obtained in real time through temperature sensors. The embodiment of the present application performs intent recognition processing on the voice command data through a voice recognition model to obtain an intent recognition result. The voice recognition model is an end-to-end voice recognition model based on deep learning, and the intent recognition result is the user's intention. The embodiment of the present application can convert the user's voice command data into text through a voice recognition model to perform intent recognition, so that the voice assistant can understand the user's intention and provide corresponding answers, suggestions or execute tasks. Then, a large language model is used to combine the intention recognition results and the in-car environment data to perform situational awareness processing to obtain situational awareness results. The large language model can generate natural language text, deeply understand the meaning of the text, and handle various natural language tasks. The large language model can be applied to intelligent voice assistants, which can enable the voice assistants to understand user commands more naturally and respond to users with realistic voices, thereby improving the user experience. The situational awareness result is the situation of the current user in the current car, such as the user feels that the temperature in the car is high while the vehicle is driving. Next, the embodiment of the present application performs emotion recognition processing on the voice command data through an emotion recognition model. For example, the emotion recognition model is used to analyze the emotional information in the user's voice command data to determine whether the user feels hot or uncomfortable, so that the emotion recognition result can be: feeling irritable and restless due to the heat. Finally, the embodiment of the present application performs situational interaction processing on the voice assistant according to the situational perception results and emotion recognition results, and enables the voice assistant to respond to the user's voice commands and situations in a timely manner through real-time response interaction, and generates corresponding voice assistant interaction animations, for example: the virtual image of the voice assistant is sweating, wiping sweat, etc., and generates vivid or humorous interactive animations to relieve the user's irritability caused by the heat. The embodiment of the present application uses a situation-aware and emotion-aware intelligent voice assistant to enable the intelligent car system to better understand and respond to the driver's emotional needs, thereby generating interactive animations, which can provide users with a more intelligent and personalized use experience, and increase user satisfaction and loyalty.
[0075] See also Figure 2 In step S102 of some embodiments, performing intention recognition processing on the voice instruction data by using a voice recognition model to obtain an intention recognition result includes the following steps:
[0076] Step S201, inputting the voice instruction data into the voice recognition model, wherein the voice recognition model includes a text conversion module, a named entity recognition module and an intention recognition module;
[0077] Step S202, performing text sequence mapping processing on the voice instruction data through the text conversion module to obtain a converted text;
[0078] Step S203, identifying and classifying entities in the converted text by a named entity recognition module to obtain recognized entities;
[0079] Step S204: Perform multi-label classification prediction processing on the identified entity through the intention recognition module, and output an intention recognition result.
[0080] In an embodiment of the present application, the speech recognition model includes a text conversion module, a named entity recognition module and an intention recognition module. By inputting the speech instruction data into the speech recognition model, the corresponding speech data processing is performed according to each module in the speech recognition model, and the user's intention recognition result is output. The embodiment of the present application performs text sequence mapping processing on the speech instruction data through the text conversion module, specifically by extracting speech features from the speech instruction data, comparing and matching the extracted speech signal features according to the pre-stored speech template, and mapping to the corresponding sequence according to the matching results, thereby converting the vocabulary content in the speech instruction data into a computer-readable input to obtain a converted text. Then the embodiment of the present application recognizes and classifies the entities in the converted text through the named entity recognition module, divides the continuous text into meaningful words or phrases, and annotates the part of speech for each word or phrase, and automatically learns the feature representation in the text through a deep learning model (such as a convolutional neural network, a recurrent neural network, a Transformer, etc.), and identifies the named entities therein. Finally, the intent recognition module performs multi-label classification prediction processing on the recognized entity, wherein the intent recognition module is a multi-label classification model trained using training data with multiple intent labels, which can be constructed by logistic regression, decision tree, support vector machine (SVM), random forest, neural network, etc., and the intent label of the recognized entity and its corresponding probability or confidence are predicted, and the intent recognition result is output. The embodiment of the present application can accurately understand the user's request and intention through the speech recognition model, thereby improving the efficiency of human-computer interaction.
[0081] See also Figure 3In step S103 of some embodiments, the context perception processing is performed by combining the intention recognition result and the in-vehicle environment data with the large language model to obtain the context perception result, including the following steps:
[0082] Step S301, performing multiple rounds of task conversation processing on the large language model according to the intention recognition result to obtain a conversation result;
[0083] Step S302, performing context classification processing on the in-vehicle environment data according to the conversation result to obtain a classification context;
[0084] Step S303: performing matching processing on the classified context according to the intention recognition result to obtain a context perception result.
[0085] In the embodiment of the present application, the intention recognition result obtained by recognizing a single voice command data may not be sufficient to clarify the user's request and intention. For example, the user's voice command data is "turn on the air conditioning system", but it does not clearly control the temperature and wind speed of the air conditioning system. Therefore, it is necessary to conduct multiple rounds of task conversations through a large language model to obtain conversation results, and conduct multiple rounds of conversations with the user through the voice assistant to ask the user about the appropriate temperature adjustment, etc., so as to conduct deeper inquiries based on the intention recognition results obtained, and better understand the user's needs. Then, the in-car environmental data is context-classified according to the conversation results. According to the conversation results, the user's situation in the car can be clarified. For example, when the user enters the vehicle and feels that the temperature is hot, the in-car environmental data is classified and the sensor data about the temperature is obtained to obtain the classification situation. For example, a specific classification situation is: when the user enters the vehicle and feels that the temperature is high, the temperature in the car is 28 degrees. Finally, the intent recognition result obtained by identification is matched with the classified context to determine whether the user's request matches the current in-car context, thereby obtaining a context perception result. For example, a context perception result is: the user feels that the temperature is high when entering the vehicle, and the temperature in the vehicle is 28 degrees at this time, and it is determined that the user wants to adjust the air conditioning cooling function. The embodiment of the present application uses a large language model to combine the intent recognition result and the in-car environment data for context perception processing, which can perceive the in-car context in real time and clarify user needs, so that the semantic assistant can make intelligent responses and action performances, improving the user experience.
[0086] See also Figure 4 In step S104 of some embodiments, the emotion recognition processing of the voice instruction data by the emotion recognition model to obtain the emotion recognition result includes the following steps:
[0087] Step S401, performing feature extraction processing on the voice command data to obtain acoustic features and semantic features;
[0088] Step S402, fusing the acoustic feature and the semantic feature to obtain a fused feature;
[0089] Step S403: input the fusion feature into the emotion recognition model, and output the emotion recognition result.
[0090] In the embodiment of the present application, the acoustic features and semantic features are obtained by extracting features from the voice command data through a convolutional network, etc., wherein the acoustic features include rhythmic features, spectral features, sound quality features, etc., which can express the emotional information of the voice; the semantic features include word vectors, sentence vectors, etc., and these feature representations can capture the semantic similarity and correlation between words or sentences. The fusion features are obtained by fusing the acoustic features and semantic features, the extracted acoustic features and semantic features are normalized, the normalized acoustic features and semantic features are spliced to form a combined feature vector containing two kinds of feature information, and finally the fusion features are input into the emotion recognition model for regression prediction, and the emotion recognition results are output. Among them, the fusion features are used to automatically extract emotion association rules, and the emotion recognition model can use a linear regression model or a deep neural network such as LSTM, RNN, etc. The embodiment of the present application performs emotion recognition processing on the voice command data through the emotion recognition model, which can more accurately understand the user's emotional state, so that the intelligent car system can better understand and respond to the driver's emotional needs, and provide a more intelligent and personalized user experience.
[0091] See also Figure 5 In step S105 of some embodiments, performing context interaction processing on the voice assistant according to the context perception result and the emotion recognition result to generate an interactive animation includes the following steps:
[0092] Step S501, determining an interaction scene and an interaction object according to the context perception result;
[0093] Step S502, performing virtual image generation processing on the voice assistant according to the emotion recognition result to obtain a voice assistant image;
[0094] Step S503: performing interaction processing on the voice assistant image and the interaction object according to the interaction scenario to generate an interaction animation.
[0095] In an embodiment of the present application, the perception of the in-vehicle situation is achieved by combining voice recognition and situational awareness, so that the interaction scene and the interaction object can be determined according to the situational awareness result, wherein the interaction scene is the scene in which the virtual image of the voice assistant performs the corresponding action, and the interaction object is the object on which the virtual image of the voice assistant performs the corresponding operation. For example, a situational awareness result is: when the user enters the interior of the vehicle, the temperature is high. At this time, the temperature in the car is 28 degrees, and it is determined that the user wants to adjust the air conditioning refrigeration function. At this time, the interaction scene is the virtual image adjusting the air conditioning refrigeration function, and the interaction object is the air conditioning system. Then, according to the emotion recognition result obtained by the emotion analysis, the virtual image of the voice assistant is generated and processed, and different virtual images can be selected by the user independently, and corresponding expressions are generated for the voice assistant according to the emotion recognition result, so as to obtain the voice assistant image. Finally, the voice assistant image and the interaction object are interactively processed according to the interaction scene, and the interactive animation of the voice assistant image is generated, and the real-time display of the animation is realized to present the interactive animation of the voice assistant on the vehicle display screen. The embodiment of the present application generates interactive animations through interactive design, so that users can see the actions of the voice assistant and interact with it, thereby improving the user experience.
[0096] See also Figure 6 In step S502 of some embodiments, the step of generating a virtual image of the voice assistant according to the emotion recognition result to obtain a voice assistant image includes the following steps:
[0097] Step S601, performing three-dimensional modeling and texture mapping processing on the voice assistant to obtain a three-dimensional model;
[0098] Step S602, performing key frame animation generation processing on the expression of the three-dimensional model according to the emotion recognition result to obtain a voice assistant image.
[0099] In an embodiment of the present application, 3D modeling software such as Blender, Maya, 3ds Max, etc. can be used to create a three-dimensional model of the voice assistant, and corresponding maps such as texture, color, glossiness, etc. can be added to the three-dimensional model. The maps are correctly applied to the model using mapping technology to construct a three-dimensional model. Then, the expression of the three-dimensional model is processed by keyframe animation generation according to the emotion recognition results. The keyframe animation can be used to create the expression and action of the voice assistant, and detailed animation effects can be added to the lips, eyes and other important parts of the voice assistant, so that it can realistically simulate the expression when speaking, and the expression of the virtual image of the semantic assistant corresponds to the recognized user emotion, so as to obtain a vivid image of the voice assistant. By generating a corresponding voice assistant image in combination with the emotion recognition results, the embodiment of the present application can improve the user's interactive experience and increase the user's satisfaction and loyalty.
[0100] See also Figure 7 In step S503 of some embodiments, the interactive processing of the voice assistant image and the interactive object according to the interactive scene to generate an interactive animation includes the following steps:
[0101] Step S701, generating interactive voice data and interactive action data according to the interactive scenario;
[0102] Step S702, adjusting the mouth animation parameters of the voice assistant image according to the interactive voice data to obtain a dynamic image;
[0103] Step S703, performing action interaction processing on the dynamic image and the interactive object according to the interactive action data to generate an interactive animation.
[0104] In an embodiment of the present application, interactive voice data and interactive action data can be generated through an interactive scene, wherein the interactive voice data is the response voice data returned by the voice assistant in response to the voice command data, and the interactive action data is the action performance of the virtual image of the semantic assistant for interaction. The mouth animation parameters of the voice assistant image can be adjusted through the interactive voice data, and the dynamic image is obtained by binding the voice data with the animation to achieve synchronization of voice and expression. The dynamic image and the interactive object are processed by action interaction through the interactive action data to generate an interactive animation. In a feasible embodiment, when the user feels irritated because of the high temperature in the car, the interactive animation can be a voice assistant image with an embarrassed expression, wiping sweat while turning on the air conditioning system, and voice broadcasting the corresponding response voice data. The interactive animation can relieve the user's emotions through humorous expressions, and enable the user to see the action of the voice assistant through the interactive animation, and interact with it, thereby improving the user experience. It can be imagined that the embodiment of the present application will also consider the impact of the voice assistant action on the driver, and design the corresponding action performance method to ensure that it will not distract the driver's attention or affect driving safety. The embodiment of the present application generates interactive animations by adopting human-computer interaction design principles, ensuring that the actions of the voice assistant are consistent with the user's voice commands and the situation in the car, thereby improving the system's usability and user satisfaction.
[0105] The following is a detailed description of the embodiments of the present invention with reference to specific application examples:
[0106] The embodiments of the present application can be applied to the field of vehicle terminal technology, especially to smart cars equipped with smart central control or display screens, and obtain voice command data and vehicle environment data through in-vehicle sensors, and then perform intent recognition and context perception on the voice command data, perform named entity recognition and intent recognition on the voice command data through a voice recognition model, understand the user's request and intention, and thus combine the user's voice command with the in-vehicle environment data to determine whether the user's request matches the current in-vehicle context, and identify the emotion in the voice command data in combination with the emotion recognition model, generate an interactive animation of the voice assistant image according to the emotion analysis results and context perception, and realize real-time display of the animation to present the action of the voice assistant on the in-vehicle display screen. For example, during the driving of the vehicle, the user issues a corresponding voice command to adjust the temperature of the air-conditioning system through voice, and the voice assistant receives semantic commands to perform context perception and emotion analysis, understands the user's voice command and emotional state, and generates a corresponding interactive animation for intelligent response, which can relieve the user's emotions through humorous expressions, and visualize the interactive actions of the virtual image, so that the user can feel more intelligent and humanized services, and improve the driving comfort and satisfaction. The embodiments of the present application can perceive the user's emotions and the situation in the car, so as to make intelligent responses and action performances through the voice assistant, so that the smart car system can better understand and respond to the driver's emotional needs, provide a smarter and more personalized user experience, and increase user satisfaction and loyalty.
[0107] See also Figure 8 The embodiment of the present application also provides an interactive voice assistant animation generation system, which can implement the above-mentioned interactive voice assistant animation generation method, and the system includes:
[0108] The first module 801 is used to obtain voice command data and in-vehicle environment data;
[0109] The second module 802 is used to perform intention recognition processing on the voice command data through a voice recognition model to obtain an intention recognition result;
[0110] The third module 803 is used to perform context perception processing by combining the intention recognition result and the in-vehicle environment data through a large language model to obtain a context perception result;
[0111] The fourth module 804 is used to perform emotion recognition processing on the voice command data through an emotion recognition model to obtain an emotion recognition result;
[0112] The fifth module 805 is used to perform situational interaction processing on the voice assistant according to the situational perception result and the emotion recognition result to generate an interactive animation.
[0113] It can be understood that the contents of the above method embodiments are all applicable to the present system embodiments, the functions specifically implemented by the present system embodiments are the same as those of the above method embodiments, and the beneficial effects achieved are also the same as those achieved by the above method embodiments.
[0114] The embodiment of the present application also provides an electronic device, the electronic device includes a memory and a processor, the memory stores a computer program, and the processor implements the above-mentioned interactive voice assistant animation generation method when executing the computer program. The electronic device can be any intelligent terminal including a tablet computer, a car computer, etc.
[0115] It can be understood that the contents of the above method embodiments are all applicable to the present device embodiments, the functions specifically implemented by the present device embodiments are the same as those of the above method embodiments, and the beneficial effects achieved are also the same as those achieved by the above method embodiments.
[0116] See also Fig. 9 , Fig. 9 The hardware structure of an electronic device of another embodiment is illustrated, and the electronic device includes:
[0117] The processor 901 may be implemented by a general-purpose CPU (Central Processing Unit), a microprocessor, an application-specific integrated circuit (Application Specific Integrated Circuit, ASIC), or one or more integrated circuits, and is used to execute relevant programs to implement the technical solutions provided in the embodiments of the present application;
[0118] The memory 902 can be implemented in the form of a read-only memory (ROM), a static storage device, a dynamic storage device, or a random access memory (RAM). The memory 902 can store an operating system and other applications. When the technical solution provided in the embodiment of this specification is implemented by software or firmware, the relevant program code is stored in the memory 902, and the processor 901 calls and executes the interactive voice assistant animation generation method of the embodiment of this application;
[0119] Input / output interface 903, used to implement information input and output;
[0120] Communication interface 904, used to realize communication interaction between the device and other devices, which can be realized by wired mode (such as USB, network cable, etc.) or wireless mode (such as mobile network, WIFI, Bluetooth, etc.);
[0121] A bus 905 that transmits information between the various components of the device (e.g., the processor 901, the memory 902, the input / output interface 903, and the communication interface 904);
[0122] The processor 901 , the memory 902 , the input / output interface 903 and the communication interface 904 are connected to each other in communication within the device via a bus 905 .
[0123] See also Fig.10 The embodiment of the present application also provides a computer-readable storage medium 1001, which stores a computer program 1002. When the computer program 1002 is executed by a computer processor 1003, the above-mentioned interactive voice assistant animation generation method is implemented.
[0124] It can be understood that the contents of the above method embodiments are all applicable to the present storage medium embodiments, the functions specifically implemented by the present storage medium embodiments are the same as those of the above method embodiments, and the beneficial effects achieved are also the same as those achieved by the above method embodiments.
[0125] The memory, as a non-transient computer-readable storage medium, can be used to store non-transient software programs and non-transient computer executable programs. In addition, the memory may include a high-speed random access memory, and may also include a non-transient memory, such as at least one disk storage device, a flash memory device, or other non-transient solid-state storage device. In some embodiments, the memory may optionally include a memory remotely disposed relative to the processor, and these remote memories may be connected to the processor via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0126] An embodiment of the present application further provides a vehicle, including an on-board memory and an on-board processor, wherein a computer program is stored in the on-board memory, and the on-board processor is configured to run the computer program to execute the method described above.
[0127] It can be understood that the contents of the above method embodiments are all applicable to the present vehicle embodiment, the functions specifically implemented by the present vehicle embodiment are the same as those of the above method embodiments, and the beneficial effects achieved are also the same as those achieved by the above method embodiments.
[0128] The embodiments of the present application provide an interactive voice assistant animation generation method, system, device and medium. The scheme obtains voice command data and in-vehicle environment data; performs intent recognition processing on the voice command data through a voice recognition model to obtain an intent recognition result; performs contextual perception processing in combination with the intention recognition result and the in-vehicle environment data through a large language model to obtain a contextual perception result, and can intelligently analyze the voice command data and the in-vehicle context, so as to perform intelligent response through the voice assistant to better meet the user's interaction needs; in addition, the scheme performs emotion recognition processing on the voice command data through an emotion recognition model to obtain an emotion recognition result; performs contextual interaction processing on the voice assistant according to the contextual perception result and the emotion recognition result to generate an interactive animation, and can generate an interactive animation consistent with the voice command data and the in-vehicle context, thereby improving the usability and user satisfaction of the interactive system.
[0129] The embodiments described in the embodiments of the present application are intended to more clearly illustrate the technical solutions of the embodiments of the present application and do not constitute a limitation on the technical solutions provided in the embodiments of the present application. Those skilled in the art will appreciate that with the evolution of technology and the emergence of new application scenarios, the technical solutions provided in the embodiments of the present application are also applicable to similar technical problems.
[0130] Those skilled in the art will appreciate that the technical solutions shown in the figures do not constitute a limitation on the embodiments of the present application, and may include more or fewer steps than shown in the figures, or a combination of certain steps, or different steps.
[0131] The device embodiments described above are merely illustrative, and the units described as separate components may or may not be physically separated, that is, they may be located in one place or distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0132] Those skilled in the art will appreciate that all or some of the steps in the methods disclosed above, and the functional modules / units in the systems and devices may be implemented as software, firmware, hardware, or a suitable combination thereof.
[0133] The terms "first", "second", "third", "fourth", etc. (if any) in the specification of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0134] It should be understood that in the present application, "at least one (item)" means one or more, and "plurality" means two or more. "And / or" is used to describe the association relationship of associated objects, indicating that three relationships may exist. For example, "A and / or B" can mean: only A exists, only B exists, and A and B exist at the same time, where A and B can be singular or plural. The character " / " generally indicates that the objects associated before and after are in an "or" relationship. "At least one of the following" or similar expressions refers to any combination of these items, including any combination of single or plural items. For example, at least one of a, b or c can mean: a, b, c, "a and b", "a and c", "b and c", or "a and b and c", where a, b, c can be single or multiple.
[0135] In the several embodiments provided in the present application, it should be understood that the disclosed 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 above 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.
[0136] The units described above 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.
[0137] In addition, each functional unit in each embodiment of the present application 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. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0138] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including multiple instructions to enable a computer device (which can be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods of various embodiments of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (Read-Only Memory, referred to as ROM), random access memory (Random Access Memory, referred to as RAM), disk or optical disk and other media that can store programs.
[0139] The preferred embodiments of the present invention are described above with reference to the accompanying drawings, but the scope of the rights of the present invention is not limited thereto. Any modification, equivalent substitution and improvement made by a person skilled in the art without departing from the scope and essence of the present invention should be within the scope of the rights of the present invention.
Claims
1. A method for generating interactive voice assistant animation, It is characterized in that The method comprises the following steps: Acquire voice command data and in-vehicle environment data; Performing intent recognition processing on the voice command data through a voice recognition model to obtain an intent recognition result; Performing situational awareness processing by combining the intention recognition result and the in-vehicle environment data through a large language model to obtain a situational awareness result; Performing emotion recognition processing on the voice command data through an emotion recognition model to obtain an emotion recognition result; The voice assistant is subjected to situational interaction processing according to the situational perception result and the emotion recognition result to generate an interactive animation.
2. The method according to claim 1, It is characterized in that The method of performing intention recognition processing on the voice instruction data through a voice recognition model to obtain an intention recognition result includes the following steps: Inputting the voice command data into the voice recognition model, wherein the voice recognition model includes a text conversion module, a named entity recognition module, and an intent recognition module; Performing text sequence mapping processing on the voice instruction data by the text conversion module to obtain a converted text; Recognize and classify entities in the converted text using a named entity recognition module to obtain recognized entities; The intention recognition module performs multi-label classification prediction processing on the recognized entity and outputs the intention recognition result.
3. The method according to claim 1, It is characterized in that The step of performing context awareness processing by combining the intention recognition result and the in-vehicle environment data with the large language model to obtain the context awareness result includes the following steps: Performing multiple rounds of task conversation processing on the large language model according to the intention recognition result to obtain a conversation result; Performing situation classification processing on the in-vehicle environment data according to the conversation result to obtain a classification situation; The classified contexts are matched according to the intention recognition results to obtain context perception results.
4. The method according to claim 1, It is characterized in that The emotion recognition processing is performed on the voice command data by using an emotion recognition model to obtain an emotion recognition result, including the following steps: Performing feature extraction processing on the voice command data to obtain acoustic features and semantic features; Fusing the acoustic feature and the semantic feature to obtain a fused feature; The fusion feature is input into the emotion recognition model, and the emotion recognition result is output.
5. The method according to claim 1, It is characterized in that The step of performing situational interaction processing on the voice assistant according to the situational perception result and the emotion recognition result to generate an interactive animation comprises the following steps: Determine an interaction scene and an interaction object according to the situation perception result; Performing virtual image generation processing on the voice assistant according to the emotion recognition result to obtain a voice assistant image; The voice assistant image and the interactive object are interactively processed according to the interactive scenario to generate an interactive animation.
6. The method according to claim 5, It is characterized in that The step of performing a virtual image generation process on the voice assistant according to the emotion recognition result to obtain a voice assistant image comprises the following steps: Performing three-dimensional modeling and texture mapping processing on the voice assistant to obtain a three-dimensional model; According to the emotion recognition result, key frame animation generation processing is performed on the expression of the three-dimensional model to obtain a voice assistant image.
7. The method according to claim 5, It is characterized in that The step of performing interaction processing on the voice assistant image and the interaction object according to the interaction scenario to generate an interaction animation comprises the following steps: Generate interactive voice data and interactive action data according to the interactive scenario; Adjusting the mouth animation parameters of the voice assistant image according to the interactive voice data to obtain a dynamic image; The dynamic image and the interactive object are subjected to action interaction processing according to the interactive action data to generate an interactive animation.
8. An interactive voice assistant animation generation system, It is characterized in that The system includes the following modules: The first module is used to obtain voice command data and in-vehicle environment data; The second module is used to perform intention recognition processing on the voice command data through a voice recognition model to obtain an intention recognition result; The third module is used to perform situational awareness processing by combining the intention recognition result and the in-vehicle environment data through a large language model to obtain a situational awareness result; The fourth module is used to perform emotion recognition processing on the voice command data through an emotion recognition model to obtain an emotion recognition result; The fifth module is used to perform situational interaction processing on the voice assistant according to the situational perception results and the emotion recognition results to generate an interactive animation.
9. An electronic device, It is characterized in that The electronic device comprises a memory and a processor, the memory stores a computer program, and the processor implements the method according to any one of claims 1 to 7 when executing the computer program.
10. A computer-readable storage medium, It is characterized in that A computer program is stored in the computer-readable memory, and the computer program is run by a processor to execute the method according to any one of claims 1 to 7.
