Method and apparatus for testing a full-duplex voice interaction system

The method of testing full-duplex voice interaction systems using mixed corpus sets and log analysis addresses the lack of comprehensive evaluation metrics, enabling efficient and accurate performance assessment.

JP7532552B2Active Publication Date: 2024-08-13AISPEECH CO LTD
View PDF 10 Cites 0 Cited by

Patent Information

Application Number
JP2022569085
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Priority Date
2020-05-20
Filing Date
2020-11-17
Publication Date
2024-08-13
Estimated Expiration
2040-11-17

AI Technical Summary

Technical Problem

Existing voice interaction systems, particularly full-duplex systems, lack comprehensive testing methods and evaluation metrics, making it difficult to assess their performance effectively.

Method used

A method involving a mixed corpus set of valid and invalid scenarios is used to test a full-duplex voice interaction system, with logs recording responses and discards, allowing for the calculation of rejection and false response rates, and interaction success rates.

Benefits of technology

Enables end-to-end testing of full-duplex systems, providing accurate metrics and reducing labor costs while improving testing efficiency and optimization cycles.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007532552000001
    Figure 0007532552000001
  • Figure 0007532552000002
    Figure 0007532552000002
  • Figure 0007532552000003
    Figure 0007532552000003
Patent Text Reader

Abstract

The present invention provides a testing method for a full-duplex voice interaction system, comprising the steps of: determining a scene-mixed corpus set by mixing a valid corpus set related to a test scene and an invalid corpus set unrelated to the test scene; playing each corpus audio in the scene-mixed corpus set to a voice interaction device under test equipped with a full-duplex voice interaction system; acquiring an operation log of the voice interaction device under test, the operation log including at least a first log and a second log; obtaining the number of logs in the second log in which a response decision result was not expected to be output but actually received, thereby obtaining the number of incorrect responses; and determining an incorrect response rate based on the number of incorrect responses and the total number of corpus audios played. The present invention also provides a testing device for a full-duplex voice interaction system. The present invention enables end-to-end testing of a full-duplex voice interaction system and accurately obtains indicators of full-duplex specific characteristics.
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to the field of intelligent voice, and in particular to a method and apparatus for testing a full-duplex voice interaction system. [Background technology]

[0002] To test the performance of a voice interaction system, each module in the voice interaction link can be tested independently. For example, the wake-up and signal processing module is tested for wake-up rate, wake-up time, power consumption, etc., the speech recognition module is tested for sentence error rate and character error rate, the semantic understanding module is tested for accuracy rate, recall rate, and analysis accuracy rate, and the voice synthesis module is scored based on the subjective evaluation of multiple people. Most existing voice interaction systems use half-duplex interaction, with absolutely ordered dependencies between each module, and the entire system can complete the interaction by calling each module serially. In this case, the requirements can be met by testing each module independently.

[0003] In the process of realizing the present invention, the inventors found that the related art has at least the following problems: Since modules are tested independently, the test indicators are different, and there is a lack of test methods and evaluation indicators for the entire voice interaction system. In a complex system determined by the integration of multiple modules, such as a full-duplex system, the indicators of each module can no longer meet the evaluation needs. For example, in a half-duplex dialogue, every time a user speaks, the half-duplex voice interaction system responds; on the other hand, a full-duplex voice interaction system only responds to valid requests. Summary of the Invention

[0004] The present invention aims at solving the problem that at least the prior art lacks test methods and evaluation indexes for the entire voice interaction system, making it impossible to test a full-duplex voice interaction system rationally and efficiently.

[0005] According to a first aspect, an embodiment of the present invention comprises: determining a scene mixture corpus set by mixing a valid corpus set related to the test scene and an invalid corpus set not related to the test scene; playing each corpus audio in the scene mixture corpus set on a test subject voice interaction device equipped with the full-duplex voice interaction system; obtaining an operation log of the voice interaction device to be tested, the operation log including at least a first log and a second log; determining a rejection rate based on a number of invalid corpus audios in the first log and a number of discarded results in the second log; Obtaining a number of incorrect responses by counting the number of logs that are expected not to output a response decision result in the second log but actually receive the response decision result, and determining an incorrect response rate based on the number of incorrect responses and the total number of corpus audios played; Including, The first log records the recognized valid / invalid attributes of each corpus audio and the corresponding corpus text, The present invention provides a method for testing a full-duplex voice interaction system, wherein the second log records decision results for each corpus audio, including responses and discards.

[0006] According to a second aspect, an embodiment of the present invention comprises: a corpus set determination program module used for determining a scene mixture corpus set by mixing a valid corpus set related to the test scene and an invalid corpus set not related to the test scene; a test program module adapted to play each corpus audio in the scene mixture corpus set on a voice interaction device under test that is equipped with the full-duplex voice interaction system; a log acquisition program module used for acquiring an operation log of the voice interaction device under test, the operation log including at least a first log and a second log; a rejection rate determination program module adapted to determine a rejection rate based on a number of invalid corpus audios in the first log and a number of discarded results in the second log; A program module for determining an incorrect response rate is used to obtain the number of incorrect responses by counting the number of logs that are expected not to output a response decision result in the second log but actually receive the response decision result, and to determine an incorrect response rate based on the number of incorrect responses and the total number of corpus audios played; Including, The first log records the recognized valid / invalid attributes of each corpus audio and the corresponding corpus text, The second log records decision results for each corpus audio, including responses and discards. The present invention provides a test device for a full-duplex voice interaction system, comprising:

[0007] According to a third aspect, there is provided an electronic device comprising at least one processor and a memory communicatively connected to the at least one processor, the memory storing instructions executable by the at least one processor, the electronic device causing the at least one processor to execute the instructions so as to perform steps of a testing method for a full-duplex voice interaction system according to any embodiment of the present invention.

[0008] According to a fourth aspect, an embodiment of the present invention provides a storage medium having a computer program stored thereon, the storage medium being characterized in that, when the program is executed by a processor, steps of a method for testing a full-duplex voice interaction system according to any of the embodiments of the present invention can be realized. Effect of the Invention

[0009] According to the embodiment of the present invention, the end-to-end test of the full-duplex voice interaction system can be realized, and the indicators for the full-duplex specific characteristics can be accurately obtained. In the test process, the characteristics of the full-duplex interaction system are fully covered, and the online interaction effect is improved. In addition, the required data reproduction and indicator support are provided, and at the same time, the automated test reduces labor costs and improves the test efficiency. And, the optimization cycle of the voice interaction system is improved, and the trial and error cost is reduced. In the past, before the system's interaction success rate could not be tested, the effect of the interaction was judged by obtaining indicators such as the interaction success rate after selling the product and collecting user feedback, but now, it is possible to obtain an estimate of the interaction success rate in each scenario through testing before the product is sold. [Brief description of the drawings]

[0010] In order to more clearly describe the technical solutions in the embodiments of the present invention or the prior art, the following briefly describes the drawings that need to be used in the description of the embodiments or the prior art. Obviously, these drawings are some embodiments of the present invention, and those skilled in the art can also obtain other drawings based on these drawings without creative labor.

[0011] [Figure 1] 2 is a flowchart of a test method for a full-duplex voice interaction system according to an embodiment of the present invention. [Diagram 2] FIG. 2 is a parallel module schematic diagram of a testing method for a full-duplex voice interaction system according to an embodiment of the present invention; [Diagram 3] FIG. 2 is a structural schematic diagram of a test device for a full-duplex voice interaction system according to an embodiment of the present invention; [Figure 4] 1 is a schematic diagram showing the structure of an electronic device according to an embodiment of the present invention; DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0012] In order to make the objectives, technical solutions and advantages of the embodiments of the present invention clearer, the following describes the technical solutions in the embodiments of the present invention with reference to the drawings in the embodiments of the present invention. Obviously, these embodiments are only some of the embodiments of the present invention, and not all of the embodiments. Based on the disclosed embodiments, all other embodiments that can be obtained by those skilled in the art without creative labor fall within the scope of protection of the present invention.

[0013] An embodiment of the present invention provides a method for testing a full-duplex voice interaction system, which is used in a test device, which may be an electronic device such as a computer, and the present invention is not limited thereto.

[0014] FIG. 1 is a flowchart of a test method for a full-duplex voice interaction system according to an embodiment of the present invention, which includes the following steps: S11: A scene mixture corpus set is determined by mixing a valid corpus set related to the test scene and an invalid corpus set not related to the test scene. S12: Play each corpus audio in the scene mixture corpus set to the test subject voice interaction device equipped with a full-duplex voice interaction system. S13: Obtaining an operation log of the voice interaction device to be tested, the operation log including at least a first log and a second log; - The first log records the valid / invalid attributes recognized for each corpus audio and the corresponding corpus text, A second log records the decision outcomes for each corpus audio, including responses and discards. S14: Determine a rejection rate based on the number of invalid corpus audios in the first log and the number of discarded results in the second log. S15: Obtain the number of incorrect responses by counting the number of logs that are expected not to output a response decision result in the second log but actually received a response decision result, and determine the incorrect response rate based on the number of incorrect responses and the total number of corpus audios played.

[0015] In this embodiment, test preparation is required. 1. Valid corpus: The corpus should cover at least one specific scene, such as smart home, television, in-vehicle, education, etc., and cover the vocabulary, business sentence patterns, and high-frequency areas of the scene. 2. Invalid corpus: Prepare a part of the corpus that is not relevant to the specified scene. 3. Background Noise Audio: Based on the scene, select corresponding background noise, such as fan / air conditioner, cooking utensils / kitchen tools, music / TV programs, car engine / whistle, thunderstorm / strong wind, noisy store, etc. 4, Test equipment: Computer: Used to read the corpus audio, control the playback, read the logs of the tested devices, and perform statistical analysis to obtain the test results. All tested devices are connected to this computer. 2 audio playback devices: used to play audio, such as a sound device or an artificial mouth. Test target device: connected to a computer, which can read the device's logs in real time. Here, the "corpus" includes one or more texts and recorded audio corresponding to each sentence. The "system decision result" is the decision result of the operation command output by the system based on the input audio information and other data. The "system interaction result" is the output of the system's response to the current state based on the input audio information and other data, and includes the response recognition result (text), the broadcast schedule text, the operation explanation of the device, etc.

[0016] In a full-duplex voice interaction system, there is no serial relationship between each module, but rather parallel calculation of data from multiple modules, as shown in Figure 2. Therefore, the success rate of the entire system cannot be obtained by simply multiplying the "success rate" of each module.

[0017] In step S11, a certain number of valid corpora covering the specified scene prepared in the above step are obtained, for example, "What I want to listen to is Lau Dehua's song" in smart home, and a certain number of invalid corpora unrelated to the specified scene are obtained, for example, "What the ThinkPad dialogue factory provides is speech recognition capability". Then, the valid corpus set and the invalid corpus set are integrated and randomly sorted to determine a scene mixed corpus set.

[0018] In step S12, each corpus audio in the scene mixture corpus set is played one by one on a test voice interaction device equipped with a full-duplex voice interaction system by a playback device such as an audio device.

[0019] In one embodiment, the method includes: playing each corpus audio in the scene mixture corpus set to a test subject voice interaction device equipped with a full-duplex voice interaction system, and playing a preset background noise to the test subject voice interaction device equipped with a full-duplex voice interaction system; testing a voice interaction device under test based on a corpus audio with background noise; Further included is:

[0020] Also, playing each corpus audio in the scene mixture corpus set by a first playback device to a test voice interaction device equipped with a full-duplex voice interaction system; playing a preset background noise to a test subject voice interaction device equipped with a full-duplex voice interaction system by a second playback device; Includes:

[0021] In this embodiment, two playback devices are prepared in advance, and one device is used to play the corpus audio and the other is used to play background noise simultaneously, so that the effects of character accuracy and sentence accuracy can be further tested by adding noise to the played audio.

[0022] Determining whether the state of the device under test matches expectations is as follows. 1. Make sure the equipment is always ready to record sound. 2. Whether the system makes a response decision when playing valid corpus audio. 3. Whether the system makes a discard decision after playing invalid corpus audio. 4. After playing the valid corpus audio, whether the system responds interactively and whether the response results meet expectations. 5. Whether the system turns off the recording after playing the relevant corpus audio and finishing it.

[0023] In step S13, since the device under test is connected to the computer, the computer can read the log of the device in real time, and obtain the operation log of the device under test to obtain corresponding log information.

[0024] for example, 1. Play one corpus audio and record whether it is a valid corpus and the text of the sentence. 2. During playback of the corpus audio, whether the system gives a decision result and whether the decision result matches expectations. 3. After playing the corpus audio, whether the system gives an interaction result or not. a) Whether the recognition result (text) of the response matches expectations. b) Whether the text to be broadcast matches expectations. c) Whether the device's operation description matches your expectations. 4. The time interval from the start of playback to the system returning the first character of the recognition result. 5. The time interval between the completion of playback and the system returning the whole sentence recognition result. 6. The time interval between the completion of playback and the system returning the complete interaction result.

[0025] More specifically, 1.2020-05-11 09:00:00 Start playing valid corpus 1, and the corpus text is "What I want to hear is Lau Dehua's song." 2. 2020-05-11 09:00:01 Received real-time recognition result: "I" 3. 2020-05-11 09:00:01 Received real-time recognition result: "I" 4. 2020-05-11 09:00:02 Received real-time recognition result: "What I want to ask is" 5.2020-05-11 09:00:02 Received decision result: Aborted 6. 2020-05-11 09:00:03 Received real-time recognition result: "I want to ask Liu De." 7. 2020-05-11 09:00:03 Received real-time recognition result: "I want to ask Lau Dehua." 8. 2020-05-11 09:00:03 End playback of active corpus 1 9. 2020-05-11 09:00:04 Received real-time recognition result: "I want to listen to Lau Dehua's song." 10.2020-05-11 09:00:05 Receive the interaction result including the response recognition result (text), the text to be broadcast, and the operation command for the device. 1. 2020-05-11 09:01:00 Start playing invalid corpus 1. The corpus text is "What ThinkPad Dialogue Factory provides is speech recognition capabilities." 2.2020-05-11 09:01:01 Received real-time recognition result: "Think fast" 3. 2020-05-11 09:01:01 Received real-time recognition result: "Think and talk" 4.2020-05-11 09:01:02 Received real-time recognition result: "Think and communicate with the factory" 5.2020-05-11 09:01:02 Received decision result: Aborted 6.2020-05-11 09:01:03 Received real-time recognition result: "What ThinkPad Dialogue Factory provides" 7. 2020-05-11 09:01:03 Received real-time recognition result: "ThinkSpeaker Factory provides voice recognition" 8.2020-05-11 09:01:03 End playback of invalid corpus 1 9.2020-05-11 09:01:04 Received real-time recognition result: "What ThinkPad Dialogue Factory provides is voice recognition capabilities." 10.2020-05-11 09:01:05 Received decision result: Discarded.

