Voice interaction mode control method and device of in-vehicle infotainment system, electronic equipment and storage medium
By identifying the user's voice intention and dynamically adjusting the vehicle-machine voice interaction mode, it solves the problems of single conversation style and difficulty in cross-scenario conversion in the existing technology, realizes seamless chat and business control between the vehicle and the machine in different modes, and improves user experience. Experience and interactivity.
Patent Information
- Application Number
- CN202410690572.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-30
- Publication Date
- 2024-09-13
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
The existing human-computer interaction dialogue style in the smart cockpit of automobiles is single, making it impossible to chat smoothly, making cross-scenario business conversion difficult, and unable to dynamically adjust the voice interaction mode according to the different intentions of the user.
By pre-training the voice command intention recognition model, the user's voice intention is identified, and the voice interaction mode of the vehicle and the machine is determined based on the intention, thereby achieving multi-intention separation and mode switching, allowing the vehicle and the machine to conduct seamless chat and business control in different modes.
It improves the user experience. The car and machine can not only execute voice commands, but also chat seamlessly with users, which enhances the interactivity and convenience of the smart cockpit, reduces the probability of false triggers, and breaks the barriers to chat and business control.
Smart Images

Figure CN118645094A
Abstract
Description
Technical Field
[0001] Embodiments of the present invention relate to the field of intelligent cockpit voice interaction technology, and in particular, to a method, device, electronic device and storage medium for controlling a voice interaction mode of a vehicle computer. Background Art
[0002] In recent years, the human-computer interaction experience in automobile smart cockpits has been greatly improved, but there are still three core pain points. The conversation style is relatively rigid and single; the interaction has not penetrated all skills and chats; cross-scenario business customization is difficult, and each sentence that needs to be recognized must be customized in advance before a response can be given, and it is not possible to answer whatever is asked.
[0003] With the continued popularity of ChatGPT, a number of leading large model companies have emerged, such as Xinghuo Large Model, Wenxin Yiyan, and Pangu Large Model. How to integrate these large models into the voice interaction of car machines and provide users with an intelligent cockpit voice interaction environment with an excellent voice interaction experience has become an urgent problem to be solved. This can contribute to the development of future intelligent and automated automotive technology and bring consumers more advanced, smarter, and safer automotive products and services. Summary of the invention
[0004] In view of this, in order to solve the above-mentioned technical problems or part of the technical problems, an embodiment of the present invention provides a method, device, electronic device and storage medium for controlling a voice interaction mode of a vehicle computer.
[0005] In a first aspect, an embodiment of the present invention provides a method for controlling a voice interaction mode of a vehicle computer, comprising:
[0006] In response to a voice interaction wake-up voice issued by a user, obtaining a voice command issued by the user;
[0007] Performing intent recognition on the voice command to determine the voice intent;
[0008] Determine a control strategy for a voice interaction mode of the vehicle computer based on the voice intention;
[0009] The voice interaction mode of the vehicle computer is controlled based on the control strategy.
[0010] In a possible implementation, the method further includes:
[0011] Pre-train the voice command intent recognition model;
[0012] Inputting the voice command into the voice command intention recognition model to obtain a model output result;
[0013] The voice intention of the voice instruction is determined based on the model output result.
[0014] In a possible implementation, the method further includes:
[0015] If it is determined that the voice intention is a free-chat mode intention, determining the control strategy to enter the free-chat mode;
[0016] If it is determined that the voice intention is a vehicle-machine business control intention, then determining the control strategy is to enter a vehicle-machine control mode;
[0017] If it is determined that the voice intention is a chat-type intention, the control strategy is determined to be a response to the chat.
[0018] In a possible implementation, the method further includes:
[0019] If it is determined that the control strategy is to enter the free-chat mode, then the voice interaction mode of the vehicle computer is controlled to enter the free-chat mode;
[0020] In the chat mode, the large model responds to the user's voice for voice interaction, and the voice interaction mode of the vehicle computer is kept in the chat mode.
[0021] In a possible implementation, the method further includes:
[0022] If it is determined that the control strategy is to enter the vehicle computer control mode, then responding to the voice command to perform corresponding business type control on the vehicle computer and tightening the free chat mode;
[0023] If it is determined that the control strategy is to respond to the chat, the voice command is replied through the large model.
[0024] In a possible implementation, the method further includes:
[0025] In the vehicle control mode, obtaining a second round of voice commands issued by the user;
[0026] Performing intent recognition on the second round of voice commands to determine the second round of voice intent;
[0027] If it is determined that the second round of voice intention is a free chat mode intention, controlling the voice interaction mode of the vehicle computer to enter the free chat mode;
[0028] If it is determined that the second round of voice intention is a vehicle computer business control intention, respond to the second round of voice instructions to perform corresponding business control on the vehicle computer, and maintain the tightened chat mode;
[0029] If it is determined that the second round of voice intent is a chat-type intent, do not respond to the chat and maintain a tight chat mode.
[0030] In a possible implementation, the method further includes:
[0031] Get the historical human-computer interaction voice in the vehicle control mode;
[0032] Analyze the historical human-computer interaction voice to obtain the user's vehicle computer control habits;
[0033] Based on the vehicle computer control habits, respond to the voice commands issued by the user.
[0034] In a second aspect, an embodiment of the present invention provides a voice interaction mode control device for a vehicle computer, comprising:
[0035] A response acquisition module, used to respond to the voice interaction wake-up voice issued by the user and obtain the voice command issued by the user;
[0036] An identification and determination module, used to perform intent identification on the voice command and determine the voice intent;
[0037] The recognition and determination module is further used to determine a control strategy of a voice interaction mode of the vehicle computer based on the voice intention;
[0038] A control module is used to control the voice interaction mode of the vehicle computer based on the control strategy.
[0039] In a third aspect, an embodiment of the present invention provides an electronic device, comprising: a processor and a memory, wherein the processor is used to execute a voice interaction mode control program of a vehicle computer stored in the memory to implement the voice interaction mode control method of the vehicle computer described in the first aspect above.
[0040] In a fourth aspect, an embodiment of the present invention provides a storage medium, including: the storage medium stores one or more programs, and the one or more programs can be executed by one or more processors to implement the voice interaction mode control method of the vehicle computer described in the first aspect above.
[0041] The voice interaction mode control scheme for the vehicle computer provided in the embodiment of the present invention obtains the voice command issued by the user by responding to the voice interaction wake-up voice issued by the user; performs intent recognition on the voice command to determine the voice intent; determines the control strategy of the voice interaction mode of the vehicle computer based on the voice intent; and controls the voice interaction mode of the vehicle computer based on the control strategy. Compared with the existing human-computer interaction dialogue style of the intelligent cockpit of the car, it is difficult to convert cross-scenario services, and it is not possible to chat freely. According to this scheme, by separating the multiple intentions of the voice and controlling the voice interaction mode of the vehicle computer according to different intentions, the dialogue is tightened in different voice interaction modes, so that the vehicle computer can not only execute voice commands, but also chat with users seamlessly, thereby improving the user experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0042] Figure 1An architecture diagram of a voice interaction mode control system for a vehicle computer provided by an embodiment of the present invention;
[0043] Figure 2 A flow chart of a method for controlling a voice interaction mode of a vehicle computer provided by an embodiment of the present invention;
[0044] Figure 3 A flow chart of another method for controlling a voice interaction mode of a vehicle computer provided by an embodiment of the present invention;
[0045] Figure 4 A schematic diagram of the structure of a voice interaction mode control device for a vehicle computer provided by an embodiment of the present invention;
[0046] Figure 5 A schematic diagram of the structure of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0047] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0048] To facilitate understanding of the embodiments of the present invention, specific embodiments will be further explained below in conjunction with the accompanying drawings. The embodiments do not constitute a limitation on the embodiments of the present invention.
[0049] Figure 1 The following is a diagram of the control system architecture of a voice interaction mode of a vehicle computer provided by an embodiment of the present invention, such as Figure 1 As shown, the embodiment of the present invention is based on large-model intelligent voice chat, which will redefine the voice interaction system in the car's intelligent cockpit. The system is divided into five aspects: multi-intention separation, multi-round dialogue tightening logic, multi-round semantic history inheritance, large-model chat capability, and self-learning evolution.
[0050] This system relies on large-scale model technology and existing in-car voice interaction systems, combines user operating habits and actual needs, breaks the traditional chat barriers, creates a chat mode with cognitive levels, and integrates traditional chat and skill voice, so that voice can not only execute commands, but also seamlessly connect with users to chat, plus self-learning evolution, to bring warmth and companionship to users at any time. This large-scale model voice interaction system is an evolving voice interaction system that can be customized by major OEMs.
[0051] The entire system is actively awakened by the user as the voice interaction entrance, then decomposed by the intent separator, and then enters the three-layer top-down separation logic; the first round of conversation in the main scene, the main scene tightens the free chat conversation, and the conversation in the free chat mode. After the user's first round of conversation, the chat is tightened in the continuous conversation to control false triggers, and the chat and business can be switched at any time in the chat scene.
[0052] Figure 2 A flow chart of a method for controlling a voice interaction mode of a vehicle computer provided by an embodiment of the present invention is shown as follows: Figure 2 As shown, the method specifically includes:
[0053] S21. In response to a voice interaction wake-up voice issued by a user, obtain a voice command issued by the user.
[0054] In an embodiment of the present invention, the vehicle computer can be awakened by a voice interaction wake-up voice (for example, Hello XX) issued by a user in any of the four sound zones in the car cabin (main driver's position, co-driver's position, rear left seat position, and rear right seat position), and then enter the voice interaction system.
[0055] Furthermore, after waking up the car computer to enter the voice interaction system, a voice (for example, "Hello, please speak") can be issued to remind the user to issue further voice commands. After hearing the voice issued by the car computer, the user speaks a voice command with an intention, such as: chat, enter the chat mode, turn on the air conditioner, I am in a good mood today, etc.
[0056] S22: Performing intent recognition on the voice command to determine the voice intent.
[0057] The embodiment of the present invention can perform intent recognition on voice commands through a pre-trained voice intent recognition model to determine the actual voice intent corresponding to the voice command issued by the user. Alternatively, multiple voice commands under different voice intent categories can be pre-stored, and the actual voice intent corresponding to the voice command issued by the current user can be determined by comparing whether the voice command issued by the current user is the same or similar to the stored voice commands.
[0058] For example, if the user says "let's chat", the corresponding voice intention is that he wants to have a chat; if the user says to turn on the air conditioner, the corresponding voice intention is that he wants to control the car computer to turn on the air conditioner; if the user says "I'm in a good mood today", the corresponding voice intention is that he wants to turn on music to relax; if the user says "enter chat mode", the corresponding voice intention is that he wants to control the car computer to turn on the chat mode.
[0059] S23: Determine a control strategy for the voice interaction mode of the vehicle computer based on the voice intention.
[0060] Pre-customize the control strategies of voice interaction modes corresponding to different voice intentions, where the voice interaction modes can be divided into free chat mode, vehicle control mode and chat mode. The control strategy is to control the voice interaction mode to enter one of the above modes.
[0061] Furthermore, after determining the actual voice intention corresponding to the voice command issued by the current user, a control strategy is determined based on the determined voice intention to control the voice interaction mode to enter into which of the above modes.
[0062] S24: Control the voice interaction mode of the vehicle computer based on the control strategy.
[0063] If the voice intention is determined to be a chat mode intention, the control strategy is determined to enter the chat mode; if the voice intention is determined to be a vehicle computer business control intention, the control strategy is determined to enter the vehicle computer control mode; if the voice intention is determined to be a chat intention, the control strategy is determined to enter the chat mode and respond to the chat.
[0064] Optionally, in different modes, if there is a business change, you can also re-determine the voice intent corresponding to the voice command issued by the user at any time, and then re-enter a different voice interaction mode according to the voice intent to respond to the user. Figure 3 The corresponding embodiments are described in detail.
[0065] The method for controlling the voice interaction mode of a vehicle computer provided in an embodiment of the present invention obtains a voice command issued by a user by responding to a voice interaction wake-up voice issued by a user; performs intent recognition on the voice command to determine the voice intent; determines a control strategy for the voice interaction mode of the vehicle computer based on the voice intent; and controls the voice interaction mode of the vehicle computer based on the control strategy. Compared with the existing human-computer interaction dialogue style of the intelligent cockpit of an automobile, it is difficult to convert cross-scenario services, and it is not possible to chat freely. This method separates the multiple intentions of the voice and controls the voice interaction mode of the vehicle computer according to different intentions, tightens the dialogue in different voice interaction modes, and allows the vehicle computer to not only execute voice commands, but also seamlessly connect and chat with users, thereby improving the user experience.
[0066] Figure 3 A flow chart of another method for controlling a voice interaction mode of a vehicle computer provided by an embodiment of the present invention is shown as follows: Figure 3 As shown, the method specifically includes:
[0067] S31. In response to a voice interaction wake-up voice issued by a user, obtain a voice command issued by the user.
[0068] In the embodiment of the present invention, combined with Figure 1The vehicle computer can be awakened by a voice interaction wake-up voice (for example, "Hello XX") issued by a user in any of the four sound zones in the vehicle cabin (main driver's seat, co-driver's seat, rear left seat, and rear right seat) and then enter the voice interaction system.
[0069] Furthermore, after waking up the car computer to enter the voice interaction system, a voice (for example, "Hello, please speak") can be issued to remind the user to issue further voice commands. After hearing the voice issued by the car computer, the user speaks a voice command with an intention, such as: chat, enter the chat mode, turn on the air conditioner, I am in a good mood today, etc.
[0070] S32. Pre-train a voice command intention recognition model.
[0071] S33: input the voice command into the voice command intention recognition model to obtain a model output result.
[0072] S34. Determine the voice intention of the voice instruction based on the model output result.
[0073] The following is a unified description of S32~S34:
[0074] In an embodiment of the present invention, an interactive voice set in the smart cockpit can be collected in advance to train an existing voice intent recognition model, so that the model can well recognize the voice intent corresponding to the voice command issued by the user in the smart cockpit environment.
[0075] Furthermore, the voice command issued by the current user is input into the voice command intention recognition model to obtain the model output result and determine the actual voice intention of the voice command issued by the current user.
[0076] For example, if the user says "let's chat", the corresponding voice intention is that he wants to have a chat; if the user says to turn on the air conditioner, the corresponding voice intention is that he wants to control the car computer to turn on the air conditioner; if the user says "I'm in a good mood today", the corresponding voice intention is that he wants to turn on music to relax; if the user says "enter chat mode", the corresponding voice intention is that he wants to control the car computer to turn on the chat mode.
[0077] S35: If it is determined that the voice intention is a free-chat mode intention, then the control strategy is determined to enter the free-chat mode.
[0078] In the embodiment of the present invention, the chat mode can be directly entered only when the intention is to include a chat scene. If the voice intention is determined to be the chat mode intention, the control strategy is determined to enter the chat mode, and a control instruction is sent to the vehicle computer to control the voice interaction mode of the vehicle computer to enter the chat mode. In the chat mode, the large model responds to the user's voice for voice interaction, and the voice interaction mode of the vehicle computer is kept in the chat mode. In the chat mode, the vehicle computer can chat with the user continuously, making the chat more interesting. The large model of the embodiment of the present invention can be applied to all existing large models, such as the Spark large model, Wenxin Yiyan, Pangu large model, etc.
[0079] S36: If it is determined that the voice intention is a vehicle-machine business control intention, then the control strategy is determined to enter a vehicle-machine control mode.
[0080] In the embodiment of the present invention, if the voice intention is determined to be a vehicle-machine business control intention, the control strategy is determined to enter the vehicle-machine control mode. If the control strategy is determined to enter the vehicle-machine control mode, the vehicle-machine is controlled to perform corresponding business-type control in response to the voice command, and the normal logic is processed, and the chat mode is tightened.
[0081] In the vehicle control mode, after the user speaks a round of business instructions, the main scene is switched to the chat mode; compared with the first round of conversation, the chat intention is identified to avoid frequent false triggering of the chat after the business instructions are spoken. The second round of voice instructions issued by the user are further obtained, and the second round of voice instructions are recognized for the intention to determine the second round of voice intention. If the second round of voice intention is determined to be the chat mode intention, the voice interaction mode of the vehicle is controlled to enter the chat mode; if the second round of voice intention is determined to be the vehicle business control intention, the vehicle is responded to the second round of voice instructions to perform corresponding business control on the vehicle, and the normal logic is processed, and the chat mode is maintained; if the second round of voice intention is determined to be the chat intention, the chat is not responded to and the chat mode is maintained.
[0082] For example, a user issues a voice command of "turn on the air conditioner", and the car computer responds and turns on the air conditioner. At this time, if the user says to other people in the car, "It's so hot today", it can be determined that the voice intention is a chat intention, and the chat will not be responded to.
[0083] S37: If it is determined that the voice intention is a chat intention, the control strategy is determined to be a response chat.
[0084] If the voice intent is determined to be a chat intent, the control strategy is determined to respond to the chat and reply to the voice command through the large model.
[0085] It should be noted that in any mode, after the user says that he / she is entering the free chat mode, the mode will be switched to the free chat mode. Compared with the first round of dialogue, business statements can be executed according to the functions customized by major OEMs, and the large model will provide replies for chat statements, making the statements more free. The third or Nth round will also classify the functions that can be triggered by the in-vehicle voice at the same level. If the business type needs to jump to execute, then jump to execute, and start the tightened free chat mode; if the business type needs TTS to broadcast directly, then broadcast it directly and keep the free chat mode; if the business type needs a fallback reply, then provide a fallback reply and keep the free chat mode; if it is still a chat type statement, continue to respond to the chat statement and keep the free chat mode.
[0086] Furthermore, this voice interaction system also has a self-learning evolution function: after entering multiple rounds of historical inheritance, the content of the chat and the user's multiple interactions will enter a certain scene. By building a negative feedback model, it will continuously learn and adjust to guide the user's words and habits, and inject them into the large model for historical data analysis, and ultimately reduce the user interaction level to achieve the user's purpose.
[0087] Specifically, historical human-computer interaction voices in the vehicle computer control mode are obtained; historical human-computer interaction voices are analyzed to obtain the user's vehicle computer control habits; based on the vehicle computer control habits, voice commands issued by the user are responded to.
[0088] For example, every time a user turns on the car control by voice, they first enter the main interface, then select the lower interfaces layer by layer, and finally select the playlist page. After analyzing the user's historical habits, it is determined that the user always opens the playlist page first. Then, the next time the user turns on the car control by voice, they can directly jump to the playlist page for presentation, reducing the user interaction level.
[0089] Through the above-mentioned multi-level control, we finally enter the self-learning evolution of free chat, making a significant distinction from the source, allowing the user's multiple intentions to be effectively separated, ensuring that voice can always be used for chat, greatly reducing the probability of false triggering, and completely breaking through the barriers between business and chat, making it more convenient for users to use.
[0090] The method for controlling the voice interaction mode of a vehicle computer provided in an embodiment of the present invention obtains a voice command issued by a user by responding to a voice interaction wake-up voice issued by a user; performs intent recognition on the voice command to determine the voice intent; determines a control strategy for the voice interaction mode of the vehicle computer based on the voice intent; and controls the voice interaction mode of the vehicle computer based on the control strategy. Compared with the existing human-computer interaction dialogue style of the intelligent cockpit of an automobile, it is difficult to convert cross-scenario services, and it is not possible to chat freely. This method separates the multiple intentions of the voice and controls the voice interaction mode of the vehicle computer according to different intentions, tightens the dialogue in different voice interaction modes, and allows the vehicle computer to not only execute voice commands, but also seamlessly connect and chat with users, thereby improving the user experience.
[0091] Figure 4 A structural diagram of a voice interaction mode control device for a vehicle computer provided by an embodiment of the present invention is shown in FIG. Figure 4 As shown, specifically including:
[0092] The response acquisition module 401 is used to respond to the voice interaction wake-up voice issued by the user and obtain the voice command issued by the user;
[0093] The recognition and determination module 402 is used to perform intent recognition on the voice command and determine the voice intent;
[0094] The recognition and determination module 402 is further used to determine a control strategy of a voice interaction mode of the vehicle computer based on the voice intention;
[0095] The control module 403 is used to control the voice interaction mode of the vehicle computer based on the control strategy.
[0096] In one possible implementation, the recognition and determination module 402 is specifically used to pre-train a voice instruction intention recognition model; input the voice instruction into the voice instruction intention recognition model to obtain a model output result; and determine the voice intention of the voice instruction based on the model output result.
[0097] In a possible implementation, the identification and determination module 402 is also used to determine that if the voice intention is determined to be a chat mode intention, then the control strategy is to enter the chat mode; if the voice intention is determined to be a vehicle-computer business control intention, then the control strategy is to enter the vehicle-computer control mode; if the voice intention is determined to be a chat-type intention, then the control strategy is to respond to the chat.
[0098] In one possible implementation, the control module 403 is specifically used to control the voice interaction mode of the vehicle computer to enter the chat mode if it is determined that the control strategy is to enter the chat mode; in the chat mode, respond to the user voice through the large model for voice interaction, and keep the voice interaction mode of the vehicle computer in the chat mode.
[0099] In a possible implementation, the control module 403 is also used to, if it is determined that the control strategy is to enter the vehicle computer control mode, respond to the voice command to perform corresponding business-type control on the vehicle computer and tighten the chat mode; if it is determined that the control strategy is to respond to the chat, reply to the voice command through the large model.
[0100] In one possible implementation, the control module 403 is also used to obtain a second round of voice commands issued by the user in the vehicle computer control mode; perform intent recognition on the second round of voice commands to determine the second round of voice intentions; if it is determined that the second round of voice intentions are chat mode intentions, control the voice interaction mode of the vehicle computer to enter chat mode; if it is determined that the second round of voice intentions are vehicle computer business control intentions, respond to the second round of voice commands to perform corresponding business control on the vehicle computer, and maintain a tight chat mode; if it is determined that the second round of voice intentions are chat intentions, do not respond to the chat and maintain a tight chat mode.
[0101] In a possible implementation, the control module 403 is also used to obtain historical human-computer interaction voice in the vehicle control mode; analyze the historical human-computer interaction voice to obtain the user's vehicle control habits; and respond to voice commands issued by the user based on the vehicle control habits.
[0102] The voice interaction mode control device of the vehicle computer provided in this embodiment can be as follows: Figure 4 The voice interaction mode control device of the vehicle computer shown in the figure can perform the following steps: Figure 2-3 All steps of the voice interaction mode control method of the CRRC machine are implemented Figure 2-3 For details, please refer to Figure 2-3 For the sake of brevity, the relevant description is not repeated here.
[0103] Figure 5 A schematic diagram of the structure of an electronic device provided by an embodiment of the present invention, Figure 5The electronic device 500 shown includes: at least one processor 501, a memory 502, at least one network interface 504 and other user interfaces 503. The various components in the electronic device 500 are coupled together via a bus system 505. It is understood that the bus system 505 is used to achieve connection and communication between these components. In addition to the data bus, the bus system 505 also includes a power bus, a control bus and a status signal bus. However, for the sake of clarity, the bus system 505 is not shown in FIG. Figure 5 Various buses are labeled as bus system 505 .
[0104] The user interface 503 may include a display, a keyboard, or a pointing device (eg, a mouse, a trackball, a touch pad, or a touch screen).
[0105] It can be understood that the memory 502 in the embodiment of the present invention can be a volatile memory or a non-volatile memory, or can include both volatile and non-volatile memories. Among them, the non-volatile memory can be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory can be a random access memory (RAM), which is used as an external cache. By way of example but not limitation, many forms of RAM are available, such as static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDRSDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM) and direct RAM bus random access memory (DRRAM). The memory 502 described herein is intended to include, but is not limited to, these and any other suitable types of memory.
[0106] In some implementations, the memory 502 stores the following elements, executable units or data structures, or a subset thereof, or an extended set thereof: an operating system 5021 and an application program 5022 .
[0107] The operating system 5021 includes various system programs, such as a framework layer, a core library layer, a driver layer, etc., which are used to implement various basic services and process hardware-based tasks. The application 5022 includes various application programs, such as a media player (Media Player), a browser (Browser), etc., which are used to implement various application services. The program for implementing the method of the embodiment of the present invention can be included in the application 5022.
[0108] In the embodiment of the present invention, by calling the program or instruction stored in the memory 502, specifically, the program or instruction stored in the application 5022, the processor 501 is used to execute the method steps provided by each method embodiment, for example, including:
[0109] In response to a voice interaction wake-up voice issued by a user, a voice command issued by the user is obtained; the intention of the voice command is recognized to determine the voice intention; a control strategy for a voice interaction mode of the vehicle computer is determined based on the voice intention; and the voice interaction mode of the vehicle computer is controlled based on the control strategy.
[0110] In one possible implementation, a voice instruction intention recognition model is pre-trained; the voice instruction is input into the voice instruction intention recognition model to obtain a model output result; and the voice intention of the voice instruction is determined based on the model output result.
[0111] In one possible implementation, if it is determined that the voice intention is a chat mode intention, the control strategy is determined to enter the chat mode; if it is determined that the voice intention is a vehicle-computer business control intention, the control strategy is determined to enter the vehicle-computer control mode; if it is determined that the voice intention is a chat intention, the control strategy is determined to respond to the chat.
[0112] In one possible implementation, if it is determined that the control strategy is to enter the chat mode, the voice interaction mode of the vehicle computer is controlled to enter the chat mode; in the chat mode, the large model responds to the user's voice for voice interaction, and the voice interaction mode of the vehicle computer is kept in the chat mode.
[0113] In one possible implementation, if it is determined that the control strategy is to enter the vehicle computer control mode, the vehicle computer is controlled correspondingly in response to the voice command, and the chat mode is tightened; if it is determined that the control strategy is to respond to the chat, the voice command is replied through the large model.
[0114] In one possible implementation, in the vehicle computer control mode, a second round of voice commands issued by the user is obtained; the intent of the second round of voice commands is recognized to determine the second round of voice intent; if it is determined that the second round of voice intent is a chat mode intent, the voice interaction mode of the vehicle computer is controlled to enter the chat mode; if it is determined that the second round of voice intent is a vehicle computer business control intent, the vehicle computer is controlled to perform corresponding business control on the vehicle computer in response to the second round of voice commands, and the chat mode is maintained; if it is determined that the second round of voice intent is a chat intent, no response is given to the chat and the chat mode is maintained.
[0115] In a possible implementation, historical human-computer interaction voices in the vehicle control mode are acquired; the historical human-computer interaction voices are analyzed to obtain the vehicle control habits of the user; and based on the vehicle control habits, voice commands issued by the user are responded to.
[0116] The method disclosed in the above embodiment of the present invention can be applied to the processor 501, or implemented by the processor 501. The processor 501 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by the hardware integrated logic circuit in the processor 501 or the instruction in the form of software. The above processor 501 can be a general processor, a digital signal processor (Digital Signal Processor, DSP), an application specific integrated circuit (Application Specific Integrated Circuit, ASIC), a field programmable gate array (Field Programmable Gate Array, FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components. The methods, steps and logic block diagrams disclosed in the embodiments of the present invention can be implemented or executed. The general processor can be a microprocessor or the processor can also be any conventional processor, etc. The steps of the method disclosed in the embodiment of the present invention can be directly embodied as a hardware decoding processor to execute, or the hardware and software units in the decoding processor can be executed. The software unit can be located in a mature storage medium in the field such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory or an electrically erasable programmable memory, a register, etc. The storage medium is located in the memory 502, and the processor 501 reads the information in the memory 502 and completes the steps of the above method in combination with its hardware.
[0117] It is understood that the embodiments described herein may be implemented in hardware, software, firmware, middleware, microcode, or a combination thereof. For hardware implementation, the processing unit may be implemented in one or more application specific integrated circuits (ASIC), digital signal processors (DSP), digital signal processing devices (DSPDevice, DSPD), programmable logic devices (PLD), field programmable gate arrays (FPGA), general purpose processors, controllers, microcontrollers, microprocessors, other electronic units for performing the functions described in the present application, or a combination thereof.
[0118] For software implementation, the technology described herein can be implemented by a unit that performs the functions described herein. The software code can be stored in a memory and executed by a processor. The memory can be implemented in the processor or outside the processor.
[0119] The electronic device provided in this embodiment may be Figure 5 The electronic device shown in FIG. 1 may perform the following steps: Figure 2-3 All steps of the voice interaction mode control method of the CRRC machine are implemented Figure 2-3 For details, please refer to Figure 2-3 For the sake of brevity, the relevant description is not repeated here.
[0120] The embodiment of the present invention also provides a storage medium (computer-readable storage medium). The storage medium here stores one or more programs. The storage medium may include a volatile memory, such as a random access memory; the memory may also include a non-volatile memory, such as a read-only memory, a flash memory, a hard disk or a solid-state drive; the memory may also include a combination of the above-mentioned types of memory.
[0121] When one or more programs in the storage medium can be executed by one or more processors, the voice interaction mode control method of the vehicle computer executed on the electronic device side can be implemented.
[0122] The processor is used to execute the voice interaction mode control program of the vehicle computer stored in the memory to implement the following steps of the voice interaction mode control method of the vehicle computer executed on the electronic device side:
[0123] In response to a voice interaction wake-up voice issued by a user, a voice command issued by the user is obtained; the intention of the voice command is recognized to determine the voice intention; a control strategy for a voice interaction mode of the vehicle computer is determined based on the voice intention; and the voice interaction mode of the vehicle computer is controlled based on the control strategy.
[0124] In one possible implementation, a voice instruction intention recognition model is pre-trained; the voice instruction is input into the voice instruction intention recognition model to obtain a model output result; and the voice intention of the voice instruction is determined based on the model output result.
[0125] In one possible implementation, if it is determined that the voice intention is a chat mode intention, the control strategy is determined to enter the chat mode; if it is determined that the voice intention is a vehicle-computer business control intention, the control strategy is determined to enter the vehicle-computer control mode; if it is determined that the voice intention is a chat intention, the control strategy is determined to respond to the chat.
[0126] In one possible implementation, if it is determined that the control strategy is to enter the chat mode, the voice interaction mode of the vehicle computer is controlled to enter the chat mode; in the chat mode, the large model responds to the user's voice for voice interaction, and the voice interaction mode of the vehicle computer is kept in the chat mode.
[0127] In one possible implementation, if it is determined that the control strategy is to enter the vehicle computer control mode, the vehicle computer is controlled correspondingly in response to the voice command, and the chat mode is tightened; if it is determined that the control strategy is to respond to the chat, the voice command is replied through the large model.
[0128] In one possible implementation, in the vehicle computer control mode, a second round of voice commands issued by the user is obtained; the intent of the second round of voice commands is recognized to determine the second round of voice intent; if it is determined that the second round of voice intent is a chat mode intent, the voice interaction mode of the vehicle computer is controlled to enter the chat mode; if it is determined that the second round of voice intent is a vehicle computer business control intent, the vehicle computer is controlled to perform corresponding business control on the vehicle computer in response to the second round of voice commands, and the chat mode is maintained; if it is determined that the second round of voice intent is a chat intent, no response is given to the chat and the chat mode is maintained.
[0129] In a possible implementation, historical human-computer interaction voices in the vehicle control mode are acquired; the historical human-computer interaction voices are analyzed to obtain the vehicle control habits of the user; and based on the vehicle control habits, voice commands issued by the user are responded to.
[0130] The professionals should further realize that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented by electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in the above description according to the function. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professionals and technicians can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.
[0131] The steps of the method or algorithm described in conjunction with the embodiments disclosed herein may be implemented using hardware, a software module executed by a processor, or a combination of the two. The software module may be placed in a random access memory (RAM), a memory, a read-only memory (ROM), an electrically programmable ROM, an electrically erasable programmable ROM, a register, a hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
[0132] The specific implementation methods described above further illustrate the objectives, technical solutions and beneficial effects of the present invention in detail. It should be understood that the above description is only a specific implementation method of the present invention and is not intended to limit the scope of protection of the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the scope of protection of the present invention.
Claims
1. A method for controlling a voice interaction mode of a vehicle computer, characterized in that: include: In response to a voice interaction wake-up voice issued by a user, obtaining a voice command issued by the user; Performing intent recognition on the voice command to determine the voice intent; Determine a control strategy for a voice interaction mode of the vehicle computer based on the voice intention; The voice interaction mode of the vehicle computer is controlled based on the control strategy.
2. The method according to claim 1, characterized in that The performing intention recognition on the voice command to determine the voice intention includes: Pre-train the voice command intent recognition model; Inputting the voice command into the voice command intention recognition model to obtain a model output result; The voice intention of the voice instruction is determined based on the model output result.
3. The method according to claim 2, characterized in that The control strategy for determining the voice interaction mode of the vehicle computer based on the voice intention includes: If it is determined that the voice intention is a free-chat mode intention, determining the control strategy to enter the free-chat mode; If it is determined that the voice intention is a vehicle-machine business control intention, then determining the control strategy is to enter a vehicle-machine control mode; If it is determined that the voice intention is a chat-type intention, the control strategy is determined to be a response to the chat.
4. The method according to claim 3, characterized in that The controlling the voice interaction mode of the vehicle computer based on the control strategy includes: If it is determined that the control strategy is to enter the free-chat mode, then the voice interaction mode of the vehicle computer is controlled to enter the free-chat mode; In the chat mode, the large model responds to the user's voice for voice interaction, and the voice interaction mode of the vehicle computer is kept in the chat mode.
5. The method according to claim 4, characterized in that The method further comprises: If it is determined that the control strategy is to enter the vehicle computer control mode, then responding to the voice command to perform corresponding business type control on the vehicle computer and tightening the free chat mode; If it is determined that the control strategy is to respond to the chat, the voice command is replied through the large model.
6. The method according to claim 5, characterized in that The method further comprises: In the vehicle control mode, obtaining a second round of voice commands issued by the user; Performing intent recognition on the second round of voice commands to determine the second round of voice intent; If it is determined that the second round of voice intention is a free chat mode intention, controlling the voice interaction mode of the vehicle computer to enter the free chat mode; If it is determined that the second round of voice intention is a vehicle computer business control intention, respond to the second round of voice instructions to perform corresponding business control on the vehicle computer, and maintain the tightened chat mode; If it is determined that the second round of voice intent is a chat-type intent, do not respond to the chat and maintain a tight chat mode.
7. The method according to claim 6, characterized in that The method further comprises: Get the historical human-computer interaction voice in the vehicle control mode; Analyze the historical human-computer interaction voice to obtain the user's vehicle computer control habits; Based on the vehicle computer control habits, respond to the voice commands issued by the user.
8. A voice interaction mode control device for a vehicle computer, characterized in that: include: A response acquisition module, used to respond to the voice interaction wake-up voice issued by the user and obtain the voice command issued by the user; An identification and determination module, used to perform intent identification on the voice command and determine the voice intent; The recognition and determination module is further used to determine a control strategy of a voice interaction mode of the vehicle computer based on the voice intention; A control module is used to control the voice interaction mode of the vehicle computer based on the control strategy.
9. An electronic device, characterized in that: include: A processor and a memory, wherein the processor is used to execute a voice interaction mode control program of a vehicle computer stored in the memory to implement the voice interaction mode control method of a vehicle computer according to any one of claims 1 to 7.
10. A storage medium, characterized in that: The storage medium stores one or more programs, and the one or more programs can be executed by one or more processors to implement the voice interaction mode control method of the vehicle computer according to any one of claims 1 to 7.
Citation Information
Cited By
Self-adaptive sound scene simulation system, method and equipment based on intelligent vehicle-mounted cabin
CN120723196A
Human-computer interaction method and device, electronic equipment and storage medium
CN120804246A
Voice interaction mode control method and apparatus for in-vehicle infotainment system, electronic device, and storage medium
WO2025246616A1
