CN101510849A - Method and equipment for obtaining node transmission information of transmission path - Google Patents
Method and equipment for obtaining node transmission information of transmission path Download PDFInfo
- Publication number
- CN101510849A CN101510849A CNA2009101198112A CN200910119811A CN101510849A CN 101510849 A CN101510849 A CN 101510849A CN A2009101198112 A CNA2009101198112 A CN A2009101198112A CN 200910119811 A CN200910119811 A CN 200910119811A CN 101510849 A CN101510849 A CN 101510849A
- Authority
- CN
- China
- Prior art keywords
- time
- message
- node
- ping
- source node
- 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
Links
Images
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The invention provides a method and a device for acquiring node transmission information on a transmission path. The method comprises: network time of a source node and a target node are synchronized, when the source node transmits a Ping message to the target node, the transmission time of the message is recorded in the IP header option field of the Ping message; after the Ping message reaches the target node, at least one of the following information is recorded: the IP header option field which copies the transmission time to the Ping reply message, the time when the target node receives the Ping message, the time when the Ping reply message is generated, the time when the Ping reply message is transmitted, the CPU occupancy rate the memory occupancy rate, the interface type and MTU when the Ping reply is generated. At least one of the above information is transmitted to the source node; and according to the transmission time of the source node, the receiving time of the target node, the generation time and the transmission time, the delay information is calculated and CPU utilization rate, the memory occupancy rate, the interface type and the MTU are extracted. The invention can easily and effectively acquire relevant delay information system information and interface information of each node in the transmission path,.
Description
Technical field
The invention belongs to data communication field, relate in particular to the method and apparatus that obtains node transmission information of transmission path in the communication network.
Background technology
Existing data communication network detects network failure by Ping (Packet Internet Groper) order.Ping all is provided on general router and the three-tier switch order.Usually the Ping that says order is to send some ICMP (InternetControl Message Protocol) echo request message by the destination device in network, monitors the ICMP Echo Reply message that destination device returns subsequently and checks whether two networks between the equipment are communicated with.
In field of telecommunications, particularly in NGN (Next Generation Network) network, some business is very high to the quality of service requirement of network, for example, and speech business, IPTV business etc.Therefore, the network maintenance staff is paid close attention in test process is not only whether route between the equipment is communicated with, and also wishes to obtain other relevant informations as much as possible.Several different delay, system information and the interface message etc. that are sent to the destination node process to be experienced from source node such as, data message.
Data message is sent to the process of destination node from source node, and this message each node on the way all can experience several dissimilar time delays, comprises journey transfer delay, node processing time delay, output buffer queuing delay, return transfer delay.Fig. 1 is the schematic diagram that produces time delay in the prior art.Wherein, go the journey transfer delay to refer to that the Ping message is sent to the required time of receiving interface of destination node from the transmission interface of source node.If link to each other by network between source node and the destination node, all kinds of time delays of all devices of process in the middle of also comprising.The node processing Ping heading of node processing time delay feeling the pulse with the finger-tip and generation Ping reply required time of message.The output buffer queuing delay refers to that Ping reply message waits in line the required time at the output buffer of destination node.The return transfer delay is meant that Ping reply message is sent to the required time of receiving interface of source node from the transmission interface of destination node
Fig. 2 detects the example of LA Management Room connectedness for utilizing the Ping order in the prior art.Send the Ping message from router one to router four, the output result who obtains is: Successrate is 100 percent (5/5), round-trip min/arg/max=32/35/36ms shows that router one is communicated with to the route between the router four, does not have packet loss.RTT (Round TripTime) minimum value two-way time is 32ms, and maximum is 36ms, and mean value is 35ms.But, here the RTT that obtains has comprised all processing delay by way of equipment, queuing delay, chain circuit transmission time delay, destination node to the processing delay of Ping command message and generate time delay such as Pingreply message, can only be used for the two-way time that data estimator message roughly transmits between two nodes.
As can be seen, the Ping order has the following disadvantages in the existing IP network equipment:
Can't provide data message and be sent to the required one way transfer delay of another equipment, more can't provide the one way delivery time of arrival by way of every intermediate equipment from an equipment.The one way transfer delay can embody information such as equipment room distance, link-quality more accurately, the network maintenance staff wonders that a data message is sent to the one way transfer delay of destination node from source node, depending merely on simple Ping order can't realize, usually the test instrumentation of specialty be need articulate, testing cost and complexity increased.
Can't provide node processing time delay, output buffer queuing delay, cpu busy percentage, memory usage, interface type, the MTU MTU information such as (Maximum Transmission Units) of certain designated equipment to the Ping message.The node processing time delay can reflect the situations such as cpu busy percentage of an equipment, want to understand the cpu busy percentage of every equipment on the transmission paths as the network maintenance staff, often every equipment can not logining on the transmission path is checked respectively, hope is knocked in an order at source node and has been come the node processing time delay of every equipment on the solution path, thereby whether further failure judgement is crossed high reason and caused owing to the cpu busy percentage of certain equipment.Whether the output buffer queuing delay can reflect the congestion situation of the output buffer of an equipment, help failure judgement owing to the long-time overfill of output buffer causes.Cpu busy percentage and memory usage are to carry out the information that fault location need be used usually.Interface message helps to judge whether that problem does not cause network failure because the interface type of equipment matches etc.
When the route between two equipment of detection is not communicated with, can utilize TraceRt order location any platform equipment to break down.But, for can Ping logical situation, further fault location needs the network maintenance staff's maintenance experience for many years and the help of professional test instrument usually with regard to more complicated.
Therefore, provide a kind of simple effective method to obtain that relevant time delay information, system information and the interface message of each node is very necessary on the transmission path.
Summary of the invention
The present invention proposes a kind of method and apparatus that obtains node transmission information of transmission path.Can simple and effectively obtain relevant time delay information, system information and/or the interface message of each node on the transmission path, and can the accurate in locating fault.
According to an aspect of the present invention, the method of node transmission information of transmission path is obtained in proposition, may further comprise the steps: the network time of synchronisation source node and destination node, stab in the transmitting time of described source node described message of record in the IP header options field of the Ping message that described destination node sends; When described Ping message arrives destination node, write down one of following at least information: described transmitting time is stabbed copy in the IP header options field of Ping reply message, write down the time of reception that described destination node receives described Ping message, generate the rise time of Ping reply message, send the transmitting time of described Ping reply message, cpu busy percentage when generating described Pingreply, memory usage, interface type and MTU, and will comprise that one of following at least described source node transmitting time stabs, the destination node time of reception, rise time, transmitting time, cpu busy percentage, memory usage, the described Ping reply message of interface type and MTU sends described source node to; After receiving described Ping reply message, described source node calculates time delay information according to one of following at least described source node transmitting time stamp, destination node time of reception, rise time and transmitting time, extract one of following at least information, comprise described cpu busy percentage, memory usage, interface type and MTU.
According to a further aspect of the invention, also propose to obtain the equipment of node transmission information of transmission path, wherein, source node comprises: source node comprises: very first time lock unit, synchronizing network time; First Transmit-Receive Unit, when destination node sent the Ping message, the transmitting time of recorded message was stabbed in the IP of described Ping message header options field; Receive Ping reply message, described Ping reply message comprises one of following at least described source node transmitting time stamp, destination node time of reception, rise time, transmitting time, cpu busy percentage, memory usage, interface type and MTU; Computing unit, calculate time delay information according to one of following at least described source node transmitting time stamp, destination node time of reception, rise time and transmitting time, extract one of following at least information, comprise described cpu busy percentage, memory usage, interface type and MTU; Destination node comprises: the second time synchronized unit, synchronous described network time; Second Transmit-Receive Unit, receive described Ping message, and will comprise that the Ping reply message of one of following at least described source node transmitting time stamp, destination node time of reception, rise time, transmitting time, cpu busy percentage, memory usage, interface type and MTU sends described source node to; Second record cell, one of the following at least information of record in described Ping reply message, comprise with described transmitting time is stabbed in the IP header options field that copies to Ping reply message, the described destination node of record receives this Ping message time of reception, generate Ping reply message rise time, send transmitting time, cpu busy percentage, memory usage, interface type and the MTU of Ping reply message.
The present invention can simple and effectively obtain relevant time delay information, system information and/or the interface message of each node on the transmission path, and described node can be a destination node, can be intermediate node also, thereby help fault location.
Description of drawings
Fig. 1 is the schematic diagram that produces time delay in the prior art.
Fig. 2 detects the example of LA Management Room connectedness for utilizing the Ping order in the prior art.
Fig. 3 obtains the method flow diagram of node transmission information of transmission path for the present invention.
The IP stem form of Ping message after the improvement that Fig. 4 sends from source node for the present invention.
Fig. 5 is the filling schematic diagram of IP header options field in the data message transport process of the present invention.
Fig. 6 obtains intermediate node method of transmitting information flow chart on the transmission path for the present invention.
Fig. 7 obtains the equipment of node transmission information of transmission path for the present invention.
Fig. 8 is a source node structure chart in the equipment of the present invention.
Fig. 9 is a destination node structure chart in the equipment of the present invention.
Figure 10 obtains the intermediate node structure chart of node transmission information of transmission path for the present invention.
Embodiment
The present invention can detect data message and be sent to destination node or be sent to time delay information by way of every intermediate equipment from source node, comprise journey transfer delay, node processing time delay, output buffer queuing delay, return transfer delay, can also detect relevant system information and interface message, comprise cpu busy percentage, memory usage, interface type and MTU.
Fig. 3 obtains the method flow diagram of node transmission information of transmission path for the present invention.
In step 301, the network time of synchronisation source node and destination node, can be by operational network time protocol (Network Time Protocol on source node and destination node, NTP) realize, certainly, also can realize, and stab in the transmitting time of described source node this message of record in the IP header options field of the Ping message that described destination node sends by other modes that it may occur to persons skilled in the art that.
In step 302, when described Ping message arrives destination node, write down one of following at least information: described transmitting time is stabbed copy in the IP header options field of Ping reply message, write down the time of reception that described destination node receives this Ping message, generate the rise time of Ping reply message, send the transmitting time of Ping reply message, cpu busy percentage when generating Ping reply, memory usage, interface type and MTU, and will comprise that one of following at least described source node transmitting time stabs, the destination node time of reception, rise time, transmitting time, cpu busy percentage, memory usage, the Ping reply message of interface type and MTU sends described source node to.
In step 303, receive described Ping reply message after, described source node calculates time delay information according to one of following at least described source node transmitting time stamp, destination node time of reception, rise time and transmitting time.It is one of following that described time delay information can comprise: remove journey transfer delay, node processing time delay, output buffer queuing delay, return transfer delay.Can position fault according to the time delay information that calculates.One of following at least system information be can also directly extract, cpu busy percentage, memory usage, interface type, MTU comprised.
Provide a kind of method embodiment that obtains time delay information below,, all should be included in the protection range that this claim covers according to distortion or the modification that this method can be made.
Remove journey transfer delay=t2-t1.
Node processing time delay=t3-t2.
Output buffer queuing delay=t4-t3.
Return transfer delay=t5-t4.
Wherein, t1 is the transmitting time stamp that source node sends the Ping message; T2 is the time of reception stamp that destination node or intermediate node receive the Ping message; T3 is that destination node generates the rise time stamp of Ping reply message or the rise time stamp that intermediate node generates the ICMP timeout packet; T4 is the transmitting time stamp that first byte of Ping reply message or ICMP timeout packet is sent to output link; T5 is that source node receives that the time of reception of Ping reply message or ICMP timeout packet stabs.
For making the purpose, technical solutions and advantages of the present invention clearer and more definite, the present invention is described in detail below in conjunction with the example among Fig. 2.Send the Ping message from Router1 to Router4 in the prior art, can only see from the output result who obtains having sent several Ping messages, successfully having received several Ping relpy messages and RTT is what.If expect detailed time delay information, system information and interface message from the source node to the destination node, need to send improved Ping order among the present invention.
The IP stem form of Ping message after the improvement that Fig. 4 sends from source node for the present invention.Wherein, the implication of fields such as version, header length, COS is the same with common IP datagram literary composition.Information required for the present invention all is recorded in the Option Field of IP datagram literary composition stem, and the benefit of doing like this is the change that as far as possible reduces available data message format and IP network equipment, makes the present invention be easier to realize.
Code field accounts for a byte in the present embodiment Option Field, and what indicate IP header options field record is information required for the present invention; Length field accounts for a byte, indicates the total length of IP Option Field; Timestamp t1 is the transmitting time stamp that source node sends the Ping message; Timestamp t2 is the time of reception stamp that destination node or intermediate node receive the Ping message; System information when cpu busy percentage and memory usage are destination node generation Ping reply message or icmp packet; Timestamp t3 is that destination node generates the rise time stamp of Ping reply message or the rise time stamp that intermediate node generates the ICMP timeout packet; Timestamp t4 is the transmitting time stamp that first byte of Ping reply message or ICMP timeout packet is sent to output link, and timestamp t1~t4, cpu busy percentage and memory usage respectively account for four bytes; What interface type and MTU write down is the interface message that sends Ping reply message or ICMP timeout packet interface, respectively accounts for four bytes.
Source node Router1 can link to each other by network with destination node Router4, also can directly be linked to each other by transmission link.Wherein, source node IP address is 10.0.0.1, and destination node IP address is 12.0.0.2.Operational network time protocol on source node and destination node.From the Ping message of source node Router1 after destination node Router4 send to improve, return transfer delay, the cpu busy percentage of destination node, memory usage, the destination node that the output buffer queuing delay, Ping reply message that requires to show the node processing time delay of removing journey delivery time, destination node Router4 of this Ping message from source node Router1 to destination node Router4, destination node Router4 is sent to Router1 from Router4 sends the interface type and the MTU MTU of Ping reply message.
That the Option Field of the IP stem of this Ping message is filled is the timestamp t1 that sends this Ping message, after this Ping message arrives Router4, Router4 copies to the t1 that writes down in the Ping message Option Field in the IP header options field of Ping reply, and in 4 bytes of t1 back, fill and receive that the timestamp of this Ping message is t2, the timestamp that Router4 generates Ping reply message and puts into output buffer is t3, the timestamp that first byte of Ping reply message is sent to output link is t4, it is t5 that source node is noted the timestamp of receiving this Ping reply message, and t5 does not need to write the IP stem again.
When source node receives Ping reply message, take out each timestamp that is included in its IP header options field, calculate the time delay information that the Ping message is experienced from the source node to the destination node:
Remove journey transfer delay=t2-t1.
Node processing time delay=t3-t2.
Output buffer queuing delay=t4-t3.
Return transfer delay=t5-t4.
When from source node when destination node send to be improved back Ping message, not only can obtain time delay information, the interface type and the MTU of cpu busy percentage, memory usage, transmission Ping reply message interface in the time of can also obtaining destination node generation Ping reply message.Fig. 5 is the filling schematic diagram of IP header options field in the data message transport process of the present invention.Like this, when source node is received Ping reply message, time delay information not only can be obtained, the system information and the relevant interface information of destination node can also be obtained.
Utilize Ping order to improve one's methods to obtain time delay information, system information and interface message from the source node to the destination node, can judge the fault point more easily, for example the too high node processing Ping message overlong time that causes of destination node cpu busy percentage whether; The congested queuing time that causes of output buffer of destination node is long; Whether since the link-quality problem cause from the source node to the destination node, going the journey transfer delay excessive; Still the interface type of IP network equipment does not match or the like.
When time delay information, system information and the interface message to the destination node that obtain are not enough to find out guilty culprit, need be by obtaining detailed time delay information, system information and the interface message of source node to each intermediate node, with accurate localization fault more, the present invention can also further provide data message on communication path time delay information and other information of every equipment of process.Fig. 6 obtains intermediate node method of transmitting information flow chart on the transmission path for the present invention.
In step 601, the network time of synchronisation source node and intermediate node, can realize by operational network time protocol NTP.Send the Ping message that comprises the TTL mark by source node to intermediate node, described TTL is labeled as constant, and the transmitting time of this message of record is stabbed in the IP of described Ping message header options field.
In step 602, when described Ping message arrives intermediate node, described TTL mark is made equal difference calculate, judge whether the TTL after described equal difference is calculated is identical with set point, if inequality, execution in step 603, otherwise execution in step 604.
In step 603, think that message is not overtime, send to next intermediate node by described intermediate node, and jump to step 602 continuation execution.
In step 604, think that message is overtime, abandon this message, and send the ICMP timeout packet to source node, in described timeout packet, comprise one of following at least information: transmitting time, the intermediate node that source node sends the Ping message receive this Ping message time of reception, generate the ICMP timeout packet rise time, send transmitting time, cpu busy percentage, memory usage, interface type and the MTU of ICMP timeout packet.
In step 605, after receiving described ICMP timeout packet, described source node calculates time delay information according to one of following at least described source node transmitting time stamp, intermediate node time of reception, rise time and transmitting time, one of following at least information be can also extract, cpu busy percentage, memory usage, interface type and MTU comprised.
The invention provides improving one's methods that Ping orders in the communication network, can calculate data message from source node, what be sent to each intermediate node on destination node or the path removes journey transfer delay, node processing time delay, output buffer queuing delay, return transfer delay, can also further obtain cpu busy percentage, memory usage, and interface type and/or MTU.Need not to articulate the test instrumentation of specialty, reduced testing cost and testing complex degree, simple to operate being easy to realized, helps helping the further locating network fault of network maintenance staff.
Still in conjunction with the example among Fig. 2, the time delay information that the present invention is obtained from the source node to the intermediate node is elaborated below.
The Ping message of source node Router1 after destination node Router4 send to improve requires to show the Ping message is from Router1 to the Router4 transport process by way of the interface type and the MTU that remove journey delivery time, node processing time delay, output buffer queuing delay, return transfer delay, cpu busy percentage, memory usage, each intermediate node transmission interface to each intermediate node.Source node sends the Ping message, and wherein source node IP address is that 10.0.0.1, destination node IP address are that 12.0.0.2, TTL increase progressively since 1.
Source node Router1 transmission TTL is 1 Ping message, and intermediate node Router2 receives this Ping message, earlier TTL is subtracted 1, and this moment, TTL was 0, then abandoned this message, sent the ICMP timeout packet to Router1.In the IP header options field of this ICMP timeout packet, interface type and MTU that above-mentioned t1~t4 timestamp, cpu busy percentage, memory usage and Router2 send ICMP timeout packet interface have been comprised.Therefore, after Router1 receives this ICMP timeout packet, calculate and from Router1 to Router2, remove journey transfer delay, node processing time delay, output buffer queuing delay, return transfer delay, extract the interface type and the MTU of cpu busy percentage, memory usage, Router2 transmission interface.
Source node Router1 transmission TTL is 2 Ping message, and intermediate node Router2 receives this Ping message, and TTL is subtracted 1, and this moment, TTL equaled 1, continues to transmit this data message to Router3.After intermediate node Router3 received this data message, TTL subtracted 1 and becomes 0, sent the ICMP timeout packet to Router1, and therefore, Router1 obtains by way of time delay information, system information and interface message to Router3.
Source node Router1 transmission TTL is 3 Ping message, arrives Router4 through intermediate node Router2 and Router3.For destination node Router4, be 1 data message even receive TTL, can not produce the ICMP timeout packet, because data message has arrived the destination yet.But destination node still can be returned Ping reply message, and its time delay information, system information and interface message write the Option Field of the IP stem of this Ping reply message, are back to source node.
Fig. 7 comprises source node and destination node for the equipment that the present invention obtains node transmission information of transmission path.
Fig. 8 is a source node structure chart in the equipment of the present invention.Source node comprises: very first time lock unit, first Transmit-Receive Unit, computing unit.
Very first time lock unit is used for the synchronizing network time, can realize by the operational network time protocol.When first Transmit-Receive Unit sent the Ping message to destination node, the transmitting time of recorded message was stabbed in the IP of described Ping message header options field.When receiving Ping reply message, described Ping reply message comprises one of following at least described source node transmitting time stamp, destination node time of reception, rise time, transmitting time, cpu busy percentage, memory usage, interface type and MTU, computing unit calculates time delay information according to one of following at least described source node transmitting time stamp, destination node time of reception, rise time and transmitting time, one of following at least information be can also extract, cpu busy percentage, memory usage, interface type and MTU comprised.
It is one of following that described time delay information can comprise: remove journey transfer delay, node processing time delay, output buffer queuing delay, return transfer delay.
It is as follows that described computing unit calculates time delay information:
Remove journey transfer delay=t2-t1.
Node processing time delay=t3-t2.
Output buffer queuing delay=t4-t3.
Return transfer delay=t5-t4.
Described t1 is the transmitting time stamp that source node sends the Ping message; Described t2 is the time of reception stamp that described destination node or described intermediate node receive the Ping message; Described t3 is that described destination node generates the rise time stamp of Ping reply message or the rise time stamp that intermediate node generates the ICMP timeout packet; Described t4 is the transmitting time stamp that first byte of Ping reply message or ICMP timeout packet is sent to output link; Described t5 is that described source node receives that the time of reception of Ping reply message or ICMP timeout packet stabs.
Fig. 9 is a destination node structure chart in the equipment of the present invention.Destination node comprises: the second time synchronized unit, second Transmit-Receive Unit, second record cell.
The second time synchronized unit is used for the synchronizing network time, can realize by the operational network time protocol.Second Transmit-Receive Unit receives described Ping message, the information that one of second recording unit records is following at least: the time of reception that described transmitting time is stabbed in the IP header options field that copies to Ping reply message, the described destination node of record receives this Ping message, generate Ping reply message rise time, send transmitting time, cpu busy percentage, memory usage, interface type and the MTU of Ping reply message.Second Transmit-Receive Unit will comprise that the Ping reply message of one of following at least described source node transmitting time stamp, destination node time of reception, rise time, transmitting time, cpu busy percentage, memory usage, interface type and MTU sends described source node to.
Figure 10 obtains the intermediate node structure chart of node transmission information of transmission path for the present invention.Intermediate node also comprises: the 3rd time synchronized unit, the 3rd Transmit-Receive Unit, judging unit, the 3rd record cell.
The 3rd time synchronized unit is used for the synchronizing network time, can realize by the operational network time protocol.The information that one of the 3rd recording unit records is following at least: transmitting time, the intermediate node that source node sends the Ping message receive the Ping message time of reception, generate the ICMP timeout packet rise time, send transmitting time, cpu busy percentage, memory usage, interface type and the MTU of ICMP timeout packet.
The 3rd Transmit-Receive Unit receives the Ping message that comprises the TTL mark that described source node sends, and described TTL is labeled as constant, and the transmitting time of recorded message is stabbed in the IP of described Ping message header options field.Judging unit is made equal difference to described TTL mark and is calculated, and judges whether the TTL after described equal difference is calculated is identical with set point, if inequality, thinks that message is not overtime, notifies described the 3rd Transmit-Receive Unit that described Ping message is sent to next intermediate node; If identical, think that message is overtime, abandon described message, and notify described the 3rd Transmit-Receive Unit to send the ICMP timeout packet.If message is not overtime, the 3rd Transmit-Receive Unit sends to next intermediate node with described Ping message, if message is overtime, the 3rd Transmit-Receive Unit sends the ICMP timeout packet to described source node, in described timeout packet, comprise transmitting time, intermediate node that one of following at least source node sends the Ping message receive the time of reception of Ping message, generate the ICMP timeout packet rise time, send transmitting time, cpu busy percentage, memory usage, interface type and the MTU of ICMP timeout packet.
Need to prove that at last embodiments of the present invention and embodiment only are used to illustrate the present invention, should not be construed as limitation of the present invention, all corresponding modify of being done according to the present invention and distortion all should cover within the protection range of this claim.
Claims (8)
1. obtain the method for node transmission information of transmission path, may further comprise the steps:
The network time of synchronisation source node and destination node, stab in the transmitting time of described source node described message of record in the IP header options field of the Ping message that described destination node sends;
When described Ping message arrives destination node, write down one of following at least information: described transmitting time is stabbed copy in the IP header options field of Ping reply message, write down the time of reception that described destination node receives described Ping message, generate the rise time of Ping reply message, send the transmitting time of described Ping reply message, cpu busy percentage when generating described Ping reply, memory usage, interface type and MTU, and will comprise that one of following at least described source node transmitting time stabs, the destination node time of reception, rise time, transmitting time, cpu busy percentage, memory usage, the described Ping reply message of interface type and MTU sends described source node to;
After receiving described Ping reply message, described source node calculates time delay information according to one of following at least described source node transmitting time stamp, destination node time of reception, rise time and transmitting time, extract one of following at least information, comprise described cpu busy percentage, memory usage, interface type and MTU.
2. obtain the method for node transmission information of transmission path according to claim 1, further comprising the steps of:
The network time of synchronous described source node and intermediate node sends the Ping message that comprises the TTL mark by described source node to described intermediate node, and described TTL is labeled as constant, and the transmitting time of recorded message is stabbed in the IP of described Ping message header options field;
When described Ping message arrives intermediate node, described TTL mark is made equal difference to be calculated, judge whether the TTL after described equal difference is calculated is identical with set point, if it is inequality, think that message is not overtime, send to next intermediate node by described intermediate node, and continue to carry out this step, otherwise carry out next step;
Think that message is overtime, abandon described message, and send the ICMP timeout packet to described source node, in described timeout packet, comprise one of following at least information: transmitting time, the intermediate node that source node sends the Ping message receive the Ping message time of reception, generate the ICMP timeout packet rise time, send transmitting time, cpu busy percentage, memory usage, interface type and the MTU of ICMP timeout packet;
After receiving described ICMP timeout packet, described source node calculates time delay information according to one of following at least described source node transmitting time stamp, intermediate node time of reception, rise time and transmitting time, extract one of following at least information, comprise described cpu busy percentage, memory usage, interface type and MTU.
3. obtain the method for node transmission information of transmission path as claimed in claim 1 or 2, wherein, it is one of following that described time delay information comprises: remove journey transfer delay, node processing time delay, output buffer queuing delay, return transfer delay.
4. as obtaining the method for node transmission information of transmission path as described in the claim 3, wherein, it is as follows to calculate time delay information:
Remove journey transfer delay=t2-t1;
Node processing time delay=t3-t2;
Output buffer queuing delay=t4-t3;
Return transfer delay=t5-t4;
Described t1 is the transmitting time stamp that source node sends the Ping message; Described t2 is the time of reception stamp that described destination node or described intermediate node receive the Ping message; Described t3 is that described destination node generates the rise time stamp of Ping reply message or the rise time stamp that intermediate node generates the ICMP timeout packet; Described t4 is the transmitting time stamp that first byte of Ping reply message or ICMP timeout packet is sent to output link; Described t5 is that described source node receives that the time of reception of Ping reply message or ICMP timeout packet stabs.
5. obtain the equipment of node transmission information of transmission path, wherein:
Source node comprises:
Very first time lock unit, the synchronizing network time;
First Transmit-Receive Unit, when destination node sent the Ping message, the transmitting time of recorded message was stabbed in the IP of described Ping message header options field; Receive Ping reply message, described Ping reply message comprises one of following at least described source node transmitting time stamp, destination node time of reception, rise time, transmitting time, cpu busy percentage, memory usage, interface type and MTU;
Computing unit, calculate time delay information according to one of following at least described source node transmitting time stamp, destination node time of reception, rise time and transmitting time, extract one of following at least information, comprise described cpu busy percentage, memory usage, interface type and MTU;
Destination node comprises:
The second time synchronized unit, synchronous described network time;
Second Transmit-Receive Unit, receive described Ping message, and will comprise that the Ping reply message of one of following at least described source node transmitting time stamp, destination node time of reception, rise time, transmitting time, cpu busy percentage, memory usage, interface type and MTU sends described source node to;
Second record cell, one of the following at least information of record in described Ping reply message, comprise described transmitting time stabbed copying in the IP header options field of Ping reply message, write down time of reception, the rise time that generates Ping reply message that described destination node receives this Ping message, transmitting time, cpu busy percentage, memory usage, interface type and the MTU that sends Ping reply message.
6. as obtaining the equipment of node transmission information of transmission path as described in the claim 5, also comprise intermediate node, described intermediate node comprises:
The 3rd time synchronized unit, synchronous described network time;
The 3rd Transmit-Receive Unit receives the Ping message that comprises the TTL mark that described source node sends, and described TTL is labeled as constant, and the transmitting time of recorded message is stabbed in the IP of described Ping message header options field; If message is not overtime, described Ping message is sent to next intermediate node, if message is overtime, send the ICMP timeout packet to described source node, in described timeout packet, comprise one of following at least information: transmitting time, the intermediate node that source node sends the Ping message receive the Ping message time of reception, generate the ICMP timeout packet rise time, send transmitting time, cpu busy percentage, memory usage, interface type and the MTU of ICMP timeout packet;
Judging unit is made equal difference to described TTL mark and is calculated, and judges whether the TTL after described equal difference is calculated is identical with set point, if inequality, thinks that message is not overtime, notifies described the 3rd Transmit-Receive Unit that described Ping message is sent to next intermediate node; If identical, think that message is overtime, abandon described message, and notify described the 3rd Transmit-Receive Unit to send the ICMP timeout packet;
The 3rd record cell, write down one of following at least information: transmitting time, the intermediate node that source node sends the Ping message receive the Ping message time of reception, generate the ICMP timeout packet rise time, send transmitting time, cpu busy percentage, memory usage, interface type and the MTU of ICMP timeout packet.
7. as obtaining the equipment of node transmission information of transmission path as described in claim 5 or 6, wherein, it is one of following that described time delay information comprises: remove journey transfer delay, node processing time delay, output buffer queuing delay, return transfer delay.
8. as obtaining the equipment of node transmission information of transmission path as described in the claim 7, wherein, it is as follows that described computing unit calculates time delay information:
Remove journey transfer delay=t2-t1;
Node processing time delay=t3-t2;
Output buffer queuing delay=t4-t3;
Return transfer delay=t5-t4;
Described t1 is the transmitting time stamp that source node sends the Ping message; Described t2 is the time of reception stamp that described destination node or described intermediate node receive the Ping message; Described t3 is that described destination node generates the rise time stamp of Ping reply message or the rise time stamp that intermediate node generates the ICMP timeout packet; Described t4 is the transmitting time stamp that first byte of Ping reply message or ICMP timeout packet is sent to output link; Described t5 is that described source node receives that the time of reception of Ping reply message or ICMP timeout packet stabs.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2009101198112A CN101510849B (en) | 2009-03-18 | 2009-03-18 | Method and equipment for obtaining node transmission information of transmission path |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2009101198112A CN101510849B (en) | 2009-03-18 | 2009-03-18 | Method and equipment for obtaining node transmission information of transmission path |
Publications (2)
Publication Number | Publication Date |
---|---|
CN101510849A true CN101510849A (en) | 2009-08-19 |
CN101510849B CN101510849B (en) | 2011-05-18 |
Family
ID=41003115
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2009101198112A Active CN101510849B (en) | 2009-03-18 | 2009-03-18 | Method and equipment for obtaining node transmission information of transmission path |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101510849B (en) |
Cited By (17)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101958810A (en) * | 2010-10-27 | 2011-01-26 | 华为数字技术有限公司 | Method and system used for realizing fault positioning of intermediate node autonomously |
WO2011063714A1 (en) * | 2009-11-27 | 2011-06-03 | 华为技术有限公司 | Method, device and system for measuring asymmetric time delay of communication paths |
CN105830484A (en) * | 2013-10-16 | 2016-08-03 | 柏思科技有限公司 | Methods and systems for estimating network performance |
CN106330706A (en) * | 2015-07-01 | 2017-01-11 | 中兴通讯股份有限公司 | Method and device for acquiring device interface MRU (Maximum Receive Unit) value |
CN106789886A (en) * | 2016-11-16 | 2017-05-31 | 深圳市异度信息产业有限公司 | The transmission method and device of data |
CN108462597A (en) * | 2017-02-21 | 2018-08-28 | 腾讯科技(深圳)有限公司 | Information uploading method, device and system |
CN108566316A (en) * | 2018-04-18 | 2018-09-21 | 百度在线网络技术(北京)有限公司 | Unmanned vehicle delay statistics method, apparatus, equipment and computer-readable medium |
WO2019100963A1 (en) * | 2017-11-27 | 2019-05-31 | 华为技术有限公司 | Communication processing method and device |
CN110120887A (en) * | 2019-04-25 | 2019-08-13 | 新华三技术有限公司合肥分公司 | A kind of network quality information monitoring method, electronic equipment and storage medium |
CN110677319A (en) * | 2019-08-23 | 2020-01-10 | 北京邮电大学 | End-to-end time delay measuring method and device |
CN111327478A (en) * | 2020-02-28 | 2020-06-23 | 北京天维信通科技有限公司 | Network measurement method and device, equipment and storage medium |
CN111614426A (en) * | 2019-02-26 | 2020-09-01 | Abb电网瑞士股份公司 | Communication in a converter device |
CN112350869A (en) * | 2020-11-06 | 2021-02-09 | 广东电网有限责任公司 | Method and system for detecting point-to-point time response performance of substation automation system |
CN114050985A (en) * | 2021-10-12 | 2022-02-15 | 北京天维信通科技有限公司 | Multi-dimensional state real-time monitoring method and system based on ICMP data packet |
CN115022293A (en) * | 2022-08-04 | 2022-09-06 | 苏州华兴源创科技股份有限公司 | Multichannel resource allocation method and device, computer equipment and storage medium |
US11611498B2 (en) | 2019-07-12 | 2023-03-21 | Huawei Technologies Co., Ltd. | Round-trip time evaluation system, method, and apparatus |
CN116506330A (en) * | 2023-06-30 | 2023-07-28 | 北京紫光芯能科技有限公司 | CAN bus physical link propagation delay determining method and related device |
-
2009
- 2009-03-18 CN CN2009101198112A patent/CN101510849B/en active Active
Cited By (29)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2011063714A1 (en) * | 2009-11-27 | 2011-06-03 | 华为技术有限公司 | Method, device and system for measuring asymmetric time delay of communication paths |
US8750356B2 (en) | 2009-11-27 | 2014-06-10 | Huawei Technologies Co., Ltd. | Method, apparatus, and system for measuring asymmetric delay of communication path |
CN101958810B (en) * | 2010-10-27 | 2013-01-23 | 华为数字技术有限公司 | Method and system used for realizing fault positioning of intermediate node autonomously |
US9059904B2 (en) | 2010-10-27 | 2015-06-16 | Huawei Technologies Co., Ltd. | Method and system for intermediate node to locate a fault independently |
CN101958810A (en) * | 2010-10-27 | 2011-01-26 | 华为数字技术有限公司 | Method and system used for realizing fault positioning of intermediate node autonomously |
CN105830484B (en) * | 2013-10-16 | 2019-12-27 | 柏思科技有限公司 | Method and system for evaluating network performance |
CN105830484A (en) * | 2013-10-16 | 2016-08-03 | 柏思科技有限公司 | Methods and systems for estimating network performance |
CN111030796B (en) * | 2013-10-16 | 2022-10-28 | 柏思科技有限公司 | Method and system for evaluating network performance |
GB2523862B (en) * | 2013-10-16 | 2021-04-28 | Pismo Labs Technology Ltd | Methods and systems for estimating network performance |
CN111030796A (en) * | 2013-10-16 | 2020-04-17 | 柏思科技有限公司 | Method and system for evaluating network performance |
CN106330706A (en) * | 2015-07-01 | 2017-01-11 | 中兴通讯股份有限公司 | Method and device for acquiring device interface MRU (Maximum Receive Unit) value |
CN106789886A (en) * | 2016-11-16 | 2017-05-31 | 深圳市异度信息产业有限公司 | The transmission method and device of data |
CN108462597A (en) * | 2017-02-21 | 2018-08-28 | 腾讯科技(深圳)有限公司 | Information uploading method, device and system |
CN108462597B (en) * | 2017-02-21 | 2022-05-06 | 腾讯科技(深圳)有限公司 | Information reporting method, device and system |
WO2019100963A1 (en) * | 2017-11-27 | 2019-05-31 | 华为技术有限公司 | Communication processing method and device |
US11191050B2 (en) | 2017-11-27 | 2021-11-30 | Huawei Technologies Co., Ltd. | Communication processing method and apparatus |
CN108566316A (en) * | 2018-04-18 | 2018-09-21 | 百度在线网络技术(北京)有限公司 | Unmanned vehicle delay statistics method, apparatus, equipment and computer-readable medium |
CN111614426A (en) * | 2019-02-26 | 2020-09-01 | Abb电网瑞士股份公司 | Communication in a converter device |
CN110120887A (en) * | 2019-04-25 | 2019-08-13 | 新华三技术有限公司合肥分公司 | A kind of network quality information monitoring method, electronic equipment and storage medium |
CN110120887B (en) * | 2019-04-25 | 2022-02-11 | 新华三技术有限公司合肥分公司 | Network quality information monitoring method, electronic equipment and storage medium |
US11611498B2 (en) | 2019-07-12 | 2023-03-21 | Huawei Technologies Co., Ltd. | Round-trip time evaluation system, method, and apparatus |
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 |
CN111327478A (en) * | 2020-02-28 | 2020-06-23 | 北京天维信通科技有限公司 | Network measurement method and device, equipment and storage medium |
CN112350869A (en) * | 2020-11-06 | 2021-02-09 | 广东电网有限责任公司 | Method and system for detecting point-to-point time response performance of substation automation system |
CN114050985A (en) * | 2021-10-12 | 2022-02-15 | 北京天维信通科技有限公司 | Multi-dimensional state real-time monitoring method and system based on ICMP data packet |
CN115022293A (en) * | 2022-08-04 | 2022-09-06 | 苏州华兴源创科技股份有限公司 | Multichannel resource allocation method and device, computer equipment and storage medium |
CN115022293B (en) * | 2022-08-04 | 2022-11-04 | 苏州华兴源创科技股份有限公司 | Multichannel resource allocation method and device, computer equipment and storage medium |
CN116506330A (en) * | 2023-06-30 | 2023-07-28 | 北京紫光芯能科技有限公司 | CAN bus physical link propagation delay determining method and related device |
Also Published As
Publication number | Publication date |
---|---|
CN101510849B (en) | 2011-05-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101510849B (en) | Method and equipment for obtaining node transmission information of transmission path | |
US8605598B2 (en) | Frame loss measurement method, system, and apparatus | |
KR100833510B1 (en) | Method and Apparatus for measurement of LSP performance parameters using MPLS OAM packet | |
US7835290B2 (en) | Method for measuring end-to-end delay in asynchronous packet transfer network, and asynchronous packet transmitter and receiver | |
US7079554B2 (en) | System and method for synchronizing between communication terminals of asynchronous packets networks | |
KR101459252B1 (en) | Traceroute_delay diagnostic command | |
CN101616037B (en) | Detection method, device and system of packet loss in network communication | |
JP5505875B2 (en) | Delay measurement system, delay measurement method, delay measurement apparatus, and delay measurement program | |
CN102204164B (en) | Method and apparatus for reporting network packet-losing message | |
WO2019053853A1 (en) | Video switching system | |
JP2004129250A (en) | System and method of calculating reciprocating delay time of real-time protocol packet streams | |
US20030142696A1 (en) | Method for ensuring access to a transmission medium | |
JP2006319972A (en) | System and method for synchronizing time across networks | |
GB2400770A (en) | Testing network communications | |
WO2010037347A1 (en) | Time synchronizing method, device and system of master clock side and slave clock side in synchronous network | |
CN110381071B (en) | Message transmission method and device and sender equipment | |
CN101808022A (en) | Method and device for realizing bidirectional forwarding detection | |
CN108173718A (en) | The system and method for BFD link detectings and assessment based on SD-WAN scenes | |
US20140149526A1 (en) | Latency Monitoring Function | |
EP3474499B1 (en) | Network performance detection method and apparatus | |
JP2013531402A (en) | Method and apparatus for fault tolerant time-triggered real-time communication | |
JP2018042019A (en) | Video switching system | |
US9065748B2 (en) | Symmetrical latency with TDM circuit emulated service | |
KR100842256B1 (en) | Methods and system for checking connectivity of physical layer Lable Swtiched Path in GMPLS based network | |
JP5088281B2 (en) | Packet synchronous switching method and gateway device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant |