Voice request processing method and device, and storage medium

By adopting two separation processes and real-time updating of audio energy thresholds in the vehicle cockpit, the problem of residual human voice noise in the voice interaction system is solved, the accuracy and safety of voice request separation are improved, and the risk of insertion errors is reduced. .

CN118675522APending Publication Date: 2024-09-20GUANGZHOU XIAOPENG MOTORS TECH CO LTD
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202410756637.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-12
Publication Date
2024-09-20

AI Technical Summary

Technical Problem

When the voice interaction system inside the vehicle cabin handles a multi-sound zone environment, there is a problem of residual human voice noise, which affects the execution of the VAD algorithm, leading to speech separation and segmentation errors and insertion errors in non-target sound zone speech recognition, which may threaten driving safety.

Method used

Using a two-step separation processing method, the voice request components of each sound zone in the vehicle cockpit are screened through preset audio information and real-time updated audio energy thresholds of historical voice request data, improving the accuracy of vocal residual filtering and adapting to different types of vocals. performance, thereby improving the accuracy of voice request separation and reducing the probability of insertion errors.

Benefits of technology

It effectively reduces the probability of voice command leakage, improves the accuracy of voice request separation, and ensures the accuracy and safety of hardware control in the vehicle cockpit.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118675522A
    Figure CN118675522A
Patent Text Reader

Abstract

The invention discloses a voice request processing method, server equipment and a computer readable storage medium, and the method comprises the following steps: receiving a current voice request forwarded by a vehicle, the cabin space of the vehicle comprising a plurality of voice areas; performing first separation processing on the current voice request, and determining current voice request sub-information corresponding to each voice area; and performing second separation processing on the current voice request sub-information according to the preset audio information, and determining a vehicle control instruction corresponding to the current voice request sub-information in each voice area. According to the method and the device, the components of the voice request in each voice area can be screened through two times of separation processing and the audio energy threshold changing in real time, and the voice instruction in each voice area is obtained, so that the vehicle can be controlled according to the voice instruction. That is, dynamic updating of the audio energy threshold is utilized, the filtering accuracy for human voice residues and the adaptability for different human voices are improved, the accuracy of voice request separation is improved, and the probability of instruction leakage is reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of voice processing technology, and in particular to a voice request processing method, a server device, and a computer-readable storage medium. Background Art

[0002] In the current related technologies, the voice interaction system inside the vehicle cockpit generally supports the control of the vehicle hardware separately at each seat, that is, multi-zone interaction. However, the sound environment inside the vehicle cockpit is relatively complex, with various sounds intertwined. The voice separation technology in the current related technologies generally has residual human voice noise, which is difficult to remove. If it is not removed, it will have an adverse effect on the execution of the VAD algorithm, resulting in errors in the voice separation and segmentation process, resulting in serious insertion errors in the non-target voice zone voice recognition, and then causing the voice control result to be out of control, which is likely to threaten driving safety. Summary of the invention

[0003] The present application provides a voice request processing method, a server device and a computer-readable storage medium to solve at least one technical problem described in the background technology.

[0004] The voice request processing method involved in the implementation mode of the present application includes the following steps:

[0005] receiving a current voice request forwarded by a vehicle, wherein a cabin space of the vehicle includes a plurality of audio zones;

[0006] Performing a first separation process on the current voice request to determine the current voice request sub-information corresponding to each of the voice zones;

[0007] According to the preset audio information, the current voice request sub-information is subjected to a second separation process to determine the vehicle control instructions corresponding to the current voice request sub-information in each of the sound zones, wherein the preset audio information is determined based on pre-stored historical voice requests and the current voice request, and the preset audio information is used to describe the separation boundary for separating voice information based on audio energy.

[0008] In this way, after receiving the voice request forwarded by the vehicle, the present application can filter the components of the voice request in each sound zone in the vehicle cabin through two separation processes and using an audio energy threshold that can change in real time according to the accumulation of voice request data, and obtain the voice instructions corresponding to the voice request in each sound zone, so as to control the hardware in the vehicle cabin according to the above voice instructions. That is, by using the dynamic update of the above audio energy threshold, the accuracy of filtering out human voice residues and the adaptability to different types of human voices can be improved, thereby improving the accuracy of voice request separation and reducing the probability of insertion errors or voice instruction leakage.

[0009] In some implementations, the preset audio information is determined according to the following method:

[0010] Determining, according to the historical voice requests and the current voice request, an average audio energy corresponding to each of the voice zones;

[0011] According to the historical voice requests, the command leakage probability and the audio energy parameter corresponding to each of the voice zones are determined by processing with a preset neural network;

[0012] The preset audio information is determined according to the average audio energy, the instruction leakage probability and the audio energy parameter.

[0013] .In this way, the present application can obtain the average audio energy parameters that can be updated in real time based on historical voice requests and current voice requests. At the same time, it can also determine the probability of instruction leakage and audio energy parameters in each sound zone based on a large number of historical voice requests, and finally obtain a preset audio information that can be updated in real time based on the above parameters.

[0014] In some implementations, determining the average audio energy corresponding to each of the voice zones according to the historical voice requests and the current voice request includes:

[0015] Acquire historical voice request sub-information and current voice request sub-information in a target voice zone according to the historical voice request and the current voice request;

[0016] Determine the historical voice request sub-information and the current voice request sub-information in the target voice zone as a current voice request queue;

