Intelligent cockpit voice recognition test method and system, electronic equipment and storage medium
Through simulated speech and noise automation testing, the problem of low efficiency and reliability of smart cockpit speech recognition test in the prior art is solved, automated comparison and report generation are realized, and the efficiency and consistency of the test are improved.
Patent Information
- Application Number
- CN202411225455.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-03
- Publication Date
- 2024-11-19
AI Technical Summary
In the prior art, the efficiency and reliability of the smart cockpit voice recognition test are low, mainly because the test requires manual repeated comparison of voice interaction and response results, resulting in fatigue and errors among testers, making it difficult to ensure the consistency of the test.
Simulated voice information and scene noise are used for automated testing, voice input information is collected and recognized through the cockpit system to be tested, a test report is generated, and the actual response action and the expected response action are automatically compared, and the test is judged that the test has passed or failed.
It improves the efficiency and reliability of the smart cockpit speech recognition test, reduces manual intervention, and ensures the consistency and accuracy of the test results.
Smart Images

Figure CN118982991A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of vehicle testing technology, and in particular to an intelligent cockpit voice recognition testing method, system, electronic equipment and storage medium. Background Art
[0002] With the rapid development of Internet of Vehicles technology, intelligent voice has become a very important component of contemporary car cockpits, providing users with a rich driving experience, helping drivers to realize many functions during driving, and improving driving safety and convenience, such as navigation control, phone call control, music playback control, etc. At present, most vehicle manufacturers use manual testing to test the intelligent voice function of the cockpit. Due to the large number of test functions, it takes a lot of time to repeatedly perform voice interactions to test the voice wake-up, voice recognition, voice execution and other functions of the vehicle computer. Testers need to repeatedly execute the same test cases, which is prone to fatigue and mistakes. At the same time, it is difficult to ensure the consistency of each test, which affects the efficiency and reliability of the intelligent cockpit voice recognition test. Summary of the invention
[0003] The purpose of the present invention is to solve one of the technical problems existing in the prior art to at least a certain extent.
[0004] To this end, an object of an embodiment of the present invention is to provide a smart cockpit speech recognition test method, which improves the efficiency and reliability of the smart cockpit speech recognition test.
[0005] Another object of an embodiment of the present invention is to provide an intelligent cockpit speech recognition test system.
[0006] In order to achieve the above technical objectives, the technical solutions adopted by the embodiments of the present invention include:
[0007] On the one hand, an embodiment of the present invention provides a smart cockpit speech recognition test method, comprising the following steps:
[0008] Acquire a preset voice test sequence, wherein the voice test sequence includes a plurality of voice test cases, each of which includes a voice input instruction, a voice input scenario, and an expected response action;
[0009] Generate simulated voice information according to the voice input instruction, generate simulated scene noise according to the voice input scene, and then broadcast the simulated voice information and the simulated scene noise;
[0010] The simulated voice information and the simulated scene noise are collected by the cockpit system to obtain voice input information, and the voice input information is recognized and responded to, and then the voice response result is broadcasted;
[0011] The voice response result is obtained, an actual response action of the cockpit system to be tested is determined according to the voice response result, the actual response action is then compared with the expected response action, and a test report is generated according to the comparison result.
[0012] Further, in one embodiment of the present invention, generating simulated voice information according to the voice input instruction, generating simulated scene noise according to the voice input scene, and then broadcasting the simulated voice information and the simulated scene noise, which specifically includes:
[0013] The voice test sequence is read and parsed by the automated test software of the host computer to obtain the voice input instruction, the voice input scenario and the expected response action;
[0014] Generate the simulated voice information according to the voice input instruction through the audio synthesis module of the host computer, and generate the simulated scene noise according to the voice input scene;
[0015] The audio control board controls the first simulation audio module to broadcast the simulation voice information, and controls the second simulation audio module to broadcast the simulation scene noise.
[0016] Further, in one embodiment of the present invention, the simulated voice information and the simulated scene noise are collected by the cockpit system to be tested to obtain voice input information, and the voice input information is recognized and responded to, and then the voice response result is broadcasted, which specifically includes:
[0017] The simulated voice information and the simulated scene noise are collected by using a vehicle microphone of the cockpit system to be tested to obtain the voice input information;
[0018] Performing voice recognition on the voice input information by the cockpit system to be tested to obtain a first control instruction, performing an action response according to the first control instruction, and generating the voice response result;
[0019] The voice response result is broadcasted through the vehicle speaker of the cockpit system to be tested.
[0020] Further, in an embodiment of the present invention, the acquiring the voice response result and determining the actual response action of the cockpit system to be tested according to the voice response result specifically includes:
[0021] Acquire the voice response result through a voice acquisition device, and transmit the voice response result to a host computer;
[0022] The voice response result is subjected to voice recognition by a voice recognition module of the host computer to obtain the actual response action.
[0023] Further, in one embodiment of the present invention, comparing the actual response action with the expected response action and generating a test report according to the comparison result specifically includes:
[0024] Determine an actual response object and an actual operation action according to the actual response action, and determine an expected response object and an expected operation action according to the expected response action;
[0025] Comparing the actual response object with the expected response object, and comparing the actual operation action with the expected operation action;
[0026] When the actual response object is consistent with the expected response object, and the actual operation action is consistent with the expected operation action, it is determined that the corresponding voice test case test has passed;
[0027] The test report is generated according to the test results of each of the voice test cases.
[0028] Furthermore, in one embodiment of the present invention, the voice test case further includes a response waiting time, and the smart cockpit voice recognition test method further includes the following steps:
[0029] If no voice response result is obtained within the response waiting time, it is determined that the corresponding voice test case test fails.
[0030] On the other hand, an embodiment of the present invention provides an intelligent cockpit speech recognition test system, including:
[0031] A test sequence acquisition module, used to acquire a preset voice test sequence, wherein the voice test sequence includes a plurality of voice test cases, each of which includes a voice input instruction, a voice input scenario, and an expected response action;
[0032] An audio simulation module, used to generate simulated voice information according to the voice input instruction, and generate simulated scene noise according to the voice input scene, and then broadcast the simulated voice information and the simulated scene noise;
[0033] A voice response module, used for collecting the simulated voice information and the simulated scene noise through the cockpit system to be tested, obtaining voice input information, recognizing and responding to the voice input information, and then broadcasting a voice response result;
[0034] The response action comparison module is used to obtain the voice response result, determine the actual response action of the cockpit system to be tested according to the voice response result, and then compare the actual response action with the expected response action, and generate a test report according to the comparison result.
[0035] On the other hand, an embodiment of the present invention provides an electronic device, which includes a memory, a processor, a program stored in the memory and executable on the processor, and a data bus for realizing connection and communication between the processor and the memory. When the program is executed by the processor, the smart cockpit speech recognition test method as described above is implemented.
[0036] On the other hand, an embodiment of the present invention further provides a storage medium, which is a computer-readable storage medium for computer-readable storage, and stores one or more programs, and the one or more programs can be executed by one or more processors to implement the smart cockpit speech recognition test method as described above.
[0037] On the other hand, an embodiment of the present invention further provides a vehicle, which includes the smart cockpit speech recognition test system or electronic device as described above.
[0038] The advantages and beneficial effects of the present invention will be partly given in the following description, partly become apparent from the following description, or be understood through the practice of the present invention:
[0039] An embodiment of the present invention obtains a preset voice test sequence, which includes multiple voice test cases, each of which includes a voice input instruction, a voice input scenario, and an expected response action. Simulated voice information is generated according to the voice input instruction, and simulated scene noise is generated according to the voice input scenario, and then the simulated voice information and the simulated scene noise are broadcast. The simulated voice information and the simulated scene noise are collected by the cockpit system to be tested to obtain voice input information, and the voice input information is recognized and responded to, and then a voice response result is broadcast, and a voice response result is obtained. The actual response action of the cockpit system to be tested is determined according to the voice response result, and then the actual response action is compared with the expected response action, and a test report is generated according to the comparison result. The embodiment of the present invention generates corresponding simulated voice information and simulated scene noise according to the voice test sequence, collects, recognizes and responds to the simulated voice information and simulated scene noise through the cockpit system to be tested, and broadcasts the response result by voice. Then, the actual response action of the cockpit system to be tested is determined according to the voice response result, and compared with the expected response action preset in the voice test sequence. According to the comparison result, it is automatically determined whether the test passes, without the need to manually perform voice interaction, response result comparison and other steps, thereby improving the efficiency and reliability of the intelligent cockpit voice recognition test. BRIEF DESCRIPTION OF THE DRAWINGS
[0040] In order to more clearly illustrate the technical solution in the embodiments of the present invention, the following introduction is made to the drawings required for use in the embodiments of the present invention. It should be understood that the drawings introduced below are only for the convenience of clearly describing some embodiments of the technical solution of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative work.
[0041] Figure 1 A flowchart of a method for testing voice recognition in an intelligent cockpit provided by an embodiment of the present invention;
[0042] Figure 2 A schematic diagram of a test scenario for a smart cockpit speech recognition test method provided by an embodiment of the present invention;
[0043] Figure 3 A step flow chart of step S102 provided in an embodiment of the present invention;
[0044] Figure 4 A step flow chart of step S103 provided in an embodiment of the present invention;
[0045] Figure 5 A step flow chart of step S104 provided in an embodiment of the present invention;
[0046] Figure 6 Another step flow chart of step S104 provided in an embodiment of the present invention;
[0047] Figure 7 Another step flow chart of step S104 provided in an embodiment of the present invention;
[0048] Figure 8 A schematic diagram of the structure of the intelligent cockpit speech recognition test system provided by an embodiment of the present invention;
[0049] Fig. 9 A schematic diagram of the hardware structure of an electronic device provided by an embodiment of the present invention;
[0050] Fig.10 A schematic diagram of the structure of a storage medium provided in an embodiment of the present invention. DETAILED DESCRIPTION
[0051] Embodiments of the present invention are described in detail below, and examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the present application, and cannot be understood as limitations on the present application. It should be noted that, although the functional module division is performed in the system schematic diagram and the logical order is shown in the flow chart, in some cases, the steps shown or described may be performed in a different order from the module division in the system schematic diagram or the flow chart. For the step numbers in the following embodiments, they are only set for the convenience of explanation, and the order between the steps is not limited in any way. The execution order of each step in the embodiment can be adaptively adjusted according to the understanding of those skilled in the art.
[0052] In the description of the present invention, the meaning of "a plurality" is two or more. If there is a description of the first or the second, it is only for the purpose of distinguishing the technical features, and it cannot be understood as indicating or implying the relative importance or implicitly indicating the number of the indicated technical features or implicitly indicating the order of the indicated technical features. In addition, unless otherwise defined, all technical and scientific terms used in this document have the same meaning as those commonly understood by technicians in the technical field of this application. The terms used in this document are only for the purpose of describing the embodiments of the present application and are not intended to limit the present application.
[0053] The intelligent cockpit speech recognition test method provided in the embodiment of the present application can be applied to the terminal, can also be applied to the server side, and can also be software running in the terminal or the server side. In some embodiments, the terminal can be a smart phone, a tablet computer, a laptop computer, a desktop computer, a set-top box, etc.; the server side can be configured as an independent physical server, or a server cluster or distributed system composed of multiple physical servers, and can also be configured as a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, CDN, and big data and artificial intelligence platforms; the software can be an application that implements the intelligent cockpit speech recognition test method, etc., but is not limited to the above forms.
[0054] The present application can be used in many general or special computer system environments or configurations. For example: personal computers, server computers, handheld or portable devices, tablet devices, multiprocessor systems, microprocessor-based systems, set-top boxes, programmable consumer electronic devices, network PCs, minicomputers, mainframe computers, distributed computing environments including any of the above systems or devices, etc. The present application can be described in the general context of computer-executable instructions executed by a computer, such as program modules. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform specific tasks or implement specific abstract data types. The present application can also be practiced in distributed computing environments, in which tasks are performed by remote processing devices connected through a communication network. In a distributed computing environment, program modules can be located in local and remote computer storage media including storage devices.
[0055] It should be noted that in each specific implementation of the present application, when it comes to the need to perform relevant processing based on data related to user identity or characteristics such as user information, user behavior data, user historical data, and user location information, the user's permission or consent will be obtained first, and the collection, use, and processing of these data will comply with the relevant laws, regulations, and standards of the relevant countries and regions. In addition, when the embodiment of the present application needs to obtain the user's sensitive personal information, the user's separate permission or consent will be obtained through a pop-up window or by jumping to a confirmation page. After clearly obtaining the user's separate permission or consent, the necessary user-related data for the normal operation of the embodiment of the present application will be obtained.
[0056] In the embodiment of the present invention, a simulation audio module, a microphone, and a vehicle microphone and a vehicle speaker of a cockpit system to be tested are arranged in a soundproof environment. The simulation audio module is used to simulate human speech and inject environmental noise. The microphone is used to collect voice response results. The voice response results are recognized online through the automated testing software of the host computer and compared with the expected response actions preset in the voice test case. Finally, a test report is output to realize the automated testing of the smart cockpit voice recognition function.
[0057] like Figure 2The figure shows a test scenario schematic diagram of the intelligent cockpit voice recognition test method provided by an embodiment of the present invention, wherein the soundproof environment is used to arrange the simulated audio module, the microphone and the vehicle microphone and the vehicle speaker of the cockpit system to be tested. The soundproof environment can be soundproofed by a soundproof box, and the reliability of the test result can be improved by the silent test; the simulated audio module can use a simulated artificial mouth, which can simulate the human voice characteristics, including intonation, volume, speaking speed, etc., and can generate realistic voice signals. The number of simulated artificial mouths can be adjusted according to actual needs, and the noise output of the specified scene can also be simulated; the microphone is used to collect the voice response results broadcast by the cockpit system to be tested; the audio control board is programmable and controllable, and the host computer is connected to the simulated audio module through the audio control board, and the operation of the simulated audio module can be automatically controlled; the host computer is used to build and execute the automated test sequence, control the execution of the automated test program, and integrates the audio synthesis module, the voice recognition module, the recording and log collection module, etc.
[0058] like Figure 1 FIG. 1 is a flow chart showing a method for testing voice recognition in an intelligent cockpit according to an embodiment of the present invention. Figure 1 The embodiment of the present invention provides a method for testing voice recognition in an intelligent cockpit, which specifically includes the following steps:
[0059] S101. Obtain a preset voice test sequence, where the voice test sequence includes multiple voice test cases, each of which includes a voice input instruction, a voice input scenario, and an expected response action.
[0060] Specifically, a voice test sequence is built on the automated testing software. The voice test sequence includes multiple voice test cases. Each voice test case corresponds to a voice input command, a voice input scenario, and an expected response action. The voice test sequence can fully cover various voice input commands and various voice input scenarios, thereby improving the reliability of the smart cockpit voice recognition test.
[0061] S102, generating simulated voice information according to the voice input instruction, and generating simulated scene noise according to the voice input scene, and then broadcasting the simulated voice information and the simulated scene noise.
[0062] like Figure 3 FIG. 1 is a flow chart of step S102 provided in an embodiment of the present invention, referring to FIG. Figure 3 As an optional implementation, simulated voice information is generated according to the voice input instruction, and simulated scene noise is generated according to the voice input scene, and then the simulated voice information and simulated scene noise are broadcast, which specifically includes:
[0063] S1021. Read and parse the voice test sequence through the automated test software of the host computer to obtain the voice input instruction, voice input scenario, and expected response action;
[0064] S1022, generating simulated voice information according to the voice input instruction through the audio synthesis module of the host computer, and generating simulated scene noise according to the voice input scene;
[0065] S1023. Control the first simulation audio module to broadcast the simulated voice information through the audio control board, and control the second simulation audio module to broadcast the simulated scene noise.
[0066] Specifically, the voice test case is executed through the host computer software, and the simulated voice information and simulated scene noise are generated through the audio synthesis module. Under the control of the audio control board, the simulated audio module simulates artificial voice with the specified timbre and language, and simulates the scene noise at the same time, and then the host computer enters the recording waiting state.
[0067] S103: Collect simulated voice information and simulated scene noise through the cockpit system to obtain voice input information, recognize and respond to the voice input information, and then broadcast the voice response result.
[0068] like Figure 4 FIG. 1 is a flow chart of step S103 provided in an embodiment of the present invention, referring to FIG. Figure 4 As an optional implementation, the simulated voice information and the simulated scene noise are collected by the cockpit system to be tested to obtain voice input information, and the voice input information is recognized and responded to, and then the voice response result is broadcast, which specifically includes:
[0069] S1031, collecting simulated voice information and simulated scene noise through a vehicle microphone of the cockpit system to be tested to obtain voice input information;
[0070] S1032, performing voice recognition on the voice input information by the cockpit system to be tested to obtain a first control instruction, performing an action response according to the first control instruction, and generating a voice response result;
[0071] S1033. Broadcast the voice response result through the vehicle head unit speaker of the cockpit system to be tested.
[0072] Specifically, the car microphone collects simulated voice information and simulated scene noise at the same time to obtain voice input information, performs voice recognition and action response through the cockpit system to be tested, and when the action response is completed, the voice response result is broadcast through the car speaker.
[0073] S104: Acquire a voice response result, determine an actual response action of the cockpit system to be tested according to the voice response result, then compare the actual response action with the expected response action, and generate a test report according to the comparison result.
[0074] like Figure 5 FIG. 1 is a flowchart of step S104 provided in an embodiment of the present invention, referring to FIG. Figure 5 As an optional implementation, obtaining a voice response result and determining an actual response action of the cockpit system to be tested according to the voice response result specifically includes:
[0075] S1041, obtaining a voice response result through a voice acquisition device, and transmitting the voice response result to a host computer;
[0076] S1042: Perform voice recognition on the voice response result through the voice recognition module of the host computer to obtain an actual response action.
[0077] Specifically, the microphone (voice collection device) collects the voice response results of the cockpit system to be tested to form a recording file. The upper computer performs voice recognition on the voice response results through the voice recognition module to obtain the actual response action of the cockpit system to be tested, compares it with the corresponding expected response action in the voice test case, and outputs the recognition result.
[0078] like Figure 6 FIG. 1 is another step flow chart of step S104 provided in an embodiment of the present invention, referring to FIG. Figure 6 As an optional implementation, the actual response action is compared with the expected response action, and a test report is generated according to the comparison result, which specifically includes:
[0079] S1043, determining an actual response object and an actual operation action according to the actual response action, and determining an expected response object and an expected operation action according to the expected response action;
[0080] S1044, comparing the actual response object with the expected response object, and comparing the actual operation action with the expected operation action;
[0081] S1045, when the actual response object is consistent with the expected response object, and the actual operation action is consistent with the expected operation action, it is determined that the corresponding voice test case test has passed;
[0082] S1046. Generate a test report based on the test results of each voice test case.
[0083] Specifically, each response action is divided into two parts: the response object and the operation action. For example, for the response action "turn on the air conditioner", the response object is "air conditioner" and the operation action is "turn on". After the actual response action and the expected response action are split, the response object and the operation action are compared. When the two are consistent, it means that the corresponding voice test case has passed the test; when the two are inconsistent, it means that the corresponding voice test case has failed the test. At this time, detailed test results can be formed according to the specific circumstances of the inconsistent comparison, such as "response object recognition is successful, operation action recognition is unsuccessful", etc. A detailed test report is generated based on the test results, including test coverage, problem list, improvement suggestions, etc., to facilitate the subsequent improvement of the voice recognition function of the cockpit system to be tested.
[0084] like Figure 7 FIG. 1 is another step flow chart of step S104 provided in an embodiment of the present invention, referring to FIG. Figure 6 As an optional implementation, the voice test case further includes a response waiting time, and the smart cockpit voice recognition test method further includes the following steps:
[0085] S1040: If no voice response result is obtained within the response waiting time, it is determined that the corresponding voice test case fails the test.
[0086] Specifically, the response waiting time for the test can also be pre-set in the voice test case. After the simulated voice information and simulated scene noise are broadcast, if the voice response result of the cockpit system to be tested is not collected within the response waiting time (the cockpit system to be tested cannot recognize the voice command, or the voice command is recognized incorrectly resulting in no response action, or the voice command is recognized too slowly), the test will be directly judged as failed to avoid long waiting times affecting test efficiency.
[0087] The above is an explanation of the method steps of the embodiment of the present invention. It can be understood that the embodiment of the present invention generates corresponding simulated voice information and simulated scene noise according to the voice test sequence, collects, recognizes and responds to the simulated voice information and simulated scene noise through the cockpit system to be tested, and broadcasts the response results by voice, and then determines the actual response action of the cockpit system to be tested according to the voice response result, and compares it with the expected response action preset in the voice test sequence. According to the comparison result, it can automatically determine whether the test passes, without manually performing voice interaction, response result comparison and other steps, thereby improving the efficiency and reliability of the intelligent cockpit voice recognition test.
[0088] like Figure 8 FIG. 1 is a schematic diagram of the structure of the intelligent cockpit speech recognition test system provided by an embodiment of the present invention, referring to FIG. Figure 8 , an embodiment of the present invention provides an intelligent cockpit speech recognition test system, comprising:
[0089] A test sequence acquisition module is used to acquire a preset voice test sequence, where the voice test sequence includes multiple voice test cases, each of which includes a voice input instruction, a voice input scenario, and an expected response action;
[0090] An audio simulation module, used to generate simulated voice information according to a voice input instruction, and to generate simulated scene noise according to a voice input scene, and then to broadcast the simulated voice information and simulated scene noise;
[0091] The voice response module is used to collect simulated voice information and simulated scene noise through the cockpit system to be tested, obtain voice input information, recognize and respond to the voice input information, and then broadcast the voice response result;
[0092] The response action comparison module is used to obtain the voice response result, determine the actual response action of the cockpit system to be tested according to the voice response result, and then compare the actual response action with the expected response action, and generate a test report according to the comparison result.
[0093] The contents of the above method embodiments are all applicable to the present system embodiments. The functions specifically implemented by the present system embodiments are the same as those of the above method embodiments, and the beneficial effects achieved are also the same as those achieved by the above method embodiments.
[0094] The embodiment of the present invention further provides an electronic device, which includes: a memory, a processor, a program stored in the memory and executable on the processor, and a data bus for realizing connection and communication between the processor and the memory, wherein the program is executed by the processor to realize the above-mentioned intelligent cockpit speech recognition test method. The electronic device can be any intelligent terminal including a tablet computer, a vehicle-mounted computer, etc.
[0095] like Fig. 9 FIG. 1 is a schematic diagram of the hardware structure of an electronic device provided in an embodiment of the present invention, referring to FIG. Fig. 9 , an embodiment of the present invention provides an electronic device, including:
[0096] The processor 901 may be implemented by a general-purpose CPU (Central Processing Unit), a microprocessor, an application-specific integrated circuit (ASIC), or one or more integrated circuits, and is used to execute relevant programs to implement the technical solutions provided in the embodiments of the present invention;
[0097] The memory 902 can be implemented in the form of a read-only memory (ROM), a static storage device, a dynamic storage device, or a random access memory (RAM). The memory 902 can store an operating system and other application programs. When the technical solution provided in the embodiment of this specification is implemented by software or firmware, the relevant program code is stored in the memory 902, and the processor 901 calls and executes the intelligent cockpit voice recognition test method of the embodiment of the present invention;
[0098] Input / output interface 903, used to implement information input and output;
[0099] Communication interface 904, used to realize communication interaction between the device and other devices, which can be realized by wired mode (such as USB, network cable, etc.) or wireless mode (such as mobile network, WIFI, Bluetooth, etc.);
[0100] A bus 905 that transmits information between various components of the device (e.g., the processor 901, the memory 902, the input / output interface 903, and the communication interface 904);
[0101] The processor 901 , the memory 902 , the input / output interface 903 and the communication interface 904 are connected to each other in communication within the device via a bus 905 .
[0102] like Fig.10 FIG. 1 is a schematic diagram of a storage medium according to an embodiment of the present invention. Fig.10 An embodiment of the present invention further provides a storage medium, which is a computer-readable storage medium used for computer-readable storage. The storage medium stores one or more programs 1001, and the one or more programs 1001 can be executed by one or more processors to implement the above-mentioned smart cockpit speech recognition test method.
[0103] The memory, as a non-transient computer-readable storage medium, can be used to store non-transient software programs and non-transient computer executable programs. In addition, the memory may include a high-speed random access memory, and may also include a non-transient memory, such as at least one disk storage device, a flash memory device, or other non-transient solid-state storage device. In some embodiments, the memory may optionally include a memory remotely disposed relative to the processor, and these remote memories may be connected to the processor via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0104] An embodiment of the present invention further provides a vehicle, which includes the above-mentioned intelligent cockpit voice recognition test system or an electric drive assembly of the electronic device.
[0105] Specifically, the vehicle may be a private car, such as a sedan, SUV, MPV or pickup truck. The vehicle may also be an operating vehicle, such as a van, bus, small truck or large trailer. The vehicle may be a gasoline vehicle or a new energy vehicle. When the vehicle is a new energy vehicle, it may be a hybrid vehicle or a pure electric vehicle.
[0106] The embodiment of the present invention further provides a computer program product or a computer program, wherein the computer program product or the computer program includes computer instructions, and the computer instructions are stored in a computer-readable storage medium. A processor of a computer device can read the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device executes Figure 1 The method shown.
[0107] In some selectable embodiments, the function / operation mentioned in the block diagram may not occur in the order mentioned in the operation diagram. For example, depending on the function / operation involved, the two boxes shown in succession can actually be executed substantially simultaneously or the above-mentioned boxes can sometimes be executed in reverse order. In addition, the embodiment presented and described in the flow chart of the present invention is provided by way of example, for the purpose of providing a more comprehensive understanding of technology. The disclosed method is not limited to the operation and logic flow presented herein. Selectable embodiments are expected, wherein the order of various operations is changed and the sub-operation of a part for which is described as a larger operation is performed independently.
[0108] In addition, although the present invention is described in the context of functional modules, it should be understood that, unless otherwise specified to the contrary, one or more of the above-mentioned functions and / or features can be integrated into a single physical device and / or software module, or one or more functions and / or features can be implemented in a separate physical device or software module. It is also understood that a detailed discussion of the actual implementation of each module is unnecessary for understanding the present invention. More specifically, in view of the properties, functions and internal relationships of the various functional modules in the device disclosed herein, the actual implementation of the module will be understood within the conventional skills of the engineer. Therefore, those skilled in the art can implement the present invention set forth in the claims without excessive experimentation using ordinary techniques. It is also understood that the specific concepts disclosed are merely illustrative and are not intended to limit the scope of the present invention, which is determined by the full scope of the appended claims and their equivalents.
[0109] If the above functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the above methods of each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk and other media that can store program codes.
[0110] The logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as an ordered list of executable instructions for implementing logical functions, and can be embodied in any computer-readable medium for use by an instruction execution system, device or apparatus (such as a computer-based system, a system including a processor, or other system that can fetch instructions from an instruction execution system, device or apparatus and execute instructions), or in conjunction with such instruction execution systems, devices or apparatuses. For the purposes of this specification, "computer-readable medium" can be any device that can contain, store, communicate, propagate or transmit a program for use by an instruction execution system, device or apparatus, or in conjunction with such instruction execution systems, devices or apparatuses.
[0111] More specific examples of computer-readable media (a non-exhaustive list) include the following: an electrical connection with one or more wires (electronic device), a portable computer disk case (magnetic device), a random access memory (RAM), a read-only memory (ROM), an erasable and editable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disk read-only memory (CDROM). In addition, the computer-readable medium may even be a paper or other suitable medium on which the above-mentioned program is printed, since the above-mentioned program can be obtained electronically, for example, by optically scanning the paper or other medium, followed by editing, deciphering or processing in other suitable ways as necessary, and then stored in a computer memory.
[0112] It should be understood that the various parts of the present invention can be implemented by hardware, software, firmware or a combination thereof. In the above-mentioned embodiments, a plurality of steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented by hardware, as in another embodiment, it can be implemented by any one of the following technologies known in the art or their combination: a discrete logic circuit having a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.
[0113] In the above description of this specification, the description with reference to the terms "one embodiment / example", "another embodiment / example" or "certain embodiments / examples" etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representation of the above terms does 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.
[0114] Although embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that various changes, modifications, substitutions and variations may be made to the embodiments without departing from the principles and spirit of the present invention, and that the scope of the present invention is defined by the claims and their equivalents.
[0115] The above is a specific description of the preferred implementation of the present invention, but the present invention is not limited to the above embodiments. Those skilled in the art may make various equivalent modifications or substitutions without violating the spirit of the present invention. These equivalent modifications or substitutions are all included in the scope defined by the claims of this application.
Claims
1. A smart cockpit speech recognition test method, characterized in that: The following steps are involved: Acquire a preset voice test sequence, wherein the voice test sequence includes a plurality of voice test cases, each of which includes a voice input instruction, a voice input scenario, and an expected response action; Generate simulated voice information according to the voice input instruction, generate simulated scene noise according to the voice input scene, and then broadcast the simulated voice information and the simulated scene noise; The simulated voice information and the simulated scene noise are collected by the cockpit system to obtain voice input information, and the voice input information is recognized and responded to, and then the voice response result is broadcasted; The voice response result is obtained, an actual response action of the cockpit system to be tested is determined according to the voice response result, the actual response action is then compared with the expected response action, and a test report is generated according to the comparison result.
2. The intelligent cockpit speech recognition test method according to claim 1, characterized in that: Generate simulated voice information according to the voice input instruction, generate simulated scene noise according to the voice input scene, and then broadcast the simulated voice information and the simulated scene noise, which specifically includes: The voice test sequence is read and parsed by the automated test software of the host computer to obtain the voice input instruction, the voice input scenario and the expected response action; Generate the simulated voice information according to the voice input instruction through the audio synthesis module of the host computer, and generate the simulated scene noise according to the voice input scene; The audio control board controls the first simulation audio module to broadcast the simulation voice information, and controls the second simulation audio module to broadcast the simulation scene noise.
3. The intelligent cockpit speech recognition test method according to claim 1, characterized in that: The method collects the simulated voice information and the simulated scene noise through the cockpit system to obtain voice input information, recognizes and responds to the voice input information, and then broadcasts the voice response result, which specifically includes: The simulated voice information and the simulated scene noise are collected by using a vehicle microphone of the cockpit system to be tested to obtain the voice input information; Performing voice recognition on the voice input information by the cockpit system to be tested to obtain a first control instruction, performing an action response according to the first control instruction, and generating the voice response result; The voice response result is broadcasted through the vehicle speaker of the cockpit system to be tested.
4. The intelligent cockpit speech recognition test method according to claim 1, characterized in that: The step of obtaining the voice response result and determining the actual response action of the cockpit system to be tested according to the voice response result specifically includes: Acquire the voice response result through a voice acquisition device, and transmit the voice response result to a host computer; The voice response result is subjected to voice recognition by a voice recognition module of the host computer to obtain the actual response action.
5. A smart cockpit speech recognition test method according to any one of claims 1 to 4, characterized in that: The comparing the actual response action with the expected response action and generating a test report according to the comparison result specifically includes: Determine an actual response object and an actual operation action according to the actual response action, and determine an expected response object and an expected operation action according to the expected response action; Comparing the actual response object with the expected response object, and comparing the actual operation action with the expected operation action; When the actual response object is consistent with the expected response object, and the actual operation action is consistent with the expected operation action, it is determined that the corresponding voice test case test has passed; The test report is generated according to the test results of each of the voice test cases.
6. The intelligent cockpit speech recognition test method according to claim 5, characterized in that: The voice test case also includes a response waiting time, and the smart cockpit voice recognition test method also includes the following steps: If no voice response result is obtained within the response waiting time, it is determined that the corresponding voice test case test fails.
7. An intelligent cockpit speech recognition test system, characterized in that: include: A test sequence acquisition module, used to acquire a preset voice test sequence, wherein the voice test sequence includes a plurality of voice test cases, each of which includes a voice input instruction, a voice input scenario, and an expected response action; An audio simulation module, used to generate simulated voice information according to the voice input instruction, and generate simulated scene noise according to the voice input scene, and then broadcast the simulated voice information and the simulated scene noise; A voice response module, used for collecting the simulated voice information and the simulated scene noise through the cockpit system to be tested, obtaining voice input information, recognizing and responding to the voice input information, and then broadcasting a voice response result; The response action comparison module is used to obtain the voice response result, determine the actual response action of the cockpit system to be tested according to the voice response result, and then compare the actual response action with the expected response action, and generate a test report according to the comparison result.
8. An electronic device, characterized in that: The electronic device includes a memory, a processor, a program stored in the memory and executable on the processor, and a data bus for realizing connection and communication between the processor and the memory. When the program is executed by the processor, the steps of the smart cockpit speech recognition test method as described in any one of claims 1 to 6 are realized.
9. A storage medium, the storage medium being a computer-readable storage medium, used for computer-readable storage, characterized in that: The storage medium stores one or more programs, and the one or more programs can be executed by one or more processors to implement the steps of the smart cockpit speech recognition test method as described in any one of claims 1 to 6.
10. A vehicle, characterized in that: The vehicle includes the intelligent cockpit speech recognition test system according to claim 7 or the electronic device according to claim 8.
Citation Information
Cited By
Vehicle function test method, device and system, storage medium and program product
CN119847933A
Vehicle machine test method and device, electronic equipment and storage medium
CN119905109A
Intelligent cabin function arousing control method, device and equipment and storage medium
CN120439950A
