Vehicle voice function test method and system and electronic equipment

By obtaining the vehicle cockpit model and determining the test area, combining voice testing instructions and vehicle control permissions, the automation and efficiency of vehicle voice function testing is achieved, solving the problem of time-consuming, labor-intensive and accurate consistency of existing testing methods.

CN119996919APending Publication Date: 2025-05-13CHONGQING JINKANG NEW ENERGY VEHICLE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510144676.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-02-10
Publication Date
2025-05-13

AI Technical Summary

Technical Problem

Existing vehicle voice function tests require testers to test each voice zone separately, which is time-consuming and labor-intensive and easily affected by human factors, which reduces the testing efficiency of vehicle voice function.

Method used

By obtaining the cockpit model of the target vehicle, determining any audio control area as a test area, determining the test area instructions corresponding to the test area from the preset voice test instructions, and determining the desired feedback results based on the vehicle control authority of the test area, playing the instructions in the test area and collecting the feedback results to generate the area test results.

Benefits of technology

It realizes that different sound regions are tested separately, and the test benchmarks are automatically obtained, thus realizing test automation, which improves the testing efficiency of vehicle voice functions in two aspects.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119996919A_ABST
    Figure CN119996919A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of vehicle testing, and discloses a vehicle voice function testing method and system and electronic equipment. Any audio control area of the target vehicle is determined as the test area, the test area instruction corresponding to the test area is determined from the voice test instruction, the expected feedback result is determined according to the vehicle control authority corresponding to the test area, the test area instruction is played in the test area, and the instruction feedback result is collected, so that the target vehicle can be tested. Therefore, the area test result is generated according to the comparison result between the instruction feedback result and the expected feedback result, test area instructions are determined for different audio control areas respectively, different audio areas are tested respectively, vehicle control permissions are set for the different audio control areas respectively, and the test efficiency is improved. And the expected feedback result corresponding to the test area instruction is determined according to the vehicle control authority, and the test benchmark is automatically obtained, so that the test automation is realized, and the test efficiency of the vehicle voice function is improved from two aspects.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of vehicle testing, and in particular to a vehicle voice function testing method, system and electronic equipment. Background Art

[0002] In recent years, cockpit voice intelligence has been regarded by more and more users as one of the important reference factors for choosing vehicles due to its unique convenience and personalized experience. In order to achieve more accurate and humanized voice interaction, some models divide the cockpit into multiple independent sound zones, accurately capture and execute the user's voice commands according to different sound zones, and provide personalized and customized control experience based on different sound zones. For example, the passengers in the driver's seat and the front passenger seat can control their own entertainment system, air conditioning temperature, etc. through voice commands respectively, without interfering with each other, which greatly improves the comfort and convenience of riding.

[0003] However, current voice function testing requires testers to test each voice zone separately, which is not only time-consuming and labor-intensive, but also easily affects the accuracy and consistency of the test results due to human factors, thereby reducing the testing efficiency of the vehicle voice function. Summary of the invention

[0004] In order to provide a basic understanding of some aspects of the disclosed embodiments, a brief summary is given below. The summary is not an extensive review, nor is it intended to identify key / critical components or delineate the scope of protection of these embodiments, but rather serves as a prelude to the detailed description that follows.

[0005] In view of the above-mentioned shortcomings of the prior art, the present application provides a vehicle voice function testing method, system and electronic equipment to improve the testing efficiency of the vehicle voice function.

[0006] The present application provides a vehicle voice function testing method, comprising: obtaining a cockpit model corresponding to a target vehicle, wherein the cockpit model includes one or more audio control areas and vehicle control permissions corresponding to each of the audio control areas; determining any audio control area as a test area, determining a test area instruction corresponding to the test area from a plurality of preset voice test instructions, and determining an expected feedback result corresponding to the test area instruction according to the vehicle control permission corresponding to the test area; playing the test area instruction in the test area, and collecting the instruction feedback result of the target vehicle, so as to generate an area test result corresponding to the audio control area according to a comparison result between the instruction feedback result and the expected feedback result.

[0007] Optionally, the expected feedback result corresponding to the test area instruction is determined according to the vehicle control authority corresponding to the test area, including: obtaining the instruction type corresponding to the test area instruction; using the vehicle control authority corresponding to the test area and the instruction type corresponding to the test area instruction as current matching parameters, and matching from a preset expected result table according to the current matching parameters to obtain the expected feedback result corresponding to the current matching parameters, wherein the expected result table stores multiple original matching parameters and the original feedback results corresponding to each of the original matching parameters.

[0008] Optionally, the expected feedback result includes: if the vehicle control authority corresponding to the test area is driver authority, and the instruction type corresponding to the test area instruction belongs to driving-related instructions, the target vehicle is allowed to execute the test area instruction; if the vehicle control authority corresponding to the test area is driver authority, and the instruction type corresponding to the test area instruction belongs to seat-related instructions, the target control area is determined from the target vehicle according to the test area instruction, and the target control area is controlled to execute the test area instruction; if the vehicle control authority corresponding to the test area is passenger authority, and the instruction type corresponding to the test area instruction belongs to driving-related instructions, the target vehicle refuses to execute the test area instruction; if the vehicle control authority corresponding to the test area is passenger authority, and the instruction type corresponding to the test area instruction belongs to seat-related instructions, the current control area is determined from the target vehicle according to the test area, and the current control area is controlled to execute the test area instruction; if the vehicle control authority corresponding to the test area is driver authority and / or passenger authority, and the instruction type corresponding to the test area instruction belongs to entertainment-related instructions or query-related instructions, the target vehicle is allowed to execute the test area instruction.

[0009] Optionally, playing the test area instruction in the test area includes: setting an audio playback device in the test area; if the test area instruction is in a text format, converting the test area instruction from the text format to an audio format to obtain a current audio instruction, and playing the current audio instruction through the audio playback device.

[0010] Optionally, collecting the command feedback result of the target vehicle includes at least one of the following: if the target vehicle is provided with an audio collection device, audio is collected from a cabin speaker in the target vehicle through the audio collection device to obtain feedback audio data, and the feedback audio data is converted from an audio format to a text format to obtain a command feedback result; if the target vehicle is provided with a data collection device, the data collection device is connected to an on-board diagnostic interface of the target vehicle, and the whole vehicle signal of the target vehicle is collected through the data collection device to obtain a command feedback result.

[0011] Optionally, determining the test area instructions corresponding to the test area from a plurality of preset voice test instructions includes: if the target vehicle is provided with a plurality of sound receiving devices, obtaining the sound receiving device information corresponding to each of the sound receiving devices, wherein the sound receiving device information includes the device position and the sound receiving range; mapping each of the sound receiving devices to the cockpit model according to the sound receiving device information to obtain the sound receiving areas corresponding to each of the sound receiving devices; dividing the test area into a plurality of overlapping areas according to the overlapping relationship between each of the sound receiving areas and the test area, and determining the number of test instructions for each of the overlapping areas according to the number of overlaps of the sound receiving areas in the overlapping areas, wherein there is a positive correlation between the number of overlaps and the number of test instructions; determining the overlapping area instructions corresponding to each of the overlapping areas from each of the voice test instructions according to the number of test instructions, and using the overlapping area instructions corresponding to each of the overlapping areas as the test area instructions corresponding to the test area.

[0012] Optionally, the overlapping area instructions corresponding to each of the overlapping areas are respectively determined from the voice test instructions according to the number of test instructions, including: pre-setting the test priority corresponding to each of the voice test instructions; and determining each of the voice test instructions as the overlapping area instruction corresponding to the overlapping area in order of test priority from high to low until the number of overlapping area instructions meets the number of test instructions corresponding to the overlapping area.

[0013] The present application provides a vehicle voice function testing system, comprising: an acquisition module, used to acquire a cockpit model corresponding to a target vehicle, wherein the cockpit model includes one or more audio control areas and vehicle control permissions corresponding to each of the audio control areas; a determination module, used to determine any audio control area as a test area, determine a test area instruction corresponding to the test area from a plurality of preset voice test instructions, and determine an expected feedback result corresponding to the test area instruction according to the vehicle control permission corresponding to the test area; a testing module, used to play the test area instruction in the test area, and collect the instruction feedback result of the target vehicle, so as to generate an area test result corresponding to the audio control area according to a comparison result between the instruction feedback result and the expected feedback result.

[0014] Optionally, the test module includes: an audio conversion unit, which is used to convert the test area instruction from text format to audio format if the test area instruction is in text format, so as to obtain a current audio instruction; an audio playback unit, which is used to play the current audio instruction; an audio receiving unit, which is used to receive feedback audio data of the target vehicle; a text conversion unit, which is used to convert the feedback audio data from audio format to text format if the instruction feedback result is to obtain an instruction feedback result; and a signal receiving unit, which is used to receive the whole vehicle signal of the target vehicle.

[0015] The present application provides an electronic device, comprising: a processor and a memory; the memory is used to store a computer program, and the processor is used to execute the computer program stored in the memory, so that the electronic device executes the above method.

[0016] Beneficial effects of this application:

[0017] By determining any audio control area of ​​the target vehicle as a test area, determining the test area instruction corresponding to the test area from the voice test instruction, and determining the expected feedback result according to the vehicle control authority corresponding to the test area, the test area instruction is played in the test area, and the instruction feedback result is collected, so as to generate the area test result according to the comparison result between the instruction feedback result and the expected feedback result. In this way, compared with the unified test of different audio control areas, not only the test area instructions are determined for different audio control areas respectively, and different sound areas are tested separately, but also the vehicle control authority is set for different audio control areas respectively, and the expected feedback result corresponding to the test area instruction is determined according to the vehicle control authority, and the test benchmark is automatically obtained, thereby realizing test automation, and improving the test efficiency of the vehicle voice function from two aspects. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] Figure 1 It is a flow chart of a vehicle voice function testing method in an embodiment of the present application;

[0019] Figure 2 is a schematic diagram of an audio control area in an embodiment of the present application;

[0020] Figure 3 is a schematic diagram of an overlapping area in an embodiment of the present application;

[0021] Figure 4 It is a structural diagram of a system architecture for implementing a vehicle voice function testing method in an embodiment of the present application;

[0022] Figure 5 It is a structural schematic diagram of a vehicle voice function test system in an embodiment of the present application;

[0023] Figure 6 It is a schematic diagram of the structure of an electronic device in an embodiment of the present invention. DETAILED DESCRIPTION

[0024] The following describes the embodiments of the present invention through specific examples, and those skilled in the art can easily understand other advantages and effects of the present invention from the contents disclosed in this specification. The present invention can also be implemented or applied through other different specific embodiments, and the details in this specification can also be modified or changed in various ways based on different viewpoints and applications without departing from the spirit of the present invention. It should be noted that the following embodiments and sub-samples in the embodiments can be combined with each other without conflict.

[0025] It should be noted that the illustrations provided in the following embodiments are only schematic illustrations of the basic concept of the present invention, and thus the drawings only show components related to the present invention rather than being drawn according to the number, shape and size of components in actual implementation. In actual implementation, the type, quantity and proportion of each component may be changed arbitrarily, and the component layout may also be more complicated.

[0026] In the following description, numerous details are discussed to provide a more thorough explanation of the embodiments of the present invention. However, it is obvious to those skilled in the art that the embodiments of the present invention can be implemented without these specific details. In other embodiments, well-known structures and devices are shown in the form of block diagrams rather than in detail to avoid making the embodiments of the present invention difficult to understand.

[0027] The terms "first", "second", etc. in the specification and claims of the embodiments of the present disclosure and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the terms used in this way can be interchanged where appropriate, so that the embodiments of the embodiments of the present disclosure described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions.

[0028] Unless otherwise stated, the term "plurality" means two or more.

[0029] In the embodiment of the present disclosure, the character " / " indicates that the preceding and following objects are in an "or" relationship. For example, A / B indicates: A or B.

[0030] The term "and / or" is a description of the association relationship between objects, indicating that three relationships can exist. For example, A and / or B means: A or B, or, A and B.

[0031] Combination Figure 1 As shown, the embodiment of the present disclosure provides a vehicle voice function testing method, comprising:

[0032] Step S101, obtaining a cockpit model corresponding to a target vehicle;

[0033] The cockpit model includes one or more audio control areas and the vehicle control authority corresponding to each audio control area;

[0034] Step S102, determining any audio control area as a test area, and determining a test area instruction corresponding to the test area from a plurality of preset voice test instructions;

[0035] Step S103, determining the expected feedback result corresponding to the test area instruction according to the vehicle control authority corresponding to the test area;

[0036] Step S104, playing the test area command in the test area, and collecting the command feedback result of the target vehicle, so as to generate the area test result corresponding to the audio control area according to the comparison result between the command feedback result and the expected feedback result.

[0037] The vehicle voice function test method provided by the embodiment of the present disclosure is adopted, by determining any audio control area of ​​the target vehicle as a test area, determining the test area instruction corresponding to the test area from the voice test instruction, and determining the expected feedback result according to the vehicle control authority corresponding to the test area, by playing the test area instruction in the test area, and collecting the instruction feedback result, thereby generating a regional test result according to the comparison result between the instruction feedback result and the expected feedback result. In this way, compared with the unified test of different audio control areas, not only the test area instructions are determined for different audio control areas respectively, and different sound zones are tested separately, but also the vehicle control authority is set for different audio control areas respectively, and the expected feedback result corresponding to the test area instruction is determined according to the vehicle control authority, and the test benchmark is automatically obtained, thereby realizing test automation, and improving the test efficiency of the vehicle voice function from two aspects.

[0038] Optionally, a test area instruction corresponding to the test area is determined from a plurality of preset voice test instructions, including: if the target vehicle is provided with a plurality of sound receiving devices, obtaining sound receiving device information corresponding to each sound receiving device, wherein the sound receiving device information includes a device position and a sound receiving range; mapping each sound receiving device to a cockpit model according to the sound receiving device information to obtain a sound receiving area corresponding to each sound receiving device; dividing the test area into a plurality of overlapping areas according to an overlapping relationship between each sound receiving area and the test area, and determining the number of test instructions for each overlapping area according to the number of overlapping sound receiving areas in the overlapping area, wherein the overlapping number and the number of test instructions are positively correlated; determining the overlapping area instructions corresponding to each overlapping area from each voice test instruction according to the number of test instructions, and using the overlapping area instructions corresponding to each overlapping area as the test area instruction corresponding to the test area.

[0039] In some embodiments, the preset voice test instruction is a sample of an audio test, which is determined by collecting voice commands commonly used by users, for example, "Please open the window", "Please turn up the volume", "Turn on seat heating", etc.; if the instruction format of the voice test instruction is in audio format, the voice test instruction is played by an audio playback device set in the audio control area to implement a test of the voice test instruction; if the instruction format of the voice test instruction is in text format, the voice test instruction is converted from text format to audio format, and the voice test instruction in audio format is played by an audio playback device set in the audio control area to implement a test of the voice test instruction.

[0040] In some embodiments, the audio control area includes one or more of a driver area, a co-pilot area, a passenger area, a front row area, a middle row area, and a rear row area.

[0041] Combination Figure 2 As shown, an embodiment of the present disclosure provides an audio control area, including a driver area 1, a co-pilot area 2, a middle row area 3, a middle row area 4, a rear row area 5, and a rear row area 6.

[0042] In some embodiments, it is assumed that a target intelligent vehicle is equipped with multiple radio devices; a cockpit model of the vehicle is created using 3D modeling software, and each radio device is mapped to the model based on the radio device information, and its radio range is marked; the cockpit model is divided into multiple test areas based on the actual usage scenario of the vehicle, such as the driver area, the co-pilot area, the rear passenger area, etc., and the overlap between each test area and the radio device radio area is analyzed to determine the number of test instructions for each overlapping area based on the number of overlapping radio devices in the overlapping area. The more overlapping numbers, the more likely it is that the voice signals received in the area may come from multiple radio devices, so more test instructions are needed to verify the processing capability and accuracy of the system.

[0043] Combination Figure 3As shown, the embodiment of the present disclosure provides an overlapping area; four sound receiving devices are arranged in the driver's area, including sound receiving device 1, sound receiving device 2, sound receiving device 3 and sound receiving device 4, which are respectively located at the vehicle A-pillar, vehicle B-pillar, driver's headrest and center console, and the sound receiving range of each sound receiving device is different; the sound receiving devices are respectively mapped to the cockpit model according to the device position, and the sound receiving areas corresponding to each sound receiving device are formed according to the sound receiving range with the sound receiving device as the center; because there may be overlaps between the sound receiving areas, the driver's area is divided into different overlapping areas according to the overlapping edges, wherein the sound receiving areas corresponding to the sound receiving devices 1, 2 and 4 respectively overlap in the overlapping area A, and the sound receiving areas at the sound receiving position 1 are respectively mapped to the cockpit model according to the sound receiving range, and the sound receiving areas corresponding to the sound receiving devices are respectively mapped to the cockpit model according to the sound receiving range, and the sound receiving areas ... The sound receiving areas corresponding to the sound receiving position 2 overlap with the overlapping area B, the sound receiving areas corresponding to the sound receiving position 1 and the sound receiving position 4 overlap with the overlapping area C, the overlapping area D only overlaps with the sound receiving area corresponding to the sound receiving position 1, and there is no intersection among the overlapping area A, the overlapping area B, the overlapping area C and the overlapping area D; the number of test instructions for each overlapping area is determined according to the number of overlaps of the sound receiving areas, for example, if the number of overlaps of the overlapping area A is 3, then the number of test instructions for the overlapping area A is 30, the number of overlaps of the overlapping area B is 2, then the number of test instructions for the overlapping area A is 25, the number of overlaps of the overlapping area D is 1, then the number of test instructions for the overlapping area D is 15.

[0044] Optionally, overlapping area instructions corresponding to each overlapping area are determined respectively from each voice test instruction according to the number of test instructions, including: pre-setting the test priority corresponding to each voice test instruction; determining each voice test instruction as the overlapping area instruction corresponding to the overlapping area in order of test priority from high to low, until the number of overlapping area instructions meets the number of test instructions corresponding to the overlapping area.

[0045] In some embodiments, if the number of voice test instructions is 30, the voice test instructions are sorted in descending order of test priority; if the number of test instructions corresponding to the overlapping area D is 15, the first 15 voice test instructions are used as the overlapping area instructions corresponding to the overlapping area D.

[0046] Optionally, the expected feedback result corresponding to the test area instruction is determined according to the vehicle control authority corresponding to the test area, including: obtaining the instruction type corresponding to the test area instruction; using the vehicle control authority corresponding to the test area and the instruction type corresponding to the test area instruction as current matching parameters, and matching from a preset expected result table according to the current matching parameters to obtain the expected feedback result corresponding to the current matching parameters, wherein the expected result table stores multiple original matching parameters and the original feedback results corresponding to each original matching parameter.

[0047] In some embodiments, the vehicle control permissions corresponding to the driver area include driver permissions and passenger permissions; the vehicle control permissions corresponding to the passenger area, front row area, middle row area and rear row area are all passenger permissions.

[0048] In some embodiments, the instruction type corresponding to the test area instruction includes driving-related instructions, seat-related instructions, entertainment-related instructions, or query-related instructions.

[0049] In some embodiments, the command authority of driving-related instructions is the highest, and only the driver area has the authority to input driving-related instructions. If there is no driver authority, after entering the driving-related instructions, the target vehicle will feedback a voice feedback prompt of "insufficient authority at the current location"; if the vehicle control authority of the test area is passenger authority, the seat-related instructions of the test area only control the devices that can be controlled by the test area. For example, if the seat-related instruction of the rear user is to open the rear window, the seat-related instruction is executed. If the seat-related instruction of the rear user is to open the front window, the seat-related instruction is refused to be executed; if the vehicle control authority of the test area is driver authority, the seat-related instructions of the test area can control all devices, including opening the front and rear windows, adjusting the rear air-conditioning temperature, etc.; the command authority of test area instructions such as entertainment-related instructions or query-related instructions is low, and both driver authority and passenger authority can input the test area instructions, and the execution results are the same.

[0050] Optionally, the expected feedback result includes: if the vehicle control authority corresponding to the test area is driver authority, and the instruction type corresponding to the test area instruction belongs to driving-related instructions, the target vehicle is allowed to execute the test area instruction; if the vehicle control authority corresponding to the test area is driver authority, and the instruction type corresponding to the test area instruction belongs to seat-related instructions, the target control area is determined from the target vehicle according to the test area instruction, and the target control area is controlled to execute the test area instruction; if the vehicle control authority corresponding to the test area is passenger authority, and the instruction type corresponding to the test area instruction belongs to driving-related instructions, the target vehicle refuses to execute the test area instruction; if the vehicle control authority corresponding to the test area is passenger authority, and the instruction type corresponding to the test area instruction belongs to seat-related instructions, the current control area is determined from the target vehicle according to the test area, and the current control area is controlled to execute the test area instruction; if the vehicle control authority corresponding to the test area is driver authority and / or passenger authority, and the instruction type corresponding to the test area instruction belongs to entertainment-related instructions or query-related instructions, the target vehicle is allowed to execute the test area instruction.

[0051] In some embodiments, the driving-related instruction is "HUD on / off". When the vehicle control authority corresponding to the test area is the driver's authority, the driver has the authority to execute the driving-related instruction, and the passengers in other areas cannot execute the driving-related instruction.

[0052] In some embodiments, if the seat-related instruction of any test area is "turn on seat heating", the seat-related instruction is executed for the seat heating function of the test area; if the seat-related instruction of any test area is "turn on reading light", the reading light of the test area is turned on.

[0053] In some embodiments, the seat-related instruction has a specified location, such as "turn on the front passenger heating", and the seat-related instruction can only be executed if the test area is the driver area or the front passenger area.

[0054] In some embodiments, if the entertainment-related instruction in any test area is "turn on the atmosphere light", the cabin atmosphere light will be turned on.

[0055] In some embodiments, if the query-related instruction of any test area is "what time is it now", the time will be broadcast.

[0056] Optionally, playing the test area instruction in the test area includes: setting an audio playback device in the test area; if the test area instruction is in text format, converting the test area instruction from text format to audio format to obtain a current audio instruction, and playing the current audio instruction through the audio playback device.

[0057] In some embodiments, the voice instruction text in the test script is converted into standard audio; the audio is converted into standard format audio, and the programmable sound acquisition card controls the designated artificial mouth to play the audio.

[0058] Optionally, collecting the command feedback result of the target vehicle includes at least one of the following: if the target vehicle is provided with an audio collection device, collecting audio from a cabin speaker in the target vehicle through the audio collection device to obtain feedback audio data, and converting the feedback audio data from an audio format to a text format to obtain a command feedback result; if the target vehicle is provided with a data collection device, connecting the data collection device to an on-board diagnostic interface of the target vehicle, and collecting the entire vehicle signal of the target vehicle through the data collection device to obtain a command feedback result.

[0059] In some embodiments, the microphone provided in the control computer collects vehicle feedback audio and converts the audio into standard format audio; the standard format audio is converted into text to obtain the instruction feedback result.

[0060] In some embodiments, the data acquisition device is connected to an OBD (On-Board Diagnostics) interface.

[0061] Combination Figure 4 As shown, an embodiment of the present disclosure provides a system architecture for implementing a vehicle voice function testing method, including a target vehicle 401 and an external device 402 arranged in a test area, wherein the target vehicle 401 includes a sound receiving device 4011, an on-board diagnostic system 4012, a cabin speaker 4013 and a voice function module 4014, and the external device 402 includes a script acquisition module 4021, an automated testing module 4022, an audio playback device 4023, an audio acquisition device 4024, and a data acquisition device 4025.

[0062] The sound receiving device 4011 is connected to the voice function module, wherein the microphone is used to receive the test area instruction.

[0063] The on-board diagnostic system 4012 is connected to the voice function module, wherein the on-board diagnostic system is used to collect the whole vehicle signal corresponding to the test area instruction after executing the test area instruction.

[0064] The cockpit speaker 4013 is connected to the voice function module, wherein the cockpit speaker is used to play the feedback audio data corresponding to the test area command.

[0065] The voice function module 4014 is used to execute the test area instruction and generate feedback audio data corresponding to the test area instruction.

[0066] The script acquisition module 4021 is connected to the automated test module, wherein the script acquisition module is used to input a voice test script into the automated test module, wherein the voice test script includes a test area instruction and an expected feedback result.

[0067] The automated test module 4022 includes an audio conversion unit, an audio playback unit, an audio receiving unit, a text conversion unit and a signal receiving unit, wherein the audio conversion unit is used to convert the test area instruction from text format to audio format if the test area instruction is in text format, so as to obtain the current audio instruction; the audio playback unit is used to control the audio playback device to play the current audio instruction; the audio receiving unit is used to receive feedback audio data of the target vehicle; the text conversion unit is used to convert the feedback audio data from audio format to text format if the instruction feedback result is to obtain the instruction feedback result; and the signal receiving unit is used to receive the whole vehicle signal of the target vehicle.

[0068] The audio playback device 4023 includes a simulated artificial mouth, and the audio playback device is connected to the audio playback unit, wherein the audio playback device is used to play the current audio instruction to the sound receiving device.

[0069] The audio collection device 4024 is connected to the audio receiving unit, wherein the audio collection device is used to collect feedback audio data of the target vehicle from the cockpit speaker.

[0070] The data acquisition device 4025 is connected to the signal receiving unit, wherein the data acquisition device is used to collect the whole vehicle signal of the target vehicle from the on-board diagnostic system.

[0071] Combination Figure 5 As shown, an embodiment of the present disclosure provides a vehicle voice function testing system, including an acquisition module 501 , a determination module 502 and a testing module 503 .

[0072] The acquisition module 501 is used to acquire a cockpit model corresponding to the target vehicle, wherein the cockpit model includes one or more audio control areas and vehicle control permissions corresponding to each audio control area.

[0073] The determination module 502 is used to determine any audio control area as a test area, determine a test area instruction corresponding to the test area from a plurality of preset voice test instructions, and determine an expected feedback result corresponding to the test area instruction according to the vehicle control authority corresponding to the test area.

[0074] The test module 503 is used to play the test area command in the test area and collect the command feedback result of the target vehicle to generate the area test result corresponding to the audio control area according to the comparison result between the command feedback result and the expected feedback result.

[0075] The vehicle voice function test system provided by the embodiment of the present disclosure is adopted, by determining any audio control area of ​​the target vehicle as a test area, determining the test area instruction corresponding to the test area from the voice test instruction, and determining the expected feedback result according to the vehicle control authority corresponding to the test area, by playing the test area instruction in the test area, and collecting the instruction feedback result, thereby generating a regional test result according to the comparison result between the instruction feedback result and the expected feedback result. In this way, compared with the unified test of different audio control areas, not only the test area instructions are determined for different audio control areas respectively, and different sound zones are tested separately, but also the vehicle control authority is set for different audio control areas respectively, and the expected feedback result corresponding to the test area instruction is determined according to the vehicle control authority, and the test benchmark is automatically obtained, thereby realizing test automation, and improving the test efficiency of the vehicle voice function from two aspects.

[0076] Optionally, the test module includes: an audio conversion unit, which is used to convert the test area instruction from text format to audio format if the test area instruction is in text format, so as to obtain the current audio instruction; an audio playback unit, which is used to play the current audio instruction; an audio receiving unit, which is used to receive feedback audio data of the target vehicle; a text conversion unit, which is used to convert the feedback audio data from audio format to text format if the instruction feedback result is to obtain the instruction feedback result; and a signal receiving unit, which is used to receive the whole vehicle signal of the target vehicle.

[0077] An embodiment of the present disclosure further provides an electronic device, including: a processor and a memory; the memory is used to store a computer program, and the processor is used to execute the computer program stored in the memory, so that the electronic device executes the above method.

[0078] Figure 6 The structure diagram of the computer system suitable for implementing the electronic device of the embodiment of the present application is shown. It should be noted that: Figure 6 The computer system 600 of the electronic device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.

[0079] like Figure 6 As shown, the computer system 600 includes a central processing unit (CPU) 601, which can perform various appropriate actions and processes according to the program stored in the read-only memory (ROM) 602 or the program loaded from the storage part 608 to the random access memory (RAM) 603, such as executing the method in the above embodiment. In the RAM 603, various programs and data required for system operation are also stored. The CPU 601, ROM 602 and RAM 603 are connected to each other through a bus 604. An input / output (I / O) interface 605 is also connected to the bus 604.

[0080] The following components are connected to the I / O interface 605: an input section 606 including a keyboard, a mouse, etc.; an output section 607 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker, etc.; a storage section 608 including a hard disk, etc.; and a communication section 609 including a network interface card such as a LAN (Local Area Network) card, a modem, etc. The communication section 609 performs communication processing via a network such as the Internet. A drive 610 is also connected to the I / O interface 605 as needed. A removable medium 611, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 610 as needed so that a computer program read therefrom is installed into the storage section 608 as needed.

[0081] The electronic device disclosed in this embodiment includes a processor, a memory, a transceiver and a communication interface. The memory and the communication interface are connected to the processor and the transceiver and complete communication with each other. The memory is used to store computer programs, the communication interface is used to communicate, and the processor and the transceiver are used to run the computer program so that the electronic device executes each step of the above method.

[0082] The above description and the accompanying drawings fully illustrate the embodiments of the present disclosure so that those skilled in the art can practice them. Other embodiments may include structural, logical, electrical, process and other changes. The embodiments represent possible changes only. Unless explicitly required, separate components and functions are optional, and the order of operation can be changed. Parts and sub-samples of some embodiments may be included in or replace parts and sub-samples of other embodiments. Moreover, the words used in this application are only used to describe the embodiments and are not used to limit the claims. As used in the description of the embodiments and the claims, unless the context clearly indicates, the singular forms of "a", "an" and "the" are intended to include plural forms as well. Similarly, the term "and / or" as used in this application refers to any and all possible combinations of listings containing one or more associated ones. In addition, when used in the present application, the term "comprise" and its variants "comprises" and / or comprising refer to the presence of a stated sub-sample, whole, step, operation, element, and / or component, but do not exclude the presence or addition of one or more other sub-samples, wholes, steps, operations, elements, components and / or groups of these. In the absence of further restrictions, the elements defined by the sentence "comprising a ..." do not exclude the presence of other identical elements in the process, method or device comprising the elements. In this article, each embodiment may focus on the differences from other embodiments, and the same and similar parts between the various embodiments may refer to each other. For the methods, products, etc. disclosed in the embodiments, if they correspond to the method part disclosed in the embodiments, then the relevant parts can refer to the description of the method part.

[0083] Those skilled in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software may depend on the specific application and design constraints of the technical solution. Technicians can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the embodiments of the present disclosure. Technicians can clearly understand that for the convenience and simplicity of description, the specific working process of the above-described system, device and unit can refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here.

[0084] In the embodiments disclosed herein, the disclosed methods and products (including but not limited to devices, equipment, etc.) can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of units can be only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some sub-samples can be ignored or not executed. In addition, the coupling or direct coupling or communication connection between each other shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms. The units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the units may be selected according to actual needs to implement this embodiment. In addition, each functional unit in the embodiment of the present disclosure may be integrated in a processing unit, or each unit may exist physically alone, or two or more units may be integrated in one unit.

[0085] The flowchart and block diagram in the accompanying drawings show the possible architecture, functions and operations of the system, method and computer program product according to the embodiment of the present disclosure. In this regard, each box in the flowchart or block diagram can represent a module, a program segment or a part of the code, and a part of the module, program segment or code contains one or more executable instructions for realizing the specified logical function. In some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two consecutive boxes can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, which can depend on the functions involved. In the description corresponding to the flowchart and block diagram in the accompanying drawings, the operations or steps corresponding to different boxes can also occur in a different order from the order disclosed in the description, and sometimes there is no specific order between different operations or steps. For example, two consecutive operations or steps can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, which can depend on the functions involved. Each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, may be implemented by a dedicated hardware-based system that performs the specified functions or actions, or may be implemented by a combination of dedicated hardware and computer instructions.

Claims

1. A vehicle voice function testing method, characterized in that: include: Acquire a cockpit model corresponding to the target vehicle, wherein the cockpit model includes one or more audio control areas and vehicle control permissions corresponding to each of the audio control areas; Determine any audio control area as a test area, determine a test area instruction corresponding to the test area from a plurality of preset voice test instructions, and determine an expected feedback result corresponding to the test area instruction according to the vehicle control authority corresponding to the test area; The test area command is played in the test area, and the command feedback result of the target vehicle is collected, so as to generate an area test result corresponding to the audio control area according to a comparison result between the command feedback result and the expected feedback result.

2. The vehicle voice function testing method according to claim 1, characterized in that: Determining an expected feedback result corresponding to the test area instruction according to the vehicle control authority corresponding to the test area includes: Obtaining the instruction type corresponding to the test area instruction; The vehicle control authority corresponding to the test area and the instruction type corresponding to the test area instruction are used as current matching parameters, and matching is performed from a preset expected result table according to the current matching parameters to obtain expected feedback results corresponding to the current matching parameters, wherein the expected result table stores multiple original matching parameters and original feedback results corresponding to each of the original matching parameters.

3. The vehicle voice function testing method according to claim 2, characterized in that: The expected feedback results include: If the vehicle control authority corresponding to the test area is the driver's authority, and the instruction type corresponding to the test area instruction belongs to the driving-related instruction, the target vehicle is allowed to execute the test area instruction; If the vehicle control authority corresponding to the test area is the driver's authority, and the instruction type corresponding to the test area instruction belongs to the seat-related instruction, then determining a target control area from the target vehicle according to the test area instruction, and controlling the target control area to execute the test area instruction; If the vehicle control authority corresponding to the test area is passenger authority, and the instruction type corresponding to the test area instruction belongs to a driving-related instruction, the target vehicle refuses to execute the test area instruction; If the vehicle control authority corresponding to the test area is a passenger authority, and the instruction type corresponding to the test area instruction belongs to a seat-related instruction, then determining a current control area from the target vehicle according to the test area, and controlling the current control area to execute the test area instruction; If the vehicle control authority corresponding to the test area is driver authority and / or passenger authority, and the instruction type corresponding to the test area instruction belongs to entertainment-related instructions or query-related instructions, the target vehicle is allowed to execute the test area instruction.

4. The vehicle voice function testing method according to claim 1, characterized in that: Playing the test area instruction in the test area includes: An audio playback device is provided in the test area; If the test area instruction is in a text format, the test area instruction is converted from the text format to an audio format to obtain a current audio instruction, and the current audio instruction is played through the audio playback device.

5. The vehicle voice function testing method according to claim 4, characterized in that: Collecting the command feedback result of the target vehicle includes at least one of the following: If the target vehicle is provided with an audio collection device, the audio is collected from a cabin speaker in the target vehicle by the audio collection device to obtain feedback audio data, and the feedback audio data is converted from an audio format to a text format to obtain a command feedback result; If the target vehicle is provided with a data acquisition device, the data acquisition device is connected to the on-board diagnostic interface of the target vehicle, and the whole vehicle signal of the target vehicle is collected by the data acquisition device to obtain the instruction feedback result.

6. The vehicle voice function testing method according to any one of claims 1 to 5, characterized in that: Determining a test area instruction corresponding to the test area from a plurality of preset voice test instructions includes: If the target vehicle is provided with a plurality of sound receiving devices, then obtaining the sound receiving device information corresponding to each of the sound receiving devices, wherein the sound receiving device information includes the device position and the sound receiving range; Mapping each of the sound receiving devices to the cockpit model according to the sound receiving device information to obtain a sound receiving area corresponding to each of the sound receiving devices; Dividing the test area into a plurality of overlapping areas according to the overlapping relationship between each of the sound receiving areas and the test area, and determining the number of test instructions for each of the overlapping areas according to the number of overlaps of the sound receiving areas in the overlapping areas, wherein there is a positive correlation between the number of overlaps and the number of test instructions; The overlapping area instructions corresponding to each overlapping area are respectively determined from each of the voice test instructions according to the number of test instructions, and the overlapping area instructions corresponding to each of the overlapping areas are used as the test area instructions corresponding to the test area.

7. The vehicle voice function testing method according to claim 6, characterized in that: Determining the overlapping area instructions corresponding to each overlapping area from each of the voice test instructions according to the number of the test instructions, including: Presetting the test priorities corresponding to the voice test instructions; The voice test instructions are determined as overlapping area instructions corresponding to the overlapping area in order from high to low test priority, until the number of overlapping area instructions meets the number of test instructions corresponding to the overlapping area.

8. A vehicle voice function test system, characterized in that: include: An acquisition module, used to acquire a cockpit model corresponding to a target vehicle, wherein the cockpit model includes one or more audio control areas and vehicle control permissions corresponding to each of the audio control areas; A determination module, used to determine any audio control area as a test area, determine a test area instruction corresponding to the test area from a plurality of preset voice test instructions, and determine an expected feedback result corresponding to the test area instruction according to the vehicle control authority corresponding to the test area; The test module is used to play the test area command in the test area and collect the command feedback result of the target vehicle, so as to generate an area test result corresponding to the audio control area according to the comparison result between the command feedback result and the expected feedback result.

9. The vehicle voice function test system according to claim 8, characterized in that: The test module includes: an audio conversion unit, configured to convert the test area instruction from the text format to the audio format if the test area instruction is in the text format, so as to obtain a current audio instruction; An audio playback unit, used for playing the current audio instruction; An audio receiving unit, used for receiving feedback audio data of the target vehicle; a text conversion unit, configured to convert the feedback audio data from an audio format to a text format to obtain an instruction feedback result if the instruction feedback result is a text conversion unit; A signal receiving unit is used to receive the whole vehicle signal of the target vehicle.

10. An electronic device, characterized in that: include: Processor and memory; The memory is used to store a computer program, and the processor is used to execute the computer program stored in the memory, so that the electronic device executes the method according to any one of claims 1 to 7.