[0017] According to the preset speech recognition processing and audio energy statistics, the current speech request queue is grouped according to the audio energy to determine the first average audio energy and the second average audio energy corresponding to the target sound zone.

[0018] In this way, the present application can group the components of historical voice requests and current voice requests in each sound zone based on the recognition results of voice requests and the statistical results of audio energy, and determine the average audio energy for different groups respectively, thereby improving the accuracy of the determined average audio energy.

[0019] In some embodiments, the grouping process of the current voice request queue according to the audio energy according to the preset voice recognition process and audio energy statistics, and determining the first average audio energy and the second average audio energy corresponding to the target sound zone include:

[0020] According to the speech recognition processing, the current speech request queue is divided into a first data group and a second data group, wherein the clarity of the speech text recognized according to the first data group is higher than the clarity of the speech text recognized according to the second data group;

[0021] According to the audio energy statistics, performing energy statistics processing on the first data group to determine the first average audio energy corresponding to the target sound range;

[0022] According to the audio energy statistics, energy statistics processing is performed on the second data group to determine the second average audio energy corresponding to the target sound range.

[0023] Thus, the present application provides a method for dividing historical voice requests and current voice requests in each voice zone.

[0024] In some embodiments, the determining, based on the historical voice requests, the command leakage probability and the audio energy parameter corresponding to each of the voice zones through a preset neural network processing includes:

[0025] According to the leakage of the historical voice request in each sound zone in the cockpit space, the command leakage probability of the historical voice request in the target sound zone leaking to other sound zones in the cockpit other than the target sound zone is determined.

[0026] In this way, the present application can perform command leakage assessment between each pair of audio zones in the cockpit, and determine the command leakage probability between each pair of audio zones.

[0027] In some embodiments, the determining, based on the historical voice requests, the command leakage probability and the audio energy parameter corresponding to each of the voice zones through a preset neural network processing, further includes:

[0028] According to the audio energy information of the historical voice request in each sound zone in the cockpit space, an audio energy parameter of the historical voice request in the target sound zone leaking to other sound zones in the cockpit other than the target sound zone is determined, wherein the audio energy parameter is used to describe the energy attenuation degree in the process of command leakage.

[0029] In this way, the present application can also determine the attenuation of audio energy when command leakage occurs between each audio zone in the cockpit based on the audio energy information of historical voice requests after command leakage occurs between each audio zone in the cockpit.

[0030] In some implementations, determining the preset audio information according to the average audio energy, the instruction leakage probability, and the audio energy parameter includes:

[0031] The preset audio information corresponding to the target sound zone is determined according to the average audio energy corresponding to each of the sound zones, the instruction leakage probability of the target sound zone leaking the historical voice request to other sound zones except the target sound zone, and the audio energy parameter of the target sound zone leaking the historical voice request to other sound zones except the target sound zone.

[0032] Thus, the present application provides a method for determining preset audio information according to the above-mentioned parameters.

[0033] In some embodiments, performing a second separation process on the current voice request sub-information according to the preset audio information to determine the vehicle control instruction corresponding to the current voice request sub-information in each of the audio zones includes:

[0034] According to the preset audio information, determining the valid part of the current voice request sub-information corresponding to each of the sound zones as the voice information to be recognized, wherein the audio energy of the valid part satisfies a preset quantity relationship with the preset audio information;

[0035] According to a preset speech recognition model and the speech information to be recognized, a vehicle control instruction corresponding to the current speech request sub-information in each of the sound zones is determined.

[0036] Thus, the present application also provides a specific method for performing secondary separation and voice recognition on the current voice request component in each audio zone according to the above-mentioned preset audio information to control the vehicle.

[0037] The server device in the implementation manner of the present application includes a memory and a processor, the memory stores a computer program, and when the computer program is executed by the processor, the above method is implemented.

[0038] The computer-readable storage medium in the embodiments of the present application stores a computer program, and when the computer program is executed by one or more processors, the above method is implemented.

[0039] Additional aspects and advantages of the embodiments of the present application will be given in part in the description below, and in part will become apparent from the description below, or will be learned through the practice of the embodiments of the present application. BRIEF DESCRIPTION OF THE DRAWINGS

[0040] The above and / or additional aspects and advantages of the present application will become apparent and easily understood from the following description of the embodiments in conjunction with the accompanying drawings, in which:

[0041] Figure 1 A flowchart of a method for processing a voice request in an embodiment of the present application;

[0042] Figure 2This is a schematic diagram of an application scenario of the voice request processing method in the implementation manner of the present application;

[0043] Figure 3 A flowchart of a method for processing a voice request in an embodiment of the present application;

[0044] Figure 4 A flowchart of a method for processing a voice request in an embodiment of the present application;

[0045] Figure 5 A flowchart of a method for processing a voice request in an embodiment of the present application;

[0046] Figure 6 A flowchart of a method for processing a voice request in an embodiment of the present application;

[0047] Figure 7 A flowchart of a method for processing a voice request in an embodiment of the present application;

[0048] Figure 8 A flowchart of a method for processing a voice request in an embodiment of the present application;

[0049] Fig. 9 Schematic diagram of the flow of the voice request processing method in the implementation manner of the present application. DETAILED DESCRIPTION

[0050] The embodiments of the present application are described in detail below, and examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals represent the same or similar elements or elements having the same or similar functions from beginning to end. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the embodiments of the present application, and cannot be understood as limiting the embodiments of the present application.

[0051] See also Figure 1 The voice request processing method in the implementation mode of the present application specifically comprises the following steps:

[0052] 01: Receive the current voice request forwarded by the vehicle,

[0053] The vehicle's cabin space includes multiple sound zones;

[0054] 02: Perform a first separation process on the current voice request to determine the current voice request sub-information corresponding to each audio zone;

[0055] 03: According to the preset audio information, the current voice request sub-information is subjected to a second separation process to determine the vehicle control instruction corresponding to the current voice request sub-information in each audio zone.

[0056] The preset audio information is determined according to pre-stored historical voice requests and current voice requests, and the preset audio information is used to describe a separation boundary for separating voice information according to audio energy.

[0057] The voice request processing device in the implementation mode of the present application can implement the above-mentioned voice request processing method. Specifically, the voice request processing device includes a voice request receiving module, a first separation processing module and a second separation processing module. The voice request receiving module is used to receive the current voice request forwarded by the vehicle, the first separation processing module is used to perform a first separation processing on the current voice request, and determine the current voice request sub-information corresponding to each audio zone, and the second separation processing module is used to perform a second separation processing on the current voice request sub-information according to the preset audio information, and determine the vehicle control instruction corresponding to the current voice request sub-information in each audio zone.

[0058] The server device in the implementation mode of the present application can implement the above-mentioned voice request processing method. Specifically, the server device includes a memory and a processor, wherein the memory stores a computer program, and the processor is used to receive the current voice request forwarded by the vehicle, and is used to perform a first separation process on the current voice request to determine the current voice request sub-information corresponding to each audio zone, and is used to perform a second separation process on the current voice request sub-information according to the preset audio information to determine the vehicle control instruction corresponding to the current voice request sub-information in each audio zone.

[0059] Specifically, the current method of separating and processing voice requests in a vehicle cabin in related technologies is generally to obtain the overall voice request information in the vehicle cabin through multiple groups of sound acquisition devices, and separate the overall voice information into multiple groups of voice request components corresponding to each sound zone in the cabin through a preset separation algorithm in the related technology, and then intercept the voice request components in each sound zone through a voice activity detection (VAD) algorithm and a speech recognition (ASR) algorithm to perform speech recognition to obtain instructions corresponding to multiple sound zones.

[0060] For example, see Figure 2 , Figure 2 The figure shows the interior of a common family car with two rows of seats. The 10 black dots in the figure represent microphones and other sound acquisition devices. The entire vehicle cabin is divided into four sound zones according to the seat position: left front [driver], right front, left rear, and right rear. After 10 channels of audio information are acquired by 10 microphones, 4 voice request components corresponding to the above four sound zones can be calculated according to the preset separation algorithm.

[0061] However, in the above process, when the preset separation algorithm separates the voice request according to the sound zone, it is inevitable that human voice will remain. The VAD algorithm interception process is generally divided into energy interception based on audio energy and model interception based on audio recognition based on the neural network model. However, in the energy interception step of the current related technology, only the part of each voice request component whose audio energy exceeds a certain preset threshold and lasts for a certain period of time will be intercepted as a voice command label in the energy interception step. The judgment standard is relatively rigid, and there is no way to deal with noise with large audio energy. In addition, in the model interception process, when the model intercepts and divides the content of the voice request component, it generally uses a binary feature to judge the silent section and the voice command section in the voice request component. This has a relatively large amount of calculation, and is also sensitive to human voice noise with low audio energy, which can easily cause the erroneous interception of noise and lead to command leakage.

[0062] In order to solve the difficulties existing in the above-mentioned related technologies, the present application proposes a method for processing voice requests. The main method is to separate the voice requests obtained in the vehicle cabin into voice request components corresponding to the sound zones one by one (corresponding to the current voice request sub-information) through a preset separation algorithm, and then add a preset audio information in the energy interception step of the VAD algorithm that can be continuously iterated and updated in real time according to the acquisition process of the voice request and the relevant information about the instruction leakage in the historical voice request, so that the preset threshold in the energy interception step can be calculated and updated based on a large amount of data including the latest voice request data, thereby improving the accuracy of the energy interception step of the VAD algorithm and improving the ability of the overall voice request processing process to quickly adapt to users with different voice characteristics.

[0063] In this way, after receiving the voice request forwarded by the vehicle, the present application can filter the components of the voice request in each sound zone in the vehicle cabin through two separation processes and using an audio energy threshold that can change in real time according to the accumulation of voice request data, and obtain the voice instructions corresponding to the voice request in each sound zone, so as to control the hardware in the vehicle cabin according to the above voice instructions. That is, by using the dynamic update of the above audio energy threshold, the accuracy of filtering out human voice residues and the adaptability to different types of human voices can be improved, thereby improving the accuracy of voice request separation and reducing the probability of insertion errors or voice instruction leakage.

[0064] See also Figure 3 In some implementations, the above-mentioned preset audio information is determined according to the following method:

[0065] 001: Determine the average audio energy corresponding to each audio zone according to historical voice requests and current voice requests;

[0066] 002: According to the historical voice requests, the command leakage probability and audio energy parameters corresponding to each voice zone are determined through the preset neural network processing;

[0067] 003: Determine preset audio information according to the average audio energy, the command leakage probability and the audio energy parameter.

[0068] In some embodiments, the second separation processing module is also used to determine the average audio energy corresponding to each sound zone based on historical voice requests and current voice requests, and to determine the instruction leakage probability and audio energy parameters corresponding to each sound zone based on historical voice requests through a preset neural network processing, and to determine the preset audio information based on the average audio energy, the instruction leakage probability and the audio energy parameters.

