CN118629396A - New energy automobile voice function test method, system and equipment - Google Patents
New energy automobile voice function test method, system and equipment Download PDFInfo
- Publication number
- CN118629396A CN118629396A CN202411089210.2A CN202411089210A CN118629396A CN 118629396 A CN118629396 A CN 118629396A CN 202411089210 A CN202411089210 A CN 202411089210A CN 118629396 A CN118629396 A CN 118629396A
- Authority
- CN
- China
- Prior art keywords
- voice control
- voice
- virtual
- text
- control instruction
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000010998 test method Methods 0.000 title claims abstract description 18
- 238000012360 testing method Methods 0.000 claims abstract description 72
- 230000006870 function Effects 0.000 claims abstract description 42
- 230000002452 interceptive effect Effects 0.000 claims abstract description 31
- 230000004044 response Effects 0.000 claims abstract description 31
- 230000008859 change Effects 0.000 claims abstract description 28
- 238000000034 method Methods 0.000 claims abstract description 22
- 238000004590 computer program Methods 0.000 claims description 5
- 238000012545 processing Methods 0.000 claims description 5
- 230000002787 reinforcement Effects 0.000 abstract description 12
- 230000008569 process Effects 0.000 abstract description 11
- 230000006399 behavior Effects 0.000 abstract description 8
- 230000003044 adaptive effect Effects 0.000 description 3
- 238000010586 diagram Methods 0.000 description 3
- 230000003993 interaction Effects 0.000 description 3
- 230000000694 effects Effects 0.000 description 2
- 230000010354 integration Effects 0.000 description 2
- 230000007246 mechanism Effects 0.000 description 2
- 238000005457 optimization Methods 0.000 description 2
- 230000004913 activation Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000007613 environmental effect Effects 0.000 description 1
- 238000000605 extraction Methods 0.000 description 1
- 238000001914 filtration Methods 0.000 description 1
- 238000010801 machine learning Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000007781 pre-processing Methods 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 238000012795 verification Methods 0.000 description 1
Landscapes
- Fittings On The Vehicle Exterior For Carrying Loads, And Devices For Holding Or Mounting Articles (AREA)
Abstract
The invention provides a new energy automobile voice function test method, a system and equipment, wherein the test method comprises the following steps: acquiring interactive interface information of a vehicle machine; generating a virtual voice control instruction according to the interactive interface information, and playing the virtual voice control instruction; obtaining an operation log corresponding to the operation of the vehicle machine system in response to the virtual voice control instruction and interface change information after the operation; and judging whether the result of the vehicle-mounted system responding to the voice instruction is effective or not according to the operation log and the interface change information so as to acquire a test result. The invention realizes the test automation, improves the accuracy and efficiency in the test process, can accurately simulate and test specific voice instructions, improves the test efficiency, and can autonomously perform reinforcement learning, so that the system can continuously learn and optimize in a complex vehicle-mounted environment, thereby adapting to the continuously changed user behavior and system update, and further ensuring that the system can more effectively process and optimize the recognition and response of voice commands.
Description
Technical Field
The invention belongs to the technical field of vehicle-to-machine testing, and particularly relates to a new energy automobile voice function testing method, system and equipment.
Background
Along with the rapid development of new energy automobile technology, a vehicle-mounted voice control system gradually becomes a key component for improving driving experience. The user controls more than 95% of the functions in the car through voice commands. These functions are managed through voice instructions, so that not only is the safety during driving improved, but also the driving experience and the operation convenience are remarkably enhanced. However, as vehicle functions increase and technology advances, software of the vehicle-mounted system often needs to be updated or iterated to introduce new functions or to improve existing functions, and as users use habits change and new functions are added, the system should continuously learn and optimize performance, and the change of the functions causes accurate recognition and execution of voice instructions, which is challenging in technical implementation, especially in complex vehicle-mounted environments, so that in order to ensure accuracy of voice functions, functions after each update iteration need to be tested, and existing testing methods are often complex and time-consuming to cause inefficiency, so that a method or device capable of adapting to the conventional vehicle-mounted software to be updated frequently and improving testing efficiency is needed.
Disclosure of Invention
In view of the above drawbacks of the prior art, the present invention aims to provide a new energy automobile voice function testing method, system and device, so as to solve the problem that the existing testing method is often complex and time-consuming, resulting in low efficiency.
To achieve the above and other related objects, the present invention provides a method for testing a voice function of a new energy automobile, including:
acquiring interactive interface information of a vehicle machine;
Generating a virtual voice control instruction according to the interactive interface information and playing the virtual voice control instruction;
Obtaining an operation log corresponding to the operation of the vehicle-mounted system in response to the virtual voice control instruction and interface change information after the operation of the vehicle-mounted system in response to the virtual voice control instruction;
and judging whether the result of the vehicle-mounted system responding to the virtual voice control instruction is effective or not according to the operation log and the interface change information so as to acquire a test result.
In one embodiment of the present invention, the step of generating and playing the virtual voice control command according to the interactive interface information includes:
Acquiring playing characters according to the interactive interface information decision;
Converting the play text into an audio file according to the play text to acquire the virtual voice control instruction;
And sending the virtual voice control instruction to a loudspeaker for playing.
In one embodiment of the present invention, the step of converting the play text into an audio file according to the play text to obtain the virtual voice control command includes:
processing according to the play text to obtain voice instruction text content;
and generating an audio file according to the voice command text content to acquire a virtual voice control command.
In one embodiment of the invention, the test method further comprises: and recording and storing the text content of the voice command which is effective as a result of the response of the vehicle-mounted system to the virtual voice control command.
In one embodiment of the invention, the test method further comprises: recording a played virtual voice control instruction, and verifying the accuracy of the played virtual voice control instruction according to the voice instruction text content.
In one embodiment of the present invention, the step of recording the played virtual voice control command and verifying the accuracy of the played virtual voice control command according to the text content of the voice command includes:
recording a virtual voice control instruction after playing;
Transcribing the virtual voice control instruction into text information;
and comparing the text information with the text content of the expected voice command so as to verify the accuracy of the virtual voice control command.
The invention also provides a new energy automobile voice function test system, which comprises:
the data acquisition module is used for acquiring the interactive interface information of the vehicle machine;
The virtual voice command generation module is used for generating a virtual voice control command according to the interactive interface information and sending the virtual voice control command to a loudspeaker for playing;
The response information acquisition module is used for acquiring an operation log corresponding to the operation of the vehicle-mounted system in response to the virtual voice control instruction and interface change information after the operation of the vehicle-mounted system in response to the virtual voice control instruction;
and the test result generation module is used for judging whether the result of the vehicle-mounted system responding to the virtual voice control instruction is effective or not according to the operation log and the interface change information so as to acquire a test result.
In one embodiment of the present invention, the virtual voice instruction generating module includes:
the playing text acquisition module is used for deciding and acquiring playing text according to the interactive interface information;
the voice command generating module is used for converting the play text into an audio file according to the play text so as to acquire the virtual voice control command;
And the output module is used for sending the virtual voice control instruction to a loudspeaker for playing.
In one embodiment of the present invention, the test result generating module is further configured to record and store the voice command text content that is valid as a result of the vehicle-mounted system responding to the virtual voice command, and feed the voice command text content back to the play text obtaining module.
The invention also provides a computer device comprising a memory, a processor and a computer program stored on the memory and running on the processor, wherein the processor executes the program to implement the steps of the new energy automobile voice function testing method according to any one of the embodiments.
The invention provides a new energy automobile voice function test method, system and equipment, which utilize image recognition and layer layout algorithm to automatically recognize interactive elements of a user interface, so that the degree of test automation is improved, the accuracy and efficiency in the test process are also improved, specific voice instructions can be accurately simulated and tested, and manual intervention is not needed, thereby improving the test efficiency; the validity of the voice command can be accurately judged through the change of the log and the interface, meanwhile, the effective voice command in the test process is recorded and stored, reinforcement learning is carried out based on the voice command, and the voice command can be continuously learned and optimized in a complex vehicle-mounted environment, so that the voice command can adapt to the continuously changed user behavior and system updating, the recognition and response of the voice command can be effectively processed and optimized by the system, and the system can be more effectively enabled to show higher robustness especially when facing unknown commands or new interaction scenes.
The invention provides a new energy automobile voice function test method, a system and equipment, the high integration and automation capability of the system enable the system to be seamlessly integrated into the vehicle-mounted system of any new energy automobile, the universality and the flexibility enable the system to be suitable for the current automobile type and be easily adapted to future technology upgrading and new automobile types, and therefore the new energy automobile menu test and optimization aspect has higher efficiency, accuracy and adaptability, and user experience and overall performance of the system are obviously improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings that are needed for the description of the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a flow chart of a new energy automobile voice function test method in an embodiment of the invention.
FIG. 2 is a flow chart of generating virtual voice control commands according to an embodiment of the invention.
FIG. 3 is a flow chart illustrating the verification of voice command accuracy in one embodiment of the present invention.
Fig. 4 is a block diagram of a new energy automobile voice function test system according to an embodiment of the present invention.
Detailed Description
Other advantages and effects of the present invention will become apparent to those skilled in the art from the following disclosure, which describes the embodiments of the present invention with reference to specific examples. The invention may be practiced or carried out in other embodiments that depart from the specific details, and the details of the present description may be modified or varied from the spirit and scope of the present invention.
It should be noted that, the illustrations provided in the present embodiment merely illustrate the basic concept of the present invention by way of illustration, and only the components related to the present invention are shown in the drawings and are not drawn according to the number, shape and size of the components in actual implementation, and the form, number and proportion of the components in actual implementation may be arbitrarily changed, and the layout of the components may be more complex.
Referring to fig. 1, the application provides a new energy automobile voice function test method, system and equipment, which are combined with an adaptive learning model to effectively cope with rapid software iteration and diversified user operation scenes, so that the system can maintain high-efficiency response and excellent performance regardless of environmental changes, and the problem that the existing test method is complex and time-consuming to cause low efficiency is solved. Fig. 1 is a schematic flow chart of a new energy automobile voice function testing method according to an embodiment of the present application, specifically, the new energy automobile voice function testing method includes the following steps:
S1, acquiring interactive interface information of a vehicle machine; in this embodiment, the interactive interface information includes layer information and display picture information of the vehicle-mounted system; for example, the test system is connected with the vehicle system through the test interface, so that the test system obtains the layer information and the display picture information of the vehicle system through the test interface.
And S2, generating a virtual voice control instruction according to the interactive interface information and playing the virtual voice control instruction. Specifically, referring to fig. 2, fig. 2 is a flow chart illustrating a process of generating a virtual voice control command according to an embodiment of the application. The method comprises the following steps:
S21, according to the interactive interface information, a decision is made to acquire a play text; for example, by image recognition and layer layout analysis to obtain play text, specifically, the image recognition technology can be used to recognize elements and text on the interface of the vehicle-mounted system, and the layer layout algorithm is used to analyze the interface structure, so that content-desc and text attributes of interactable elements can be automatically recognized, the degree of test automation is improved, the accuracy and efficiency in the test process are also improved, and by automatically analyzing the content-desc and text attributes of interface elements, the system can accurately obtain play text corresponding to a voice command to be tested, so that a specific voice command can be simulated and tested without manual intervention.
Specifically, the step of obtaining the play text according to the interactive interface information decision includes:
processing the interactive interface information to obtain text information; for example, the layer information and the presentation picture information may be processed by the image recognition and layer layout analysis techniques described above to obtain text information.
Filtering according to the text information, and deciding according to the filtered text information to obtain corresponding playing text; for example, text information obtained through the layer information and the display picture information is filtered, for example, text preprocessing, keyword extraction and other modes are adopted to obtain required text, and then decision is made according to the filtered text to obtain corresponding playing text.
S22, converting the play text into an audio file according to the play text to acquire the virtual voice control instruction; the method specifically comprises the following steps:
processing according to the play text to obtain voice instruction text content; for example, the play text may be processed by the language big model to be expanded into a complete voice command text content, for example, the play text determined in step S21 is "air conditioner", and at this time, the play text "air conditioner" is expanded into a voice command text content such as "open air conditioner" by the language big model in this step.
Generating an audio file according to the text content of the voice command to acquire a virtual voice control command; for example, the "open air conditioner" after the language big model expansion can be converted into a playable audio file through a text-to-speech technology to obtain a virtual speech control instruction.
S23, sending the virtual voice control instruction to a loudspeaker for playing; for example, the obtained playing text can be expanded into a complete text instruction content by playing a corresponding virtual voice control instruction through an external player or a vehicle, and then converted into an audio file and played so as to simulate the voice input of a user.
S3, acquiring an operation log corresponding to the operation of the vehicle-mounted system in response to the virtual voice control instruction and interface change information after the operation of the vehicle-mounted system in response to the virtual voice control instruction; for example, when the vehicle-mounted system receives the virtual voice control instruction played by the corresponding system, the vehicle-mounted system responds to the operation performed by the virtual voice control instruction to generate a corresponding operation log, and meanwhile, after the vehicle-mounted system responds to the operation performed by the virtual voice control instruction, the interface of the vehicle-mounted system also generates corresponding changes, such as interface adjustment or popup changes, and at the moment, the testing system can acquire the corresponding operation log and interface change information of the vehicle-mounted system.
It can be understood that in this embodiment, the operation log includes a voice acquisition log and an input log, where the voice acquisition log is a system that records all user voice commands and voice feedback of the system in real time, and generates detailed voice logs that include voice recognition semantics and corresponding response voice output feedback. input logs are the system that records all device input events related to voice instructions, such as touch screen operations or other physical button operations, through getevent tools, and help analyze the user's direct interactions after specific voice feedback to evaluate the user's acceptance of the system response and operational convenience.
S4, judging whether the playing result of the virtual voice control instruction is effective according to the log and the interface change information so as to acquire a test result;
It can be understood that after the test system obtains the corresponding operation log and interface change information, analysis is performed according to the log and interface change information to determine whether the virtual voice control instruction is a valid instruction, and whether the interface is converted to the target interface corresponding to the virtual voice control instruction, for example, when the input virtual voice control instruction is "open air conditioner", by analyzing the log and interface change information, for example, by searching an entry related to the voice playing instruction in the system log, it will generally include information such as success or failure of voice recognition, start-up of playing task, execution status (success/failure) and the like, and confirm that the voice recognition module correctly understands the instruction of the user, it can be understood that the log should have a text record indicating that the voice command is correctly transcribed.
It can be further understood that in this embodiment, the analysis is performed through the interface change information, for example, the system monitors the change on the vehicle-mounted interface by using the advanced image recognition technology, so that the execution of each voice command can be correctly reflected on the interface, and the dynamic elements on the interface, such as the pop-up menu and the warning information, can be detected, so as to verify the actual effect of the virtual voice control command. For example, the interface screenshot before and after the voice playing can be compared to determine whether there is an expected UI element change, for example, if the virtual voice control instruction is "open air conditioner", whether the air conditioner interface appears as expected is detected, if the virtual voice control instruction is "open navigation", whether the navigation interface appears as expected is checked, whether any interactive element (such as button activation state and progress bar change) related to the voice command is confirmed to conform to the expected behavior is obtained, and whether a status message corresponding to the success or failure of the voice operation is displayed on the interface, such as "playing", "playing completion", or error prompt, etc., is also checked to determine whether the playing result of the virtual voice control instruction is valid.
Referring to fig. 1, in this embodiment, the testing method further includes: and recording and storing the text content of the voice command which is effective as a result of the response of the vehicle-mounted system to the virtual voice control command. In this embodiment, the system may perform self-learning according to the text information corresponding to the saved effective virtual voice control instruction, for example, the system may perform reinforcement learning by using multiple reinforcement learning algorithms including Q-learning, and through the adaptive learning model, the system should be able to automatically collect usage data, analyze user behavior, and optimize the voice recognition algorithm and response mechanism accordingly, so that it can continuously learn and optimize in a complex vehicle-mounted environment, thereby adapting to constantly changing user behavior and system update, so as to ensure that the system can more effectively process and optimize recognition and response of voice commands, and particularly, demonstrate higher robustness when facing unknown instructions or new interactive scenes, and improve overall performance and user satisfaction of the system.
Referring to fig. 3, fig. 3 is a schematic diagram showing a flow for verifying accuracy of a voice command according to an embodiment of the application. In order to ensure that the played audio is consistent with the expected virtual voice control command, the played audio and the voice command text content need to be compared to verify the consistency, so as to ensure the accuracy of the output audio, therefore, in the embodiment, the test method comprises the following steps: recording a played virtual voice control instruction, and verifying the accuracy of the played virtual voice control instruction according to the voice instruction text content. Specifically, the method comprises the following steps:
S101, recording a virtual voice control instruction after playing;
s102, transcribing the virtual voice control instruction into text information;
S103, comparing the text information with the text content of the expected voice command so as to verify the accuracy of the virtual voice control command.
It can be understood that the voice played by the system is recorded, transcribed by the voice recognition technology, compared with the expected played text, the accuracy of the played content is verified, and the volume, the definition, the presence or absence of noise or distortion can be checked by analyzing the played audio file, so that the quality of the voice output is ensured to meet the standard. In this embodiment, the system not only records the voice output, but also evaluates the rationality and accuracy of the voice output by using an advanced voice analysis model, analyzes the consistency of the voice output with the expected instruction by a machine learning algorithm, and judges the actual help of the voice output to the user operation, thereby optimizing the voice model.
Referring to fig. 4, fig. 4 is a block diagram illustrating a voice function test system of a new energy automobile according to an embodiment of the application. In this embodiment, a new energy automobile voice function test system is provided, and the new energy automobile voice function test system corresponds to the new energy automobile voice function test method in the above embodiment one by one. Specifically, the new energy automobile voice function test system 100 includes a data acquisition module 10, a virtual voice command generation module, a response information acquisition module 30, and a test result generation module 40, where each functional module is described in detail as follows:
The data acquisition module 10 is used for acquiring the interactive interface information of the vehicle; the data acquisition module 10 is used for acquiring layer information and presentation picture information of the vehicle system 200, for example, the data acquisition module 10 is used for acquiring test data sources for testing from the vehicle system 200 through a test interface, for example, the layer information and presentation picture information described in the above embodiments.
The virtual voice command generation module is used for generating a virtual voice control command according to the interactive interface information and sending the virtual voice control command to a loudspeaker for playing; specifically, the virtual voice command generating module includes a play text obtaining module 21, a voice command generating module 22 and an output module 23. The functional modules are described in detail as follows:
The playing text obtaining module 21 is configured to determine to obtain playing text according to the interactive interface information, and specifically includes a text obtaining module 211 and an reinforcement learning module 212, where the text obtaining module 211 is configured to process the layer information and the display picture information to obtain text information, and filter the text information, for example, the element and the text on the vehicle-mounted system interface may be identified by using the image recognition technology described in the above embodiment, and the corresponding text information may be obtained by using a layer layout algorithm to analyze an interface structure and other manners; the reinforcement learning module 212 is configured to make a decision to obtain a corresponding play text according to the filtered text information.
The voice command generating module 22 is configured to convert the play text into an audio file according to the play text to obtain the virtual voice control command. The voice command generating module 22 includes a language big model module 221 and an audio generating module 222, where the language big model module 221 is used for processing according to the playing text to obtain voice command text content, for example, in the language big model module 221, the playing text can be processed through the language big model to be expanded into a complete voice command text content; the audio generation module 222 is configured to generate a corresponding audio file according to the voice command text content, for example, the voice command text content expanded by the language big model is converted into a playable audio file by text-to-speech technology in the audio generation module 222.
The output module 23 is configured to send the virtual voice control instruction to a speaker for playing, for example, the audio file may be played by an external player or a speaker of the vehicle system 200 as the output module 23.
The response information obtaining module 30 is configured to obtain an operation log corresponding to an operation performed by the vehicle-mounted system in response to the voice command, and interface change information after the operation performed by the vehicle-mounted system in response to the voice command;
the test result generating module 40 is configured to determine whether the result of the vehicle-to-machine system responding to the virtual voice control instruction is valid according to the operation log and the interface change information to obtain a test result.
Referring to fig. 1, in this embodiment, the test result generating module 50 is further configured to record and store the text content of the voice command that is effective as a result of the virtual voice control command that is responded by the vehicle system, and feed the text content back to the play text obtaining module 21, specifically to the reinforcement learning module 212 that is configured to make a decision to obtain the corresponding play text according to the filtered text information, where the reinforcement learning module 212 may perform self-learning according to the text information corresponding to the saved effective voice command, for example, the reinforcement learning module 212 may perform reinforcement learning by using multiple reinforcement learning algorithms including Q-learning, and through an adaptive learning model, the system should be able to automatically collect usage data, analyze user behavior, and accordingly optimize a voice recognition algorithm and a response mechanism, so as to enable the system to continuously learn and optimize in a complex vehicle environment, thereby adapting to constantly changing user behavior and system update, and ensuring that the system can more effectively process and optimize recognition and response of the voice command.
It should be understood that the test system 100 in the present application may be an independent test device, and be connected to the vehicle system through a test result, and of course, the test system may be deployed in a cloud or inside the vehicle system, and be connected to the vehicle system through a hard wire, wireless or other manners.
The specific limitation of the new energy automobile voice function test system can be referred to the limitation of the new energy automobile voice function test method hereinabove, and the description thereof will not be repeated here. All or part of each module in the voice function test system of the new energy automobile can be realized by software, hardware and a combination thereof. The above modules may be embedded in hardware or may be independent of a processor in the computer device, or may be stored in software in a memory in the computer device, so that the processor may call and execute operations corresponding to the above modules.
Referring to fig. 1, the present invention further provides a computer device, including a memory, a processor, and a computer program stored in the memory and capable of running on the processor, wherein the steps of the new energy automobile voice function testing method described in the above embodiments are implemented by the processor when the processor executes the program, and specifically implemented as follows:
acquiring interactive interface information of a vehicle machine;
Generating a virtual voice control instruction according to the interactive interface information, and sending the virtual voice control instruction to a loudspeaker for playing;
Obtaining an operation log corresponding to the operation of the vehicle-mounted system in response to the virtual voice control instruction and interface change information after the operation of the vehicle-mounted system in response to the virtual voice control instruction;
and judging whether the result of the vehicle-mounted system responding to the voice instruction is effective or not according to the operation log and the interface change information so as to acquire a test result.
The memory may be, for example, one or more of a buffer, flash memory, hard drive, removable media, volatile memory, non-volatile memory, or other suitable device. But may also be solid state memory such as read only memory, random access memory, etc.
It will be appreciated by those skilled in the art that embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media having computer-usable program code embodied therein.
The invention provides a new energy automobile voice function test method, system and equipment, which utilize image recognition and layer layout algorithm to automatically recognize interactive elements of a user interface, so that the degree of test automation is improved, the accuracy and efficiency in the test process are also improved, specific voice instructions can be accurately simulated and tested, and manual intervention is not needed, thereby improving the test efficiency; the validity of the voice command can be accurately judged through the change of the log and the interface, meanwhile, the effective voice command in the test process is recorded and stored, reinforcement learning is carried out based on the voice command, and the voice command can be continuously learned and optimized in a complex vehicle-mounted environment, so that the voice command can adapt to the continuously changed user behavior and system updating, the recognition and response of the voice command can be effectively processed and optimized by the system, and the system can be more effectively enabled to show higher robustness especially when facing unknown commands or new interaction scenes.
The invention provides a new energy automobile voice function test method, a system and equipment, the high integration and automation capability of the system enable the system to be seamlessly integrated into the vehicle-mounted system of any new energy automobile, the universality and the flexibility enable the system to be suitable for the current automobile type and be easily adapted to future technology upgrading and new automobile types, and therefore the new energy automobile menu test and optimization aspect has higher efficiency, accuracy and adaptability, and user experience and overall performance of the system are obviously improved.
The above embodiments are only for illustrating the technical solution of the present invention, and not for limiting the same; although the invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present invention, and are intended to be included in the scope of the present invention.
Other technical features besides those described in the specification are known to those skilled in the art, and are not described herein in detail to highlight the innovative features of the present invention.
Claims (9)
1. The new energy automobile voice function test method is characterized by comprising the following steps:
acquiring interactive interface information of a vehicle machine;
Generating a virtual voice control instruction according to the interactive interface information and playing the virtual voice control instruction;
Obtaining an operation log corresponding to the operation of the vehicle-mounted system in response to the virtual voice control instruction and interface change information after the operation of the vehicle-mounted system in response to the virtual voice control instruction;
Judging whether the result of the vehicle-mounted system responding to the virtual voice control instruction is effective or not according to the operation log and the interface change information so as to acquire a test result;
And recording and storing voice command text contents which are effective according to the test result and are used for acquiring corresponding virtual voice control commands by the vehicle-mounted system.
2. The method for testing the voice function of the new energy automobile according to claim 1, wherein the step of generating and playing the virtual voice control command according to the interactive interface information comprises the steps of:
Acquiring playing characters according to the interactive interface information decision;
Converting the play text into an audio file according to the play text to acquire the virtual voice control instruction;
And sending the virtual voice control instruction to a loudspeaker for playing.
3. The method for testing the voice function of the new energy automobile according to claim 2, wherein the step of converting the play text into an audio file according to the play text to obtain the virtual voice control command comprises the following steps:
processing according to the play text to obtain voice instruction text content;
and generating an audio file according to the voice command text content to acquire a virtual voice control command.
4. The method for testing the voice function of the new energy automobile according to claim 3, wherein the testing method further comprises: recording a played virtual voice control instruction, and verifying the accuracy of the played virtual voice control instruction according to the voice instruction text content.
5. The method for testing the voice function of the new energy automobile according to claim 4, wherein the step of recording the played virtual voice control command and verifying the accuracy of the played virtual voice control command according to the text content of the voice command comprises:
recording a virtual voice control instruction after playing;
Transcribing the virtual voice control instruction into text information;
and comparing the text information with the text content of the expected voice command so as to verify the accuracy of the virtual voice control command.
6. The utility model provides a new energy automobile voice function test system which characterized in that includes:
the data acquisition module is used for acquiring the interactive interface information of the vehicle machine;
the virtual voice command generation module is used for generating a virtual voice control command according to the interactive interface information and playing the virtual voice control command;
The response information acquisition module is used for acquiring an operation log corresponding to the operation of the vehicle-mounted system in response to the virtual voice control instruction and interface change information after the operation of the vehicle-mounted system in response to the virtual voice control instruction;
and the test result generation module is used for judging whether the result of the vehicle-mounted system responding to the virtual voice control instruction is effective or not according to the operation log and the interface change information so as to acquire a test result.
7. The system according to claim 6, wherein the virtual voice command generation module includes:
the playing text acquisition module is used for deciding and acquiring playing text according to the interactive interface information;
the voice command generating module is used for converting the play text into an audio file according to the play text so as to acquire the virtual voice control command;
And the output module is used for sending the virtual voice control instruction to a loudspeaker for playing.
8. The voice function test system of the new energy automobile according to claim 7, wherein the test result generating module is further configured to record and save the voice command text content that is valid as a result of the automobile system responding to the virtual voice control command, and feed the voice command text content back to the play text obtaining module.
9. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor implements the steps of the new energy vehicle voice function test method according to any one of claims 1 to 5 when the program is executed by the processor.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202411089210.2A CN118629396A (en) | 2024-08-09 | 2024-08-09 | New energy automobile voice function test method, system and equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202411089210.2A CN118629396A (en) | 2024-08-09 | 2024-08-09 | New energy automobile voice function test method, system and equipment |
Publications (1)
Publication Number | Publication Date |
---|---|
CN118629396A true CN118629396A (en) | 2024-09-10 |
Family
ID=92601734
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202411089210.2A Pending CN118629396A (en) | 2024-08-09 | 2024-08-09 | New energy automobile voice function test method, system and equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN118629396A (en) |
Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2012040178A1 (en) * | 2010-09-24 | 2012-03-29 | Waters Technologies Corporation | Techniques for automated software testing |
CN110633209A (en) * | 2019-08-22 | 2019-12-31 | 惠州市德赛西威汽车电子股份有限公司 | Automatic testing method and system for vehicle-mounted android multimedia navigator |
US20200349235A1 (en) * | 2019-05-03 | 2020-11-05 | Rainforest Qa, Inc. | Electronic product testing systems for providing automated product testing |
CN115145779A (en) * | 2022-04-21 | 2022-10-04 | 中国第一汽车股份有限公司 | Vehicle machine testing method and device, electronic equipment and storage medium |
CN115223544A (en) * | 2021-07-23 | 2022-10-21 | 广州汽车集团股份有限公司 | Voice simulation system, voice performance test system, method, terminal and medium |
US20230077478A1 (en) * | 2020-05-20 | 2023-03-16 | Ai Speech Co., Ltd. | Method and apparatus for testing full-duplex speech interaction system |
CN116467202A (en) * | 2023-04-12 | 2023-07-21 | 华润数字科技有限公司 | Automated testing method, automated testing system, electronic device, and storage medium |
CN116932392A (en) * | 2023-07-17 | 2023-10-24 | 中国电信股份有限公司技术创新中心 | Interface test method, apparatus, device, storage medium and computer program product |
CN117076316A (en) * | 2023-08-23 | 2023-11-17 | 深蓝汽车科技有限公司 | Vehicle-mounted application testing method, system, electronic equipment and storage medium |
CN117349181A (en) * | 2023-11-03 | 2024-01-05 | 广东美的制冷设备有限公司 | Software testing method and device, readable storage medium and electronic equipment |
CN117743170A (en) * | 2023-12-19 | 2024-03-22 | 行吟信息科技(武汉)有限公司 | Test case generation method and device, storage medium and terminal equipment |
-
2024
- 2024-08-09 CN CN202411089210.2A patent/CN118629396A/en active Pending
Patent Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2012040178A1 (en) * | 2010-09-24 | 2012-03-29 | Waters Technologies Corporation | Techniques for automated software testing |
US20200349235A1 (en) * | 2019-05-03 | 2020-11-05 | Rainforest Qa, Inc. | Electronic product testing systems for providing automated product testing |
CN110633209A (en) * | 2019-08-22 | 2019-12-31 | 惠州市德赛西威汽车电子股份有限公司 | Automatic testing method and system for vehicle-mounted android multimedia navigator |
US20230077478A1 (en) * | 2020-05-20 | 2023-03-16 | Ai Speech Co., Ltd. | Method and apparatus for testing full-duplex speech interaction system |
CN115223544A (en) * | 2021-07-23 | 2022-10-21 | 广州汽车集团股份有限公司 | Voice simulation system, voice performance test system, method, terminal and medium |
CN115145779A (en) * | 2022-04-21 | 2022-10-04 | 中国第一汽车股份有限公司 | Vehicle machine testing method and device, electronic equipment and storage medium |
CN116467202A (en) * | 2023-04-12 | 2023-07-21 | 华润数字科技有限公司 | Automated testing method, automated testing system, electronic device, and storage medium |
CN116932392A (en) * | 2023-07-17 | 2023-10-24 | 中国电信股份有限公司技术创新中心 | Interface test method, apparatus, device, storage medium and computer program product |
CN117076316A (en) * | 2023-08-23 | 2023-11-17 | 深蓝汽车科技有限公司 | Vehicle-mounted application testing method, system, electronic equipment and storage medium |
CN117349181A (en) * | 2023-11-03 | 2024-01-05 | 广东美的制冷设备有限公司 | Software testing method and device, readable storage medium and electronic equipment |
CN117743170A (en) * | 2023-12-19 | 2024-03-22 | 行吟信息科技(武汉)有限公司 | Test case generation method and device, storage medium and terminal equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP6936936B2 (en) | Wake-up model optimization methods, devices, devices and storage media | |
US8260617B2 (en) | Automating input when testing voice-enabled applications | |
CN108922564B (en) | Emotion recognition method and device, computer equipment and storage medium | |
CN107909998A (en) | Phonetic order processing method, device, computer equipment and storage medium | |
EP2245551A1 (en) | Identification of elements of currently-executing component script | |
CN113505082B (en) | Application program testing method and device | |
CN117076316A (en) | Vehicle-mounted application testing method, system, electronic equipment and storage medium | |
CN110610089A (en) | User behavior simulation method and device and computer equipment | |
US11762451B2 (en) | Methods and apparatus to add common sense reasoning to artificial intelligence in the context of human machine interfaces | |
CN113674769A (en) | Voice system test method, device, equipment, medium and program product | |
CN113643704A (en) | Test method, upper computer, system and storage medium of vehicle-mounted machine voice system | |
CN110322587B (en) | Evaluation recording method, device and equipment in driving process and storage medium | |
CN113127312A (en) | Method and device for testing database performance, electronic equipment and storage medium | |
CN118629396A (en) | New energy automobile voice function test method, system and equipment | |
CN112860587A (en) | UI automatic test method and device | |
CN111581101A (en) | Software model testing method, device, equipment and medium | |
CN115345600B (en) | RPA flow generation method and device | |
US11710476B2 (en) | System and method for automatic testing of conversational assistance | |
CN111352828A (en) | Automatic testing method and system for black box test | |
CN114999457A (en) | Voice system testing method and device, storage medium and electronic equipment | |
CN111027667B (en) | Method and device for identifying intention category | |
CN113759869A (en) | Intelligent household appliance testing method and device | |
CN115291588B (en) | Full-vehicle-type functional platform adaptation system and method | |
CN112017698B (en) | Method and device for optimizing manual recording adopted by voice robot and electronic equipment | |
CN111831400B (en) | Virtual machine interaction method, device, equipment and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |