A vehicle-mounted voice control method and device
By generating guidance information and updating the preset slot value pair database in the vehicle-mounted voice control system, the problem of difficulty in parsing spoken instructions in the existing technology is solved, and more efficient semantic understanding and correct responses of the dialogue system are achieved.
Patent Information
- Application Number
- CN202210456056.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-04-27
- Publication Date
- 2024-10-11
- Estimated Expiration
- 2042-04-27
AI Technical Summary
Due to the diversity and sparsity of the data when the existing vehicle voice control system processes the user's spoken instructions, the semantic understanding algorithm is difficult to accurately analyze, which in turn makes it difficult for the dialogue system to give correct responses.
By obtaining the structured semantic group, it is judged whether the command can be executed. If it cannot be executed, guidance information is generated and the user is guided to enter the command in a standardized manner until the command is successfully parsed and executed, and the preset slot value pair is updated through the data fed back by the user. Database to enhance the parsing capabilities of semantic understanding models.
It improves the in-vehicle voice control system's ability to understand spoken instructions, ensuring that users can successfully execute their intentions and improving the in-car voice interaction experience.
Smart Images

Figure CN114842847B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of automobile interactive control, and in particular to a vehicle-mounted voice control method and a vehicle-mounted voice control device. Background Art
[0002] As smart cars gradually enter thousands of households, people experience the convenience of driving control brought by intelligent interaction, while also putting forward higher requirements for the in-car dialogue interaction experience. According to the processing flow, the task-based dialogue system is mainly composed of speech recognition, semantic analysis, dialogue management, response generation, speech synthesis and other processing modules. Among them, speech recognition recognizes the user's voice signal as a text query; semantic analysis understands the text as structured information (domain information, intention information, slot value pair information), for example, air conditioning blowing feet --> (domain = 'vehicle control', intention = 'air conditioning control', slots = {wind direction = <foot, FOOT>}). The dialogue management processes the structured semantic information, maintains the current dialogue state (current round number, intent, slot value pair, etc.) through the dialogue state tracking and dialogue strategy modules, and outputs the action action that the system needs to take next (including: execution, inquiry, guidance, etc.). For example, for the semantic result of the query in the above example, action = 'execution', which means that the user's instructions can be executed directly; for another example, for query = 'I want to navigate', action = ('inquiry', slot = 'destination'), which means that the system needs to ask the user for the destination. The reply generation generates the reply tts based on the results of the dialogue management module. For example, for the query = air conditioning blowing feet in the above example, tts = 'OK'; query = I want to navigate, tts = 'Where do you want to navigate to'. Finally, the speech synthesis module converts the reply into a sound signal and broadcasts it to the user through the speaker. After the broadcast, the dialogue system starts waiting for the user's next round of instructions.
[0003] In the vehicle scene, user commands are often expressed in colloquial language. The randomness of wording and syntactic structure leads to a wide variety of expressions for the same command. For example, the command to express the air conditioner blowing to a person (wind direction = <*, FACE>) may be expressed in the following ways: ("air conditioner blows on me", "air conditioner blows on my face", "air conditioner blows on my head", "air conditioner blows on the top"); the command to express the air conditioner blowing on the feet (wind direction = <*, FOOT>) may be expressed in the following ways: ("air conditioner blows on my feet", "air conditioner blows on the bottom", "air conditioner blows on my legs", "air conditioner blows on my brakes"). The diversity and sparsity of this kind of spoken expression data can easily lead to the semantic understanding algorithm's inaccurate understanding of the user's colloquial and rare expression commands, which in turn transmits the error downward, making it difficult for the dialogue system to give a correct response.
[0004] Existing semantic parsing technology solutions:
[0005] 1. One is template matching. Based on grammar, syntax, slot value dictionary and other information, template rules are written according to the task to be completed. After template matching, the current structured semantics is determined. The advantages of this type of solution are fast matching speed and high accuracy, but the disadvantage is that the rule coverage is usually insufficient. It is mainly used for users' high-frequency instruction statements, and does not cover spoken expressions enough.
[0006] 2. The other type is a deep semantic model, which encodes the user instruction text based on models such as Bert / LSTM, and then inputs it into the fully connected layer or CRF layer for domain classification, intent classification, and slot filling tasks. The advantage of this type of solution is that it generalizes user statements better. This model is trained in a supervised learning manner and requires a large amount of training data. However, rare colloquial slot values often rarely or even never appear in the training data, resulting in the model being insufficiently trained and unable to handle such problems.
[0007] Therefore, it is hoped that a technical solution can be provided to solve or at least alleviate the above-mentioned deficiencies of the prior art. Summary of the invention
[0008] The object of the present invention is to provide a vehicle-mounted voice control method to solve at least one of the above-mentioned technical problems.
[0009] One aspect of the present invention provides a vehicle-mounted voice control method, the vehicle-mounted voice control method comprising:
[0010] Step 1: Obtain structured semantic groups;
[0011] Step 2: Determine whether the command to be executed can be executed according to the structured semantic group. If not,
[0012] Step 3: Generate guidance information according to the structured semantic group and send it to the human-computer interaction device;
[0013] Step 4: Obtaining command information fed back by the user according to the guidance information;
[0014] Step 5: The command information is transmitted to the corresponding execution mechanism, so that the corresponding execution mechanism works according to the command information.
[0015] Optionally, the structured semantic group includes slot-value pair information;
[0016] The step 2: determining whether the command to be executed can be executed according to the structured semantic group includes:
[0017] Acquire a preset slot value pair database, wherein the preset slot value pair database includes at least one preset slot value pair information;
[0018] Determine whether a preset slot value in a preset slot value pair information corresponds to a slot value in the slot value pair information; if not, then
[0019] Determining that the command to be executed cannot be executed according to the structured semantic group;
[0020] The step 3: generating guidance information according to the structured semantic group includes:
[0021] Acquire a guide word database, wherein the guide word database includes at least one guide condition and a guide group corresponding to each guide condition;
[0022] Determine whether the structured semantic group meets a guide condition in the guide database, and if so,
[0023] Obtain the guidance group corresponding to the guidance condition;
[0024] The guidance information is generated according to the guidance group.
[0025] Optionally, before acquiring the structured semantic group, the vehicle-mounted voice control method further comprises:
[0026] Obtain the user's voice information;
[0027] The speech information is parsed to obtain the structured semantic group.
[0028] Optionally, the command information fed back by the user according to the guidance information is obtained as voice information and / or interactive instruction information based on the guidance information.
[0029] Optionally, when the command information is voice information, the step 5: transmitting the command information to a corresponding execution mechanism so that the corresponding execution mechanism works according to the command information includes:
[0030] Parsing the speech information to obtain structured semantic groups of feedback;
[0031] Determine whether the command to be executed can be executed according to the structured semantic group of the feedback, and if so,
[0032] generating an execution command according to the structured semantic group of the feedback;
[0033] The execution command is transmitted to the corresponding execution mechanism so that the corresponding execution mechanism works according to the execution command.
[0034] Optionally, the step 5: transmitting the command information to a corresponding execution mechanism so that the corresponding execution mechanism works according to the command information further comprises:
[0035] Determine whether the command to be executed can be executed according to the structured semantic group. If not, then
[0036] Repeat steps 2 to 4.
[0037] Optionally, after determining whether the command to be executed can be executed according to the structured semantic group of the feedback, if yes, the vehicle-mounted voice control method further includes:
[0038] The preset slot value pair database is updated according to the structured semantic group of the feedback, so that a preset slot value in a preset slot value pair information in the preset slot value pair database corresponds to the slot value pair information.
[0039] Optionally, when the command information fed back by the user according to the guidance information is interactive instruction information based on the guidance information, the step 5: transmitting the command information to a corresponding execution mechanism so that the corresponding execution mechanism works according to the command information includes:
[0040] Generate an execution command according to the interactive instruction information;
[0041] The execution command is transmitted to the corresponding execution mechanism so that the corresponding execution mechanism works according to the execution command.
[0042] Optionally, after generating an execution command according to the interactive instruction information, the vehicle-mounted voice control method further includes:
[0043] The preset slot value pair database is updated according to the interactive instruction information, so that a preset slot value in a preset slot value pair information in the preset slot value pair database corresponds to the slot value pair information.
[0044] The present application also provides a vehicle-mounted voice control device, the vehicle-mounted multi-screen control device comprising:
[0045] A structured semantic group acquisition module, wherein the structured semantic group acquisition module is used to acquire structured semantic groups;
[0046] A judgment module, the judgment module is used to judge whether the command to be executed can be executed according to the structured semantic group;
[0047] A guidance information generation module, wherein the guidance information generation module is used to generate guidance information according to the structured semantic group and send the guidance information to the human-computer interaction device after the judgment module judges that the guidance information is negative;
[0048] A feedback acquisition module, the feedback acquisition module is used to acquire command information fed back by the user according to the guidance information;
[0049] The sending module is used to transmit the command information to the corresponding execution mechanism so that the corresponding execution mechanism works according to the command information.
[0050] Beneficial Effects
[0051] When the vehicle-mounted voice control method of the present application cannot execute relevant commands through the structured semantic group, it can generate guidance information related to the structured semantic group according to the structured semantic group, and guide the user with the guidance information so that the user can interact with the vehicle in a standardized manner, thereby ultimately achieving the purpose that the user needs to execute. BRIEF DESCRIPTION OF THE DRAWINGS
[0052] Figure 1 It is a flowchart of the vehicle-mounted voice control method of the first embodiment of the present application.
[0053] Figure 2 It is used to realize Figure 1 A system equipment diagram of the vehicle-mounted voice control method is shown.
[0054] Figure 3 It is a flowchart of the vehicle-mounted voice control method of the second embodiment of the present application.
[0055] Figure 4 It is a flowchart of the vehicle-mounted voice control method of the third embodiment of the present application. DETAILED DESCRIPTION
[0056] In order to make the purpose, technical scheme and advantages of the implementation of this application clearer, the technical scheme in the embodiment of this application will be described in more detail below in conjunction with the drawings in the embodiment of this application. In the drawings, the same or similar reference numerals throughout represent the same or similar elements or elements with the same or similar functions. The described embodiments are part of the embodiments of this application, not all of them. The embodiments described below with reference to the drawings are exemplary and are intended to be used to explain this application, and should not be construed as limitations on this application. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of this application. The embodiments of this application are described in detail below in conjunction with the drawings.
[0057] Figure 1 It is a flowchart of a vehicle-mounted voice control method according to an embodiment of the present application.
[0058] like Figure 1 The in-vehicle voice control method shown includes:
[0059] Step 1: Obtain structured semantic groups;
[0060] Step 2: Determine whether the command to be executed can be executed according to the structured semantic group. If not,
[0061] Step 3: Generate guidance information according to the structured semantic group and send it to the human-computer interaction device;
[0062] Step 4: Obtaining command information fed back by the user according to the guidance information;
[0063] Step 5: The command information is transmitted to the corresponding execution mechanism, so that the corresponding execution mechanism works according to the command information.
[0064] When the vehicle-mounted voice control method of the present application cannot execute relevant commands through the structured semantic group, it can generate guidance information related to the structured semantic group according to the structured semantic group, and guide the user with the guidance information so that the user can interact with the vehicle in a standardized manner, thereby ultimately achieving the purpose that the user needs to execute.
[0065] In this embodiment, the structured semantic group includes slot-value pair information. It can be understood that the structured semantic group may include domain information and intent information.
[0066] For example, a structured semantic group may be the following driving: (domain information domain = 'vehicle control', intention information intention = 'air conditioning control', slot value pair information slots = {wind direction = <foot, FOOT>}).
[0067] In this embodiment, before acquiring the structured semantic group, the vehicle-mounted voice control method further includes:
[0068] Obtain the user's voice information;
[0069] Parse speech information to obtain structured semantic groups.
[0070] For example, the user voice information is: air conditioner blows the brake (it can be understood that the voice information is first recognized as text information), the voice information is processed to obtain a structured voice group (domain = air conditioner, intention = air conditioner control, slot value pair slots = {wind direction = <brake,?>}.
[0071] In this embodiment, step 2: determining whether the command to be executed can be executed according to the structured semantic group includes:
[0072] Acquire a preset slot value pair database, where the preset slot value pair database includes at least one preset slot value pair information;
[0073] Determine whether a preset slot value in a preset slot value pair information corresponds to a slot value in the slot value pair information; if not, then
[0074] It is determined that the command to be executed cannot be executed according to the structured semantic group.
[0075] Taking the above as an example, the structured semantic group is (domain = air conditioning, intention = air conditioning control, slot value pair slots = {wind direction = <brake,?>}.
[0076] We obtain the preset slot value pair database and find that there is only slots={match=<blow foot, foot>} in the slot value pair. Therefore, from the above analysis, it is found that it is impossible to match ? with foot, and it is determined that no preset slot value in the preset slot value pair information corresponds to the slot value in the slot value pair information.
[0077] In this embodiment, step 3: generating guidance information according to the structured semantic group includes:
[0078] Acquire a guide word database, wherein the guide word database includes at least one guide condition and a guide group corresponding to each guide condition;
[0079] Determine whether the structured semantic group meets a guide condition in the guide database, and if so,
[0080] Obtain the guidance group corresponding to the guidance condition;
[0081] Generates boot information based on the boot group.
[0082] Taking the above-mentioned structured semantic group as an example, the above-mentioned structured semantic group is (domain = air conditioning, intention = air conditioning control, slot value pair slots = {wind direction = <brake,?>}, and one condition in the combined guide database of this application is: if the structured semantic group is (domain = air conditioning, intention = air conditioning control, slots = {wind direction = <brake,?>), then the corresponding guidance group is: guidance group (<wind direction, candidates = [face, feet, car window, windshield]>).
[0083] In this embodiment, generating guidance information according to the guidance group includes:
[0084] converting the guided group into a voice message and / or converting the guided group into an interactive selection message;
[0085] Specifically, the guidance group is converted into voice information, that is, the above guidance information is formed into a reply speech tts through a predefined template. For example, the above guidance group is converted into: 'Four air conditioner wind direction options are found, namely face, foot, car window, and windshield. Which one do you choose?'.
[0086] It is understandable that it can also be converted into interactive selection information. For example, the following four options will be displayed through a human-computer interaction device (such as a car screen): [air conditioning blowing feet, air conditioning blowing face, air conditioning blowing windows, air conditioning blowing windshield] for users to choose.
[0087] In this embodiment, the command information fed back by the user according to the guidance information is obtained as voice information and / or interactive instruction information based on the guidance information.
[0088] For example, when the guidance information given in this application is voice information, the user can answer through voice information. If the guidance information given in this application is interactive selection information, the user can generate interactive instruction information through interactive instructions, or answer through voice information.
[0089] In this embodiment, when the command information is voice information, step 5: transmitting the command information to the corresponding execution mechanism so that the corresponding execution mechanism works according to the command information includes:
[0090] Parse speech information to obtain structured semantic groups of feedback;
[0091] Determine whether the command to be executed can be executed according to the structured semantic group of the feedback, and if so, generate an execution command according to the structured semantic group of the feedback;
[0092] The execution command is transmitted to the corresponding execution mechanism so that the corresponding execution mechanism works according to the execution command.
[0093] For example, if the user answers that the air conditioner blows the feet, the air conditioner blows the feet is converted into a structured semantic group (domain = air conditioning, intention = air conditioning control, slots = {wind direction = <blowing feet, feet>), at this time, if there is corresponding slot value pair information in the preset slot value pair database of the present application, for example, the slot value pair slots = {match = <blowing feet, feet>, it is considered that there is a preset slot value in the preset slot value pair information that corresponds to the slot value in the slot value pair information, and an execution command is generated according to the feedback structured semantic group;
[0094] The execution command is transmitted to the corresponding execution mechanism so that the corresponding execution mechanism works according to the execution command.
[0095] In this embodiment, step 5: transmitting the command information to the corresponding execution mechanism so that the corresponding execution mechanism works according to the command information further includes:
[0096] Determine whether the command to be executed can be executed according to the structured semantic group. If not, then
[0097] Repeat steps 2 to 4.
[0098] In this embodiment, after determining whether the command to be executed can be executed according to the structured semantic group of the feedback, if yes, the vehicle-mounted voice control method further includes:
[0099] The preset slot value pair database is updated according to the fed-back structured semantic group, so that a preset slot value in a preset slot value pair information in the preset slot value pair database corresponds to the slot value pair information.
[0100] Specifically, the structured semantic group of user feedback is first recorded in the log system.
[0101] From the log platform, filter out the records of slot parsing failure and boot success that meet the rules from a large number of user logs: For example, from the example above, you can filter out the following logs:
[0102] turn 1: query = air conditioning blows the brakes
[0103] intention=air conditioning control
[0104] slots = {wind direction = <brake,? >}
[0105] action = guide(<wind direction, candidates = [feet, face, car window, windshield]>)
[0106] Turn 2: query = blowing your feet
[0107] intention=choice
[0108] slots=wind direction=<brake,FOOT>
[0109] Based on the above selected logs, the slot value pair data is mined and converted into the training data required for semantic understanding. First, from the slot of turn 1, it can be seen that the current wind direction slot 'brake' failed to be parsed, and further guidance and clarification are provided to the user; secondly, from turn 2, it can be seen that the user selected 'foot' in the guidance option; finally, the wind direction slot 'brake' is associated with the normalized option 'FOOT' to obtain the slot value pair: wind direction = <brake, FOOT>.
[0110] The slot-value pairs mined in the previous step, together with the original query and intention, are merged and expanded into the guide database.
[0111] It is understandable that, in another embodiment, it can also be expanded to the training library without directly adding the guide database. Instead, when the training data is updated to a certain scale or reaches the predetermined model update time, the semantic understanding model training task is triggered and deployed to the guide database after testing.
[0112] After the above data mining and model iteration process, the updated semantic model has stronger parsing capabilities. For example, the next time the user has a similar query (air conditioning blows the brakes), the dialogue system can successfully parse the wind direction slot as FOOT. At this time, there is no need for dialogue guidance, and the user's instructions can be executed directly.
[0113] In this embodiment, when the command information fed back by the user according to the guidance information is interactive instruction information based on the guidance information, step 5: transmitting the command information to the corresponding execution mechanism so that the corresponding execution mechanism works according to the command information includes:
[0114] Generate execution commands according to interactive instruction information;
[0115] The execution command is transmitted to the corresponding execution mechanism so that the corresponding execution mechanism works according to the execution command.
[0116] In this embodiment, after generating the execution command according to the interactive instruction information, the vehicle-mounted voice control method further includes:
[0117] The preset slot value pair database is updated according to the interactive instruction information, so that a preset slot value in a preset slot value pair information in the preset slot value pair database corresponds to the slot value pair information.
[0118] Specifically, the user's feedback interactive instruction information is first recorded in the log system.
[0119] From the log platform, filter out the records of slot parsing failure and boot success that meet the rules from a large number of user logs: For example, from the example above, you can filter out the following logs:
[0120] turn 1: query = air conditioning blows the brakes
[0121] intention=air conditioning control
[0122] slots = {wind direction = <brake,? >}
[0123] action = guide(<wind direction, candidates = [feet, face, car window, windshield]>)
[0124] Turn 2: query = blowing your feet
[0125] intention=choice
[0126] slots=wind direction=<brake,FOOT>
[0127] Based on the above selected logs, the slot value pair data is mined and converted into the training data required for semantic understanding. First, from the slot of turn 1, it can be seen that the current wind direction slot 'brake' failed to be parsed, and further guidance and clarification are provided to the user; secondly, from turn 2, it can be seen that the user selected 'foot' in the guidance option; finally, the wind direction slot 'brake' is associated with the normalized option 'FOOT' to obtain the slot value pair: wind direction = <brake, FOOT>.
[0128] The slot-value pairs mined in the previous step, together with the original query and intention, are merged and expanded into the guide database.
[0129] It is understandable that, in another embodiment, it can also be expanded to the training library without directly adding the guide database. Instead, when the training data is updated to a certain scale or reaches the predetermined model update time, the semantic understanding model training task is triggered and deployed to the guide database after testing.
[0130] After the above data mining and model iteration process, the updated semantic model has stronger parsing capabilities. For example, the next time the user has a similar query (air conditioning blows the brakes), the dialogue system can successfully parse the wind direction slot as FOOT. At this time, there is no need for dialogue guidance, and the user's instructions can be executed directly.
[0131] When the present application adopts the interactive instruction information method, it can also avoid the problem of being unable to parse the correct slot value pair due to dialects.
[0132] The present application is further described in detail below by way of examples. It should be understood that the examples do not constitute any limitation to the present application.
[0133] A general dialogue system includes five modules: speech recognition, semantic understanding, dialogue management, response generation, and TTS. Speech recognition recognizes user voice signals as text queries; semantic analysis understands text as structured information (domain, intention, slot value pairs), for example, air conditioning blowing feet --> (domain = 'vehicle control', intention = 'air conditioning control', slots = {wind direction = <foot, FOOT>}). Dialogue management processes structured semantic information, maintains the current dialogue state (current round number, intention, slot value pairs, etc.) through dialogue state tracking and dialogue strategy modules, and outputs the action that the system needs to take next (including: execution, inquiry, guidance, etc.). For example, for the semantic result of the query in the above example, action = 'execution', which means that the user's instructions can be executed directly; for query = 'I want to navigate', action = ('inquiry', slot = 'destination'), which means that the system needs to ask the user for the destination. The reply generation generates the reply tts based on the results of the dialogue management module. For example, for the query = air conditioning blowing feet in the above example, tts = 'OK'; query = I want navigation, tts = 'Where do you want to navigate to'. Finally, the speech synthesis module converts the reply into a sound signal and broadcasts it to the user through the speaker. After the broadcast is completed, the dialogue system begins to wait for the user's next round of instructions.
[0134] See also Figure 3 , when faced with unparseable colloquial slots, for example, the air conditioner blows the brakes, semantic parsing can only determine that the current intention is to control the air conditioner, and the set target slot is the wind direction, but it is impossible to determine the slot value corresponding to the brake (assuming that the optional settings for the wind direction slot are: FOOT, FACE, WINDOW, WIND_SHIELD. But it is impossible to determine which setting the current user's expression of "brake" corresponds to). For traditional dialogue systems, semantic parsing fails here, resulting in the inability to execute the current round of tasks, and user needs are not met.
[0135] The present invention proposes that in the case of failure in colloquial slot parsing, the dialogue management module adds multiple rounds of user guidance, lists optional standardized expressions for the user, and guides the user to use standardized terms in the next round of interaction, thereby completing the current dialogue task.
[0136] First round: User query = air conditioning blow brake. At this time, semantic analysis: domain = air conditioning, intention = air conditioning control, slots = {wind direction = <brake,? >}, where wind direction is the slot to be set, 'brake' is the parsed slot string, and '? ' indicates that the corresponding slot value is not found. At this time, the situation where the colloquial slot cannot be parsed is triggered, and the multi-round dialogue guidance processing flow of dialogue management is entered. In dialogue management, the number of turns turn = 1, the state state = {intention = air conditioning control, slots = {wind direction = <brake,? >, temperature =? , mode =? , action =?}}, and the action action = guidance (<wind direction, candidate = [face, foot, car window, windshield]>), indicating that the current round needs to take guidance and give candidates for the air conditioning wind direction value. After the reply generation module, according to the intention intention and action action, the reply speech tts is generated through the predefined template: 'Found four air conditioning wind direction options, which one do you choose? 'At the same time, the screen will display these four options: [Air conditioning blowing feet, Air conditioning blowing face, Air conditioning blowing windows, Air conditioning blowing windshield] for users to choose.
[0137] Second round: User query = foot blowing. At this time, the semantic analysis will perform text matching with the query according to the display list options on the screen. After successful matching, the semantic result is obtained: domain = instruction, intention = selection, slots = {match = <foot blowing, foot>}, indicating that the air conditioning foot blowing option is successfully matched. At this time, the dialogue management module modifies the dialogue state: turn = 2, state = {intention = air conditioning control, slots = {wind direction = <brake, FOOT>}}, action = execution. Among them, since the semantic analysis is to select the intention, the current dialogue intention remains unchanged from the previous round, and the user selection result is assigned to the corresponding position of the dialogue state slots wind direction = <brake, FOOT>}. At this slot, the analysis is successful, so the action action is the execution operation. The reply generation module generates the reply speech tts: 'OK' according to the current intention intention and action action through the predefined template.
[0138] See also Figure 4 Based on the above dialogue system, we use the selection behavior data in the user dialogue, and after statistical analysis, we produce slot value pair annotation data for feedback training and iteration of the semantic understanding model, forming a data closed loop of "confirmation error-user feedback-data mining-model training-redeployment", continuously improving the parsing effect of the spoken slots, and achieving a better dialogue experience. The specific process is as follows:
[0139] The dialogue system records the user's feedback behavior in the log system.
[0140] From the log platform, filter out the records of slot parsing failure and successful guidance that meet the rules from a large number of user logs: the action of the first round of dialogue is guidance, and the intention of the second round of dialogue is selection intention. For example, in the example above, the following logs can be filtered out:
[0141] turn 1: query = air conditioning blows the brakes
[0142] intention=air conditioning control
[0143] slots = {wind direction = <brake,? >}
[0144] action = guide(<wind direction, candidates = [feet, face, car window, windshield]>)
[0145] Turn 2: query = blowing your feet
[0146] intention=choice
[0147] slots=wind direction=<brake,FOOT>
[0148] Based on the above selected logs, the slot value pair data is mined and converted into the training data required for semantic understanding. First, from the slot of turn 1, it can be seen that the current wind direction slot 'brake' failed to be parsed, and further guidance and clarification are provided to the user; secondly, from turn 2, it can be seen that the user selected 'foot' in the guidance option; finally, the wind direction slot 'brake' is associated with the normalized option 'FOOT' to obtain the slot value pair: wind direction = <brake, FOOT>.
[0149] The slot-value pairs mined in the previous step, together with the original query and intention, are merged and expanded into the training data of the semantic understanding module.
[0150] When the training data is updated to a certain scale or reaches the scheduled model update time, the semantic understanding model training task is triggered and deployed to the online dialogue system after testing.
[0151] After the above data mining and model iteration process, the updated semantic model has stronger parsing capabilities. For example, the next time the user has a similar query (air conditioning blows the brakes), the dialogue system can successfully parse the wind direction slot as FOOT. At this time, there is no need for dialogue guidance, and the user's instructions can be executed directly.
[0152] The in-vehicle voice control method of the present application can solve the dialogue problem when the spoken slot analysis fails in the existing semantic analysis, and help users complete instructions through dialogue. This also facilitates the cold start of new dialogue skills.
[0153] This application also provides a feedback training process for the semantic understanding model of sparse spoken slots, forming a data-driven iterative closed loop, solving the problem of sparse long-tail spoken slots in the dialogue system, and comprehensively improving the in-car voice interaction experience.
[0154] The present application also provides a vehicle-mounted voice control device, which includes a structured semantic group acquisition module, a judgment module, a guidance information generation module, a feedback acquisition module and a sending module. The structured semantic group acquisition module is used to acquire the structured semantic group; the judgment module is used to judge whether the command to be executed can be executed according to the structured semantic group; the guidance information generation module is used to generate guidance information according to the structured semantic group and send it to a human-computer interaction device after the judgment module judges to be no; the feedback acquisition module is used to acquire the command information fed back by the user according to the guidance information; the sending module is used to transmit the command information to the corresponding actuator, so that the corresponding actuator works according to the command information.
[0155] It should be noted that the above explanations of the method embodiment are also applicable to the device of this embodiment and will not be repeated here.
[0156] The present application also provides an electronic device, including a memory, a processor, and a computer program stored in the memory and capable of running on the processor. When the processor executes the computer program, the above-mentioned vehicle-mounted voice control method is implemented.
[0157] The present application also provides a computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, it can implement the above-mentioned vehicle-mounted voice control method.
[0158] Figure 2 It is an exemplary structural diagram of an electronic device capable of implementing the vehicle-mounted voice control method provided according to an embodiment of the present application.
[0159] like Figure 2As shown, the electronic device includes an input device 501, an input interface 502, a central processor 503, a memory 504, an output interface 505, and an output device 506. The input interface 502, the central processor 503, the memory 504, and the output interface 505 are interconnected through a bus 507, and the input device 501 and the output device 506 are connected to the bus 507 through the input interface 502 and the output interface 505, respectively, and then connected to other components of the electronic device. Specifically, the input device 504 receives input information from the outside, and transmits the input information to the central processor 503 through the input interface 502; the central processor 503 processes the input information based on the computer executable instructions stored in the memory 504 to generate output information, temporarily or permanently stores the output information in the memory 504, and then transmits the output information to the output device 506 through the output interface 505; the output device 506 outputs the output information to the outside of the electronic device for use by the user.
[0160] That is to say, Figure 2 The electronic device shown can also be implemented as comprising: a memory storing computer executable instructions; and one or more processors, which can implement the combination when executing the computer executable instructions. Figure 1 A vehicle-mounted voice control method is described.
[0161] In one embodiment, Figure 2 The electronic device shown can be implemented to include: a memory 504 configured to store executable program code; and one or more processors 503 configured to run the executable program code stored in the memory 504 to execute the in-vehicle voice control method in the above-mentioned embodiment.
[0162] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.
[0163] The memory may include non-permanent storage in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.
[0164] Computer readable media include permanent and non-permanent, removable and non-removable, and the media can be implemented by any method or technology to store information. The information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, read-only compact disk read-only memory (CD-ROM), data versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device.
[0165] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that contain computer-usable program code.
[0166] In addition, it is obvious that the word "comprising" does not exclude other units or steps. Multiple units, modules or devices stated in the device claim can also be implemented by one unit or the overall device through software or hardware.
[0167] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present application. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and a module, a program segment or a part of a code includes one or more executable instructions for realizing the specified logical function. It should also be noted that in some implementations as replacements, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes identified in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or the total flow chart can be implemented with a dedicated hardware-based system that performs the specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0168] The processor referred to in this embodiment may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or the processor may be any conventional processor, etc.
[0169] The memory can be used to store computer programs and / or modules. The processor realizes various functions of the device / terminal equipment by running or executing the computer programs and / or modules stored in the memory and calling the data stored in the memory. The memory can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc.; the data storage area can store data created according to the use of the mobile phone (such as audio data, a phone book, etc.), etc. In addition, the memory can include a high-speed random access memory, and can also include a non-volatile memory, such as a hard disk, a memory, a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), at least one disk storage device, a flash memory device, or other volatile solid-state storage devices.
[0170] In this embodiment, if the module / unit integrated in the device / terminal equipment 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 present invention implements all or part of the processes in the above-mentioned embodiment method, and can also be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium, and the computer program can implement the steps of the above-mentioned various method embodiments when executed by the processor. Among them, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. The computer-readable medium may include: any entity or device capable of carrying computer program code, recording medium, U disk, mobile hard disk, disk, optical disk, computer memory, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium. It should be noted that the content contained in the computer-readable medium can be appropriately increased or decreased according to the requirements of legislation and patent practice in the jurisdiction. Although the present application is disclosed as above in terms of a preferred embodiment, it is not intended to limit the present application. Any technical personnel in this field may make possible changes and modifications without departing from the spirit and scope of the present application. Therefore, the scope of protection of the present application shall be based on the scope defined by the claims of the present application.
[0171] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that contain computer-usable program code.
[0172] In addition, it is obvious that the word "comprising" does not exclude other units or steps. Multiple units, modules or devices stated in the device claim can also be implemented by one unit or the overall device through software or hardware.
[0173] Although the present invention has been described in detail above with general descriptions and specific embodiments, it is obvious to those skilled in the art that some modifications or improvements may be made thereto based on the present invention. Therefore, these modifications or improvements made without departing from the spirit of the present invention all fall within the scope of protection claimed by the present invention.
Claims
1. A vehicle-mounted voice control method, characterized in that: The vehicle-mounted voice control method comprises: Step 1: Obtain structured semantic groups; Step 2: Determine whether the command to be executed can be executed according to the structured semantic group. If not, Step 3: Generate guidance information according to the structured semantic group and send it to the human-computer interaction device; Step 4: Obtaining command information fed back by the user according to the guidance information; Step 5: delivering the command information to the corresponding execution mechanism so that the corresponding execution mechanism works according to the command information; The structured semantic group includes slot-value pair information; The step 2: determining whether the command to be executed can be executed according to the structured semantic group includes: Acquire a preset slot value pair database, wherein the preset slot value pair database includes at least one preset slot value pair information; Determine whether a preset slot value in a preset slot value pair information corresponds to a slot value in the slot value pair information; if not, then Determining that the command to be executed cannot be executed according to the structured semantic group; The step 3: generating guidance information according to the structured semantic group includes: Acquire a guide word database, wherein the guide word database includes at least one guide condition and a guide group corresponding to each guide condition; Determine whether the structured semantic group meets a guide condition in the guide database, and if so, Obtain the guidance group corresponding to the guidance condition; Generate guidance information according to the guidance group; wherein, The guide group generates guide information including: Convert guide groups into interactive choice messages.
2. The vehicle-mounted voice control method according to claim 1, characterized in that: Before acquiring the structured semantic group, the vehicle-mounted voice control method further comprises: Obtain the user's voice information; The speech information is parsed to obtain the structured semantic group.
3. The vehicle-mounted voice control method according to claim 2, characterized in that: The command information fed back by the user according to the guide information is obtained as voice information and / or interactive instruction information based on the guide information.
4. The vehicle-mounted voice control method according to claim 3, characterized in that: When the command information is voice information, the step 5: transmitting the command information to the corresponding execution mechanism so that the corresponding execution mechanism works according to the command information includes: Parsing the speech information to obtain structured semantic groups of feedback; Determine whether the command to be executed can be executed according to the structured semantic group of the feedback, and if so, generating an execution command according to the structured semantic group of the feedback; The execution command is transmitted to the corresponding execution mechanism so that the corresponding execution mechanism works according to the execution command.
5. The vehicle-mounted voice control method according to claim 4, characterized in that: The step 5: transmitting the command information to the corresponding execution mechanism so that the corresponding execution mechanism works according to the command information further includes: Determine whether the command to be executed can be executed according to the structured semantic group. If not, then Repeat steps 2 to 4.
6. The vehicle-mounted voice control method according to claim 5, characterized in that: After determining whether the command to be executed can be executed according to the structured semantic group of the feedback, if yes, the vehicle-mounted voice control method further includes: The preset slot value pair database is updated according to the structured semantic group of the feedback, so that a preset slot value in a preset slot value pair information in the preset slot value pair database corresponds to the slot value pair information.
7. The vehicle-mounted voice control method according to claim 3, characterized in that: When the command information fed back by the user according to the guidance information is interactive instruction information based on the guidance information, the step 5: transmitting the command information to the corresponding execution mechanism so that the corresponding execution mechanism works according to the command information includes: Generate an execution command according to the interactive instruction information; The execution command is transmitted to the corresponding execution mechanism so that the corresponding execution mechanism works according to the execution command.
8. The vehicle-mounted voice control method according to claim 7, characterized in that: After generating the execution command according to the interactive instruction information, the vehicle-mounted voice control method further includes: The preset slot value pair database is updated according to the interactive instruction information, so that a preset slot value in a preset slot value pair information in the preset slot value pair database corresponds to the slot value pair information.
9. A vehicle-mounted voice control device, used in the vehicle-mounted voice control method according to any one of claims 1 to 8, characterized in that: The vehicle-mounted voice control device comprises: A structured semantic group acquisition module, wherein the structured semantic group acquisition module is used to acquire structured semantic groups; A judgment module, the judgment module is used to judge whether the command to be executed can be executed according to the structured semantic group; A guidance information generation module, wherein the guidance information generation module is used to generate guidance information according to the structured semantic group and send the guidance information to the human-computer interaction device after the judgment module judges that the guidance information is negative; A feedback acquisition module, the feedback acquisition module is used to acquire command information fed back by the user according to the guidance information; The sending module is used to transmit the command information to the corresponding execution mechanism so that the corresponding execution mechanism works according to the command information.
Citation Information
Patent Citations
Semantic parsing method and server
CN110111787A
Operation guiding method of terminal equipment, terminal equipment and storage medium
CN111399629A
Voice semantic recognition method and device and vehicle
CN111415656A
Household appliance control method based on user intention and intelligent household appliance
CN112349283A
Voice interaction method and device, terminal equipment and computer readable storage medium
CN112530428A