[0069] In some embodiments, the processor is also used to determine the average audio energy corresponding to each sound zone based on historical voice requests and current voice requests, and to determine the instruction leakage probability and audio energy parameters corresponding to each sound zone based on historical voice requests after processing by a preset neural network, and to determine preset audio information based on the average audio energy, instruction leakage probability and audio energy parameters.

[0070] Specifically, for the generation process of the preset audio information in the above implementation, in some examples, it is generally realized by the three sets of parameters participating in the calculation together: the average audio energy obtained by audio energy calculation based on the historical voice requests pre-stored in the vehicle or server and the current voice request newly acquired and forwarded by the vehicle, and the probability of command leakage in each sound zone calculated based on a large amount of pre-stored historical voice data including command leakage and energy change. The specific calculation process can refer to the following example.

[0071] In this way, the present application can obtain average audio energy parameters that can be updated in real time based on historical voice requests and current voice requests. At the same time, it can also determine the probability of instruction leakage and audio energy parameters in each sound zone based on a large number of historical voice requests. Finally, based on the above parameters, a preset audio information that can be updated in real time is obtained.

[0072] See also Figure 4 In some embodiments, step 001 includes:

[0073] 0011: Obtain historical voice request sub-information and current voice request sub-information in the target voice zone according to historical voice requests and current voice requests;

[0074] 0012: determine the historical voice request sub-information and the current voice request sub-information in the target voice zone as the current voice request queue;

[0075] 0013: According to the preset speech recognition processing and audio energy statistics, the current speech request queue is grouped according to the audio energy to determine the first average audio energy and the second average audio energy corresponding to the target sound zone.

[0076] In some embodiments, the second separation processing module is also used to obtain historical voice request sub-information and current voice request sub-information in the target sound zone based on historical voice requests and current voice requests, and to determine the historical voice request sub-information and current voice request sub-information in the target sound zone as the current voice request queue, and to group the current voice request queue according to audio energy based on preset voice recognition processing and audio energy statistics, and determine the first average audio energy and the second average audio energy corresponding to the target sound zone.

[0077] In some embodiments, the processor is also used to obtain historical voice request sub-information and current voice request sub-information in the target sound zone based on historical voice requests and current voice requests, and to determine the historical voice request sub-information and current voice request sub-information in the target sound zone as the current voice request queue, and to group the current voice request queue according to audio energy based on preset voice recognition processing and audio energy statistics, and determine the first average audio energy and the second average audio energy corresponding to the target sound zone.

[0078] Specifically, based on the above implementation, the acquisition of average audio energy can be implemented through the following example:

[0079] First, based on the above-mentioned current voice request, the current voice request component (corresponding to the current voice request sub-information) corresponding to each sound zone in the vehicle cabin is obtained through processing by a preset separation algorithm. Then, multiple historical voice requests with the closest time interval to the current time interval are retrieved from the pre-stored data of the vehicle or server. For example, 999 historical voice requests can be retrieved. Generally speaking, when pre-storing, the pre-storage method of the historical voice request is to store the historical voice request components corresponding to each sound zone separately, and to indicate that multiple historical voice request components correspond to the same historical voice request by means of file tags, etc. In this way, the current voice request and the historical voice request are separated for each sound zone in the cabin. For the convenience of subsequent calculations, for example, the current voice request component and the historical voice request component (corresponding to the historical voice request sub-information) corresponding to each sound zone are arranged in reverse chronological order, and each sound zone corresponds to a current voice request queue, which is updated in real time with the real-time update of the current language request in a first-in-first-out logic. If according to the above example, each current voice request queue includes 1000 pieces of data.

[0080] Since the audio energy of different parts in the current voice request queue is very different, if the average audio energy is calculated as a whole, data distortion is bound to occur, which will lead to inaccuracy in the preset audio parameters obtained subsequently, and ultimately result in the invalidity of the above-mentioned voice request control method. Therefore, after further determining the above-mentioned current voice request queue, based on the VAD algorithm in the current related technology, the energy of the above-mentioned current language request queue is intercepted based on a determined preset energy screening threshold, and then the model of the above-mentioned current voice request queue is intercepted based on the preset VAD neural network model. After the above-mentioned two-step speech recognition processing, the current voice request queue can be divided into two groups, and there are relatively obvious differences in the audio energy level between these two groups of data. Then, calculations are performed based on these two groups of data respectively to obtain two average audio energies, and these two average audio energies are used as two independent variables in the subsequent calculations to avoid distortion of the preset audio parameters.

[0081] In this way, the present application can group the components of historical voice requests and current voice requests in each sound zone based on the recognition results of voice requests and the statistical results of audio energy, and determine the average audio energy for different groups respectively, thereby improving the accuracy of the determined average audio energy.

[0082] See also Figure 5 In some embodiments, step 0013 further includes:

[0083] 0014: According to the speech recognition processing, the current speech request queue is divided into a first data group and a second data group,

[0084] wherein the clarity of the speech text recognized according to the first data set is higher than the clarity of the speech text recognized according to the second data set;

[0085] 0015: performing energy statistical processing on the first data group according to audio energy statistics to determine a first average audio energy corresponding to the target sound range;

[0086] 0016: Perform energy statistics processing on the second data group according to audio energy statistics to determine the second average audio energy corresponding to the target sound range.

