CN111785268A - Method and device for testing voice interaction response speed and electronic equipment - Google Patents

Method and device for testing voice interaction response speed and electronic equipment Download PDF

Info

Publication number
CN111785268A
CN111785268A CN202010621323.8A CN202010621323A CN111785268A CN 111785268 A CN111785268 A CN 111785268A CN 202010621323 A CN202010621323 A CN 202010621323A CN 111785268 A CN111785268 A CN 111785268A
Authority
CN
China
Prior art keywords
voice
voice interaction
time
response speed
interaction
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
Application number
CN202010621323.8A
Other languages
Chinese (zh)
Inventor
陈孝良
张琪
冯大航
常乐
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing SoundAI Technology Co Ltd
Original Assignee
Beijing SoundAI Technology Co Ltd
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 Beijing SoundAI Technology Co Ltd filed Critical Beijing SoundAI Technology Co Ltd
Priority to CN202010621323.8A priority Critical patent/CN111785268A/en
Publication of CN111785268A publication Critical patent/CN111785268A/en
Pending legal-status Critical Current

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
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
    • G10L25/00Speech or voice analysis techniques not restricted to a single one of groups G10L15/00 - G10L21/00
    • G10L25/48Speech or voice analysis techniques not restricted to a single one of groups G10L15/00 - G10L21/00 specially adapted for particular use
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
    • G10L25/00Speech or voice analysis techniques not restricted to a single one of groups G10L15/00 - G10L21/00
    • G10L25/78Detection of presence or absence of voice signals

Landscapes

  • Engineering & Computer Science (AREA)
  • Computational Linguistics (AREA)
  • Health & Medical Sciences (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • Acoustics & Sound (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The embodiment of the disclosure discloses a method and a device for testing voice interaction response speed, electronic equipment and a computer readable storage medium. The method for testing the voice interaction response speed comprises the following steps: acquiring a voice test set; triggering voice interaction according to the voice test set; acquiring the starting time of the voice interaction and the ending time of the voice interaction; and calculating the voice interaction response speed according to the starting time and the ending time. The method obtains the voice interaction response speed by obtaining the start time and the end time of the voice interaction, and solves the technical problem that no test scheme aiming at the response speed of the voice interaction system exists in the prior art.

Description

Method and device for testing voice interaction response speed and electronic equipment
Technical Field
The present disclosure relates to the field of testing, and in particular, to a method and an apparatus for testing a voice interaction response speed, an electronic device, and a computer-readable storage medium.
Background
As a man-machine interaction means, the voice interaction technology is significant in the aspect of liberating both hands of human beings. With the emergence of various intelligent devices, voice interaction becomes a new value of an internet entrance, and more intelligent devices are added with a voice awakening trend to become a bridge for communication between people and devices.
More and more devices are currently available for control using speech, such as typical smart phones, smart speakers, etc. Besides the intelligent terminal devices, many large-scale devices can be controlled by voice, such as elevators.
An elevator is a permanent transport device serving a number of specific floors in a building, the cars of which travel in at least two rigid tracks perpendicular to the horizontal or inclined at an angle of less than 15 ° to the vertical. The intelligent elevator voice interaction system increases the support of voice control commands on the basis that the traditional elevator is controlled by buttons, so that a person taking the elevator does not need to manually operate, and the elevator can be controlled simply by voice. The response speed of the intelligent elevator interaction system directly influences the use experience of users as an emerging thing. At present, a test scheme for the response speed of an intelligent elevator voice interaction system is lacked in the prior art.
Disclosure of Invention
This summary is provided to introduce a selection of concepts in a simplified form that are further described below in the detailed description. This summary is not intended to identify key features or essential features of the claimed subject matter, nor is it intended to be used to limit the scope of the claimed subject matter.
In order to solve the problem that a test scheme for the response speed of a voice interaction system of an intelligent elevator is lacked in the prior art, the following technical scheme is provided in the disclosure.
In a first aspect, an embodiment of the present disclosure provides a method for testing a voice interaction response speed, including:
acquiring a voice test set;
triggering voice interaction according to the voice test set;
acquiring the starting time of the voice interaction and the ending time of the voice interaction;
and calculating the voice interaction response speed according to the starting time and the ending time.
Further, before the obtaining the voice test set, the method further includes:
obtaining the type of the voice interaction to be tested, wherein the type of the voice interaction to be tested comprises at least one of voice awakening, voice recognition, voice interruption and voice synthesis.
Further, before the obtaining the voice test set, the method further includes:
receiving a collection condition of a start time of the voice interaction and a collection condition of an end time of the voice interaction, wherein the collection condition of the start time of the voice interaction and the collection condition of the end time of the voice interaction are related to the type of the voice interaction.
Further, when the type of the voice interaction is voice wakeup, acquiring conditions of start time of the voice interaction are voice wakeup instructions corresponding to voice wakeup words generated by the tested voice interaction system, and acquiring conditions of end time of the voice interaction are response signals output by the tested system aiming at the voice wakeup instructions;
when the type of the voice interaction is voice recognition, acquiring the starting time of the voice interaction as a result of the voice recognition output by the tested voice interaction system, wherein the acquiring condition of the ending time of the voice interaction is that the tested voice interaction system obtains the last voice data packet;
when the type of the voice interaction is voice interruption, the acquisition condition of the start time of the voice interaction is that a voice wake-up instruction corresponding to a voice wake-up word is generated by a tested voice interaction system when a last voice interaction instruction is not executed, and the acquisition condition of the end time of the voice interaction is that the tested system outputs a response signal aiming at the voice wake-up instruction when the last voice interaction instruction is not executed;
and when the type of the voice interaction is voice synthesis, acquiring the starting time of the voice interaction under the condition that the tested voice interaction system receives the text to be synthesized, and outputting a first voice data packet of the synthesized voice by the tested voice interaction system.
Further, the acquisition condition of the start time of the voice interaction is that the tested voice interaction system finishes receiving the voice signal, and the acquisition condition of the end time of the voice interaction is that the tested system outputs the voice response; alternatively, the first and second electrodes may be,
the acquisition condition of the start time of the voice interaction is that the tested voice interaction system finishes receiving voice signals, and the acquisition condition of the end time of the voice interaction is that the tested system outputs screen display response; alternatively, the first and second electrodes may be,
the collection condition of the start time of the voice interaction is that the tested voice interaction system finishes receiving voice signals, and the collection condition of the end time of the voice interaction is that the tested system makes hardware action response.
Further, when the tested voice interaction system is an off-line system, the voice interaction response speed is between 0 and 700 ms; when the tested voice interaction system is an online system, the voice interaction response speed is between 0 and 1500 ms.
Further, the triggering a voice interaction according to the voice test set includes:
and triggering a voice interaction process corresponding to the voice interaction type according to the voice test set.
Further, the obtaining the start time of the voice interaction and the end time of the voice interaction includes:
acquiring the time when the acquisition condition of the voice interaction starting time is triggered as the voice interaction starting time;
and acquiring the time when the acquisition condition of the voice interaction end time is triggered as the voice interaction end time.
Further, the calculating the voice interaction response speed according to the starting time and the ending time includes:
and calculating the difference value of the ending time and the starting time as the voice interaction response speed.
Further, the calculating the voice interaction response speed according to the starting time and the ending time comprises:
and calculating the difference between the ending time, the starting time and the network delay between the terminal and the service end to be used as the voice interaction response speed.
Further, the method further comprises:
and displaying the voice interaction response speed.
Further, the voice test set includes a plurality of test voices, and the method further includes:
and calculating the average value of a plurality of voice interaction response speeds obtained by the plurality of test voices to be used as the voice interaction response speed.
In a second aspect, an embodiment of the present disclosure provides a device for testing a response speed of a voice interaction, including:
the test set acquisition module is used for acquiring a voice test set;
the triggering module is used for triggering voice interaction according to the voice test set;
the time acquisition module is used for acquiring the starting time of the voice interaction and the ending time of the voice interaction;
and the speed calculating module is used for calculating the voice interaction response speed according to the starting time and the ending time.
Further, the device for testing the voice interaction response speed further includes:
the type obtaining module is used for obtaining the type of the voice interaction to be tested, wherein the type of the voice interaction to be tested comprises at least one of voice awakening, voice recognition, voice interruption and voice synthesis.
Further, the device for testing the voice interaction response speed further includes:
the condition receiving module is used for receiving the acquisition condition of the starting time of the voice interaction and the acquisition condition of the ending time of the voice interaction, wherein the acquisition condition of the starting time of the voice interaction and the acquisition condition of the ending time of the voice interaction are related to the type of the voice interaction.
Further, when the type of the voice interaction is voice wakeup, acquiring conditions of start time of the voice interaction are voice wakeup instructions corresponding to voice wakeup words generated by the tested voice interaction system, and acquiring conditions of end time of the voice interaction are response signals output by the tested system aiming at the voice wakeup instructions;
when the type of the voice interaction is voice recognition, acquiring the starting time of the voice interaction as a result of the voice recognition output by the tested voice interaction system, wherein the acquiring condition of the ending time of the voice interaction is that the tested voice interaction system obtains the last voice data packet;
when the type of the voice interaction is voice interruption, the acquisition condition of the start time of the voice interaction is that a voice wake-up instruction corresponding to a voice wake-up word is generated by a tested voice interaction system when a last voice interaction instruction is not executed, and the acquisition condition of the end time of the voice interaction is that the tested system outputs a response signal aiming at the voice wake-up instruction when the last voice interaction instruction is not executed;
and when the type of the voice interaction is voice synthesis, acquiring the starting time of the voice interaction under the condition that the tested voice interaction system receives the text to be synthesized, and outputting a first voice data packet of the synthesized voice by the tested voice interaction system.
Further, the acquisition condition of the start time of the voice interaction is that the tested voice interaction system finishes receiving the voice signal, and the acquisition condition of the end time of the voice interaction is that the tested system outputs the voice response; alternatively, the first and second electrodes may be,
the acquisition condition of the start time of the voice interaction is that the tested voice interaction system finishes receiving voice signals, and the acquisition condition of the end time of the voice interaction is that the tested system outputs screen display response; alternatively, the first and second electrodes may be,
the collection condition of the start time of the voice interaction is that the tested voice interaction system finishes receiving voice signals, and the collection condition of the end time of the voice interaction is that the tested system makes hardware action response.
Further, when the tested voice interaction system is an off-line system, the voice interaction response speed is between 0 and 700 ms; when the tested voice interaction system is an online system, the voice interaction response speed is between 0 and 1500 ms.
Further, the triggering module is further configured to: and triggering a voice interaction process corresponding to the voice interaction type according to the voice test set.
Further, the time obtaining module is further configured to:
acquiring the time when the acquisition condition of the voice interaction starting time is triggered as the voice interaction starting time;
and acquiring the time when the acquisition condition of the voice interaction end time is triggered as the voice interaction end time.
Further, the speed calculation module is further configured to:
and calculating the difference value of the ending time and the starting time as the voice interaction response speed.
Further, the speed calculation module is further configured to:
and calculating the difference between the ending time, the starting time and the network delay between the terminal and the service end to be used as the voice interaction response speed.
Further, the device for testing the voice interaction response speed further includes:
and the display module is used for displaying the voice interaction response speed.
Further, the voice test set includes a plurality of test voices, and the apparatus 400 for testing the voice interaction response speed further includes:
and the average calculating module is used for calculating the average value of a plurality of voice interaction response speeds obtained through the plurality of test voices to serve as the voice interaction response speed.
In a third aspect, an embodiment of the present disclosure provides an electronic device, including: at least one processor; and the number of the first and second groups,
a memory communicatively coupled to the at least one processor; wherein the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method of any one of the preceding first aspects.
In a fourth aspect, the present disclosure provides a non-transitory computer-readable storage medium, wherein the non-transitory computer-readable storage medium stores computer instructions for causing a computer to execute the method of any one of the foregoing first aspects.
The embodiment of the disclosure discloses a method and a device for testing voice interaction response speed, electronic equipment and a computer readable storage medium. The method for testing the voice interaction response speed comprises the following steps: acquiring a voice test set; triggering voice interaction according to the voice test set; acquiring the starting time of the voice interaction and the ending time of the voice interaction; and calculating the voice interaction response speed according to the starting time and the ending time. The method obtains the voice interaction response speed by obtaining the start time and the end time of the voice interaction, and solves the technical problem that no test scheme aiming at the response speed of the voice interaction system exists in the prior art.
The foregoing is a summary of the present disclosure, and for the purposes of promoting a clear understanding of the technical means of the present disclosure, the present disclosure may be embodied in other specific forms without departing from the spirit or essential attributes thereof.
Drawings
The above and other features, advantages and aspects of various embodiments of the present disclosure will become more apparent by referring to the following detailed description when taken in conjunction with the accompanying drawings. Throughout the drawings, the same or similar reference numbers refer to the same or similar elements. It should be understood that the drawings are schematic and that elements and features are not necessarily drawn to scale.
Fig. 1 is a schematic view of an application scenario of an embodiment of the present disclosure;
fig. 2 is a schematic flow chart of a method for testing a voice interaction response speed according to an embodiment of the present disclosure;
fig. 3 is a schematic diagram of obtaining a start time of the voice interaction and an end time of the voice interaction in the method for testing a response speed of the voice interaction according to the embodiment of the present disclosure;
fig. 4 is a schematic structural diagram of an embodiment of a device for testing a voice interaction response speed provided by the embodiment of the present disclosure;
fig. 5 is a schematic structural diagram of an electronic device provided according to an embodiment of the present disclosure.
Detailed Description
Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While certain embodiments of the present disclosure are shown in the drawings, it is to be understood that the present disclosure may be embodied in various forms and should not be construed as limited to the embodiments set forth herein, but rather are provided for a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the disclosure are for illustration purposes only and are not intended to limit the scope of the disclosure.
It should be understood that the various steps recited in the method embodiments of the present disclosure may be performed in a different order, and/or performed in parallel. Moreover, method embodiments may include additional steps and/or omit performing the illustrated steps. The scope of the present disclosure is not limited in this respect.
The term "include" and variations thereof as used herein are open-ended, i.e., "including but not limited to". The term "based on" is "based, at least in part, on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments". Relevant definitions for other terms will be given in the following description.
It should be noted that the terms "first", "second", and the like in the present disclosure are only used for distinguishing different devices, modules or units, and are not used for limiting the order or interdependence relationship of the functions performed by the devices, modules or units.
It is noted that references to "a", "an", and "the" modifications in this disclosure are intended to be illustrative rather than limiting, and that those skilled in the art will recognize that "one or more" may be used unless the context clearly dictates otherwise.
The names of messages or information exchanged between devices in the embodiments of the present disclosure are for illustrative purposes only, and are not intended to limit the scope of the messages or information.
Fig. 1 is a schematic view of an application scenario of the embodiment of the present disclosure. As shown in fig. 1, a voice generating device 101 inputs voice data to an elevator 102 (of course, it may also be a tester that inputs voice data to the elevator 102, that is, the tester directly sends out test voice), and a device 103 in the elevator 102 or at a service end is connected through a network, wherein a voice interaction system is installed in the elevator 102, and voice interaction is performed offline through the voice interaction system in the elevator; or, the voice interaction system is installed in the service-side device, and after receiving the input voice data, the elevator sends the voice data to the service-side device 103 to perform online voice interaction processing, so as to obtain a processing result. The network on which the elevator 102 communicates with the server device 103 may be a wireless network, such as a 5G network and a wifi network, or a wired network, such as an optical fiber network. In the application scenario, the voice generating device 101 sends out voice, the elevator 102 collects the voice to perform offline or online processing, and a test program installed in the elevator 102 or the service-side device 103 obtains the voice interaction response speed of the voice interaction system.
Fig. 2 is a flowchart of an embodiment of a method for testing a voice interaction response speed provided by the embodiment of the present disclosure, where the method for testing a voice interaction response speed provided by the embodiment may be executed by a device for testing a voice interaction response speed, the device for testing a voice interaction response speed may be implemented as software, or implemented as a combination of software and hardware, and the device for testing a voice interaction response speed may be integrated in a certain device in a system for testing a voice interaction response speed, such as a server for testing a voice interaction response speed (e.g., the server device 103 in fig. 1) or a terminal device for testing a voice interaction response speed (e.g., the elevator 102 in fig. 1). As shown in fig. 2, the method comprises the steps of:
step S201, acquiring a voice test set;
optionally, the voice test set is various voices which can be processed by the voice interaction system, and may be a voice instruction set for a certain application scenario or voices which can be understood by the voice interaction system. For an application scenario of an intelligent elevator, an exemplary speech test set is: go upstairs, go downstairs, go to x floor (floor), go up x floor (floor), go to x floor (floor), cancel going to x floor (floor), etc., for the intelligent elevator that has integrated other functions, the voice test set can also include: how today, put a song, punch a card, etc.
Alternatively, the speech test is focused on a variety of texts, which can be used as a test for a speech synthesis interactive system.
Optionally, the voices in the voice test set include voices of various qualities, such as pure voice, voices of various timbres, voices including noise, and the like, so that the test environment is closer to the real environment.
Optionally, the voices in the voice test set are played through a voice playing device, typically, various intelligent terminals such as a smart phone and a smart sound box, or may be a handheld terminal device having a voice playing function and dedicated for voice testing, or may be a traditional music or voice playing device, such as an MP3 player.
Optionally, the text in the voice test set is transmitted to a system to be tested through a terminal device, such as a computer or a smart phone.
Optionally, before the step S201, the method further includes:
obtaining the type of the voice interaction to be tested, wherein the type of the voice interaction to be tested comprises at least one of voice awakening, voice recognition, voice interruption and voice synthesis.
Optionally, the type of the obtained voice interaction to be tested may be configured through a human-machine interface, that is, a plurality of types of voice interaction test rules are pre-configured in the system to be tested, and the configuration may be performed through the human-machine interface before the step S201 is performed; or, optionally, the obtaining of the type of the voice interaction to be tested may be implemented by storing test scripts in the system to be tested, where each test script corresponds to a type of the voice interaction, and the type of the voice interaction to be tested is obtained through different scripts.
Step S202, triggering voice interaction according to the voice test set;
in this step, after the system to be tested receives the voice in the voice test set, a corresponding voice interaction process is triggered.
Optionally, the step S202 includes: and triggering a voice interaction process corresponding to the voice interaction type according to the voice test set. Optionally, when the voice interaction type is voice wakeup, triggering a voice wakeup interaction process of the system to be tested through a voice wakeup word in the voice test set; when the voice interaction type is semantic recognition, triggering a semantic recognition interaction process of a system to be tested through test voice in a voice test set; when the voice interaction type is voice interruption, triggering a voice awakening interaction process of the system to be tested through voice awakening words in the voice test set so as to interrupt other currently executed voice interaction processes; and when the voice interaction type is voice synthesis, triggering an interaction process of the voice synthesis through the text in the voice test set.
Step S203, acquiring the starting time of the voice interaction and the ending time of the voice interaction;
in this step, the start time of the voice interaction system to be tested triggering the voice interaction and the end time of completing the voice interaction are obtained.
Optionally, before step S201, the method further includes: receiving a collection condition of a start time of the voice interaction and a collection condition of an end time of the voice interaction, wherein the collection condition of the start time of the voice interaction and the collection condition of the end time of the voice interaction are related to the type of the voice interaction.
On this basis, optionally, the step S203 includes:
step S301, acquiring the time when the acquisition condition of the voice interaction starting time is triggered as the voice interaction starting time;
step S302, acquiring the time when the acquisition condition of the voice interaction end time is triggered as the voice interaction end time.
Optionally, the steps S301 and S302 are executed by running a pre-written test code in the system to be tested, where a start time and an end time of the voice interaction are predefined in the code, that is, a time when an event occurs is defined as the start time of the voice interaction, and a time when an event occurs is defined as the end time of the voice interaction, where an event is the collection condition. The acquisition in this embodiment may be real-time acquisition, i.e., the time of acquiring the system to be tested when the event occurs; or the acquisition in this embodiment may be off-line acquisition, that is, after the test is finished, the start time and the end time meeting the acquisition condition are searched according to the record in the system to be tested.
In one embodiment, the collection condition of the start time of the voice interaction and the collection condition of the end time of the voice interaction are different according to the type of the voice interaction.
Illustratively, when the type of the voice interaction is voice wakeup, the acquisition condition of the start time of the voice interaction is a voice wakeup instruction corresponding to a voice wakeup word generated by the tested voice interaction system, and the acquisition condition of the end time of the voice interaction is that the tested system outputs a response signal aiming at the voice wakeup instruction. In the voice interaction process of the type, a system to be tested comprises a wake-up model and is used for converting voice into a wake-up instruction (the wake-up instruction is an indication signal given by the wake-up model after a wake-up word is recognized and when wake-up judgment is made, the system is triggered to start subsequent response), and a timestamp of the wake-up instruction is recorded in the wake-up instruction when the system to be tested generates the wake-up instruction; in this embodiment, the wake-up instruction is analyzed to obtain a timestamp for generating the wake-up instruction, and the time corresponding to the timestamp is used as the start time of voice interaction; or, after the wake-up model gives the wake-up instruction, recording the clock time at the moment and taking the clock time as the starting time. And then when the system outputs a response signal (such as a sound signal, a display signal or other signals) aiming at the voice wakeup, recording the time when the response signal is output, and taking the time as the end time of the voice interaction. Or when the system outputs a response signal for the voice wakeup, the response signal indicates that the wakeup command has been executed, and since the system to be tested records the time for generating the response signal when generating the response signal (e.g. voice synthesis), the time can be obtained as the end time of the voice interaction.
Illustratively, when the type of the voice interaction is voice recognition, the acquisition condition of the start time of the voice interaction is that the tested voice interaction system obtains a last voice data packet, and the acquisition condition of the end time of the voice interaction is that the tested voice interaction system outputs a voice recognition result. In the voice interaction process of the type, monitoring voice input data in a tested system to obtain an input timestamp of a last voice data packet, and taking the time corresponding to the input timestamp as the start time of voice interaction; in this embodiment, the voice interaction system to be tested includes a voice recognition model, where the voice recognition model is used to input voice data and output a recognition result corresponding to the voice data, and a time corresponding to an output timestamp of the recognition result is used as an end time of voice interaction. The output timestamp of the recognition result may be the time when the model outputs the recognition result, or the time when the system under test outputs the recognition result through the response signal, where the output timestamp may be defined as needed before the test method is executed.
Illustratively, when the type of the voice interaction is voice interruption, the acquisition condition of the start time of the voice interaction is that the tested voice interaction system generates a voice wake-up instruction corresponding to a voice wake-up word when the last voice interaction has not been executed, and the acquisition condition of the end time of the voice interaction is that the tested system outputs a response signal for the voice wake-up instruction when the last voice interaction instruction has not been executed. In the voice interaction process of the type, the voice interruption is realized by voice awakening, so the acquisition conditions of the start time and the end time of the voice interruption can be the same as the voice awakening interaction process, and only the awakening voice is input when the last voice interaction is not executed during the test, for example, the test voice is played to the 10 th floor first, and then the awakening voice is played immediately to the 'hello Xiaoyi' stage, so that the response speed of the voice interruption is tested.
Illustratively, when the type of the voice interaction is voice synthesis, the collection condition of the start time of the voice interaction is that the tested voice interaction system receives a text to be synthesized, and the collection condition of the start time of the voice interaction is that the tested voice interaction system outputs a first voice data packet of synthesized voice. In the voice interaction process of the type, the voice synthesis interaction requires that the tested voice interaction system receives a text to be synthesized corresponding to the voice to be synthesized and inputs the text to be synthesized into the synthesis model to generate corresponding voice data, so that the time corresponding to the timestamp of the text to be synthesized (namely the text to be synthesized is input into the synthesis model) received by the tested voice interaction system can be obtained as the starting time of the voice interaction; and acquiring a first voice data packet of the synthesized voice output by the tested voice interaction system (namely, the first voice data packet of the synthesized voice output by the synthesis model), and taking the time corresponding to the output time stamp of the first voice output packet as the finishing time of the voice interaction.
It can be understood that the voice interaction type is not limited to the above example, and other voice interaction types may set the acquisition condition of the start time and the acquisition condition of the end time of the voice interaction according to needs, so as to acquire the start time and the end time, which is not described herein again.
The above is to collect the start time and the end time from the perspective of the type of voice interaction, and in practical applications, the user is more concerned about the response time of the voice interaction system at one time of practical application. In practical applications, the system to be tested receives many commands at a time, for example, in an application scenario of an elevator, a user says "you are your 10 th floor" which actually involves a plurality of the above voice interaction types, and the start time and the end time can be collected from the response point of view of the elevator.
Optionally, the collecting condition of the start time of the voice interaction is that the tested voice interaction system finishes receiving the voice signal, and the collecting condition of the end time of the voice interaction is that the tested system outputs a voice response; alternatively, the first and second electrodes may be,
the acquisition condition of the start time of the voice interaction is that the tested voice interaction system finishes receiving voice signals, and the acquisition condition of the end time of the voice interaction is that the tested system outputs screen display response; alternatively, the first and second electrodes may be,
the collection condition of the start time of the voice interaction is that the tested voice interaction system finishes receiving voice signals, and the collection condition of the end time of the voice interaction is that the tested system makes hardware action response.
The "completion of receiving the voice signal" in the collection condition of the voice interaction start time refers to that the tested voice interaction system completes receiving the last voice data packet. And "voice signal" may contain only a wake-up word without a command word, or only a command word without a wake-up word, or both a wake-up word and a command word.
The voice response is that the tested voice interaction system plays the feedback voice through the voice playing device. If the user says "you are your. In practical applications, there are three cases: (1) after a user gets on an elevator, a pause exists between a wake-up word (such as 'Xiaoyixiayi') and a command word (such as 'go to an X-building'), so that a tested voice interaction system can firstly carry out voice response aiming at the wake-up word, namely, the voice response 'on' is directly given, the response speed of the situation is only the response aiming at wake-up, and the situation is the same as the wake-up type in the voice interaction type; (2) the scene is the same as the scene (1), after the awakening word is stopped, after the user sends the command word, the system can give a voice response to the command word, such as 'good, go to the X floor now', the voice response to the command word actually goes through the three processes of 'voice recognition', 'semantic recognition' and 'voice synthesis', and therefore, the response speed of the situation is actually the sum of 'voice recognition response time', 'semantic recognition response time' and 'voice synthesis response time'; (3) after a user gets on an elevator, a sent awakening word (such as 'Xiaoyi' and 'Xiaoyi') and a command word (such as 'go to an X building') are not paused, so that an elevator voice system can directly respond to the command word, namely, the user sends the 'Xiaoyi' and 'Xiaoyi' to the X building ', the system directly sends' good 'and goes to the X building', the response speed of the situation actually goes through four processes of 'awakening', 'voice recognition', 'semantic recognition', 'voice synthesis', and the response speed of the situation is actually the sum of 'awakening response time', 'voice recognition response time', 'semantic recognition response time', 'voice synthesis response time'; in the case of the above 3, it is necessary to collect the time when the tested system finishes receiving the voice signal as the start time, and collect the time when the tested system outputs the voice as the end time.
And the screen display response is that the tested voice interaction system plays a feedback image through a display device. The application scenario is the same as the voice response described above, except that the time of the measured output screen display response is collected as the end time. If the screen display response aiming at the awakening is responded, for example, the user sends out the 'small easy and simple' to display on the screen, and the time for outputting and displaying is taken as the ending time; other situations can be analogized, and the description is omitted.
Wherein the hardware action response is that the tested voice interaction system responds to the voice command through the hardware component of the tested voice interaction system. Taking an elevator as an example, elevator hardware action responses are generally responses to command words in voice, and voice recognition and semantic recognition are involved as long as command word recognition is involved, so that response speed includes two types of response time. It includes the following two cases: (1) the user sends a command of going to the X building, the elevator button X is highlighted at the moment, and under the condition, the response time of the highlighted button is taken as the end time, so that the response speed of the highlighted button is calculated; (2) when a user wants to get on the elevator, but the elevator door is/is closing at the moment, and the user shouts for "and the like", the elevator stops closing the door or automatically opens the door, and the time when the elevator control module receives the control instruction is taken as the end time, so that the control response speed of the elevator door is calculated.
The response speed of the voice interaction system is tested from the perspective of the used application, and generally comprises one or more voice interaction types, and the response speed of the voice interaction system is calculated by taking the trigger time of the first voice interaction type as the start time and the end time of the last voice interaction type as the end time when the response speed is tested.
And step S204, calculating the voice interaction response speed according to the starting time and the ending time.
In one embodiment, the response speed may be calculated directly according to the start time and the end time, in which case the step S204 includes: and calculating the difference value of the ending time and the starting time as the voice interaction response speed. And the time difference obtained by subtracting the starting time from the ending time is used as the voice interaction response speed.
In another embodiment, the tested voice interaction system is divided into a terminal and a server, and if the test is performed in the terminal and the voice interaction service is provided by the server, the network delay needs to be considered, where the step S204 includes: and calculating the difference between the ending time, the starting time and the network delay between the terminal and the service end to be used as the voice interaction response speed. Namely, the time difference obtained by subtracting the starting time from the ending time and then subtracting the network delay between the terminal and the service end is used as the voice interaction response speed. The network delay may be a real-time network delay, or an average value of network delays of a whole period of time during testing, which is not described herein again.
Further, the method for testing the voice interaction response speed further comprises the following steps: and displaying the voice interaction response speed. Namely, the response speed obtained in step S204 is displayed by the display device of the tested voice interaction system. The displaying of the voice interaction response speed may also be displayed on a monitoring terminal, for example, one monitoring terminal may be used to monitor the testing process during testing, and the testing result of each time may be displayed on a display device of the monitoring terminal.
Optionally, the testing steps may be written as testing codes and installed in the voice system to be tested to complete corresponding functions. Illustratively, the test code includes a plurality of functional modules including at least: the starting time acquisition module is used for acquiring the starting time of the voice interaction; the end time acquisition module is used for acquiring the end time of the voice interaction; and the calculating module is used for calculating the response speed according to the starting time and the ending time. The test code may further include a display module that generates the response speed into texture information that the display device can display to display the response speed on the display device.
It can be understood that the testing method can be executed on the terminal device or the server device, and if the voice interaction is offline interaction, the testing method is executed on the terminal device; if the voice interaction is online interaction, the testing method is executed on the terminal device or the server device, and can be determined according to the testing requirement.
Further, a test at a time may be erroneous, and thus in one embodiment, the speech test set includes a plurality of test speeches, and the method further includes: and calculating the average value of a plurality of voice interaction response speeds obtained by the plurality of test voices to be used as the voice interaction response speed. Namely, the test steps are executed for multiple times, and the average value of the response speeds obtained for multiple times is calculated to be used as the final voice interaction response speed.
Optionally, when the tested voice interaction system is an offline system, the voice interaction response speed is between 0 and 700ms, preferably between 0 and 500ms, that is, not greater than 700 ms; when the tested voice interaction system is an online system, the voice interaction response speed is between 0 and 1500ms, preferably between 0 and 1000ms, namely not more than 1000 ms.
The embodiment of the present disclosure discloses a method for testing a voice interaction response speed, wherein the method for testing a voice interaction response speed includes: acquiring a voice test set; triggering voice interaction according to the voice test set; acquiring the starting time of the voice interaction and the ending time of the voice interaction; and calculating the voice interaction response speed according to the starting time and the ending time. The method obtains the voice interaction response speed by obtaining the start time and the end time of the voice interaction, and solves the technical problem that no test scheme aiming at the response speed of the voice interaction system exists in the prior art.
In the above, although the steps in the above method embodiments are described in the above sequence, it should be clear to those skilled in the art that the steps in the embodiments of the present disclosure are not necessarily performed in the above sequence, and may also be performed in other sequences such as reverse, parallel, and cross, and further, on the basis of the above steps, other steps may also be added by those skilled in the art, and these obvious modifications or equivalents should also be included in the protection scope of the present disclosure, and are not described herein again.
Fig. 4 is a schematic structural diagram of an embodiment of a device for testing a response speed of voice interaction provided by an embodiment of the present disclosure, as shown in fig. 4, the device 400 includes: a test set acquisition module 401, a trigger module 402, a time acquisition module 403, and a velocity calculation module 404. Wherein the content of the first and second substances,
a test set obtaining module 401, configured to obtain a voice test set;
a triggering module 402, configured to trigger a voice interaction according to the voice test set;
a time obtaining module 403, configured to obtain a start time of the voice interaction and an end time of the voice interaction;
a speed calculating module 404, configured to calculate the voice interaction response speed according to the start time and the end time.
Further, the apparatus 400 for testing the response speed of voice interaction further includes:
the type obtaining module is used for obtaining the type of the voice interaction to be tested, wherein the type of the voice interaction to be tested comprises at least one of voice awakening, voice recognition, voice interruption and voice synthesis.
Further, the apparatus 400 for testing the response speed of voice interaction further includes:
the condition receiving module is used for receiving the acquisition condition of the starting time of the voice interaction and the acquisition condition of the ending time of the voice interaction, wherein the acquisition condition of the starting time of the voice interaction and the acquisition condition of the ending time of the voice interaction are related to the type of the voice interaction.
Further, when the type of the voice interaction is voice wakeup, acquiring conditions of start time of the voice interaction are voice wakeup instructions corresponding to voice wakeup words generated by the tested voice interaction system, and acquiring conditions of end time of the voice interaction are response signals output by the tested system aiming at the voice wakeup instructions;
when the type of the voice interaction is voice recognition, acquiring the starting time of the voice interaction as a result of the voice recognition output by the tested voice interaction system, wherein the acquiring condition of the ending time of the voice interaction is that the tested voice interaction system obtains the last voice data packet;
when the type of the voice interaction is voice interruption, the acquisition condition of the start time of the voice interaction is that a voice wake-up instruction corresponding to a voice wake-up word is generated by a tested voice interaction system when a last voice interaction instruction is not executed, and the acquisition condition of the end time of the voice interaction is that the tested system outputs a response signal aiming at the voice wake-up instruction when the last voice interaction instruction is not executed;
and when the type of the voice interaction is voice synthesis, acquiring the starting time of the voice interaction under the condition that the tested voice interaction system receives the text to be synthesized, and outputting a first voice data packet of the synthesized voice by the tested voice interaction system.
Further, the acquisition condition of the start time of the voice interaction is that the tested voice interaction system finishes receiving the voice signal, and the acquisition condition of the end time of the voice interaction is that the tested system outputs the voice response; alternatively, the first and second electrodes may be,
the acquisition condition of the start time of the voice interaction is that the tested voice interaction system finishes receiving voice signals, and the acquisition condition of the end time of the voice interaction is that the tested system outputs screen display response; alternatively, the first and second electrodes may be,
the collection condition of the start time of the voice interaction is that the tested voice interaction system finishes receiving voice signals, and the collection condition of the end time of the voice interaction is that the tested system makes hardware action response.
Further, when the tested voice interaction system is an off-line system, the voice interaction response speed is between 0 and 700 ms; when the tested voice interaction system is an online system, the voice interaction response speed is between 0 and 1500 ms.
Further, the triggering module 402 is further configured to: and triggering a voice interaction process corresponding to the voice interaction type according to the voice test set.
Further, the time obtaining module 403 is further configured to:
acquiring the time when the acquisition condition of the voice interaction starting time is triggered as the voice interaction starting time;
and acquiring the time when the acquisition condition of the voice interaction end time is triggered as the voice interaction end time.
Further, the speed calculation module 404 is further configured to:
and calculating the difference value of the ending time and the starting time as the voice interaction response speed.
Further, the speed calculation module 404 is further configured to:
and calculating the difference between the ending time, the starting time and the network delay between the terminal and the service end to be used as the voice interaction response speed.
Further, the apparatus 400 for testing the response speed of voice interaction further includes:
and the display module is used for displaying the voice interaction response speed.
Further, the voice test set includes a plurality of test voices, and the apparatus 400 for testing the voice interaction response speed further includes:
and the average calculating module is used for calculating the average value of a plurality of voice interaction response speeds obtained through the plurality of test voices to serve as the voice interaction response speed.
The apparatus shown in fig. 4 can perform the method of the embodiment shown in fig. 2 and 3, and the detailed description of this embodiment can refer to the related description of the embodiment shown in fig. 2 and 3. The implementation process and technical effect of the technical solution refer to the description in the embodiments shown in fig. 2 and fig. 3, and are not described herein again.
Referring now to FIG. 5, a block diagram of an electronic device 500 suitable for use in implementing embodiments of the present disclosure is shown. The terminal device in the embodiments of the present disclosure may include, but is not limited to, a mobile terminal such as a mobile phone, a notebook computer, a digital broadcast receiver, a PDA (personal digital assistant), a PAD (tablet computer), a PMP (portable multimedia player), a vehicle terminal (e.g., a car navigation terminal), and the like, and a stationary terminal such as a digital TV, a desktop computer, and the like. The electronic device shown in fig. 5 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present disclosure.
As shown in fig. 5, electronic device 500 may include a processing means (e.g., central processing unit, graphics processor, etc.) 501 that may perform various appropriate actions and processes in accordance with a program stored in a Read Only Memory (ROM)502 or a program loaded from a storage means 508 into a Random Access Memory (RAM) 503. In the RAM 503, various programs and data necessary for the operation of the electronic apparatus 500 are also stored. The processing device 501, the ROM 502, and the RAM 503 are connected to each other through a bus 504. An input/output (I/O) interface 505 is also connected to bus 504.
Generally, the following devices may be connected to the I/O interface 505: input devices 506 including, for example, a touch screen, touch pad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; output devices 507 including, for example, a Liquid Crystal Display (LCD), speakers, vibrators, and the like; storage devices 508 including, for example, magnetic tape, hard disk, etc.; and a communication device 509. The communication means 509 may allow the electronic device 500 to communicate with other devices wirelessly or by wire to exchange data. While fig. 5 illustrates an electronic device 500 having various means, it is to be understood that not all illustrated means are required to be implemented or provided. More or fewer devices may alternatively be implemented or provided.
In particular, according to an embodiment of the present disclosure, the processes described above with reference to the flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program carried on a non-transitory computer readable medium, the computer program containing program code for performing the method illustrated by the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network via the communication means 509, or installed from the storage means 508, or installed from the ROM 502. The computer program performs the above-described functions defined in the methods of the embodiments of the present disclosure when executed by the processing device 501.
It should be noted that the computer readable medium in the present disclosure can be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present disclosure, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In contrast, in the present disclosure, a computer readable signal medium may comprise a propagated data signal with computer readable program code embodied therein, either in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: electrical wires, optical cables, RF (radio frequency), etc., or any suitable combination of the foregoing.
In some embodiments, the clients, servers may communicate using any currently known or future developed network protocol, such as HTTP (HyperText transfer protocol), and may be interconnected with any form or medium of digital data communication (e.g., a communications network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), the Internet (e.g., the Internet), and peer-to-peer networks (e.g., ad hoc peer-to-peer networks), as well as any currently known or future developed network.
The computer readable medium may be embodied in the electronic device; or may exist separately without being assembled into the electronic device.
The computer readable medium carries one or more programs which, when executed by the electronic device, cause the electronic device to: acquiring a voice test set; triggering voice interaction according to the voice test set; acquiring the starting time of the voice interaction and the ending time of the voice interaction; and calculating the voice interaction response speed according to the starting time and the ending time.
Computer program code for carrying out operations for the present disclosure may be written in any combination of one or more programming languages, including but not limited to an object oriented programming language such as Java, Smalltalk, C + +, and conventional procedural programming languages, such as the "C" programming language or similar programming languages. 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 server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units described in the embodiments of the present disclosure may be implemented by software or hardware. Where the name of an element does not in some cases constitute a limitation on the element itself.
The functions described herein above may be performed, at least in part, by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: field Programmable Gate Arrays (FPGAs), Application Specific Integrated Circuits (ASICs), Application Specific Standard Products (ASSPs), systems on a chip (SOCs), Complex Programmable Logic Devices (CPLDs), and the like.
In the context of this disclosure, a machine-readable medium may be a tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
The foregoing description is only exemplary of the preferred embodiments of the disclosure and is illustrative of the principles of the technology employed. It will be appreciated by those skilled in the art that the scope of the disclosure herein is not limited to the particular combination of features described above, but also encompasses other embodiments in which any combination of the features described above or their equivalents does not depart from the spirit of the disclosure. For example, the above features and (but not limited to) the features disclosed in this disclosure having similar functions are replaced with each other to form the technical solution.

Claims (15)

1. A method for testing the response speed of voice interaction is characterized by comprising the following steps:
acquiring a voice test set;
triggering voice interaction according to the voice test set;
acquiring the starting time of the voice interaction and the ending time of the voice interaction;
and calculating the voice interaction response speed according to the starting time and the ending time.
2. The method for testing the response speed of voice interaction according to claim 1, further comprising, before said obtaining the voice test set:
obtaining the type of the voice interaction to be tested, wherein the type of the voice interaction to be tested comprises at least one of voice awakening, voice recognition, voice interruption and voice synthesis.
3. The method for testing the response speed of voice interaction according to any one of claims 1 or 2, characterized in that before the obtaining of the voice test set, the method further comprises:
receiving a collection condition of a start time of the voice interaction and a collection condition of an end time of the voice interaction, wherein the collection condition of the start time of the voice interaction and the collection condition of the end time of the voice interaction are related to the type of the voice interaction.
4. The method for testing the response speed of voice interaction according to claim 3, wherein:
when the type of the voice interaction is voice awakening, acquiring the starting time of the voice interaction as a voice awakening instruction corresponding to a voice awakening word generated by a tested voice interaction system, and acquiring the ending time of the voice interaction as a response signal output by the tested system aiming at the voice awakening instruction;
when the type of the voice interaction is voice recognition, acquiring the starting time of the voice interaction as a result of the voice recognition output by the tested voice interaction system, wherein the acquiring condition of the ending time of the voice interaction is that the tested voice interaction system obtains the last voice data packet;
when the type of the voice interaction is voice interruption, the acquisition condition of the start time of the voice interaction is that a voice wake-up instruction corresponding to a voice wake-up word is generated by a tested voice interaction system when a last voice interaction instruction is not executed, and the acquisition condition of the end time of the voice interaction is that the tested system outputs a response signal aiming at the voice wake-up instruction when the last voice interaction instruction is not executed;
and when the type of the voice interaction is voice synthesis, acquiring the starting time of the voice interaction under the condition that the tested voice interaction system receives the text to be synthesized, and outputting a first voice data packet of the synthesized voice by the tested voice interaction system.
5. The method for testing the response speed of voice interaction according to claim 3, wherein:
the acquisition condition of the start time of the voice interaction is that the tested voice interaction system finishes receiving voice signals, and the acquisition condition of the end time of the voice interaction is that the tested system outputs voice response; alternatively, the first and second electrodes may be,
the acquisition condition of the start time of the voice interaction is that the tested voice interaction system finishes receiving voice signals, and the acquisition condition of the end time of the voice interaction is that the tested system outputs screen display response; alternatively, the first and second electrodes may be,
the collection condition of the start time of the voice interaction is that the tested voice interaction system finishes receiving voice signals, and the collection condition of the end time of the voice interaction is that the tested system makes hardware action response.
6. The method for testing the response speed of voice interaction according to claim 5, wherein:
when the tested voice interaction system is an off-line system, the voice interaction response speed is between 0 and 700 ms; when the tested voice interaction system is an online system, the voice interaction response speed is between 0 and 1500 ms.
7. The method for testing response speed of voice interaction according to claim 2, wherein the triggering voice interaction according to the voice test set comprises:
and triggering a voice interaction process corresponding to the voice interaction type according to the voice test set.
8. The method for testing the response speed of the voice interaction according to claim 3, wherein the obtaining the start time of the voice interaction and the end time of the voice interaction comprises:
acquiring the time when the acquisition condition of the voice interaction starting time is triggered as the voice interaction starting time;
and acquiring the time when the acquisition condition of the voice interaction end time is triggered as the voice interaction end time.
9. The method for testing the voice interactive response speed according to claim 1, wherein the calculating the voice interactive response speed according to the start time and the end time comprises:
and calculating the difference value of the ending time and the starting time as the voice interaction response speed.
10. The method for testing the voice interactive response speed according to claim 1, wherein the calculating the voice interactive response speed according to the start time and the end time comprises:
and calculating the difference between the ending time, the starting time and the network delay between the terminal and the service end to be used as the voice interaction response speed.
11. The method for testing the response speed of voice interaction according to claim 1, wherein the method further comprises:
and displaying the voice interaction response speed.
12. The method for testing the response speed of voice interaction according to claim 1, wherein the voice test set includes a plurality of test voices, the method further comprising:
and calculating the average value of a plurality of voice interaction response speeds obtained by the plurality of test voices to be used as the voice interaction response speed.
13. An apparatus for testing a response speed of a voice interaction, the apparatus comprising:
the test set acquisition module is used for acquiring a voice test set;
the triggering module is used for triggering voice interaction according to the voice test set;
the time acquisition module is used for acquiring the starting time of the voice interaction and the ending time of the voice interaction;
and the speed calculating module is used for calculating the voice interaction response speed according to the starting time and the ending time.
14. An electronic device, comprising:
a memory for storing computer readable instructions; and
a processor for executing the computer readable instructions such that the processor when executed implements the method of any of claims 1-12.
15. A non-transitory computer readable storage medium storing computer readable instructions which, when executed by a computer, cause the computer to perform the method of any one of claims 1-12.
CN202010621323.8A 2020-06-30 2020-06-30 Method and device for testing voice interaction response speed and electronic equipment Pending CN111785268A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010621323.8A CN111785268A (en) 2020-06-30 2020-06-30 Method and device for testing voice interaction response speed and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010621323.8A CN111785268A (en) 2020-06-30 2020-06-30 Method and device for testing voice interaction response speed and electronic equipment

Publications (1)

Publication Number Publication Date
CN111785268A true CN111785268A (en) 2020-10-16

Family

ID=72760049

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010621323.8A Pending CN111785268A (en) 2020-06-30 2020-06-30 Method and device for testing voice interaction response speed and electronic equipment

Country Status (1)

Country Link
CN (1) CN111785268A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112908297A (en) * 2020-12-22 2021-06-04 北京百度网讯科技有限公司 Response speed testing method, device, equipment and storage medium for vehicle-mounted equipment
CN113140217A (en) * 2021-04-08 2021-07-20 青岛歌尔智能传感器有限公司 Voice instruction testing method, testing device and readable storage medium
CN113380229A (en) * 2021-06-08 2021-09-10 阿波罗智联(北京)科技有限公司 Voice response speed determination method, related device and computer program product
CN113674739A (en) * 2021-07-20 2021-11-19 北京字节跳动网络技术有限公司 Time determination method, device, equipment and storage medium
CN113782025A (en) * 2021-09-27 2021-12-10 北京声智科技有限公司 Voice recognition method, device, terminal and storage medium
CN115474146A (en) * 2022-08-26 2022-12-13 北京百度网讯科技有限公司 Voice test system, method and device

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104517606A (en) * 2013-09-30 2015-04-15 腾讯科技(深圳)有限公司 Method and device for recognizing and testing speech
CN106548772A (en) * 2017-01-16 2017-03-29 上海智臻智能网络科技股份有限公司 Speech recognition test system and method
CN110211567A (en) * 2019-05-13 2019-09-06 中国信息通信研究院 Voice recognition terminal evaluation system and method
CN110379410A (en) * 2019-07-22 2019-10-25 苏州思必驰信息科技有限公司 Voice response speed automatic analysis method and system
CN110838285A (en) * 2019-11-20 2020-02-25 青岛海尔科技有限公司 System, method and device for terminal voice test
CN111190806A (en) * 2019-12-30 2020-05-22 苏州思必驰信息科技有限公司 Log processing method and device of voice interaction equipment
CN111261195A (en) * 2020-01-10 2020-06-09 Oppo广东移动通信有限公司 Audio testing method and device, storage medium and electronic equipment

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104517606A (en) * 2013-09-30 2015-04-15 腾讯科技(深圳)有限公司 Method and device for recognizing and testing speech
CN106548772A (en) * 2017-01-16 2017-03-29 上海智臻智能网络科技股份有限公司 Speech recognition test system and method
CN110211567A (en) * 2019-05-13 2019-09-06 中国信息通信研究院 Voice recognition terminal evaluation system and method
CN110379410A (en) * 2019-07-22 2019-10-25 苏州思必驰信息科技有限公司 Voice response speed automatic analysis method and system
CN110838285A (en) * 2019-11-20 2020-02-25 青岛海尔科技有限公司 System, method and device for terminal voice test
CN111190806A (en) * 2019-12-30 2020-05-22 苏州思必驰信息科技有限公司 Log processing method and device of voice interaction equipment
CN111261195A (en) * 2020-01-10 2020-06-09 Oppo广东移动通信有限公司 Audio testing method and device, storage medium and electronic equipment

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112908297A (en) * 2020-12-22 2021-06-04 北京百度网讯科技有限公司 Response speed testing method, device, equipment and storage medium for vehicle-mounted equipment
CN112908297B (en) * 2020-12-22 2022-07-08 北京百度网讯科技有限公司 Response speed testing method, device, equipment and storage medium of vehicle-mounted equipment
CN113140217A (en) * 2021-04-08 2021-07-20 青岛歌尔智能传感器有限公司 Voice instruction testing method, testing device and readable storage medium
CN113380229A (en) * 2021-06-08 2021-09-10 阿波罗智联(北京)科技有限公司 Voice response speed determination method, related device and computer program product
JP2022091933A (en) * 2021-06-08 2022-06-21 阿波▲羅▼智▲聯▼(北京)科技有限公司 Voice response speed determination method, device, computer-readable storage medium, and computer program
JP7375089B2 (en) 2021-06-08 2023-11-07 阿波▲羅▼智▲聯▼(北京)科技有限公司 Method, device, computer readable storage medium and computer program for determining voice response speed
CN113674739A (en) * 2021-07-20 2021-11-19 北京字节跳动网络技术有限公司 Time determination method, device, equipment and storage medium
CN113674739B (en) * 2021-07-20 2023-12-19 北京字节跳动网络技术有限公司 Time determination method, device, equipment and storage medium
CN113782025A (en) * 2021-09-27 2021-12-10 北京声智科技有限公司 Voice recognition method, device, terminal and storage medium
CN113782025B (en) * 2021-09-27 2024-01-09 北京声智科技有限公司 Speech recognition method, device, terminal and storage medium
CN115474146A (en) * 2022-08-26 2022-12-13 北京百度网讯科技有限公司 Voice test system, method and device

Similar Documents

Publication Publication Date Title
CN111785268A (en) Method and device for testing voice interaction response speed and electronic equipment
US11158102B2 (en) Method and apparatus for processing information
CN106874265B (en) Content output method matched with user emotion, electronic equipment and server
CN110602516A (en) Information interaction method and device based on live video and electronic equipment
CN110278324B (en) Method and device for detecting subway station entrance and exit states, terminal equipment and storage medium
US11886484B2 (en) Music playing method and apparatus based on user interaction, and device and storage medium
CN111629156A (en) Image special effect triggering method and device and hardware device
CN111933149A (en) Voice interaction method, wearable device, terminal and voice interaction system
US20240079002A1 (en) Minutes of meeting processing method and apparatus, device, and medium
CN111540344B (en) Acoustic network model training method and device and electronic equipment
CN112837672B (en) Method and device for determining conversation attribution, electronic equipment and storage medium
CN113225624A (en) Time-consuming determination method and device for voice recognition
CN112259076A (en) Voice interaction method and device, electronic equipment and computer readable storage medium
CN112242143B (en) Voice interaction method and device, terminal equipment and storage medium
CN113299285A (en) Device control method, device, electronic device and computer-readable storage medium
CN110196900A (en) Exchange method and device for terminal
EP4276827A1 (en) Speech similarity determination method, device and program product
CN114495941A (en) Method and device for converting single-channel audio into text, electronic equipment and storage medium
CN111582708A (en) Medical information detection method, system, electronic device and computer-readable storage medium
CN112542157A (en) Voice processing method and device, electronic equipment and computer readable storage medium
CN112218137A (en) Multimedia data acquisition method, device, equipment and medium
CN113674739B (en) Time determination method, device, equipment and storage medium
CN113132789B (en) Multimedia interaction method, device, equipment and medium
CN111768762B (en) Voice recognition method and device and electronic equipment
CN114299950B (en) Subtitle generation method, device and equipment

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20201016

RJ01 Rejection of invention patent application after publication