CN108134882A - Snoopy test method and apparatus - Google Patents

Snoopy test method and apparatus Download PDF

Info

Publication number
CN108134882A
CN108134882A CN201711371298.7A CN201711371298A CN108134882A CN 108134882 A CN108134882 A CN 108134882A CN 201711371298 A CN201711371298 A CN 201711371298A CN 108134882 A CN108134882 A CN 108134882A
Authority
CN
China
Prior art keywords
fxs
fxo
target
audiomonitor
measured
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.)
Granted
Application number
CN201711371298.7A
Other languages
Chinese (zh)
Other versions
CN108134882B (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.)
Maipu Communication Technology Co Ltd
Original Assignee
Maipu Communication Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Maipu Communication Technology Co Ltd filed Critical Maipu Communication Technology Co Ltd
Priority to CN201711371298.7A priority Critical patent/CN108134882B/en
Publication of CN108134882A publication Critical patent/CN108134882A/en
Application granted granted Critical
Publication of CN108134882B publication Critical patent/CN108134882B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M7/00Arrangements for interconnection between switching centres
    • H04M7/006Networks other than PSTN/ISDN providing telephone service, e.g. Voice over Internet Protocol (VoIP), including next generation networks with a packet-switched transport layer
    • H04M7/0081Network operation, administration, maintenance, or provisioning
    • H04M7/0084Network monitoring; Error detection; Error recovery; Network testing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M3/00Automatic or semi-automatic exchanges
    • H04M3/22Arrangements for supervision, monitoring or testing
    • H04M3/2281Call monitoring, e.g. for law enforcement purposes; Call tracing; Detection or prevention of malicious calls
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M7/00Arrangements for interconnection between switching centres
    • H04M7/0024Services and arrangements where telephone services are combined with data services
    • H04M7/003Click to dial services

Abstract

The embodiment of the present application provides a kind of snoopy test method and apparatus, is related to equipment performance technical field of measurement and test.Method includes:During the first test machine is by being in multichannel FXS callings between audiomonitor to be measured and the second test machine, an off hook signal is sent to the FXS ports of audiomonitor to be measured from the target fxo port of snoopy test equipment;Audiomonitor to be measured, which is obtained, from target fxo port treats dial tone signal according to what off hook signal returned;The dialing signal for monitoring the target FXS callings in multiple FXS callings according to dial tone signal generation is treated;From fxo port to audiomonitor Sending dialled number signal to be measured, so that snoopy test equipment is called based on FXS port snoop targets FXS.Snoopy test equipment is to realize snoopy test by target fxo port, and the scope of application of snoopy test equipment is caused to obtain great promotion.

Description

