Silent voice sending method and device for voice automatic test
By converting the voice command audio file into PDM digital audio signals and connecting the in-vehicle entertainment host through the A2B bus, the problems of low efficiency and poor accuracy of the existing in-vehicle voice interaction function automation test are solved, and silent sound delivery and high accuracy test are realized, and adapted to modern in-vehicle entertainment systems.
Patent Information
- Application Number
- CN202411644515.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-18
- Publication Date
- 2025-03-25
AI Technical Summary
The existing automated test solutions for on-board voice interaction functions have problems of low efficiency and poor accuracy, especially in the case of inconsistent noisy environments and speaker positions.
By converting the pre-acquisitioned voice command audio files into PDM digital audio signals and connecting them to the on-board entertainment host through the A2B bus, silent sound delivery is achieved, and it is adapted to the on-board entertainment system using the PDM digital microphone array and the A2B bus solution.
It realizes voice automation testing in a silent environment, avoids the impact of the noisy environment and speaker position on the test results, improves the multiplexed rate and accuracy of the test, and is adapted to the digital microphone array and A2B bus solution of modern in-car entertainment systems.
Smart Images

Figure CN119694297A_ABST
Abstract
Description
Technical Field
[0001] The invention belongs to the field of vehicle entertainment system development, and in particular relates to a silent sound transmission method and device for voice automation testing. Background Art
[0002] Since automated testing has the advantages of saving manpower, high efficiency and high reusability, the proportion of automated testing in the end-to-end testing of the Internet of Vehicles is constantly increasing. At present, the audio architecture of the vehicle model project under development adopts a three-silicon digital microphone array, and the microphone array is connected to the in-vehicle entertainment host through the A2B bus solution. Because this solution is relatively complicated, in order to avoid technical modifications to the original equipment, the in-vehicle voice interaction function uses a speaker to play the corresponding corpus audio when implementing automated testing, and directly collects audio information through the microphone component. This sound recording solution has two disadvantages: 1. It has high requirements for the test environment, and a noisy environment will seriously affect the accuracy of speech recognition. 2. It has high requirements for the consistency of the speaker and the relative position of the speaker and the microphone. The impact of different speakers and placement positions on the consistency of the test results cannot be estimated. These shortcomings have caused the existing solution to cause the automated testing of the voice interaction function to have low efficiency and poor accuracy, and it is necessary to seek a better solution.
[0003] The current silent audio transmission solution for voice automation testing is: the analog signal output of the voice command corpus directly replaces the analog microphone output and is directly connected to the in-vehicle entertainment host. However, this solution is only applicable to in-vehicle entertainment systems that use analog microphones, and cannot be adapted to in-vehicle entertainment systems that use digital microphone arrays. Since this solution does not consider connecting A2B nodes, it cannot be adapted to in-vehicle entertainment systems that use A2B bus solutions.
[0004] Invention patent content
[0005] In view of the above problems, the present invention provides a silent audio transmission method and device for speech automation testing, which is based on an in-vehicle entertainment system that uses a PDM digital microphone array and the microphone array is connected to the in-vehicle entertainment host through an A2B bus solution. By converting the collected voice command corpus audio file into a PDM digital audio signal, and connecting the PDM signal to the in-vehicle entertainment host through the A2B bus, silent audio transmission for speech automation testing is achieved. The purpose of the present invention is achieved through the following technical solutions:
[0006] The present invention firstly provides a silent sound transmission method for voice automation test, which converts a pre-collected voice command audio file into a PDM digital audio signal through an A2B bus and transmits it to a vehicle entertainment host.
[0007] Specifically, the method comprises the following steps:
[0008] Step S1 - transmitting the voice command audio file to the analog signal to PDM signal converter;
[0009] Step S2: Convert the voice command audio file into a PDM digital audio signal through an analog signal to PDM digital signal converter;
[0010] Step S3: transmitting the PDM digital audio signal to an integrated development board integrated with a digital microphone array and an A2B slave node module;
[0011] Step S4: transmitting the digital signal processed by the integrated development board to the in-vehicle entertainment host through the A2B bus architecture. Preferably, the digital signal includes an output control signal, a clock signal, and PDM data.
[0012] Furthermore, the method further comprises step S0 - collecting voice instruction audios uttered by real people to form a voice corpus; in step S1, the voice corpus is called to play the audio file.
[0013] The present invention further provides a silent sound transmission device for voice automation testing, which includes a recording device, an audio playback device, an audio adapter terminal line, an analog signal to PDM digital signal converter, an integrated development board integrated with a digital microphone array and an A2B slave node module, an A2B bus and an in-vehicle entertainment host. Preferably, a clock synchronization module is also integrated on the integrated development board. Specifically, the computer audio output end and the input end of the converter are connected by wire to transmit the pre-collected voice command audio file to the analog signal to PDM signal converter; the analog signal to PDM digital signal converter is used to convert the voice command audio file into a PDM digital audio signal compatible with a digital microphone array; the output end of the PDM digital signal converter is connected to an integrated development board integrated with a digital microphone array and an A2B slave node module; the A2B slave node module is connected to the in-vehicle entertainment host through the A2B bus architecture to transmit audio digital signals, clock signals, control information, etc. to the in-vehicle entertainment host.
[0014] Furthermore, the audio playback device adopts a computer with automated testing software.
[0015] Furthermore, in order to adapt to the currently widely used audio playback devices and digital signal converters as much as possible, the audio adapter terminal cable adopts a 3.5mm audio female socket to 2.54 terminal cable.
[0016] Furthermore, the A2B bus uses an unshielded twisted pair UTP cable.
[0017] The beneficial effects of the present invention are:
[0018] (1) Compared with the solution of playing audio and directly receiving sound with a microphone, the present invention can achieve silent sound transmission when applied to speech automation testing, avoid the influence of noisy environment on speech recognition accuracy, avoid the influence of the speaker and the relative position of the speaker and the microphone on the consistency of the test results, and improve the reuse rate and accuracy of speech automation testing.
[0019] (2) Compared with the analog signal microphone solution, the present invention can be adapted to the in-vehicle entertainment system using the PDM digital microphone array by converting the analog signal into a PDM digital signal.
[0020] (3) Compared with the analog signal microphone solution, the present invention can adapt to the in-vehicle entertainment system using the A2B bus solution by connecting the PDM signal to the A2B bus slave node. BRIEF DESCRIPTION OF THE DRAWINGS
[0021] Figure 1 Shown is a schematic diagram of a device according to Embodiment 1 of the present invention;
[0022] Figure 2 The figure shows a flow chart of the silent sound transmission method according to the second embodiment of the present invention. DETAILED DESCRIPTION
[0023] The technical scheme of the preferred embodiment of the present invention will be clearly and completely described below in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0024] Embodiment 1:
[0025] The present embodiment provides a silent sound transmission device for voice automation testing, which includes a recording device 1, an audio playback device 2, an audio adapter terminal line 3, an analog signal to PDM digital signal converter 4, an integrated development board 5, an A2B bus and an in-vehicle entertainment host 6. The recording device 1 is used to collect voice command audio of real people to form a voice corpus, the audio playback device 2 is used to receive or call the voice command audio file transmitted by the recording device 1, and transmit it to the analog signal to PDM signal converter 4 through the audio adapter terminal line 3; the analog signal to PDM signal converter 4 is used to convert the voice command audio file into a PDM digital audio signal, and transmit the converted PDM digital audio signal to the integrated development board 5; the integrated development board 5 is integrated with a digital microphone array and an A2B slave node module, which is used to receive the PDM digital signal and transmit it to the in-vehicle entertainment host 6 through the A2B bus architecture after processing it through the digital microphone array and the A2B slave node module.
[0026] In a preferred embodiment, the audio playback device uses a computer with automated testing software; in some embodiments, the recording device 1 and the audio playback device 2 can be completed by a computer integrated with this function.
[0027] In a preferred embodiment, a clock synchronization module is also integrated on the integrated development board.
[0028] In a preferred embodiment, in order to adapt as much as possible to the currently widely used audio playback devices and digital signal converters, the audio adapter terminal cable adopts a 3.5mm audio female socket to 2.54 terminal cable.
[0029] Preferably, the A2B bus uses an unshielded twisted pair UTP cable.
[0030] Embodiment 2:
[0031] This embodiment provides a silent sound transmission method for performing voice automation testing using the device of Embodiment 1. The silent sound transmission method mainly converts the pre-collected voice command audio file into a PDM digital audio signal through the A2B bus and transmits it to the in-vehicle entertainment host.
[0032] In a preferred embodiment, the method comprises the following steps:
[0033] Step S0: Collecting voice command audios uttered by real people to form a voice corpus;
[0034] Step S1: transmitting the voice command audio file to the analog signal to PDM signal converter. For example, the voice corpus of step S0 is called by executing the automated test script through the computer and the automated test software, and the computer plays the voice command audio file; the audio output terminal of the computer and the analog signal to PDM digital signal converter are connected by wire, so that the audio played in step S1 is not played through the speaker, but the voice command audio file output by the computer is converted from an analog signal to a PDM digital signal through the following step S2;
[0035] Step S2: Convert the voice command audio file into a PDM digital audio signal through an analog signal to PDM digital signal converter;
[0036] Step S3 - transmit the PDM digital audio signal to an integrated development board integrating a digital microphone array and an A2B slave node module; preferably, the analog signal to PDM digital signal converter is connected to the development board integrating a digital microphone array, an A2B slave node module and a clock synchronization module through wires, so that the PDM data output by the analog signal to PDM digital signal converter is input into the A2B slave node module, and the clock signal of the analog signal to PDM digital signal converter 4 can be synchronized with the clock of the in-vehicle entertainment host 6 adopting the A2B bus solution.
[0037] Step S4: transmitting the digital signal processed by the integrated development board to the in-vehicle entertainment host through the A2B bus architecture.
[0038] Through the above steps, that is, by converting the recorded voice command corpus audio file into a PDM digital audio signal, and connecting the PDM signal to the in-vehicle entertainment host via the A2B bus, silent audio transmission for voice automation testing is achieved.
[0039] Finally, it should be noted that the above preferred embodiments are only used to illustrate the technical solutions of the present invention rather than to limit it. Although the present invention has been described in detail through the above preferred embodiments, those skilled in the art should understand that various changes can be made in form and details without departing from the scope defined by the claims of the present invention. The dimensions described in the drawings and embodiments are not related to the specific objects and are not used to limit the protection scope of the present invention. The dimensions of the objects can be selected and changed according to actual needs.
Claims
1. A silent audio transmission method for voice automation testing, which converts the pre-collected voice command audio file into a PDM digital audio signal through the A2B bus and transmits it to the in-vehicle entertainment host.
2. A silent voice transmission method for voice automation testing according to claim 1, characterized in that: The steps include: Step S1 - transmitting the voice command audio file to the analog signal to PDM signal converter; Step S2: Convert the voice command audio file into a PDM digital audio signal through an analog signal to PDM digital signal converter; Step S3: transmitting the PDM digital audio signal to an integrated development board integrated with a digital microphone array and an A2B slave node module; Step S4: transmitting the digital signal processed by the integrated development board to the in-vehicle entertainment host through the A2B bus architecture.
3. A silent voice transmission method for voice automation testing according to claim 2, characterized in that: The method also includes step S0 - collecting voice instruction audios uttered by real people to form a voice corpus; in step S1, the voice corpus is called to play the audio file.
4. The silent voice transmission method for voice automation testing according to claim 2, characterized in that: The integrated development board also integrates a clock synchronization module.
5. A silent sound transmission device for voice automation testing according to claim 1, comprising a recording device, an audio playback device, an audio adapter terminal cable, an analog signal to PDM digital signal converter, an integrated development board integrating a digital microphone array and an A2B slave node module, an A2B bus and an in-vehicle entertainment host.
6. A silent sound transmission device for speech automation testing according to claim 5, characterized in that: The audio playback device uses a computer with automated testing software.
7. A silent sound transmission device for speech automation testing according to claim 6, characterized in that: The audio transfer terminal cable adopts a 3.5mm audio female socket to 2.54 terminal cable.
8. A silent sound transmission device for speech automation testing according to any one of claims 5 to 7, characterized in that: The A2B bus uses unshielded twisted pair UTP cable.