CN104301926B - A kind of distributed auto-dial testing system tested towards communication network and method - Google Patents

A kind of distributed auto-dial testing system tested towards communication network and method Download PDF

Info

Publication number
CN104301926B
CN104301926B CN201410602286.0A CN201410602286A CN104301926B CN 104301926 B CN104301926 B CN 104301926B CN 201410602286 A CN201410602286 A CN 201410602286A CN 104301926 B CN104301926 B CN 104301926B
Authority
CN
China
Prior art keywords
auto
dial testing
module
terminal
monitoring
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
CN201410602286.0A
Other languages
Chinese (zh)
Other versions
CN104301926A (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.)
Datang Mobile Communications Equipment Co Ltd
Original Assignee
Datang Mobile Communications Equipment 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 Datang Mobile Communications Equipment Co Ltd filed Critical Datang Mobile Communications Equipment Co Ltd
Priority to CN201410602286.0A priority Critical patent/CN104301926B/en
Publication of CN104301926A publication Critical patent/CN104301926A/en
Application granted granted Critical
Publication of CN104301926B publication Critical patent/CN104301926B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/08Testing, supervising or monitoring using real traffic
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/10Scheduling measurement reports ; Arrangements for measurement reports
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/10Active monitoring, e.g. heartbeat, ping or trace-route

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Telephone Function (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The present invention provides a kind of distributed auto-dial testing system tested towards communication network and methods, the system includes auto-dial testing monitoring module and auto-dial testing module, auto-dial testing monitoring module, for sending control command to auto-dial testing module, auto-dial testing module is controlled to carry out auto-dial testing, receive and show the end message that auto-dial testing module reports, the state for the test terminal that real time monitoring auto-dial testing module currently connects, survival monitoring is carried out according to the heartbeat message that auto-dial testing module reports to the connection status of auto-dial testing module;Auto-dial testing module, control command for being sent according to auto-dial testing monitoring module carries out auto-dial testing, it is obtained and reporting terminal information from the drive test terminal of open data port, it sends heartbeat message and is attached survival monitoring to auto-dial testing monitoring module, the present invention fundamentally improves testing efficiency, expand test coverage, reappear test scene rapidly, solve the problems such as human resources input is big.

Description

A kind of distributed auto-dial testing system tested towards communication network and method
Technical field
The present invention relates to field of communication technology more particularly to a kind of distributed auto-dial testing systems tested towards communication network System and method.
Background technology
With the extensive use of mobile communication 3G/4G standards, oneself is being made great efforts to increase at this in various telecom operation commercial cities The occupation rate of market in field, therefore the competition in communication equipment field is also more and more fierce, is usually set in the wireless of outfield deployment It is standby to run into transformation, upgrade, after the operations such as dilatation or general data modification, to ensure that equipment can run well, it is necessary to institute There is carrier frequency to carry out testing, the method used at present is that one notebook of a people carries out manual testing, and this method takes time and effort, and And it can not ensure to test each carrier wave the operation hidden danger in place, causing equipment.Time-consuming and laborious, O&M cost is also very big.And And the above method is usually also used in the pressure test of each version of intra-company, the greatly wasting of resources is caused, and Testing is also insufficient, and the testing mode of traditional " one machine of a people, one terminal " has seriously affected the promotion of testing efficiency, also influences Positioning to wireless device problem.
Currently in the wireless device test of existing net, it is main test hand that operating terminal, which carries out the business such as CS and PS, Section, but tester carries out the efficiency of testing and is influenced be subject to factors manually, has seriously affected test problem and orientation problem As a result, especially in the test in outfield usually require one laptop of human hand tested, when carry out multiple access Even a people is needed to control 5,6 laptops during test.And manpower is required for carry out the finishing analysis of test data.
For the above situation, Pu Tian telecom technology co., ltds propose a kind of mobile communications network multi-service auto-dial testing Instrument, which assigns including TCH test channel, analysis instruction and TCH test channel executes instruction and central processing unit passes through control Bus difference connecting test passage, voice unit and storage unit etc..Various businesses work(is integrated with by above-mentioned test module Can, by being connected with computer, testing instrument to be controlled to carry out all kinds of business automatically.Huawei Company proposes a kind of auto-dial testing system System includes auto-dial testing server and auto-dial testing agent apparatus, wherein:Auto-dial testing server is used to control auto-dial testing generation It manages device and carries out auto-dial testing, and receive the auto-dial testing result that auto-dial testing agent apparatus reports;And auto-dial testing agency Device is available for the all-calls of monitoring network element under the control of auto-dial testing server and by network element initiation auto-dial testing and receives Collect and report auto-dial testing result.A kind of multi-user test method and device have been invented by Zhong Xing companies, the method achieve multi-purpose Family test can be that each test terminal matches somebody with somebody corresponding testing information respectively for each test terminal respectively, and dial-up connection is carried out to each terminal.
Above-mentioned first two scheme employs hardware module and initiates the mode of business rather than directly use different vendor's core The special test data card or commercial mobile phone terminal of piece, the drawbacks of so doing are the signalings that can not obtain end side, it is impossible to full Foot is some based on the true test scene for using commercial mobile phone terminal.Moreover, the parallel access test of multi-user, shadow can not be met The pressure testing results to wireless device are rung.The third above-mentioned scheme accesses while meeting multi-user, but in system tray The autgmentability of number of users is not accounted on structure, and only does simple terminal access dial test, it is impossible to be met complicated Test scene, whether and the program can not also obtain final side signaling, can not test end side and receive and report information correct.
The content of the invention
(1) technical problems to be solved
The present invention provide it is a kind of towards communication network test distributed auto-dial testing system and method, with solve it is existing from The signaling of end side can not be obtained in dynamic testing technology, it is impossible to meet and really use the test scene of commercial mobile phone terminal and multiple The technical issues of miscellaneous test scene.
(2) technical solution
In order to solve the above technical problems, the present invention provides a kind of distributed auto-dial testing system tested towards communication network System, the system include auto-dial testing monitoring module and auto-dial testing module, wherein:
Auto-dial testing monitoring module for sending control command to auto-dial testing module, controls the auto-dial testing module Auto-dial testing is carried out, receives and shows the end message that the auto-dial testing module reports, monitor the auto-dial testing mould in real time The state for the test terminal that block currently connects, according to the heartbeat message that the auto-dial testing module reports to the auto-dial testing mould The connection status of block carries out survival monitoring;
Auto-dial testing module, the control command for being sent according to the auto-dial testing monitoring module carry out auto-dial testing, Obtained from the drive test terminal of open data port and reporting terminal information, send heartbeat message to the auto-dial testing monitoring module into Row connection survival monitoring.
Preferably, the auto-dial testing monitoring module includes Automated condtrol unit, data receiver display unit and terminal Monitoring unit, wherein:
Automated condtrol unit, when being tested for performing, the interface function parsed in shell script is converted in order to control Order, and issue the control command to the auto-dial testing module;
Data receiver display unit for receiving and showing end message that the auto-dial testing module reports, and receives The heartbeat message that the auto-dial testing module reports;
Terminal monitoring unit, the end message real time monitoring received according to the data receiver display unit are described automatic The state for the test terminal that testing module currently connects, and the heartbeat message pair received according to the data receiver display unit The connection status of the auto-dial testing module carries out survival monitoring.
Preferably, the auto-dial testing monitoring module further includes terminal parameter configuration module, for changing in shell script Terminal parameter.
Preferably, the Automated condtrol unit is additionally operable to start after the auto-dial testing module issues control command Control timer, and judge whether the data receiver display unit receives the auto-dial testing mould in default timing The end message that block reports if so, performing next command, if it is not, then showing overtime prompting, and continues to execute next life Order.
Preferably, the auto-dial testing module includes one or cascade multiple is equipped with auto-dial testing agent unit and end The card for industrial computer of control unit is held, wherein:
Auto-dial testing agent unit for establishing the connection with auto-dial testing monitoring module, starts heartbeat thread, to data It receives display unit transmission heartbeat message and is attached survival monitoring to the terminal monitoring unit;In the state of connection survival Under, the control command that the Automated condtrol unit is sent is received, according to the control command to the test terminal that currently connects Carry out auto-dial testing;The end message that Terminal Control Element obtains is reported to data receiver display unit
Terminal Control Element, for obtaining end message from the drive test terminal of open data port and sending out the end message It is sent to auto-dial testing agent unit.
Preferably, the shell script is python scripts.
The invention also provides it is a kind of towards communication network test distributed auto-dial testing method, the described method includes:
S1, auto-dial testing monitoring module to auto-dial testing module send control command, control the auto-dial testing module into Row auto-dial testing;
The control command that S2, auto-dial testing module are sent according to the auto-dial testing monitoring module carries out auto-dial testing, from The drive test terminal of open data port obtains and reporting terminal information, and send heartbeat message to the auto-dial testing monitoring module into Row connection survival monitoring;
S3, auto-dial testing monitoring module receive and show that the auto-dial testing module is obtained from the drive test terminal of open data port The end message taken monitors the state for the test terminal that the auto-dial testing module currently connects in real time, and according to described automatic The heartbeat message that testing module reports carries out survival monitoring to the connection status of the auto-dial testing module.
Preferably, the step S1 is specifically included:When a test is performed, the interface function in shell script is parsed by its turn Control command is changed to, and the control command is issued to the auto-dial testing module.
Preferably, the method further includes:
According to the terminal parameter in the type modification shell script of terminal in test process.
Preferably, after control command is issued to the auto-dial testing module, the method further includes:
Start control timer, judge whether the auto-dial testing monitoring module receives described in default timing The end message that auto-dial testing module reports if so, performing next command, if it is not, then showing overtime prompting, and continues to hold Row next command.
Preferably, the step S2 is specifically included:
The connection with auto-dial testing monitoring module is established, starts heartbeat thread, sends heartbeat message to the auto-dial testing Monitoring module is attached survival monitoring;
In a state that connection is survived, the control command that the auto-dial testing monitoring module is sent is received, according to the control System order carries out auto-dial testing to the test terminal currently connected;It is obtained end message is obtained from the drive test terminal of open data port The end message taken is reported to auto-dial testing monitoring module.
(3) advantageous effect
By using the distributed auto-dial testing system provided by the invention tested towards communication network and method, can support The test terminal of various patterns can constantly increase the terminal kinds of support, have scalability well, meet system not The demand of disconnected iteration upgrading;Distributed system architecture is employed, the terminal quantity that can increase controllable auto-dial testing meets very Real field scape multi-user concurrent is tested;Final side signaling is integrated in slave computer and obtains function, all kinds of letters that terminal can be reported Order is reported in host computer, avoids the test pattern of single network side monitoring signaling;Using Python as script edit Language simple and flexible carries out terminal complicated control by the control command of simple and flexible, meets existing all kinds of checkout areas Scape.
Description of the drawings
The features and advantages of the present invention can be more clearly understood by reference to attached drawing, attached drawing is schematically without that should manage It solves to carry out any restrictions to the present invention, in the accompanying drawings:
Fig. 1 is a kind of structure diagram for the distributed auto-dial testing system tested towards communication network of the present invention;
Fig. 2 is a kind of flow chart for the distributed auto-dial testing method tested towards communication network of the present invention;
Fig. 3 is distributed automatic dialing tester control command interaction flow schematic diagram in the embodiment of the present invention;
Fig. 4 is connection survival monitoring flow diagram in the embodiment of the present invention;
Fig. 5 is that the real-time signaling of ADT-Agent Agents of slave computer in the embodiment of the present invention obtains flow diagram.
Specific embodiment
To make the purpose, technical scheme and advantage of the embodiment of the present invention clearer, below in conjunction with the embodiment of the present invention In attached drawing, the technical solution in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is Part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art All other embodiments obtained without making creative work belong to the scope of protection of the invention.
The present invention proposes a kind of distributed auto-dial testing system tested towards communication network and method, passes through upper bottom Machine control operation multi-section test terminal carries out the comprehensive automatization test system of pressure test.It meets mould in current test Intend multi-user and CS (Circuit Switching) and PS (Packet Switching) business are carried out in same cell, solve Under existing test environment, the bottleneck of number of users in multi-user use-case is tested.The system can be adapted to the survey of each chip manufacturer Terminal drive test terminal and commercial Android mobile phone terminal are tried, meets various types terminal and is used in mixed way, and by using commercialization Android mobile phone can be from simulation true operation, the calling of testing mobile phone, routine tests and the Email such as short message, mobile dream network, The data services such as GPRS, WAP, multimedia message solve the problems, such as the problem of can not simulating true use environment during reproduction outfield.The whole series system System has preferably annotated the theory of automatic test, and all using the control mode of python scripts, python scripts are A kind of light-weighted programming language, reduces the difficulty that tester writes script, can both customize simple generic script and do Pressure test is automated, the automatic test of the use-cases such as complicated algorithm verification can also be met, enrich test method, liberated The manpower of manual test.And database is coordinated to reach use-case editor, use case storage, the multi-functional unification that use-case performs.And It pinpoints the problems when pilot pin accesses problem to part terminal, it is necessary to which base station side and final side signaling are carried out comparison, the system collection Into terminal drive test ability, final side signaling can be gathered in real time, and coordinate script, filter signaling.
Embodiment 1
The embodiment of the present invention 1 provides a kind of distributed auto-dial testing system tested towards communication network, as shown in Figure 1, The system includes auto-dial testing monitoring module 1 and auto-dial testing module 2, wherein:
Auto-dial testing monitoring module 1 for sending control command to auto-dial testing module, controls the auto-dial testing module Auto-dial testing is carried out, receives and shows the end message that the auto-dial testing module reports, monitor the auto-dial testing mould in real time The state for the test terminal that block currently connects, according to the heartbeat message that the auto-dial testing module reports to the auto-dial testing mould The connection status of block carries out survival monitoring;
Auto-dial testing module 2, the control command for being sent according to the auto-dial testing monitoring module carry out auto-dial testing, Obtained from the drive test terminal of open data port and reporting terminal information, send heartbeat message to the auto-dial testing monitoring module into Row connection survival monitoring.
In the embodiment of the present invention, whole system using auto-dial testing monitoring module ADT-Manager as host computer, automatically DT-BOX is as slave computer for testing modules A.ADT-BOX is made of 4 independent card for industrial computer, is installed in each board One auto-dial testing agent unit, that is, ADT-Agent Agents.In testing, distinguished by host computer ADT-Manager Control command is issued into the ADT-Agent Agents in specified board, it is commercial that control is inserted in the Android being inserted on ADT-BOX Terminal or all kinds of test data cards do CS and PS business
Further, the auto-dial testing monitoring module 1 includes Automated condtrol unit 11, data receiver display unit 12 With terminal monitoring unit 13, wherein:
Automated condtrol unit 11, when being tested for performing, the interface function parsed in shell script is converted into control System order, and issue the control command to the auto-dial testing module;
Data receiver display unit 12 for receiving and showing end message that the auto-dial testing module reports, and connects Receive the heartbeat message that the auto-dial testing module reports;
Terminal monitoring unit 13, according to the end message real time monitoring that the data receiver display unit 12 receives The state for the test terminal that auto-dial testing module currently connects, and the heartbeat received according to the data receiver display unit 12 Information carries out survival monitoring to the connection status of the auto-dial testing module.
Further, the auto-dial testing monitoring module 1 further includes terminal parameter configuration module, for changing shell script In terminal parameter.
In the present embodiment, which is operate in PC ends soft Part program, main function are that auto-dial testing module ADT-BOX is controlled and managed.Tester perform Python scripts into During row test, the interface function in script can be parsed by Automated condtrol unit and is converted to control command information, then will The ADT-Agent Agents that the information group bag issues slave computer send control terminal order, terminal monitoring unit to ADT-BOX The slotting SOT state of termination of institute, real-time monitoring terminal information, data receiver display unit in ADT-BOX can be monitored to receive and show ADT- The end message and heartbeat that BOX is reported, real-time update simultaneously can run log by logging program in real time, to program emerged in operation Abnormal problem is positioned.
Wherein, auto-dial testing monitoring module ADT-Manager supports local ACCESS databases and TCM databases, passes through Use-case can be stored in network and preserve by both the above mode, and system can be performed by a set of use-case, and automation Xun Huan performs Use-case preserves test report at the end of use-case performs in the form of three kinds, and tester is facilitated to position what is occurred during use-case performs Problem.For writing terminal parameter more the problems such as being not easy to change for occurring in script, auto-dial testing monitoring module ADT- Manager develops corresponding terminal parameter configuration module, and the terminal in shell script is changed by the parameter configuration at interface Parameter avoids changing script repeatedly.
Further, the Automated condtrol unit 11 is additionally operable to after the auto-dial testing module issues control command Start control timer, and judge whether the data receiver display unit 12 receives described automatic in default timing The end message that testing module 2 reports if so, performing next command, if it is not, then showing overtime prompting, and continues to execute Next command.
Further, the auto-dial testing module 2 includes one or cascade multiple is equipped with auto-dial testing agent unit 21 and the card for industrial computer of Terminal Control Element 22, wherein:
Auto-dial testing agent unit 21 for establishing the connection with auto-dial testing monitoring module, starts heartbeat thread, to number According to the transmission heartbeat message of display unit 12 is received survival monitoring is attached to the terminal monitoring unit 13;In connection survival Under state, the control command that the Automated condtrol unit 11 is sent is received, according to survey of the control command to currently connecting It tries terminal and carries out auto-dial testing;The end message that Terminal Control Element 22 obtains is reported to data receiver display unit 12;
Terminal Control Element 22, for obtaining end message and by the end message from the drive test terminal of open data port It is sent to auto-dial testing agent unit 21.
Wherein the quantity of Terminal Control Element can according to test need to set it is multiple.
In the present embodiment, system slave computer auto-dial testing module ADT-BOX is responsible for receiving user's (auto-dial testing monitoring mould Block) test command that sends, auto-dial testing agent unit carries out various operations, and handle by resolve command content come control terminal The end message that Terminal Control Element is obtained from the drive test terminal of open data port returns to user's (auto-dial testing monitoring module). ADT-BOX uses Windows systems, be since windows systems support most of test data card or commercial mobile phone driving, and And support more test terminals or mobile phone convenient for system.The terminal that ADT-BOX is supported at present has:It is single intention terminal, single This extra large terminal, multiple commercial mobile phones, multiple core LC5760, LC8142, multiple Huawei MIFI and again postal terminal, in real scene In test, the system can flexibly arrange in pairs or groups all kinds of mode terminals, carry out 2G, 3G and 4G interoperability, the end in simulation of real scenes Service condition is held, and in face of the faster terminal market that updates, the present invention only needs installing terminal driving that can be adapted to, that is, inserts It uses, there is good autgmentability, it can continuous evolution.
Auto-dial testing module 2 is cascaded by 4 card for industrial computer in the present embodiment, each board height about 10cm, if Standby total height is about in 35-40cm.The external at least eight usb interfaces of industry control board, according to windows operating systems, use TD, LTE More money terminals and mobile phone.If terminal support parallel control, can 32 terminals of carry, if not supporting parallel control can 4 ends of carry End.Terminal or mobile phone are connected to usb interfaces by usb connecting lines.Equipment built-in power adaptation module, respectively to different industrial control mainboards For direct current;Hub built in equipment, cable connection mainboard, communicates for host computer with each industrial control mainboard.Equipment back side need to configure wind Fan ensures heat dissipation.Power supply mode is by adapter or mainboard, and due to purchasing industrial control mainboard, independent usb is unable to power down, needs full page Power down.
Preferably, the shell script is python scripts, system all using the control mode of python scripts, Python scripts are a kind of light-weighted programming languages, reduce the difficulty that tester writes script, can both customize Simple generic script does automation pressure test, can also meet the automatic test of the use-cases such as complicated algorithm verification, enrich Test method, has liberated the manpower of manual test.
Embodiment 2
The embodiment of the present invention 2 provides a kind of distributed auto-dial testing method tested towards communication network, as shown in Fig. 2, This method includes:
S1, auto-dial testing monitoring module to auto-dial testing module send control command, control the auto-dial testing module into Row auto-dial testing;
The control command that S2, auto-dial testing module are sent according to the auto-dial testing monitoring module carries out auto-dial testing, from The drive test terminal of open data port obtains and reporting terminal information, and send heartbeat message to the auto-dial testing monitoring module into Row connection survival monitoring;
S3, auto-dial testing monitoring module receive and show that the auto-dial testing module is obtained from the drive test terminal of open data port The end message taken monitors the state for the test terminal that the auto-dial testing module currently connects in real time, and according to described automatic The heartbeat message that testing module reports carries out survival monitoring to the connection status of the auto-dial testing module.
Using auto-dial testing monitoring module ADT-Manager as host computer, auto-dial testing module ADT-BOX makees this method For slave computer.ADT-BOX is made of 4 independent card for industrial computer, and an auto-dial testing generation is assembled in each board Manage unit, that is, ADT-Agent Agents.In testing, control command is issued to finger by host computer ADT-Manager respectively In ADT-Agent Agents in fixed board card, control is inserted in the Android business terminal being inserted on ADT-BOX or each class testing number CS and PS business is done according to card.The present invention, which fully takes into account, saves resource raising efficiency, is employed in design system distributed System architecture meets the message intercommunication between each board, by board grade on-line mode, can increase controllable auto-dial testing Terminal quantity meets the test of real scene multi-user concurrent.By a upper computer software multiple slave computers is controlled to act on behalf of journey simultaneously Sequence saves human input, and system bulk is moderate, can be taken to as road measuring device in various test environments.
Further, when a test is performed, the step S1 is specifically included:Parse shell script in interface function by its Control command is converted to, and the control command is issued to the auto-dial testing module.
Further, the method further includes:According to the terminal in the type modification shell script of terminal in test process Parameter.
Further, after control command is issued to the auto-dial testing module, the method further includes:It is fixed to start control When device, judge whether the auto-dial testing monitoring module receives what the auto-dial testing module reported in default timing End message if so, performing next command, if it is not, then showing overtime prompting, and continues to execute next command.
In the present embodiment, the execution flow of control command, as shown in figure 3, specifically including
When tester performs Python scripts, interface function in ADT-Manager parsing shell scripts and by its turn Control command information is changed to, then which is issued to the ADT-Agent Agents of slave computer, afterwards ADT- Manager waits ADT-Agent to return to implementing result.
ADT-Agent finds corresponding control command and performs, and completes that result is reported to ADT-Manager after operating, Wait next control command.
ADT-Manager can just perform next command after receiving an implementing result.It can not receive when more than 60s host computers During reply, it can show wait time-out, and continue to execute.The timing chosen in the embodiment of the present invention is 60s, can also basis The actual needs of test is set.
The present invention is integrated with final side signaling in slave computer ADT-Agent Agents and obtains function, can will be in terminal All kinds of signalings of report are reported in host computer ADT-Manager, and tester writes simple script and all kinds of signalings can be carried out Filtering is searched, and extracts useful information, the test pattern for solving single network side monitoring signaling, in multi-user's automatic test In add final side signaling monitoring.
Further, the step S2 is specifically included:
The connection with auto-dial testing monitoring module is established, starts heartbeat thread, sends heartbeat message to the auto-dial testing Monitoring module is attached survival monitoring;
In a state that connection is survived, the control command that the auto-dial testing monitoring module is sent is received, according to the control System order carries out auto-dial testing to the test terminal currently connected;It is obtained end message is obtained from the drive test terminal of open data port The end message taken is reported to auto-dial testing monitoring module.
In the present embodiment, the ADT-Agent Agents initialization connection ADT-Manager of slave computer establishes heartbeat inspection It surveys, survival monitoring flow is attached, as shown in figure 4, specifically including:
When ADT-Agent starts, it is necessary to send connection request to ADT-Manager, responded when receiving ADT-Manager When, it was demonstrated that it has been connected with ADT-Manager;
After being connected with ADT-Manager, ADT-Agent starts heartbeat thread, and heartbeat message is sent to ADT-Manager, The response of ADT-Manager is detected simultaneously;If detecting response, heartbeat message is sent every 5s, tells ADT-Manager, ADT-Agent is online;If response is not detected, illustrate that ADT-Agent can not connect ADT-Manager, resending connection please It asks.
After ADT-Manager receives the request connection of ADT-Agent, successful connection is sent to ADT-Agent, updates interface (ADT-Agent Alive), while listening for the heartbeat message of ADT-Agent;If the heartbeat for listening to ADT-Agent transmissions disappears Breath, then update interface;If not hearing message, illustrate that ADT-Agent goes offline, update interface.
The real-time signaling of the ADT-Agent Agents of slave computer obtains flow in the embodiment of the present invention, as shown in figure 5, tool Body includes:
When a test is performed, ADT-Agent programs obtain reporting message in real time from the drive test terminal of open data port, to obtaining The message got is decoded, and judges whether current operating mode is test pattern, if it is, each disappearing to decoded Breath primitive is parsed, and the message after parsing classify, therefrom obtains Event and Uu mouthfuls of each interface I E, event Message.For Uu mouthfuls of message, the title of outbound message need to be only solved, during the message that Uu mouthfuls of real time parsing, all need to only parse outbound message Title.It for other systems message, to be decoded twice, parse the data block is system message that for the first time Segmentation, is the title that system message is parsed after whole system message sections is received for the second time;And for Uu mouthfuls other Message if carrying NAS layers of message, will parse NAS layers of message name, otherwise need to only parse the name of the Uu mouthfuls of message Claim.
Wherein, Uu mouthfuls of source codecs are divided into parses for system message, command response parsing and other data real time parsings. During resolve command response, Data Decode parse current primitive for order response when, according to the type of response message, Parse response, as a result, with relevant field, and result is returned.
A kind of distributed auto-dial testing system tested towards communication network proposed by the present invention and method, can support various The test terminal of pattern can constantly increase the terminal kinds of support, have scalability well, meet system and constantly change The demand of generation upgrading;Distributed system architecture is employed, the terminal quantity that can increase controllable auto-dial testing meets true field Scape multi-user concurrent is tested;Final side signaling is integrated in slave computer and obtains function, in all kinds of signalings that terminal can be reported It reports for work in host computer, avoids the test pattern of single network side monitoring signaling;Using Python as Scripting language Simple and flexible carries out terminal complicated control by the control command of simple and flexible, meets existing all kinds of test scenes.
Through the above description of the embodiments, those skilled in the art can be understood that the present invention can lead to Hardware realization is crossed, the mode of necessary general hardware platform can also be added to realize by software.Based on such understanding, this hair Bright technical solution can be embodied in the form of software product, which can be stored in a non-volatile memories Medium (can be CD-ROM, USB flash disk, mobile hard disk etc.) in, it is used including some instructions so that a computer equipment (can be Personal computer, server or network equipment etc.) perform method described in each embodiment of the present invention.
It will be appreciated by those skilled in the art that attached drawing is the schematic diagram of a preferred embodiment, module or stream in attached drawing Journey is not necessarily implemented necessary to the present invention.
It will be appreciated by those skilled in the art that the module in device in embodiment can describe be divided according to embodiment It is distributed in the device of embodiment, respective change can also be carried out and be disposed other than in one or more devices of the present embodiment.On The module for stating embodiment can be merged into a module, can also be further split into multiple submodule.
Disclosed above is only several specific embodiments of the present invention, and still, the present invention is not limited to this, any ability What the technical staff in domain can think variation should all fall into protection scope of the present invention.

Claims (12)

1. a kind of distributed auto-dial testing system tested towards communication network, which is characterized in that the system comprises automatic pokings Monitoring module and auto-dial testing module are surveyed, wherein:
Auto-dial testing monitoring module for sending control command to auto-dial testing module, controls the auto-dial testing module to carry out Auto-dial testing receives and shows the end message that the auto-dial testing module reports, and monitors the auto-dial testing module in real time and works as The state of the test terminal of preceding connection, according to the heartbeat message that the auto-dial testing module reports to the auto-dial testing module Connection status carries out survival monitoring;
Auto-dial testing module, for grafting drive test terminal, and according to the auto-dial testing monitoring module send control command into Row auto-dial testing, drive test terminal acquisition and reporting terminal information from open data port, sends heartbeat message to the automatic poking It surveys monitoring module and is attached survival monitoring;
Wherein, the end message includes at least final side signaling.
2. system according to claim 1, which is characterized in that the auto-dial testing monitoring module includes automation control list Member, data receiver display unit and terminal monitoring unit, wherein:
Automated condtrol unit, when being tested for performing, the interface function parsed in shell script is converted into control command, And issue the control command to the auto-dial testing module;
Data receiver display unit, for receiving and showing end message that the auto-dial testing module reports, and described in receiving The heartbeat message that auto-dial testing module reports;
Terminal monitoring unit, the end message received according to the data receiver display unit monitor the auto-dial testing in real time The state for the test terminal that module currently connects, and the heartbeat message received according to the data receiver display unit is to described The connection status of auto-dial testing module carries out survival monitoring.
3. system according to claim 1, which is characterized in that the auto-dial testing monitoring module further includes terminal parameter and matches somebody with somebody Module is put, for changing the terminal parameter in shell script.
4. system according to claim 2, which is characterized in that the Automated condtrol unit is to the auto-dial testing module After issuing control command, it is additionally operable to start control timer, and judges that the data receiver is shown in default timing Whether unit receives the end message that the auto-dial testing module reports, if so, next command is performed, if it is not, then showing Time-out is reminded, and continues to execute next command.
5. system according to claim 1 or 2, which is characterized in that the auto-dial testing module includes one or cascade Multiple card for industrial computer for being equipped with auto-dial testing agent unit and Terminal Control Element, wherein:
Auto-dial testing agent unit for establishing the connection with auto-dial testing monitoring module, starts heartbeat thread, to data receiver Display unit sends heartbeat message and is attached survival monitoring to the terminal monitoring unit;In a state that connection is survived, connect The control command that the Automated condtrol unit is sent is received, the test terminal currently connected is carried out certainly according to the control command Dynamic testing;The end message that Terminal Control Element obtains is reported to data receiver display unit;
Terminal Control Element, for obtaining end message from the drive test terminal of open data port and being sent to the end message Auto-dial testing agent unit.
6. the system according to Claims 2 or 3, which is characterized in that the shell script is python scripts.
A kind of 7. distributed auto-dial testing method tested towards communication network, which is characterized in that the described method includes:
S1, auto-dial testing monitoring module send control command to auto-dial testing module, and the auto-dial testing module is controlled to carry out certainly Dynamic testing;
The control command that S2, auto-dial testing module are sent according to the auto-dial testing monitoring module carries out auto-dial testing, from opening The drive test terminal of data port obtains and reporting terminal information, sends heartbeat message and is attached to the auto-dial testing monitoring module Survival monitoring;
S3, auto-dial testing monitoring module receive and show what the auto-dial testing module was obtained from the drive test terminal of open data port End message monitors the state for the test terminal that the auto-dial testing module currently connects in real time, and according to the auto-dial testing The heartbeat message that module reports carries out survival monitoring to the connection status of the auto-dial testing module;
Wherein, auto-dial testing module described in the drive test terminal grafting, the end message include at least final side signaling.
8. the method according to the description of claim 7 is characterized in that the step S1 is specifically included:When a test is performed, parse Interface function in shell script is converted into control command, and issues the control command to the auto-dial testing module.
9. the method according to the description of claim 7 is characterized in that the method further includes:
According to the terminal parameter in the type modification shell script of terminal in test process.
10. according to the method described in claim 8, it is characterized in that, after control command is issued to the auto-dial testing module, The method further includes:
Start control timer, judge whether the auto-dial testing monitoring module receives described automatic in default timing The end message that testing module reports if so, performing next command, if it is not, then showing overtime prompting, and continues to execute down One order.
11. the method according to claim 7 or 8, which is characterized in that the step S2 is specifically included:
The connection with auto-dial testing monitoring module is established, starts heartbeat thread, heartbeat message is sent and is monitored to the auto-dial testing Module is attached survival monitoring;
In a state that connection is survived, the control command that the auto-dial testing monitoring module is sent is received, is ordered according to the control It makes and auto-dial testing is carried out to the test terminal currently connected;It will obtain what end message obtained from the drive test terminal of open data port End message is reported to auto-dial testing monitoring module.
12. method according to claim 8 or claim 9, which is characterized in that the shell script is python scripts.
CN201410602286.0A 2014-10-31 2014-10-31 A kind of distributed auto-dial testing system tested towards communication network and method Active CN104301926B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410602286.0A CN104301926B (en) 2014-10-31 2014-10-31 A kind of distributed auto-dial testing system tested towards communication network and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410602286.0A CN104301926B (en) 2014-10-31 2014-10-31 A kind of distributed auto-dial testing system tested towards communication network and method

Publications (2)

Publication Number Publication Date
CN104301926A CN104301926A (en) 2015-01-21
CN104301926B true CN104301926B (en) 2018-06-05

Family

ID=52321445

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410602286.0A Active CN104301926B (en) 2014-10-31 2014-10-31 A kind of distributed auto-dial testing system tested towards communication network and method

Country Status (1)

Country Link
CN (1) CN104301926B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104714868B (en) * 2015-03-27 2018-03-30 上海新炬网络信息技术股份有限公司 A kind of distributed computer auto-dial testing method
CN106330595B (en) * 2015-07-02 2020-01-21 阿里巴巴集团控股有限公司 Heartbeat detection method and device for distributed platform
CN106851709A (en) * 2015-12-04 2017-06-13 大唐移动通信设备有限公司 A kind of service test method and system
CN105718807B (en) * 2016-01-26 2018-08-03 东北大学 Android system and its authentic authentication system based on soft TCM and credible software stack and method
CN107995024A (en) * 2017-10-30 2018-05-04 北京奇虎科技有限公司 A kind of device management method, device, server and storage medium
CN112600731A (en) * 2020-12-09 2021-04-02 广东电网有限责任公司湛江供电局 Network testing device and method
CN113949657B (en) * 2021-11-30 2023-04-18 中国电信股份有限公司 Internet of things detection device, system and test method

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2788496Y (en) * 2005-05-12 2006-06-14 宁波普天通信技术有限公司 Mobile communication network multi-service auto dialing and detecting device
CN1972493A (en) * 2006-12-19 2007-05-30 华为技术有限公司 Automatic test system and method
CN101741485A (en) * 2009-12-22 2010-06-16 中兴通讯股份有限公司 Method and device for realizing multi-user test
CN102333334A (en) * 2011-08-31 2012-01-25 华南理工大学 Mobile network quality automatic monitoring system and method for GSM and 3G
CN103970650A (en) * 2014-04-09 2014-08-06 广州杰赛科技股份有限公司 Distributed testing method and device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2788496Y (en) * 2005-05-12 2006-06-14 宁波普天通信技术有限公司 Mobile communication network multi-service auto dialing and detecting device
CN1972493A (en) * 2006-12-19 2007-05-30 华为技术有限公司 Automatic test system and method
CN101741485A (en) * 2009-12-22 2010-06-16 中兴通讯股份有限公司 Method and device for realizing multi-user test
CN102333334A (en) * 2011-08-31 2012-01-25 华南理工大学 Mobile network quality automatic monitoring system and method for GSM and 3G
CN103970650A (en) * 2014-04-09 2014-08-06 广州杰赛科技股份有限公司 Distributed testing method and device

Also Published As

Publication number Publication date
CN104301926A (en) 2015-01-21

Similar Documents

Publication Publication Date Title
CN104301926B (en) A kind of distributed auto-dial testing system tested towards communication network and method
CN109388530B (en) Blade server-oriented automatic test platform and test method
CN107819608B (en) VoLTE network cutover automatic evaluation method based on multi-interface software simulation
CN100544292C (en) A kind of method of BAS Broadband Access Server automatic test
Gao et al. Mobile Testing-as-a-Service (MTaaS)--Infrastructures, Issues, Solutions and Needs
CN106484622A (en) Method of testing, apparatus and system
CN102118283B (en) Method and device for testing communication equipment
CN102938800A (en) System and method for automatically testing wireless communication quality
CN107451060A (en) A kind of across mobile terminal automated test frame system
CN106411637A (en) Internet-of-things device scenario testing method
CN109933509A (en) A kind of method and apparatus for realizing automatic test defect management
CN108694118A (en) A kind of application testing method and device
CN102413484A (en) System and method for testing network link performance of terminal equipment
CN109683859B (en) Computer software development management platform, equipment and readable storage medium
CN113422794A (en) Traffic recording and playback processing method and device and electronic equipment
CN104239114A (en) Application compiling method and device
CN113760730A (en) Automatic testing method and device
CN107122307B (en) Internet of things execution system
CN110473530A (en) Instruction classification method, apparatus, electronic equipment and computer readable storage medium
CN105760300A (en) Automatic STK/UTK service testing method and system
CN107678965A (en) It is automatically integrating method of testing and system, service terminal, memory
CN110446026A (en) A kind of method and system of electric performance test equipment integrated test
CN114745313A (en) Terminal remote testing method and device, electronic equipment and readable medium
CN110264035A (en) Configuration method, device, terminal and the storage medium of workflow
CN114826993A (en) Electric energy meter module simulation test system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
CB03 Change of inventor or designer information

Inventor after: Xia Qing

Inventor after: Hou Lei

Inventor after: Liu Xuhua

Inventor after: Deng Zhaoji

Inventor before: Hou Lei

Inventor before: Xia Qing

Inventor before: Liu Xuhua

Inventor before: Deng Zhaoji

COR Change of bibliographic data

Free format text: CORRECT: INVENTOR; FROM: HOU LEI XIA QING LIU XUHUA DENG ZHAOJI TO: XIA QING HOU LEI LIU XUHUA DENG ZHAOJI

GR01 Patent grant
GR01 Patent grant