Snoopy test method and apparatus
Technical field
This application involves equipment performance technical field of measurement and test, in particular to a kind of snoopy test method and apparatus.
Background technology
With the continuous development of network communication technology, voice gateways is needed to provide legal monitoring industry in application scenes Business.
Voice gateways realize that the purpose of monitoring service is exactly that listener can listen to caller based on voice gateways and be called Call, and caller and the called sound that cannot hear listener.Mandate can be legal by the user that voice gateways are monitored Listener, the user of with no authorized cannot then monitor the call of other users.
Invention content
In view of this, the application is designed to provide a kind of snoopy test method and apparatus.
Embodiments herein is realized in the following way:
In a first aspect, the embodiment of the present application provides a kind of snoopy test method, applied to snoopy test equipment.The side Method includes:During the first test machine is by being in multichannel FXS callings between audiomonitor to be measured and the second test machine, from institute The target fxo port for stating snoopy test equipment sends an off hook signal to the FXS ports of the audiomonitor to be measured;From the mesh Mark fxo port obtains the audiomonitor to be measured and treats dial tone signal according to what the off hook signal returned;It waits to dial according to described The dialing signal of the target FXS callings in multiple FXS callings is monitored in the generation of number sound signal;From the fxo port to described to be measured Audiomonitor sends the dialing signal, so that the snoopy test equipment is exhaled based on target FXS described in the FXS port snoops It cries.
In the embodiment of the present application, by the first test machine by between audiomonitor to be measured and the second test machine in more When during road FXS callings, snoopy test equipment passes through target fxo port FXS corresponding with audiomonitor to be measured The connection of port, so as to fulfill snoopy test equipment based on target fxo port come the target FXS to audiomonitor to be measured call into Row snoopy test.Since snoopy test equipment is to realize snoopy test by target fxo port, and snoopy test is caused to set The standby scope of application has obtained great promotion.
With reference to the technical solution that above-mentioned first aspect provides, in some possible realization methods, from the snoopy test The target fxo port of equipment is sent to the FXS ports of the audiomonitor to be measured before an off hook signal.The method is also wrapped It includes:It is spaced at preset timed intervals, current need described in initiation monitoring is determined from multiple fxo ports of the snoopy test equipment Target fxo port.
In the embodiment of the present application, snoopy test equipment is initiated and is realized through each mesh according to prefixed time interval Mark fxo port monitors corresponding target FXS callings, and multiple FXS are exhaled so that snoopy test equipment is automatable It cries and carries out snoopy test, greatly improve the snoopy test efficiency of snoopy test equipment.
With reference to the technical solution that above-mentioned first aspect provides, in some possible realization methods, from the target FXO ends Mouth sends the off hook signal to the FXS ports of the audiomonitor to be measured.Including:It is given birth to based on the target fxo port Into the off hook signal, the off hook signal is triggering level signal;From the target fxo port by the triggering level signal It is sent to the FXS ports of the audiomonitor to be measured.
In the embodiment of the present application, the off hook signal that target fxo port is generated and sent is triggering level signal.Due to The triggering level signal is analog signal, and target fxo port is very big by the way of being interacted using analog signal with FXS ports Improve interactive stability.
With reference to above-mentioned first aspect provide technical solution, in some possible realization methods, from the fxo port to The audiomonitor to be measured is sent after the dialing signal.The method further includes:Judge to work as the target FXS callings Whether preceding monitoring duration reaches default monitoring duration;When the current monitoring duration reaches the default monitoring duration, from institute The on-hook signal that fxo port sends generation to the audiomonitor to be measured is stated, is monitored so that the snoopy test equipment terminates The target FXS callings.
In the embodiment of the present application, audiomonitor to be measured can also control whether snoopy test is tied according to default monitoring duration Beam so that the more automation of snoopy test flow, being applicable in when improving the snoopy test flow that audiomonitor to be measured performs Property.
With reference to above-mentioned first aspect provide technical solution, in some possible realization methods, the dialing signal Data format includes:Call prefix code and the telephone number of monitored target FXS callings.
In the embodiment of the present application, the phone number called due to including target FXS in the data format of the dialing signal Code so that audiomonitor to be measured directly according to the target FXS telephone numbers called can determine that the target FXS monitored is needed to exhale It cries, so that data interaction when snoopy test equipment is initiated to monitor further is simplified and facilitation, improves interactive Stability.
Second aspect, the embodiment of the present application provide a kind of snoopy test equipment, and the snoopy test equipment includes:Processing Device, bus driver block and at least one FXO modules, the bus driver block respectively with the processor and described at least one A FXO modules connection, the target fxo port of at least one FXO moulds target FXO modules in the block are used for and monitoring to be measured The FXS ports connection of equipment.The processor, for passing through between audiomonitor to be measured and the second test machine in the first test machine During multichannel FXS is called, the bus driver block is controlled to drive the target fxo port of the target FXO modules An off hook signal is sent to the FXS ports.The target FXO modules, it is described to be measured for being obtained from the target fxo port Audiomonitor treats dial tone signal according to what the off hook signal returned.The processor is additionally operable to treat dialing tone according to The dialing signal of the target FXS callings in multiple FXS callings is monitored in signal generation, and the bus driver block is controlled to drive The dialing signal is sent from the fxo port to the audiomonitor to be measured, so that the snoopy test equipment is based on described Target FXS described in FXS port snoops is called.
In the embodiment of the present application, by the first test machine by between audiomonitor to be measured and the second test machine in more When during road FXS callings, snoopy test equipment passes through target fxo port FXS corresponding with audiomonitor to be measured The connection of port and target fxo port in target FXO modules is controlled based on bus driver block by processor System carries out monitoring survey based on target fxo port so as to fulfill snoopy test equipment to the target FXS of audiomonitor to be measured callings Examination.Since snoopy test equipment is to realize snoopy test by target fxo port, causes being applicable in for snoopy test equipment Range has obtained great promotion.
With reference to the technical solution that above-mentioned second aspect provides, in some possible realization methods, at least one FXO Module is two, and each FXO modules include multiple fxo ports, and each FXO modules are extended by corresponding one Card slot is connect with the bus driver block.
In the embodiment of the present application, the FXO modules having by snoopy test equipment are for two and each FXO moulds Block includes multiple fxo ports, so that snoopy test equipment can carry out multiple snoopy test by multiple fxo ports, makes The efficiency for obtaining snoopy test is greatly improved.
With reference to the technical solution that above-mentioned second aspect provides, in some possible realization methods, the bus driver mould Block is connect by data/address bus, address bus and controlling bus at least one FXO modules.
In the embodiment of the present application, the interaction of data is realized by data/address bus, address bus and controlling bus, is simplified The internal structure of snoopy test equipment reduces the manufacture cost of snoopy test equipment, and snoopy test equipment is easily extended.
With reference to the technical solution that above-mentioned second aspect provides, in some possible realization methods, the snoopy test is set It is standby to further include:At least one serial port module, at least one serial port module by the data/address bus, described address bus and The controlling bus is connect with the bus driver block.
In the embodiment of the present application, by being provided at least one serial port module so that snoopy test equipment can be by extremely At least part serial port module in a few serial port module is interacted with external miscellaneous equipment, improves snoopy test equipment Practicability.
With reference to the technical solution that above-mentioned second aspect provides, in some possible realization methods, the snoopy test is set It is standby to further include:Time gas exchange module and DSP array modules, the time gas exchange module by TDM buses respectively with the processing Device, at least one FXO modules, at least one serial port module are connected with the DSP array modules, the DSP arrays Module is connect by the data/address bus, described address bus and the controlling bus with the bus driver block.
In the embodiment of the present application, corresponding time gas exchange is provided for each signal by time gas exchange module, ensure that letter Number snoopy test equipment normal work.
With reference to the technical solution that above-mentioned second aspect provides, in some possible realization methods, the snoopy test is set It is standby to further include:Power module, configuration interface module and ethernet interface module, the configuration interface module and the Ethernet connect Mouth mold block is connected to the processor, the power module respectively with the processor, the bus driver block, it is described with Too network interface module, the configuration interface module, the time gas exchange module, the DSP array modules, described at least one FXO modules are connected at least one serial port module.
In the embodiment of the present application, it is the independently-powered of each module by power module, to ensure each module independence just Often work.In addition so that user easily can carry out configuration update by the way that interface module is configured to the operation program of processor.Separately Outside, data interaction can be carried out by network and external miscellaneous equipment by ethernet interface module snoopy test equipment, Thus improve the practicability of snoopy test equipment.
The advantageous effect of the embodiment of the present application is:
During in the first test machine by being in multichannel FXS callings between audiomonitor to be measured and the second test machine When, snoopy test equipment is by the connections of target fxo port FXS ports corresponding with audiomonitor to be measured, so as to real Existing snoopy test equipment carries out snoopy test based on target fxo port to call the target FXS of audiomonitor to be measured.Due to, Snoopy test equipment is to realize snoopy test by target fxo port, and the scope of application of snoopy test equipment is obtained Great promotion.
For the above-mentioned purpose of the application, feature and advantage is enable to be clearer and more comprehensible, preferred embodiment cited below particularly, and coordinate Appended attached drawing, is described in detail below.
Description of the drawings
It, below will be to needed in the embodiment attached in order to illustrate more clearly of the technical solution of the embodiment of the present application Figure is briefly described, it should be understood that the following drawings illustrates only some embodiments of the application, therefore is not construed as pair The restriction of range, for those of ordinary skill in the art, without creative efforts, can also be according to this A little attached drawings obtain other relevant attached drawings.
Fig. 1 shows a kind of structure diagram for snoopy test system that the application first embodiment provides;
Fig. 2 shows a kind of structure diagrams for snoopy test equipment that the application second embodiment provides;
Fig. 3 shows a kind of first pass figure for snoopy test method that the application 3rd embodiment provides;
Fig. 4 shows a kind of second flow chart for snoopy test method that the application 3rd embodiment provides.
Icon:10- snoopy test systems;The first test machines of 11-;The second test machines of 12-;13- audiomonitors to be measured;100- Snoopy test equipment;110- processors;120- bus driver blocks;130-FXO modules;140- power modules;150- time slots are handed over Change the mold block;160-DSP array modules;170- serial port modules;Interface module is configured in 180-;190- ethernet interface modules.
Specific embodiment
Monitoring effect during to ensure that listener monitors caller and called call based on voice gateways, exploit person Member needs to test voice gateways monitoring performance.Therefore, the voice network that the developer of each company is produced according to company It closes, develops the snoopy test system for the voice gateways of oneself company.Inventor grows each snoopy test system It is found after the practical studies of phase, since in exploitation, the starting point of developer is the product of the company based on oneself, so as to lead The realization method for causing each snoopy test system on the market is different.Therefore each snoopy test system is suitable only for the voice of company itself Gateway, and the voice gateways pair with other companies, applicability are extremely limited.
The defects of present in above scheme of the prior art, be that inventor is obtaining after putting into practice and carefully studying As a result, therefore, the solution that the discovery procedure of the above problem and hereinafter the embodiment of the present application are proposed regarding to the issue above Scheme all should be the contribution that inventor makes the application during the application.
On this basis, inventor passes through long-term research and practice, provides one kind based on fxo port to realize to tool The audiomonitor to be measured for having FXS ports carries out the snoopy test equipment of snoopy test.Due to fxo port and the adaptation of FXS ports Property, under the premise of with arbitrary FXS ports, which just can realize to be measured to this audiomonitor to be measured Audiomonitor carries out snoopy test, therefore so that the applicability of the snoopy test equipment has obtained great promotion.
Below in conjunction with attached drawing in the embodiment of the present application, the technical solution in the embodiment of the present application is carried out clear, complete Ground describes, it is clear that described embodiments are only a part of embodiments of the present application, instead of all the embodiments.Usually exist The component of the embodiment of the present application described and illustrated in attached drawing can be configured to arrange and design with a variety of different herein.Cause This, the detailed description of the embodiments herein to providing in the accompanying drawings is not intended to limit claimed the application's below Range, but it is merely representative of the selected embodiment of the application.Based on embodiments herein, those skilled in the art are not doing Go out all other embodiments obtained under the premise of creative work, shall fall in the protection scope of this application.
It should be noted that:Similar label and letter represents similar terms in following attached drawing, therefore, once a certain Xiang Yi It is defined in a attached drawing, does not then need to that it is further defined and explained in subsequent attached drawing.Term " first ", " the Two " etc. are only used for distinguishing description, and it is not intended that instruction or hint relative importance.
First embodiment
Referring to Fig. 1, the embodiment of the present application provides a kind of snoopy test system 10, which includes: First test machine 11, the second test machine 12, audiomonitor to be measured 13 and snoopy test equipment 100.
First test machine 11 and the second test machine 12 are that the integrated circuit for having signal transmission, processing and receiving ability is set It is standby.First test machine 11 and the second test machine 12 can initiate multichannel FXS callings or can receive multichannel FXS callings.It is to be measured Audiomonitor 13 then to have signal transmission, processing and receiving ability voice gateways, can then be built by the audiomonitor 13 to be measured It stands and multichannel FXS is kept to call.
In the present embodiment, the first test machine 11 and the second test machine 12 connect to realize first with audiomonitor 13 to be measured Test machine 11 is called by being in multichannel FXS between 13 and second test machine 12 of audiomonitor to be measured.For example, on the first test machine 11 With multiple FXS ports (Foreign ExchangeStation, external exchange end station).Second test machine 12 then has multiple FX0 ports (ForeignExchange Office, external exchange).Audiomonitor 13 to be measured can have at least one 16S160 cards, every 16S160 card may be incorporated for establishing and the FXS on 16 tunnels kept to call.
As a kind of mode, establishing the connection relation of multichannel FXS callings can be:Audiomonitor 13 every to be measured Each FX0 ports FXS ports connection corresponding with FXS ports multiple on the first test machine 11 on 16S160 cards, and FXS ports corresponding with each FX0 ports on every 16S160 card of audiomonitor 13 to be measured then with the second test machine 12 Corresponding fxo port connection in upper multiple fxo ports.At this point, the first test machine 11 passes through audiomonitor 13 to second to be measured Test machine 12 initiates multichannel FXS callings, and the first test machine 11 is passed through between 13 and second test machine 12 of audiomonitor to be measured In multichannel FXS call during when, per road FXS, calling is all based on the first test machine 11, the second test machine 12 and to be measured Corresponding a kind of port connection relationship between 13 three of audiomonitor by taking wherein arbitrary FXS all the way calls A as an example, realizes institute Corresponding port connection relationship is:FXO ends on first test machine 11 on corresponding FXS ports A connections audiomonitor 13 to be measured Corresponding FXO on the second test machine of FXS ports A connections corresponding with fxo port A 12 on mouthful A and audiomonitor to be measured 13 Port A.
It will be appreciated that the way of multichannel FXS callings established is to be based on needing to initiate on the first test machine 11 The quantity of the FXS ports of FXS callings.For example, the first test machine 11 passes through 32 FXS ports being connect with audiomonitor 13 to be measured Initiate 32 road FXS callings.Correspondingly, audiomonitor 13 to be measured needs at least have 2 16S160 cards, and the second test machine 12 At least corresponding 32 fxo ports is needed to be connect with audiomonitor 13 to be measured.Certainly, enumerated calling way is only used for The principle of the application implementation is easy to understand, quantity can be according to practical feelings not as the restriction to the present embodiment, particular number Condition is adjusted.
In addition, can also have an at least 32FXS card in audiomonitor 13 to be measured, every 32FXS card has 32 FXS Port.Optionally, the quantity of at least one 32FXS card can be one, but be not intended as the restriction to the present embodiment, root Factually border use demand can be adjusted, for example, at least a 32FXS card is adjusted to 2,4 or 5 etc..On the 32FXS cards 32 FXS ports realized and each FXS ends on 16S160 cards each in audiomonitor 13 to be measured by connecting bus Mouth forms physical connection.In addition, audiomonitor 13 to be measured is also connect by the 32FXS cards with snoopy test equipment 100, i.e., should 32 FXS ports on 32FXS cards are connect with snoopy test equipment 100.
Snoopy test equipment 100 is the IDE for having signal transmission, processing and receiving ability.In the first test Machine 11 by between 13 and second test machine 12 of audiomonitor to be measured be in multichannel FXS calling during when, snoopy test equipment 100 can control the audiomonitor 13 to be measured to go to monitor at least all the way FXS callings by the connection with audiomonitor 13 to be measured. Snoopy test equipment 100 then indirectly realizes monitoring, and pass through and indirectly monitor by the connection with audiomonitor 13 to be measured It is tested to realize monitoring effect.
Second embodiment
Fig. 1 and Fig. 2 please be participate in, in a kind of snoopy test equipment 100 provided in the application second embodiment, which surveys Examination equipment 100 includes:Processor 110, bus driver block 120 and at least one FXO modules 130.Wherein, bus driver block 120 are connect by data/address bus, address bus and controlling bus with processor 110, and bus driver block 120 also passes through data Bus, address bus and controlling bus are connect at least one FXO modules 130.
Processor 110 can be general processor 110, for example, its model can be:MPC860T types.Bus driver block 120 can be conventional driving circuit integrated chip.Each FXO modules 130 at least one FXO modules 130 all can be One 16FXO card, every 16FXO card are used equally for at least part initiated during 16 tunnels are monitored to monitor.Each FXO modules 130 are Be arranged on a corresponding expansion slot so that each FXO modules 130 by the data/address bus of the corresponding expansion slot of connection, Address bus and controlling bus are connect with bus driver block 120.In the present embodiment, the quantity of at least one FXO modules 130 can Think 2, but be not intended as limiting.The quantity of at least one FXO modules 130 may be 1,3 or 4 etc., can root It is adjusted according to actual demand.Further, 2 FXO modules 130 can then have 32 fxo ports, snoopy test equipment 100 32 fxo ports in corresponding on the 32FXS cards of the audiomonitor 13 to be measured FXS ports connection of each fxo port.
Based on above-mentioned connection relation, pass through between 13 and second test machine 12 of audiomonitor to be measured in the first test machine 11 When during multichannel FXS is called, processor 110 drives target FXO modules 130 for controlling bus drive module 120 FXS ports from target fxo port to connection send an off hook signal.And then target FXO modules 130 are then used for from target FXO Port obtains audiomonitor 13 to be measured and treats dial tone signal according to what off hook signal returned.Further, processor 110 is then used for According to treating that dial tone signal generation monitors the dialing signal that FXS is called, and controlling bus drive module 120 drives from FXO ends Mouth is to 13 Sending dialled number signal of audiomonitor to be measured, so that snoopy test equipment 100 can be based on FXS port snoop multichannels FXS Target FXS callings in calling.
It please refers to Fig.1, Fig. 2 and Fig. 3, snoopy test equipment 100 are further included:Power module 140, time gas exchange module 150, Time gas exchange module 150 (Digital Signal Processing, Digital Signal Processing), at least one serial port module 170, Interface module 180 and ethernet interface module 190 is configured.
Power module 140 can be the AC-DC power supplys (AC-DC conversion) that wide power inputs multiple-channel output.Power supply mould Block 140 for respectively with processor 110, bus driver block 120, ethernet interface module 190, configuration interface module 180, when Gap Switching Module 150, time gas exchange module 150, at least one FXO modules 130 and at least one serial port module 170 connect, from And power module 140 can be by the corresponding voltage output for being adapted to each module to corresponding module, to ensure the normal work of each module. Wherein, the voltage that power module 140 exports can be 5V, 12V, 24V and 48V etc..
Time gas exchange module 150 by TDM buses (time division multiplex bus) respectively with processor 110, at least one FXO moulds Block 130, at least one serial port module 170 and DSP array modules 160 connect, and time gas exchange module 150 provides correspondence for each signal Time gas exchange, ensure that the normal work of the snoopy test equipment 100 of signal.
DSP array modules 160 have multiple DSP slots, and each DSP slots can insert 1 dsp chip, and each dsp chip is supported 16 DSP channels.Processor 110 can control opening or closing for DSP channels, and DSP channels can be controlled to generate off hook signal Or dialing signal or on-hook signal, DSP Air conduct measurements can also be controlled to treat dial tone signal.What this signal sound was generated and was detected The another embodiment that mode can be generated and be detected as the present embodiment signal sound.
Each serial port module 170 all can be High Speed Serial socket module at least one serial port module 170.Wherein, until The quantity of a few serial port module 170 can be 4, but be not intended as limiting.Each serial ports at least one serial port module 170 Module 170 is connect by data/address bus, address bus and controlling bus with bus driver block 120.Each serial port module 170 It may be incorporated for outside extension connection:E1 modules, V35/V24 synchronous/asynchronous serial ports module 170,33.6K voice bands MODEM etc., with And at least part serial port module 170 at least one serial port module 170 can be used for outside extension connection:10M Ethernets Module, 128K base band MODEM modules etc..
It can be IC chip that interface module 180, which is configured, and configuration interface module 180 passes through the company with processor 110 It connects so that user easily can carry out configuration update by the way that interface module 180 is configured to the operation program of processor 110.
Ethernet interface module 190 can be 10M-100M ether interface chip, ethernet interface module 190 also by With the connection of processor 110 so that snoopy test equipment 100 can carry out data interaction by network and external miscellaneous equipment, Thus improve the practicability of snoopy test equipment 100.
3rd embodiment
Referring to Fig. 3, the application 3rd embodiment provides a kind of snoopy test method, which is applied to Snoopy test equipment.Processor in snoopy test equipment can set snoopy test to realize by performing the snoopy test method The control of standby each module, and cause the processor-based control of each module and perform the corresponding interaction with audiomonitor to be measured and move Make.
In the present embodiment, which includes:Step S100, step S200, step S300 and step S400.
Step S100:In the first test machine by being in multichannel FXS callings between audiomonitor to be measured and the second test machine In the process, off-hook letter is sent from the target fxo port of the snoopy test equipment to the FXS ports of the audiomonitor to be measured Number.
First test machine by between audiomonitor to be measured and the second test machine be in multichannel FXS calling during when, prison It listens test equipment that audiomonitor to be measured can be controlled to remove to monitor at least part FXS in multichannel FXS callings to call.Wherein, this is more FXS callings in road can be that 32 road FXS are called, but be not intended as limiting.
Specifically, snoopy test equipment can control the fxo port of itself to initiate holding for snoopy test to audiomonitor to be measured Row flow.Wherein, the control flow monitored has been preset in snoopy test equipment.According to the control flow, snoopy test equipment can In 32 fxo ports of control whether whole ports initiate snoopy test and in 32 fxo ports per section ports according to It is secondary initiate snoopy test when with other parts initiate snoopy test when time interval.
For example, snoopy test equipment can control 32 all fxo ports to initiate the execution flow of snoopy test simultaneously. For example, snoopy test equipment also can control 16 fxo ports in 32 fxo ports first to initiate the execution flow of snoopy test, After prefixed time interval, snoopy test equipment controls again to be initiated to monitor after remaining 16 fxo ports in 32 fxo ports The execution flow of test.Or for example, snoopy test equipment also can control in 32 fxo ports each fxo port with preset time Snoopy test is initiated successively in interval.
It should be noted that the present embodiment controls 32 fxo ports with snoopy test equipment by the number of each fxo port In each fxo port illustrated so that prefixed time interval initiates snoopy test successively as an example, but be not intended as to the present embodiment Restriction.In addition, each fxo port of snoopy test equipment is initiating and is performing snoopy test flow and snoopy test equipment Other each fxo port all sames, therefore the present embodiment is come with any one fxo port in snoopy test equipment to snoopy test side Method illustrates, in order to understand.
When this method performs, snoopy test equipment is firstly the need of determining that currently need the snoopy test initiated is which A port.Specifically, snoopy test equipment can determine whether the last duration for initiating to be passed through after snoopy test reaches The duration of prefixed time interval, the prefixed time interval can be for example, 2 seconds.If also be not up to the prefixed time interval when It is long, then it continues waiting for.If having reached the duration of the prefixed time interval, snoopy test equipment can be initiated to monitor according to the last time Fxo port number, and the sequence initiated successively according to pre-set each fxo port, so as in multiple fxo ports really The target fxo port for initiating to monitor is needed before settled.
Certainly, above-mentioned method of determination is only a kind of embodiment of the application, is not intended as the restriction to the application. For example, snoopy test equipment can be first according to the number of the fxo port of last initiation monitoring, and according to pre-set each The sequence that fxo port is initiated successively, first determines the current target fxo port for needing to initiate to monitor in multiple fxo ports, and up to The target fxo port having confirmed is directly controlled during to prefixed time interval and performs follow-up process.
At this point, snoopy test equipment can generate an off hook signal according to control program.The off hook signal can be triggering electricity Ordinary mail number, as high level or low level signal.In the present embodiment, when off hook signal is triggering level signal, can be Generation is directly triggered, but be not intended as the restriction to the present embodiment by the processor control targe fxo port of snoopy test equipment, For example, the off hook signal may be to be directly generated by the processor of snoopy test equipment and be sent to target fxo port.
Target fxo port is electrically connected by a FXS ports corresponding on audiomonitor to be measured, thus snoopy test equipment from The triggering level signal can be then sent to the FXS ports being correspondingly connected on audiomonitor to be measured by the target fxo port.
Step S200:Obtain what the audiomonitor to be measured was returned according to the off hook signal from the target fxo port Treat dial tone signal.
After the off hook signal being sent in FXS ports corresponding on audiomonitor to be measured, the corresponding audiomonitor to be measured The off hook signal can then be obtained by the FXS ports.According to the pre-set control programs of audiomonitor to be measured, when the monitoring to be measured is set During the standby acquisition off hook signal based on a FXS ports, audiomonitor to be measured can correspond to generation one and treat dial tone signal, this waits to dial Number sound signal can be a sound press signal.And then generation can be treated dial tone signal again by the FXS ends by audiomonitor to be measured Mouth output.
Conversely, after snoopy test equipment sends off hook signal by the target fxo port, correspondingly, snoopy test is set Standby target fxo port also obtains audiomonitor to be measured and treats dial tone signal according to what off hook signal returned.
For example, when the microphone that user picks up the telephone, the off hook signal of transmission is just triggered at this time, and then phone is sent out " beep " Resonant be then regarded as obtaining return treat dial tone signal.
Step S300:Treat that the dialing that the target FXS in multiple FXS callings is called is monitored in dial tone signal generation according to described Signal.
In the present embodiment, snoopy test equipment, which is also preset, to be set and stores to multiple FXS calling Zhong Mei road FXS callings Monitor sequence list.Obtain accordingly return after dial tone signal, snoopy test equipment according to this treat dial tone signal be sound Signal is pressed, therefore what is returned treats that dial tone signal is monitored test equipment detection and recognizes.Further, snoopy test equipment according to Preset control program can call to determine currently to need to monitor from the FXS for monitoring last institute snoopy test in sequence list The target FXS callings of test.Snoopy test equipment can be called according to determining target FXS, and the target is obtained from sequence list is monitored The telephone number of FXS callings.Based on the telephone number of target FXS callings, snoopy test equipment can be generated comprising target FXS The telephone number of calling and the data format for initiating the dialing signal, the i.e. dialing signal that call prefix code needed for calling Including:Call prefix code and the telephone number of monitored target FXS callings.
As a kind of mode, the processor of snoopy test equipment can generate the dialing signal, and dialing signal is sent to Target fxo port, but which is only a kind of realization method, is not intended as the restriction to the present embodiment.
Step S400:The dialing signal is sent from the fxo port to the audiomonitor to be measured, so that the monitoring Test equipment is based on target FXS described in the FXS port snoops and calls.
Also by the target fxo port, after the dialing signal of generation is sent to target fxo port by snoopy test equipment, The dialing signal is then automatically sent to the FXS ports being correspondingly connected on audiomonitor to be measured by the target fxo port.
Correspondingly, audiomonitor to be measured can obtain the dialing signal by the corresponding FXS ports.Audiomonitor to be measured Also based on the pre-set control programs of itself, which is parsed, then the target FXS that can be obtained in the dialing signal is exhaled The telephone number cried.
Therefore, the telephone number of target FXS calling of the audiomonitor to be measured based on acquisition, audiomonitor to be measured first may be used Determine that target FXS is called from multiple FXS callings, the FXS ports for resettling acquisition dialing signal later are exhaled with target FXS The logic connecting relation between the FXS ports for obtaining dialing signal and target FXS callings is established in communication between crying.
At this point, since the FXS ports that dialing signal is obtained on audiomonitor to be measured call and communicate with target FXS, and be somebody's turn to do The FXS ports for obtaining dialing signal are also connect with the target fxo port in snoopy test equipment.Being based in audiomonitor to be measured should When FXS port snoop targets FXS is called, the target fxo port in the snoopy test equipment is then indirect also by the FXS ports Realize the snoopy test called target FXS.
Referring to Fig. 4, in a kind of snoopy test method that the application 3rd embodiment provides, which also wraps It includes:Step S500 and step S600.
Step S500:Judge whether default monitoring duration is reached to the current monitoring duration that the target FXS is called.
The default monitoring duration for being provided with and calling every road FXS is preset in snoopy test equipment, wherein, it is called per road FXS Default monitoring duration and others FXS call default monitoring duration can be identical or different, can according to actual demand into Row setting.After snoopy test equipment establishes and calls progress snoopy test to a target FXS, snoopy test equipment can be real-time The current monitoring duration that target FXS is called is counted, and real-time judge currently monitors whether duration calls in advance up to target FXS The default monitoring duration of setting.
Step S600:When the current monitoring duration reaches the default monitoring duration, from the fxo port to described Audiomonitor to be measured sends an on-hook signal of generation, so that the snoopy test equipment, which terminates, monitors the target FXS callings.
When the current monitoring duration for judging target FXS callings does not reach the default monitoring duration of target FXS callings, monitor Test equipment does not call target FXS and performs follow-up process, and continues to keep judging.
When the current monitoring duration for judging target FXS callings reaches the default monitoring duration of target FXS callings, monitor and survey Examination equipment judgement needs the snoopy test for terminating to call target FXS.Therefore snoopy test equipment is according to preset control program An on-hook signal can be generated.The on-hook signal can be the high level or low level signal opposite with off hook signal level.This In embodiment, on-hook signal can be directly to trigger generation, but simultaneously by the processor control targe fxo port of snoopy test equipment Not as the restriction to the present embodiment, for example, the on-hook signal may be to be directly generated by the processor of snoopy test equipment And it is sent to target fxo port.
Also by the electrical connection of target fxo port corresponding on audiomonitor to be measured FXS ports, snoopy test equipment from The on-hook signal can be then sent to the FXS ports being correspondingly connected on audiomonitor to be measured by the target fxo port.
Correspondingly, audiomonitor to be measured can obtain the on-hook signal by the corresponding FXS ports.Audiomonitor to be measured Also based on the pre-set control programs of itself, when obtaining the on-hook signal, audiomonitor to be measured, which can go to terminate, monitors the target FXS is called.
And then target FXS callings are monitored when audiomonitor to be measured terminates, corresponding snoopy test equipment is also no longer monitored Target FXS callings are tested, and then snoopy test equipment just finishes the target FXS snoopy tests called.
It should be understood by those skilled in the art that, the embodiment of the present application can be provided as method, system or computer program production Product.Therefore, in terms of the embodiment of the present application can be used complete hardware embodiment, complete software embodiment or combine software and hardware Embodiment form.Moreover, the embodiment of the present application can be used wherein includes computer available programs generation in one or more It is real in the computer-usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory, flash memory etc.) of code The form for the computer program product applied.
In conclusion the embodiment of the present application provides a kind of snoopy test method and apparatus, snoopy test method is applied to Snoopy test equipment.Method includes:In the first test machine by being exhaled between audiomonitor to be measured and the second test machine in multichannel FXS During crying, an off hook signal is sent to the FXS ports of audiomonitor to be measured from the target fxo port of snoopy test equipment; Audiomonitor to be measured, which is obtained, from target fxo port treats dial tone signal according to what off hook signal returned;According to treating dial tone signal The dialing signal of the target FXS callings in multiple FXS callings is monitored in generation;From fxo port to audiomonitor Sending dialled number to be measured Signal, so that snoopy test equipment is called based on FXS port snoop targets FXS.
During in the first test machine by being in multichannel FXS callings between audiomonitor to be measured and the second test machine When, snoopy test equipment is by the connections of target fxo port FXS ports corresponding with audiomonitor to be measured, so as to real Existing snoopy test equipment carries out snoopy test based on target fxo port to call the target FXS of audiomonitor to be measured.Due to, Snoopy test equipment is to realize snoopy test by target fxo port, and the scope of application of snoopy test equipment is obtained Great promotion.
It these are only the preferred embodiment of the application, be not limited to the application, for those skilled in the art For member, the application can have various modifications and variations.All any modifications within spirit herein and principle, made, Equivalent replacement, improvement etc., should be included within the protection domain of the application.It should be noted that:Similar label and letter are under Similar terms are represented in the attached drawing in face, therefore, once being defined in a certain Xiang Yi attached drawing, are not then needed in subsequent attached drawing It is further defined and explained.
More than, the only specific embodiment of the application, but the protection domain of the application is not limited thereto is any to be familiar with In the technical scope that those skilled in the art disclose in the application, change or replacement can be readily occurred in, should all be covered Within the protection domain of the application.Therefore, the protection domain of the application should be subject to the protection scope in claims.

Claims (11)

  1. A kind of 1. snoopy test method, which is characterized in that applied to snoopy test equipment, the method includes:
    During the first test machine is by being in multichannel FXS callings between audiomonitor to be measured and the second test machine, from described The target fxo port of snoopy test equipment sends an off hook signal to the FXS ports of the audiomonitor to be measured;
    The audiomonitor to be measured, which is obtained, from the target fxo port treats dial tone signal according to what the off hook signal returned;
    Treat that the dialing signal that the target FXS in multiple FXS callings is called is monitored in dial tone signal generation according to described;
    The dialing signal is sent from the fxo port to the audiomonitor to be measured, so that the snoopy test equipment is based on Target FXS described in the FXS port snoops is called.
  2. 2. snoopy test method according to claim 1, which is characterized in that from the target FXO of the snoopy test equipment Before port sends an off hook signal to the FXS ports of the audiomonitor to be measured, the method further includes:
    It is spaced at preset timed intervals, the current institute for needing to initiate to monitor is determined from multiple fxo ports of the snoopy test equipment State target fxo port.
  3. 3. snoopy test method according to claim 2, which is characterized in that from the target fxo port to described to be measured The FXS ports of audiomonitor send the off hook signal, including:
    The off hook signal is generated based on the target fxo port, the off hook signal is triggering level signal;
    The triggering level signal is sent to the FXS ports of the audiomonitor to be measured from the target fxo port.
  4. 4. according to the snoopy test method described in claim any in claim 1-3, which is characterized in that from the fxo port to After the audiomonitor to be measured sends the dialing signal, the method further includes:
    Judge whether default monitoring duration is reached to the current monitoring duration that the target FXS is called;
    When the current monitoring duration reaches the default monitoring duration, from the fxo port to the audiomonitor to be measured An on-hook signal of generation is sent, so that the snoopy test equipment, which terminates, monitors the target FXS callings.
  5. 5. according to the snoopy test method described in claim any in claim 1-3, which is characterized in that the number of the dialing signal Include according to form:Call prefix code and the telephone number of monitored target FXS callings.
  6. 6. a kind of snoopy test equipment, which is characterized in that the snoopy test equipment includes:Processor, bus driver block and At least one FXO modules, the bus driver block are connect respectively with the processor and at least one FXO modules, institute The target fxo port for stating at least one FXO moulds target FXO modules in the block is used to connect with the FXS ports of audiomonitor to be measured It connects;
    The processor, for being called in the first test machine by being in multichannel FXS between audiomonitor to be measured and the second test machine During, the bus driver block is controlled to drive the target fxo ports of the target FXO modules to the FXS ports Send an off hook signal;
    The target FXO modules, for obtaining the audiomonitor to be measured according to the off hook signal from the target fxo port What is returned treats dial tone signal;
    The processor is additionally operable to treat the target FXS callings that dial tone signal generation is monitored in multiple FXS callings according to Dialing signal, and the bus driver block is controlled to drive from described in the fxo port to the audiomonitor transmission to be measured Dialing signal, so that the snoopy test equipment is based on target FXS described in the FXS port snoops and calls.
  7. 7. snoopy test equipment according to claim 6, which is characterized in that at least one FXO modules are two, often A FXO modules include multiple fxo ports, each FXO modules by corresponding one extension card slot with it is described total Line drive module connects.
  8. 8. snoopy test equipment according to claim 7, which is characterized in that the bus driver block is total by data Line, address bus and controlling bus are connect at least one FXO modules.
  9. 9. according to the snoopy test equipment described in claim any in claim 8, which is characterized in that the snoopy test equipment is also Including:At least one serial port module, at least one serial port module pass through the data/address bus, described address bus and described Controlling bus is connect with the bus driver block.
  10. 10. snoopy test equipment according to claim 9, which is characterized in that the snoopy test equipment further includes:Time slot Switching Module and DSP array modules, the time gas exchange module by TDM buses respectively with the processor, described at least one A FXO modules, at least one serial port module are connected with the DSP array modules, and the DSP array modules pass through the number It is connect according to bus, described address bus and the controlling bus with the bus driver block.
  11. 11. snoopy test equipment according to claim 10, which is characterized in that the snoopy test equipment further includes:Electricity Source module, configuration interface module and ethernet interface module, the configuration interface module and the ethernet interface module with Processor connection, the power module respectively with the processor, the bus driver block, the Ethernet interface mould Block, the configuration interface module, the time gas exchange module, the DSP array modules, at least one FXO modules and institute State at least one serial port module connection.
CN201711371298.7A 2017-12-18 2017-12-18 Monitoring test method and device Active CN108134882B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711371298.7A CN108134882B (en) 2017-12-18 2017-12-18 Monitoring test method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711371298.7A CN108134882B (en) 2017-12-18 2017-12-18 Monitoring test method and device

Publications (2)

Publication Number Publication Date
CN108134882A true CN108134882A (en) 2018-06-08
CN108134882B CN108134882B (en) 2020-09-22

Family

ID=62390486

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711371298.7A Active CN108134882B (en) 2017-12-18 2017-12-18 Monitoring test method and device

Country Status (1)

Country Link
CN (1) CN108134882B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111182163A (en) * 2019-11-25 2020-05-19 深圳震有科技股份有限公司 Automatic call test method and device, computer equipment and medium

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5940408A (en) * 1996-08-01 1999-08-17 Adtran, Inc. Use of redundant bits of ESF data stream to transport message-waiting signalling over FXO/FXS T-1 digital link
CN1893476A (en) * 2005-11-28 2007-01-10 华为技术有限公司 Device for automatically testing and monitoring network gate characteristics
US20080144799A1 (en) * 2006-12-14 2008-06-19 F3 Inc. Module and Method for Automatically Detecting and Switching between FXO and FXS Interfaces via Single RJ11
CN101222554A (en) * 2008-01-29 2008-07-16 杭州华三通信技术有限公司 Data transmission method and port conversion equipment
CN101237485A (en) * 2007-02-01 2008-08-06 中兴通讯股份有限公司 A testing system and method for legal monitoring device in circuit domain
CN101610428A (en) * 2009-07-13 2009-12-23 厦门敏讯信息技术股份有限公司 Digital exchange test system, digital switch and computer
CN101834954A (en) * 2010-05-24 2010-09-15 中兴通讯股份有限公司 Line detection apparatus and method for fixed phone
CN101867662A (en) * 2010-05-24 2010-10-20 中兴通讯股份有限公司 High-impedance monitoring device and method for user call
CN101990040A (en) * 2010-11-10 2011-03-23 深圳市共进电子有限公司 System and method for testing voice over internet protocol (VOIP) device

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5940408A (en) * 1996-08-01 1999-08-17 Adtran, Inc. Use of redundant bits of ESF data stream to transport message-waiting signalling over FXO/FXS T-1 digital link
CN1893476A (en) * 2005-11-28 2007-01-10 华为技术有限公司 Device for automatically testing and monitoring network gate characteristics
US20080144799A1 (en) * 2006-12-14 2008-06-19 F3 Inc. Module and Method for Automatically Detecting and Switching between FXO and FXS Interfaces via Single RJ11
CN101237485A (en) * 2007-02-01 2008-08-06 中兴通讯股份有限公司 A testing system and method for legal monitoring device in circuit domain
CN101222554A (en) * 2008-01-29 2008-07-16 杭州华三通信技术有限公司 Data transmission method and port conversion equipment
CN101610428A (en) * 2009-07-13 2009-12-23 厦门敏讯信息技术股份有限公司 Digital exchange test system, digital switch and computer
CN101834954A (en) * 2010-05-24 2010-09-15 中兴通讯股份有限公司 Line detection apparatus and method for fixed phone
CN101867662A (en) * 2010-05-24 2010-10-20 中兴通讯股份有限公司 High-impedance monitoring device and method for user call
CN101990040A (en) * 2010-11-10 2011-03-23 深圳市共进电子有限公司 System and method for testing voice over internet protocol (VOIP) device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111182163A (en) * 2019-11-25 2020-05-19 深圳震有科技股份有限公司 Automatic call test method and device, computer equipment and medium

Also Published As

Publication number Publication date
CN108134882B (en) 2020-09-22

Similar Documents

Publication Publication Date Title
US20070223465A1 (en) System, method and article for VOIP and PSTN communication
US20020131604A1 (en) System and method for measuring and enhancing the quality of voice communication over packet-based networks
CN102333163B (en) External auxiliary testing apparatus, and testing system thereof and method thereof
CN101990040A (en) System and method for testing voice over internet protocol (VOIP) device
JP2000069206A (en) Power feeding system for telephone terminal coping with lan
GB2419492A (en) Automatic measurement and announcement voice quality testing system
CN101072047B (en) DSLAN port fast detecting device
CN110401577A (en) A kind of voice exchange automatic test approach, electronic equipment, storage medium and system
WO2009000120A1 (en) A narrow-band subscriber board bearing test function and a method for automatic test of subscriber line
CN108134882A (en) Snoopy test method and apparatus
WO2013000334A1 (en) Method and device for testing voice media gateway
CN106878570A (en) A kind of speech business method of testing and system
CN102624585B (en) Analog conversation method based on gateway terminal equipment and voice device detection device
CN105959453A (en) Multi-channel synchronous test VOIP test system and test method thereof
CN101834954A (en) Line detection apparatus and method for fixed phone
TW538619B (en) Battery injection and loop supervision for DSL environment
CN105430200B (en) A kind of bell signal automatic test approach and device
CN102118517B (en) Method for automatically testing integrated access devices of VoIP
JPH07307792A (en) Test/fault request accepting communication equipment
US8571183B2 (en) Tool for testing distribution cabinets of a telephone network
TWI479844B (en) Method for inspecting voice gateway devices
CN103973872B (en) A kind of method of information processing and electronic equipment
WO2006050655A1 (en) A voice quality testing method and testing apparatus of ip telephone
CN105577465B (en) Port numbers determine processing, determine method and device
US5687214A (en) Method and apparatus for remote maintenance procedures

Legal Events

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