[0087] In some embodiments, the second separation processing module is also used to divide the current voice request queue into a first data group and a second data group based on voice recognition processing, and to perform energy statistical processing on the first data group based on audio energy statistics to determine a first average audio energy corresponding to the target sound zone, and to perform energy statistical processing on the second data group based on audio energy statistics to determine a second average audio energy corresponding to the target sound zone.

[0088] In some embodiments, the processor is also used to divide the current voice request queue into a first data group and a second data group based on voice recognition processing, and to perform energy statistical processing on the first data group based on audio energy statistics to determine a first average audio energy corresponding to the target sound zone, and to perform energy statistical processing on the second data group based on audio energy statistics to determine a second average audio energy corresponding to the target sound zone.

[0089] Specifically, based on the above implementation, for the grouping of the current voice request queue, in addition to the obvious difference in audio energy level described in the above implementation, in terms of the speech recognition results of the data itself, one of the two groups of data has a clear voice label, while the other does not. The group with a clear voice label can be called a voice segment part (corresponding to the first data group), and the group without a clear voice label can be called a silent segment part (corresponding to the second data group). Then, audio energy statistics are performed for the first data group and the second data group.

[0090] For example, in the above embodiment, after the current voice request queue including a total of 1,000 data items is grouped, each data item includes a voice segment part and a silent segment part. When the audio energy is counted, the audio energy is counted and the average value is calculated for all the data in the data group belonging to the voice segment part in the current voice request queue to obtain the average voice segment audio energy (corresponding to the first average audio energy). In addition, the audio energy is counted and the average value is calculated for all the data in the data group belonging to the silent segment part in the current voice request queue to obtain the average silent segment audio energy (corresponding to the second average audio energy).

[0091] In this way, as the current voice request queue is continuously updated, the calculated average voice segment audio energy and the average silent segment audio energy will also be continuously updated with the current voice request queue, and the preset audio parameters calculated based on the average voice segment audio energy and the average silent segment audio energy will also be continuously updated.

[0092] It should be noted that the execution order of step 0015 and step 0016 is not strictly in accordance with Figure 5 The order shown, Figure 5 This is only a flowchart illustration, and the specific execution order of step 0015 and step 0016 can be adjusted according to actual conditions.

[0093] Thus, the present application provides a method for dividing historical voice requests and current voice requests in each voice zone.

[0094] See also Figure 6 In some embodiments, step 002 includes:

[0095] 0021: According to the leakage of historical voice requests in each audio zone in the cockpit space, determine the command leakage probability of the historical voice requests in the target audio zone leaking to other audio zones outside the target audio zone in the cockpit.

[0096] In some embodiments, the second separation processing module is further used to determine the command leakage probability of the historical voice request in the target sound zone to other sound zones outside the target sound zone in the cabin according to the leakage of the historical voice request in each sound zone in the cabin space.

[0097] In some embodiments, the processor is further configured to determine a command leakage probability that a historical voice request in a target sound zone leaks to other sound zones outside the target sound zone in the cabin according to leakage conditions of the historical voice request in each sound zone in the cabin space.

[0098] Specifically, in addition to determining the average audio energy in the above implementation, in order to calculate the preset audio parameters, it is also necessary to obtain the situation of audio leakage between the various audio zones according to the historical voice requests. In order to quantify the actual situation of audio leakage, for example, the situation of audio leakage between the various audio zones can be described by the probability of command leakage between the various audio zones, and the difference between the audio energy of the original target audio zone of the voice command after the command leakage and the voice command in the leaked audio zone.

[0099] Therefore, in some examples, in order to determine the probability of instruction leakage between each voice zone, a plurality of pre-stored historical voice requests are first retrieved. As described in the above embodiment, the historical voice request components in each voice zone can be stored separately, and the correspondence between each component and the historical voice request is indicated by a file tag. In order to ensure the accuracy of estimating the probability of instruction leakage, the amount of data of the required historical voice request should be relatively large, so illustratively, the 10,000 historical voice requests obtained from the pre-stored historical voice requests, that is, the 10,000 historical voice request components obtained for each voice zone. It should be noted that the above-mentioned total of 10,000 historical voice requests generally have the possibility of instruction leakage. In order to calculate the probability of instruction leakage relatively accurately, it is necessary to pre-mark whether there is instruction leakage, so as to facilitate the subsequent calculation of the probability of instruction leakage. The pre-marking method can be manual marking or artificial intelligence marking. The specific marking method can be adjusted according to the actual situation, and this application does not make specific restrictions.

[0100] Next, for the convenience of description, based on Figure 2For example, for each historical voice request marked as having a command leakage, firstly, the historical voice request components corresponding to each of the four voice zones are analyzed to determine the target voice zone and the leakage voice zone of the historical voice request, wherein the target voice zone refers to the voice zone where the voice command corresponding to the voice request is originally planned to be executed, and the leakage voice zone refers to the voice zone where the voice command corresponding to the voice request is not planned to be executed.

