WO2021146858A1 - 语音控制方法、装置、测试系统以及存储介质 - Google Patents

语音控制方法、装置、测试系统以及存储介质 Download PDF

Info

Publication number
WO2021146858A1
WO2021146858A1 PCT/CN2020/073299 CN2020073299W WO2021146858A1 WO 2021146858 A1 WO2021146858 A1 WO 2021146858A1 CN 2020073299 W CN2020073299 W CN 2020073299W WO 2021146858 A1 WO2021146858 A1 WO 2021146858A1
Authority
WO
WIPO (PCT)
Prior art keywords
voice
keywords
control method
instruction
voice control
Prior art date
Application number
PCT/CN2020/073299
Other languages
English (en)
French (fr)
Inventor
师咪
赵志勇
王太诚
Original Assignee
鸿富锦精密工业(武汉)有限公司
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by 鸿富锦精密工业(武汉)有限公司 filed Critical 鸿富锦精密工业(武汉)有限公司
Priority to PCT/CN2020/073299 priority Critical patent/WO2021146858A1/zh
Priority to CN202080002342.0A priority patent/CN113498537A/zh
Priority to US17/033,840 priority patent/US20210225373A1/en
Publication of WO2021146858A1 publication Critical patent/WO2021146858A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
    • G10L15/00Speech recognition
    • G10L15/22Procedures used during a speech recognition process, e.g. man-machine dialogue
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/26Functional testing
    • G06F11/273Tester hardware, i.e. output processing circuits
    • G06F11/2733Test interface between tester and unit under test
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/16Sound input; Sound output
    • G06F3/167Audio in a user interface, e.g. using voice commands for navigating, audio feedback
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
    • G10L15/00Speech recognition
    • G10L15/08Speech classification or search
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
    • G10L15/00Speech recognition
    • G10L15/08Speech classification or search
    • G10L2015/088Word spotting
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
    • G10L15/00Speech recognition
    • G10L15/22Procedures used during a speech recognition process, e.g. man-machine dialogue
    • G10L2015/223Execution procedure of a spoken command

