CN103515813B - Connector and method of testing, device and system - Google Patents

Connector and method of testing, device and system Download PDF

Info

Publication number
CN103515813B
CN103515813B CN201210218607.8A CN201210218607A CN103515813B CN 103515813 B CN103515813 B CN 103515813B CN 201210218607 A CN201210218607 A CN 201210218607A CN 103515813 B CN103515813 B CN 103515813B
Authority
CN
China
Prior art keywords
test
terminal
port
test signal
connector
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.)
Active
Application number
CN201210218607.8A
Other languages
Chinese (zh)
Other versions
CN103515813A (en
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.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN201210218607.8A priority Critical patent/CN103515813B/en
Publication of CN103515813A publication Critical patent/CN103515813A/en
Application granted granted Critical
Publication of CN103515813B publication Critical patent/CN103515813B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Monitoring And Testing Of Exchanges (AREA)

Abstract

The invention discloses a kind of connector and method of testing, device and system.Wherein, the connector includes:The equipment interface being attached with exterior terminal, the test signal for receiving and dispatching said external terminal;Impedance matching circuit, including first port, electric capacity, resistance and second port, wherein, electric capacity is connected between first port and second port, and resistor coupled in parallel is between first port and second port.Pass through the present invention, solve the third party device testing process complexity that Product checking in correlation technique is used, the problem of port is less, add the quantity of test port, reduce manpower and equipment cost, building for test environment is simplified, so as to be efficiently completed the detection of product on the premise of quality is ensured.

Description

Connector and method of testing, device and system
Technical field
The present invention relates to the communications field, in particular to a kind of connector and method of testing, device and system.
Background technology
With the fiber-to-the-home construction in light net city and the arrival in 4G epoch, Present Global EPON(Passive Optical Network, referred to as PON)The PON positive rapid expansion of application scale, traditional PSTN network is for many years afterwards will be by Step is eliminated, and available data bandwidth will double to increase, and the terminal device such as PON is largely gone into operation.
The sound development of enterprise needs to run through whole products quality consciousness and cost consciousness, and product is from design, exploitation to most Production throughout one's life, each of which link must all focus on product quality, wherein the control most important link of quality is also resided in test, first Stage design development phase, developer need to carry out corresponding function test;Second stage tester need to carry out system testing;The Three stage testers need to carry out test manufacture test, and fourth stage tester need to carry out batch production test, and this stage is most heavy The test wanted is also that the last time before dispatching from the factory is checked on.
Product batch needs to test all single plate hardwares of each batch and driving before dispatching from the factory, in addition it is also necessary to hardware Tested in the case of different temperatures environment, particularly the product under high and low temperature environment will disclosure satisfy that properties refer to Mark.The problem of due to impedance matching present in the transmission of the voice analog signal of terminal, in the related art, for IP phone (Voice over IP, referred to as VOIP)The test of terminal speech is realized by means of third party device, third party device structure Complexity is made, supports that the port number of test simultaneously is relatively fewer, typically there was only ten or twenty road, the test production before being dispatched from the factory due to batch Product quantity all can be up to up to a million even up to ten million, and it is comparatively laborious to carry out wiring under high temperature low temperature environment with longer cable, and And the test is necessary for one-to-one corresponding and can not misplaced, while the terminal of test can reach thousands of, purchase substantial amounts of the is needed for this Three method, apparatus, these equipment occupation spaces are big, and arrange substantial amounts of personnel to carry out building for test environment, be also in cost compared with Big expenditure, is not too much adapted to bulk article test.
In the related art, a kind of method of test terminal speech is that by endpoint registration into network, voice passes through network Call loopback and make test differentiation, if the speech data that recipient receives is the transmission data of sender, show test just Often, if transmission and the data received are inconsistent, show there is exception, abnormal cause includes terminal hardware problem, terminal software Driving problems, secondly also have network problem.In order to exclude network problem, then tested by end-on, in order to reach impedance Match somebody with somebody, i.e., in order that signal attenuation is smaller, in the related art, two terminals are connected with AB lines by third party device as centre Part is connected, and phone is connected to exterior of terminal switching station by AB lines(Foreign Exchange Station, referred to as FXS)Mouthful, FXS mouthfuls are Z interfaces in terms of hardware point of view, and the Z interfaces answered on machine have corresponding requirements, otherwise can influence voice The normal transmission of signal and processing.Generally, Z interfaces allow subscriber loop resistance to be 1800 ohm, the nominal resistance of Z interfaces It is anti-to should be three elements(200 ohm+680 ohm // 0.1uF)It is Balanced interface, third party device exactly completes this balance and connect Mouthful, enable the decay of signal normal transmission smaller.But the expense of this third party device is higher, each equipment can be supported testing simultaneously Terminal quantity it is limited, and it is relatively low to use efficiency, and flow is complicated.
The third party device testing process used for Product checking in correlation technique is complicated, the problem of port is less, mesh It is preceding not yet to propose effective solution.
The content of the invention
The third party device testing process used for Product checking in correlation technique is complicated, the problem of port is less, this Invention provides a kind of connector and method of testing, device and system, at least to solve the above problems.
According to an aspect of the invention, there is provided a kind of connector, the connector includes:It is attached with exterior terminal Equipment interface, the test signal for receiving and dispatching said external terminal;Impedance matching circuit, including first port, electric capacity, resistance And second port, wherein, above-mentioned electric capacity is connected between above-mentioned first port and above-mentioned second port, and above-mentioned resistor coupled in parallel exists Between above-mentioned first port and above-mentioned second port.
The number of above-mentioned electric capacity can be two, and the number of above-mentioned resistance can be two.
The a port of an electric capacity in two electric capacity is connected with above-mentioned first port, said one electric capacity another Port is connected with above-mentioned second port;The a port of another electric capacity in above-mentioned two electric capacity and above-mentioned first port phase Even, another port of another above-mentioned electric capacity is connected with above-mentioned second port;A resistor coupled in parallel in two resistance is upper State between first port and above-mentioned second port, another resistor coupled in parallel in above-mentioned two resistance above-mentioned first port with it is upper State between second port.
The capacitance of above-mentioned electric capacity can be 2.2 microfarads, and the resistance value of above-mentioned resistance can be 1500 ohm.
According to another aspect of the present invention there is provided a kind of test system, the system includes above-mentioned connector, test eventually End, and tested terminal, wherein, the test terminal includes the first equipment interface, for the equipment interface with above-mentioned connector It is attached;The tested terminal includes the second equipment interface, is attached for the equipment interface with above-mentioned connector.
Above-mentioned test terminal is sent to above-mentioned tested terminal via above-mentioned connector by above-mentioned first equipment interface and surveyed Trial signal;Above-mentioned tested terminal receives what above-mentioned test terminal was sent by above-mentioned second equipment interface via above-mentioned connector Above-mentioned test signal.
Above-mentioned first equipment interface can be FXS mouthfuls, and above-mentioned second equipment interface can be above-mentioned FXS mouthfuls.
According to another aspect of the invention there is provided a kind of method of testing, this method includes:Above-mentioned connector receives test The test signal that terminal is sent, and the test signal is sent to tested terminal;The tested terminal is believed according to above-mentioned test Number tested.
After above-mentioned tested terminal is tested according to above-mentioned test signal, the above method can also include:Above-mentioned quilt Test result is fed back to background application equipment by test terminal.
Above-mentioned test result is fed back to above-mentioned background application equipment by above-mentioned tested terminal to be included:It is above-mentioned tested Terminal compares the above-mentioned test signal and preset signals of reception;If comparative result is above-mentioned test signal and above-mentioned preset signals Unanimously, above-mentioned tested terminal sends to above-mentioned background application equipment and tests correct result, if comparative result is above-mentioned survey Trial signal and above-mentioned preset signals are inconsistent, and above-mentioned tested terminal sends the knot of test errors to above-mentioned background application equipment Really.
Above-mentioned tested terminal feeds back to above-mentioned test result after above-mentioned background application equipment, and the above method can be with Including:Specifying in duration, if above-mentioned background application equipment does not receive above-mentioned test result, above-mentioned background application equipment Above-mentioned test terminal is controlled, above-mentioned test signal is sent to above-mentioned tested terminal again through above-mentioned connector.
Above-mentioned background application equipment controls above-mentioned test terminal, is sent out again through above-mentioned connector to above-mentioned tested terminal Serve after stating test signal, the above method can also include:Predetermined maximum is reached in the transmission times of above-mentioned test signal During transmission times, if above-mentioned background application equipment does not receive above-mentioned test result, above-mentioned background application equipment control yet Above-mentioned test terminal, stops sending above-mentioned test signal to above-mentioned tested terminal.
Above-mentioned test signal can be dtmf signal.
In accordance with a further aspect of the present invention there is provided a kind of test device, the device is applied to above-mentioned connector, the device Including:Test signal receiving module, for receiving the test signal that test terminal is sent, test signal sending module, for inciting somebody to action The test signal is sent to tested terminal.
Said apparatus can also include:Test signal retransmits module, for specifying in duration, if background application equipment Above-mentioned test result is not received, then receives background application equipment again and indicate the above-mentioned test letter that above-mentioned test terminal is sent Number, and above-mentioned test signal is sent to above-mentioned tested terminal.
Said apparatus can also include:Test signal stops paying out module, for being reached in the transmission times of above-mentioned test signal , should according to above-mentioned backstage if background application equipment does not receive above-mentioned test result yet during predetermined maximum number of times of transmission Corresponding operating is performed with the instruction for stopping paying out test signal of equipment.
By the present invention, the equipment interface being attached with exterior terminal is provided with connector, it is outside whole for receiving and dispatching The test signal at end;Impedance matching circuit is additionally provided with connector, the impedance matching circuit includes first port, electric capacity, electricity Resistance and second port, the impedance matching of the transmission signal for realizing exterior terminal, exterior terminal is realized by the connector Test, solve that the third party device testing process that Product checking in correlation technique uses is complicated, the problem of port is less increases The quantity of test port is added, has reduced manpower and equipment cost, simplified building for test environment, so as to ensure quality Under the premise of be efficiently completed the detection of product.
Brief description of the drawings
Accompanying drawing described herein is used for providing a further understanding of the present invention, constitutes the part of the application, this hair Bright schematic description and description is used to explain the present invention, does not constitute inappropriate limitation of the present invention.In the accompanying drawings:
Fig. 1 is the structural representation of connector according to embodiments of the present invention;
Fig. 2 is the circuit diagram of the first connector according to embodiments of the present invention;
Fig. 3 is the circuit diagram of second of connector according to embodiments of the present invention;
Fig. 4 is the structured flowchart of test system according to embodiments of the present invention;
Fig. 5 is the flow chart of method of testing according to embodiments of the present invention;
Fig. 6 is the structured flowchart of test device according to embodiments of the present invention;
Fig. 7 is the concrete structure block diagram of test device according to embodiments of the present invention;
Fig. 8 is the structural representation of the hardware module of test system according to embodiments of the present invention;
Fig. 9 is the structural representation of the software module of test system according to embodiments of the present invention;
Figure 10 is the method for testing flow chart of VOIP terminal hardwares according to embodiments of the present invention and driving;
Figure 11 is the flow chart of interacting message processing between each software module according to embodiments of the present invention.
Embodiment
Describe the present invention in detail below with reference to accompanying drawing and in conjunction with the embodiments.It should be noted that not conflicting In the case of, the feature in embodiment and embodiment in the application can be mutually combined.
In the case of the production in enormous quantities of the products such as terminal device, the third party device quantity that batch testing needs is very It is many, it is corresponding the need for be equipped with enough human resources etc..Based on this, the embodiments of the invention provide a kind of connector and test side Method, device and system.It is described in detail below by embodiment.
A kind of connector is present embodiments provided, the structure of connector according to embodiments of the present invention as shown in Figure 1 is shown It is intended to, connector includes equipment interface 12 and impedance matching circuit 14, and the structure is illustrated below.
The equipment interface 12 being attached with exterior terminal, the test signal for receiving and dispatching exterior terminal;
Impedance matching circuit 14, including first port, electric capacity, resistance and second port, wherein, above-mentioned electric capacity is connected on Between above-mentioned first port and above-mentioned second port, above-mentioned resistor coupled in parallel is between above-mentioned first port and above-mentioned second port.
By the present embodiment, the equipment interface 12 being attached with exterior terminal is provided with connector, it is outer for receiving and dispatching The test signal of portion's terminal;Impedance matching circuit 14 is additionally provided with connector, the impedance matching circuit includes first port, electricity Appearance, resistance and second port, the impedance matching of the transmission signal for realizing exterior terminal, pass through the connector and realize outside The test of terminal, solves the third party device testing process complexity that Product checking in correlation technique is used, port is less to ask Topic, adds the quantity of test port, reduces manpower and equipment cost, simplify building for test environment, so as to ensure The detection of product is efficiently completed on the premise of quality.
When testing products such as terminals, because the voice signal of test is generally 1KHz AC signal, when When SLIC is in off-hook state, circulation direct current is 20mA, and 1KHz voice signal is superimposed on this direct current, in order to only transmit friendship Stream Design of Signal has gone out the circuit diagram of the first connector as shown in Figure 2, because the characteristic of electric capacity is straight for logical exchange resistance Stream, so sealing in electric capacity in the middle of the wire of the connector shown in Fig. 2, so, communicating voice signal just can be passed by this electric capacity It is defeated to arrive distant terminal SLIC.Terminal is connected by the FXS mouths of terminal with the circuit of connector.
But, because the premise that SLIC carries out normal digital-to-analogue processing work is that SLIC must be caused to be in off-hook state, if FXS progress loops are reached into certain loop current(More than 18mA), then SLIC can be in off-hook state, but have to loop resitance The loop resitance allowed in certain requirement, standard is no more than 1800 ohm, in order that each terminal is all located under this loop circuit state In off-hook state, then loop resitance is smaller, electric current gets over great talent and can guarantee that each terminal is in off-hook state, therefore designs such as Fig. 3 institutes The circuit diagram of second of the connector shown.
Connector in Fig. 3 is incorporated to resistance in centre on the basis of the connector shown in Fig. 2, can cause SLIC by resistance The state that off-hook is kept is reached, resistance can not be excessive(<1800 ohm)If resistance is excessive, does not reach off-hook and keep required Circulating current, this connection can calculate AC signal and pass through equiva lent impedance 1/iwc during electric capacity by the connection of PI types.In w Under conditions of certain, the more big then equiva lent impedance of electric capacity is smaller, and the decay of signal is smaller, for R resistance exploitation by above-mentioned Loop resitance is smaller, the bigger conclusion of electric current, learns that R resistance is the smaller the better, but for meter that AC signal passes through this connector Calculation learns that the bigger decay of this R resistance is smaller, it is assumed that C is 2uF, and equiva lent impedance is 79 ohm, and R is respectively 100 ohm, 500 ohm, 1000 ohm, at 1500 ohm, the signal attenuation of this connector is respectively 10.31db, 4.83db, 3.43db, 2.81db.Cause This, the signal attenuation at 1500 ohm ~ 1800 ohm of resistance R values is small, electric current bigger knot smaller with reference to above-mentioned loop resitance By, finally draw resistance R take 1500 ohm it is more suitable.
And for the value of electric capacity, it is certainly maximum best, by conventional 2uF and 2.2uF electric capacity, calculate R For 1500 ohm when connector signal decay be respectively 2.81db, 2.68db.Therefore generally, conventional 2.2uF is taken Electric capacity can reach the small and low cost preferable effect of decaying.In actual applications, on one piece of test board it is solderable it is multipair on State connector.Certainly, the value of resistance and electric capacity is not limited only to above-mentioned value on connector, as long as signal can be reached Decay is small, realizes impedance matching.The circuit structure of connector is also not limited to the construction in above-mentioned Fig. 3, as long as energy It is enough to lead to exchange, realize impedance matching.
With reference to above-mentioned shown connector, in order that above-mentioned impedance circuit reaches the better of impedance matching, above-mentioned electricity The number of appearance could be arranged to 2, and the number of above-mentioned resistance could be arranged to 2, for the impedance of 2 electric capacity and 2 resistance The specific configuration of circuit, present embodiments provides an end of an electric capacity in the electric capacity of a kind of preferred embodiment, i.e., two Mouth is connected with first port, and another port of the electric capacity is connected with second port;One of another electric capacity in two electric capacity Individual port is connected with first port, and another port of another electric capacity is connected with second port;One in two resistance Resistor coupled in parallel is between first port and second port, and another resistor coupled in parallel in two resistance is in first port and the second end Between mouthful.The capacitance of above-mentioned electric capacity could be arranged to 2.2 microfarads, and the resistance value of above-mentioned resistance could be arranged to 1500 ohm.
Based on the connector in above-described embodiment, a kind of test system, test system as shown in Figure 4 are present embodiments provided The structured flowchart of system, the system includes:Connector 22, test terminal 24 in above-described embodiment, and tested terminal 26, its In, above-mentioned test terminal 24 includes the first equipment interface 240, is attached for the equipment interface 12 with above-mentioned connector;On Stating tested terminal 26 includes the second equipment interface 260, is attached for the equipment interface 12 with above-mentioned connector.
By the present embodiment, the connector 22 in test system is connected between test terminal 24 and tested terminal 26, The test of terminal is realized by the connector 22 in test system, the third party that Product checking in correlation technique uses is solved and sets Standby testing process is complicated, and the problem of port is less adds the quantity of test port, reduce manpower and equipment cost, simplifies The building of test environment, so as to be efficiently completed the detection of product on the premise of quality is ensured.
Above-mentioned test terminal is sent to above-mentioned tested terminal via above-mentioned connector by above-mentioned first equipment interface and surveyed Trial signal;Above-mentioned tested terminal receives what above-mentioned test terminal was sent by above-mentioned second equipment interface via above-mentioned connector Above-mentioned test signal.Above-mentioned first equipment interface can be FXS mouthfuls of FXS, and above-mentioned second equipment interface can be above-mentioned FXS mouthfuls.
This implementation provides a kind of method of testing, and the flow chart of method of testing as shown in Figure 5, this method includes following step Suddenly(Step S502- steps S506):
Step S502, connector receives the test signal that test terminal is sent.It is preferred that, the construction of the connector is above-mentioned The construction of connector in embodiment is identical.
The test signal is sent to tested terminal by step S504, connector.
Step S506, above-mentioned tested terminal is tested according to above-mentioned test signal.
By the above method, connector receives the test signal that test terminal is sent, and by the test signal be sent to by Terminal is tested, then above-mentioned tested terminal is tested according to above-mentioned test signal, realized by above-mentioned connector outside whole The test at end, it is complicated to solve the third party device testing process that Product checking in correlation technique uses, the problem of port is less, The quantity of test port is added, manpower and equipment cost is reduced, building for test environment is simplified, so as to ensure quality On the premise of be efficiently completed the detection of product.
Before connector receives the test signal that test terminal is sent, background application equipment(It is referred to as webmaster)Will Test starts message and is sent to tested terminal;Tested terminal receives above-mentioned test and started after message, performs off-hook operation, Then, analog test signal is first converted into digital test signal by test terminal, then tests terminal by connector to tested Try terminal and send digital test signal, realize the test to being tested terminal.Test terminal and tested terminal all pass through network interface It is connected with webmaster, carries out signal interaction.
After tested terminal receives digital test signal, digital test signal is first converted into simulation by tested terminal Test signal, then compares the test signal and preset signals of reception, if comparative result is test signal and preset signals one Cause, be tested terminal and send the correct result of test to webmaster, if comparative result is that test signal and preset signals are inconsistent, Tested terminal sends the result of test errors to webmaster.Generally, test terminal send analog signal before, it is necessary to Data signal is first converted analog signals into, the operation such as encapsulation is then compressed, signal is sent, tested terminal connects Receive after data signal, the operations such as decapsulation decompression are first carried out to data signal, analog signal are then reduced to, if above-mentioned Test result is mistake, it is likely that caused by being due to the analog-to-digital conversion of signal.
By above-mentioned testing process, webmaster can smoothly receive the test knot that tested terminal is fed back according to test signal Really, it is possible to test result is shown on a display screen, test result is more intuitively shown.Above-mentioned test signal can be double Sound multifrequency(Dual-Tone Multi-Frequency, referred to as DTMF)Signal.
Certainly, when connector sends test signal to tested terminal, timer can also be set, in specified duration It is interior, if background application equipment(It is referred to as webmaster)Test result is not received, and terminal is tested in the control of background application equipment, Again through connector test signal is sent to tested terminal.By the above-mentioned means, can find not receive test knot During fruit, take corresponding measure to continue to test tested terminal immediately, optimize testing process.
After connector sends test signal to tested terminal again, connector can also set counter, be used for The test signal transmission times of connector is counted, when the transmission times of test signal reaches predetermined maximum number of times of transmission, such as Fruit background application equipment does not receive test result yet, then background application equipment control test terminal, stops to tested terminal Send test signal.Test signal is sent to tested terminal by the above-mentioned means, preventing connector undying, simplifies test Flow, it is to avoid the wasting of resources.
Corresponding to above-mentioned method of testing, the present embodiment additionally provides a kind of test device, and the device is applied to above-mentioned implementation Connector in example, for realizing above-described embodiment.Fig. 6 is the structured flowchart of test device according to embodiments of the present invention, such as Shown in Fig. 6, the device includes:The test signal sending module 20 of test signal receiving module 10.The structure is illustrated below.
Test signal receiving module 10, for receiving the test signal that test terminal is sent;
Test signal sending module 20, is connected to test signal receiving module 10, for by the test signal be sent to by Test terminal.
By said apparatus, test signal receiving module 10 receives the test signal that test terminal is sent, then test letter The test signal is sent to tested terminal by number sending module 20, and the test of exterior terminal is realized by above-mentioned connector, is solved The third party device testing process that Product checking is used in correlation technique of having determined is complicated, and the problem of port is less adds test The quantity of port, reduces manpower and equipment cost, simplifies building for test environment, so that high on the premise of quality is ensured The detection of the completion product of effect.
Before connector receives the test signal that test terminal is sent, connector receives the survey that above-mentioned test terminal is sent Runin beginning message, and the test is started into message be sent to tested terminal;Tested terminal receives above-mentioned test and starts to disappear After breath, off-hook operation is performed;Connector receives the confirmation offhook message that tested terminal is returned, and the confirmation offhook message is sent out Give test terminal.After above-mentioned flow, test terminal just can by connector to tested terminal send test signal, Realize the test to being tested terminal.
After tested terminal receives test signal, tested terminal compares the test signal and preset signals of reception, If comparative result is that test signal is consistent with preset signals, it is tested terminal and sends the correct result of test to webmaster, if Comparative result is that test signal and preset signals are inconsistent, is tested the result that terminal sends test errors to webmaster.So, net Pipe can smoothly receive the test result that tested terminal is fed back according to test signal, it is possible to include test result in display On screen.Above-mentioned test signal can be dual-tone multifrequency(Dual-Tone Multi-Frequency, referred to as DTMF)Signal.
Certainly, when connector sends test signal to tested terminal, timer can also be set, in specified duration It is interior, if background application equipment does not receive test result, background application equipment control test terminal and tested terminal it Between initiate testing process again.By the above-mentioned means, when finding not receive test result corresponding measure can be taken immediately Continue to test tested terminal, optimize testing process.
Based on the mode of above-mentioned setting timer, a kind of preferred embodiment, survey as shown in Figure 7 are present embodiments provided The concrete structure block diagram that trial assembly is put, the device in addition to the modules in including Fig. 6, in addition to:Test signal retransmits mould Block 30, is connected to test signal sending module 20, for specifying in duration, if background application equipment does not receive test knot Really, then background application equipment is received again and indicate the test signal that test terminal is sent, and the test signal is sent to tested Try terminal.
After connector sends test signal to tested terminal again, connector can also set counter, be used for The test signal transmission times of connector is counted, when the transmission times of test signal reaches predetermined maximum number of times of transmission, such as Fruit background application equipment does not receive test result yet, then background application equipment sends to test terminal and tested terminal and stopped paying out The instruction of test signal, the testing process terminates.By the above-mentioned means, preventing test terminal is undying from being sent out to tested terminal Test signal is sent, simplifies testing process, it is to avoid the wasting of resources.
Based on the mode of above-mentioned setting counter, a kind of preferred embodiment is present embodiments provided, the device also includes: Test signal stops paying out module, for when the transmission times of test signal reaches predetermined maximum number of times of transmission, if backstage should Do not receive test result yet with equipment, then perform corresponding operating according to the instruction for stopping paying out test signal of platform application apparatus.
Present embodiments provide a kind of test system for realizing high fidelity speech encoding and decoding, the system include hardware module and Software module, hardware module includes two parts, Part I:Terminal hardware part, mainly including central processing unit(Central Processing Unit, referred to as CPU), digital signal processor(Digital Signal Processor, referred to as DSP), subscriber's line circuit(Subscriber Line Circuit, referred to as SLC);Part II:Connector part, mainly includes The DLL that capacitance resistance is constituted(Programming Interface, referred to as PI)Type structural circuit.Pass through the connector The test board of composition can test roads up to a hundred or more simultaneously.
Fig. 8 is the structural representation of the hardware module of test system according to embodiments of the present invention, as shown in figure 8, test The subscriber's line circuit of terminal and tested terminal is connected with connector respectively, and subscriber's line circuit is connected with CPU, digital processing unit.Below CPU, subscriber's line circuit, digital processing unit are introduced respectively.
CPU(HOST veneer primary processors), it is responsible for whole system management and running, controls each part negotiation action.
Subscriber's line circuit(SLC), analog line(AB lines)Access completes the digital conversion with analog signal, and there is provided user's feedback Electricity, carries out user's dislodging machine testing, and the analog signal to input carries out TDM sampled datas feeding caching.
Digital processing unit(DSP), complete to be processed the data in caching, the number after processing according to standard agreement Word voice packet can be transmitted and be identified in a network.
The present embodiment is to realizing that the software module of the test system of high fidelity speech encoding and decoding is described, the test system For realizing the test of product.Fig. 9 is the structural representation of the software module of test system according to embodiments of the present invention, is such as schemed Shown in 9, above-mentioned software module mainly includes:Drive module 901, adaptation module 902, subscriber's line circuit module 903, speech processes mould Block 904 and simulation testing module 905.Wherein, subscriber's line circuit module 903, speech processing module 904 and simulation testing module 905 are located at application layer.The structure is described in detail below.
Drive module 901, including subscriber's line circuit(SLC)Driving, Digital Signal Processing(DSP)Driving, for completing physics The realization of layer, including user's dislodging machine testing, voice digital-to-analogue conversion etc., and operate interface is provided for upper strata, reduce upper strata pair The complexity that lower floor's driving is accessed.
Adaptation module 902, the request for completing application layer to physical layer is forwarded, and shielding upper strata is called to lower floor, shields industry Business layer is to the complex operations of bottom layer driving, and the service that conversion driving layer is provided is for operation layer application.
Subscriber's line circuit module 903, reports dislodging machine phone message, the operation such as processing continues, ring, is responsible for user's timing The determination of duration is scanned, the realization to user's transmitting-receiving number that Signaling Layer is issued is received.
Speech processing module 904, completes foundation, the release of voice channel, is responsible for the business processing of voice, including receive letter The service request of order carry out playback processing, transmitting-receiving number processing, caller identification processing, voice channel processing, encoding and decoding speech handle, Fax processing.
Simulation testing module 905, simulation dislodging machine, the foundation release of voice channel and signal send and detected, are responsible for Control the operation flow of whole tone testing.
Based on above-described embodiment introduce test system software module, the present embodiment using once complete tone testing as Example, the method for testing to VOIP terminal hardwares and driving is introduced, and Figure 10 is that VOIP terminals according to embodiments of the present invention are hard Part and the method for testing flow chart of driving, as shown in Figure 10, this method comprises the following steps(Step S1002- steps S1020):
Step S1002, by testing single-board(Such as VOIP terminals)With tested veneer(Such as VOIP terminals)Pass through phone Line is connected to connector, and upper electricity.Certainly, a VOIP terminal both can be as testing single-board, can also be as tested single Plate.
Simulation testing module on step S1004, testing single-board issues setup test message to tested veneer.
Subscriber's line circuit module on step S1006, tested veneer is received after setup test message, is reported off-hook and is connect It is continuous.
Simulation testing module on step S1008, testing single-board is sent to the speech processing module on tested veneer to be surveyed Runin beginning message, background application equipment sets timer, and the timing length of timer can be determined according to actual conditions.
Step S1010, the speech processing module being tested on veneer receives test and starts message, and sets up voice channel, Etc. test signal to be sent(Such as dtmf signal).
The speech processing module that simulation testing module on step S1012, testing single-board is received on tested veneer is sent Dtmf signal, default dtmf signal string is then received again.
Step S1014, the simulation testing module being tested on veneer believes the dtmf signal received and default DTMF Number string is compared, if the two is consistent, and the simulation testing module on tested veneer will be tested after correct result reports to Platform application apparatus, otherwise reports the result of test errors, it is preferred that can also report number of errors.
Step S1016, background application equipment receives Off Timer after test result, carries out next round test.
Step S1018, after the time of timer is reached, if background application equipment is still without receiving test result, Think test crash, carry out next round test.
Step S1020, after the N wheel tests for completing setting, terminates whole testing process.
It is whether normal in order to test terminal speech and driving, sentenced by the way of DTMF voices are sent and received Disconnected, sender and recipient appoint certain a string of dtmf tone, if the dtmf tone that recipient receives and identifies out is sent with agreement Dtmf tone it is inconsistent, then show that terminal has exception, otherwise represent terminal it is normal.Each module is in each independent process, respectively The information of intermodule is sent and received and all forwarded by adaptation module, and no longer the message forwarding process of adaptation module is carried out below Description.Based on the software module of above-mentioned test system, the flow that the present embodiment is handled interacting message each software module is entered Row is introduced.Figure 11 is the flow chart of interacting message processing between each software module according to embodiments of the present invention, as shown in figure 11, The flow comprises the following steps(Step S1102- steps S1128):
Step S1102, tests the simulation testing module of terminal(Hereinafter simply referred to as simulation testing module)Send pre_test Setup test signal(Subsidiary port numbers)Subscriber's line circuit module to tested terminal(Hereinafter simply referred to as subscriber's line circuit module).
Step S1104, subscriber's line circuit module is received after pre_test message, sends hookoff(Subsidiary port numbers)Off-hook Message is to simulation testing module.
Step S1106, simulation testing module is received after hookof message, and issuing starttest to subscriber's line circuit module opens Beginning test post.
Step S1108, subscriber's line circuit module is received after beginning test post, to SLIC(Subscriber Line Interface Circuit, referred to as SLIC)Driving, which is issued, to continue(Fixation continues or dynamic connecting), open physics and lead to Road, then send Initok initialization completion messages to simulation testing module.
Step S1110, simulation testing module is received after Initok initialization completion messages, is issued to speech processing module Starttest starts test post.
Step S1112, speech processing module is received after beginning test post, and phase DSP drivings issue initialization voice channel, And predetermined DTMF number series is sent, send startok and start test post to simulation testing module.
Step S1114, simulation testing module is received after beginning test post, and background application equipment starts timer, and this is determined When device the setting of specific duration can be determined according to actual conditions.Simulation testing module starts to receive speech processing module hair The dtmf signal sent.
Step S1116, simulation testing module is received after dtmf signal and is compared with default dtmf signal, and to test As a result counted.Have been carried out introducing before specific comparative analysis process, will not be repeated here.
Test result is reported background application equipment by step S1118, simulation testing module, for showing test result.
Step S1120, background application equipment judges whether receive test result in the duration of timer, if it is, Step S1124 is performed, if not, performing step S1122.
Step S1122, carries out next round test, then performs step S1102.
Step S1124, simulation testing module sends stop message to subscriber's line circuit module and speech processing module.
Whether step S1126, background application device statistics testing time reaches default full test number of times, if it is, Step S1128 is performed, if not, performing step S1102.
Step S1128, background application equipment stops paying out the instruction of test signal to test terminal and tested terminal, surveys Examination flow terminates.
As can be seen from the above description, the present invention is realized for IP circuits, more particularly to wired optic communication EPON, GPON, WiMAX etc. can realize the test of VOIP integrated access equipment, break through and traditional carried out with third-party equipment Transmission signal solves bottleneck of the analog signal in transmission test, improves testing efficiency, save to complete the test of voice software and hardware More manpowers and testing cost are saved, building for test environment is simplified, so as to be efficiently completed on the premise of quality is ensured The detection of product.
Obviously, those skilled in the art should be understood that above-mentioned each module of the invention or each step can be with general Computing device realize that they can be concentrated on single computing device, or be distributed in multiple computing devices and constituted Network on, alternatively, the program code that they can be can perform with computing device be realized, it is thus possible to they are stored Performed in the storage device by computing device, and in some cases, can be shown to be performed different from order herein The step of going out or describe, they are either fabricated to each integrated circuit modules respectively or by multiple modules in them or Step is fabricated to single integrated circuit module to realize.So, the present invention is not restricted to any specific hardware and software combination.
The preferred embodiments of the present invention are the foregoing is only, are not intended to limit the invention, for the skill of this area For art personnel, the present invention can have various modifications and variations.Within the spirit and principles of the invention, that is made any repaiies Change, equivalent substitution, improvement etc., should be included in the scope of the protection.

Claims (15)

1. a kind of connector, it is characterised in that including:
The equipment interface being attached with exterior terminal, the test signal for receiving and dispatching the exterior terminal;
Impedance matching circuit, including first port, electric capacity, resistance and second port, wherein, the electric capacity is connected on described Between Single port and the second port, the resistor coupled in parallel is between the first port and the second port;
Wherein, the number of the resistance is two, and a resistor coupled in parallel in two resistance is in the first port and described the Between Two-port netwerk, another resistor coupled in parallel in described two resistance is between the first port and the second port;
Wherein, the capacitance of the electric capacity is 2.2 microfarads, and the resistance value of the resistance is 1500 ohm.
2. connector according to claim 1, it is characterised in that the number of the electric capacity is two.
3. connector according to claim 2, it is characterised in that
The a port of an electric capacity in two electric capacity is connected with the first port, another port of one electric capacity It is connected with the second port;The a port of another electric capacity in described two electric capacity is connected with the first port, institute Another port for stating another electric capacity is connected with the second port.
4. a kind of test system, it is characterised in that including:Connector, test terminal any one of claims 1 to 3, And tested terminal, wherein,
The test terminal includes the first equipment interface, is attached for the equipment interface with the connector;
The tested terminal includes the second equipment interface, is attached for the equipment interface with the connector.
5. test system according to claim 4, it is characterised in that
The test terminal sends test letter via the connector by first equipment interface to the tested terminal Number;
The tested terminal receives the institute that the test terminal is sent by second equipment interface via the connector State test signal.
6. the test system according to claim 4 or 5, it is characterised in that first equipment interface is FXS FXS mouthfuls, second equipment interface is described FXS mouthfuls.
7. a kind of method of testing, it is characterised in that including:
Connector any one of claims 1 to 3 receives the test signal that test terminal is sent;
The test signal is sent to tested terminal by the connector;
The tested terminal is tested according to the test signal.
8. method according to claim 7, it is characterised in that the tested terminal is surveyed according to the test signal After examination, methods described also includes:
Test result is fed back to background application equipment by the tested terminal.
9. method according to claim 8, it is characterised in that the test result is fed back to institute by the tested terminal Stating background application equipment includes:
The tested terminal compares the test signal and preset signals of reception;
If comparative result is that the test signal is consistent with the preset signals, the tested terminal is to the background application Equipment sends the correct result of test, if comparative result is that the test signal and the preset signals are inconsistent, the quilt Test the result that terminal sends test errors to the background application equipment.
10. method according to claim 8, it is characterised in that the tested terminal feeds back to the test result After the background application equipment, methods described also includes:
Specifying in duration, if the background application equipment does not receive the test result, the background application equipment The test terminal is controlled, the test signal is sent to the tested terminal again through the connector.
11. method according to claim 10, it is characterised in that the background application equipment controls the test terminal, After sending the test signal to the tested terminal again through the connector, methods described also includes:
When the transmission times of the test signal reaches predetermined maximum number of times of transmission, if the background application equipment is not yet The test result is received, then the background application equipment controls the test terminal, stop sending out to the tested terminal Send the test signal.
12. the method according to any one of claim 7 to 11, it is characterised in that the test signal is dual-tone multifrequency Dtmf signal.
13. a kind of test device, applied to the connector any one of claims 1 to 3, it is characterised in that including:
Test signal receiving module, for receiving the test signal that test terminal is sent;
Test signal sending module, for the test signal to be sent into tested terminal.
14. device according to claim 13, it is characterised in that described device also includes:
Test signal retransmits module, for specifying in duration, if background application equipment does not receive the test result, Again receive background application equipment and indicate the test signal that the test terminal is sent, and the test signal is sent to The tested terminal.
15. device according to claim 14, it is characterised in that described device also includes:
Test signal stops paying out module, for when the transmission times of the test signal reaches predetermined maximum number of times of transmission, such as Fruit background application equipment does not receive the test result yet, then according to the finger for stopping paying out test signal of the background application equipment Show execution corresponding operating.
CN201210218607.8A 2012-06-28 2012-06-28 Connector and method of testing, device and system Active CN103515813B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210218607.8A CN103515813B (en) 2012-06-28 2012-06-28 Connector and method of testing, device and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210218607.8A CN103515813B (en) 2012-06-28 2012-06-28 Connector and method of testing, device and system

Publications (2)

Publication Number Publication Date
CN103515813A CN103515813A (en) 2014-01-15
CN103515813B true CN103515813B (en) 2017-10-27

Family

ID=49898113

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210218607.8A Active CN103515813B (en) 2012-06-28 2012-06-28 Connector and method of testing, device and system

Country Status (1)

Country Link
CN (1) CN103515813B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101287263A (en) * 2008-06-11 2008-10-15 中国移动通信集团湖北有限公司 Test method, system and server for relay link in exchange network
CN101752013A (en) * 2008-12-04 2010-06-23 鸿富锦精密工业(深圳)有限公司 Testing device
CN102346222A (en) * 2011-06-09 2012-02-08 迈普通信技术股份有限公司 Device, system and method for testing output electrical signals of optical interfaces

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB2469229B (en) * 2005-11-04 2011-02-02 Nec Corp Wireless communication system and method of controlling a transmission power

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101287263A (en) * 2008-06-11 2008-10-15 中国移动通信集团湖北有限公司 Test method, system and server for relay link in exchange network
CN101752013A (en) * 2008-12-04 2010-06-23 鸿富锦精密工业(深圳)有限公司 Testing device
CN102346222A (en) * 2011-06-09 2012-02-08 迈普通信技术股份有限公司 Device, system and method for testing output electrical signals of optical interfaces

Also Published As

Publication number Publication date
CN103515813A (en) 2014-01-15

Similar Documents

Publication Publication Date Title
US4154988A (en) Method and means for accessing program memory of a common control telecommunications switching system
CN102333163B (en) External auxiliary testing apparatus, and testing system thereof and method thereof
US3800090A (en) Communication and telemetry arrangement
CN1170492A (en) System for TDMA mobile-to-mobile vselp codec bypass
JPS5915598B2 (en) button telephone exchange system
CN107613147A (en) A kind of special telephone line device for intelligently switching, test system and method for testing
WO2009000120A1 (en) A narrow-band subscriber board bearing test function and a method for automatic test of subscriber line
CN109275051B (en) ONU voice function detection method and system
CN106878570A (en) A kind of speech business method of testing and system
US4640992A (en) Speech response interface circuit
CN103515813B (en) Connector and method of testing, device and system
CN1113639A (en) Method for interpreting dialled digits of a dialling sequence transmitted by a dialling means to a radio transceiver
US4238649A (en) Call simulator
JPH07307792A (en) Test/fault request accepting communication equipment
CN102377888A (en) System, device and method for implementing microwave communication on-line public telephone
CN104394254A (en) IP (Internet Protocol) technology-based four-channel voice commanding communication terminal
CN101645982B (en) Method and service veneer for voice terminal simulation test
CN1889600A (en) Insertion gate testing device, testing system and testing method
CN1490997A (en) Dual net IP telephone realizing method and dual net IP telephone concentrator
CN206977523U (en) The multiplex system of incoming call ID detections
CN207427375U (en) A kind of Ethernet passive optical network user Multi-path synchronous tester
CN207039603U (en) Centralized network warning system
CN1256574A (en) Analog calling device
JPH0330345B2 (en)
CN205670786U (en) A kind of measurement and control signal audio communication circuitry

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant