A kind of test device and system for analyzing speech ciphering equipment voice delay time
Technical field
The utility model is related to the voice delay time testing field of voice communication apparatus, more particularly to a kind of for analyzing voice
The test device and system of equipment voice delay time.
Background technology
The demand that can voice quality meet user be weigh voice communication apparatus it is whether qualified and introduce to the market it is important
Index.Wherein, voice delay time is one of factor of influence voice quality most critical.In voice call process, voice delay time increases
It is added to and will cause to a certain degree the problems such as the out of order of Transmission system, packet loss or voice overlap.For example, ought unidirectionally hold
When the voice delay time at end is more than 25ms, i.e., sound is returned in 50ms, and speaker is by imperceptible echo;And when unidirectional end-to-end
Voice delay time be more than 25ms when, if not taking any measure, speaker may feel that obvious echo, so as to influence to lead to
The quality of words.Therefore, more and more important is become to the test that voice communication apparatus carry out voice transfer time delay.
At present, all it is in the prior art that voice delay time is tested by traditional speech quality measurement instrument, but passes
There is problems with the speech quality measurement instrument of system:(1) artificial operation, complex operation, the essence of test are needed in test process
Degree and efficiency are all very low;(2) quality test of single channel voice can only be carried out, testing cost is very high.
Utility model content
For above-mentioned technical problem, the utility model proposes a kind of test dress for analyzing speech ciphering equipment voice delay time
Put, system, and using the method for the device or system testing voice delay time, fast and accurately to test the biography of multi-path voice
Defeated time delay.
The test device of the analysis speech ciphering equipment voice delay time includes controller, voice output device, voice receiver, also wraps
Include:
Signal generator, its described controller of connection and voice output device, for being generated under the control of the controller
Test signal with designated spectrum feature, and the test letter is exported to tested speech ciphering equipment by the voice output device
Number;
Signal detector, its described controller of connection and voice receiver, for being monitored under the control of the controller
Whether the voice receiver receives the voice signal that tested speech ciphering equipment is returned, and institute's predicate is confirmed when voice signal is received
Whether the spectrum signature of message number is consistent with the spectrum signature of the test signal;
Timer, its described controller of connection, for recording the defeated of the test signal under the control of the controller
Go out the reception time of time and the voice signal;
Memory, its described controller of connection, signal generator and signal detector and timer, in the control
Store the spectrum signature parameter and output time of the test signal under the control of device processed, and the frequency spectrum of the voice signal is special
Levy parameter and reception time;
Calculator, its described controller of connection and memory, for the spectrum signature when the voice signal and the survey
When the spectrum signature of trial signal is consistent, under the control of the controller, the test letter stored in the memory is obtained
Number output time and the voice signal the reception time, and calculate time difference between the two.
According to embodiment of the present utility model, above-mentioned test device can also include vehicle power, and itself and the test are filled
Each circuit devcie connection put, for providing power supply to the test device in the automotive environment.
According to embodiment of the present utility model, the voice output device includes at least one output port, and the voice connects
Receiving device includes at least one receiving port.
Preferably, each described output port and receiving port are that 3.5 millimeters of earphones of national standard or international standard connect
Mouthful.
Further, each described output port and receiving port are also respectively equipped with the interface for connecting oscillograph.
According to embodiment of the present utility model, the controller is also connected with the voice output device and voice receiver, uses
In voice output device described in control selections and the output port and receiving port of voice receiver.
The test system of the analysis speech ciphering equipment voice delay time, including:
The test device;
Client terminal device, its described test device of connection, for sending test to the controller of the test device
Control instruction and/or acquisition include the parameter information of test result.
Compared with prior art, one or more embodiments of the present utility model can have the following advantages that:
1) the utility model realizes the automatic test of voice delay time, improves the precision and efficiency of test.
2) the utility model can be by setting multiple output ports and receiving port, while realizing multi-path voice time delay
Test, improves testing efficiency, reduces testing cost.
3) the utility model matches somebody with somebody the interface for being ready for use on connection oscillograph, can check the ripple of test signal and voice signal
Shape, and then test signal can be detected through being tested the distortion situation after speech ciphering equipment is transmitted.
4) the utility model to tested speech ciphering equipment without being destroyed, being transformed and lead, using tested speech ciphering equipment
Some earphone interfaces are directly connected to by test device easily tested speech time delay, simple, convenient.
5) the utility model is equipped with vehicle power, it is adaptable to the voice delay time test under vehicle-mounted mobile state, strong applicability.
Other features and advantages of the utility model will illustrate in the following description, also, partly from specification
In become apparent, or understood by implementing the utility model.The purpose of this utility model and other advantages can pass through
Specifically noted structure is realized and obtained in specification, claims and accompanying drawing.
Brief description of the drawings
Accompanying drawing is used for providing being further understood to of the present utility model, and constitutes a part for specification, with this practicality
New embodiment is provided commonly for explaining the utility model, does not constitute to limitation of the present utility model.In the accompanying drawings:
Fig. 1 is for analyzing the composition structure of the test device of speech ciphering equipment voice delay time in embodiment of the present utility model
Schematic diagram;
Fig. 2 is the schematic diagram of calculating voice delay time in embodiment of the present utility model;
Fig. 3 is for analyzing the composition structure of the test system of speech ciphering equipment voice delay time in embodiment of the present utility model
Schematic diagram;
Fig. 4 is for analyzing the test system and tested voice of speech ciphering equipment voice delay time in embodiment of the present utility model
The connection diagram of equipment;
Fig. 5 is the workflow diagram of tested speech time delay method in embodiment of the present utility model;
Fig. 6 is the workflow diagram of tested speech time delay method in another embodiment of the present utility model.
Specific embodiment
To make the purpose of this utility model, technical scheme and advantage clearer, below in conjunction with drawings and Examples to this
Utility model is described in further detail.
Embodiment one
Fig. 1 is for analyzing the composition structure of the test device of speech ciphering equipment voice delay time in embodiment of the present utility model
Schematic diagram.The concrete structure of the device is explained with reference to Fig. 1.
The device 10 mainly include controller 100, voice output device 110, voice receiver 120, signal generator 130,
Signal detector 140, timer 150, memory 160 and calculator 170 and power supply 180.Wherein:
Signal generator 130, its described controller 100 of connection and voice output device 110, in the controller 100
Control under test signal of the generation with designated spectrum feature, and by the voice output device 110 to tested speech ciphering equipment
The 20 output test signals.
Specifically, above-mentioned voice output device 110 includes at least one output port, and each output port can be with excellent
Selection of land equipped with the interface for connecting oscillograph 30, checked by the oscillograph 30 for being connected each output port export to
The waveform of the test signal of tested speech ciphering equipment 20.Its output port is preferably national standard (OMTP) in the present embodiment
3.5 millimeters of earphone interfaces of 3.5 millimeters of earphone interfaces or international standard (CTIA), connect its output port and tested speech ciphering equipment
The two ends of 20 connection cables be preferably national standard (OMTP) 3.5 millimeters of headset plugs or international standard (CTIA) 3.5
Millimeter headset plug.
In the present embodiment, it is preferred to use spectrum signature is different from the system noise and ambient noise of tested speech ciphering equipment 20
Spectrum signature signal as test signal, for example can be using sine wave, square wave or triangular wave etc. as test signal.
Signal detector 140, its described controller 100 of connection and voice receiver 120, in the controller 100
Control under monitor the voice signal whether voice receiver 120 receives the return of tested speech ciphering equipment 20, and receiving language
Confirm whether the spectrum signature of the voice signal is consistent with the spectrum signature of the test signal during message.
Specifically, above-mentioned voice receiver 120 includes at least one receiving port, and each receiving port is further equipped with
Interface for connecting oscillograph 30, checks tested speech ciphering equipment 20 and returns by the one other channel of the oscillograph 30 for connecting
Voice signal waveform.So as to by the waveform of contrast test signal and voice signal, detection test signal is through tested voice
Distortion situation after the transmission of equipment 20.The receiving port of voice receiver 120 is preferably national standard in the present embodiment
(OMTP) 3.5 millimeters of earphone interfaces or 3.5 millimeters of earphone interfaces of international standard (CTIA), connect its receiving port and are tested
The two ends of the connection cables of speech ciphering equipment 20 are preferably 3.5 millimeters of headset plugs or international standard of national standard (OMTP)
(CTIA) 3.5 millimeters of headset plugs.
Timer 150, its described controller 100 of connection, for recording the test under the control of the controller 100
The reception time of the output time of signal and the voice signal.
Memory 160, its described controller 100 of connection, signal generator 130 and signal detector 140 and timer
150, spectrum signature parameter and output time for storing the test signal under the control of the controller 100, and
The spectrum signature parameter of the voice signal and reception time.
Specifically, above-mentioned memory 160 can be deposited preferably comprising volatile memory and nonvolatile memory two
Reservoir (not shown).Volatile memory connection controller 100, signal generator 130 and signal detector 140 and meter
When device 150, under the control of the controller 100 at least storage test signal spectrum signature parameter and output time, and
The spectrum signature parameter of voice signal and reception time.Meanwhile, volatile memory is also connected with nonvolatile memory, is deposited
The information of storage is sent to nonvolatile memory.So, can by the combination of volatile memory and nonvolatile memory
Ensure the high efficiency of voice delay time test, the integrality of voice delay time relevant information storage is can guarantee that again.It should be noted that this
Embodiment does not do specific restriction to the type and quantity of memory 160.In specific implementation process, those skilled in the art can
To be set to it according to actual needs.
In the present embodiment, if the reception time of the voice signal confirms institute's predicate for the signal detector 140
The spectrum signature of the message number moment consistent with the spectrum signature of the test signal, then memory 160 is also stored with signal
Detector 140 from monitor voice signal to confirm voice signal time.Further, for a kind of designated spectrum feature
Test signal, because the same signal detector 140 passed through in test device 10 confirms the spectrum signature of voice signal and surveys
Whether the spectrum signature of trial signal is consistent, therefore the transmission rate reconciliation bit rate of signal is generally fixed, and then signal detector
140 from monitor voice signal to confirm voice signal time be a constant known quantity.The known quantity would generally be being
The form of parameter of uniting is pre-stored in memory 160.
Calculator 170, its described controller 100 of connection and memory 160, for when the spectrum signature of the voice signal
When spectrum signature with the test signal is consistent, under the control of the controller 100, institute in the memory 160 is obtained
The output time of test signal and the reception time of the voice signal are stated, and calculates the time difference between the two.
If as described above, the reception time of the voice signal confirms the voice letter for the signal detector 140
Number spectrum signature moment consistent with the spectrum signature of the test signal, then preferably according to the schematic diagram shown in Fig. 2
Calculate voice delay time, calculator 170 is by the time received between time T2 of the output time T1 of test signal and voice signal
Difference subtracts the signal detector 140 that is prestored in memory 160 from monitoring voice signal to the time FT for confirming voice signal again,
As the voice delay time △ T of tested speech ciphering equipment 20, i.e. △ T=T2-T1-FT.
Additionally, in the present embodiment, controller 100 can also connect the voice output device 110 and voice receiver
120, for voice output device 110 described in control selections and the output port and receiving port of voice receiver 120.
In the present embodiment, if test signal is signal all the way, then controller 100 is gated from multi-path voice passage
Exported all the way, that is, selected an output port and a corresponding receiving port.If test signal is multiple signals, that
Multi-thread mechanism can be based on carries out the test of multi-path voice time delay simultaneously.Multi-thread mechanism is, the control language of controller 100
Sound follower 110 passes through multiple output ports and exports the test signal with specific frequency spectrum feature, while control voice receiver
120 receive the corresponding voice returned via tested speech ciphering equipment 20 by the receiving port corresponding with each output port
Signal.
Additionally, the test device 10 may be fitted with vehicle power, its connection controller 100, voice output device 110,
Voice receiver 120, signal generator 130, signal detector 140, timer 150, memory 160 and calculator 170, use
Electric energy is provided in all circuit devcies for test device 10 under vehicle-mounted mobile state, the test device 10 is not limited to experiment
Room is tested, and is also applied for being tested under vehicle-mounted mobile state.
Embodiment two
Fig. 3 is for analyzing the composition structure of the test system of speech ciphering equipment voice delay time in embodiment of the present utility model
Schematic diagram.As can be seen from Figure 3, in addition to above-mentioned test device 10, the test system also includes being communicated to connect with test device 10
Client terminal device 40 and/or oscillograph 30.Client terminal device 40 is mainly used in sending example to the controller 100 of test device 10
The control instruction and/or acquisition such as tested include the parameter information of test result.
Fig. 4 is the connection diagram of test system and tested speech ciphering equipment 20 in embodiment of the present utility model, and Fig. 5 is this
Using the workflow diagram of test system and test voice delay time method in the embodiment of utility model.With reference to Fig. 4 and Fig. 5 with
Test is described in detail as a example by voice delay time all the way carries out voice time-delay test using the test system to tested speech ciphering equipment 20
Specific steps:
Step 210, signal generator 130 generates the test with designated spectrum feature under the control of the controller 100 to be believed
Number, and the test signal is exported to tested speech ciphering equipment 20 by the voice output device 110.
In this step, controller 100 to signal generator 130 and voice output device 110 respectively send generation instruction and
Output order.The test signal of generation with designated spectrum feature after generation instruction is received of signal generator 130, and be sent to
Voice output device 110.Voice output device 110 is exported the test signal to tested language after output order and test signal is received
Sound equipment 20.Further, if test signal is exported successfully, voice output device 110 can also be returned to controller 100 and exported
Successful information;If test signal output failure, voice output device 110 returns to the information of output failure to controller 100.
In the present embodiment, the spectrum signature of test signal is made an uproar different from the system noise and environment of tested speech ciphering equipment 20
The spectrum signature of sound, for example, can be sine wave, square wave or triangular wave etc..
Step 220, signal detector 140 monitors whether the voice receiver 120 receives under the control of the controller 100
The voice signal that tested speech ciphering equipment 20 is returned, and spectrum signature and the institute of the voice signal are confirmed when voice signal is received
Whether the spectrum signature for stating test signal is consistent.
In this step, controller 100 to voice receiver 120 and signal detector 140 respectively send reception instruction and
Detection instruction.Voice receiver 120 receives the voice signal through the tested return of speech ciphering equipment 20 after reception instruction is received, concurrently
Give signal detector 140.Signal detector 140 monitors whether voice receiver 120 receives after detection instruction is received, first
To voice signal, if receiving voice signal, returned to controller 100 and receive successful information, otherwise returned to controller 100
Return the information of reception failure.Further, signal detector 140 is after monitoring that voice receiver 120 receives voice signal,
Detect whether the spectrum signature of voice signal is consistent with the spectrum signature of test signal, when confirming consistent, returned to controller 100
Return and confirm successful information, the information for confirming failure is otherwise returned to controller 100.
Step 230, timer 150 records the output time of the test signal and described under the control of the controller 100
The reception time of voice signal.
In this step, after controller 100 receives the successful information of output of the return of voice output device 110, to timer
150 send output riming instructions.Timer 150 records the output time of test signal after output riming instructions are received.Control
After device 100 receives the successful information of confirmation of the return of signal detector 140, sent to timer 150 and receive riming instructions.Timing
Device 150 records the reception time of voice signal after reception riming instructions are received.
Step 240, memory 160 stores the output time and frequency spectrum of the test signal under the control of the controller 100
Characteristic parameter, and the voice signal reception time and spectrum signature parameter.
In this step, after controller 100 receives the successful information of output of the return of voice output device 110, to memory
160 instructions for sending storage test signal and output timing.Memory 160 is receiving the finger of storage test signal and output timing
After order, the spectrum signature parameter of test signal and the output time of test signal are stored.Controller 100 receives signal detector
After the 140 successful information of confirmation for returning, send storage of speech signals to memory 160 and receive the instruction of timing.Memory
160 after the instruction for receiving storage of speech signals and receiving timing, the spectrum signature parameter and voice signal of storage of speech signals
The reception time.
Step 250, when the spectrum signature of the voice signal is consistent with the spectrum signature of the test signal, calculator
The 170 output time T1 for obtaining test signal described in the memory 160 under the control of the controller 100 and the voice are believed
Number reception time T2, and calculate time difference △ T=T2-T1 between the two.
In this step, after controller 100 receives the successful information of confirmation of the return of signal detector 140, to calculator
170 send computations.Calculator 170 after computations is received, obtain memory 160 in test signal output time and
The reception time of voice signal, and calculate the difference of the output time of test signal and the reception time of voice signal.This difference
As it is tested the voice delay time of speech ciphering equipment 20.
Herein it should be pointed out that the execution step of tested speech time delay method of the present utility model is not limited thereto,
It is any to be familiar with those skilled in the art in the case of without departing substantially from principle of the present utility model and thought, to above method step
Adjustment or replacement, all should be within protection domain of the present utility model.
For example, for another it is as shown in Figure 6 in the case of, if the reception time of voice signal be signal detector
140 confirm the spectrum signature of the voice signal moment consistent with the spectrum signature of test signal, then, calculator 170 is being received
After computations, except the output time of test signal in acquisition memory 160 and in addition to the reception time of voice signal, can also obtain
Signal detector 140 is taken from voice signal to the time for confirming voice signal is monitored, and preferably according to showing shown in Fig. 2
It is intended to calculate voice delay time, calculator 170 is by between the output time T1 of test signal and reception time T2 of voice signal
Time difference again subtraction signal detector 140 from monitor voice signal to confirm voice signal time FT, as tested voice
The voice delay time △ T of equipment 20, i.e. △ T=T2-T1-FT.The program has subtracted system institute during voice delay time is calculated
Bring error (signal detector from monitor voice signal to confirm voice signal time FT), further increase test
Accuracy.
Detailed process may refer to the workflow diagram shown in Fig. 6 in embodiment three.
Embodiment three
Step 310, using connection cables by the Mike of test system output port all the way and tested speech ciphering equipment 20
Wind (MIC) mouth is connected, while using connection cables by the receiving port corresponding with the road output port and tested speech ciphering equipment
20 loudspeaker (SPK) mouth connection, and test system and tested speech ciphering equipment 20 are opened, test system is in test mode, quilt
Survey speech ciphering equipment 20 and be in normal talking state.
Step 320, using probe by the interface of oscillograph 30 of the selected output port of test system and receiving port
The interface of oscillograph 30 is connected with the channel 1 and channel 2 of oscillograph 30 respectively, and opens oscillograph 30.
Step 330, voice delay time test instruction is sent using client terminal device 40 to test system.
Step 340, sends generation and instructs and defeated respectively from controller 100 to signal generator 130 and voice output device 110
Go out instruction.Test signal (the also referred to as specific language of generation with specific frequency spectrum feature after generation instruction is received of signal generator 130
Message number), and it is sent to voice output device 110.Voice output device 110 tests this after output order and test signal is received
Signal output gives tested speech ciphering equipment 20.Further, if test signal is exported successfully, voice output device 110 can also be to
Controller 100 returns to the successful information of output, and the display output success on client terminal device 40;If test signal output is lost
Lose, voice output device 110 returns to the information of output failure, and the display output failure on client terminal device 40 to controller 100,
So as to terminate this test.
Step 350, after controller 100 receives the successful information of output of the return of voice output device 110, to timer
150 send output riming instructions.Timer 150 records the output time T1 of test signal after output riming instructions are received.
Step 360, reception instruction and inspection are sent from controller 100 respectively to voice receiver 120 and signal detector 140
Survey instruction.Voice receiver 120 receives the voice signal through the tested return of speech ciphering equipment 20 after reception instruction is received, and sends
To signal detector 140.Signal detector 140 monitors whether voice receiver 120 receives after detection instruction is received, first
Voice signal, if receiving voice signal, returns to controller 100 and receives successful information, and on client terminal device 40
Display is received successfully, and the information of reception failure is otherwise returned to controller 100, and shows that reception is lost on client terminal device 40
Lose, so as to terminate this test.Further, signal detector 140 receives voice signal monitoring voice receiver 120
Afterwards, whether the spectrum signature of detection voice signal is consistent with the spectrum signature of test signal, when confirming consistent, to controller
100 return and confirm successful information, and shows on client terminal device 40 and confirms successfully, otherwise to the return confirmation of controller 100
The information of failure, and confirmation failure is shown on client terminal device 40, so as to terminate this test.
Step 370, after controller 100 receives the successful information of confirmation of the return of signal detector 140, to timer
150 send reception riming instructions.Timer 150 records the reception time T2 of voice signal after reception riming instructions are received.
Step 380, after controller 100 receives the successful information of confirmation of the return of signal detector 140, to calculator
170 send computations.Calculator 170 obtains the output time T1 of test signal in memory 160 after computations is received
With the reception time T2 of voice signal, and signal detector 140 from monitor voice signal to confirm voice signal time
Time difference between the output time T1 of test signal and reception time T2 of voice signal is subtracted letter by FT, calculator 170 again
Number detector 140 from monitoring voice signal to the time FT for confirming voice signal, as tested speech ciphering equipment 20 voice when
Prolong △ T, i.e. △ T=T2-T1-FT.
The utility model has the advantages that:
1) wireless talkback terminal, wired intercom terminal, voice inter-speaking system, broadcast call system can rapidly be tested
Voice delay time, convenient and swift, accuracy is high.
2) 3.5 millis of 3.5 millimeters of earphone interfaces of test device compatibility national standard (OMTP) and international standard (CTIA)
Rice earphone interface, can conveniently test all kinds of wireless terminal devices.
3) without be destroyed to tested speech ciphering equipment, be transformed, lead.For at present compared with the verbal system of main flow, for example
Mobile phone, speech talkback equipment etc., easily tested speech is directly connected to by test device using the existing earphone interface of equipment
Time delay.
4) test of multi-path voice time delay can simultaneously be carried out.
5) test device is not limited to laboratory test, is also applied for being tested under vehicle-mounted mobile state.
6) test device contains the interface of connection oscillograph, in laboratory conditions not only can be with tested speech time delay, also
The waveform that test device sends and receives can be checked, speech waveform is can detect through being tested the distortion feelings after speech ciphering equipment is transmitted
Condition.
The above, specific implementation case only of the present utility model, protection domain of the present utility model is not limited to
This, it is any to be familiar with those skilled in the art in technical specification described in the utility model, to modification of the present utility model or
Replace, all should be within protection domain of the present utility model.