Definitions

  • This application relates to the field of testing technology, and in particular to a voice control method, device, testing system, and storage medium that can improve testing efficiency.
  • test equipment Electronic devices, such as mobile phones, usually need to use test equipment to test their functions during the manufacturing process.
  • testers generally operate the test equipment manually. When their hands are occupied, they can find points, solder the ground wire, and use probes to test their functions.
  • pre-test work such as the point contact leading to the signal, multiple test operations cannot be performed, so the test efficiency is low.
  • An embodiment of the present application provides a voice control method for controlling test equipment, including:
  • the control instruction is sent to the test device, and the test device is controlled to perform a corresponding operation according to the voice instruction.
  • the step of parsing the voice command includes:
  • the database pre-stores the keywords of the voice command
  • the control instruction is generated according to the sentence.
  • the database prestores the number corresponding to the keyword, and the combination of the keywords includes:
  • combining the keywords includes:
  • the keywords are combined according to the order in which the keywords are acquired.
  • the method further includes:
  • the method before the step of acquiring the voice instruction, the method further includes:
  • the method further includes:
  • the database also prestores feedback words corresponding to the keywords.
  • An embodiment of the present application provides a voice control device, including:
  • Microphone used to obtain voice commands
  • the processor is used to execute the above voice control method.
  • test system including:
  • the voice control device is used to control the test equipment, and the voice control device includes:
  • the processor is used to execute the above voice control method.
  • An embodiment of the present application provides a storage medium on which at least one computer instruction is stored, and the computer instruction is loaded by a processor and used to execute the above-mentioned voice control method.
  • the embodiment of the present application obtains voice instructions; parses the voice instructions, and generates control instructions according to the voice instructions; and sends the control instructions to the testing device, and controls the testing device to execute corresponding commands according to the voice instructions. Operation, the user does not need to manually operate the test equipment, therefore, a single person can perform the test preliminary work and test operations at the same time, thereby improving the test efficiency.
  • Fig. 1 is a schematic diagram of a test system according to an embodiment of the present application.
  • Fig. 2 is a functional block diagram of a voice control device according to an embodiment of the present application.
  • Fig. 3 is a functional block diagram of a voice control system according to an embodiment of the present application.
  • Fig. 4 is a flowchart of a voice control method according to an embodiment of the present application.
  • Fig. 5 is a flowchart according to an embodiment of step S53 in the voice control method described in Fig. 4 of the present application.
  • FIG. 1 is a schematic diagram of a preferred embodiment of the test system of the present invention.
  • the test system 3 includes a test equipment 2 and a voice control device 1.
  • the voice control device 1 is used to obtain voice instructions, parse the voice instructions, generate control instructions according to the voice instructions, and send the control instructions to
  • the testing equipment 2 controls the testing equipment 2 to perform corresponding operations according to the voice instructions to test the device 4 to be tested.
  • FIG. 2 is a schematic diagram of a preferred embodiment of the voice control system of the present invention.
  • the voice control device 1 includes a memory 10, a processor 20, a voice control system 100 stored in the memory 10 and running on the processor 20, a microphone 40, a D/A converter 50, and a speaker 60,
  • the voice control system 100 is preferably a computer program.
  • the steps in the embodiment of the voice control method can be implemented, for example, steps S50 to S55 shown in FIG. 4.
  • the processor 20 executes the computer program, the functions of the modules in the embodiment of the voice control system 100 (shown in FIG. 3) are implemented, for example, the modules 101 to 106 in FIG. 3.
  • the voice control system 100 may be divided into one or more modules/units, and the one or more modules/units are stored in the memory 10 and executed by the processor 20 to complete the present invention.
  • the one or more modules/units may be a series of computer program instruction segments capable of completing specific functions, and the instruction segments are used to describe the execution process of the voice control system 100 in the voice control device 1.
  • the voice control system 100 can be divided into the setting module 101, the acquisition module 102, the playback module 103, the analysis module 104, the control module 105, and the feedback module 106 in FIG. 3.
  • For specific functions of each module refer to the functions of each module in the embodiment of the voice control system 100.
  • the voice control device 1 can communicate with the test device 2 in a wired or wireless manner, so that the voice control function of the test device 2 can be realized.
  • the schematic diagram is only an example of the voice control device 1 and does not constitute a limitation on the voice control device 1. It may include more or less components than those shown in the figure, or combine certain components, or Different components, for example, the voice control device 1 may also include a network access device (not shown in the figure), a communication bus (not shown in the figure), and so on.
  • the test device 2 is preferably a computer.
  • the device 4 to be tested is preferably a mobile phone.
  • the voice control device 1 controls the test equipment 2 to perform a test function on the device to be tested 4 based on voice recognition.
  • the so-called processor 20 may be a central processing unit (Central Processing Unit, CPU), other general-purpose processors, digital signal processors (Digital Signal Processor, DSP), application specific integrated circuits (Application Specific Integrated Circuit, ASIC), Ready-made programmable gate array (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, etc.
  • the general-purpose processor may be a microprocessor, or the processor 20 may also be any conventional processor, etc.
  • the processor 20 may use various interfaces and lines to connect to other parts of the voice control device 100.
  • the memory 10 may be used to store the voice control system 100 and/or modules/units, and the processor 20 may run or execute the voice control system 100 and/or modules/units stored in the memory 10, and call The data stored in the memory 10 implements various functions of the voice control device 100.
  • the memory 10 may include a high-speed random access memory, and may also include a non-volatile memory, such as a hard disk, a memory, a plug-in hard disk, a Smart Media Card (SMC), and a Secure Digital (SD) Card, Flash Card, at least one magnetic disk storage device, flash memory device, or other volatile solid-state storage device.
  • a non-volatile memory such as a hard disk, a memory, a plug-in hard disk, a Smart Media Card (SMC), and a Secure Digital (SD) Card, Flash Card, at least one magnetic disk storage device, flash memory device, or other volatile solid-state storage device.
  • Fig. 3 is a functional module diagram of a preferred embodiment of the voice control system of the present invention.
  • the voice control system 100 may include a setting module 101, an acquisition module 102, a playback module 103, an analysis module 104, a control module 105, and a feedback module 106. It can be understood that, in other implementation manners, the above-mentioned modules may also be program instructions or firmware solidified in the processor 20.
  • the setting module 101 is configured to set parameters for the speaker 60 to play a voice command, and the parameters include whether to start playing the voice command and a playback volume.
  • the acquiring module 102 is used to acquire voice instructions.
  • the playing module 103 is configured to play the voice command according to the parameter.
  • the parsing module 104 is used for parsing the voice command, and generating control commands according to the voice command.
  • the control module 105 is configured to send the control instruction to the test device 2 and control the test device 2 to perform corresponding operations according to the voice instruction.
  • the feedback module 106 is configured to obtain the feedback language according to the sending state of the control instruction, and to play the feedback language. The user can know the voice control status of the test equipment 2 by the voice control device 1 in time through the feedback language.
  • Fig. 4 is a flowchart of a voice control method in an embodiment of the present invention. According to different needs, the order of the steps in the flowchart can be changed, and some steps can be omitted.
  • step S50 the setting module 101 sets parameters for the speaker 60 to play voice instructions.
  • the parameters include whether to start playing the voice command and playing volume.
  • Step S51 the acquiring module 102 acquires a voice instruction.
  • the microphone 40 collects the user’s voice information, and converts the voice information from an analog signal to a digital signal through the D/A converter 50 to generate a voice command.
  • the acquisition module 102 receives The D/A converter 50 obtains the voice command.
  • Step S52 the playing module 103 plays the voice command.
  • step S52 is executed. If the voice command is set to not be played in step S50, then step S52 and step S51 can be omitted, and step S53 is directly entered. .
  • Step S53 The parsing module 104 parses the voice command, and generates a control command according to the voice command.
  • the step of parsing the voice command includes:
  • a database is established, and the keyword of the voice command is pre-stored in the database.
  • the pre-stored keywords include instructions related to the test.
  • the pre-stored keywords may include, turn on the computer, open a command prompt (CMD), confirm, repeat the test, and quickly obtain values.
  • CMD command prompt
  • step S532 the parsing module 104 extracts the keyword contained in the voice instruction.
  • the voice command is compared with the keyword, and when the voice command does not exist and is consistent with the keyword, the voice command is deleted; when the voice command exists and is consistent with the keyword, the voice command is deleted; When the keywords are consistent, the keywords are stored. It can be understood that the voice instruction may include multiple keywords.
  • step S533 the parsing module 104 combines the keywords to generate a sentence.
  • the number corresponding to the keyword is pre-stored in the database, and the keywords are combined according to the sequence of the number.
  • the pre-stored keywords may include, 001 opens the computer, 002 opens the command prompt (CMD), 003 confirms, 004 repeats the test, 005 quickly takes the value, and so on.
  • the voice command may include multiple keywords.
  • the multiple keywords include, 001 opens the computer, 002 opens the command prompt, and 003 confirms. Combining the keywords according to the order in which the keywords are obtained to generate a sentence corresponds to: Turn on the computer and open a command prompt for confirmation.
  • the parsing module 104 also combines the keywords to generate a sentence according to the order in which the acquiring module 102 acquires the keywords.
  • the order in which the acquiring module 102 acquires the keywords is to turn on the computer, open the command prompt, and confirm, that is, if the user issues the voice commands in the above order, the order in which the keywords are acquired will be checked.
  • the combination of the keywords to generate a sentence corresponds to turning on the computer and opening a command prompt for confirmation.
  • step S534 the parsing module 104 generates the control instruction according to the sentence.
  • step S54 the control module 105 sends the control instruction to the test device 2, and controls the test device 2 to perform corresponding operations according to the voice instruction, so as to test the device 4 under test.
  • the database also prestores the feedback words corresponding to the keywords, and the feedback words include the first condition or the second condition.
  • the first condition corresponding to the keyword open calculator is to open the calculator immediately
  • the second condition is failure to open the calculator
  • the first condition corresponding to the keyword opening CMD is to open CMD immediately
  • the second condition is failure to open CMD.
  • step S55 the feedback module 106 obtains the feedback language according to the sending state of the control instruction, and plays the feedback language.
  • the user can know the voice control status of the test equipment 2 by the voice control device 1 in time through the feedback language.
  • the above-mentioned voice control device, method, and computer-readable storage medium obtain voice instructions; parse the voice instructions to generate control instructions according to the voice instructions; and send the control instructions to the testing equipment to control the testing equipment
  • the corresponding operation is performed according to the voice instruction, and the user does not need to manually operate the test equipment. Therefore, a single person can perform the test preliminary work and the test operation at the same time, thereby improving the test efficiency.

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Human Computer Interaction (AREA)
  • Multimedia (AREA)
  • General Engineering & Computer Science (AREA)
  • Computational Linguistics (AREA)
  • Acoustics & Sound (AREA)
  • General Physics & Mathematics (AREA)
  • Quality & Reliability (AREA)
  • Computer Hardware Design (AREA)
  • General Health & Medical Sciences (AREA)
  • Telephone Function (AREA)
  • Test And Diagnosis Of Digital Computers (AREA)

Abstract

本发明提供一种语音控制方法、装置、测试系统以及存储介质,所述方法包括:获取语音指令;解析所述语音指令,根据所述语音指令产生控制指令;以及发送所述控制指令至测试设备,控制所述测试设备根据所述语音指令执行对应的操作。根据本申请提供的语音控制方法、装置、系统以及存储介质,可提高测试效率。

Description

语音控制方法、装置、测试系统以及存储介质 技术领域
本申请涉及测试技术领域,尤其涉及一种可提高测试效率的语音控制方法、装置、测试系统以及存储介质。
背景技术
电子装置,例如手机在制造过程中,通常需要利用测试设备对其功能进行测试,目前,测试人员一般通过手动操作测试设备,当双手被占用进行找点、焊接地线、用探棒与被测点接触将信号引出等测试前期工作时,便无法进行多个测试操作,因此,测试效率较低。
发明内容
有鉴于此,有必要提供一种语音控制方法、装置、测试系统以及存储介质,可提高测试效率。
本申请一实施方式提供一种语音控制方法,用于控制测试设备,包括:
获取语音指令;
解析所述语音指令,根据所述语音指令产生控制指令;以及
发送所述控制指令至所述测试设备,控制所述测试设备根据所述语音指令执行对应的操作。
根据本申请的一些实施方式,解析所述语音指令的步骤包括:
建立数据库,所述数据库预存语音指令的关键字;
提取所述语音指令中包含的关键字;
将所述关键字进行组合生成语句;以及
根据所述语句生成所述控制指令。
根据本申请的一些实施方式,所述数据库预存所述关键字对应的 编号,将所述关键字进行组合包括:
根据所述编号的顺序对所述关键字进行组合。
根据本申请的一些实施方式,将所述关键字进行组合包括:
根据获取所述关键字的顺序对所述关键字进行组合。
根据本申请的一些实施方式,在获取语音指令步骤之后,所述方法还包括:
播放所述语音指令。
根据本申请的一些实施方式,在获取语音指令步骤之前,所述方法还包括:
设置播放所述语音指令的参数。
根据本申请的一些实施方式,在控制所述测试设备根据所述语音指令执行对应的操作步骤之后,所述方法还包括:
所述数据库还预存与所述关键字对应的反馈语;以及
获取并播放所述反馈语。
本申请一实施方式提供一种语音控制装置,包括:
麦克风,用于获取语音指令;
扬声器,用于播放所述语音指令;
处理器,用于执行上述的语音控制方法。
本申请一实施方式提供一种测试系统,包括:
测试设备;以及
语音控制装置,用于控制所述测试设备,所述语音控制装置包括:
麦克风;
扬声器;
处理器,用于执行上述的语音控制方法。
本申请一实施方式提供一种存储介质,其上存储有至少一条计算机指令,所述计算机指令由处理器加载并用于用于执行上述的语音控制方法。
本申请的实施方式通过获取语音指令;解析所述语音指令,根据所述语音指令产生控制指令;以及发送所述控制指令至所述测试设备,控制所述测试设备根据所述语音指令执行对应的操作,用户无需手动操作测试设备,因此,可现实单人同时进行测试前期工作及测试操作,从而提高测试效率。
附图说明
图1是根据本申请一实施方式的测试系统的示意图。
图2是根据本申请一实施方式的语音控制装置的功能模块图。
图3是根据本申请一实施方式的语音控制系统的功能模块图。
图4是根据本申请一实施方式的语音控制方法的流程图。
图5是根据本申请图4中所述语音控制方法中步骤S53的一实施方式的流程图。
主要元件符号说明
待测试装置           4
测试系统             3
测试设备             2
语音控制装置         1
存储器               10
处理器               20
计算机程序           30
麦克风               40
D/A转换器            50
扬声器               60
语音控制系统         100
设置模块             101
获取模块             102
播放模块             103
解析模块    104
控制模块    105
反馈模块    106
如下具体实施方式将结合上述附图进一步详细说明本申请。
具体实施方式
下面将结合本申请实施方式中的附图,对本申请实施方式中的技术方案进行清楚、完整地描述,显然,所描述的实施方式是本申请一部分实施方式,而不是全部的实施方式。
基于本申请中的实施方式,本领域普通技术人员在没有付出创造性劳动前提下所获得的所有其他实施方式,都是属于本申请保护的范围。
请参阅图1,为本发明测试系统较佳实施例的示意图。
所述测试系统3包括测试设备2及语音控制装置1,所述语音控制装置1用于获取语音指令,并解析所述语音指令,根据所述语音指令产生控制指令,以及发送所述控制指令至所述测试设备2,控制所述测试设备2根据所述语音指令执行对应的操作,以对待测试装置4进行测试。
请参阅图2,为本发明语音控制系统较佳实施例的示意图。
所述语音控制装置1包括存储器10、处理器20、存储在所述存储器10中并可在所述处理器20上运行的语音控制系统100、麦克风40、D/A转换器50以及扬声器60,所述语音控制系统100优选为计算机程序。所述处理器20执行所述计算机程序时可以实现语音控制方法实施例中的步骤,例如图4所示的步骤S50~S55。或者,所述处理器20执行所述计算机程序时实现语音控制系统100(图3所示)实施例中各模块的功能,例如图3中的模块101~106。
所述语音控制系统100可以被分割成一个或多个模块/单元,所述一个或者多个模块/单元被存储在所述存储器10中,并由所述处理器 20执行,以完成本发明。所述一个或多个模块/单元可以是能够完成特定功能的一系列计算机程序指令段,所述指令段用于描述所述语音控制系统100在所述语音控制装置1中的执行过程。例如,所述语音控制系统100可以被分割成图3中的设置模块101、获取模块102、播放模块103、解析模块104、控制模块105以及反馈模块106。各模块具体功能参见语音控制系统100实施例中各模块的功能。
所述语音控制装置1可以通过有线或者无线方式与测试设备2进行通信,从而可以实现对所述测试设备2的语音控制功能。本领域技术人员可以理解,所述示意图仅是语音控制装置1的示例,并不构成对语音控制装置1的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件,例如,所述语音控制装置1还可以包括网络接入设备(图未示)、通信总线(图未示)等。
所述测试设备2优选为计算机。所述待测试装置4优选为手机。所述语音控制装置1基于语音识别控制所述测试设备2对所述待测试装置4进行测试功能。
所称处理器20可以是中央处理单元(Central Processing Unit,CPU),还可以是其他通用处理器、数字信号处理器(Digital Signal Processor,DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)、现成可编程门阵列(Field-Programmable Gate Array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。通用处理器可以是微处理器或者所述处理器20也可以是任何常规的处理器等,所述处理器20可以利用各种接口和线路连接所述语音控制装置100的其他各个部分。
所述存储器10可用于存储所述语音控制系统100和/或模块/单元,所述处理器20通过运行或执行存储在所述存储器10内的语音控制系统100和/或模块/单元,以及调用存储在存储器10内的数据,实现所述语音控制装置100的各种功能。所述存储器10可以包括高速随机存取存储器,还可以包括非易失性存储器,例如硬盘、内存、插接式硬盘,智能存储卡(Smart Media Card,SMC),安全数字(Secure  Digital,SD)卡,闪存卡(Flash Card)、至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。
图3为本发明语音控制系统较佳实施例的功能模块图。
参阅图3所示,所述语音控制系统100可以包括设置模块101、获取模块102、播放模块103、解析模块104、控制模块105以及反馈模块106。可以理解,在其他实施方式中,上述模块也可为固化于所述处理器20中的程序指令或固件(firmware)。
所述设置模块101,用于设置所述扬声器60播放语音指令的参数,所述参数包括是否开启播放所述语音指令及播放音量。所述获取模块102,用于获取语音指令。所述播放模块103用于根据所述参数播放所述语音指令。所述解析模块104,用于解析所述语音指令,根据所述语音指令产生控制指令。所述控制模块105,用于发送所述控制指令至所述测试设备2,控制所述测试设备2根据所述语音指令执行对应的操作。所述反馈模块106,用于根据所述控制指令发送状态获取所述反馈语,并所述播放反馈语。用户通过所述反馈语可以及时了解所述语音控制装置1对所述测试设备2的语音控制的状态。
图4为本发明一实施方式中语音控制方法的流程图。根据不同的需求,所述流程图中步骤的顺序可以改变,某些步骤可以省略。
步骤S50,所述设置模块101设置所述扬声器60播放语音指令的参数。在本较佳实施例中,所述参数包括是否开启播放所述语音指令及播放音量。
步骤S51,所述获取模块102获取语音指令。
在本较佳实施例,所述麦克风40采集用户的声音信息,并通过所述D/A转换器50将声音信息由模拟信号转换为数字信号,生成语音指令,所述获取模块102从所述D/A转换器50获取所述语音指令。
步骤S52,所述播放模块103播放所述语音指令。
可以理解,如果步骤S50中设置开启播放所述语音指令,则执行所述步骤S52,如果步骤S50中设置不开启播放所述语音指令,则所述步骤S52及步骤S51可省略,直接进入步骤S53。
步骤S53,所述解析模块104解析所述语音指令,根据所述语音指令产生控制指令。
请一并参阅图5,所述解析所述语音指令的步骤包括:
步骤S531,建立数据库,所述数据库预存语音指令的关键字。所述预存关键字包括与测试相关的指令,例如,所述预存关键字可包括,打开计算机,打开命令提示符(CMD),确认,重复测试,快速取值等。
步骤S532,所述解析模块104提取所述语音指令中包含的所述关键字。
在本较佳实施例,将所述语音指令与所述关键字进行比对,当所述语音指令不存在与所述关键字一致时,则删除所述语音指令;当所述语音指令存在与所述关键字一致时,则存储所述关键字。可以理解,所述语音指令可包括多个关键字。
步骤S533,所述解析模块104将所述关键字进行组合生成语句。
在本较佳实施例,所述数据库预存所述关键字对应的编号,根据所述编号的顺序对所述关键字进行组合。例如,所述预存关键字可包括,001打开计算机,002打开命令提示符(CMD),003确认,004重复测试,005快速取值等。所述语音指令可包括多个关键字,例如,所述多个关键字包括,001打开计算机,002打开命令提示符,003确认。根据获取所述关键字的顺序对所述关键字进行组合生成语句对应为,打开计算机打开命令提示符确认。
可以理解,所述解析模块104也根据所述获取模块102获取所述关键字的顺序对所述关键字进行组合生成语句。例如,所述获取模块102获取所述关键字的顺序为,打开计算机,打开命令提示符以及确认,也就是说,用户按照上述顺序发出所述语音指令,则根据获取所述关键字的顺序对所述关键字进行组合生成语句对应为,打开计算机打开命令提示符确认。
步骤S534,所述解析模块104根据所述语句生成所述控制指令。
步骤S54,所述控制模块105发送所述控制指令至所述测试设备2,控制所述测试设备2根据所述语音指令执行对应的操作,以对待测 试装置4进行测试。
可以理解,所述数据库还预存与所述关键字对应的反馈语,所述反馈语包括第一状况或者第二状况,例如,所述关键词打开计算器对应的第一状况为马上打开计算器,第二状况为打开计算器失败,所述关键词打开CMD对应的第一状况为马上打开CMD,第二状况为打开CMD失败。在步骤54之后,所述语音识别方法还包括:
步骤S55,所述反馈模块106根据所述控制指令发送状态获取所述反馈语,并所述播放反馈语。用户通过所述反馈语可以及时了解所述语音控制装置1对所述测试设备2的语音控制的状态。
上述语音控制装置、方法及计算机可读存储介质,通过获取语音指令;解析所述语音指令,根据所述语音指令产生控制指令;以及发送所述控制指令至所述测试设备,控制所述测试设备根据所述语音指令执行对应的操作,用户无需手动操作测试设备,因此,可现实单人同时进行测试前期工作及测试操作,从而提高测试效率。
对本领域的技术人员来说,可以根据本发明的发明方案和发明构思结合生产的实际需要做出其他相应的改变或调整,而这些改变和调整都应属于本发明所公开的范围。

Claims (10)

  1. 一种语音控制方法,用于控制测试设备,其特征在于,包括:
    获取语音指令;
    解析所述语音指令,根据所述语音指令产生控制指令;以及
    发送所述控制指令至所述测试设备,控制所述测试设备根据所述语音指令执行对应的操作。
  2. 如权利要求1所述的语音控制方法,其特征在于,解析所述语音指令的步骤包括:
    建立数据库,所述数据库预存语音指令的关键字;
    提取所述语音指令中包含的关键字;
    将所述关键字进行组合生成语句;以及
    根据所述语句生成所述控制指令。
  3. 如权利要求2所述的语音控制方法,其特征在于,所述数据库预存所述关键字对应的编号,将所述关键字进行组合包括:
    根据所述编号的顺序对所述关键字进行组合。
  4. 如权利要求2所述的语音控制方法,其特征在于,将所述关键字进行组合包括:
    根据获取所述关键字的顺序对所述关键字进行组合。
  5. 如权利要求1所述的语音控制方法,其特征在于,在获取语音指令步骤之后,所述方法还包括:
    播放所述语音指令。
  6. 如权利要求5所述的语音控制方法,其特征在于,在获取语音指令步骤之前,所述方法还包括:
    设置播放所述语音指令的参数。
  7. 如权利要求2所述的语音控制方法,其特征在于,在控制所述测试设备根据所述语音指令执行对应的操作步骤之后,所述方法还包括:
    所述数据库还预存与所述关键字对应的反馈语;以及
    获取并播放所述反馈语。
  8. 一种语音控制装置,其特征在于,包括:
    麦克风,用于获取语音指令;
    扬声器,用于播放所述语音指令;
    处理器,用于执行如权利要求1-7中任意一项所述的语音控制方法。
  9. 一种测试系统,其特征在于,包括:
    测试设备;以及
    语音控制装置,用于控制所述测试设备,所述语音控制装置包括:
    麦克风;
    扬声器;
    处理器,用于执行如权利要求1-7中任意一项所述的语音控制方法。
  10. 一种存储介质,其上存储有至少一条计算机指令,其特征在于,所述计算机指令由处理器加载并用于执行如权利要求1-7中任意一项所述的语音控制方法。
PCT/CN2020/073299 2020-01-20 2020-01-20 语音控制方法、装置、测试系统以及存储介质 WO2021146858A1 (zh)

Priority Applications (3)

Application Number Priority Date Filing Date Title
PCT/CN2020/073299 WO2021146858A1 (zh) 2020-01-20 2020-01-20 语音控制方法、装置、测试系统以及存储介质
CN202080002342.0A CN113498537A (zh) 2020-01-20 2020-01-20 语音控制方法、装置、测试系统以及存储介质
US17/033,840 US20210225373A1 (en) 2020-01-20 2020-09-27 Voice control method, device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2020/073299 WO2021146858A1 (zh) 2020-01-20 2020-01-20 语音控制方法、装置、测试系统以及存储介质

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US17/033,840 Continuation-In-Part US20210225373A1 (en) 2020-01-20 2020-09-27 Voice control method, device and storage medium

Publications (1)

Publication Number Publication Date
WO2021146858A1 true WO2021146858A1 (zh) 2021-07-29

Family

ID=76857143

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/073299 WO2021146858A1 (zh) 2020-01-20 2020-01-20 语音控制方法、装置、测试系统以及存储介质

Country Status (3)

Country Link
US (1) US20210225373A1 (zh)
CN (1) CN113498537A (zh)
WO (1) WO2021146858A1 (zh)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6895380B2 (en) * 2000-03-02 2005-05-17 Electro Standards Laboratories Voice actuation with contextual learning for intelligent machine control
US20140344627A1 (en) * 2013-05-16 2014-11-20 Advantest Corporation Voice recognition virtual test engineering assistant
CN106679915A (zh) * 2016-12-16 2017-05-17 南京航空航天大学 一种基于智能语音控制的振动测试实验方法及系统
CN108320747A (zh) * 2018-02-08 2018-07-24 广东美的厨房电器制造有限公司 家电设备控制方法、设备、终端及计算机可读存储介质
CN209882166U (zh) * 2019-04-03 2019-12-31 深圳市视景达科技有限公司 语音控制led灯条测试仪

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6895380B2 (en) * 2000-03-02 2005-05-17 Electro Standards Laboratories Voice actuation with contextual learning for intelligent machine control
US20140344627A1 (en) * 2013-05-16 2014-11-20 Advantest Corporation Voice recognition virtual test engineering assistant
CN106679915A (zh) * 2016-12-16 2017-05-17 南京航空航天大学 一种基于智能语音控制的振动测试实验方法及系统
CN108320747A (zh) * 2018-02-08 2018-07-24 广东美的厨房电器制造有限公司 家电设备控制方法、设备、终端及计算机可读存储介质
CN209882166U (zh) * 2019-04-03 2019-12-31 深圳市视景达科技有限公司 语音控制led灯条测试仪

Also Published As

Publication number Publication date
US20210225373A1 (en) 2021-07-22
CN113498537A (zh) 2021-10-12

Similar Documents

Publication Publication Date Title
US10720158B2 (en) Low power detection of a voice control activation phrase
CN104335559B (zh) 一种自动调节音量的方法、音量调节装置及电子设备
US9721563B2 (en) Name recognition system
US7689417B2 (en) Method, system and apparatus for improved voice recognition
US20100324899A1 (en) Voice recognition system, voice recognition method, and voice recognition processing program
JP6731581B2 (ja) 音声認識システム、音声認識装置、音声認識方法、および制御プログラム
US20180285068A1 (en) Processing method of audio control and electronic device thereof
CN111182390B (zh) 音量数据处理方法、装置、计算机设备及存储介质
WO2019228135A1 (zh) 匹配阈值的调整方法、装置、存储介质及电子设备
CN109498030B (zh) 一种自由声场听力测试系统以及方法
CN111261195A (zh) 音频测试方法、装置、存储介质及电子设备
WO2022142610A1 (zh) 一种语音记录方法、装置、计算机设备及可读存储介质
WO2019047861A1 (zh) 多媒体文件的获取及播放方法以及装置
CN106648531B (zh) 一种基于移动终端的不同音频参数的自动匹配方法及系统
US20200312305A1 (en) Performing speaker change detection and speaker recognition on a trigger phrase
WO2021146858A1 (zh) 语音控制方法、装置、测试系统以及存储介质
CN107977187B (zh) 一种混响调节方法及电子设备
CN112019988B (zh) 测试音频设备的方法、装置、测试治具、设备和存储介质
US20200065057A1 (en) Audio adjusting device, computer-readable non-transitory storage medium storing control program, electronic apparatus, and method for controlling audio adjusting device
CN111148007B (zh) 一种音质调节方法、无线发射设备、音质调节系统及介质
CN113157240A (zh) 语音处理方法、装置、设备、存储介质及计算机程序产品
CN107369085A (zh) 一种信息输出方法、装置及终端设备
JP2015087649A (ja) 発話制御装置、方法、発話システム、プログラム、及び発話装置
CN111369992A (zh) 指令执行方法、装置、存储介质及电子设备
WO2020044037A1 (en) Speech recognition

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 20916100

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20916100

Country of ref document: EP

Kind code of ref document: A1