Voice wake-up and recognition automated test method, storage medium and test terminal

Through automated testing methods, voice commands and interference audio are used to perform voice wake-up and recognition tests on smart TVs, which solves the problems of low test efficiency and high cost in the existing technology, and achieves automatic recording and accurate test result output.

CN112151029BActive Publication Date: 2024-10-29SHENZHEN SKYWORTH RGB ELECTRONICS CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202010922849.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-09-04
Publication Date
2024-10-29
Estimated Expiration
2040-09-04

AI Technical Summary

Technical Problem

In the existing technology, smart TV voice wake-up and recognition testing has low efficiency and high cost, and the test results cannot be automatically recorded and analyzed.

Method used

Use voice wake-up and recognition automated testing methods to test the device under test through preset voice commands and interference audio, obtain the device's voice recognition interface image for comparison, automatically record and output the test results, including steps such as recording voice commands and interference audio , perform wake-up and recognition in an interfering audio environment, collect interface images, perform image text analysis and feature extraction, and compare feature data to obtain test results.

Benefits of technology

It improves test efficiency, reduces costs, ensures the accuracy of test results, can automatically test voice wake-up and recognition rates, and output detailed test reports.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112151029B_ABST
    Figure CN112151029B_ABST
Patent Text Reader

Abstract

The present invention provides a voice wake-up and recognition automated test method, storage medium and test terminal. The method includes the following steps: using voice commands to perform voice wake-up and recognition on a device to be tested; the voice commands include wake-up voice commands and recognition voice commands; obtaining a voice recognition interface image of the device to be tested after being awakened, comparing the voice recognition interface image with a preset image, and outputting the test results. By automatically performing a TV voice wake-up and recognition test according to the set voice commands, and automatically recording and outputting the test report, the problems of low efficiency and high cost of manual testing can be solved, and the accuracy of the test results can be improved and guaranteed.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of communication technology, and in particular to a voice wake-up and recognition automatic testing method, a storage medium and a testing terminal. Background Art

[0002] During the research and development and testing process of the TV's intelligent voice, it needs to undergo verification tests in many specific noise scenarios to ensure far-field voice wake-up and recognition rate.

[0003] At present, most tests on TV intelligent voice systems are verified manually. However, manual testing not only has the problems of monotony of manual test voice, high cost and low test efficiency, but also cannot analyze and automatically record test results.

[0004] Therefore, the prior art needs to be further improved and enhanced. Summary of the invention

[0005] In view of the above-mentioned deficiencies in the prior art, an object of the present invention is to provide a voice wake-up and recognition automated testing method, a storage medium and a testing terminal, aiming to solve the problem of low efficiency of existing voice wake-up and recognition testing for smart TVs.

[0006] A voice wake-up and recognition automated testing method, comprising the steps of:

[0007] Perform voice wake-up and recognition on the device under test using voice commands; the voice commands include wake-up voice commands and recognition voice commands;

[0008] Acquire the interface image of the device under test after waking up, compare the voice recognition interface image with the preset image, and output the test result.

[0009] The above-mentioned voice wake-up and recognition automated testing method automatically performs TV voice wake-up and recognition rate tests according to set voice commands, and automatically records and outputs test reports to solve the low efficiency and high cost of manual testing, and improve and ensure the accuracy of test results.

[0010] Optionally, in the voice wake-up automated test method, the step of using voice commands to perform voice wake-up and recognition on the device under test specifically includes:

[0011] Pre-recording the voice command and the interference audio; the interference audio includes external noise interference audio and internal noise interference audio;

[0012] In an environment where the interfering audio is played, the voice command is used to perform voice wake-up and recognition on the device under test.

[0013] Optionally, the voice wake-up and recognition automated test method, wherein the step of obtaining a voice recognition interface image of the device under test after wake-up, comparing the voice recognition interface image with a preset image, and outputting the test result specifically includes:

[0014] Acquire a voice recognition interface image of the device under test after being awakened, which is captured by a camera device;

[0015] Perform image and text analysis on the speech recognition interface image to distinguish speech from the image and text

[0016] Identify text areas;

[0017] Extracting features of the text in the speech recognition text area to obtain a feature group;

[0018] The feature group is compared with the image text feature data containing the voice command in a preset feature database, a test result is obtained based on the feature comparison and recognition, and the test result is saved in a test report.

[0019] Optionally, the voice wake-up and recognition automated testing method, wherein, before the step of performing image and text analysis on the voice recognition interface image information and distinguishing the voice recognition text area from the voice recognition interface image, further comprises:

[0020] The speech recognition interface image is sequentially subjected to tilt correction processing, color processing and noise point elimination processing on the image.

[0021] Optionally, in the voice wake-up and recognition automated test method, the step of extracting features of text in the voice recognition text area to obtain feature groups specifically includes:

[0022] The text in the speech recognition text area is subjected to text refinement processing to obtain the stroke endpoints, the number of intersections and the positions of the intersections of the text, and save them as feature groups.

[0023] Optionally, the voice wake-up and recognition automated test method, wherein the step of obtaining a voice recognition interface image of the device under test after wake-up, comparing the voice recognition interface image with a preset image, and outputting the test result further comprises:

[0024] When the comparative test finds that the device under test is not correctly awakened and recognized, the acquired voice recognition interface image is saved, and the test result is annotated and then output.

[0025] Optionally, in the voice wake-up and recognition automated test method, the step of performing voice wake-up and recognition on the device under test by using the voice command in the environment where the interference audio is played specifically includes:

[0026] When the interference audio played is the external noise interference audio, setting the device under test to a mute state;

[0027] The play angle and sound pressure of the external noise interference audio are adjusted to form different test environments, and the voice command is used to perform voice wake-up on the device under test in the different test environments.

[0028] Optionally, the voice wake-up and recognition automated test method, wherein, in an environment where the interference audio is played, the step of performing voice wake-up and recognition on the device under test using the voice command specifically includes:

[0029] When the interference audio played is the internal noise interference audio, the play angle and sound pressure of the internal noise interference audio are adjusted to form different test environments, and the voice commands are used to perform voice wake-up and recognition on the device under test in the different test environments.

[0030] Based on the same inventive concept, the present invention also provides a storage medium, wherein 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 in the voice wake-up automated testing method as described above.

[0031] Based on the same inventive concept, the present invention also provides a test terminal, which includes: a processor and a memory; the memory stores a program that can be executed by the processor; when the processor executes the program, the steps in the voice wake-up automatic test method as described above are implemented. BRIEF DESCRIPTION OF THE DRAWINGS

[0032] Figure 1 A flow chart of a voice wake-up and recognition automated testing method provided by an embodiment of the present invention;

[0033] Figure 2 A schematic diagram of an application scenario provided by an embodiment of the present invention;

[0034] Figure 3 A flowchart of step S100 in a voice wake-up and recognition automated testing method provided by an embodiment of the present invention;

[0035] Figure 4 A flowchart of step S200 in a voice wake-up and recognition automated testing method provided by an embodiment of the present invention;

[0036] Figure 5A schematic diagram of an image comparison and analysis process provided by an embodiment of the present invention;

[0037] Figure 6 A schematic diagram of the structure of a test terminal provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0038] In order to facilitate the understanding of the present invention, the present invention will be described more fully below with reference to the relevant drawings. The preferred embodiments of the present invention are given in the drawings. However, the present invention can be implemented in many different forms and is not limited to the embodiments described herein. On the contrary, the purpose of providing these embodiments is to make the disclosure of the present invention more thoroughly understood.

[0039] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art of the present invention. The terms used in the specification of the present invention herein are only for the purpose of describing specific embodiments and are not intended to limit the present invention.

[0040] At present, intelligent voice is gradually entering people's daily life with the empowerment of artificial intelligence technology. So-called intelligent voice is the communication of human-computer language, including voice recognition and voice synthesis. Intelligent voice is divided into near-field voice and far-field voice. When near-field recognition is used, for example, when using voice input method, users can press and hold the voice button of Siri on the mobile phone to speak directly for recognition; when far-field recognition is used, for example, in the scene of smart TV, the far-field voice of the TV is activated by the wake-up word, and then the voice recognition is performed by speaking. As the intelligent control center of the family, the TV adds far-field voice to the smart TV, and consumers interact with the TV through far-field voice, which greatly improves the convenience of using the TV.

[0041] The far-field voice of smart TVs is very convenient, but in daily home living environments, there are various external noises in life, as well as the internal noise emitted by the TV itself during use. These noises will interfere with the wake-up and recognition of far-field voice. Therefore, during the development and testing process of smart voice of TVs, it is necessary to conduct verification tests in many specific noise scenarios to ensure the far-field voice wake-up and recognition rate. At present, most tests on TV smart voice systems are verified manually, but manual testing not only has the problems of singleness of manual test voice, high manual test cost and low test efficiency, but also cannot analyze and automatically record test results.

[0042] Based on this, the present invention provides a solution that can solve the above technical problems, and its details will be described in subsequent embodiments.

[0043] For example, the embodiments of the present invention can be applied to Figure 4The described scenario, in which the detection terminal 10 is respectively connected to the sound source speaker 20, the interference source speaker 30, the drive motor 40, the visual detection system 50, and the device to be tested (TV) 60. The test voice command and the external noise interference audio are imported into the detection terminal 10. In the detection terminal 10, the test parameters of the sound source speaker, the interference source speaker and the drive motor are configured according to the test voice scenarios: quiet, internal noise, and external noise scenarios.

[0044] The sound source speakers (speakers A, B, C) face the TV, and the distance from the TV is set to 1 meter, 3 meters, and 5 meters respectively. According to the set quiet, internal noise, and external noise scenes, the detection terminal 10 controls the sound source speakers and interference source speakers on the drive motor to move positions and angles, and the sound source speakers (speakers A, B, C) play voice commands in sequence according to the set scenes. It is easy to understand that the distance between the sound source speakers and the TV can be set to other values ​​as needed.

[0045] The visual detection system is located in front of the TV. When the sound source speaker plays a set of wake-up recognition voice commands, the TV is awakened and recognizes the voice commands. The visual detection system collects images of the device being awakened and recognized, and then sends the images to the detection terminal 10 for image analysis and processing. It is determined whether the TV is awakened, and whether the voice commands and the command text displayed on the TV are correct.

[0046] It should be noted that the above application scenarios are only shown for the purpose of facilitating the understanding of the present invention, and the embodiments of the present invention are not limited in this respect. On the contrary, the embodiments of the present invention can be applied to any applicable scenario. The device to be detected can be a TV with intelligent voice, a smart projector, a smart laser TV, etc. In the following embodiments, a TV with intelligent voice is used as an example to explain the present invention.

[0047] The invention is further described below by describing embodiments in conjunction with the accompanying drawings.

[0048] Please refer to Figures 1 to 5 As shown in the figure, an embodiment of the present invention provides a voice wake-up and recognition automatic test method, the method comprising the steps of:

[0049] S100, using voice commands to perform voice wake-up on the device under test; the voice commands include wake-up voice commands and recognition voice commands;

[0050] Specifically, if Figure 2 As shown, the steps include:

[0051] S110, pre-recording the voice command and interference audio; the interference audio includes external noise interference audio and internal noise interference audio;

[0052] S120: In an environment where the interference audio is played, voice wake-up the device under test using the voice command.

[0053] In this embodiment, the voice command and interference audio can be pre-recorded; for example, the voice "Hello elf" and "What are the good variety shows" can be recorded in a quiet environment through a recording device. The "Hello elf" audio is used as the wake-up audio, and the "What are the good variety shows" audio is used as the recognition audio. Record a news program, the recording duration of the news program can be 1-3 minutes, and use the audio as interference audio. Use the interference audio to simulate the noise in actual use, and use the voice command to perform voice wake-up on the device under test. It is easy to understand that the interference audio includes external noise (sounds other than the sounds emitted by the smart TV).

[0054] For example, 100 pre-recorded voice commands (each voice command contains 1 wake-up audio and 1 recognition audio) and external noise interference audio are imported into the test terminal, and internal noise audio is also imported into the device under test. In the device control module of the test terminal, the sound pressure and angle configuration parameters of the sound source speaker, interference source speaker, drive motor, and device under test in the quiet, internal noise, and external noise scenes are set according to the test scenes 1-9 in Table 1. After the test scene is set in the device control module of the test terminal, the voice wake-up and recognition tests of the quiet, internal noise, and external noise scenes are carried out in turn according to the test scenes 1-9 in Table 1.

[0055] Wake-up and recognition test in quiet scenes: The device control module sets the interference speaker and the device under test to silent state, sets the sound source speakers (speakers A, B, C) to the angles and sound pressures of test scenes 1-3 in Table 1, and then the sound source speakers (speakers A, B, C) broadcast 100 groups of voice commands in sequence to conduct tests in quiet scenes at 1, 3, and 5 meters. The visual detection system and image comparison processing module are responsible for detecting and recording 3 groups of results.