[0101] After the above-mentioned voice zone analysis process is completed for each historical voice request marked as having command leakage, for each voice zone, the number of times the command leakage occurs in other voice zones when the voice zone itself is used as the target voice zone is counted, and the normalized probability is calculated based on the above number. For example, for Figure 2 For the left front sound area in , when it is the target sound area, the normalized probability of leakage to the right front, left rear and right rear sound areas is counted. For example, when the left front sound area is the target sound area, the normalized probabilities of leakage to the right front, left rear and right rear sound areas are expressed as α2, α3, α4 respectively, and when the right front sound area is the target sound area, the normalized probabilities of leakage to the left front, left rear and right rear sound areas are expressed as β1, β3, β4 respectively, when the left rear sound area is the target sound area, the normalized probabilities of leakage to the left front, right front and right rear sound areas are expressed as γ1, γ2, γ4 respectively, and when the right rear sound area is the target sound area, the normalized probabilities of leakage to the left front, right front and left rear sound areas are expressed as δ1, δ2, δ3 respectively. It is worth noting that the sum of the three normalized probabilities corresponding to each sound area as the target sound area should be 1.

[0102] In this way, the present application can perform command leakage assessment between each pair of audio zones in the cockpit, and determine the command leakage probability between each pair of audio zones.

[0103] See also Figure 7 In some embodiments, step 002 further includes:

[0104] 0022: According to the audio energy information of the historical voice requests in each sound zone in the cockpit space, determine the audio energy parameters of the historical voice requests in the target sound zone leaking to other sound zones in the cockpit other than the target sound zone,

[0105] The audio energy parameter is used to describe the energy attenuation degree during the instruction leakage process.

[0106] In some embodiments, the second separation processing module is further used to determine the audio energy parameters of the historical voice requests in the target sound zone leaking to other sound zones in the cabin outside the target sound zone according to the audio energy information of the historical voice requests in each sound zone in the cabin space.

[0107] In some implementations, the processor is further configured to determine audio energy parameters of historical voice requests in the target sound zone leaking to other sound zones in the cabin outside the target sound zone based on audio energy information of historical voice requests in each sound zone in the cabin space.

[0108] Specifically, on the basis of the above implementation mode, 10,000 historical voice requests have been obtained, that is, 10,000 historical voice request components have been obtained for each sound zone. After the above sound zone analysis process for each historical voice request marked as having instruction leakage is completed, for each sound zone, when it is itself the target sound zone, the audio energy of the voice request in the target sound zone and the audio energy of the leakage part in the corresponding leakage sound zone are counted, and the difference between the two sets of audio energies is calculated.

[0109] After calculating the above audio energy differences for all historical voice requests with command leakage, for each audio zone, all the above differences when the audio zone itself and the other audio zone are used as the target audio zone and the leakage audio zone are used as basic data to calculate the average energy attenuation coefficient of the audio zone itself for the other audio zone. Figure 2 In the case shown, for the left front sound zone, the differences between multiple audio energies between the left front sound zone and the right front sound zone can be calculated according to the above method, and the average energy attenuation coefficient between the left front sound zone and the right front sound zone can be further calculated with the above multiple difference data. The same is true between the left front sound zone and other sound zones, where the data format of the average energy attenuation coefficient can be a proportional coefficient or other forms, which is not specifically limited in this application. For the right front sound zone, the left rear sound zone, and the right rear sound zone, multiple average energy attenuation coefficients can also be determined according to the above calculation method for the left front sound zone.

[0110] Based on the above example, the average energy attenuation coefficients of leakage to the right front, left rear and right rear sound areas when the left front sound area is the target sound area can be expressed as x2, x3 and x4 respectively, the average energy attenuation coefficients of leakage to the left front, left rear and right rear sound areas when the right front sound area is the target sound area can be expressed as y1, y3 and y4 respectively, the average energy attenuation coefficients of leakage to the left front, right front and right rear sound areas when the left rear sound area is the target sound area can be expressed as z1, z2 and z4 respectively, and the average energy attenuation coefficients of leakage to the left front, right front and left rear sound areas when the right rear sound area is the target sound area can be expressed as w1, w2 and w3 respectively.

[0111] In this way, the present application can also determine the attenuation of audio energy when command leakage occurs between each audio zone in the cockpit based on the audio energy information of historical voice requests after command leakage occurs between each audio zone in the cockpit.

[0112] See also Figure 8 In some embodiments, step 003 includes:

[0113] 0031: Determine the preset audio information corresponding to the target sound zone based on the average audio energy corresponding to each sound zone, the command leakage probability of the target sound zone leaking historical voice requests to other sound zones except the target sound zone, and the audio energy parameter of the target sound zone leaking historical voice requests to other sound zones except the target sound zone.

[0114] In some embodiments, the second separation processing module is also used to determine the preset audio information corresponding to the target sound zone based on the average audio energy corresponding to each sound zone, the instruction leakage probability of the target sound zone leaking historical voice requests to other sound zones except the target sound zone, and the audio energy parameters of the target sound zone leaking historical voice requests to other sound zones except the target sound zone.

[0115] In some embodiments, the processor is also used to determine the preset audio information corresponding to the target sound zone based on the average audio energy corresponding to each sound zone, the instruction leakage probability of the target sound zone leaking historical voice requests to other sound zones except the target sound zone, and the audio energy parameters of the target sound zone leaking historical voice requests to other sound zones except the target sound zone.

[0116] Specifically, based on the above implementation, the calculation of the preset audio information can be implemented by the following formula group:

[0117] K1=K sil1 +θ×max{K speech2 x 2 α 2 ,K speech3 x 3 α 3 ,K speech4 x 4 α 4}①

[0118] K1=K sil2 +θ×max{K speech1 y 1 β 1 ,K speech3 y 3 β 3 ,K speech4 y 4 β 4}②

[0119] K1=K sil3 +θ×max{K speech1 z 1 γ 1 ,K speech2 z 2 γ 2 ,K speech4 z 4 γ 4}③

[0120] K1=K sil4 +θ×max{K speech1 w 1 δ 1 ,K speech2 w 2 δ 2 ,K speech3 w 3 δ 3}④

[0121] Among them, K1 represents the preset audio information, formula ① represents the preset audio information corresponding to the left front sound area, formula ② represents the preset audio information corresponding to the right front sound area, formula ③ represents the preset audio information corresponding to the left rear sound area, and formula ④ represents the preset audio information corresponding to the right rear sound area.

[0122] Furthermore, K sil1 Indicates the average silent audio energy corresponding to the left front sound area, K sil2 Indicates the average silent audio energy corresponding to the right front sound area, K sil3 Indicates the average silent audio energy corresponding to the left rear sound area, K sil4 Indicates the average silent audio energy corresponding to the right rear sound area.

[0123] In addition, K speech1 Indicates the average audio energy of the speech segment corresponding to the left front sound area, K speech2 Indicates the average audio energy of the speech segment corresponding to the right front sound area, K speech3 Indicates the average audio energy of the speech segment corresponding to the left rear sound area, K speech4 Indicates the average audio energy of the speech segment corresponding to the right rear sound area.

[0124] It should be added that θ represents a calculation parameter, and the purpose of setting the calculation parameter θ is to correct the preset audio information value obtained to make it more consistent with the actual situation in the vehicle cockpit, thereby improving the adaptability of the preset audio information to the actual situation in the vehicle cockpit. The value of the calculation parameter θ can be adjusted according to the changes in the actual situation of the vehicle cockpit, and can be adjusted by the user or by the vehicle itself, and this application does not make specific limitations.

[0125] The following is a supplementary explanation of the formula group composed of the above formulas ① to ④. Taking the left front sound area as an example, the function calculation result max{K speech2 x 2 α 2 ,K speech3 x 3 α 3 ,K speech4 x 4 α 4} represents the amplitude of the increase in audio energy when the audio energy in the right front, left rear, and right rear audio zones is most likely to leak into the left front audio zone, thereby causing the audio energy that should be in a silent state to increase. The same is true for the other three formulas.

[0126] Finally, the preset audio information K1 corresponding to each sound zone is calculated. It should be noted that the preset audio information K1 corresponding to each sound zone has the same dimension as the physical quantity of audio energy, which is generally used as the audio energy screening threshold in the energy interception step of the VAD algorithm. sil And the average speech segment audio energy K speech They are all updated in real time according to the current voice request queue, and the value of the calculation parameter θ is also adjusted according to the actual situation. Therefore, the multiple preset audio information K1 are also updated in real time. In this way, when it is used as the audio energy screening threshold of the energy interception step in the VAD algorithm, the energy interception step can be adjusted according to the actual situation in the vehicle cabin, so that the interception result is more in line with the actual situation, and the situation of erroneous interception or missed interception during interception is reduced as much as possible, and the probability of instruction leakage is reduced.

[0127] Thus, the present application provides a method for determining preset audio information according to the above-mentioned parameters.

[0128] See also Fig. 9 In some embodiments, step 03 includes:

[0129] 031: According to the preset audio information, determine the valid part of the current voice request sub-information corresponding to each audio zone as the voice information to be recognized,

[0130] The audio energy of the effective part and the preset audio information satisfy a preset quantity relationship;

[0131] 032: Determine the vehicle control instruction corresponding to the current voice request sub-information in each voice zone according to the preset voice recognition model and the voice information to be recognized.

[0132] In some embodiments, the second separation processing module is also used to determine the valid part of the current voice request sub-information corresponding to each sound zone as the voice information to be recognized based on the preset audio information, and to determine the vehicle control instructions corresponding to the current voice request sub-information in each sound zone based on the preset voice recognition model and the voice information to be recognized.

[0133] In some embodiments, the processor is also used to determine the valid part of the current voice request sub-information corresponding to each sound zone as the voice information to be recognized based on the preset audio information, and to determine the vehicle control instructions corresponding to the current voice request sub-information in each sound zone based on the preset voice recognition model and the voice information to be recognized.

[0134] Specifically, when the preset audio information corresponding to each sound zone is obtained through calculation in the above implementation mode, the above preset audio information is used as the audio energy screening threshold used when the VAD algorithm is executed in the corresponding sound zone to perform the energy interception step.

[0135] On this basis, the current voice request component of the current sound zone is input into the VAD algorithm as input data, and the effective part for inputting into the ASR algorithm for voice recognition is determined through the energy interception step and the model interception step. The above-mentioned effective part is the part of the current voice request component whose audio energy is greater than or equal to the above-mentioned preset audio information and whose duration exceeds the preset duration.

[0136] Then, the above-mentioned effective part is input into the ASR algorithm for speech recognition, and finally the control instruction corresponding to the current voice request component in the current sound zone is obtained and sent to the vehicle, so that the vehicle executes the control instruction in the corresponding sound zone, thereby completing a complete voice interaction control process.

[0137] Thus, the present application also provides a specific method for performing secondary separation and voice recognition on the current voice request component in each audio zone according to the above-mentioned preset audio information to control the vehicle.

[0138] The computer-readable storage medium in the embodiments of the present application stores a computer program, and when the computer program is executed by one or more processors, the above method is implemented.

[0139] In the description of this specification, the descriptions with reference to the terms "certain embodiments", "in an example", "exemplarily", etc., mean that the specific features, structures, materials or characteristics described in conjunction with the embodiments or examples are included in at least one embodiment or example of the present application. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner. In addition, those skilled in the art may combine and combine the different embodiments or examples described in this specification and the features of the different embodiments or examples, unless they are contradictory.

[0140] Any process or method description in a flowchart or otherwise described herein may be understood to represent a module, segment or portion of code that includes one or more executable instructions for implementing the steps of a specific logical function or process, and the scope of the preferred embodiments of the present application includes alternative implementations in which functions may not be performed in the order shown or discussed, including performing functions in a substantially simultaneous manner or in the reverse order depending on the functions involved, which should be understood by technicians in the technical field to which the embodiments of the present application belong.

[0141] Although the embodiments of the present application have been shown and described above, it can be understood that the above embodiments are exemplary and cannot be understood as limitations on the present application. Ordinary technicians in this field can change, modify, replace and modify the above embodiments within the scope of the present application.

Claims

1. A method for processing a voice request, characterized in that: The method comprises: receiving a current voice request forwarded by a vehicle, wherein a cabin space of the vehicle includes a plurality of audio zones; Performing a first separation process on the current voice request to determine the current voice request sub-information corresponding to each of the voice zones; According to the preset audio information, the current voice request sub-information is subjected to a second separation process to determine the vehicle control instructions corresponding to the current voice request sub-information in each of the sound zones, wherein the preset audio information is determined based on pre-stored historical voice requests and the current voice request, and the preset audio information is used to describe the separation boundary for separating voice information based on audio energy.

2. The method according to claim 1, characterized in that The preset audio information is determined according to the following method: Determining, according to the historical voice requests and the current voice request, an average audio energy corresponding to each of the voice zones; According to the historical voice requests, the command leakage probability and the audio energy parameter corresponding to each of the voice zones are determined by processing with a preset neural network; The preset audio information is determined according to the average audio energy, the instruction leakage probability and the audio energy parameter.

3. The method according to claim 2, characterized in that The determining, according to the historical voice request and the current voice request, the average audio energy corresponding to each of the voice zones includes: According to the historical voice request and the current voice request, obtaining historical voice request sub-information and current voice request sub-information in the target voice zone; Determine the historical voice request sub-information and the current voice request sub-information in the target voice zone as a current voice request queue; According to the preset speech recognition processing and audio energy statistics, the current speech request queue is grouped according to the audio energy to determine the first average audio energy and the second average audio energy corresponding to the target sound zone.

4. The method according to claim 3, characterized in that The method of grouping the current voice request queue according to the audio energy according to the preset voice recognition processing and audio energy statistics, and determining the first average audio energy and the second average audio energy corresponding to the target audio zone includes: According to the speech recognition processing, the current speech request queue is divided into a first data group and a second data group, wherein the clarity of the speech text recognized according to the first data group is higher than the clarity of the speech text recognized according to the second data group; According to the audio energy statistics, performing energy statistics processing on the first data group to determine the first average audio energy corresponding to the target sound range; According to the audio energy statistics, energy statistics processing is performed on the second data group to determine the second average audio energy corresponding to the target sound range.

5. The method according to claim 2, characterized in that: The determining, based on the historical voice requests and through a preset neural network, the command leakage probability and the audio energy parameter corresponding to each of the audio zones includes: According to the leakage of the historical voice request in each sound zone in the cockpit space, the command leakage probability of the historical voice request in the target sound zone leaking to other sound zones in the cockpit other than the target sound zone is determined.

6. The method according to claim 5, characterized in that The determining, based on the historical voice requests, the command leakage probability and the audio energy parameter corresponding to each of the voice zones through a preset neural network processing, further includes: According to the audio energy information of the historical voice request in each sound zone in the cockpit space, an audio energy parameter of the historical voice request in the target sound zone leaking to other sound zones in the cockpit other than the target sound zone is determined, wherein the audio energy parameter is used to describe the energy attenuation degree in the process of command leakage.

7. The method according to claim 2, characterized in that The determining the preset audio information according to the average audio energy, the instruction leakage probability and the audio energy parameter includes: The preset audio information corresponding to the target sound zone is determined according to the average audio energy corresponding to each of the sound zones, the instruction leakage probability of the target sound zone leaking the historical voice request to other sound zones except the target sound zone, and the audio energy parameter of the target sound zone leaking the historical voice request to other sound zones except the target sound zone.

8. The method according to claim 2, characterized in that: The performing second separation processing on the current voice request sub-information according to the preset audio information to determine the vehicle control instruction corresponding to the current voice request sub-information in each of the audio zones includes: According to the preset audio information, determining the valid part of the current voice request sub-information corresponding to each of the sound zones as the voice information to be recognized, wherein the audio energy of the valid part satisfies a preset quantity relationship with the preset audio information; According to a preset speech recognition model and the speech information to be recognized, a vehicle control instruction corresponding to the current speech request sub-information in each of the sound zones is determined.

9. A server device, characterized in that: The server device includes a memory and a processor, the memory stores a computer program, and when the computer program is executed by the processor, the method according to any one of claims 1 to 8 is implemented.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by one or more processors, the method according to any one of claims 1 to 8 is implemented.

Citation Information

Cited By

  • Detection method for awakening continuous speaking, electronic equipment and computer readable storage medium

    CN119649812A

  • Voice separation method, device and system, electronic equipment and storage medium

    CN119785815A