Summary of the invention
Embodiments of the invention provide a kind of method and service board of voice terminal simulation test, realize voice terminal simulation test for simple and flexible.
Embodiments of the invention provide a kind of service board for voice terminal simulation test, comprise: the first test bus, the second test bus, operational trials circuit, the first line capture module, the second line capture module, service convergence and processing unit and business interface unit, wherein:
Described business interface unit comprises multiple business unit interface;
Described first test bus is connected with described first line capture module and described operational trials circuit, and described second test bus is connected with described second line capture module and described operational trials circuit;
Described first line capture module, for the first business unit interface in described business interface unit is connected to described first test bus by described first line capture module, disconnects the external connection of described first business unit interface simultaneously;
Described second line capture module, for the second business unit interface in described business unit interface is connected to described second test bus by described second line capture module, disconnects the external connection of described second business unit interface simultaneously;
Described operational trials circuit, for testing the path between the first business unit interface be connected with described first test bus and the second business unit interface be connected with described second test bus;
Whether service convergence and processing unit, be connected with described business interface unit, for sending voice signal by described first business unit interface, and detect from described second business unit interface to the voice signal returned; Or send voice signal by described second business unit interface, and whether detect from described first business unit interface to the voice signal returned.
Embodiments of the invention also provide a kind of voice terminal simulation test method, be applied in the equipment comprising the first test bus, the second test bus, operational trials circuit, the first line capture module, the second line capture module and business interface unit, described business interface unit comprises multiple business unit interface; The present invention includes:
By described first line capture module, the first business unit interface in described business interface unit is connected to described first test bus, the external connection of described first business unit interface is disconnected simultaneously;
By described second line capture module, the second business unit interface in described business unit interface is connected to described second test bus, the external connection of described second business unit interface is disconnected simultaneously;
Tested by the path between described operational trials circuit pair the first business unit interface be connected with described first test bus and the second business unit interface of being connected with described second test bus, comprising:
Send voice signal by described first business unit interface, and whether detect from described second business unit interface to the voice signal returned; Or send voice signal by described second business unit interface, and whether detect from described first business unit interface to the voice signal returned.
Compared with prior art, embodiments of the invention have the following advantages:
In the method that the embodiment of the present invention provides and service board, being tested needing the business unit interface of test to be connected to operational trials circuit by the first line capture module and the second line capture module, achieving the Call Emulation Test between any two interfaces.Thus simplify system, reduce system cost.
Embodiment
Embodiments of the invention provide a kind of service board for voice terminal simulation test, by building simple terminal emulation circuit, under the cooperation of line capture module, operational trials circuit and other auxiliary circuits, realize the calling copying between any two groups of ports, and simple port test function is provided simultaneously.
This service board being used for voice terminal simulation test comprises: the first test bus, the second test bus, operational trials circuit, the first line capture module, the second line capture module and business interface unit, wherein:
Described business interface unit comprises multiple business unit interface;
Described first test bus is connected with described first line capture module and described operational trials circuit, and described second test bus is connected with described second line capture module and described operational trials circuit;
Described first line capture module, for the first business unit interface in described business interface unit is connected to described first test bus by line capture module, disconnects the external connection of described first business unit interface simultaneously;
Described second line capture module, for the second business unit interface in described business unit interface is connected to described second test bus by line capture module, disconnects the external connection of described second business unit interface simultaneously;
Described operational trials circuit, for testing the path between the first business unit interface be connected with described first test bus and the second business unit interface be connected with described second test bus.
Concrete, in one embodiment of the invention, for the service board of voice terminal simulation test structure as shown in Figure 2, comprise: the first test bus 101, second test bus 102, operational trials circuit 103, first line capture module 104, second line capture module 105 and business interface unit 106.In addition, service convergence and processing unit 107 and Service Control Unit 108 can also be comprised.
Concrete, test bus (first test bus 101 and the second test bus 102) and operational trials circuit 103 are overlapped by structure first line capture module 104 and the second line capture module 105, structure 2 in the service board of the voice go-and-return test of the embodiment of the present invention, and utilize the Service Control Unit 108 of current operation veneer self and the function of service convergence and processing unit 107, terminal emulation functionality and basic port performance test is realized in veneer inside.
Operational trials circuit 103, for testing the path between the business unit interface be connected with the first test bus 101 and the business unit interface be connected with the second test bus 102.
First line capture module 104, for one of them business unit interface of business unit interface 1 ~ n in business interface unit 106 is connected to the first test bus 101 by line capture module, this business unit interface and service board external interface are disconnected simultaneously, this business unit interface is disconnected with extraneous connection.
Second line capture module 105, for one of them business unit interface of business unit interface n+1 ~ m is connected to the second test bus 102 by line capture module, this business unit interface and service board external interface are disconnected simultaneously, this business unit interface is disconnected with extraneous connection.
For the structure of above-mentioned first line capture module 104 and the second line capture module 105, for the first line capture module 104, the structure of line capture module as shown in Figure 3.By K switch 1 to Kn, can disconnect with needing the business interface unit of the veneer tested with outside connection, and be connected on the first test bus 101.
Wherein, business interface unit 106, service convergence and processing unit 107 and Service Control Unit 108 are basic frameworks of existing business veneer, the basic function of narrow industry speech business veneer can be realized and complete the conversion of traditional TDM (Time Division Multiple, time division multiplexing) voice signal to IP.
Concrete, the structure of operational trials circuit 103 as shown in Figure 4, comprising:
Functional test module 201, for realizing the coupling function of voice signal transmitted in both directions between business unit interface off-hook and two business unit interfaces, comprises T1, C1, C2, R1 and R2 further.Wherein:
T1 is audio frequency transformer, for the voice signal be coupled between 2 business unit;
C1 and C2 is capacitance;
R1 and R2 is the off-hook resistance of analog service unit interface;
KT1 and KT2 is bidirectional switch, object be test bus is linked into functional test module 201 or and functional test module 201 disconnect.
Line voltage distribution test module 202, for the voltage of sampling on the first test bus 101 and the second test bus 102.
In the above-mentioned veneer for voice go-and-return test that the embodiment of the present invention provides, being tested needing the business unit interface of test to be connected to operational trials circuit by the first line capture module and the second line capture module, achieving the Call Emulation Test between any two interfaces.Thus simplify system, reduce system cost.In addition, the circuit of the embodiment of the present invention can provide the test of basic service port basic function simultaneously, provides supplementary means for localizing faults produces.
Embodiments of the invention provide a kind of method of voice terminal simulation test, be applied in the equipment comprising the first test bus, the second test bus, operational trials circuit, the first line capture module, the second line capture module and business interface unit, described business interface unit comprises multiple business unit interface.As shown in Figure 5, the method comprises:
Step s501, by described first line capture module, the first business unit interface in described business interface unit is connected to described first test bus, the external connection of described first business unit interface is disconnected simultaneously;
Step s502, by described second line capture module, the second business unit interface in described business unit interface is connected to described second test bus, the external connection of described second business unit interface is disconnected simultaneously;
Step s503, to be tested by the path between described operational trials circuit pair the first business unit interface be connected with described first test bus and the second business unit interface of being connected with described second test bus.
Concrete, embodiments of the invention can under the control of Service Control Unit 108, realize any one interface in the business unit interface 1 ~ n of veneer inside and any one interface in business unit interface n+1 ~ m sets up talking state, send audio signal by service convergence and processing unit 107 to the interface setting up call and receive from another interface simultaneously, thus judging that whether the voice pathway of veneer inside is normal.The loop tone testing of this veneer inside comprises the following steps:
(1), by Service Control Unit 108 select the interface (such as business unit interface 1) that the first test bus 101 will be tested, select another interface of the second test bus 102 as test port (such as business unit interface m) simultaneously.
(2), control the first line capture module 104, the business unit interface 1 that will test is switched on the first test bus 101; Control the second line capture module 105, the business unit interface m that will test is switched on the second test bus 102.
(3) KT1 and KT2, in service control test circuit 103, be switched in functional test module 201 by the first test bus 101 and the second test bus 102, two at this moment tested interfaces are all in off hook state.
(4), by the service call flow process of service board inside, 2 interfaces are created as INCOM intercom state on service convergence and processing unit 107.
(5), after service channel is successfully established, for the voice go-and-return test access diagram shown in Fig. 6, from service convergence and processing unit 107 voice signals, through business unit interface m and the second line capture module 105, be coupled on the first test bus 101 by operational trials circuit 103, and arrive service convergence and processing unit 107 by the first line capture module 106 and business unit interface 1, the voice detection function of service convergence and processing unit 107 is adopted to detect whether there is voice signal, thus whether sentence this speech business unit interface m normal to the voice pathway of business unit interface 1.Oppositely signal can be sent equally from service convergence and processing unit 107, through business unit interface 1 and the first line capture module 104, be coupled on the second test bus 102 by operational trials circuit 103, and arrive service convergence and processing unit 107 by the second line capture module 105 and business unit interface m, adopt the voice detection function of service convergence and processing unit 107 to detect whether there is voice signal, thus verify that whether this speech business unit interface 1 is normal to the voice pathway of business unit interface m.
Simultaneously by the service board of the terminal simulation test of this programme, all passages comprising whole speech business net can also be analyzed whether normal.Its main voice go-and-return test access diagram as shown in Figure 7.The service channel emulation testing of Fig. 7 expands on the basis of the test shown in Fig. 6, when after the system residing for veneer and the docking of whole business network, after on the basis according to the test shown in Fig. 6, optional 2 ports set up call, signal can be sent from a port according to the same manner, the related channel program of this signal through veneer inside is coupled to another passage, and be sent to speech business net through service convergence and processing unit, and the signal that speech business net sends the most at last turns back to test port and detects, thus judge that whether service channel is normal.The transmission of voice signal is received and dispatched similar to reception to the voice signal related in the voice signal detection method shown in above-mentioned Fig. 6, does not carry out repeated description at this.
By using the service board of above-mentioned voice go-and-return test, embodiments of the invention also supporting business plate veneer unit interface basic index test.
Concrete, embodiments of the invention can realize the test of the following index of unit interface: idle feed voltage, off-hook loop current, port antipole function, ringing-current amplitude, handoff functionality, on-hook function, cut bell function, pulse telephone number receiving function etc.Owing to being the same at business interface unit 1 ~ n and business interface unit n+1 ~ m on concrete test realizes, therefore the realization of interface unit 1 ~ n corresponding part is only described in the following description.The implementation method of main test is as follows:
(1) idle feed voltage: tested business unit interface is switched on the first test bus 101 by the first line capture module 104, KT1 switch 5 in first line capture module 104,6 are switched to 1, above 4, line voltage distribution test module 202 is then utilized to test voltage between the first test bus 101.
(2) off-hook loop current: tested business unit interface is switched on the first test bus 101 by the first line capture module 104, KT1 switch 5 in first line capture module 104,6 are switched to 2, analog service port off-hook above 3, then utilize line voltage distribution test module 202 to test voltage between test bus, test voltage can be obtained loop current divided by the R1 in 201.
(3) port antipole function: first completed business interface unit antipole by Systematical control under off-hook, is then utilized the mode of above-mentioned (2) to test voltage between lines, judges that whether antipole is normal by the polarity of interline voltage.
(4) ringing-current amplitude: tested business unit interface is switched on the first test bus 101 by the first line capture module 104, KT1 switch 5 in first line capture module 104,6 are switched to 1, above 4, then send ringing signal by Service Control Unit 108, utilize line voltage distribution test module 202 to test voltage between test bus.
(5) handoff functionality: by controlling the KT1 in the first line capture module 104, tested business unit interface being linked into functional test module 201, then judging that can business interface unit produce off-hook event.
(6) on-hook function: under off hook state, by controlling the KT1 break function test module 201 in the first line capture module 104, judges whether tested business interface unit produces onhook event.
(7) bell function is cut: on the basis of ringing-current amplitude test (4), the KT1 switch 5,6 in the first line capture module 104 is switched to 2, on 3, and then measurement circuit voltage, judge whether the ringing-current of tested business interface unit stops.
(8) pulse telephone number receiving function: by controlling the KT15 in the first line capture module 104,6 at Isosorbide-5-Nitrae and 2, switch, the pulse dialing process of analog station, thus can test service interface unit correctly detect pulse number between 3.
In the method that the embodiment of the present invention provides and service board, being tested needing the business unit interface of test to be connected to operational trials circuit by the first line capture module and the second line capture module, achieving the Call Emulation Test between any two interfaces.Thus simplify system, reduce system cost.In addition, the circuit of the embodiment of the present invention can provide the test of basic service port basic function simultaneously, provides supplementary means for localizing faults produces.
Through the above description of the embodiments, those skilled in the art can be well understood to the present invention can by hardware implementing, and the mode that also can add necessary general hardware platform by software realizes.Based on such understanding, technical scheme of the present invention can embody with the form of software product, it (can be CD-ROM that this software product can be stored in a non-volatile memory medium, USB flash disk, portable hard drive etc.) in, comprise some instructions and perform method described in each embodiment of the present invention in order to make a computer equipment (can be personal computer, server, or the network equipment etc.).
Be only several specific embodiment of the present invention above, but the present invention is not limited thereto, the changes that any person skilled in the art can think of all should fall into protection scope of the present invention.