CN103716198B - Data network quality auto-dial testing method and system - Google Patents

Data network quality auto-dial testing method and system Download PDF

Info

Publication number
CN103716198B
CN103716198B CN201310282924.0A CN201310282924A CN103716198B CN 103716198 B CN103716198 B CN 103716198B CN 201310282924 A CN201310282924 A CN 201310282924A CN 103716198 B CN103716198 B CN 103716198B
Authority
CN
China
Prior art keywords
testing
result
server
successful
http
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.)
Expired - Fee Related
Application number
CN201310282924.0A
Other languages
Chinese (zh)
Other versions
CN103716198A (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.)
China Southern Power Grid Co Ltd
Original Assignee
China Southern Power Grid 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 China Southern Power Grid Co Ltd filed Critical China Southern Power Grid Co Ltd
Priority to CN201310282924.0A priority Critical patent/CN103716198B/en
Publication of CN103716198A publication Critical patent/CN103716198A/en
Application granted granted Critical
Publication of CN103716198B publication Critical patent/CN103716198B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The present invention provides a kind of data network quality auto-dial testing method and system, the method comprising the steps of:After the traffic order that testing server is issued is received, Internet testing is initiated to user terminal and destination application server respectively;Judge whether Internet testing is successful;Dns resolution test is initiated to destination application server if Internet testing success, and judges whether dns resolution is successful;TCP handshake requests are initiated to destination application server if dns resolution success, and judges whether TCP shakes hands successful;HTTP connection requests are initiated to destination application server if TCP shakes hands successfully, and judges whether HTTP connections are successful;Successful result is sent to into the testing server if HTTP successful connections.Present invention reduces the workload of user, less demanding to the technical merit of user, solve conventional failure and analyze inaccurate problem, network O&M cost can also be reduced, improve the network operation efficiency of management.

Description

Data network quality auto-dial testing method and system
Technical field
The present invention relates to data network quality test field, more particularly to a kind of data network quality auto-dial testing method And a kind of data network quality auto-dial testing system.
Background technology
Existing network e measurement technology carries out classification according to whether transmission message and can be divided into passive measurement technology and active testing Technology.Passive measurement does not send message, but is chosen just in communication message as the case may be as bearing message, i.e., normal Communication process in realize network measure, its principle be by capture bearing message information, passively realize network measure. Active testing is actively to send bearing message, infers shadow of the network to these packet states according to the feedback message for returning Ring, be derived from the status information of network.As passive measurement is difficult to understand performance end to end, it is also difficult to obtain global performance View, and multi-party cooperation when measuring, is needed, therefore measurement range is limited.Additionally, passive measurement implementation complexity is higher, and And need to check user data package, the secrecy and safety to user profile also brings certain threat.
Active testing technology is divided into Internet testing and application layer testing again, Internet testing by destination server, The network equipment, pc client send ICMP(Internet Control Message Protocol, internet control message association View)Message, so as to reach the purpose for understanding tested network.Application layer testing can be estimated to Network, by mesh Mark server sends the analog message consistent with actual services message, to business in a network running status carry out true simulation with Test.
Existing testing equipment is operated using manual type.When user adopts Internet testing, testing sets It is standby send ICMP echo request data package to the network equipment or server according to fixed interval, and according to receiving ICMP echo response response data packets carry out the statistics of the indexs such as packet loss, time delay.When user adopts application layer testing When, testing equipment sends HTTP GET/POST request data package to server according to fixed interval, just for receiving The round packet data recording of HTTP response responses receives the time, operating process all must user manually operate and complete.
However, during above-mentioned employing manual type carries out testing to Internet and application layer respectively, user needs Understand the framework of whole network, and Internet or application layer group are carried out according to the failure condition for reporting to the network equipment or server Survey.Function is automatically analyzed to failure as testing equipment lacks, after needing reporting fault, by user according to testing result, people Work point analyses fault type.If user is unfamiliar with to fault type or the network to safeguarding lacks comprehensively understanding, then Will be unable to during testing using suitable testing means, it is possible to causing trouble analyzes inaccurate problem occurring, nothing Method reaches the purpose for carrying out accident analysis using testing equipment to network.
The content of the invention
Based on this, it is necessary to for the inaccurate problem of above-mentioned accident analysis, there is provided a kind of data network quality automatic poking Survey method and system.
For achieving the above object, the present invention is adopted the following technical scheme that:
A kind of data network quality auto-dial testing method, comprises the following steps:
After the traffic order that testing server is issued is received, initiate to user terminal and destination application server respectively Internet testing;
Judge whether Internet testing is successful;Carry out fault location if Internet testing is unsuccessful, and by positioning result It is uploaded to the testing server;
If Internet testing success, dns resolution test is initiated to destination application server, and whether judge dns resolution Success;DNS failure analysis result is uploaded if dns resolution is unsuccessful to the testing server;
If dns resolution success, initiate TCP handshake requests to destination application server, and judge TCP shake hands whether into Work(;If TCP shake hands it is unsuccessful if upload TCP failure analysis results to the testing server;
If TCP shakes hands successfully, initiate HTTP connection requests to destination application server, and judge HTTP connections whether into Work(;HTTP failure analysis result is uploaded to the testing server if HTTP connections are unsuccessful;Will if HTTP successful connections Successful result is sent to the testing server.
A kind of data network quality auto-dial testing system, including testing equipment, the testing equipment include:
Starting module, for after the traffic order that testing server is issued is received, respectively to user terminal and target Application server initiates Internet testing;
First judges and transmission module in result, for judging whether Internet testing is successful;If Internet testing is unsuccessful Fault location is then carried out, and positioning result is uploaded to into the testing server;
Second judges and transmission module in result, for judging that the judged result with transmission module in result is yes described first In the case of, dns resolution test is initiated to destination application server, and judge whether dns resolution is successful;If dns resolution not into Work(then uploads DNS failure analysis result to the testing server;
3rd judges and transmission module in result, for judging that the judged result with transmission module in result is yes described second In the case of, TCP handshake requests are initiated to destination application server, and judge whether TCP shakes hands successful;If TCP can not shake hands Work(then uploads TCP failure analysis result to the testing server;
4th judges and transmission module in result, for judging that the judged result with transmission module in result is yes the described 3rd In the case of, HTTP connection requests are initiated to destination application server, and judge whether HTTP connections are successful;If HTTP connects not Successful then upload HTTP failure analysis result is to the testing server;Successful result is sent to into institute if HTTP successful connections State testing server.
By above scheme as can be seen that a kind of data network quality auto-dial testing method and system of the present invention, establish Fault type automatic decision flow process, by survey of shaking hands to the dns resolution test in Internet testing and application layer testing, TCP Examination, the judgement of HTTP connecting tests, can know rapidly occurred fault type, realize testing equipment to fault type Automatically analyze, reduce the workload of user, and it is also not high to the technical merit requirement of user, even if user is to testing equipment Function be unfamiliar with or the network to safeguarding lacks comprehensively to understand and can also carry out auto-dial testing, so as to efficiently solve biography System carries out the network measure institute inaccurate problem of caused accident analysis by manual type;Can also be dropped using this programme in addition Low network O&M cost, improves the network operation efficiency of management.
Description of the drawings
Fig. 1 disposes schematic diagram to be related to device using net, three layers of networking mode of province and district in the embodiment of the present invention;
Fig. 2 is that the present invention implements a kind of schematic flow sheet of data network quality auto-dial testing method in row;
Fig. 3 is that the present invention implements a kind of structural representation of data network quality auto-dial testing system in row.
Specific embodiment
Below in conjunction with the accompanying drawings and a specific embodiment, technical scheme is further described.
As shown in Figure 1, it is assumed that have an integrated data network at present using net, three layers of networking mode of province and district, i.e. backbone network, province Level backbone network, local level network.Backbone network and provincial backbone network save integrated data network interconnecting channels by netting, provincial backbone network with Local level network is by saving ground integrated data network interconnecting channels.According to its network architecture feature, can respectively in backbone network, provincial bone Dry net, local level network respectively dispose 1 set of testing equipment, and 1 set of testing server is deployed in trunk integrated data network, all groups The testing data unification of measurement equipment collection is sent to testing server and is analyzed.As shown in Fig. 2 a kind of data network of the present invention Network quality auto-dial testing method, specifically includes following steps:
Step S101, after the traffic order that testing server is issued is received, respectively to user terminal and intended application Server initiates Internet testing, subsequently into step S102.
As a preferable embodiment, before receiving the traffic order that testing server is issued in this step, may be used also To comprise the steps:The fault message of testing server receive user terminal to report, and the fault message is parsed with User terminal position is obtained, the traffic order is sent to nearest from user terminal according to user terminal position then Testing equipment.
Step S102, judges whether Internet testing is successful;Fault location is carried out if Internet testing is unsuccessful, and will Positioning result is uploaded to the testing server;Step S103 is entered if Internet testing success;If Internet testing success Step S103 is entered then.
Used as a preferable embodiment, the process for carrying out fault location can specifically include as follows:Respectively to Family terminal and destination application server initiate traceroute orders, and the route gone wrong in determining network finds out network In which section route there is a problem.
Step S103, if Internet testing success, initiates DNS to destination application server(Domain Name System, domain name system)Parsing test, and judge whether dns resolution is successful;DNS is uploaded if dns resolution is unsuccessful unsuccessfully to divide Analysis result gives the testing server;Step S104 is entered if dns resolution success.
Step S104, if dns resolution success, initiates TCP to destination application server(Transmission Control Protocol, transmission control protocol)Handshake request, and judge whether TCP shakes hands successful;If TCP shake hands it is unsuccessful if upload TCP Failure analysis result gives the testing server;Step S105 is entered if TCP shakes hands successfully.
Step S105, if TCP shakes hands successfully, initiates HTTP to destination application server(Hyper Text Transfer Protocol, HTML (Hypertext Markup Language))Connection request, and judge whether HTTP connections are successful;If HTTP connection it is unsuccessful if on HTTP failure analysis result is passed to the testing server;Successful result is sent to into the testing clothes if HTTP successful connections Business device.
Used as a preferable embodiment, a kind of data network quality auto-dial testing method of the present invention can also include step Rapid S106:The testing server is according to the result data for uploading(As positioning result, DNS failure analysis results, TCP unsuccessfully divide Analysis result, HTTP failure analysis results etc.)Fault type is analyzed(Can be specifically that testing server receives testing and sets These testing data are stored in into data base after the standby testing data for reporting, and enable fault analysis process, by fault analysis process Fault type is analyzed), and analysis result is returned to into user terminal.
In addition, corresponding with a kind of above-mentioned data network quality auto-dial testing method, the present invention also provides a kind of data network Network quality auto-dial testing system, including testing equipment, as shown in figure 3, specifically including in the testing equipment:
Starting module 101, for after the traffic order that testing server is issued is received, respectively to user terminal and mesh Mark application server initiates Internet testing;
First judges and transmission module 102 in result, for judging whether Internet testing is successful;If Internet testing not into Work(then carries out fault location, and positioning result is uploaded to the testing server;
Second judges and transmission module 103 in result, for the judged result with transmission module in result is judged described first In the case of being, dns resolution test is initiated to destination application server, and judge whether dns resolution is successful;If dns resolution The unsuccessful DNS failure analysis result that then uploads is to the testing server;
3rd judges and transmission module 104 in result, for the judged result with transmission module in result is judged described second In the case of being, TCP handshake requests are initiated to destination application server, and judge whether TCP shakes hands successful;If TCP shakes hands The unsuccessful TCP failure analysis result that then uploads is to the testing server;
4th judges and transmission module 105 in result, for the judged result with transmission module in result is judged the described 3rd In the case of being, HTTP connection requests are initiated to destination application server, and judge whether HTTP connections are successful;If HTTP connects The unsuccessful HTTP failure analysis result that then uploads is connect to the testing server;Successful result is sent if HTTP successful connections To the testing server.
Used as a preferable embodiment, a kind of data network quality auto-dial testing system can also be taken including testing Business device;The testing server is used for the fault message of receive user terminal to report, and the fault message is parsed to obtain To user terminal position, the traffic order is sent to nearest from user terminal according to user terminal position then Testing equipment.
Used as a preferable embodiment, described first judges and can include in transmission module in result:Fault location mould Block, for initiating traceroute orders to user terminal and destination application server respectively, goes wrong in determining network Route.
Used as a preferable embodiment, the testing server is can be also used for according to the result data for uploading to failure Type is analyzed, and analysis result is returned to user terminal.
A kind of other technical characteristics of above-mentioned data network quality auto-dial testing system and a kind of data network of the invention Quality auto-dial testing method is identical, and it will not go into details herein.
By above scheme as can be seen that a kind of data network quality auto-dial testing method and system of the present invention, set up Fault type automatic decision flow process, by shaking hands to the dns resolution test in Internet testing and application layer testing, TCP Test, the judgement of HTTP connecting tests, can know rapidly occurred fault type, realize testing equipment to fault type Automatically analyze, reduce the workload of user, and the technical merit of user is required it is also not high, even if user is set to testing Standby function is unfamiliar with or the network to safeguarding lacks comprehensively understanding and can also carry out auto-dial testing, so as to efficiently solve Tradition carries out the network measure institute inaccurate problem of caused accident analysis by manual type;Adopt in addition this programme can be with Network O&M cost is reduced, the network operation efficiency of management is improved.
Embodiment described above only expresses the several embodiments of the present invention, and its description is more concrete and detailed, but and Therefore the restriction to the scope of the claims of the present invention can not be interpreted as.It should be pointed out that for one of ordinary skill in the art For, without departing from the inventive concept of the premise, some deformations and improvement can also be made, these belong to the guarantor of the present invention Shield scope.Therefore, the protection domain of patent of the present invention should be defined by claims.

Claims (6)

1. a kind of data network quality auto-dial testing method, it is characterised in that comprise the following steps:
After the traffic order that testing server is issued is received, network is initiated to user terminal and destination application server respectively Layer testing;
Judge whether Internet testing is successful;Fault location is carried out if Internet testing is unsuccessful, and positioning result is uploaded To the testing server;
If Internet testing success, dns resolution test is initiated to destination application server, and judge whether dns resolution is successful; DNS failure analysis result is uploaded if dns resolution is unsuccessful to the testing server;
If dns resolution success, TCP handshake requests are initiated to destination application server, and judge whether TCP shakes hands successful;If TCP shakes hands the unsuccessful TCP failure analysis result that then uploads to the testing server;
If TCP shakes hands successfully, HTTP connection requests are initiated to destination application server, and judge whether HTTP connections are successful; HTTP failure analysis result is uploaded to the testing server if HTTP connections are unsuccessful;Will success if HTTP successful connections As a result it is sent to the testing server;
Also include step:
The testing server is lost according to the positioning result, DNS failure analysis results, TCP failure analysis result or the HTTP that upload Lose analysis result and be stored in data base, and enable fault analysis process, fault type is analyzed by fault analysis process, and will Analysis result returns to user terminal.
2. data network quality auto-dial testing method according to claim 1, it is characterised in that receiving testing server Before the traffic order for issuing, also including step:
The fault message of testing server receive user terminal to report, and the fault message is parsed to obtain user terminal Position, then sends the traffic order to from the nearest testing equipment of user terminal according to user terminal position.
3. data network quality auto-dial testing method according to claim 1 and 2, it is characterised in that described to carry out failure The process of positioning includes:
Traceroute orders, the road gone wrong in determining network are initiated to user terminal and destination application server respectively By.
4. a kind of data network quality auto-dial testing system, including testing equipment, it is characterised in that wrap in the testing equipment Include:
Starting module, for after the traffic order that testing server is issued is received, respectively to user terminal and intended application Server initiates Internet testing;
First judges and transmission module in result, for judging whether Internet testing is successful;Enter if Internet testing is unsuccessful Row fault location, and positioning result is uploaded to into the testing server;
Second judges and transmission module in result, for judging the feelings that the judged result with transmission module in result is yes described first Under condition, dns resolution test is initiated to destination application server, and judge whether dns resolution is successful;If dns resolution is unsuccessful DNS failure analysis result is uploaded to the testing server;
3rd judges and transmission module in result, for judging the feelings that the judged result with transmission module in result is yes described second Under condition, TCP handshake requests are initiated to destination application server, and judge whether TCP shakes hands successful;If TCP shake hands it is unsuccessful if TCP failure analysis result is uploaded to the testing server;
4th judges and transmission module in result, for judging the feelings that the judged result with transmission module in result is yes the described 3rd Under condition, HTTP connection requests are initiated to destination application server, and judge whether HTTP connections are successful;If HTTP connections are unsuccessful HTTP failure analysis result is uploaded then to the testing server;Successful result is sent to into described dialling if HTTP successful connections Survey server;
The testing server be additionally operable to according to upload positioning result, DNS failure analysis results, TCP failure analysis result or HTTP failure analysis results are stored in data base, and enable fault analysis process, fault type are carried out point by fault analysis process Analysis, and analysis result is returned to into user terminal.
5. data network quality auto-dial testing system according to claim 4, it is characterised in that also including testing service Device;The testing server is used for the fault message of receive user terminal to report, and the fault message is parsed to obtain User terminal position, then sends the traffic order to dialling from user terminal is nearest according to user terminal position Measurement equipment.
6. the data network quality auto-dial testing system according to claim 4 or 5, it is characterised in that described first judges Include with transmission module in result:
Fault location module, for initiating traceroute orders to user terminal and destination application server respectively, determines net The route gone wrong in network.
CN201310282924.0A 2013-07-05 2013-07-05 Data network quality auto-dial testing method and system Expired - Fee Related CN103716198B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310282924.0A CN103716198B (en) 2013-07-05 2013-07-05 Data network quality auto-dial testing method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310282924.0A CN103716198B (en) 2013-07-05 2013-07-05 Data network quality auto-dial testing method and system

Publications (2)

Publication Number Publication Date
CN103716198A CN103716198A (en) 2014-04-09
CN103716198B true CN103716198B (en) 2017-03-29

Family

ID=50408803

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310282924.0A Expired - Fee Related CN103716198B (en) 2013-07-05 2013-07-05 Data network quality auto-dial testing method and system

Country Status (1)

Country Link
CN (1) CN103716198B (en)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107769957B (en) * 2017-08-30 2018-07-06 贵州白山云科技有限公司 A kind of domain name system failure cause analysis method and device
CN107579874B (en) * 2017-09-01 2020-03-31 北京亚鸿世纪科技发展有限公司 Method and device for detecting data collection missing report of flow collection equipment
CN107612760B (en) * 2017-11-03 2021-08-24 睿石网云(北京)科技有限公司 Method and system for monitoring interruption of business service
CN109728980A (en) * 2019-03-15 2019-05-07 广东电网有限责任公司 A kind of network quality active dial testing method, device and equipment
CN110635965B (en) * 2019-08-19 2021-10-22 北京基调网络股份有限公司 IPv6 network quality monitoring method, equipment and storage medium
CN110795668A (en) * 2019-10-28 2020-02-14 北京博睿宏远数据科技股份有限公司 Website data analysis method, device, equipment and storage medium
CN112019836B (en) * 2020-08-24 2022-07-12 南方电网能源发展研究院有限责任公司 Stream media network connectivity and playing quality dial testing method and system
CN114585011A (en) * 2020-11-18 2022-06-03 中移物联网有限公司 Network quality testing method and device
CN114615696A (en) * 2020-12-08 2022-06-10 中国联合网络通信集团有限公司 Automatic dial testing method, device, system, server and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1972493A (en) * 2006-12-19 2007-05-30 华为技术有限公司 Automatic test system and method
CN101753382A (en) * 2010-01-25 2010-06-23 浪潮通信信息系统有限公司 Method for establishing adaptive network failure monitoring and positioning security model
US7853719B1 (en) * 2002-02-11 2010-12-14 Microsoft Corporation Systems and methods for providing runtime universal resource locator (URL) analysis and correction
CN102752154A (en) * 2012-07-29 2012-10-24 西北工业大学 Detecting method of dead link of Web site

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030054811A1 (en) * 2001-09-18 2003-03-20 Willtech International, Inc. Method and apparatus for automatic call tests in wireless networks

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7853719B1 (en) * 2002-02-11 2010-12-14 Microsoft Corporation Systems and methods for providing runtime universal resource locator (URL) analysis and correction
CN1972493A (en) * 2006-12-19 2007-05-30 华为技术有限公司 Automatic test system and method
CN101753382A (en) * 2010-01-25 2010-06-23 浪潮通信信息系统有限公司 Method for establishing adaptive network failure monitoring and positioning security model
CN102752154A (en) * 2012-07-29 2012-10-24 西北工业大学 Detecting method of dead link of Web site

Also Published As

Publication number Publication date
CN103716198A (en) 2014-04-09

Similar Documents

Publication Publication Date Title
CN103716198B (en) Data network quality auto-dial testing method and system
US10349297B2 (en) Quality of user experience analysis
CN103354986B (en) Method and apparatus for analysis of network
CN103595584B (en) The diagnostic method of Web application performance problems and system
CN103039085B (en) Monitoring device and method for monitoring a video session in a data network
RU2571568C2 (en) Method and apparatus for remote fault location in wireless network
US20140189435A1 (en) System and method to extend the capabilities of a web browser of a web application issue root cause determination techniques
US20170149626A1 (en) Remote driving of mobile device diagnostic applications
CN104754630B (en) A kind of network quality appraisal procedure, device and processing platform
CN107645398A (en) A kind of method and apparatus of diagnostic network performance and failure
CN106911517B (en) Method and system for positioning end-to-end problem of mobile internet
Halepovic et al. Can you GET me now? Estimating the time-to-first-byte of HTTP transactions with passive measurements
US10952091B2 (en) Quality of user experience analysis
CN111294849B (en) LTE user Internet surfing quality difference judging method and device
CN107040429A (en) A kind of method of testing and system of port forwarding performance
Alvarez et al. Field measurements of mobile services with Android smartphones
CN103096356A (en) Wireless network performance analysis method
CN107667504A (en) The analysis of user experience quality is carried out using echolocation
EP1746769A1 (en) Measurement system and method of measuring a transit metric
CN102209010B (en) Network test system and method
CN110659481A (en) Vulnerability scanning method based on agent
CN102164048B (en) Data stream optimization device and method for realizing multi-ISP (internet service provider) access in local area network
CN103139014A (en) Method and device for network quality evaluating based on by-pass
CN102143070B (en) Remote traffic acquisition method, device and system
Ricciato et al. Diagnosis of capacity bottlenecks via passive monitoring in 3G networks: An empirical analysis

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20170329

Termination date: 20210705