CN105049644B - It is mutually dialed based on VOIP automatization test system and test method - Google Patents

It is mutually dialed based on VOIP automatization test system and test method Download PDF

Info

Publication number
CN105049644B
CN105049644B CN201510308505.9A CN201510308505A CN105049644B CN 105049644 B CN105049644 B CN 105049644B CN 201510308505 A CN201510308505 A CN 201510308505A CN 105049644 B CN105049644 B CN 105049644B
Authority
CN
China
Prior art keywords
classification
channel
fxs
classification channel
voip
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
CN201510308505.9A
Other languages
Chinese (zh)
Other versions
CN105049644A (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.)
Shenzhen Gongjin Electronics Co Ltd
Original Assignee
Shenzhen Gongjin Electronics Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Gongjin Electronics Co Ltd filed Critical Shenzhen Gongjin Electronics Co Ltd
Priority to CN201510308505.9A priority Critical patent/CN105049644B/en
Publication of CN105049644A publication Critical patent/CN105049644A/en
Application granted granted Critical
Publication of CN105049644B publication Critical patent/CN105049644B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

It is mutually dialed automated testing method, is included the following steps based on VOIP the present invention provides a kind of:The FXS mouths that its first classification channel is connect are established communication connection by voice server with the FXS mouths that corresponding second classification channel is connect;The second classification channel sends DTMF codes by the FXS mouths connect, and the corresponding first classification channel returns to second classification channel after receiving the DTMF codes by the FXS mouths connect;The voice server compares the DTMF codes of passback with the DTMF codes sent out before, if different, test terminates, and returns to test crash information;If the same, the second classification tunnels analogy on-hook, while on-hook is also simulated in corresponding first classification channel after detecting other side's on-hook, and return to the information being successfully tested.Manual dialup test is changed automation dialup test by the equipment, reduces the error of manual operation and the problem that testing efficiency is low.

Description

It is mutually dialed based on VOIP automatization test system and test method
Technical field
The present invention relates to communication technique field, more particularly to it is a kind of based on VOIP mutually dial automatization test system and Test method.
Background technology
With the rapid development of NGN (next generation network), VOIP (Voice over Internet Protocol) due to Its cheap functional expenses also increasingly obtains liking for major network operator.Therefore IAD (the Integrated with VOIP Access Device), i.e. demand of the integrated access equipment in market also gradually increases.
Traditional VOIP equipment test modes are mutually dialled by two FXS (Foreign Exchange Station) interface Phone, and the method for mutually transferring dual-tone multifrequency (Dual Tone Multi Frequency, DTMF) signal are tested. But this method mutually dial operation and transmission touch-tone signal by manually realizing, test speed it is low and easily occur manual operation and Misjudgment is unfavorable for the industrial automation production with keen competition of current production efficiency.
Invention content
Present invention aims at provide a kind of mutually to dial automated testing method based on VOIP, it is intended to solve existing people The problem of work operates VOIP tests, and the automated production of unsuitable batch is tested.
It is mutually dialed automated testing method based on VOIP the present invention provides a kind of, provides a voice server, the language Sound server has mutual corresponding first classification channel and the second classification channel, the first classification channel and the second classification logical Road respectively with VOIP equipment FXS mouthfuls be connected, which includes the following steps:
The FXS mouths that voice server is connect the FXS mouths that its first classification channel is connect with corresponding second classification channel Establish communication connection;
The second classification channel sends DTMF codes by the FXS mouths connect, and corresponding first classification channel passes through The FXS mouths connect return to second classification channel after receiving the DTMF codes;
The voice server compares the DTMF codes of passback with the DTMF codes sent out before, if different, surveys Examination terminates, and returns to test crash information;
If the same, the second classification tunnels analogy on-hook, while corresponding first classification channel is detecting Also on-hook is simulated after other side's on-hook, and returns to the information being successfully tested.
It is mutually dialed automatization test system, including a voice server based on VOIP the present invention also provides a kind of, institute State voice server have multiple TCH test channels, the multiple TCH test channel be divided into correspond it is matched first classification channel and Second classification channel;
It is described first classification channel and second classification channel respectively with VOIP equipment FXS mouthfuls be connected, the voice server Instruction is sent to the first classification channel and the second classification channel:Keep the first classification channel and corresponding second classification logical Off-hook, dialing and on-hook function are simulated in road, and detect the wireline inspection under bell signal and mute state;Make described first point Class channel sends DTMF codes by the FXS mouths connect to corresponding second classification channel, and second classification channel is connect FXS mouths to it is corresponding it is described first classification channel return DTMF codes;
The voice server exports test after the DTMF codes received are compared with the DTMF codes sent out As a result.
It is above-mentioned mutually dial automated testing method based on VOIP and system tested for current VOIP it is relatively broad Test of mutually dialing is changed to automatic test, simultaneously because voice server has multiple ports, to also support multiple FXS mouthfuls Mutual test and the batch testing of dialing.Since manual dialup test is changed automation dialup test by the equipment, reduce artificial The error of operation and the low problem of testing efficiency, and support that batch-automated test also greatly improves production test efficiency, Pole is tested conducive to large-scale batch automatic production.
Description of the drawings
Fig. 1 is the module diagram of automatization test system of mutually being dialed based on VOIP in first embodiment of the invention;
Fig. 2 is the module diagram of automatization test system of mutually being dialed based on VOIP in invention second embodiment;
Fig. 3 is the flow chart of automated testing method of mutually being dialed based on VOIP in first embodiment of the invention;
Fig. 4 is the flow chart of automated testing method of mutually being dialed based on VOIP in second embodiment of the invention.
Specific implementation mode
In order to make technical problems, technical solutions and advantageous effects to be solved by the present invention be more clearly understood, below in conjunction with Accompanying drawings and embodiments, the present invention will be described in further detail.It should be appreciated that specific embodiment described herein is only used To explain the present invention, it is not intended to limit the present invention.
Embodiment one:
Referring to Fig. 1, including based on VOIP automatization test systems of mutually dialing in present pre-ferred embodiments:Including one There are multiple TCH test channels (CH1~CH2*n), the multiple TCH test channel to be divided into phase for voice server, the voice server First classification channel of mutual Corresponding matching and the second classification channel.In the present embodiment, the first classification channel and described second Classification channel is respectively opposite odd chanel and even-numbered channels or opposite upper channel and lower channel, with specific reference to language The port setting classification of sound server.
The first classification channel and the second classification channel by RJ11 (telephone wire) respectively with FXS mouthfuls of VOIP equipment (FXS1, FXS2) is connected, and the voice server sends instruction to the first classification channel and the second classification channel:
It realizes the first classification channel and corresponding second classification tunnels analogy off-hook, dialing and on-hook function, and examines Survey the wireline inspection under bell signal and mute state;First classification channel is set to pass through connect FXS mouths to corresponding Second classification channel sends DTMF codes, and the FXS mouths that second classification channel is connect are logical to corresponding first classification Road returns to DTMF codes;Thereafter, the DTMF codes received are compared the voice server with the DTMF codes sent out After output test result.
Specifically, the second classification channel (first classification channel) of voice server is received by the FXS mouths connect from the The DTMF codes that one classification channel (the second classification channel) returns are preserved, and are compared with the DTMF codes sent out before, if The same then test continues, if different, test terminates, and returns to test crash information
Since the FXS mouth quantity of existing VOIP equipment differs, in test, selected equipment and connection type be It is different.When the VOIP equipment tool there are two FXS mouthfuls when, then this two FXS mouthfuls respectively with correspond matched described first Classification channel is connected with the second classification channel.At this point, between two FXS mouthfuls can network communication, the finger transmitted by voice server Order can be transmitted between two FXS mouthfuls of VOIP equipment, need not increase other equipment.
Embodiment two:
Referring to Fig. 2, only there are one FXS mouthful (FXS1) for some VOIP equipment, then the system of test further include interchanger or VOIP protocol servers.The FXS mouths of the VOIP equipment are connect with the TCH test channel of the voice server, and with described first Channel attached VOIP equipment of classifying and with correspond match it is described second classification channel VOIP equipment exchanged by described Machine or VOIP protocol servers establish communication connection.This kind of equipment is generally required can just be carried out using the registration of VOIP protocol servers Dialup test, therefore VOIP protocol servers are increased, it is connected with VOIP equipment through RJ45 (cable).And for not needing VOIP clothes It is engaged in single FXS mouthful tests of device registration, it can also be using interchanger, using RJ45 (cable) by two or more VOIP equipment phases Connect, realize the communication of network between two FXS mouthfuls in two VOIP equipment, two VOIP equipment are connected together and form one group It is tested.
In above-described embodiment, voice server refers to the computer equipped with sound card and VOIP protocol servers refer to Computer with the software.
Embodiment three:
It please refers to Fig.1 to 3, additionally provides and mutually dialed automated testing method based on VOIP, a voice server is provided, The voice server has mutual corresponding first to classify channel and the second classification channel, first classification channel and second point Class channel respectively with VOIP equipment FXS mouthfuls be connected.In the present embodiment, the first classification channel and second classification channel point Odd chanel and even-numbered channels that Wei be not opposite or opposite upper channel and lower channel, with specific reference to voice server Port setting classification.
More specifically, with reference to figure 1, when VOIP equipment tool is there are two when FXS mouthfuls (FXS1, FXS2), then two FXS Mouth is connect with the mutual corresponding first classification channel and the second classification channel respectively.With reference to figure 2, the VOIP equipment has At one FXS mouthfuls, the FXS mouths of the VOIP equipment are connect with the TCH test channel of the voice server, and with described first point The channel attached VOIP equipment of class is established communication by interchanger or VOIP protocol servers with mutual corresponding VOIP equipment and is connected It connects.
Referring to Fig. 3, based on VOIP automated testing methods of mutually dialing including step in present pre-ferred embodiments S110~step S140:
Step S110, the FXS mouths that voice server is connect its first classification channel and corresponding second classification channel institute The FXS mouths connect establish communication connection.
In more detailed embodiment, step S110 includes following sub-step:
Sub-step 1:VOIP device powers, the first classification tunnels analogy off-hook of the voice server, according to corresponding Second classification connect FXS mouthfuls of the telephone number in channel, dials.By the FXS mouths of connected equipment in the way of DTMF or Calling number is sent using FSK (Frequency Shifting Keying) mode.
Sub-step 2:The first classification Air conduct measurement bell signal state, simulates off-hook after detecting bell signal, makes It obtains two FXS mouthfuls and passes through voice server foundation communication connection.
Step S120, the second classification channel send DTMF codes, corresponding first classification by the FXS mouths connect Channel returns to second classification channel after receiving the DTMF codes by the FXS mouths connect.
Specifically, after voice server establishes connection, the second classification channel is by FXS mouths that is connect transmission DTMF codes to the One classification channel.Such as:The signal wavelength of DTMF codes is 100ms, and the time interval between signal is 200~300ms.Voice service First classification channel of device is received by the FXS mouths connect passes through the FXS mouths that are connect after DTMF codes by all DTMF codes received The second classification channel of voice server is returned to again.
Step S130, the voice server compares the DTMF codes of passback with the DTMF codes sent out before, if not Equally, then test terminates, and returns to test crash information.
Second classification channel of voice server receives the DTMF codes returned from the first classification channel by the FXS mouths connect It is preserved, and is compared with the DTMF codes sent out before, tested and continue if the same, if different, test knot Beam, and return to test crash information.
Step S140, if equally, the second classification tunnels analogy on-hook, while corresponding first classification channel On-hook is also simulated after detecting other side's on-hook, and returns to the information being successfully tested.
Referring to Fig. 4, in a further embodiment, step S140 return the information being successfully tested before further include with Lower step:
Step S150, the second classification channel of voice server off-hook again after checking corresponding first classification channel on-hook After carry out dialup test, dial the telephone number in corresponding first classification channel, specific dial mode is the same as step S110.
Step S160, off-hook after the bell signal that the first classification Air conduct measurement dials to other side;
Step S170, the letter that voice server is successfully tested after detecting the first classification channel off-hook described in return Breath.
The present invention tests relatively broad test of mutually dialing for current VOIP and is changed to automatic test, simultaneously because language Sound server has multiple ports, to also support multiple FXS mouthfuls of mutually dial test and batch testing.Due to the equipment Manual dialup test is changed into automation dialup test, reduces the error of manual operation and the problem that testing efficiency is low, and is supported Batch-automated test also greatly improves production test efficiency, and pole is tested conducive to large-scale batch automatic production.
It is apparent to those skilled in the art that for convenience of description and succinctly, only with above-mentioned each work( Can unit division progress for example, in practical application, can be as needed and by above-mentioned function distribution by different functions Unit is completed, i.e., the internal structure of described device is divided into different functional units or module, described above complete to complete Portion or partial function.Each functional unit in embodiment can be integrated in as in an above-mentioned processing unit, can also be Each unit physically exists alone, can also be during two or more units are integrated in one unit, above-mentioned integrated unit Both the form that hardware may be used is realized, can also be realized in the form of SFU software functional unit.In addition, the tool of each functional unit Body title is also only to facilitate mutually distinguish, the protection domain being not intended to limit this application.The tool of unit in above-mentioned apparatus Body running process, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
Those of ordinary skill in the art may realize that lists described in conjunction with the examples disclosed in the embodiments of the present disclosure Member and algorithm steps can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions are actually It is implemented in hardware or software, depends on the specific application and design constraint of technical solution.Professional technician Each specific application can be used different methods to achieve the described function, but this realization is it is not considered that exceed The scope of the present invention.
In embodiment provided by the present invention, it should be understood that disclosed device and method can pass through others Mode is realized.For example, the apparatus embodiments described above are merely exemplary, for example, the division of the module or unit, Only a kind of division of logic function, formula that in actual implementation, there may be another division manner, such as multiple units or component can be with In conjunction with or be desirably integrated into another system, or some features can be ignored or not executed.Another point, it is shown or discussed Mutual coupling or direct-coupling or communication connection can be by some interfaces, the INDIRECT COUPLING of device or unit or Communication connection can be electrical, machinery or other forms.
The unit illustrated as separating component may or may not be physically separated, aobvious as unit The component shown may or may not be physical unit, you can be located at a place, or may be distributed over multiple In network element.Some or all of unit therein can be selected according to the actual needs to realize the mesh of this embodiment scheme 's.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, it can also It is that each unit physically exists alone, it can also be during two or more units be integrated in one unit.Above-mentioned integrated list The form that hardware had both may be used in member is realized, can also be realized in the form of SFU software functional unit.
If the integrated unit is realized in the form of SFU software functional unit and as independent device sales or use When, it can be stored in a computer read/write memory medium.Based on this understanding, the technical solution of the embodiment of the present invention Substantially all or part of the part that contributes to existing technology or the technical solution can be with software equipment in other words Form embody, which is stored in a storage medium, including some instructions use so that one Computer equipment (can be personal computer, server or the network equipment etc.) or processor (processor) execute this hair The all or part of step of bright each embodiment the method for embodiment.And storage medium above-mentioned includes:USB flash disk, mobile hard disk, Read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic The various media that can store program code such as dish or CD.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the invention, all essences in the present invention All any modification, equivalent and improvement etc., should all be included in the protection scope of the present invention made by within refreshing and principle.

Claims (8)

1. one kind is mutually dialed automated testing method based on VOIP, which is characterized in that provide a voice server, which takes Business utensil has mutual corresponding first classification channel and the second classification channel, the first classification channel and the second classification channel point Not with VOIP equipment FXS mouthfuls be connected, which includes the following steps:
VOIP equipment tool is there are one at FXS mouthfuls, the TCH test channel of the FXS mouth and the voice server of the VOIP equipment Connection, and assisted by interchanger or VOIP with mutual corresponding VOIP equipment with the channel attached VOIP equipment of first classification It discusses server and establishes communication connection;
Voice server establishes the FXS mouths that its first classification channel is connect with the FXS mouths that corresponding second classification channel is connect Communication connection;
The second classification channel sends DTMF codes by the FXS mouths connect, and corresponding first classification channel is by being connect FXS mouths receive and return to second classification channel after the DTMF codes;
The voice server compares the DTMF codes of passback with the DTMF codes sent out before, if different, tests knot Beam, and return to test crash information;
If the same, the second classification tunnels analogy on-hook, while corresponding first classification channel is detecting other side Also on-hook is simulated after on-hook, and returns to the information being successfully tested.
2. test method according to claim 1, which is characterized in that before returning to the information that is successfully tested further include with Lower step:
Second classification channel of voice server carries out dialing survey after off-hook again after checking corresponding first classification channel on-hook The telephone number in corresponding first classification channel is dialed in examination;
Off-hook after the bell signal that the first classification Air conduct measurement dials to other side;
The information that voice server is successfully tested after detecting the first classification channel off-hook described in return.
3. test method according to claim 1, which is characterized in that the voice server by its first classification channel institute The step of FXS mouths connect establish communication connection with the FXS mouths that corresponding second classification channel is connect, specially:
VOIP device powers, the first classification tunnels analogy off-hook of the voice server, according to corresponding second classification channel Connect FXS mouthfuls of telephone number, dials;
The first classification Air conduct measurement bell signal state, off-hook is simulated after detecting bell signal so that two FXS mouthfuls logical It crosses voice server and establishes communication connection.
4. test method according to claim 1, which is characterized in that the first classification channel and second classification are logical Road is respectively opposite odd chanel and even-numbered channels.
5. test method according to claim 1, which is characterized in that the VOIP equipment tool then should there are two at FXS mouthfuls Two FXS mouthfuls connect with the mutual corresponding first classification channel and the second classification channel respectively.
6. a kind of mutually dialed automatization test system based on VOIP, which is characterized in that including a voice server, the voice Server has multiple TCH test channels, and the multiple TCH test channel, which is divided into, corresponds matched first classification channel and second point Class channel, it is described first classification channel and second classification channel respectively with VOIP equipment FXS mouthfuls be connected;
Further include interchanger or VOIP protocol servers, the VOIP equipment tool there are one at FXS mouthfuls, the VOIP equipment FXS mouthfuls connect with the TCH test channel of the voice server, and with the first channel attached VOIP equipment of classification and with phase The VOIP equipment in the second classification channel described in mutual Corresponding matching is established communication by the interchanger or VOIP protocol servers and is connected It connects;
The voice server sends instruction to the first classification channel and the second classification channel:Make first classification channel With corresponding second classification tunnels analogy off-hook, dialing and on-hook function, and the line under bell signal and mute state is detected It detects on road;So that first classification channel is passed through connect FXS mouths and sends DTMF codes, institute to corresponding second classification channel It states the FXS mouths that the second classification channel is connect and returns to DTMF codes to corresponding first classification channel;
The voice server outputs test result after the DTMF codes received are compared with the DTMF codes sent out.
7. test system according to claim 6, which is characterized in that the first classification channel and second classification are logical Road is respectively opposite odd chanel and even-numbered channels.
8. test system according to claim 6, which is characterized in that VOIP equipment tool there are two FXS mouthfuls, then this two A FXS mouthfuls respectively with correspond it is matched it is described first classification channel and second classification channel connect.
CN201510308505.9A 2015-06-08 2015-06-08 It is mutually dialed based on VOIP automatization test system and test method Active CN105049644B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510308505.9A CN105049644B (en) 2015-06-08 2015-06-08 It is mutually dialed based on VOIP automatization test system and test method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510308505.9A CN105049644B (en) 2015-06-08 2015-06-08 It is mutually dialed based on VOIP automatization test system and test method

Publications (2)

Publication Number Publication Date
CN105049644A CN105049644A (en) 2015-11-11
CN105049644B true CN105049644B (en) 2018-08-28

Family

ID=54455834

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510308505.9A Active CN105049644B (en) 2015-06-08 2015-06-08 It is mutually dialed based on VOIP automatization test system and test method

Country Status (1)

Country Link
CN (1) CN105049644B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101990040A (en) * 2010-11-10 2011-03-23 深圳市共进电子有限公司 System and method for testing voice over internet protocol (VOIP) device
CN102984395A (en) * 2012-12-24 2013-03-20 中怡(苏州)科技有限公司 Automatic voice testing structure of voice over internet phone
CN104580752A (en) * 2013-10-18 2015-04-29 深圳市共进电子股份有限公司 Test method and system for data transparent transmission

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070140224A1 (en) * 2005-12-21 2007-06-21 Chien-Chung Cheng Personal gateway and the method of processing the same

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101990040A (en) * 2010-11-10 2011-03-23 深圳市共进电子有限公司 System and method for testing voice over internet protocol (VOIP) device
CN102984395A (en) * 2012-12-24 2013-03-20 中怡(苏州)科技有限公司 Automatic voice testing structure of voice over internet phone
CN104580752A (en) * 2013-10-18 2015-04-29 深圳市共进电子股份有限公司 Test method and system for data transparent transmission

Also Published As

Publication number Publication date
CN105049644A (en) 2015-11-11

Similar Documents

Publication Publication Date Title
CN105119877B (en) Speech verification method, apparatus and system
US8259906B2 (en) System and method for testing a DSL and POTS connection
CN101072047B (en) DSLAN port fast detecting device
CN102333163B (en) External auxiliary testing apparatus, and testing system thereof and method thereof
CN106162700B (en) A kind of test method, device and the terminal of terminal speech quality
CN104852937B (en) Method for network access and device for mobile application
CN106412192B (en) A kind of mobile terminal test method and its system
JP6974688B2 (en) Communication methods, terminals, telecommunications company servers and smart devices
CN103517375B (en) A kind of to multiple mobile equipment identification, the method for communication and device
CN104093114B (en) A kind of detection means of earphone keystroke, detecting system and detection method
CN106817258A (en) A kind of method and device chosen and verify PCIE link equalization parameters
CN103856411A (en) Switching system connected with UART interface of router
CN105119937B (en) The call method and device of user terminal
CN101160617A (en) Auto-recognition method, system and device for speeches in a limited scope
CN104125593B (en) A kind of information processing method and electronic equipment
CN105049644B (en) It is mutually dialed based on VOIP automatization test system and test method
CN102970449B (en) Method and device for issuing caller information
CN1893476B (en) Device for automatically testing and monitoring network gate characteristics
CN101895443A (en) Media gateway and media resource detection method
CN105163288B (en) Cluster communication method and group communication system
CN101431768A (en) Single-pass fault distinguishing method
CN106792474A (en) The connection method of audio Bluetooth pairing, apparatus and system
CN105959453A (en) Multi-channel synchronous test VOIP test system and test method thereof
US20080205285A1 (en) Remote network element testing in a broadband communications network
CN104836836B (en) The method, apparatus and terminal of network connection

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