[0026] In the test, real-time recognition results such as logs 2, 3, 4, 6, 7, and 9 (i.e., numbers 2, 3, 4, 6, 7, and 9 in the log example above) can be received during playback. However, to detect a specific item, only a part of the information in the log is required when testing a certain test item. In addition, the log numbers can be separated, making the operation easier. For example, log 1. 2020-05-11 09:00:00 Start playing valid corpus 1, and the corpus text is "What I want to hear is Lau Dehua's song", and log 1. 2020-05-11 09:01:00 Start playing invalid corpus 1, and the corpus text is "What Suplicity Dialogue Factory provides is speech recognition ability", which are divided into a first log that records the recognized valid and invalid attributes and the corresponding corpus text for each corpus audio. Similarly, decision results such as the "decision results" in log 5 and log 10 can also be received and divided into a second log. The decision outcomes include reply, abort, and discard.

[0027] In step S14, taking an invalid corpus log as an example, the last interaction decision obtained is [Discard], that is, no interaction response is made to this sentence input. In other words, all invalid corpora should be discarded, but there is a possibility that a response may be made by mistake to a voice that should not actually be responded to. This determines the rejection rate. Rejection rate = total number of [Discard] logs / number of invalid corpora to be played.

[0028] For step S15, not all decision outcomes match the expectation, and there should be no decision outcome of [abort] in the case of log 5 in the invalid corpus. Similarly, the expectation is not met when there is only one dialogue outcome rather than rejection, such as log 10 in the invalid corpus.

[0029] Since the corresponding corpus texts such as “What I want to listen to is Lau Dehua’s song” and “What Suplicity Dialogue Factory provides is speech recognition capabilities” have already been recorded in the first log, the prediction decision result can be confirmed by these texts.

[0030] The number of logs that are expected not to output these response decision results in the second log but actually received the response decision results is counted to obtain the number of incorrect responses. The incorrect response rate = number of incorrect responses / number of corpora played.

[0031] There are no "false answer rates" or "reject rates" in half-duplex. In half-duplex, all requests are answered, but in full-duplex, only valid requests are answered, so there is a false answer rate. Similarly, there are no interruptions in half-duplex, and when the synthesized sound output by the device is being played, the device's sound pickup device is not on, so it cannot be interrupted.

[0032] As can be seen from this embodiment, the end-to-end test of the full-duplex voice interaction system can be realized, and the indicators for the full-duplex specific characteristics can be accurately obtained. In the test process, the characteristics of the full-duplex interaction system are fully covered, the online interaction effect is improved, and the necessary data reproduction and indicator support are provided, while the automated test reduces the labor cost and improves the test efficiency. This improves the optimization cycle of the voice interaction system and reduces the cost of trial and error. In the past, before the system's interaction success rate could not be tested, the effect of the interaction was judged by obtaining indicators such as the interaction success rate after selling the product and collecting user feedback, but now it is possible to obtain an estimate of the interaction success rate in each scenario through testing before the product is sold.

[0033] In one embodiment, the work log includes at least a third log; a third log records interaction results for each corpus audio, including a broadcast schedule text for the corpus audio and a device operation command for the corpus audio; Determine corresponding predicted broadcast schedule text and predicted device operation instructions according to the corpus text of each corpus audio in the first log; If the broadcast schedule text in the interaction result of each corpus audio matches the broadcast schedule text of the corresponding expectation and the device operation instructions match the device operation instructions of the corresponding expectation, the interaction result matches the expectation; The number of successful interactions is obtained by counting the number of logs of interaction results that match the expectation in the third log, and the interaction success rate is determined based on the number of successful interactions and the total number of corpus audios played.

[0034] In this embodiment, the log 10 of “received dialogue results” is determined as the third log, which is used to record the interaction results for each corpus audio, including {recognition results, broadcast schedule text, action instructions}.

[0035] Similarly, since the first log has the corpus text of each corpus audio, the corresponding predicted broadcasting schedule text and predicted device operation command can be determined. For example, the predicted broadcasting schedule text of "I want to listen to Lau Dehua's song" is "Play 'Forgotten Water'", and the operation command is to call the music skill to play 'Forgotten Water'.

[0036] The interaction success rate is that even if the recognition result is incorrect, you can still get the correct interaction, so there is no need to look at the recognition result. For example, even if the recognition result is incorrect and the user misrecognizes "The idol wants to listen to Lau Dehua's song," the actual broadcast text is still "Play 'Forgotten Water'," and the actual action command is still to call the music skill to play 'Forgotten Water'.

[0037] 1 means it matches the expectation, and 0 means it doesn't match the expectation. So, if the {recognition result, broadcast schedule text, action command} is 011 or 111 compared with the expectation, the interaction result matches the expectation.