[0056] Wake-up test for internal noise scenario: The device control module sets the interference speaker to mute mode, sets the device under test and the sound source speakers (speakers A, B, C) to the angles and sound pressures of test scenarios 4-6 in Table 1, and controls the device under test to play the internal noise audio. The sound source speakers (speakers A, B, C) then broadcast 100 groups of voice commands in sequence to conduct internal noise scenario tests at 1, 3, and 5 meters. The visual detection system and image comparison processing module are responsible for detecting and recording the results.

[0057] Wake-up and recognition test of external noise scene: The device control module sets the device under test to silent state, sets the interference speaker and sound source speaker (speakers A, B, C) to the angles and sound pressures of test scenes 7-9 in Table 1, and controls the interference speaker to play the interference audio. The sound source speaker (speakers A, B, C) then broadcasts 100 groups of voice commands in sequence to conduct external noise scene tests at 1, 3, and 5 meters. The visual detection system and image comparison processing module are responsible for detecting and recording the results.

[0058] The test results are shown in Table 1

[0059]

[0060] S200, obtaining a voice recognition interface image of the device under test after being awakened, performing a comparison test on the voice recognition interface image and a preset image, and outputting a test result.

[0061] Combination Figure 3 and Figure 5 Specifically, step S200 includes the steps of:

[0062] S210, acquiring the voice recognition interface image information of the device under test after being awakened, which is collected by using a camera device;

[0063] S220, performing image and text analysis on the voice recognition interface image information, and distinguishing a voice recognition text area from the voice recognition interface image;

[0064] S230, extracting features of the text in the speech recognition text area to obtain a feature group;

[0065] S240, comparing the feature group with the image text feature data corresponding to the voice command in a preset feature database, obtaining a test result based on the feature comparison, and saving the test result in a test report.

[0066] In this embodiment, the sound source speaker plays the test voice command. When the device to be tested responds to the wake-up and recognition voice command, the test terminal sends a collection command to the image acquisition module of the visual acquisition system. After receiving the command, the visual acquisition system sends a collection signal to control the camera of the image information acquisition module to shoot and collect the image information of the wake-up and recognition screen of the TV. The captured image information is sent to the test terminal in the BMP file format. The image comparison processing module of the test terminal pre-processes the collected image: first, the acquired image needs to be tilted, color-processed, and the noise points on the image are removed to enhance the useful information of the image; secondly, the image text analysis: complete the overall analysis of the collected image, distinguish the areas of voice recognition text and image, and perform recognition processing on the voice recognition text area; then feature extraction: according to the pre-processing of the image and the voice recognition text processing of the image, the voice recognition text is processed by text thinning, and the number and position of the stroke endpoints and intersections of the text are obtained, and saved as a feature group.

[0067] The extracted feature group is compared with the image text feature data corresponding to the voice command in the preset feature database, and the test result is obtained based on the comparison and recognition of the two groups of features, and the test result is saved in the test report of the test terminal.

[0068] In one implementation of this embodiment, during the test, when the visual inspection system detects that the device under test has not been correctly awakened and the voice command has not been recognized, the image of the awakening recognition error is saved to the test terminal, and this result is noted in the test report for reference. It is easy to understand that there are two situations in which the terminal under test has not been correctly awakened: one is that although the wake-up voice command has been issued, the device under test has not recognized it and has not made a corresponding response. The other is that although the device under test has responded, the recognition result of the voice command is wrong. For example, the text corresponding to the voice in the voice command is "play variety shows", but what is recognized is "play popular movies."

[0069] Based on the above-mentioned voice wake-up automated testing method, the present invention also provides a storage medium, which stores one or more programs, and the one or more programs can be executed by one or more processors to implement the steps in the above-mentioned voice wake-up automated testing method.

[0070] Based on the above-mentioned voice wake-up and recognition automatic test method, the present invention also provides a test terminal, such as Figure 6As shown, it includes at least one processor (processor) 30; display screen 31; and memory (memory) 32, and may also include a communications interface (CommunicationsInterface) 33 and a bus 34. Among them, the processor 30, the display screen 31, the memory 32 and the communication interface 33 can communicate with each other through the bus 34. The display screen 31 is configured to display the preset user guide interface in the initial setting mode. The communication interface 33 can transmit information. The processor 30 can call the logic instructions in the memory 32 to execute the method in the above embodiment. In addition, the logic instructions in the above memory 32 can be implemented in the form of software functional units and can be stored in a readable storage medium when sold or used as an independent product. The memory 32, as a readable storage medium, can be configured to store software programs, such as program instructions or modules corresponding to the method in the embodiment of the present invention. The processor 30 executes functional applications and data processing by running the software programs, instructions or modules stored in the memory 32, that is, implementing the method in the above embodiment. The memory 32 may include a program storage area and a data storage area, wherein the program storage area may store an operating system and an application required for at least one function; the data storage area may store data created according to the use of the terminal, etc. In addition, the memory 32 may include a high-speed random access memory and may also include a non-volatile memory. For example, a variety of media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a disk or an optical disk, may also be a transient storage medium. In addition, the specific process of loading and executing the above-mentioned storage medium and the multiple instruction processors in the terminal has been described in detail in the above-mentioned method, and will not be described one by one here.

[0071] In summary, the present invention provides a voice wake-up and recognition automated testing method, storage medium and test terminal. The method includes the following steps: using voice commands to perform voice wake-up on the device to be tested; the voice commands include wake-up voice commands and recognition voice commands; obtaining the voice recognition interface image of the device to be tested after being awakened, comparing the voice recognition interface image with the preset image, and outputting the test results. By automatically performing TV voice wake-up and recognition rate tests according to the set voice commands, and automatically recording and outputting test reports, the low efficiency and high cost of manual testing can be solved, and the accuracy of test results can be improved and guaranteed.

[0072] It should be understood that the application of the present invention is not limited to the above examples. For ordinary technicians in this field, improvements or changes can be made based on the above description. All these improvements and changes should fall within the scope of protection of the claims attached to the present invention.

Claims

1. A voice wake-up and recognition automated testing method, It is characterized in that Includes steps: Perform voice wake-up and recognition on the device under test using voice commands; the voice commands include wake-up voice commands and recognition voice commands; Acquire a voice recognition interface image of the device under test after being awakened, compare the voice recognition interface image with a preset image, and output a test result; Pre-recording the voice command and the interference audio; the interference audio includes external noise interference audio and internal noise interference audio; When the interference audio played is the external noise interference audio, setting the device under test to a mute state; Adjust the play angle and sound pressure of the external noise interference audio to form different test environments, and use the voice command to perform voice wake-up and recognition on the device under test in the different test environments; When the interference audio played is the internal noise interference audio, adjusting the play angle and sound pressure of the internal noise interference audio to form different test environments, and using the voice command to perform voice wake-up on the device under test in the different test environments; During the test, if the visual inspection system detects that the device under test is not correctly awakened and recognizes the voice command, the image of the awakening recognition error is saved to the test terminal, and this result is noted in the test report for reference; The device under test is a smart TV.

2. The voice wake-up and recognition automated testing method according to claim 1, It is characterized in that The step of obtaining the voice recognition interface image of the device under test after being awakened, comparing the voice recognition interface image with a preset image, and outputting the test result specifically includes: Acquire a voice recognition interface image of the device under test after being awakened, which is captured by a camera device; Performing image and text analysis on the voice recognition interface image to distinguish a voice recognition text area from the image and text; Extracting features of the text in the speech recognition text area to obtain a feature group; The feature group is compared with the image text feature data containing the voice command in a preset feature database, a test result is obtained based on the feature comparison, and the test result is saved in a test report.

3. The voice wake-up and recognition automated testing method according to claim 2, It is characterized in that Before the step of performing image and text analysis on the voice recognition interface image and distinguishing the voice recognition text area from the image text, the step further includes: The speech recognition interface image is sequentially subjected to tilt correction processing, color processing and noise point elimination processing on the image.

4. The voice wake-up and recognition automated testing method according to claim 2, It is characterized in that The step of extracting features of the text in the speech recognition text area to obtain a feature group specifically includes: The text in the speech recognition text area is subjected to text refinement processing to obtain the stroke endpoints, the number of intersections and the positions of the intersections of the text, and save them as feature groups.

5. The voice wake-up and recognition automated testing method according to claim 1, It is characterized in that After the steps of obtaining the voice recognition interface image of the device under test after being awakened and recognized, comparing the voice recognition interface image with a preset image, and outputting the test result, the following steps are further included: When the comparison test finds that the device under test is not awakened correctly, the acquired voice recognition interface image is saved, and the test result is annotated and then output.

6. A storage medium, It is 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 in the voice wake-up and recognition automatic testing method as described in any one of claims 1-5.

7. A test terminal, It is characterized in that include: Processor and memory; The memory stores a program executable by the processor; When the processor executes the program, the steps in the method according to any one of claims 1 to 5 are implemented.

Citation Information

Patent Citations

  • Vehicle-mounted control screen voice recognition process testing method, electronic equipment and system

    CN109616106A