CN106067854A - A kind of network quality detection method and equipment - Google Patents

A kind of network quality detection method and equipment Download PDF

Info

Publication number
CN106067854A
CN106067854A CN201610675057.0A CN201610675057A CN106067854A CN 106067854 A CN106067854 A CN 106067854A CN 201610675057 A CN201610675057 A CN 201610675057A CN 106067854 A CN106067854 A CN 106067854A
Authority
CN
China
Prior art keywords
router
node
icmp packet
time stamp
icmp
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
CN201610675057.0A
Other languages
Chinese (zh)
Other versions
CN106067854B (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 United Network Communications Group Co Ltd
Original Assignee
China United Network Communications Group 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 United Network Communications Group Co Ltd filed Critical China United Network Communications Group Co Ltd
Priority to CN201610675057.0A priority Critical patent/CN106067854B/en
Publication of CN106067854A publication Critical patent/CN106067854A/en
Application granted granted Critical
Publication of CN106067854B publication Critical patent/CN106067854B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • 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
    • H04L43/106Active monitoring, e.g. heartbeat, ping or trace-route using time related information in packets, e.g. by adding timestamps
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/58Association of routers

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Health & Medical Sciences (AREA)
  • Cardiology (AREA)
  • General Health & Medical Sciences (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The embodiment of the present invention provides a kind of network quality detection method and equipment, relates to communication technical field, less to solve the quantity of information that existing detection method obtains, the problem that network quality detection is the most comprehensive and accurate.The method may include that the first router receives Detection task, each node on described transmission path sends the UDP UDP message of preset length, and record time stamp and the quantity of the UDP message of transmission, receiving the ICMP icmp packet of different node feeding back on described transmission path, described icmp packet comprises: MTU MTU value;MTU value in the time stamp of UDP message according to record and quantity, the time stamp of the icmp packet received and quantity and the icmp packet received, determines described the first router and different internodal network qualities.

Description

A kind of network quality detection method and equipment
Technical field
The present embodiments relate to communication technical field, particularly relate to a kind of network quality detection method and equipment.
Background technology
Along with the development of communication technology, the business of carrier network carrying is more and more diversified, wherein, and major part business pair Some performance indications (such as packet loss, time delay etc.) in network transmission process are very sensitive, if these performance indications are the most up to standard, then can Traffic affecting is properly functioning.For avoiding the appearance of this problem, then need network transmission quality is carried out a series of detection, quickly There is position in demarcation problem, in order to uses corresponding measure (as changed router, rebuilding transmission link) fast quick-recovery business.
The network quality detection method used in existing network mainly has a following two: the Internet packets survey meter (Packet Internet Grope, PING) and route tracking (TRACEROUTE), both approaches is capable of the inspection to connectivity of link Survey and arrive the path discovery of Designated Router.As a example by PING detects, Fig. 1 is the flow chart of PING detection method, such as figure Shown in 1, R1 and R2 is two routers in network, and the two obtains connecting of link between R1 with R2 router by PING mode Property, first R1 router sends an ICMP (Internet Control Message to R2 Protocol, ICMP) respond request (ECHO REQUEST) message (TYPE=8, CODE=0), if these two routers it Between route can reply an icmp echo after receiving up to, then R2 and reply (ICMP ECHO REPLY) message (TYPE= 0, CODE=0), so, after R1 receives ICMP ECHO REPLY message, will be considered that the connectedness between R1 and R2 is normal 's.
From the foregoing, it will be observed that existing detection method is only capable of detecting the router of the connectedness of equipment room and process, obtain Quantity of information is less, and other performance indications in network transmission process can't detect position, and network quality detection is the most comprehensive and accurate Really, have impact on the transmission performance of whole business.
Summary of the invention
The embodiment of the present invention provides a kind of network quality detection method and equipment, to solve the letter that existing detection method obtains Breath amount is less, the problem that network quality detection is the most comprehensive and accurate.
For reaching above-mentioned purpose, embodiments of the invention adopt the following technical scheme that
First aspect, it is provided that a kind of network quality detection method, the method may include that
The first router receives Detection task, and described Detection task is used for notifying that described the first router is to from described first Router carries out quality testing to the transmission path of the second router;
Described the first router each node on described transmission path sends the UDP of preset length UDP message, and record time stamp and the quantity of the UDP message of transmission, described UDP message comprises: generate time ttl value, destination Location and destination slogan, described ttl value is described the first router and internodal jumping figure, and described destination address is node Internet protocol IP address;
Described the first router receives the ICMP ICMP of different node feeding back on described transmission path Message, described icmp packet comprises: MTU MTU value;
Described the first router according to the time stamp of UDP message of record and quantity, the time stamp of icmp packet received and MTU value in quantity and the icmp packet that receives, determines described the first router and different internodal network qualities.
Second aspect, also provides for a kind of router, and this router may include that
Receiving unit, be used for receiving Detection task, described Detection task is used for notifying that described router is to from described route Device carries out quality testing to the transmission path of the second router;
Transmitting element, sends the UDP of preset length for each node on described transmission path UDP message, and record time stamp and the quantity of the UDP message of transmission, described UDP message comprises: generate time ttl value, destination Location and destination slogan, described ttl value is described router and internodal jumping figure, described destination address be node because of Special fidonetFido IP address;
Described reception unit, is additionally operable to receive the ICMP of different node feeding back on described transmission path Icmp packet, described icmp packet comprises: MTU MTU value;
Determine unit, for the time stamp of UDP message according to record and quantity, the time stamp sum of icmp packet received MTU value in the icmp packet measured and receive, determines described router and different internodal network qualities.
From the foregoing, it will be observed that the embodiment of the present invention provides a kind of network quality detection method and equipment, the first router receives inspection Survey task, each node on described transmission path sends the UDP UDP message of preset length, and record is sent out The time stamp of the UDP message sent and quantity, receive the ICMP of different node feeding back on described transmission path Icmp packet, described icmp packet comprises: MTU MTU value;According to record UDP message time stamp and quantity, connect MTU value in the time stamp of the icmp packet received and quantity and the icmp packet received, determine described the first router with Different internodal network qualities.So, can be according to the time stamp of message of transmitting-receiving, quantity between router and receive Network quality between router is detected by the MTU value of message, increases reference information during network quality detection so that net Network quality testing more comprehensively, more thoroughly, it is to avoid the problem of information unification during existing quality testing.
Accompanying drawing explanation
In order to be illustrated more clearly that the technical scheme of the embodiment of the present invention, below will be in embodiment or description of the prior art The required accompanying drawing used is briefly described, it should be apparent that, the accompanying drawing in describing below is only some realities of the present invention Execute example, for those of ordinary skill in the art, on the premise of not paying creative work, it is also possible to according to these accompanying drawings Obtain other accompanying drawing.
Fig. 1 is the flow chart of PING detection method;
The flow chart of a kind of network quality detection method that Fig. 2 provides for the embodiment of the present invention;
The structural representation of a kind of icmp packet that Fig. 3 provides for the embodiment of the present invention;
Fig. 4 provides the flow chart of another kind of network quality detection method for the embodiment of the present invention;
The structure chart of a kind of router that Fig. 5 provides for the embodiment of the present invention.
Detailed description of the invention
The ultimate principle of the present invention is: the time stamp of the message mutually transmitted between record router and quantity, and in route The icmp packet of device feedback increases maximum transmission unit value (Maximum Transmission Unit, MTU) value, according to road The time stamp of message sent by device and receive and the diversity judgement of quantity go out the time delay between different router and packet drop, according to UDP value in the message that router receives determines the transmission situation of packet on the transmission path between router.
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Describe, it is clear that described embodiment is only a part of embodiment of the present invention rather than whole embodiments wholely.Based on Embodiment in the present invention, it is every other that those of ordinary skill in the art are obtained under not making creative work premise Embodiment, broadly falls into the scope of protection of the invention.
Embodiment one
A kind of network quality detection method that Fig. 2 provides for the embodiment of the present invention, can be held by network quality detection device OK, it is also possible to except network quality detection device in addition to such as one group of executable instruction computer system in, although additionally, Figure 2 illustrates logical order, but in some cases, can perform with the order being different from herein shown or described Step.
As in figure 2 it is shown, the method may comprise steps of:
S101: the first router receives Detection task, this Detection task be used for notifying the first router to from the first via by Device carries out quality testing to the transmission path of the second router.
Wherein, the first router can be the either router in mobile communication system, and this mobile communication system can be The following any system comprising multiple router: Generation Mobile Telecommunication System (2nd Generation;2G) system, the third generation move Communication (3rd Generation;3G) system and next generation communication system, global mobile communication (Global System for Mobile communications;GSM) system, CDMA (Code Division Multiple Access;CDMA) it is System, time division multiple acess (Time Division Multiple Access;TDMA) system, WCDMA (Wideband Code Division Multiple Access Wireless;WCDMA) system, frequency division multiple access (Frequency Division Multiple Addressing;FDMA) system, OFDM (Orthogonal Frequency Division Multiple Access;OFDMA) system, Single Carrier Frequency Division Multiple Access (Single Carrier-FDMA;SC-FDMA) system, general point Group wireless traffic (General Packet Radio Service;GPRS) system or Long Term Evolution (Long Term Evolution;LTE) any system in system.
Transmission path between the first router and the second router is link quality problems occur, and this transmission path can To be formed by the first router and the second router are direct-connected, it is also possible to for arriving the second tunnel from the first router through multiple nodes By the transmission path of device, the multiple nodes on this transmission path can be router, can also be other transmission equipments, the present invention This is not defined by embodiment, and the present invention only node on this transmission path illustrates as a example by being router.
Optionally, the first router can receive the Detection task that the server in mobile communication system sends, it is also possible to Receive the Detection task that user's (such as network manager) is sent by the user interface of the first router.
Such as, if network manager receives the complaint of user's quality of service to accessing between router R1 and R3, then net Network manager determines that needing the interval carrying out network quality detection is the transmission path between R1 and R3, now, network manager Can send detection by the user interface of R1 to R1, notice R1 carries out network quality detection to the transmission path between R1 and R3.
S102: the first router each node on transmission path sends the UDP UDP of preset length Message, and record time stamp and the quantity of the UDP message of transmission.
Wherein, above-mentioned node can be node in addition to the first router on transmission path, such as: can be to be different from the Other routers of one router.
UDP message can comprise: generates time ttl value, destination address and destination slogan, ttl value be the first via by Device and internodal jumping figure, destination address is the Internet protocol IP address of node.
Optionally, the first router can send pre-according to the sequence of each node on transmission path successively to each node If the UDP message of length, and by the time stamp of UDP message sent and quantity record data buffer in the first router (BUFFER) in.
Such as, if the first router is R1, the transmission path carrying out network quality detection is: R1 → R2 → R3, R1 and R2 Between jumping figure be 1, the jumping figure between R1 and R3 is 2, and the most now R1 first can send to R2 and comprise: ttl value is 1, the IP of R2 ground The UDP message of the port numbers of location and R2, then send to R3 and comprise: ttl value is 2, the IP address of R3 and the port numbers of R3 UDP message.
Wherein, the preset length of UDP message can be configured as required, and this is not limited by the embodiment of the present invention Fixed;Optionally, the preset length of UDP message can be set to following any length: 64B, 128B, 256B, 512B, usual feelings Under condition, give tacit consent to a length of 64B of UDP message in actual applications.
Destination slogan can be according to the either end slogan of the node for receiving UDP message;Under normal circumstances, according to communication This destination slogan is set greater than the either end slogan of 30000 by agreement.
Due to, during mutually sending message between router, between indirectly connected router, can not directly carry out message biography Defeated, and other nodes being by mean of between router (such as: other route road) E-Packet, it is achieved message transmissions, so, In the embodiment of the present invention, when the primary nodal point transmitted on path and the first router are direct-connected, the first router can directly to Primary nodal point sends the UDP message of preset length.
When being separated with secondary nodal point between primary nodal point and the first router transmitted on path, the first router is to the One node sends the UDP message of preset length and may include that
The first router sends a UDP message, first in secondary nodal point change the oneth UDP message to secondary nodal point Ttl value, the UDP message after primary nodal point sends change, a described UDP message comprises: the first ttl value, first segment The IP address of point and the port numbers of primary nodal point, the first ttl value in secondary nodal point change UDP message includes: by described the The first ttl value in one UDP message deducts the jumping figure between described the first router and described secondary nodal point, the value after subtracting each other As the ttl value in the UDP message after change.
Such as, send to R3 at above-mentioned R1 and comprise: ttl value is 2, the UDP message of the port numbers of the IP address of R3 and R3 During, R1 first can send to R2 and comprise: ttl value is 2, the UDP message of the port numbers of the IP address of R3 and R3, and R2 connects After receiving this UDP message, ttl value is subtracted 1, make TT1 value become 1, and will comprise: ttl value is 1, the IP address of R3 and R3 The UDP message of port numbers sends to R3.
S103: the first router receives the ICMP ICMP report of different node feeding back on transmission path Literary composition, described icmp packet comprises: MTU MTU value.
Wherein, icmp packet includes: ether header, protocol type header and icmp header, MTU value may be located at In the icmp header of icmp packet.It will be appreciated that in embodiments of the present invention, icmp header includes but not limited to MTU value, also Type (TYPE) field, code (CODE) field, verification and (CHECKSUM) field, unavailable (unused) word can be included Section and Internt Header+64bits of Original Data Datagram field.
Optionally, type (TYPE) field may be located at the 1st byte of icmp packet, and code (CODE) field may be located at 2nd byte of icmp packet, verification and (CHECKSUM) field may be located at the 3rd~4 bytes of icmp packet, and MTU value is permissible It is positioned at the 5th~6 bytes of icmp packet.Such as, a kind of icmp packet that Fig. 3 provides for the present embodiment, as it is shown on figure 3, The 5th~6 padding bytes MTU value in the ICMP head of icmp packet, in order to pass through the MTU of link.
Optionally, in embodiments of the present invention, transmission path self port and port can have been stored in each node The corresponding relation of the MTU value supported, the first router receives the Internet user of different node feeding back on transmission path and organizes management Agreement icmp packet may include that
If the first port of node receives and comprises the UDP message that ttl value is 1 on transmission path, then the first router connects Receive the icmp packet comprising the MTU value corresponding with described first port of described node feeding back, corresponding with described first port The corresponding relation that MTU value is stored up from described node memory by described node obtains.
It will be appreciated that when node feeding back icmp packet, it is also possible to TYPE value, CODE value are filled in icmp packet Go, so that the type of the clear and definite icmp packet of the first router.Such as, according to Internet Control Message Protocol (INTERNET CONTROL MESSAGE PROTOCOL, RFC) consensus standard regulation: TYPE=11, CODE=0 represent that this icmp packet carries Be TTL time exceeded message;What TYPE=3, CODE=3 represented that this icmp packet carries is port unreachable message.
S104: the first router according to the time stamp of UDP message of record and quantity, the time stamp of icmp packet received and MTU value in quantity and the icmp packet that receives, determines described the first router and different internodal network qualities.
Due in actual applications, send a UDP message and can receive an icmp packet accordingly, therefore, In the embodiment of the present invention, can come according to the difference between the quantity of the quantity sending UDP message and the icmp packet received Judge the packet drop between the first router and node, according to the time stamp sending UDP message and the icmp packet received Difference between time stamp judges the case propagation delays between the first router and node, according to the MTU in the icmp packet received Value judges the transmission situation of the packet of the link support between the first router and node.
Concrete, the first router can send multiple UDP messages to node within a time period continuously, if the first via by The quantity of the UDP message that device continuously transmits is more than the quantity of the icmp packet continuously received, it is determined that the first router and joint Packet loss problem is there is, if the quantity of UDP message that the first router continuously transmits is equal to the ICMP report continuously received between point The quantity of literary composition, it is determined that there is not packet loss problem between the first router and node.Such as, R1 continuously transmits 50 to R2 UDP message, but R1 receives 40 icmp packets, then may determine that and there is packet loss problem between R1 and R2.
Between the time stamp of the icmp packet that the time stamp of the UDP message that comparison the first router sends every time and correspondence receive Time difference, obtain multiple time difference, and calculate expectation and the variance of multiple time difference, expectation and variance according to calculating are sentenced Disconnected case propagation delays between the first router and node.Such as, R1 continuously transmits the UDP message of 50, and corresponding reception to R2 To the time difference of 50 icmp packets, the time stamp of the UDP message sent and the time stamp of the icmp packet received relatively every time, To 50 time differences, expecting these 50 time differences and variance calculates, expectation and variance yields according to calculating judge R1 And the case propagation delays between R2, such as: the situation that there is instability between R1 and R2 can be drawn according to variance result.
According to the MTU value in the icmp packet of each node feeding back received, by the minimum MTU value in MTU value and user The bag length of the actual packet sent compares, if minimum MTU value is long, then less than the bag of the packet sent than user reality Determine that most of packets that user sends all are fragmented, the substantial amounts of burst of packet and weight in the transmitting procedure of packet Group, causes occurring packet loss or the problem such as out of order;Or, router does not configures burst function on the way, causes the data exceeding MTU value Bao Jun is dropped, thus causes packet loss.
So, can be according to the time stamp of message of transmitting-receiving, quantity between router and the MTU value pair of the message received Network quality between router detects, and increases reference information during network quality detection so that network quality detects more Comprehensively, more thoroughly, it is to avoid the problem of information unification during existing quality testing.
Further alternative, in order to make operation maintenance personnel judge the problem place of network quality intuitively, real in the present invention Executing in example, described method can also include:
Network quality between the first router determined from different nodes is passed through the first router by the first router User interface feed back to user.
Concrete, the parameter being described in table 1 below can be fed back to user by user interface:
Table 1
For making the object, technical solutions and advantages of the present invention clearer, below with to the transmission between R1 → R2 → R3 As a example by path carries out network quality detection, being introduced said method, as shown in Figure 4, the method may include that
Step one: R1 send wrap a length of 64B UDP message, in this UDP message ttl value be 1, destination address be R2, purpose Port numbers 30000.
Step 2: R2 receives the message that ttl value is 1 from R1, replys icmp packet, wherein, in this icmp packet TYPE=11, CODE=0, MTU value are 1500.
Optionally, binary coding filling can be carried out according to the MTU value (1500) that link between R1 and R2 is arranged.
Step 3: R1 receives the icmp packet replied from R2, and the round-trip delay of R2 gone in record.
Wherein, in step one R1 send UDP message be transmitted with scheduled rate, therefore, repeat step one, two, three Repeatedly, and record the quantity of UDP message of transmission and the quantity of icmp packet received.It should be noted that scheduled rate Can arrange the most by hand, such as: assume that and be set to 50 messages of transmission per second, then repeat step one, two, 3 50 Secondary.
Step 4: R1 send wrap a length of 64B UDP message, in this UDP message ttl value be 2, destination address be R3, purpose Port numbers 30000.
Step 5: R2 receives the message that ttl value is 2 from R1, changes to ttl value forward to the interface of R3 after 1.
Step 6: R3 receives after the UDP message of R1, replys icmp packet, wherein, TYPE=3 in this icmp packet, CODE=3, MTU value are 4470.
Step 7: R2 receives after the icmp packet of R3 reply, forwards this icmp packet to the interface connecting R1.
Step 8: R1 receives the icmp packet replied from R3, and the round-trip delay of R3 gone in record.
Wherein, the UDP message that in step 4, R1 sends can also be transmitted with the scheduled rate arranged in step one, because of This, repeat step 5, six, seven, more than eight time, and record the quantity of UDP message of transmission and the quantity of icmp packet received. As: assume that and be set to 50 messages of transmission per second, then repeat step 5, six, seven, 8 50 times.
Step 9: R1 goes to the routing iinformation of R2, MTU value, Delay, packet loss quantity according to record;And go to The routing iinformation of R3, MTU value, Delay and packet loss quantity, detect network quality.
From the foregoing, it will be observed that the embodiment of the present invention provides a kind of network quality detection method, the first router receives Detection task, Each node on described transmission path sends the UDP UDP message of preset length, and records the UDP of transmission The time stamp of message and quantity, receive the ICMP icmp packet of different node feeding back on described transmission path, Described icmp packet comprises: MTU MTU value;The time stamp of UDP message according to record and quantity, the ICMP received MTU value in the time stamp of message and quantity and the icmp packet received, determines between described the first router from different nodes Network quality.So, can be according to the time stamp of message of transmitting-receiving, quantity between router and the MTU value of the message received Network quality between router is detected, increases reference information during network quality detection so that network quality detects More comprehensively, more thoroughly, it is to avoid the problem of information unification during existing quality testing.
Embodiment two
Fig. 5 shows the structural representation of a kind of router 20 that the embodiment of the present invention provides, it is preferred that this router can For the method performing embodiment one, as it is shown in figure 5, this router may include that
Receive unit 201, be used for receiving Detection task, Detection task be used for notifying router to from router to the second tunnel Quality testing is carried out by the transmission path of device.
Transmitting element 202, sends the UDP UDP of preset length for each node on transmission path Message, and record time stamp and the quantity of the UDP message of transmission, UDP message comprises: generate time ttl value, destination address and Destination slogan, ttl value is router and internodal jumping figure, and destination address is the Internet protocol IP address of node.
Receive unit 201, be additionally operable to receive the ICMP ICMP of different node feeding back on transmission path Message, icmp packet comprises: MTU MTU value.
Determine unit 203, for the time stamp of UDP message according to record and quantity, the time stamp of icmp packet received MTU value with in quantity and the icmp packet that receives, determines router and different internodal network qualities.
Optionally, if being separated with secondary nodal point between primary nodal point and router, then transmitting element 202 specifically can be used In:
Sending a UDP message to secondary nodal point, the first ttl value in secondary nodal point change the oneth UDP message, to first Node sends the UDP message after change;
Wherein, a UDP message comprises: the first ttl value, the IP address of primary nodal point and the port numbers of primary nodal point, First ttl value is the jumping figure between router and primary nodal point;
The first ttl value in secondary nodal point change the oneth UDP message includes: subtracted by the first ttl value in a UDP message Removing the jumping figure between router and secondary nodal point, the value after subtracting each other is as the ttl value in the UDP message after change.
Optionally, on transmission path, each node memory contains the corresponding relation of the MTU value that self port is supported with port, Receive unit 201 specifically to may be used for:
If the first port of node receives and comprises the UDP message that ttl value is 1 on transmission path, then receiving node feedback The icmp packet comprising the MTU value corresponding with the first port, the MTU value corresponding with the first port by node from node memory store up Corresponding relation obtain.
Optionally, determine that unit 203 specifically may be used for:
The difference between time stamp according to the time stamp of UDP message sent and the icmp packet received, determine router with Internodal case propagation delays;
The difference between quantity according to the quantity of UDP message sent and the icmp packet received, determine router with Internodal packet drop;
According to the MTU value in the icmp packet received, determine the data that router and inter-node transmission path are supported The transmission situation of bag.
Further alternative, in order to make operation maintenance personnel judge the problem place of network quality intuitively, as it is shown in figure 5, This router 20 can also include: display unit 204;
Display unit 204, may be used for the network quality between the router determined and different nodes by route The user interface of device feeds back to user.
From the foregoing, it will be observed that the embodiment of the present invention provides a kind of router, receive Detection task, each on described transmission path The UDP UDP message of individual node transmission preset length, and record time stamp and the quantity of the UDP message of transmission, connect Receiving the ICMP icmp packet of different node feeding back on described transmission path, described icmp packet comprises: Big transmission unit MTU value;The time stamp of UDP message according to record and quantity, the time stamp of the icmp packet received and quantity, with And the MTU value in the icmp packet received, determine router and different internodal network qualities.So, can be according to road By the time stamp of message of transmitting-receiving, quantity between device and the MTU value of message that receives, the network quality between router is examined Survey, increase reference information during network quality detection so that network quality detects more comprehensively, more thoroughly, it is to avoid existing matter The problem of information unification during amount detection.
Last it is noted that above example is only in order to illustrate technical scheme, it is not intended to limit;Although With reference to previous embodiment, the present invention is described in detail, it will be understood by those within the art that: it still may be used So that the technical scheme described in foregoing embodiments to be modified, or wherein portion of techniques feature is carried out equivalent; And these amendments or replacement, do not make the essence of appropriate technical solution depart from the scope of various embodiments of the present invention technical scheme.

Claims (8)

1. a network quality detection method, it is characterised in that described method includes:
The first router receives Detection task, described Detection task be used for notifying described the first router to from the described first via by Device carries out quality testing to the transmission path of the second router;
Described the first router each node on described transmission path sends the UDP UDP report of preset length Literary composition, and record time stamp and the quantity of the UDP message of transmission;
Described the first router receives the ICMP icmp packet of different node feeding back on described transmission path, Described icmp packet comprises: MTU MTU value;
Described the first router according to the time stamp of UDP message of record and quantity, the time stamp of icmp packet received and quantity, And the MTU value in the icmp packet received, determine that described the first router is different internodal from described transmission path Network quality.
Method the most according to claim 1, it is characterised in that on described transmission path, each node memory contains self end The corresponding relation of the MTU value that mouth is supported with port, described the first router receives different node feeding back on described transmission path Internet user's igmpinternet icmp packet, including:
If the first port of node receives and comprises the UDP message that ttl value is 1 on described transmission path, the most described first via by Device receives the icmp packet comprising the MTU value corresponding with described first port of described node feeding back, described and described first end The corresponding relation that the MTU value that mouth is corresponding is stored up from described node memory by described node obtains.
Method the most according to claim 1 and 2, it is characterised in that described the first router is according to the UDP message recorded MTU value in time stamp and quantity, the time stamp of the icmp packet received and quantity and the icmp packet received, including:
Described the first router is according to the difference between the time stamp of the time stamp of UDP message sent and the icmp packet received, really Fixed described the first router and internodal case propagation delays;
Described the first router is according to the difference between the quantity of the quantity of UDP message sent and the icmp packet received, really Determine the first router and internodal packet drop;
Described the first router, according to the MTU value in the icmp packet received, determines and passes between described the first router and node The transmission situation of the packet that defeated path is supported.
4. according to the method described in any one of claim 1-3, it is characterised in that described method also includes:
Described the first router by the network quality between the described the first router determined and different nodes by described the The user interface of one router feeds back to user.
5. a router, it is characterised in that described router includes:
Receive unit, be used for receiving Detection task, described Detection task be used for notifying described router to from described router to The transmission path of the second router carries out quality testing;
Transmitting element, sends the UDP UDP report of preset length for each node on described transmission path Literary composition, and record time stamp and the quantity of the UDP message of transmission, described UDP message comprises: generate time ttl value, destination address, with And destination slogan, described ttl value is described router and internodal jumping figure, and described destination address is the internet protocol of node View IP address;
Described reception unit, is additionally operable to receive the ICMP ICMP of different node feeding back on described transmission path Message, described icmp packet comprises: MTU MTU value;
Determine unit, for the time stamp of UDP message according to record and quantity, the time stamp of icmp packet received and quantity, And the MTU value in the icmp packet received, determine described router and different internodal network qualities.
Router the most according to claim 5, it is characterised in that on described transmission path, each node memory contains self The corresponding relation of the MTU value that port and port are supported, described reception unit specifically for:
If the first port of node receives and comprises the UDP message that ttl value is 1 on described transmission path, then receive described node The icmp packet comprising the MTU value corresponding with described first port of feedback, MTU value corresponding to described and described first port by The corresponding relation that described node stores up from described node memory obtains.
7. according to the router described in claim 5 or 6, it is characterised in that described determine unit specifically for:
The difference between time stamp according to the time stamp of UDP message sent and the icmp packet received, determine described router with Internodal case propagation delays;
The difference between quantity according to the quantity of UDP message sent and the icmp packet received, determines router and node Between packet drop;
According to the MTU value in the icmp packet received, determine the data that described router and inter-node transmission path are supported The transmission situation of bag.
8. according to the router described in any one of claim 5-7, it is characterised in that described router also includes: display unit;
Described display unit, is used for the network quality between the described router determined and different nodes by described route The user interface of device feeds back to user.
CN201610675057.0A 2016-08-16 2016-08-16 A kind of network quality detection method and equipment Active CN106067854B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610675057.0A CN106067854B (en) 2016-08-16 2016-08-16 A kind of network quality detection method and equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610675057.0A CN106067854B (en) 2016-08-16 2016-08-16 A kind of network quality detection method and equipment

Publications (2)

Publication Number Publication Date
CN106067854A true CN106067854A (en) 2016-11-02
CN106067854B CN106067854B (en) 2019-03-15

Family

ID=57206969

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610675057.0A Active CN106067854B (en) 2016-08-16 2016-08-16 A kind of network quality detection method and equipment

Country Status (1)

Country Link
CN (1) CN106067854B (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107135098A (en) * 2017-04-18 2017-09-05 北京思特奇信息技术股份有限公司 A kind of availability monitor method and system of third party's network
CN108092837A (en) * 2016-11-21 2018-05-29 腾讯科技(深圳)有限公司 Network communication quality detection method tests the speed server and network tests the speed plug-in unit
CN109873878A (en) * 2019-04-01 2019-06-11 宁波奥克斯电气股份有限公司 The communication connecting method and device and electric terminal, storage medium of electric terminal
CN109981386A (en) * 2017-12-28 2019-07-05 北京京东尚科信息技术有限公司 Test method, testing service device and the test macro of network quality
TWI679866B (en) * 2018-11-19 2019-12-11 中華電信股份有限公司 Measurement system and measurement method for virtual private network service quality
CN110677319A (en) * 2019-08-23 2020-01-10 北京邮电大学 End-to-end time delay measuring method and device
CN111224842A (en) * 2019-12-31 2020-06-02 大唐软件技术股份有限公司 Internet service quality monitoring method and device
CN112565054A (en) * 2020-12-15 2021-03-26 安徽皖通邮电股份有限公司 Method for determining Maximum Transmission Unit (MTU) value of tunnel by utilizing CFM (computational fluid dynamics)
CN114071544A (en) * 2021-11-01 2022-02-18 北京字节跳动网络技术有限公司 Network testing method and device and electronic equipment
CN114584485A (en) * 2022-01-30 2022-06-03 阿里巴巴(中国)有限公司 Method, device, equipment and computer readable storage medium for detecting edge network quality

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101083560A (en) * 2007-07-05 2007-12-05 中兴通讯股份有限公司 Method and system for measuring network service quality and media gateway controller
CN104144088A (en) * 2014-07-24 2014-11-12 重庆邮电大学 Network delay measuring method with delay measuring accuracy improved
CN104717108A (en) * 2015-03-30 2015-06-17 北京邮电大学 Network bottleneck bandwidth measurement method based on active measurement and packet gap model

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101083560A (en) * 2007-07-05 2007-12-05 中兴通讯股份有限公司 Method and system for measuring network service quality and media gateway controller
CN104144088A (en) * 2014-07-24 2014-11-12 重庆邮电大学 Network delay measuring method with delay measuring accuracy improved
CN104717108A (en) * 2015-03-30 2015-06-17 北京邮电大学 Network bottleneck bandwidth measurement method based on active measurement and packet gap model

Cited By (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108092837A (en) * 2016-11-21 2018-05-29 腾讯科技(深圳)有限公司 Network communication quality detection method tests the speed server and network tests the speed plug-in unit
CN108092837B (en) * 2016-11-21 2021-04-27 腾讯科技(深圳)有限公司 Network communication quality detection method, speed measurement server and network speed measurement plug-in
CN107135098B (en) * 2017-04-18 2020-04-03 北京思特奇信息技术股份有限公司 Availability monitoring method and system for third-party network
CN107135098A (en) * 2017-04-18 2017-09-05 北京思特奇信息技术股份有限公司 A kind of availability monitor method and system of third party's network
CN109981386B (en) * 2017-12-28 2021-11-12 北京京东尚科信息技术有限公司 Network quality testing method, testing server and testing system
CN109981386A (en) * 2017-12-28 2019-07-05 北京京东尚科信息技术有限公司 Test method, testing service device and the test macro of network quality
TWI679866B (en) * 2018-11-19 2019-12-11 中華電信股份有限公司 Measurement system and measurement method for virtual private network service quality
CN109873878B (en) * 2019-04-01 2021-08-24 宁波奥克斯电气股份有限公司 Communication connection method and device of electronic terminal, electronic terminal and storage medium
CN109873878A (en) * 2019-04-01 2019-06-11 宁波奥克斯电气股份有限公司 The communication connecting method and device and electric terminal, storage medium of electric terminal
CN110677319B (en) * 2019-08-23 2021-03-23 北京邮电大学 End-to-end time delay measuring method and device
CN110677319A (en) * 2019-08-23 2020-01-10 北京邮电大学 End-to-end time delay measuring method and device
CN111224842A (en) * 2019-12-31 2020-06-02 大唐软件技术股份有限公司 Internet service quality monitoring method and device
CN112565054A (en) * 2020-12-15 2021-03-26 安徽皖通邮电股份有限公司 Method for determining Maximum Transmission Unit (MTU) value of tunnel by utilizing CFM (computational fluid dynamics)
CN114071544A (en) * 2021-11-01 2022-02-18 北京字节跳动网络技术有限公司 Network testing method and device and electronic equipment
CN114071544B (en) * 2021-11-01 2024-03-15 北京字节跳动网络技术有限公司 Network testing method and device and electronic equipment
CN114584485A (en) * 2022-01-30 2022-06-03 阿里巴巴(中国)有限公司 Method, device, equipment and computer readable storage medium for detecting edge network quality
CN114584485B (en) * 2022-01-30 2023-10-31 阿里巴巴(中国)有限公司 Method, apparatus, device and computer readable storage medium for detecting edge network quality

Also Published As

Publication number Publication date
CN106067854B (en) 2019-03-15

Similar Documents

Publication Publication Date Title
CN106067854B (en) A kind of network quality detection method and equipment
US20210092039A1 (en) Key performance indicators (kpi) for tracking and correcting problems for a network-under-test
JP5719449B2 (en) System and method for measuring available capacity and narrow link capacity of an IP path from a single endpoint
KR101459252B1 (en) Traceroute_delay diagnostic command
EP3474499B1 (en) Network performance detection method and apparatus
US20060274791A1 (en) Method measuring a delay time metric and measurement system
US20110063979A1 (en) Network traffic management
KR20090100377A (en) Efficient performance monitoring using ipv6 capabilities
JP2004320785A (en) Testing apparatus for network communication and method
CN102217378B (en) Method, device and system for detecting routing information
CN105634937B (en) A kind for the treatment of method and apparatus of message
US12088489B2 (en) Performance measurement in a packet-switched communication network
CN102340451A (en) Trace route testing method, system, device and equipment
CN105634977A (en) Method and device for discovering a path maximum transmission unit (PMTU)
CN101815028A (en) Method and system for tracing multicast routing and routing equipment
CN105656662A (en) Fault locating method and apparatus
CN110784378B (en) Method and device for realizing accurate flow balance by using TWAMP (two way operational amplifier)
WO2023231426A1 (en) Delay measurement method and apparatus, storage medium and program product
Mnisi et al. Active throughput estimation using RTT of differing ICMP packet sizes
Mohammad et al. Delay analysis of wireless ad hoc networks: Single vs. multiple radio
Zhou et al. Estimation of perceived quality of service for applications on IPv6 networks
EP1879349A1 (en) Method of measuring packet loss
US20160323171A1 (en) Probing a Network
CN106571970B (en) The monitoring method and device of bearer network
KR100708589B1 (en) METHOD FOR MEASURING PACKET DELAY PER HOP BASIS USING TIME STAMP MESSAGE IN A IPv6 PACKET NETWORK

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