[0038] Finally, we obtain the interaction success rate of the full-duplex voice interaction system by calculating "interaction success rate" = number of corpora that meet all predictions / number of all played corpora.

[0039] As can be seen from this embodiment, half-duplex is performed serially, so each module is tested respectively, and finally obtains the interaction success rate result, but full-duplex is performed in parallel, so the interaction success rate result can only be obtained by the end-to-end test of this method.

[0040] As one embodiment, the third log records the interaction results for each corpus audio and further includes the recognition results of the corpus audio. Based on the corpus text of each corpus audio and the recognition results of the corpus audio in the first log, the character recognition accuracy and the sentence recognition accuracy are determined.

[0041] By comparing the recognition results (text) of the responses in the first log and the third log (log 10), the "sentence recognition accuracy" and the "character recognition accuracy" can be obtained. Here, it is consistent with the half-duplex calculation method. However, for half-duplex, log 1 and log 9 are compared, and for full-duplex, it is compared with log 10. For example, the recognition result of the full text is "How to write the character 'cloud' in 'cloud cluster'", and the full-duplex response content may be "cloud cluster".

[0042] The difference between full-duplex and half-duplex is not in playback but in interaction. The interaction in half-duplex is one-to-one, with one response for one request. However, the interaction in full-duplex is many-to-many, where there may be multiple responses for one request, or there may be only one response for multiple requests. This leads to the impact on the accuracy of character recognition and sentence recognition.

[0043] As one embodiment, the work log includes at least the fourth log, the fifth log, and the sixth log. - The fourth log records the first timestamp when the playback of each corpus audio ends. - The fifth log records the second timestamp for determining the recognition result after the playback of each corpus audio ends. - The sixth log records the third timestamp for determining the interaction result time for each corpus audio. Based on the time difference between the second timestamp and the first timestamp, the recognition response time of the voice interaction device to be tested is determined. Based on the time difference between the third timestamp and the second timestamp, an interaction response time of the voice interaction device under test is determined.

[0044] Here, the timestamp "2020-05-11 09:00:03" in log 8 is determined as the fourth log, the timestamp "2020-05-11 09:00:04" in log 9 is determined as the fifth log, and the timestamp "2020-05-11 09:00:05" having the interaction result in log 10 is determined as the sixth log. Since "2020-05-11 09:00:04" - "2020-05-11 09:00:03" = 1 second, we can obtain that the response time for the system to respond to recognition is 1 second. Since "2020-05-11 09:00:05" - "2020-05-11 09:00:04" = 1 second, we can obtain that the response time for the system to respond to an interaction is 1 second.

[0045] FIG. 3 is a structural schematic diagram of a testing device for a full-duplex voice interaction system according to an embodiment of the present invention, which is capable of executing the testing method for a full-duplex voice interaction system according to any of the above embodiments and is arranged in the testing device.

[0046] The testing device for the full-duplex voice interaction system according to this embodiment includes a corpus set determination program module 11, a test program module 12, a log acquisition program module 13, a rejection rate determination program module 14, and a false response rate determination program module 15.

[0047] Here, the corpus set determination program module 11 is used to determine a scene mixture corpus set by mixing a valid corpus set related to the test scene and an invalid corpus set not related to the test scene. The test program module 12 is used to play each corpus audio in the scene mixture corpus set to a test target voice interaction device equipped with a full-duplex voice interaction system. The log acquisition program module 13 is used to acquire an operation log of the test target voice interaction device, including at least a first log and a second log, where: the first log records the valid / invalid attributes recognized for each corpus audio and the corresponding corpus text; and the second log records the decision results for each corpus audio, including responses and discards. The rejection rate determination program module 14 is used to determine a rejection rate based on the number of invalid corpus audios in the first log and the number of discard results in the second log. The incorrect response rate determination program module 15 is used to obtain the number of incorrect responses by counting the number of logs that are expected not to output a response decision result in the second log but actually receive a response decision result, and to determine the incorrect response rate based on the number of incorrect responses and the total number of corpus audios played.

[0048] An embodiment of the present invention further provides a non-volatile computer storage medium, the computer storage medium storing instructions executable by a computer to execute the method for testing a full-duplex voice interaction system in any of the embodiments of the method described above.

[0049] In one embodiment, the non-volatile computer storage medium of the present invention stores computer executable instructions, which are set forth as follows: Mixing a valid corpus set related to the test scene and an invalid corpus set not related to the test scene to determine a scene mixture corpus set; playing each corpus audio in the scene mixture corpus set on a test subject voice interaction device equipped with the full-duplex voice interaction system; Acquire an operation log of the voice interaction device to be tested, the operation log including at least a first log and a second log; The first log records the recognized valid / invalid attributes of each corpus audio and the corresponding corpus text, the second log records decision results for each corpus audio, including responses and discards; determining a rejection rate based on a number of invalid corpus audio in the first log and a number of discarded results in the second log; The number of incorrect responses is obtained by counting the number of logs that are expected not to output a response decision result in the second log but actually received a response decision result, and an incorrect response rate is determined based on the number of incorrect responses and the total number of corpus audios played.

