CN114333766A - Voice performance testing method, device, system, equipment and storage medium - Google Patents
Voice performance testing method, device, system, equipment and storage medium Download PDFInfo
- Publication number
- CN114333766A CN114333766A CN202011056106.5A CN202011056106A CN114333766A CN 114333766 A CN114333766 A CN 114333766A CN 202011056106 A CN202011056106 A CN 202011056106A CN 114333766 A CN114333766 A CN 114333766A
- Authority
- CN
- China
- Prior art keywords
- test
- information
- voice
- interface
- task
- 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
- 238000012360 testing method Methods 0.000 title claims abstract description 1164
- 238000011056 performance test Methods 0.000 claims abstract description 373
- 238000013500 data storage Methods 0.000 claims abstract description 107
- 230000003993 interaction Effects 0.000 claims abstract description 68
- 238000000034 method Methods 0.000 claims abstract description 39
- 238000004590 computer program Methods 0.000 claims description 10
- 230000006870 function Effects 0.000 description 50
- 238000010586 diagram Methods 0.000 description 9
- 230000008569 process Effects 0.000 description 8
- 230000003287 optical effect Effects 0.000 description 6
- 238000005516 engineering process Methods 0.000 description 4
- 238000010998 test method Methods 0.000 description 3
- 230000002159 abnormal effect Effects 0.000 description 2
- 230000009471 action Effects 0.000 description 2
- 230000005540 biological transmission Effects 0.000 description 2
- 230000002093 peripheral effect Effects 0.000 description 2
- 238000012545 processing Methods 0.000 description 2
- 230000000644 propagated effect Effects 0.000 description 2
- 230000001133 acceleration Effects 0.000 description 1
- 238000003491 array Methods 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 239000000835 fiber Substances 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 239000013307 optical fiber Substances 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Images
Landscapes
- Debugging And Monitoring (AREA)
Abstract
Description
技术领域technical field
本发明实施例涉及计算机技术领域,尤其涉及一种语音性能测试方法、装置、系统、设备及存储介质。Embodiments of the present invention relate to the field of computer technologies, and in particular, to a method, apparatus, system, device, and storage medium for testing voice performance.
背景技术Background technique
智能终端如智能手机、智能音响等产品日新月异,随着科学技术的发展和用户服务需求的不断提升,市面上出现了越来越多的带有语音识别功能和语义理解功能的智能终端。Smart terminals such as smart phones, smart speakers and other products are changing with each passing day. With the development of science and technology and the continuous improvement of user service demands, more and more smart terminals with speech recognition and semantic understanding functions have appeared on the market.
相关技术中,对智能终端的语音识别功能和语义理解功能进行测试的方式,通常为:针对每一个智能终端,使用统一的测试音频或者测试文本调用智能终端的语音识别接口或语义理解接口,获取智能终端的语音识别结果或语义识别结果。In the related art, the method of testing the speech recognition function and semantic understanding function of the intelligent terminal is usually: for each intelligent terminal, use the unified test audio or test text to call the speech recognition interface or semantic understanding interface of the intelligent terminal, and obtain the The speech recognition result or semantic recognition result of the smart terminal.
相关技术的测试方式可以批量地对智能终端的语音识别功能和语义理解功能进行测试,但是测试方法固定,无法灵活调整。The test method of the related art can test the speech recognition function and semantic understanding function of the intelligent terminal in batches, but the test method is fixed and cannot be adjusted flexibly.
发明内容SUMMARY OF THE INVENTION
本发明实施例提供一种语音性能测试方法、装置、系统、设备及存储介质,可以使语音性能测试方式更加灵活,提高语音性能测试的效率和可用性。The embodiments of the present invention provide a voice performance testing method, device, system, equipment and storage medium, which can make the voice performance testing method more flexible and improve the efficiency and usability of the voice performance testing.
第一方面,本发明实施例还提供了一种语音性能测试方法,包括:In a first aspect, an embodiment of the present invention also provides a voice performance testing method, including:
通过测试数据上传界面获取测试数据,并将所述测试数据发送至数据存储模块;Obtain test data through the test data upload interface, and send the test data to the data storage module;
通过测试任务配置界面获取语音性能测试任务信息,并将所述语音性能测试任务信息发送至与测试执行模块配置信息对应的测试执行模块,,以使所述测试执行模块基于所述语音性能测试任务信息进行语音性能测试;Obtain the voice performance test task information through the test task configuration interface, and send the voice performance test task information to the test execution module corresponding to the configuration information of the test execution module, so that the test execution module is based on the voice performance test task. Information for voice performance testing;
其中,所述语音性能测试任务信息包括任务名称、测试数据配置信息、测试对象配置信息、测试接口配置信息和/或测试执行模块配置信息。Wherein, the voice performance test task information includes task name, test data configuration information, test object configuration information, test interface configuration information and/or test execution module configuration information.
第二方面,本发明实施例还提供了一种语音性能测试方法,包括:In a second aspect, an embodiment of the present invention also provides a voice performance testing method, including:
在接收到信息交互模块发送的语音性能测试任务信息时,根据所述语音性能测试任务信息中的测试数据配置信息,从数据存储模块中获取与所述语音性能测试任务信息对应的目标测试数据;When receiving the voice performance test task information sent by the information interaction module, obtain target test data corresponding to the voice performance test task information from the data storage module according to the test data configuration information in the voice performance test task information;
根据所述语音性能测试任务信息中的测试对象配置信息和测试接口配置信息,调用与所述语音性能测试任务信息对应的待测试终端设备的待测试接口,将所述目标测试数据发送至与所述语音性能测试任务信息对应的待测试终端设备,并获取与所述语音性能测试任务信息对应的待测试终端设备反馈的语音识别结果或语义理解结果;According to the test object configuration information and the test interface configuration information in the voice performance test task information, call the to-be-tested interface of the terminal device to be tested corresponding to the voice performance test task information, and send the target test data to the The terminal device to be tested corresponding to the voice performance test task information, and the voice recognition result or semantic understanding result fed back by the terminal device to be tested corresponding to the voice performance test task information is obtained;
根据所述语音识别结果或所述语义理解结果、以及所述任务名称,生成语音识别测试结果或语义理解测试结果发送至所述数据存储模块。According to the speech recognition result or the semantic understanding result, and the task name, a speech recognition test result or a semantic understanding test result is generated and sent to the data storage module.
第三方面,本发明实施例还提供了一种语音性能测试装置,包括:In a third aspect, an embodiment of the present invention also provides a voice performance testing device, including:
测试数据发送单元,用于通过测试数据上传界面获取测试数据,并将所述测试数据发送至数据存储模块;a test data sending unit, used to obtain test data through the test data upload interface, and send the test data to the data storage module;
任务信息发送单元,用于通过测试任务配置界面获取语音性能测试任务信息,并将所述语音性能测试任务信息发送至与测试执行模块配置信息对应的测试执行模块,以使所述测试执行模块基于所述语音性能测试任务信息进行语音性能测试;The task information sending unit is used to obtain the voice performance test task information through the test task configuration interface, and send the voice performance test task information to the test execution module corresponding to the test execution module configuration information, so that the test execution module is based on the test execution module. The voice performance test task information is used for voice performance test;
其中,所述语音性能测试任务信息包括任务名称、测试数据配置信息、测试对象配置信息、测试接口配置信息和/或测试执行模块配置信息。Wherein, the voice performance test task information includes task name, test data configuration information, test object configuration information, test interface configuration information and/or test execution module configuration information.
第四方面,本发明实施例还提供了一种语音性能测试装置,包括:In a fourth aspect, an embodiment of the present invention also provides a voice performance testing device, including:
测试数据获取单元,用于在接收到信息交互模块发送的语音性能测试任务信息时,根据所述语音性能测试任务信息中的测试数据配置信息,从数据存储模块中获取与所述语音性能测试任务信息对应的目标测试数据;The test data acquisition unit is used for, when receiving the voice performance test task information sent by the information interaction module, according to the test data configuration information in the voice performance test task information, from the data storage module and the voice performance test task. The target test data corresponding to the information;
反馈结果获取单元,用于根据所述语音性能测试任务信息中的测试对象配置信息和测试接口配置信息,调用与所述语音性能测试任务信息对应的待测试终端设备的待测试接口,将所述目标测试数据发送至与所述语音性能测试任务信息对应的待测试终端设备,并获取与所述语音性能测试任务信息对应的待测试终端设备反馈的语音识别结果或语义理解结果;The feedback result acquisition unit is configured to call the interface to be tested of the terminal device to be tested corresponding to the voice performance test task information according to the test object configuration information and the test interface configuration information in the voice performance test task information, and to The target test data is sent to the terminal device to be tested corresponding to the voice performance test task information, and the voice recognition result or semantic understanding result fed back by the terminal device to be tested corresponding to the voice performance test task information is obtained;
测试结果发送单元,用于根据所述语音识别结果或所述语义理解结果、以及所述任务名称,生成语音识别测试结果或语义理解测试结果发送至所述数据存储模块。A test result sending unit, configured to generate a speech recognition test result or a semantic understanding test result according to the speech recognition result or the semantic understanding result and the task name and send the result to the data storage module.
第五方面,本发明实施例提供了一种语音性能测试系统,包括:In a fifth aspect, an embodiment of the present invention provides a voice performance testing system, including:
信息交互模块、数据存储模块、至少两个测试执行模块以及至少两个待测试终端设备;an information interaction module, a data storage module, at least two test execution modules, and at least two terminal devices to be tested;
其中,所述信息交互模块,用于通过测试数据上传界面获取测试数据,并将所述测试数据发送至所述数据存储模块;通过测试任务配置界面获取语音性能测试任务信息,并将所述语音性能测试任务信息发送至与测试执行模块配置信息对应的测试执行模块,所述语音性能测试任务信息包括任务名称、测试数据配置信息、测试对象配置信息、测试接口配置信息和/或测试执行模块配置信息;所述数据存储模块,用于接收所述测试数据,并对所述测试数据进行存储;对各所述测试执行模块发送的语音识别测试结果或语义理解测试结果进行存储;Wherein, the information interaction module is used to obtain test data through the test data upload interface, and send the test data to the data storage module; obtain the voice performance test task information through the test task configuration interface, and store the voice The performance test task information is sent to the test execution module corresponding to the test execution module configuration information, where the voice performance test task information includes task name, test data configuration information, test object configuration information, test interface configuration information and/or test execution module configuration information; the data storage module is used to receive the test data and store the test data; store the speech recognition test results or the semantic understanding test results sent by each of the test execution modules;
各所述测试执行模块,用于在接收到所述信息交互模块发送的所述语音性能测试任务信息时,根据所述语音性能测试任务信息中的测试数据配置信息,从所述数据存储模块中获取与所述语音性能测试任务信息对应的目标测试数据;根据所述语音性能测试任务信息中的测试对象配置信息和测试接口配置信息,调用与所述语音性能测试任务信息对应的待测试终端设备的待测试接口,将所述目标测试数据发送至与所述语音性能测试任务信息对应的待测试终端设备,并获取与所述语音性能测试任务信息对应的待测试终端设备反馈的语音识别结果或语义理解结果;根据所述语音识别结果或所述语义理解结果、以及所述任务名称,生成语音识别测试结果或语义理解测试结果发送至所述数据存储模块;Each of the test execution modules is configured to, when receiving the voice performance test task information sent by the information exchange module, according to the test data configuration information in the voice performance test task information, from the data storage module Obtain target test data corresponding to the voice performance test task information; call the terminal device to be tested corresponding to the voice performance test task information according to the test object configuration information and the test interface configuration information in the voice performance test task information the interface to be tested, send the target test data to the terminal device to be tested corresponding to the voice performance test task information, and obtain the voice recognition result or Semantic comprehension result; according to the speech recognition result or the semantic comprehension result, and the task name, generate the speech recognition test result or the semantic comprehension test result and send it to the data storage module;
各待测试终端设备,用于在接收到与所述语音性能测试任务信息对应的目标测试数据时,对所述目标测试数据进行语音识别或语义理解,生成语音识别结果或语义理解结果反馈至对应的测试执行模块。Each terminal device to be tested is used to perform voice recognition or semantic understanding on the target test data when receiving the target test data corresponding to the voice performance test task information, and generate a voice recognition result or semantic understanding result and feed it back to the corresponding test execution module.
第六方面,本发明实施例还提供了一种计算机设备,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,所述处理器执行所述计算机程序时实现如本发明实施例所述的语音性能测试方法。In a sixth aspect, an embodiment of the present invention further provides a computer device, including a memory, a processor, and a computer program stored in the memory and running on the processor, the processor implementing the computer program when executing the computer program. The voice performance testing method described in the embodiment of the invention.
第七方面,本发明实施例还提供了一种计算机可读存储介质,其上存储有计算机程序,其特征在于,该计算机程序被处理器执行时实现如本发明实施例所述的语音性能测试方法。In a seventh aspect, an embodiment of the present invention further provides a computer-readable storage medium on which a computer program is stored, characterized in that, when the computer program is executed by a processor, the voice performance test according to the embodiment of the present invention is implemented method.
本发明实施例的技术方案,通过测试数据上传界面获取测试数据,通过测试任务配置界面获取语音性能测试任务信息,可以利用界面交互的方式完成测试数据上传、语音性能测试任务信息配置等流程,操作简单便捷,提高了语音性能测试的效率,降低了语音性能测试的难度,使得没有编程语言基础的用户也可以基于语音性能测试系统,用简单的界面交互进行语音性能自动化测试。In the technical solution of the embodiment of the present invention, the test data is acquired through the test data upload interface, and the voice performance test task information is acquired through the test task configuration interface, and the procedures such as test data upload, voice performance test task information configuration, etc. Simple and convenient, it improves the efficiency of voice performance testing, reduces the difficulty of voice performance testing, and enables users without programming language foundation to perform automated voice performance testing with simple interface interaction based on the voice performance testing system.
附图说明Description of drawings
图1为本发明实施例一提供的一种语音性能测试系统的结构示意图。FIG. 1 is a schematic structural diagram of a voice performance testing system according to Embodiment 1 of the present invention.
图2为本发明实施例二提供的一种语音性能测试方法的流程图。FIG. 2 is a flowchart of a voice performance testing method according to Embodiment 2 of the present invention.
图3为本发明实施例三提供的一种语音性能测试方法的流程图。FIG. 3 is a flowchart of a voice performance testing method according to Embodiment 3 of the present invention.
图4为本发明实施例四提供的一种语音性能测试装置的结构示意图。FIG. 4 is a schematic structural diagram of a voice performance testing apparatus according to Embodiment 4 of the present invention.
图5为本发明实施例五提供的一种语音性能测试装置的结构示意图。FIG. 5 is a schematic structural diagram of a voice performance testing apparatus according to Embodiment 5 of the present invention.
图6为本发明实施例六提供的一种计算机设备的结构示意图。FIG. 6 is a schematic structural diagram of a computer device according to Embodiment 6 of the present invention.
具体实施方式Detailed ways
下面结合附图和实施例对本发明作进一步的详细说明。可以理解的是,此处所描述的具体实施例仅仅用于解释本发明,而非对本发明的限定。The present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention, but not to limit the present invention.
另外还需要说明的是,为了便于描述,附图中仅示出了与本发明相关的部分而非全部内容。在更加详细地讨论示例性实施例之前应当提到的是,一些示例性实施例被描述成作为流程图描绘的处理或方法。虽然流程图将各项操作(或步骤)描述成顺序的处理,但是其中的许多操作可以被并行地、并发地或者同时实施。此外,各项操作的顺序可以被重新安排。当其操作完成时所述处理可以被终止,但是还可以具有未包括在附图中的附加步骤。所述处理可以对应于方法、函数、规程、子例程、子程序等等。In addition, it should be noted that, for the convenience of description, the drawings only show some but not all of the contents related to the present invention. Before discussing the exemplary embodiments in greater detail, it should be mentioned that some exemplary embodiments are described as processes or methods depicted as flowcharts. Although a flowchart depicts various operations (or steps) as a sequential process, many of the operations may be performed in parallel, concurrently, or concurrently. Additionally, the order of operations can be rearranged. The process may be terminated when its operation is complete, but may also have additional steps not included in the figures. The processes may correspond to methods, functions, procedures, subroutines, subroutines, and the like.
实施例一Example 1
图1为本发明实施例一提供的一种语音性能测试系统的结构示意图。本发明实施例可适用于对终端设备的语音识别功能或者语义理解功能进行测试的情况。如图1所示,该语音性能测试系统具体可以包括:信息交互模块101、数据存储模块102、至少两个测试执行模块103以及至少两个待测试终端设备104,下面对其结构和功能进行说明。FIG. 1 is a schematic structural diagram of a voice performance testing system according to Embodiment 1 of the present invention. The embodiments of the present invention are applicable to the case of testing the speech recognition function or the semantic understanding function of the terminal device. As shown in FIG. 1 , the voice performance testing system may specifically include: an
其中,所述信息交互模块101,用于通过测试数据上传界面获取测试数据,并将所述测试数据发送至所述数据存储模块102;通过测试任务配置界面获取语音性能测试任务信息,并将所述语音性能测试任务信息发送至与测试执行模块配置信息对应的测试执行模块103,所述语音性能测试任务信息包括任务名称、测试数据配置信息、测试对象配置信息、测试接口配置信息和/或测试执行模块配置信息。Wherein, the
所述数据存储模块102,用于接收所述测试数据,并对所述测试数据进行存储;对各所述测试执行模块103发送的语音识别测试结果或语义理解测试结果进行存储。The
各所述测试执行模块103,用于在接收到所述信息交互模块101发送的所述语音性能测试任务信息时,根据所述语音性能测试任务信息中的测试数据配置信息,从所述数据存储模块102中获取与所述语音性能测试任务信息对应的目标测试数据;根据所述语音性能测试任务信息中的测试对象配置信息和测试接口配置信息,调用与所述语音性能测试任务信息对应的待测试终端设备104的待测试接口,将所述目标测试数据发送至与所述语音性能测试任务信息对应的待测试终端设备104,并获取与所述语音性能测试任务信息对应的待测试终端设备104反馈的语音识别结果或语义理解结果;根据所述语音识别结果或所述语义理解结果、以及所述任务名称,生成语音识别测试结果或语义理解测试结果发送至所述数据存储模块102。Each of the
各待测试终端设备104,用于在接收到与所述语音性能测试任务信息对应的目标测试数据时,对所述目标测试数据进行语音识别或语义理解,生成语音识别结果或语义理解结果反馈至对应的测试执行模块103。具体的,所述信息交互模块101通过测试数据上传界面获取测试数据,并将所述测试数据发送至所述数据存储模块102。所述数据存储模块102接收所述测试数据,并对所述测试数据进行存储。信息交互模块101通过测试任务配置界面获取语音性能测试任务信息,并将所述语音性能测试任务信息发送至与测试执行模块配置信息对应的测试执行模块103,所述语音性能测试任务信息包括任务名称、测试数据配置信息、测试对象配置信息、测试接口配置信息和/或测试执行模块配置信息。Each
与测试执行模块配置信息对应的测试执行模块103在接收到所述信息交互模块101发送的所述语音性能测试任务信息时,根据所述语音性能测试任务信息中的测试数据配置信息,从所述数据存储模块102中获取与所述语音性能测试任务信息对应的目标测试数据。然后与测试执行模块配置信息对应的测试执行模块103根据所述语音性能测试任务信息中的测试对象配置信息和测试接口配置信息,调用与所述语音性能测试任务信息对应的待测试终端设备104的待测试接口,将所述目标测试数据发送至与所述语音性能测试任务信息对应的待测试终端设备104,并获取与所述语音性能测试任务信息对应的待测试终端设备104反馈的语音识别结果或语义理解结果。与所述语音性能测试任务信息对应的待测试终端设备104在接收到与所述语音性能测试任务信息对应的目标测试数据时,对所述目标测试数据进行语音识别或语义理解,生成语音识别结果或语义理解结果反馈至对应的测试执行模块103。When the
与测试执行模块配置信息对应的测试执行模块103根据所述语音识别结果或所述语义理解结果、以及所述任务名称,生成语音识别测试结果或语义理解测试结果发送至所述数据存储模块102。数据存储模块102对与测试执行模块配置信息对应的测试执行模块103发送的语音识别测试结果或语义理解测试结果进行存储。The
可选的,所述信息交互模块101,还用于在通过测试结果显示界面获取到携带所述任务名称的测试结果查询请求时,从所述数据存储模块102中获取与所述任务名称对应的语音识别测试结果或语义理解测试结果,并通过所述测试结果显示界面显示与所述任务名称对应的语音识别测试结果或语义理解测试结果。Optionally, the
所述信息交互模块101在通过测试结果显示界面获取到携带所述任务名称的测试结果查询请求时,从所述数据存储模块102中获取与所述任务名称对应的语音识别测试结果或语义理解测试结果,并通过所述测试结果显示界面显示与所述任务名称对应的语音识别测试结果或语义理解测试结果。When the
可选的,信息交互模块101为一台服务器。测试数据上传界面是用于上传测试数据的界面。测试数据上传界面可通过web网页的形式展现。用户可直接访问信息交互模块101提供的测试数据上传界面,通过测试数据上传界面进行测试数据的上传,将测试数据上传至语音性能测试系统的数据存储模块102中。Optionally, the
可选的,所述测试数据上传界面包括测试数据目录和上传控件;所述通过测试数据上传界面获取测试数据,并将所述测试数据发送至数据存储模块102,包括:获取用户在所述测试数据目录中选择的测试数据标识信息;在预设的测试数据库中,获取与所述测试数据标识信息对应的测试数据;在检测到所述用户对所述上传控件的点击操作后,将与所述测试数据标识信息对应的测试数据发送至数据存储模块102。Optionally, the test data upload interface includes a test data directory and an upload control; the acquiring test data through the test data upload interface and sending the test data to the
可选的,测试数据目录包括多项测试数据的测试数据标识信息。每一项测试数据有对应的测试数据标识信息。测试数据标识信息用于区分各项测试数据。预设的测试数据库中存储了多项测试数据。每一项测试数据包括测试音频、测试文本、与所述测试音频对应的预期语音识别结果和/或与所述测试文本对应的预期语义理解结果。测试音频是用于测试语音识别功能的音频。与测试音频对应的预期语音识别结果是测试音频中的语句对应的文本。测试文本是用于测试语义理解功能的文本。与测试文本对应的预期语义理解结果是测试文本中包含的用户想要执行的操作。Optionally, the test data directory includes test data identification information of multiple pieces of test data. Each item of test data has corresponding test data identification information. The test data identification information is used to distinguish each test data. A number of test data are stored in the preset test database. Each item of test data includes test audio, test text, expected speech recognition results corresponding to the test audio, and/or expected semantic understanding results corresponding to the test text. Test audio is the audio used to test the speech recognition function. The expected speech recognition result corresponding to the test audio is the text corresponding to the sentences in the test audio. The test text is the text used to test the semantic understanding function. The expected semantic understanding result corresponding to the test text is the action contained in the test text that the user wants to perform.
可选的,上传控件是用于输入测试数据上传指令的控件。测试数据上传指令是用于将与所述测试数据标识信息对应的测试数据发送至数据存储模块102的指令。Optionally, the upload control is a control for inputting a test data upload instruction. The test data uploading instruction is an instruction for sending the test data corresponding to the test data identification information to the
具体的,用户打开信息交互模块101提供的测试数据上传界面,在测试数据目录中选择需要进行上传的某一项测试数据的测试数据标识信息,然后点击上传控件。信息交互模块101获取用户在所述测试数据目录中选择的测试数据标识信息,然后在预设的测试数据库中,获取与所述测试数据标识信息对应的测试数据,在检测到所述用户对所述上传控件的点击操作后,将与所述测试数据标识信息对应的测试数据发送至数据存储模块102。Specifically, the user opens the test data upload interface provided by the
可选的,数据存储模块102为一台服务器。数据存储模块102接收测试数据,并将测试数据存储至数据库中。数据存储模块102接收各测试执行模块103发送的语音识别测试结果或语义理解测试结果,并将语音识别测试结果或语义理解测试结果存储至数据库中。Optionally, the
可选的,测试任务配置界面是用于对语音性能测试任务信息进行配置的界面。语音性能测试任务信息是用于进行语音性能测试的信息。一项语音性能测试任务信息对应一项语音性能测试任务。测试执行模块103可以根据语音性能测试任务信息执行语音性能测试任务,对指定的待测试终端设备104的语音识别功能或语义理解功进行测试。测试任务配置界面可通过web网页的形式展现。用户可直接访问信息交互模块101提供的测试任务配置界面,通过测试任务配置界面进行语音性能测试任务信息的配置。语音性能测试任务信息包括任务名称、测试数据配置信息、测试对象配置信息、测试接口配置信息和/或测试执行模块配置信息。Optionally, the test task configuration interface is an interface for configuring voice performance test task information. The voice performance test task information is information for performing voice performance tests. One piece of voice performance test task information corresponds to one voice performance test task. The
可选的,所述测试任务配置界面包括:任务名称配置区域、测试数据配置区域、测试对象配置区域、测试接口配置区域、测试执行模块配置区域和/或配置完成控件;所述通过测试任务配置界面获取语音性能测试任务信息,并将所述语音性能测试任务信息发送至与测试执行模块配置信息对应的测试执行模块103,包括:获取用户在所述任务名称配置区域输入的任务名称,作为任务名称;和/或,获取用户在所述测试数据配置区域输入或选择的测试数据类别信息,作为测试数据配置信息;和/或,获取用户在所述测试对象配置区域输入或选择的测试对象,作为测试对象配置信息;和/或,获取用户在所述测试接口配置区域输入的待测试终端设备的待测试接口的接口地址和访问参数,作为测试接口配置信息;和/或,获取用户在所述测试执行模块配置区域输入或选择的测试执行模块标识信息,作为测试执行模块配置信息;和/或,在检测到用户对所述配置完成控件的点击操作后,将由所述任务名称、所述测试数据配置信息、所述测试对象配置信息、所述测试接口配置信息和/或所述测试执行模块配置信息构成的语音性能测试任务信息发送至与所述测试执行模块配置信息对应的测试执行模块103。Optionally, the test task configuration interface includes: a task name configuration area, a test data configuration area, a test object configuration area, a test interface configuration area, a test execution module configuration area and/or a configuration completion control; The interface acquires voice performance test task information, and sends the voice performance test task information to the test execution module 103 corresponding to the test execution module configuration information, including: acquiring the task name input by the user in the task name configuration area, as the task name and/or, obtain the test data category information entered or selected by the user in the test data configuration area, as test data configuration information; and/or, obtain the test object input or selected by the user in the test object configuration area, As the test object configuration information; and/or, obtain the interface address and access parameters of the interface to be tested of the terminal device to be tested input by the user in the test interface configuration area, as the test interface configuration information; The test execution module identification information entered or selected in the test execution module configuration area is used as the test execution module configuration information; and/or, after detecting the click operation of the user on the configuration completion control, the task name, the The voice performance test task information formed by the test data configuration information, the test object configuration information, the test interface configuration information and/or the test execution module configuration information is sent to the test execution module corresponding to the test execution module configuration information 103.
可选的,任务名称配置区域是用于输入任务名称的界面区域。用户可以在任务名称配置区域输入自定义的任务名称。通常不同的语音性能测试任务信息包含不同的任务名称。任务名称可以用于区分不同的语音性能测试任务信息。Optionally, the task name configuration area is an interface area for entering the task name. The user can enter a custom task name in the task name configuration area. Usually, different voice performance test task information contains different task names. The task name can be used to distinguish different voice performance test task information.
可选的,测试数据配置区域是用于输入测试数据配置信息的界面区域。用户可以在测试数据配置区域输入或选择测试数据类别信息。测试数据类别信息为音频或文本。用户输入或选择的测试数据类别信息即为用户输入或选择的测试数据配置信息。如果用户在测试数据配置区域输入或选择的测试数据类别信息为音频,表明在执行与语音性能测试任务信息对应的语音性能测试任务时,需要根据测试数据中的测试音频、以及与所述测试音频对应的预期语音识别结果,对指定待测试终端设备104的语音识别功能进行测试。如果用户在测试数据配置区域输入或选择的测试数据类别信息为文本,表明在执行与语音性能测试任务信息对应的语音性能测试任务时,需要根据测试数据中的测试文本、以及与所述测试文本对应的预期语义理解结果,对指定待测试终端设备104的语义理解功能进行测试。Optionally, the test data configuration area is an interface area for inputting test data configuration information. The user can input or select test data category information in the test data configuration area. The test data category information is audio or text. The test data category information input or selected by the user is the test data configuration information input or selected by the user. If the test data category information entered or selected by the user in the test data configuration area is audio, it indicates that when performing the voice performance test task corresponding to the voice performance test task information, it is necessary to Corresponding to the expected speech recognition result, the speech recognition function of the designated
可选的,测试对象配置区域是用于输入测试对象配置信息的界面区域。用户可以在测试对象配置区域输入或选择测试对象。测试对象为语音识别或语义理解。用户输入或选择的测试对象即为用户输入或选择的测试对象配置信息。如果用户在测试对象配置区域输入或选择的测试对象为语音识别,表明与语音性能测试任务信息对应的语音性能测试任务是对语音识别功能进行测试。如果用户在测试对象配置区域输入或选择的测试对象为语义理解,表明与语音性能测试任务信息对应的语音性能测试任务是对语义理解功能进行测试。Optionally, the test object configuration area is an interface area for inputting test object configuration information. The user can enter or select a test object in the test object configuration area. The test subjects are speech recognition or semantic understanding. The test object input or selected by the user is the configuration information of the test object input or selected by the user. If the test object input or selected by the user in the test object configuration area is speech recognition, it indicates that the speech performance test task corresponding to the speech performance test task information is to test the speech recognition function. If the test object input or selected by the user in the test object configuration area is semantic understanding, it indicates that the voice performance test task corresponding to the voice performance test task information is to test the semantic understanding function.
可选的,测试接口配置区域是用于输入测试接口配置信息的界面区域。用户可以在测试接口配置区域输入需要进行语音性能测试的待测试终端设备104的待测试接口的接口地址和访问参数。用户输入的需要进行语音性能测试的待测试终端设备104的待测试接口的接口地址和访问参数即为用户输入的测试接口配置信息。待测试接口为语音识别接口或语义理解接口。如果语音性能测试任务是对语音识别功能进行测试,则用户在测试接口配置区域输入需要进行语音识别功能测试的待测试终端设备104的语音识别接口的接口地址和访问参数。如果语音性能测试任务是对语义理解功能进行测试,则用户在测试接口配置区域输入需要进行语义理解功能测试的待测试终端设备104的语义理解接口的接口地址和访问参数。Optionally, the test interface configuration area is an interface area for inputting test interface configuration information. The user can input the interface address and access parameters of the interface to be tested of the
可选的,测试执行模块配置区域是用于确定执行与语音性能测试任务信息对应的语音性能测试任务的测试执行模块103的界面区域。测试执行模块配置区域中包括各测试执行模块103的测试执行模块标识信息以及工作状态。每一个测试执行模块103有对应的测试执行模块标识信息。测试执行模块标识信息用于区分各测试执行模块103。工作状态包括空闲和任务执行中。工作状态为空闲的测试执行模块103未执行语音性能测试任务。工作状态为任务执行中的测试执行模块103正在根据接收到的语音性能测试任务信息执行语音性能测试任务。用户可以在测试执行模块配置区域中选择一个工作状态为空闲的测试执行模块103的测试执行模块标识信息。由此,可以避免同一个测试执行模块103同时执行多个语音性能测试任务导致测试结果异常,可以提高语音性能测试的效率。Optionally, the test execution module configuration area is an interface area of the
与用户选择的测试执行模块标识信息对应的测试执行模块103即为与测试执行模块配置信息对应的测试执行模块103,是执行与语音性能测试任务信息对应的语音性能测试任务的测试执行模块103。The
可选的,配置完成控件是用于输入配置完成指令的控件。配置完成指令是用于确定语音性能测试任务信息配置完成的指令。Optionally, the configuration completion control is a control for inputting a configuration completion instruction. The configuration complete instruction is an instruction used to determine that the configuration of the voice performance test task information is complete.
具体的,用户打开信息交互模块101提供的测试任务配置界面,在所述任务名称配置区域输入任务名称;在所述测试数据配置区域输入或选择测试数据类别信息;在所述测试对象配置区域输入或选择测试对象;在所述测试接口配置区域输入需要进行语音性能测试的待测试终端设备的待测试接口的接口地址和访问参数;在测试执行模块配置区域中选择一个工作状态为空闲的测试执行模块103的测试执行模块标识信息,然后点击配置完成控件。信息交互模块101获取用户在所述任务名称配置区域输入的任务名称,作为任务名称。信息交互模块101获取用户在所述测试数据配置区域输入或选择的测试数据类别信息,作为测试数据配置信息。信息交互模块101获取用户在所述测试对象配置区域输入或选择的测试对象,作为测试对象配置信息。信息交互模块101获取用户在所述测试接口配置区域输入的待测试终端设备的待测试接口的接口地址和访问参数,作为测试接口配置信息。信息交互模块101获取用户在所述测试执行模块配置区域输入或选择的测试执行模块标识信息,作为测试执行模块配置信息。信息交互模块101在检测到用户对所述配置完成控件的点击操作后,将由所述任务名称、所述测试数据配置信息、所述测试对象配置信息、所述测试接口配置信息和/或所述测试执行模块配置信息构成的语音性能测试任务信息发送至与所述测试执行模块配置信息对应的测试执行模块103,从而将语音性能测试任务信息发送至用户选择的测试执行模块103。Specifically, the user opens the test task configuration interface provided by the
可选的,信息交互模块101还可以通过测试任务配置界面向用户提供多项已经配置完成的语音性能测试任务信息。用户在所述测试任务配置界面上选择一项语音性能测试任务信息。信息交互模块101将该项语音性能测试任务信息发送至与该项语音性能测试任务信息中的测试执行模块配置信息对应的测试执行模块103。Optionally, the
可选的,每一个测试执行模块103为一台服务器。待测试终端设备104为带有语音识别功能和语义理解功能的终端设备。如果某一个测试执行模块103接收到语音性能测试任务信息,表明测试执行模块103为用户选择的需要执行与语音性能测试任务信息对应的语音性能测试任务的测试执行模块103。测试执行模块103在接收到所述信息交互模块101发送的所述语音性能测试任务信息时,根据所述语音性能测试任务信息中的测试数据配置信息,从所述数据存储模块102中获取与所述语音性能测试任务信息对应的目标测试数据。然后根据所述语音性能测试任务信息中的测试对象配置信息和测试接口配置信息,调用与所述语音性能测试任务信息对应的待测试终端设备104的待测试接口,将所述目标测试数据发送至与所述语音性能测试任务信息对应的待测试终端设备104,并获取与所述语音性能测试任务信息对应的待测试终端设备104反馈的语音识别结果或语义理解结果。最后根据所述语音识别结果或所述语义理解结果、以及所述任务名称,生成语音识别测试结果或语义理解测试结果发送至所述数据存储模块102。Optionally, each
在一个具体实例中,测试执行模块103接收到语音性能测试任务信息中的测试数据配置信息为音频,测试对象配置信息为语音识别,测试接口配置信息包括与语音性能测试任务信息对应的待测试终端设备104的语音识别接口的接口地址和访问参数。与所述语音性能测试任务信息对应的待测试终端设备104的语音识别接口的接口地址和访问参数即为需要进行语音识别功能测试的待测试终端设备104的语音识别接口的接口地址和访问参数。测试执行模块103根据所述音频,从所述数据存储模块102中获取测试音频、以及与所述测试音频对应的预期语音识别结果,将所述测试音频确定为与所述语音性能测试任务信息对应的目标测试数据。然后测试执行模块103根据所述语音识别、以及与所述语音性能测试任务信息对应的待测试终端设备104的语音识别接口的接口地址和访问参数,调用与所述语音性能测试任务信息对应的待测试终端设备的语音识别接口,将所述测试音频发送至与所述语音性能测试任务信息对应的待测试终端设备104,并获取与所述语音性能测试任务信息对应的待测试终端设备104反馈的语音识别结果。与所述语音性能测试任务信息对应的待测试终端设备104在接收到测试音频时,采用自动语音识别(Automatic SpeechRecognition,ASR)技术,对测试音频进行语音识别,得到测试音频的语音识别结果,并将语音识别结果反馈至对应的测试执行模块103,即将语音识别结果反馈至发送测试音频的测试执行模块103。语音识别结果为待测试终端设备104识别得到的测试音频中的语句对应的文本。In a specific example, the test data configuration information received by the
可选的,测试执行模块103获取与所述语音性能测试任务信息对应的待测试终端设备104反馈的语音识别结果,将由任务名称和语音识别结果构成的语音识别测试结果发送至所述数据存储模块102。Optionally, the
可选的,测试执行模块103获取与所述语音性能测试任务信息对应的待测试终端设备104反馈的语音识别结果,计算语音识别结果与预期语音识别结果的相似度,然后将由任务名称、语音识别结果、以及语音识别结果与预期语音识别结果的相似度构成的语音识别测试结果发送至所述数据存储模块102。Optionally, the
在另一个具体实例中,测试执行模块103接收到语音性能测试任务信息中的测试数据配置信息为文本,测试对象配置信息为语义理解,测试接口配置信息包括与所述语音性能测试任务信息对应的待测试终端设备104的语义理解接口的接口地址和访问参数。与所述语音性能测试任务信息对应的待测试终端设备104的语义理解接口的接口地址和访问参数即为需要进行语义理解功能测试的待测试终端设备104的语义理解接口的接口地址和访问参数。测试执行模块103根据所述文本,从所述数据存储模块102中获取测试文本、以及与所述测试文本对应的预期语义理解结果,将所述测试文本确定为与所述语音性能测试任务信息对应的目标测试数据。然后测试执行模块103根据所述语义理解、以及与所述语音性能测试任务信息对应的待测试终端设备104的语义理解接口的接口地址和访问参数,调用与所述语音性能测试任务信息对应的待测试终端设备104的语义理解接口,将所述测试文本发送至与所述语音性能测试任务信息对应的待测试终端设备104,并获取与所述语音性能测试任务信息对应的待测试终端设备104反馈的语义理解结果。In another specific example, the test data configuration information received by the
与所述语音性能测试任务信息对应的待测试终端设备104在接收到测试文本时,采用自然语言理解(Natural Language Understanding,NLU)技术对所述测试文本进行语义理解,得到测试文本的语义理解结果,并将语义理解结果反馈至对应的测试执行模块103,即将语义理解结果反馈至发送测试文本的测试执行模块103。When receiving the test text, the
可选的,测试执行模块103获取与所述语音性能测试任务信息对应的待测试终端设备104反馈的语义理解结果,将由任务名称和语义理解结果构成的语义理解测试结果发送至所述数据存储模块102。Optionally, the
可选的,测试执行模块103获取与所述语音性能测试任务信息对应的待测试终端设备104反馈的语义理解结果,计算语义理解结果与预期语义理解结果的相似度,然后将由任务名称、语义理解结果、以及语义理解结果与预期语义理解结果的相似度构成的语义理解测试结果发送至所述数据存储模块102。Optionally, the
可选的,测试结果显示界面包括任务名称输入区域、查询控件和/或测试结果显示区域。任务名称输入区域是用于输入任务名称的界面区域。查询控件是用于根据任务名称输入区域中的任务名称,生成携带任务名称的测试结果查询请求的控件。测试结果查询请求用于请求对包含指定任务名称的语音识别测试结果或语义理解测试结果进行查询。测试结果显示区域是用于显示语音识别测试结果或语义理解测试结果的界面区域。Optionally, the test result display interface includes a task name input area, a query control and/or a test result display area. The task name input area is an interface area for entering the task name. The query control is a control used to generate a test result query request carrying the task name according to the task name in the task name input area. The test result query request is used to request a query for the speech recognition test result or the semantic understanding test result containing the specified task name. The test result display area is an interface area for displaying the speech recognition test result or the semantic understanding test result.
具体的,用户可以在任务名称输入区域输入需要查询语音识别测试结果或语义理解测试结果所包含的任务名称,然后点击查询控件。信息交互模块101获取查询控件根据任务名称输入区域中的任务名称,生成的携带任务名称的测试结果查询请求,从所述数据存储模块102中获取与所述任务名称对应的语音识别测试结果或语义理解测试结果。与所述任务名称对应的语音识别测试结果或语义理解测试结果即为包含指定任务名称的语音识别测试结果或语义理解测试结果。然后信息交互模块101在测试结果显示区域显示与所述任务名称对应的语音识别测试结果或语义理解测试结果,以使用户可以在测试结果显示区域浏览与所述任务名称对应的语音识别测试结果或语义理解测试结果。Specifically, the user can input the task name included in the speech recognition test result or the semantic understanding test result to be queried in the task name input area, and then click the query control. The
可选的,在从所述数据存储模块中获取与所述任务名称对应的语音识别测试结果或语义理解测试结果之前,还包括:根据与所述任务名称对应的鉴权信息,对所述测试结果查询请求进行鉴权。Optionally, before acquiring the speech recognition test result or the semantic understanding test result corresponding to the task name from the data storage module, it also includes: according to the authentication information corresponding to the task name, performing a The result query request is authenticated.
可选的,预先设置与各任务名称对应的鉴权信息。鉴权信息是用于进行鉴权的信息。鉴权信息可以为密钥。Optionally, authentication information corresponding to each task name is preset. The authentication information is information used for authentication. The authentication information can be a key.
具体的,用户在任务名称输入区域输入需要查询语音识别测试结果或语义理解测试结果所包含的任务名称、以及鉴权信息,然后点击查询控件。信息交互模块101获取查询控件根据任务名称输入区域中的任务名称和鉴权信息,生成的携带任务名称和鉴权信息的测试结果查询请求,根据与所述任务名称对应的鉴权信息,对所述测试结果查询请求进行鉴权,判断测试结果查询请求中的鉴权信息是否是与所述任务名称对应的鉴权信息。如果测试结果查询请求中的鉴权信息是与所述任务名称对应的鉴权信息,则从所述数据存储模块102中获取与所述任务名称对应的语音识别测试结果或语义理解测试结果,在测试结果显示区域显示与所述任务名称对应的语音识别测试结果或语义理解测试结果。如果测试结果查询请求中的鉴权信息不是与所述任务名称对应的鉴权信息,则在测试结果显示区域显示查询权限提示信息。查询权限提示信息用于告知用户:鉴权失败,无权限查询与所述任务名称对应的语音识别测试结果或语义理解测试结果。Specifically, the user inputs the task name and authentication information contained in the speech recognition test result or semantic understanding test result to be queried in the task name input area, and then clicks the query control. The
可选的,用户在信息交互模块101提供的测试任务配置界面中配置与任务名称对应的邮箱。数据存储模块102接收测试执行模块103发送的语音识别测试结果或语义理解测试结果,将语音识别测试结果或语义理解测试结果存储至数据库中的之后,将语音识别测试结果或语义理解测试结果发送至与语音识别测试结果或语义理解测试结果中包含的任务名称对应的邮箱中。Optionally, the user configures a mailbox corresponding to the task name in the test task configuration interface provided by the
本发明实施例提供了一种语音性能测试系统,通过信息交互模块通过测试数据上传界面获取测试数据,并将测试数据发送至数据存储模块进行存储;信息交互模块通过测试任务配置界面获取语音性能测试任务信息,并将语音性能测试任务信息发送至与测试执行模块配置信息对应的测试执行模块,以使与测试执行模块配置信息对应的测试执行模块根据语音性能测试任务信息中的测试数据配置信息,从数据存储模块中获取与语音性能测试任务信息对应的目标测试数据,然后根据语音性能测试任务信息中的测试对象配置信息和测试接口配置信息,调用与语音性能测试任务信息对应的待测试终端设备的待测试接口,将所述目标测试数据发送至与语音性能测试任务信息对应的待测试终端设备,并获取与语音性能测试任务信息对应的待测试终端设备反馈的语音识别结果或语义理解结果,根据语音识别结果或语义理解结果、以及任务名称,生成语音识别测试结果或语义理解测试结果发送至数据存储模块进行存储;信息交互模块在通过测试结果显示界面获取到携带所述任务名称的测试结果查询请求时,从数据存储模块中获取与任务名称对应的语音识别测试结果或语义理解测试结果,并通过测试结果显示界面显示与任务名称对应的语音识别测试结果或语义理解测试结果,可以对语音性能测试自动化流程进行整合,利用界面交互的方式完成测试数据上传、语音性能测试任务信息配置等流程,操作简单便捷,提高了语音性能测试的效率,降低了语音性能测试的难度,使得没有编程语言基础的用户也可以基于语音性能测试系统,用简单的界面交互进行语音性能自动化测试。The embodiment of the present invention provides a voice performance testing system. The information interaction module obtains test data through a test data upload interface, and sends the test data to a data storage module for storage; the information interaction module obtains the voice performance test through the test task configuration interface. task information, and send the voice performance test task information to the test execution module corresponding to the test execution module configuration information, so that the test execution module corresponding to the test execution module configuration information configures the information according to the test data in the voice performance test task information, Obtain the target test data corresponding to the voice performance test task information from the data storage module, and then call the terminal device to be tested corresponding to the voice performance test task information according to the test object configuration information and the test interface configuration information in the voice performance test task information the interface to be tested, the target test data is sent to the terminal device to be tested corresponding to the voice performance test task information, and the voice recognition result or semantic understanding result fed back by the terminal device to be tested corresponding to the voice performance test task information is obtained, According to the speech recognition result or semantic understanding result and the task name, the speech recognition test result or the semantic understanding test result is generated and sent to the data storage module for storage; the information interaction module obtains the test result carrying the task name through the test result display interface When querying a request, obtain the speech recognition test result or semantic understanding test result corresponding to the task name from the data storage module, and display the speech recognition test result or semantic understanding test result corresponding to the task name through the test result display interface. The performance test automation process is integrated, and the interface interaction is used to complete the process of test data upload, voice performance test task information configuration, etc. The operation is simple and convenient, which improves the efficiency of voice performance test, reduces the difficulty of voice performance test, and makes no programming language. Basic users can also perform automated voice performance testing with simple interface interaction based on the voice performance test system.
实施例二Embodiment 2
图2为本发明实施例二提供的一种语音性能测试方法的流程图。本发明实施例可适用于对终端设备的语音识别功能或者语义理解功能进行测试的情况。该方法可以应用于本发明上述实施例提供的语音性能测试系统中的信息交互模块中。如图2所示,本实施例的方法具体包括:FIG. 2 is a flowchart of a voice performance testing method according to Embodiment 2 of the present invention. The embodiments of the present invention are applicable to the case of testing the speech recognition function or the semantic understanding function of the terminal device. The method can be applied to the information interaction module in the voice performance testing system provided by the above embodiments of the present invention. As shown in Figure 2, the method of this embodiment specifically includes:
步骤201、通过测试数据上传界面获取测试数据,并将所述测试数据发送至数据存储模块。Step 201: Acquire test data through a test data upload interface, and send the test data to a data storage module.
可选的,信息交互模块为一台服务器。测试数据上传界面是用于上传测试数据的界面。测试数据上传界面可通过web网页的形式展现。用户可直接访问信息交互模块提供的测试数据上传界面,通过测试数据上传界面进行测试数据的上传,将测试数据上传至语音性能测试系统的数据存储模块中。Optionally, the information interaction module is a server. The test data upload interface is an interface for uploading test data. The test data upload interface can be displayed in the form of a web page. Users can directly access the test data upload interface provided by the information interaction module, upload the test data through the test data upload interface, and upload the test data to the data storage module of the voice performance test system.
可选的,所述测试数据上传界面包括测试数据目录和上传控件;所述通过测试数据上传界面获取测试数据,并将所述测试数据发送至数据存储模块,包括:获取用户在所述测试数据目录中选择的测试数据标识信息;在预设的测试数据库中,获取与所述测试数据标识信息对应的测试数据;在检测到所述用户对所述上传控件的点击操作后,将与所述测试数据标识信息对应的测试数据发送至数据存储模块。Optionally, the test data upload interface includes a test data directory and an upload control; the acquiring test data through the test data upload interface and sending the test data to the data storage module includes: acquiring the user's test data in the test data. The test data identification information selected in the catalog; in the preset test database, obtain the test data corresponding to the test data identification information; after detecting the click operation of the user on the upload control, the The test data corresponding to the test data identification information is sent to the data storage module.
可选的,测试数据目录包括多项测试数据的测试数据标识信息。每一项测试数据有对应的测试数据标识信息。测试数据标识信息用于区分各项测试数据。预设的测试数据库中存储了多项测试数据。每一项测试数据包括测试音频、测试文本、与所述测试音频对应的预期语音识别结果和/或与所述测试文本对应的预期语义理解结果。测试音频是用于测试语音识别功能的音频。与测试音频对应的预期语音识别结果是测试音频中的语句对应的文本。测试文本是用于测试语义理解功能的文本。与测试文本对应的预期语义理解结果是测试文本中包含的用户想要执行的操作。Optionally, the test data directory includes test data identification information of multiple pieces of test data. Each item of test data has corresponding test data identification information. The test data identification information is used to distinguish each test data. A number of test data are stored in the preset test database. Each item of test data includes test audio, test text, expected speech recognition results corresponding to the test audio, and/or expected semantic understanding results corresponding to the test text. Test audio is the audio used to test the speech recognition function. The expected speech recognition result corresponding to the test audio is the text corresponding to the sentences in the test audio. The test text is the text used to test the semantic understanding function. The expected semantic understanding result corresponding to the test text is the action contained in the test text that the user wants to perform.
可选的,上传控件是用于输入测试数据上传指令的控件。测试数据上传指令是用于将与所述测试数据标识信息对应的测试数据发送至数据存储模块的指令。Optionally, the upload control is a control for inputting a test data upload instruction. The test data uploading instruction is an instruction for sending the test data corresponding to the test data identification information to the data storage module.
具体的,用户打开信息交互模块提供的测试数据上传界面,在测试数据目录中选择需要进行上传的某一项测试数据的测试数据标识信息,然后点击上传控件。信息交互模块获取用户在所述测试数据目录中选择的测试数据标识信息,然后在预设的测试数据库中,获取与所述测试数据标识信息对应的测试数据,在检测到所述用户对所述上传控件的点击操作后,将与所述测试数据标识信息对应的测试数据发送至数据存储模块。Specifically, the user opens the test data upload interface provided by the information interaction module, selects the test data identification information of a certain test data to be uploaded in the test data directory, and then clicks the upload control. The information interaction module obtains the test data identification information selected by the user in the test data directory, and then obtains the test data corresponding to the test data identification information in the preset test database, After uploading the click operation of the control, the test data corresponding to the test data identification information is sent to the data storage module.
步骤202、通过测试任务配置界面获取语音性能测试任务信息,并将所述语音性能测试任务信息发送至与测试执行模块配置信息对应的测试执行模块,以使所述测试执行模块基于所述语音性能测试任务信息进行语音性能测试。
其中,所述语音性能测试任务信息包括任务名称、测试数据配置信息、测试对象配置信息、测试接口配置信息和/或测试执行模块配置信息。Wherein, the voice performance test task information includes task name, test data configuration information, test object configuration information, test interface configuration information and/or test execution module configuration information.
可选的,测试任务配置界面是用于对语音性能测试任务信息进行配置的界面。语音性能测试任务信息是用于进行语音性能测试的信息。一项语音性能测试任务信息对应一项语音性能测试任务。测试执行模块可以根据语音性能测试任务信息执行语音性能测试任务,对指定的待测试终端设备的语音识别功能或语义理解功进行测试。测试任务配置界面可通过web网页的形式展现。用户可直接访问信息交互模块提供的测试任务配置界面,通过测试任务配置界面进行语音性能测试任务信息的配置。语音性能测试任务信息包括任务名称、测试数据配置信息、测试对象配置信息、测试接口配置信息和/或测试执行模块配置信息。Optionally, the test task configuration interface is an interface for configuring voice performance test task information. The voice performance test task information is information for conducting voice performance tests. One piece of voice performance test task information corresponds to one voice performance test task. The test execution module can execute the voice performance test task according to the voice performance test task information, and test the voice recognition function or semantic understanding function of the designated terminal device to be tested. The test task configuration interface can be displayed in the form of a web page. The user can directly access the test task configuration interface provided by the information interaction module, and configure the voice performance test task information through the test task configuration interface. The voice performance test task information includes task name, test data configuration information, test object configuration information, test interface configuration information and/or test execution module configuration information.
可选的,所述测试任务配置界面包括:任务名称配置区域、测试数据配置区域、测试对象配置区域、测试接口配置区域、测试执行模块配置区域和/或配置完成控件;所述通过测试任务配置界面获取语音性能测试任务信息,并将所述语音性能测试任务信息发送至与测试执行模块配置信息对应的测试执行模块,包括:获取用户在所述任务名称配置区域输入的任务名称,作为任务名称;和/或,获取用户在所述测试数据配置区域输入或选择的测试数据类别信息,作为测试数据配置信息;和/或,获取用户在所述测试对象配置区域输入或选择的测试对象,作为测试对象配置信息;和/或,获取用户在所述测试接口配置区域输入的待测试终端设备的待测试接口的接口地址和访问参数,作为测试接口配置信息;和/或,获取用户在所述测试执行模块配置区域输入或选择的测试执行模块标识信息,作为测试执行模块配置信息;和/或,在检测到用户对所述配置完成控件的点击操作后,将由所述任务名称、所述测试数据配置信息、所述测试对象配置信息、所述测试接口配置信息和/或所述测试执行模块配置信息构成的语音性能测试任务信息发送至与所述测试执行模块配置信息对应的测试执行模块。Optionally, the test task configuration interface includes: a task name configuration area, a test data configuration area, a test object configuration area, a test interface configuration area, a test execution module configuration area and/or a configuration completion control; The interface acquires voice performance test task information, and sends the voice performance test task information to the test execution module corresponding to the test execution module configuration information, including: acquiring the task name input by the user in the task name configuration area as the task name and/or, obtain the test data category information that the user inputs or selects in the test data configuration area, as the test data configuration information; and/or, obtain the test object that the user inputs or selects in the test object configuration area, as the test data configuration information; Test object configuration information; and/or, obtain the interface address and access parameters of the interface to be tested of the terminal device to be tested input by the user in the test interface configuration area, as the test interface configuration information; The test execution module identification information input or selected in the test execution module configuration area is used as the test execution module configuration information; and/or, after detecting the click operation of the user on the configuration completion control, the task name, the test The voice performance test task information formed by the data configuration information, the test object configuration information, the test interface configuration information and/or the test execution module configuration information is sent to the test execution module corresponding to the test execution module configuration information.
可选的,任务名称配置区域是用于输入任务名称的界面区域。用户可以在任务名称配置区域输入自定义的任务名称。通常不同的语音性能测试任务信息包含不同的任务名称。任务名称可以用于区分不同的语音性能测试任务信息。Optionally, the task name configuration area is an interface area for entering the task name. The user can enter a custom task name in the task name configuration area. Usually, different voice performance test task information contains different task names. The task name can be used to distinguish different voice performance test task information.
可选的,测试数据配置区域是用于输入测试数据配置信息的界面区域。用户可以在测试数据配置区域输入或选择测试数据类别信息。测试数据类别信息为音频或文本。用户输入或选择的测试数据类别信息即为用户输入或选择的测试数据配置信息。如果用户在测试数据配置区域输入或选择的测试数据类别信息为音频,表明在执行与语音性能测试任务信息对应的语音性能测试任务时,需要根据测试数据中的测试音频、以及与所述测试音频对应的预期语音识别结果,对指定待测试终端设备的语音识别功能进行测试。如果用户在测试数据配置区域输入或选择的测试数据类别信息为文本,表明在执行与语音性能测试任务信息对应的语音性能测试任务时,需要根据测试数据中的测试文本、以及与所述测试文本对应的预期语义理解结果,对指定待测试终端设备的语义理解功能进行测试。Optionally, the test data configuration area is an interface area for inputting test data configuration information. The user can input or select test data category information in the test data configuration area. The test data category information is audio or text. The test data category information input or selected by the user is the test data configuration information input or selected by the user. If the test data category information entered or selected by the user in the test data configuration area is audio, it indicates that when performing the voice performance test task corresponding to the voice performance test task information, it is necessary to The corresponding expected speech recognition result is used to test the speech recognition function of the designated terminal device to be tested. If the test data category information entered or selected by the user in the test data configuration area is text, it indicates that when performing the voice performance test task corresponding to the voice performance test task information, it is necessary to The corresponding expected semantic understanding result is used to test the semantic understanding function of the specified terminal device to be tested.
可选的,测试对象配置区域是用于输入测试对象配置信息的界面区域。用户可以在测试对象配置区域输入或选择测试对象。测试对象为语音识别或语义理解。用户输入或选择的测试对象即为用户输入或选择的测试对象配置信息。如果用户在测试对象配置区域输入或选择的测试对象为语音识别,表明与语音性能测试任务信息对应的语音性能测试任务是对语音识别功能进行测试。如果用户在测试对象配置区域输入或选择的测试对象为语义理解,表明与语音性能测试任务信息对应的语音性能测试任务是对语义理解功能进行测试。Optionally, the test object configuration area is an interface area for inputting test object configuration information. The user can enter or select a test object in the test object configuration area. The test subjects are speech recognition or semantic understanding. The test object input or selected by the user is the configuration information of the test object input or selected by the user. If the test object input or selected by the user in the test object configuration area is speech recognition, it indicates that the speech performance test task corresponding to the speech performance test task information is to test the speech recognition function. If the test object input or selected by the user in the test object configuration area is semantic understanding, it indicates that the voice performance test task corresponding to the voice performance test task information is to test the semantic understanding function.
可选的,测试接口配置区域是用于输入测试接口配置信息的界面区域。用户可以在测试接口配置区域输入需要进行语音性能测试的待测试终端设备的待测试接口的接口地址和访问参数。用户输入的需要进行语音性能测试的待测试终端设备的待测试接口的接口地址和访问参数即为用户输入的测试接口配置信息。待测试接口为语音识别接口或语义理解接口。如果语音性能测试任务是对语音识别功能进行测试,则用户在测试接口配置区域输入需要进行语音识别功能测试的待测试终端设备的语音识别接口的接口地址和访问参数。如果语音性能测试任务是对语义理解功能进行测试,则用户在测试接口配置区域输入需要进行语义理解功能测试的待测试终端设备的语义理解接口的接口地址和访问参数。Optionally, the test interface configuration area is an interface area for inputting test interface configuration information. The user can input the interface address and access parameters of the to-be-tested interface of the to-be-tested terminal device that needs to be tested for voice performance in the test interface configuration area. The interface address and access parameters of the interface to be tested of the terminal device to be tested that need to be tested for voice performance input by the user are the test interface configuration information input by the user. The interface to be tested is a speech recognition interface or a semantic understanding interface. If the voice performance test task is to test the voice recognition function, the user enters the interface address and access parameters of the voice recognition interface of the terminal device to be tested that needs to be tested for the voice recognition function in the test interface configuration area. If the voice performance test task is to test the semantic understanding function, the user enters the interface address and access parameters of the semantic understanding interface of the terminal device to be tested that needs to be tested for the semantic understanding function in the test interface configuration area.
可选的,测试执行模块配置区域是用于确定执行与语音性能测试任务信息对应的语音性能测试任务的测试执行模块的界面区域。测试执行模块配置区域中包括各测试执行模块的测试执行模块标识信息以及工作状态。每一个测试执行模块有对应的测试执行模块标识信息。测试执行模块标识信息用于区分各测试执行模块。工作状态包括空闲和任务执行中。工作状态为空闲的测试执行模块未执行语音性能测试任务。工作状态为任务执行中的测试执行模块正在根据接收到的语音性能测试任务信息执行语音性能测试任务。用户可以在测试执行模块配置区域中选择一个工作状态为空闲的测试执行模块的测试执行模块标识信息。由此,可以避免同一个测试执行模块同时执行多个语音性能测试任务导致测试结果异常,可以提高语音性能测试的效率。Optionally, the test execution module configuration area is an interface area for determining a test execution module that executes the voice performance test task corresponding to the voice performance test task information. The test execution module configuration area includes test execution module identification information and working status of each test execution module. Each test execution module has corresponding test execution module identification information. The test execution module identification information is used to distinguish each test execution module. The working status includes idle and task execution. The test execution module whose working status is idle does not execute the voice performance test task. The test execution module whose working status is task execution is executing the voice performance test task according to the received voice performance test task information. The user can select the test execution module identification information of a test execution module whose working status is idle in the test execution module configuration area. In this way, it can be avoided that the same test execution module executes multiple voice performance test tasks at the same time, resulting in abnormal test results, and the efficiency of voice performance test can be improved.
与用户选择的测试执行模块标识信息对应的测试执行模块即为与测试执行模块配置信息对应的测试执行模块,是执行与语音性能测试任务信息对应的语音性能测试任务的测试执行模块。The test execution module corresponding to the test execution module identification information selected by the user is the test execution module corresponding to the test execution module configuration information, and is the test execution module for executing the voice performance test task corresponding to the voice performance test task information.
可选的,配置完成控件是用于输入配置完成指令的控件。配置完成指令是用于确定语音性能测试任务信息配置完成的指令。Optionally, the configuration completion control is a control for inputting a configuration completion instruction. The configuration complete instruction is an instruction used to determine that the configuration of the voice performance test task information is complete.
具体的,用户打开信息交互模块提供的测试任务配置界面,在所述任务名称配置区域输入任务名称;在所述测试数据配置区域输入或选择测试数据类别信息;在所述测试对象配置区域输入或选择测试对象;在所述测试接口配置区域输入需要进行语音性能测试的待测试终端设备的待测试接口的接口地址和访问参数;在测试执行模块配置区域中选择一个工作状态为空闲的测试执行模块的测试执行模块标识信息,然后点击配置完成控件。信息交互模块获取用户在所述任务名称配置区域输入的任务名称,作为任务名称。信息交互模块获取用户在所述测试数据配置区域输入或选择的测试数据类别信息,作为测试数据配置信息。信息交互模块获取用户在所述测试对象配置区域输入或选择的测试对象,作为测试对象配置信息。信息交互模块获取用户在所述测试接口配置区域输入的待测试终端设备的待测试接口的接口地址和访问参数,作为测试接口配置信息。信息交互模块获取用户在所述测试执行模块配置区域输入或选择的测试执行模块标识信息,作为测试执行模块配置信息。信息交互模块在检测到用户对所述配置完成控件的点击操作后,将由所述任务名称、所述测试数据配置信息、所述测试对象配置信息、所述测试接口配置信息和/或所述测试执行模块配置信息构成的语音性能测试任务信息发送至与所述测试执行模块配置信息对应的测试执行模块,从而将语音性能测试任务信息发送至用户选择的测试执行模块。Specifically, the user opens the test task configuration interface provided by the information interaction module, and inputs the task name in the task name configuration area; inputs or selects test data category information in the test data configuration area; inputs or Select the test object; input the interface address and access parameters of the interface to be tested of the terminal device to be tested that needs to be tested for voice performance in the test interface configuration area; select a test execution module whose working state is idle in the test execution module configuration area the test execution module identification information, and then click Configure to complete the control. The information interaction module obtains the task name input by the user in the task name configuration area as the task name. The information interaction module acquires the test data category information input or selected by the user in the test data configuration area, as the test data configuration information. The information interaction module acquires the test object input or selected by the user in the test object configuration area, as the test object configuration information. The information interaction module acquires the interface address and access parameters of the interface to be tested of the terminal device to be tested input by the user in the test interface configuration area, as test interface configuration information. The information interaction module acquires the test execution module identification information input or selected by the user in the test execution module configuration area, as test execution module configuration information. After the information interaction module detects the user's click operation on the configuration completion control, the task name, the test data configuration information, the test object configuration information, the test interface configuration information and/or the test The voice performance test task information formed by the configuration information of the execution module is sent to the test execution module corresponding to the configuration information of the test execution module, so that the voice performance test task information is sent to the test execution module selected by the user.
可选的,信息交互模块还可以通过测试任务配置界面向用户提供多项已经配置完成的语音性能测试任务信息。用户在所述测试任务配置界面上选择一项语音性能测试任务信息。信息交互模块将该项语音性能测试任务信息发送至与该项语音性能测试任务信息中的测试执行模块配置信息对应的测试执行模块。Optionally, the information interaction module may also provide the user with information on a number of configured voice performance test tasks through the test task configuration interface. The user selects a piece of voice performance test task information on the test task configuration interface. The information interaction module sends the voice performance test task information to the test execution module corresponding to the test execution module configuration information in the voice performance test task information.
可选的,测试执行模块基于所述语音性能测试任务信息进行语音性能测试,包括:在接收到信息交互模块发送的语音性能测试任务信息时,根据所述语音性能测试任务信息中的测试数据配置信息,从数据存储模块中获取与所述语音性能测试任务信息对应的目标测试数据;根据所述语音性能测试任务信息中的测试对象配置信息和测试接口配置信息,调用与所述语音性能测试任务信息对应的待测试终端设备的待测试接口,将所述目标测试数据发送至与所述语音性能测试任务信息对应的待测试终端设备,并获取与所述语音性能测试任务信息对应的待测试终端设备反馈的语音识别结果或语义理解结果;根据所述语音识别结果或所述语义理解结果、以及所述任务名称,生成语音识别测试结果或语义理解测试结果发送至所述数据存储模块。Optionally, the test execution module performs a voice performance test based on the voice performance test task information, including: when receiving the voice performance test task information sent by the information interaction module, configure according to the test data in the voice performance test task information. information, obtain the target test data corresponding to the voice performance test task information from the data storage module; according to the test object configuration information and test interface configuration information in the voice performance test task information, call the voice performance test task information. the interface to be tested of the terminal device to be tested corresponding to the information, send the target test data to the terminal device to be tested corresponding to the voice performance test task information, and obtain the terminal to be tested corresponding to the voice performance test task information The speech recognition result or semantic understanding result fed back by the device; according to the speech recognition result or the semantic understanding result, and the task name, the speech recognition test result or the semantic understanding test result is generated and sent to the data storage module.
可选的,语音性能测试方法,还包括:在通过测试结果显示界面获取到携带所述任务名称的测试结果查询请求时,从所述数据存储模块中获取与所述任务名称对应的语音识别测试结果或语义理解测试结果,并通过所述测试结果显示界面显示与所述任务名称对应的语音识别测试结果或语义理解测试结果。Optionally, the voice performance testing method further includes: when a test result query request carrying the task name is obtained through a test result display interface, acquiring a voice recognition test corresponding to the task name from the data storage module result or semantic understanding test result, and display the speech recognition test result or semantic understanding test result corresponding to the task name through the test result display interface.
可选的,测试结果显示界面包括任务名称输入区域、查询控件和/或测试结果显示区域。任务名称输入区域是用于输入任务名称的界面区域。查询控件是用于根据任务名称输入区域中的任务名称,生成携带任务名称的测试结果查询请求的控件。测试结果查询请求用于请求对包含指定任务名称的语音识别测试结果或语义理解测试结果进行查询。测试结果显示区域是用于显示语音识别测试结果或语义理解测试结果的界面区域。Optionally, the test result display interface includes a task name input area, a query control and/or a test result display area. The task name input area is an interface area for entering the task name. The query control is a control used to generate a test result query request carrying the task name according to the task name in the task name input area. The test result query request is used to request a query for the speech recognition test result or the semantic understanding test result containing the specified task name. The test result display area is an interface area for displaying the speech recognition test result or the semantic understanding test result.
具体的,用户可以在任务名称输入区域输入需要查询语音识别测试结果或语义理解测试结果所包含的任务名称,然后点击查询控件。信息交互模块获取查询控件根据任务名称输入区域中的任务名称,生成的携带任务名称的测试结果查询请求,从所述数据存储模块中获取与所述任务名称对应的语音识别测试结果或语义理解测试结果。与所述任务名称对应的语音识别测试结果或语义理解测试结果即为包含指定任务名称的语音识别测试结果或语义理解测试结果。然后信息交互模块在测试结果显示区域显示与所述任务名称对应的语音识别测试结果或语义理解测试结果,以使用户可以在测试结果显示区域浏览与所述任务名称对应的语音识别测试结果或语义理解测试结果。Specifically, the user can input the task name included in the speech recognition test result or the semantic understanding test result to be queried in the task name input area, and then click the query control. The information interaction module obtains the query control according to the task name in the task name input area, generates a test result query request carrying the task name, and obtains the speech recognition test result or semantic understanding test corresponding to the task name from the data storage module result. The speech recognition test result or the semantic understanding test result corresponding to the task name is the speech recognition test result or the semantic understanding test result including the specified task name. Then the information interaction module displays the speech recognition test result or semantic understanding test result corresponding to the task name in the test result display area, so that the user can browse the speech recognition test result or semantic understanding corresponding to the task name in the test result display area Understand the test results.
可选的,在从所述数据存储模块中获取与所述任务名称对应的语音识别测试结果或语义理解测试结果之前,还包括:根据与所述任务名称对应的鉴权信息,对所述测试结果查询请求进行鉴权。Optionally, before acquiring the speech recognition test result or the semantic understanding test result corresponding to the task name from the data storage module, it also includes: according to the authentication information corresponding to the task name, performing a The result query request is authenticated.
可选的,预先设置与各任务名称对应的鉴权信息。鉴权信息是用于进行鉴权的信息。鉴权信息可以为密钥。Optionally, authentication information corresponding to each task name is preset. The authentication information is information used for authentication. The authentication information can be a key.
具体的,用户在任务名称输入区域输入需要查询语音识别测试结果或语义理解测试结果所包含的任务名称、以及鉴权信息,然后点击查询控件。信息交互模块获取查询控件根据任务名称输入区域中的任务名称和鉴权信息,生成的携带任务名称和鉴权信息的测试结果查询请求,根据与所述任务名称对应的鉴权信息,对所述测试结果查询请求进行鉴权,判断测试结果查询请求中的鉴权信息是否是与所述任务名称对应的鉴权信息。如果测试结果查询请求中的鉴权信息是与所述任务名称对应的鉴权信息,则从所述数据存储模块中获取与所述任务名称对应的语音识别测试结果或语义理解测试结果,在测试结果显示区域显示与所述任务名称对应的语音识别测试结果或语义理解测试结果。如果测试结果查询请求中的鉴权信息不是与所述任务名称对应的鉴权信息,则在测试结果显示区域显示查询权限提示信息。查询权限提示信息用于告知用户:鉴权失败,无权限查询与所述任务名称对应的语音识别测试结果或语义理解测试结果。Specifically, the user inputs the task name and authentication information contained in the speech recognition test result or semantic understanding test result to be queried in the task name input area, and then clicks the query control. The information interaction module obtains the query control according to the task name and the authentication information in the task name input area, and generates a query request for the test result carrying the task name and the authentication information. The test result query request is authenticated, and it is judged whether the authentication information in the test result query request is the authentication information corresponding to the task name. If the authentication information in the test result query request is the authentication information corresponding to the task name, obtain the speech recognition test result or the semantic understanding test result corresponding to the task name from the data storage module, and in the test The result display area displays the speech recognition test result or the semantic understanding test result corresponding to the task name. If the authentication information in the test result query request is not the authentication information corresponding to the task name, the query permission prompt information is displayed in the test result display area. The query permission prompt information is used to inform the user that the authentication fails, and there is no permission to query the speech recognition test result or the semantic understanding test result corresponding to the task name.
本发明实施例提供了一种语音性能测试方法,通过测试数据上传界面获取测试数据,通过测试任务配置界面获取语音性能测试任务信息,可以利用界面交互的方式完成测试数据上传、语音性能测试任务信息配置等流程,操作简单便捷,提高了语音性能测试的效率,降低了语音性能测试的难度,使得没有编程语言基础的用户也可以基于语音性能测试系统,用简单的界面交互进行语音性能自动化测试。The embodiment of the present invention provides a voice performance testing method. Test data is acquired through a test data upload interface, and voice performance test task information is acquired through a test task configuration interface. The interface interaction can be used to complete test data upload and voice performance test task information. The configuration and other processes are simple and convenient to operate, improve the efficiency of voice performance testing, and reduce the difficulty of voice performance testing, so that users without programming language foundation can also perform automatic voice performance testing based on the voice performance testing system with simple interface interaction.
实施例三Embodiment 3
图3为本发明实施例三提供的一种语音性能测试方法的流程图。本发明实施例可适用于对终端设备的语音识别功能或者语义理解功能进行测试的情况。该方法可以应用于本发明上述实施例提供的语音性能测试系统中的测试执行模块中。如图3所示,本实施例的方法具体包括:FIG. 3 is a flowchart of a voice performance testing method according to Embodiment 3 of the present invention. The embodiments of the present invention are applicable to the case of testing the speech recognition function or the semantic understanding function of the terminal device. The method can be applied to the test execution module in the voice performance test system provided by the above embodiments of the present invention. As shown in Figure 3, the method of this embodiment specifically includes:
步骤301、在接收到信息交互模块发送的语音性能测试任务信息时,根据所述语音性能测试任务信息中的测试数据配置信息,从数据存储模块中获取与所述语音性能测试任务信息对应的目标测试数据。
可选的,每一个测试执行模块为一台服务器。待测试终端设备为带有语音识别功能和语义理解功能的终端设备。如果某一个测试执行模块接收到语音性能测试任务信息,表明测试执行模块为用户选择的需要执行与语音性能测试任务信息对应的语音性能测试任务的测试执行模块。Optionally, each test execution module is a server. The terminal device to be tested is a terminal device with speech recognition function and semantic understanding function. If a certain test execution module receives the voice performance test task information, it indicates that the test execution module is a test execution module selected by the user and needs to execute the voice performance test task corresponding to the voice performance test task information.
可选的,测试数据包括测试音频、测试文本、与所述测试音频对应的预期语音识别结果和/或与所述测试文本对应的预期语义理解结果。Optionally, the test data includes test audio, test text, expected speech recognition results corresponding to the test audio, and/or expected semantic understanding results corresponding to the test text.
可选的,所述测试数据配置信息为音频,所述测试对象配置信息为语音识别,所述测试接口配置信息包括与所述语音性能测试任务信息对应的待测试终端设备的语音识别接口的接口地址和访问参数;所述根据所述语音性能测试任务信息中的测试数据配置信息,从所述数据存储模块中获取与所述语音性能测试任务信息对应的目标测试数据,包括:根据所述音频,从所述数据存储模块中获取测试音频、以及与所述测试音频对应的预期语音识别结果;将所述测试音频确定为与所述语音性能测试任务信息对应的目标测试数据。Optionally, the test data configuration information is audio, the test object configuration information is voice recognition, and the test interface configuration information includes the interface of the voice recognition interface of the terminal device to be tested corresponding to the voice performance test task information. address and access parameters; the acquiring target test data corresponding to the voice performance test task information from the data storage module according to the test data configuration information in the voice performance test task information includes: according to the audio , obtain the test audio and the expected speech recognition result corresponding to the test audio from the data storage module; determine the test audio as the target test data corresponding to the voice performance test task information.
可选的,所述测试数据配置信息为文本,所述测试对象配置信息为语义理解,所述测试接口配置信息包括与所述语音性能测试任务信息对应的待测试终端设备的语义理解接口的接口地址和访问参数;所述根据所述语音性能测试任务信息中的测试数据配置信息,从所述数据存储模块中获取与所述语音性能测试任务信息对应的目标测试数据,包括:根据所述文本,从所述数据存储模块中获取测试文本、以及与所述测试文本对应的预期语义理解结果;将所述测试文本确定为与所述语音性能测试任务信息对应的目标测试数据。Optionally, the test data configuration information is text, the test object configuration information is semantic understanding, and the test interface configuration information includes the interface of the semantic understanding interface of the terminal device to be tested corresponding to the voice performance test task information. address and access parameters; the acquiring target test data corresponding to the voice performance test task information from the data storage module according to the test data configuration information in the voice performance test task information includes: according to the text , obtain the test text and the expected semantic understanding result corresponding to the test text from the data storage module; determine the test text as the target test data corresponding to the voice performance test task information.
步骤302、根据所述语音性能测试任务信息中的测试对象配置信息和测试接口配置信息,调用与所述语音性能测试任务信息对应的待测试终端设备的待测试接口,将所述目标测试数据发送至与所述语音性能测试任务信息对应的待测试终端设备,并获取与所述语音性能测试任务信息对应的待测试终端设备反馈的语音识别结果或语义理解结果。Step 302: According to the test object configuration information and the test interface configuration information in the voice performance test task information, call the test interface of the terminal device to be tested corresponding to the voice performance test task information, and send the target test data. to the terminal device to be tested corresponding to the voice performance test task information, and obtain the speech recognition result or semantic understanding result fed back by the terminal device to be tested corresponding to the voice performance test task information.
可选的,所述测试数据配置信息为音频,所述测试对象配置信息为语音识别,所述测试接口配置信息包括与所述语音性能测试任务信息对应的待测试终端设备的语音识别接口的接口地址和访问参数;所述根据所述语音性能测试任务信息中的测试对象配置信息和测试接口配置信息,调用与所述语音性能测试任务信息对应的待测试终端设备的待测试接口,将所述目标测试数据发送至与所述语音性能测试任务信息对应的待测试终端设备,并获取与所述语音性能测试任务信息对应的待测试终端设备反馈的语音识别结果或语义理解结果,包括:根据所述语音识别、以及与所述语音性能测试任务信息对应的待测试终端设备的语音识别接口的接口地址和访问参数,调用与所述语音性能测试任务信息对应的待测试终端设备的语音识别接口,将所述测试音频发送至与所述语音性能测试任务信息对应的待测试终端设备,并获取与所述语音性能测试任务信息对应的待测试终端设备反馈的语音识别结果。Optionally, the test data configuration information is audio, the test object configuration information is voice recognition, and the test interface configuration information includes the interface of the voice recognition interface of the terminal device to be tested corresponding to the voice performance test task information. address and access parameters; according to the test object configuration information and the test interface configuration information in the voice performance test task information, call the to-be-tested interface of the terminal device to be tested corresponding to the voice performance test task information, and use the The target test data is sent to the terminal device to be tested corresponding to the voice performance test task information, and the voice recognition result or semantic understanding result fed back by the terminal device to be tested corresponding to the voice performance test task information is obtained, including: described voice recognition and the interface address and access parameter of the voice recognition interface of the terminal device to be tested corresponding to the voice performance test task information, call the voice recognition interface of the terminal device to be tested corresponding to the voice performance test task information, The test audio is sent to the terminal device to be tested corresponding to the voice performance test task information, and a voice recognition result fed back by the terminal device to be tested corresponding to the voice performance test task information is acquired.
可选的,所述测试数据配置信息为文本,所述测试对象配置信息为语义理解,所述测试接口配置信息包括与所述语音性能测试任务信息对应的待测试终端设备的语义理解接口的接口地址和访问参数;所述根据所述语音性能测试任务信息中的测试对象配置信息和测试接口配置信息,调用与所述语音性能测试任务信息对应的待测试终端设备的待测试接口,将所述目标测试数据发送至与所述语音性能测试任务信息对应的待测试终端设备,并获取与所述语音性能测试任务信息对应的待测试终端设备反馈的语音识别结果或语义理解结果,包括:根据所述语义理解、以及与所述语音性能测试任务信息对应的待测试终端设备的语义理解接口的接口地址和访问参数,调用与所述语音性能测试任务信息对应的待测试终端设备的语义理解接口,将所述测试文本发送至与所述语音性能测试任务信息对应的待测试终端设备,并获取与所述语音性能测试任务信息对应的待测试终端设备反馈的语义理解结果。Optionally, the test data configuration information is text, the test object configuration information is semantic understanding, and the test interface configuration information includes the interface of the semantic understanding interface of the terminal device to be tested corresponding to the voice performance test task information. address and access parameters; according to the test object configuration information and the test interface configuration information in the voice performance test task information, call the to-be-tested interface of the terminal device to be tested corresponding to the voice performance test task information, and use the The target test data is sent to the terminal device to be tested corresponding to the voice performance test task information, and the voice recognition result or semantic understanding result fed back by the terminal device to be tested corresponding to the voice performance test task information is obtained, including: Describe the semantic understanding and the interface address and access parameters of the semantic understanding interface of the terminal device to be tested corresponding to the voice performance test task information, and call the semantic understanding interface of the terminal device to be tested corresponding to the voice performance test task information, The test text is sent to the terminal device to be tested corresponding to the voice performance test task information, and the semantic understanding result fed back by the terminal device to be tested corresponding to the voice performance test task information is obtained.
步骤303、根据所述语音识别结果或所述语义理解结果、以及所述任务名称,生成语音识别测试结果或语义理解测试结果发送至所述数据存储模块。
可选的,测试执行模块获取与所述语音性能测试任务信息对应的待测试终端设备反馈的语音识别结果,将由任务名称和语音识别结果构成的语音识别测试结果发送至所述数据存储模块。Optionally, the test execution module obtains the voice recognition result fed back by the terminal device to be tested corresponding to the voice performance test task information, and sends the voice recognition test result composed of the task name and the voice recognition result to the data storage module.
可选的,测试执行模块获取与所述语音性能测试任务信息对应的待测试终端设备反馈的语音识别结果,计算语音识别结果与预期语音识别结果的相似度,然后将由任务名称、语音识别结果、以及语音识别结果与预期语音识别结果的相似度构成的语音识别测试结果发送至所述数据存储模块。Optionally, the test execution module obtains the voice recognition result fed back by the terminal device to be tested corresponding to the voice performance test task information, calculates the similarity between the voice recognition result and the expected voice recognition result, and then uses the task name, voice recognition result, And the speech recognition test result composed of the similarity between the speech recognition result and the expected speech recognition result is sent to the data storage module.
可选的,测试执行模块获取与所述语音性能测试任务信息对应的待测试终端设备反馈的语义理解结果,将由任务名称和语义理解结果构成的语义理解测试结果发送至所述数据存储模块。Optionally, the test execution module obtains the semantic understanding result fed back by the terminal device to be tested corresponding to the voice performance test task information, and sends the semantic understanding test result composed of the task name and the semantic understanding result to the data storage module.
可选的,测试执行模块获取与所述语音性能测试任务信息对应的待测试终端设备反馈的语义理解结果,计算语义理解结果与预期语义理解结果的相似度,然后将由任务名称、语义理解结果、以及语义理解结果与预期语义理解结果的相似度构成的语义理解测试结果发送至所述数据存储模块。Optionally, the test execution module obtains the semantic understanding result fed back by the terminal device to be tested corresponding to the voice performance test task information, calculates the similarity between the semantic understanding result and the expected semantic understanding result, and then uses the task name, semantic understanding result, And the semantic understanding test result composed of the similarity between the semantic understanding result and the expected semantic understanding result is sent to the data storage module.
本发明实施例提供了一种语音性能测试方法,通过测试执行模块根据语音性能测试任务信息中的测试数据配置信息,从数据存储模块中获取与语音性能测试任务信息对应的目标测试数据,然后根据语音性能测试任务信息中的测试对象配置信息和测试接口配置信息,调用与语音性能测试任务信息对应的待测试终端设备的待测试接口,将所述目标测试数据发送至与语音性能测试任务信息对应的待测试终端设备,并获取与语音性能测试任务信息对应的待测试终端设备反馈的语音识别结果或语义理解结果,根据语音识别结果或语义理解结果、以及任务名称,生成语音识别测试结果或语义理解测试结果发送至数据存储模块进行存储,可以根据通过测试数据上传界面获取的测试数据、以及通过测试任务配置界面获取的语音性能测试任务信息,对待测试终端设备的语音识别功能或语义理解功能进行自动化测试。The embodiment of the present invention provides a voice performance testing method. The test execution module obtains target test data corresponding to the voice performance test task information from the data storage module according to the test data configuration information in the voice performance test task information, and then according to The test object configuration information and the test interface configuration information in the voice performance test task information, call the test interface of the terminal device to be tested corresponding to the voice performance test task information, and send the target test data to the voice performance test task information corresponding to The terminal device to be tested is obtained, and the voice recognition result or semantic understanding result fed back by the terminal device to be tested corresponding to the voice performance test task information is obtained, and the voice recognition test result or semantic understanding result is generated according to the voice recognition result or semantic understanding result and the task name. The comprehension test results are sent to the data storage module for storage. According to the test data obtained through the test data upload interface and the voice performance test task information obtained through the test task configuration interface, the speech recognition function or semantic understanding function of the terminal device to be tested can be tested. automated test.
实施例四Embodiment 4
图4为本发明实施例四提供的一种语音性能测试装置的结构示意图。该装置可以配置于本发明上述实施例提供的语音性能测试系统中的信息交互模块中。如图4所示,所述装置包括:测试数据发送单元401和任务信息发送单元402。FIG. 4 is a schematic structural diagram of a voice performance testing apparatus according to Embodiment 4 of the present invention. The device may be configured in the information interaction module in the voice performance testing system provided by the above embodiments of the present invention. As shown in FIG. 4 , the apparatus includes: a test
其中,测试数据发送单元401,用于通过测试数据上传界面获取测试数据,并将所述测试数据发送至数据存储模块;任务信息发送单元402,用于通过测试任务配置界面获取语音性能测试任务信息,并将所述语音性能测试任务信息发送至与测试执行模块配置信息对应的测试执行模块,,以使所述测试执行模块基于所述语音性能测试任务信息进行语音性能测试;其中,所述语音性能测试任务信息包括任务名称、测试数据配置信息、测试对象配置信息、测试接口配置信息和/或测试执行模块配置信息。Wherein, the test
本发明实施例提供了一种语音性能测试装置,通过测试数据上传界面获取测试数据,通过测试任务配置界面获取语音性能测试任务信息,可以利用界面交互的方式完成测试数据上传、语音性能测试任务信息配置等流程,操作简单便捷,提高了语音性能测试的效率,降低了语音性能测试的难度,使得没有编程语言基础的用户也可以基于语音性能测试系统,用简单的界面交互进行语音性能自动化测试。The embodiment of the present invention provides a voice performance testing device, which acquires test data through a test data upload interface, acquires voice performance test task information through a test task configuration interface, and can complete test data upload and voice performance test task information by using interface interaction. The configuration and other processes are simple and convenient to operate, improve the efficiency of voice performance testing, and reduce the difficulty of voice performance testing, so that users without programming language foundation can also perform automatic voice performance testing based on the voice performance testing system with simple interface interaction.
在本发明实施例的一个可选实施方式中,可选的,语音性能测试装置还包括:测试结果查询单元,用于在通过测试结果显示界面获取到携带所述任务名称的测试结果查询请求时,从所述数据存储模块中获取与所述任务名称对应的语音识别测试结果或语义理解测试结果,并通过所述测试结果显示界面显示与所述任务名称对应的语音识别测试结果或语义理解测试结果。In an optional implementation manner of the embodiment of the present invention, optionally, the voice performance testing apparatus further includes: a test result query unit, configured to obtain a test result query request carrying the task name through the test result display interface , obtain the speech recognition test result or the semantic comprehension test result corresponding to the task name from the data storage module, and display the speech recognition test result or the semantic comprehension test corresponding to the task name through the test result display interface result.
在本发明实施例的一个可选实施方式中,可选的,所述测试数据上传界面包括测试数据目录和上传控件;测试数据发送单元401包括:标识信息获取子单元,用于获取用户在所述测试数据目录中选择的测试数据标识信息;测试数据获取子单元,用于在预设的测试数据库中,获取与所述测试数据标识信息对应的测试数据;测试数据发送子单元,用于在检测到所述用户对所述上传控件的点击操作后,将与所述测试数据标识信息对应的测试数据发送至数据存储模块。In an optional implementation of the embodiment of the present invention, optionally, the test data uploading interface includes a test data directory and an upload control; the test
在本发明实施例的一个可选实施方式中,可选的,所述测试任务配置界面包括:任务名称配置区域、测试数据配置区域、测试对象配置区域、测试接口配置区域、测试执行模块配置区域和/或配置完成控件;任务信息发送单元402包括:第一获取子单元,用于获取用户在所述任务名称配置区域输入的任务名称,作为任务名称;和/或,第二获取子单元,用于获取用户在所述测试数据配置区域输入或选择的测试数据类别信息,作为测试数据配置信息;和/或,第三获取子单元,用于获取用户在所述测试对象配置区域输入或选择的测试对象,作为测试对象配置信息;和/或,第四获取子单元,用于获取用户在所述测试接口配置区域输入的待测试终端设备的待测试接口的接口地址和访问参数,作为测试接口配置信息;和/或,第五获取子单元,用于获取用户在所述测试执行模块配置区域输入或选择的测试执行模块标识信息,作为测试执行模块配置信息;和/或,任务信息发送子单元,用于在检测到用户对所述配置完成控件的点击操作后,将由所述任务名称、所述测试数据配置信息、所述测试对象配置信息、所述测试接口配置信息和/或所述测试执行模块配置信息构成的语音性能测试任务信息发送至与所述测试执行模块配置信息对应的测试执行模块。In an optional implementation of the embodiment of the present invention, optionally, the test task configuration interface includes: a task name configuration area, a test data configuration area, a test object configuration area, a test interface configuration area, and a test execution module configuration area and/or a configuration completion control; the task information sending unit 402 includes: a first acquisition subunit, used for acquiring the task name input by the user in the task name configuration area, as the task name; and/or, a second acquisition subunit, for acquiring the test data category information input or selected by the user in the test data configuration area, as test data configuration information; and/or, a third acquisition subunit for acquiring the user input or selection in the test object configuration area The test object, as the test object configuration information; and/or, the fourth acquisition subunit, for acquiring the interface address and the access parameter of the interface to be tested of the terminal device to be tested input by the user in the test interface configuration area, as the test interface interface configuration information; and/or, a fifth acquisition subunit, configured to acquire the test execution module identification information input or selected by the user in the test execution module configuration area, as test execution module configuration information; and/or, sending task information The subunit is used for, after detecting the click operation of the user on the configuration completion control, the task name, the test data configuration information, the test object configuration information, the test interface configuration information and/or all The voice performance test task information composed of the configuration information of the test execution module is sent to the test execution module corresponding to the configuration information of the test execution module.
在本发明实施例的一个可选实施方式中,可选的,语音性能测试装置还包括:鉴权单元,用于根据与所述任务名称对应的鉴权信息,对所述测试结果查询请求进行鉴权。In an optional implementation manner of the embodiment of the present invention, optionally, the voice performance testing apparatus further includes: an authentication unit, configured to perform a query on the test result according to the authentication information corresponding to the task name. Authentication.
关于上述实施例中的装置,其中各个模块执行操作的具体方式已经在有关语音性能测试方法的实施例中进行了详细描述,此处将不做详细阐述说明。Regarding the apparatus in the foregoing embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the speech performance testing method, and will not be described in detail here.
实施例五Embodiment 5
图5为本发明实施例五提供的一种语音性能测试装置的结构示意图。该装置可以配置于本发明上述实施例提供的语音性能测试系统中的测试执行模块中。如图5所示,所述装置包括:测试数据获取单元501、反馈结果获取单元502以及测试结果发送单元503。FIG. 5 is a schematic structural diagram of a voice performance testing apparatus according to Embodiment 5 of the present invention. The apparatus may be configured in the test execution module in the voice performance test system provided by the above embodiments of the present invention. As shown in FIG. 5 , the apparatus includes: a test
其中,测试数据获取单元501,用于在接收到信息交互模块发送的语音性能测试任务信息时,根据所述语音性能测试任务信息中的测试数据配置信息,从数据存储模块中获取与所述语音性能测试任务信息对应的目标测试数据;反馈结果获取单元502,用于根据所述语音性能测试任务信息中的测试对象配置信息和测试接口配置信息,调用与所述语音性能测试任务信息对应的待测试终端设备的待测试接口,将所述目标测试数据发送至与所述语音性能测试任务信息对应的待测试终端设备,并获取与所述语音性能测试任务信息对应的待测试终端设备反馈的语音识别结果或语义理解结果;测试结果发送单元503,用于根据所述语音识别结果或所述语义理解结果、以及所述任务名称,生成语音识别测试结果或语义理解测试结果发送至所述数据存储模块。Wherein, the test
本发明实施例提供了一种语音性能测试装置,通过测试执行模块根据语音性能测试任务信息中的测试数据配置信息,从数据存储模块中获取与语音性能测试任务信息对应的目标测试数据,然后根据语音性能测试任务信息中的测试对象配置信息和测试接口配置信息,调用与语音性能测试任务信息对应的待测试终端设备的待测试接口,将所述目标测试数据发送至与语音性能测试任务信息对应的待测试终端设备,并获取与语音性能测试任务信息对应的待测试终端设备反馈的语音识别结果或语义理解结果,根据语音识别结果或语义理解结果、以及任务名称,生成语音识别测试结果或语义理解测试结果发送至数据存储模块进行存储,可以根据通过测试数据上传界面获取的测试数据、以及通过测试任务配置界面获取的语音性能测试任务信息,对待测试终端设备的语音识别功能或语义理解功能进行自动化测试。The embodiment of the present invention provides a voice performance testing device. The test execution module obtains target test data corresponding to the voice performance test task information from the data storage module according to the test data configuration information in the voice performance test task information, and then according to The test object configuration information and the test interface configuration information in the voice performance test task information, call the test interface of the terminal device to be tested corresponding to the voice performance test task information, and send the target test data to the voice performance test task information corresponding to The terminal device to be tested is obtained, and the voice recognition result or semantic understanding result fed back by the terminal device to be tested corresponding to the voice performance test task information is obtained, and the voice recognition test result or semantic understanding result is generated according to the voice recognition result or semantic understanding result and the task name. The comprehension test results are sent to the data storage module for storage. According to the test data obtained through the test data upload interface and the voice performance test task information obtained through the test task configuration interface, the speech recognition function or semantic understanding function of the terminal device to be tested can be tested. automated test.
在本发明实施例的一个可选实施方式中,可选的,测试数据包括测试音频、测试文本、与所述测试音频对应的预期语音识别结果和/或与所述测试文本对应的预期语义理解结果。In an optional implementation of the embodiment of the present invention, optionally, the test data includes test audio, test text, expected speech recognition results corresponding to the test audio, and/or expected semantic understanding corresponding to the test text result.
在本发明实施例的一个可选实施方式中,可选的,所述测试数据配置信息为音频,所述测试对象配置信息为语音识别,所述测试接口配置信息包括与所述语音性能测试任务信息对应的待测试终端设备的语音识别接口的接口地址和访问参数;测试数据获取单元501,包括:音频获取子单元,用于根据所述音频,从所述数据存储模块中获取测试音频、以及与所述测试音频对应的预期语音识别结果;音频确定子单元,用于将所述测试音频确定为与所述语音性能测试任务信息对应的目标测试数据。In an optional implementation manner of the embodiment of the present invention, optionally, the test data configuration information is audio, the test object configuration information is voice recognition, and the test interface configuration information includes a task related to the voice performance test. The interface address and the access parameter of the speech recognition interface of the terminal device to be tested corresponding to the information; the test
在本发明实施例的一个可选实施方式中,可选的,反馈结果获取单元502包括:语音识别结果获取子单元,用于根据所述语音识别、以及与所述语音性能测试任务信息对应的待测试终端设备的语音识别接口的接口地址和访问参数,调用与所述语音性能测试任务信息对应的待测试终端设备的语音识别接口,将所述测试音频发送至与所述语音性能测试任务信息对应的待测试终端设备,并获取与所述语音性能测试任务信息对应的待测试终端设备反馈的语音识别结果。In an optional implementation of the embodiment of the present invention, optionally, the feedback
在本发明实施例的一个可选实施方式中,可选的,所述测试数据配置信息为文本,所述测试对象配置信息为语义理解,所述测试接口配置信息包括与所述语音性能测试任务信息对应的待测试终端设备的语义理解接口的接口地址和访问参数;测试数据获取单元501,包括:文本获取子单元,用于根据所述文本,从所述数据存储模块中获取测试文本、以及与所述测试文本对应的预期语义理解结果;文本确定子单元,用于将所述测试文本确定为与所述语音性能测试任务信息对应的目标测试数据。In an optional implementation manner of the embodiment of the present invention, optionally, the test data configuration information is text, the test object configuration information is semantic understanding, and the test interface configuration information includes a task related to the voice performance test. The interface address and access parameter of the semantic understanding interface of the terminal device to be tested corresponding to the information; the test
在本发明实施例的一个可选实施方式中,可选的,反馈结果获取单元502包括:述语义理解结果获取子单元,用于根据所述语义理解、以及与所述语音性能测试任务信息对应的待测试终端设备的语义理解接口的接口地址和访问参数,调用与所述语音性能测试任务信息对应的待测试终端设备的语义理解接口,将所述测试文本发送至与所述语音性能测试任务信息对应的待测试终端设备,并获取与所述语音性能测试任务信息对应的待测试终端设备反馈的语义理解结果。In an optional implementation manner of the embodiment of the present invention, optionally, the feedback
关于上述实施例中的装置,其中各个模块执行操作的具体方式已经在有关语音性能测试方法的实施例中进行了详细描述,此处将不做详细阐述说明。Regarding the apparatus in the foregoing embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the speech performance testing method, and will not be described in detail here.
实施例六Embodiment 6
图6为本发明实施例六提供的一种计算机设备的结构示意图。图6示出了适于用来实现本发明实施方式的示例性计算机设备12的框图。图6显示的计算机设备12仅仅是一个示例,不应对本发明实施例的功能和使用范围带来任何限制。FIG. 6 is a schematic structural diagram of a computer device according to Embodiment 6 of the present invention. Figure 6 shows a block diagram of an
如图6所示,计算机设备12以通用计算设备的形式表现。计算机设备12的组件可以包括但不限于:一个或者多个处理器16,存储器28,连接不同系统组件(包括存储器28和处理器16)的总线18。As shown in FIG. 6,
总线18表示几类总线结构中的一种或多种,包括存储器总线或者存储器控制器,外围总线,图形加速端口,处理器或者使用多种总线结构中的任意总线结构的局域总线。举例来说,这些体系结构包括但不限于工业标准体系结构(ISA)总线,微通道体系结构(MAC)总线,增强型ISA总线、视频电子标准协会(VESA)局域总线以及外围组件互连(PCI)总线。Bus 18 represents one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, a graphics acceleration port, a processor, or a local bus using any of a variety of bus structures. By way of example, these architectures include, but are not limited to, Industry Standard Architecture (ISA) bus, Micro Channel Architecture (MAC) bus, Enhanced ISA bus, Video Electronics Standards Association (VESA) local bus, and Peripheral Component Interconnect ( PCI) bus.
计算机设备12典型地包括多种计算机系统可读介质。这些介质可以是任何能够被计算机设备12访问的可用介质,包括易失性和非易失性介质,可移动的和不可移动的介质。
存储器28可以包括易失性存储器形式的计算机系统可读介质,例如随机存取存储器(RAM)30和/或高速缓存存储器32。计算机设备12可以进一步包括其它可移动/不可移动的、易失性/非易失性计算机系统存储介质。仅作为举例,存储系统34可以用于读写不可移动的、非易失性磁介质(图6未显示,通常称为“硬盘驱动器”)。尽管图6中未示出,可以提供用于对可移动非易失性磁盘(例如“软盘”)读写的磁盘驱动器,以及对可移动非易失性光盘(例如CD-ROM,DVD-ROM或者其它光介质)读写的光盘驱动器。在这些情况下,每个驱动器可以通过一个或者多个数据介质接口与总线18相连。存储器28可以包括至少一个程序产品,该程序产品具有一组(例如至少一个)程序模块,这些程序模块被配置以执行本发明各实施例的功能。
具有一组(至少一个)程序模块42的程序/实用工具40,可以存储在例如存储器28中,这样的程序模块42包括但不限于操作系统、一个或者多个应用程序客户端、其它程序模块以及程序数据,这些示例中的每一个或某种组合中可能包括网络环境的实现。程序模块42通常执行本发明所描述的实施例中的功能和/或方法。A program/
计算机设备12也可以与一个或多个外部设备14(例如键盘、指向设备、显示器24等)通信,还可与一个或者多个使得用户能与该计算机设备12交互的设备通信,和/或与使得该计算机设备12能与一个或多个其它计算设备进行通信的任何设备(例如网卡,调制解调器等等)通信。这种通信可以通过输入/输出(I/O)接口22进行。并且,计算机设备12还可以通过网络适配器20与一个或者多个网络(例如局域网(LAN),广域网(WAN)和/或公共网络,例如因特网)通信。如图6所示,网络适配器20通过总线18与计算机设备12的其它模块通信。应当明白,尽管图6中未示出,可以结合计算机设备12使用其它硬件和/或软件模块,包括但不限于:微代码、设备驱动器、冗余处理单元、外部磁盘驱动阵列、RAID系统、磁带驱动器以及数据备份存储系统等。
处理器16通过运行存储在存储器28中的程序,从而执行各种功能应用以及数据处理,实现本发明实施例所提供的语音性能测试方法:通过测试数据上传界面获取测试数据,并将所述测试数据发送至数据存储模块;通过测试任务配置界面获取语音性能测试任务信息,并将所述语音性能测试任务信息发送至与测试执行模块配置信息对应的测试执行模块,,以使所述测试执行模块基于所述语音性能测试任务信息进行语音性能测试;其中,所述语音性能测试任务信息包括任务名称、测试数据配置信息、测试对象配置信息、测试接口配置信息以及测试执行模块配置信息。The
或者,实现本发明实施例所提供的语音性能测试方法:在接收到信息交互模块发送的语音性能测试任务信息时,根据所述语音性能测试任务信息中的测试数据配置信息,从数据存储模块中获取与所述语音性能测试任务信息对应的目标测试数据;根据所述语音性能测试任务信息中的测试对象配置信息和测试接口配置信息,调用与所述语音性能测试任务信息对应的待测试终端设备的待测试接口,将所述目标测试数据发送至与所述语音性能测试任务信息对应的待测试终端设备,并获取与所述语音性能测试任务信息对应的待测试终端设备反馈的语音识别结果或语义理解结果;根据所述语音识别结果或所述语义理解结果、以及所述任务名称,生成语音识别测试结果或语义理解测试结果发送至所述数据存储模块。Or, implement the voice performance testing method provided by the embodiment of the present invention: when receiving voice performance test task information sent by the information interaction module, according to the test data configuration information in the voice performance test task information, from the data storage module Obtain target test data corresponding to the voice performance test task information; call the terminal device to be tested corresponding to the voice performance test task information according to the test object configuration information and the test interface configuration information in the voice performance test task information the interface to be tested, send the target test data to the terminal device to be tested corresponding to the voice performance test task information, and obtain the voice recognition result or Semantic understanding result; according to the speech recognition result or the semantic understanding result, and the task name, generate a speech recognition test result or a semantic understanding test result and send it to the data storage module.
实施例七Embodiment 7
本发明实施例七提供了一种计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时,实现本发明实施例所提供的语音性能测试方法:通过测试数据上传界面获取测试数据,并将所述测试数据发送至数据存储模块;通过测试任务配置界面获取语音性能测试任务信息,并将所述语音性能测试任务信息发送至与测试执行模块配置信息对应的测试执行模块,以使所述测试执行模块基于所述语音性能测试任务信息进行语音性能测试;其中,所述语音性能测试任务信息包括任务名称、测试数据配置信息、测试对象配置信息、测试接口配置信息以及测试执行模块配置信息。Embodiment 7 of the present invention provides a computer-readable storage medium on which a computer program is stored, and when the program is executed by a processor, implements the voice performance testing method provided by the embodiment of the present invention: obtaining a test through a test data upload interface data, and send the test data to the data storage module; obtain voice performance test task information through the test task configuration interface, and send the voice performance test task information to the test execution module corresponding to the test execution module configuration information, to Make the test execution module perform a voice performance test based on the voice performance test task information; wherein the voice performance test task information includes a task name, test data configuration information, test object configuration information, test interface configuration information and a test execution module configuration information.
或者,实现本发明实施例所提供的语音性能测试方法:在接收到信息交互模块发送的语音性能测试任务信息时,根据所述语音性能测试任务信息中的测试数据配置信息,从数据存储模块中获取与所述语音性能测试任务信息对应的目标测试数据;根据所述语音性能测试任务信息中的测试对象配置信息和测试接口配置信息,调用与所述语音性能测试任务信息对应的待测试终端设备的待测试接口,将所述目标测试数据发送至与所述语音性能测试任务信息对应的待测试终端设备,并获取与所述语音性能测试任务信息对应的待测试终端设备反馈的语音识别结果或语义理解结果;根据所述语音识别结果或所述语义理解结果、以及所述任务名称,生成语音识别测试结果或语义理解测试结果发送至所述数据存储模块。Or, implement the voice performance testing method provided by the embodiment of the present invention: when receiving voice performance test task information sent by the information interaction module, according to the test data configuration information in the voice performance test task information, from the data storage module Obtain target test data corresponding to the voice performance test task information; call the terminal device to be tested corresponding to the voice performance test task information according to the test object configuration information and the test interface configuration information in the voice performance test task information the interface to be tested, send the target test data to the terminal device to be tested corresponding to the voice performance test task information, and obtain the voice recognition result or Semantic understanding result; according to the speech recognition result or the semantic understanding result, and the task name, generate a speech recognition test result or a semantic understanding test result and send it to the data storage module.
可以采用一个或多个计算机可读的介质的任意组合。计算机可读介质可以是计算机可读信号介质或者计算机可读存储介质。计算机可读存储介质例如可以是但不限于电、磁、光、电磁、红外线、或半导体的系统、装置或器件,或者任意以上的组合。计算机可读存储介质的更具体的例子(非穷举的列表)包括:具有一个或多个导线的电连接、便携式计算机磁盘、硬盘、随机存取存储器(RAM)、只读存储器(ROM)、可擦式可编程只读存储器(EPROM或闪存)、光纤、便携式紧凑磁盘只读存储器(CD-ROM)、光存储器件、磁存储器件、或者上述的任意合适的组合。在本文件中,计算机可读存储介质可以是任何包含或存储程序的有形介质,该程序可以被信息执行系统、装置或者器件使用或者与其结合使用。Any combination of one or more computer-readable media may be employed. The computer-readable medium may be a computer-readable signal medium or a computer-readable storage medium. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus or device, or a combination of any of the above. More specific examples (a non-exhaustive list) of computer readable storage media include: electrical connections having one or more wires, portable computer disks, hard disks, random access memory (RAM), read only memory (ROM), Erasable Programmable Read Only Memory (EPROM or Flash), fiber optics, portable compact disk read only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the foregoing. In this document, a computer-readable storage medium can be any tangible medium that contains or stores a program that can be used by or in conjunction with an information execution system, apparatus, or device.
计算机可读的信号介质可以包括在基带中或者作为载波一部分传播的数据信号,其中承载了计算机可读的程序代码。这种传播的数据信号可以采用多种形式,包括但不限于电磁信号、光信号或上述的任意合适的组合。计算机可读的信号介质还可以是计算机可读存储介质以外的任何计算机可读介质,该计算机可读介质可以发送、传播或者传输用于由信息执行系统、装置或者器件使用或者与其结合使用的程序。A computer-readable signal medium may include a propagated data signal in baseband or as part of a carrier wave, with computer-readable program code embodied thereon. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the foregoing. A computer-readable signal medium can also be any computer-readable medium other than a computer-readable storage medium, which can transmit, propagate, or transmit a program for use by or in connection with an information execution system, apparatus, or device .
计算机可读介质上包含的程序代码可以用任何适当的介质传输,包括但不限于无线、电线、光缆、RF等等,或者上述的任意合适的组合。Program code embodied on a computer readable medium may be transmitted using any suitable medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
可以以一种或多种程序设计语言或其组合来编写用于执行本发明操作的计算机程序代码,所述程序设计语言包括面向对象的程序设计语言,诸如Java、Smalltalk、C++,还包括常规的过程式程序设计语言—诸如“C”语言或类似的程序设计语言。程序代码可以完全地在用户计算机上执行、部分地在用户计算机上执行、作为一个独立的软件包执行、部分在用户计算机上部分在远程计算机上执行、或者完全在远程计算机或计算机设备上执行。在涉及远程计算机的情形中,远程计算机可以通过任意种类的网络,包括局域网(LAN)或广域网(WAN),连接到用户计算机,或者,可以连接到外部计算机(例如利用因特网服务提供商来通过因特网连接)。Computer program code for carrying out operations of the present invention may be written in one or more programming languages, including object-oriented programming languages, such as Java, Smalltalk, C++, and conventional Procedural programming language - such as the "C" language or similar programming language. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer, or entirely on the remote computer or computer device. In the case of a remote computer, the remote computer may be connected to the user's computer through any kind of network, including a local area network (LAN) or wide area network (WAN), or may be connected to an external computer (eg, through the Internet using an Internet service provider) connect).
注意,上述仅为本发明的较佳实施例及所运用技术原理。本领域技术人员会理解,本发明不限于这里所述的特定实施例,对本领域技术人员来说能够进行各种明显的变化、重新调整和替代而不会脱离本发明的保护范围。因此,虽然通过以上实施例对本发明进行了较为详细的说明,但是本发明不仅仅限于以上实施例,在不脱离本发明构思的情况下,还可以包括更多其他等效实施例,而本发明的范围由所附的权利要求范围决定。Note that the above are only preferred embodiments of the present invention and applied technical principles. Those skilled in the art will understand that the present invention is not limited to the specific embodiments described herein, and various obvious changes, readjustments and substitutions can be made by those skilled in the art without departing from the protection scope of the present invention. Therefore, although the present invention has been described in detail through the above embodiments, the present invention is not limited to the above embodiments, and can also include more other equivalent embodiments without departing from the concept of the present invention. The scope is determined by the scope of the appended claims.
Claims (16)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011056106.5A CN114333766A (en) | 2020-09-29 | 2020-09-29 | Voice performance testing method, device, system, equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011056106.5A CN114333766A (en) | 2020-09-29 | 2020-09-29 | Voice performance testing method, device, system, equipment and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN114333766A true CN114333766A (en) | 2022-04-12 |
Family
ID=81010608
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202011056106.5A Pending CN114333766A (en) | 2020-09-29 | 2020-09-29 | Voice performance testing method, device, system, equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114333766A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115412185A (en) * | 2022-08-23 | 2022-11-29 | 太仓市同维电子有限公司 | A wireless performance automatic test system and test method, electronic equipment, server |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109597996A (en) * | 2018-12-07 | 2019-04-09 | 深圳创维数字技术有限公司 | A kind of semanteme analytic method, device, equipment and medium |
CN111696523A (en) * | 2019-03-12 | 2020-09-22 | 大众问问(北京)信息科技有限公司 | Accuracy testing method and device of voice recognition engine and electronic equipment |
-
2020
- 2020-09-29 CN CN202011056106.5A patent/CN114333766A/en active Pending
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109597996A (en) * | 2018-12-07 | 2019-04-09 | 深圳创维数字技术有限公司 | A kind of semanteme analytic method, device, equipment and medium |
CN111696523A (en) * | 2019-03-12 | 2020-09-22 | 大众问问(北京)信息科技有限公司 | Accuracy testing method and device of voice recognition engine and electronic equipment |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115412185A (en) * | 2022-08-23 | 2022-11-29 | 太仓市同维电子有限公司 | A wireless performance automatic test system and test method, electronic equipment, server |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11868680B2 (en) | Electronic device and method for generating short cut of quick command | |
US11561972B2 (en) | Query conversion for querying disparate data sources | |
US20170230318A1 (en) | Return to sender | |
CN111552633A (en) | Interface abnormal call testing method and device, computer equipment and storage medium | |
CN112882953B (en) | Automatic demonstration method and system of application program based on android debug bridge | |
JP2010501914A (en) | Email form engine for mobile devices | |
CN112732386A (en) | Message processing method, device, terminal and storage medium | |
CN111507698A (en) | Processing method and device for transferring accounts, computing equipment and medium | |
JP2022050309A (en) | Information processing method, device, system, electronic device, storage medium, and computer program | |
CN115794437B (en) | Microservice calling method, device, computer equipment and storage medium | |
CN109036398A (en) | Voice interactive method, device, equipment and storage medium | |
CN111241043A (en) | Multimedia file sharing method, terminal and storage medium | |
CN112416455B (en) | Data processing method, device, terminal and storage medium | |
CN117540805A (en) | Data processing methods, devices, electronic equipment and storage media | |
CN116974929A (en) | Automatic test tool construction method, automatic test method and related equipment thereof | |
CN114401337B (en) | Data sharing method, device, equipment and storage medium based on cloud phone | |
CN111782382A (en) | Task processing method and device, storage medium and electronic equipment | |
CN114333766A (en) | Voice performance testing method, device, system, equipment and storage medium | |
CN110334004A (en) | Method and device for constructing test data, electronic equipment and storage medium | |
CN110489326B (en) | IDS-based HTTPAPI debugging method device, medium and equipment | |
CN117950773A (en) | Popup management method, popup management system, electronic equipment, storage medium and vehicle | |
CN109144864B (en) | Method and device for testing window | |
CN116112457A (en) | Method, device, computer equipment and storage medium for message notification | |
CN114741636A (en) | Page jump method, device, equipment and storage medium | |
CN113421565A (en) | Search method, search device, electronic 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 |