[0050] The non-volatile computer-readable storage medium can be used to store non-volatile software programs, non-volatile computer-executable programs and modules. The programs and modules are, for example, program instructions / modules corresponding to the methods in the embodiments of the present invention. When one or more program instructions are stored in the non-volatile computer-readable storage medium and executed by the processor, the method for testing the full-duplex voice interaction system of any of the above method embodiments is performed.

[0051] The non-volatile computer-readable storage medium includes a storage program area and a storage data area. The storage program area can store an operating system, an application program required for at least one function, and the storage data area can store data created according to the use of the device, etc. Furthermore, the non-volatile computer-readable storage medium can include a high-speed random access memory. The non-volatile computer-readable storage medium can further include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, or other non-volatile solid-state storage device. In some embodiments, the non-volatile computer-readable storage medium can be selected to include a memory that is located remotely to the processor. These remote memories can be connected to the human-machine interaction device via a network. The network can include, but is not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0052] An embodiment of the present invention further provides an electronic device including at least one processor and a memory communicatively connected to the at least one processor, the memory storing instructions executable by the at least one processor, the electronic device causing the at least one processor to execute the instructions such that the following method for testing a full-duplex voice interaction system can be performed:

[0053] Mixing a valid corpus set related to the test scene and an invalid corpus set not related to the test scene to determine a scene mixture corpus set; playing each corpus audio in the scene mixture corpus set on a test subject voice interaction device equipped with the full-duplex voice interaction system; Acquire an operation log of the voice interaction device to be tested, the operation log including at least a first log and a second log; The first log records the recognized valid / invalid attributes of each corpus audio and the corresponding corpus text, the second log records decision results for each corpus audio, including responses and discards; determining a rejection rate based on a number of invalid corpus audio in the first log and a number of discarded results in the second log; The number of incorrect responses is obtained by counting the number of logs that are predicted not to output a response decision result in the second log but actually received a response decision result, and the incorrect response rate is determined based on the number of incorrect responses and the total number of corpus audios played.

[0054] In some embodiments, the work log includes at least a third log; The third log records an interaction result for each corpus audio, the interaction result including a broadcast schedule text for the corpus audio and a device operation command for the corpus audio; determining corresponding predicted broadcast schedule text and predicted device operation instructions according to the corpus text of each corpus audio in the first log; If the broadcast schedule text in the interaction result of each of the corpus audios matches the corresponding expected broadcast schedule text and the device operation instructions match the corresponding expected device operation instructions, the interaction result matches the expectation; The number of successful interactions is obtained by counting the number of logs of interaction results that match the expectation in the third log, and an interaction success rate is determined based on the number of successful interactions and the total number of corpus audios played.

[0055] In some embodiments, the third log records an interaction result for each corpus audio, the interaction result further including a recognition result for the corpus audio; Based on the corpus text of each corpus audio in the first log and the recognition result of the corpus audio, a character recognition accuracy rate and a sentence recognition accuracy rate are determined.

[0056] In some embodiments, the work log includes at least a fourth log and a fifth log; The fourth log records a first timestamp at which playback of each corpus audio ends; The fifth log records a second timestamp for each corpus audio, the second timestamp defining the recognition result after the playback is completed; A recognition response time of the tested voice interaction device is determined based on a time difference between the second timestamp and the first timestamp.

[0057] In some embodiments, the work log includes at least a sixth log; The sixth log record includes a third time stamp that determines the interaction result time for each corpus audio; An interaction response time of the tested voice interaction device is determined based on a time difference between the third timestamp and the second timestamp.

[0058] In some embodiments, the processor further plays each corpus audio in the scene mixture corpus set to a test subject voice interaction device equipped with the full-duplex voice interaction system, and plays a preset background noise to the test subject voice interaction device equipped with the full-duplex voice interaction system, and tests the test subject voice interaction device based on the corpus audio with the background noise.

[0059] In some embodiments, the step of playing each corpus audio in the scene mixture corpus set to a test subject voice interaction device equipped with the full-duplex voice interaction system and playing a preset background noise to the test subject voice interaction device equipped with the full-duplex voice interaction system includes: playing each corpus audio in the scene mixture corpus set on a test subject voice interaction device equipped with the full-duplex voice interaction system by a first playback device; A second playback device plays a preset background noise to a test subject voice interaction device equipped with the full-duplex voice interaction system.

[0060] 4 is a schematic diagram of a hardware structure of an electronic device for performing a test method for a full-duplex voice interaction system according to another embodiment of the present invention. As shown in FIG. 4, the device includes one or more processors 410 and a memory 420, and FIG. 4 takes one processor 410 as an example.

[0061] The device for performing the method for testing a full-duplex voice interaction system may further include an input device 430 and an output device 440 .

[0062] The processor 410, memory 420, input device 430, and output device 440 may be connected by a bus or in some other manner, and FIG. 4 illustrates a bus connection as an example.

[0063] The memory 420, as a non-volatile computer-readable storage medium, can store non-volatile software programs, non-volatile computer-executable programs and modules, such as program instructions / modules corresponding to the test method for a full-duplex voice interaction system in the embodiment of the present invention. The processor 410 executes the non-volatile software programs, instructions and modules stored in the memory 420 to perform various functional applications and data processing of the server, that is, to realize the test method for a full-duplex voice interaction system in the above method embodiment.

[0064] The memory 420 may include a program storage area and a data storage area. Here, the program storage area may store an operating system or an application program required for at least one function. The data storage area may store data generated in response to use of the full-duplex voice interaction system test device. The memory 420 may include high-speed random access memory and non-volatile memory, for example, at least one magnetic disk storage device, flash memory device, or other non-volatile solid-state storage device. In some embodiments, the memory 420 may optionally include memory located remotely from the processor 410. These remote memories may be connected to the full-duplex voice interaction system test device via a network. Examples of the network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0065] The input device 430 can receive input numeric and textual information and generate signals related to user settings and function control of the test device of the full-duplex voice interaction system. The output device 440 can include a display device such as a display.

[0066] The one or more modules are stored in memory 420 and, when executed by one or more processors 410, perform a method for testing a full-duplex voice interaction system in any of the method embodiments described above.

[0067] Electronic devices according to embodiments of the present invention exist in a variety of forms, including but not limited to the following devices:

[0068] (1) Mobile communication devices: These devices are characterized by having mobile communication capabilities and have the primary goal of providing voice and data communications, including smartphones (e.g., iPhones), multimedia mobile phones, feature mobile phones, low-end mobile phones, etc.

[0069] (2) Ultra-Mobile Personal Computer Devices: These devices belong to the category of personal computers, have computing and processing capabilities, and generally have mobile Internet access characteristics, including, for example, PDAs such as the iPad (registered trademark), MIDs, and UMPC devices.

[0070] (3) Portable Entertainment Devices: These devices can display and broadcast multimedia content and include audio, video players (e.g., iPod®), handheld game devices, e-books, intelligent toys and portable car navigation devices.

[0071] (4) Server: A device that provides computing services. The server configuration includes a processor, hard disk, memory, system bus, etc. Although servers and general-purpose computers have similar architectures, they need to provide reliable services, so there are high requirements in areas such as processing power, stability, reliability, security, scalability, and manageability.

[0072] The use of relational terms such as "first" and "second" in the present specification, claims and drawings is intended only to distinguish one entity or operation from another entity or operation, and is not intended to specify or imply any actual relationship or order of these entities or operations. Additionally, the terms "comprise" and "have" include not only those elements, but also other elements not expressly listed or inherent in such a process, method, object or apparatus. Unless further limitations are imposed, an element defined by the term "comprise" does not exclude the presence of other identical elements in the process, method, object or apparatus that includes the element.

[0073] The above device embodiments are only examples, and the units described as separate components may or may not be physically separated. The components shown as units may or may not be physical units, i.e., they may be located in one place or distributed across multiple network units. According to actual needs, some or all of the modules may be selected to achieve the purpose of the embodiments.

[0074] Through the description of the above embodiments, those skilled in the art can clearly understand that each embodiment can be realized by software and a common hardware platform, and of course can also be realized by hardware. Based on this understanding, the essence of the above technical solutions or the part contributing to the related technology can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium such as a ROM / RAM, a magnetic disk, a compact disk, etc., and includes some instructions to make a computer device (such as a personal computer, a server, or a network device) execute the method described in each embodiment or a certain part of the embodiment.

[0075] The above examples are only used to explain the technical solutions of the present invention, and do not limit the present invention. Although the present invention has been described in detail with reference to the above examples, those skilled in the art will understand that the technical solutions of the above examples can be modified or some of the technical features thereof can be replaced with equivalents, but these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. A method for testing a full-duplex voice interaction system for use in a test device, comprising: determining a scene mixture corpus set by mixing a valid corpus set related to the test scene and an invalid corpus set not related to the test scene; playing each corpus audio in the scene mixture corpus set on a test subject voice interaction device equipped with the full-duplex voice interaction system; obtaining an operation log of the voice interaction device to be tested, the operation log including at least a first log, a second log, and a third log; determining a rejection rate based on a number of invalid corpus audio in the first log and a number of discarded results in the second log; Obtaining a number of incorrect responses by counting the number of logs that are expected not to output a response decision result in the second log but actually receive the response decision result, and determining an incorrect response rate based on the number of incorrect responses and the total number of corpus audios played; Including, The first log records the recognized valid / invalid attributes of each corpus audio and the corresponding corpus text; the second log records decision results for each corpus audio, including responses and discards; The third log records an interaction result for each corpus audio, the interaction result including a broadcast schedule text for the corpus audio and a device operation command for the corpus audio; determining corresponding predicted broadcast schedule text and predicted device operating instructions according to the corpus text of each corpus audio in the first log; If the broadcast schedule text in the interaction result of each of the corpus audios matches the corresponding expected broadcast schedule text and the device operation instructions match the corresponding expected device operation instructions, the interaction result matches the expectation; Obtain a number of successful interactions by counting the number of logs of interaction results that match the expectation in the third log, and determine an interaction success rate according to the number of successful interactions and a total number of played corpus audios; 13. A method for testing a full-duplex voice interaction system, comprising:

2. the third log records an interaction result for each corpus audio, the interaction result further including a recognition result for the corpus audio; determining a character recognition accuracy rate and a sentence recognition accuracy rate based on the corpus text of each corpus audio in the first log and the recognition result of the corpus audio; 2. The method for testing a full-duplex voice interaction system according to claim 1 .

3. The work log includes at least a fourth log and a fifth log; The fourth log records a first timestamp when playback of each corpus audio ends, The fifth log records a second timestamp for each corpus audio, the second timestamp defining the recognition result after the playback is completed; determining a recognition response time of the test subject voice interaction device based on a time difference between the second timestamp and the first timestamp; 2. The method for testing a full-duplex voice interaction system according to claim 1 .

4. The work log includes at least a sixth log; The sixth log record includes a third time stamp that determines an interaction result time for each corpus audio; determining an interaction response time of the test target voice interaction device based on a time difference between the third timestamp and the second timestamp; The method for testing a full-duplex voice interaction system according to claim 3.

5. playing each corpus audio in the scene mixture corpus set to a test subject voice interaction device equipped with the full-duplex voice interaction system, and playing a preset background noise to the test subject voice interaction device equipped with the full-duplex voice interaction system; testing the subject voice interaction device based on a corpus audio with background noise; 2. The method for testing a full-duplex voice interaction system according to claim 1, further comprising:

6. In the step of playing each corpus audio in the scene mixture corpus set to a test subject voice interaction device equipped with the full-duplex voice interaction system and playing a preset background noise to the test subject voice interaction device equipped with the full-duplex voice interaction system, playing each corpus audio in the scene mixture corpus set to a test subject voice interaction device equipped with the full-duplex voice interaction system by a first playback device; playing a preset background noise on a test subject voice interaction device equipped with the full-duplex voice interaction system by a second playback device; The method for testing a full-duplex voice interaction system according to claim 5.

7. a corpus set determination program module used for determining a scene mixture corpus set by mixing a valid corpus set related to the test scene and an invalid corpus set not related to the test scene; a test program module adapted to play each corpus audio in the scene mixture corpus set to a voice interaction device under test having a full-duplex voice interaction system; a log acquisition program module used for acquiring operation logs of the voice interaction device under test, the operation logs including at least a first log, a second log and a third log; a rejection rate determination program module adapted to determine a rejection rate based on the number of invalid corpus audio in the first log and the number of discarded results in the second log; A program module for determining an incorrect response rate is used to obtain the number of incorrect responses by counting the number of logs that are expected not to output a response decision result in the second log but actually receive the response decision result, and to determine an incorrect response rate based on the number of incorrect responses and the total number of corpus audios played; Including, The first log records the recognized valid / invalid attributes of each corpus audio and the corresponding corpus text; the second log records decision results for each corpus audio, including responses and discards; The third log records an interaction result for each corpus audio, the interaction result including a broadcast schedule text for the corpus audio and a device operation command for the corpus audio; determining corresponding predicted broadcast schedule text and predicted device operating instructions according to the corpus text of each corpus audio in the first log; If the broadcast schedule text in the interaction result of each of the corpus audios matches the corresponding expected broadcast schedule text and the device operation instructions match the corresponding expected device operation instructions, the interaction result matches the expectation; Obtain a number of successful interactions by counting the number of logs of interaction results that match the expectation in the third log, and determine an interaction success rate according to the number of successful interactions and a total number of played corpus audios; 13. A test device for a full-duplex voice interaction system comprising:

8. 1. An electronic device comprising: at least one processor; and a memory communicatively coupled to the at least one processor, the memory storing instructions executable by the at least one processor; 7. An electronic device for causing said instructions to be executed by said at least one processor so as to perform the steps of the method for testing a full-duplex voice interaction system according to any one of claims 1 to 6.

9. A storage medium on which a computer program is stored, A storage medium, characterized in that, when the program is executed by a processor, the steps of the method for testing a full-duplex voice interaction system according to any one of claims 1 to 6 can be realized.

Citation Information

Patent Citations

  • Speech recognition test method, device and equipment and computer readable storage medium

    CN111179907A

  • Voice recognizing device and process condition setting method in voice recognizing device

    JP2002328696A

  • Method for evaluating voice recognition precision of voice recognition device

    JP2004029215A

  • Dictionary for speech recognition utilized in speech recognition device and learning method of language model for speech recognition

    JP2011154099A

  • Dialogue system and determination method of speech to dialogue system

    JP2014077969A