A kind of method for measuring end-to-end data transmission time delay in the self-apperceiving optical network
Technical field
The present invention relates to a kind of network end-to-end data transmission delay method of measurement, relate in particular to a kind of a kind of method for measuring end-to-end data transmission time delay of using towards intelligent self-apperceiving optical network, belong to the optical communication network technical field.
Background technology
Along with the arrival of informationized society, network application is popularized rapidly, and new network application is constantly released, and owing to the demand of different applied business to network also is not quite similar, network need improve the performance of each side to satisfy the requirement of various applied business.Optical-fiber network as transportation level; The advantage of its high-capacity and high-speed rate transmission has obtained embodying; And the Based Intelligent Control that in the traditional electrical network, has realized does not expand to field of optical networks; Therefore, how in optical-fiber network, introducing intelligent service is the major issue that present optical-fiber network research faces.Intellectualization of Optical Network is a notion very widely; Intelligence research for light exchange aspect has at present had some progress; ITU-T has formulated the standard (ITU-T Rec.G.8080/Y.1304) of ASON (ASON), can realize the intelligence configuration to the optical-fiber network switching technology.Present optical-fiber network also is in a primary stage in intelligentized progression; The most representative ASON/GMPLS also only provides the automatic light function of exchange based on the wavelength granularity, can not accomplish the function such as autonomous perception and optimization of information such as Network, network state.Therefore, the new problem that above-mentioned optical-fiber network faces can not accomplish well to solve and handle in ASON/GMPLS, and optical-fiber network can not adapt to the demand of new business, needs to accelerate its intelligentized step.
Self-apperceiving optical network be meant network self can active perception (obtaining) optical communication network of relevant various parameters (state) with it, these parameters (state) comprise that the professional characteristic of network insertion, access service are to the state of link in the state of node in the demand of network, the network, the network etc.After perceiving these parameters,, optimize network configuration, improve the transmission performance of miscellaneous service in present networks through the strategy and the method for adjustment Network Transmission.Self-apperceiving optical network is an important stage of ASON development, can realize autonomous perception, control and the optimization of optical-fiber network, is a kind of trend and the direction of development of optical network.
Based on the theory of above-mentioned self-apperceiving optical network, in order to realize network intelligence, optical-fiber network self need can sensing network in the quality of transfer of data, judging the state of each bar link provides reference data for optimizing Network Transmission.Here said data transmission in network quality; Mainly characterizing through parameters such as network end-to-end data transmission delay, the shake of network end-to-end data transmission delay, network end-to-end transfer of data packet losses, is the prerequisite and basis that realizes from the perception network for the perception of these parameters with measuring.The present invention will propose a kind of method of measurement of network end-to-end data transmission delay, make in this way, can calculate network end-to-end data transmission delay shake parameter simultaneously, be applied in the perception network.
Summary of the invention
Said to background technology, content involved in the present invention belongs to a kind of a kind of method for measuring end-to-end data transmission time delay of using towards intelligent self-apperceiving optical network.Through sending detection packet at source node, and return the method for detection packet in destination node along original route, come each internodal data transmission delay of measuring light network, the present invention is applicable to the self-apperceiving optical network of packetizing, it is characterized in that may further comprise the steps:
Step 1 at source node, according to the demand of network end-to-end latency measurement, produces and sends detection packet;
Step 2, the record detection packet is standard from the time that source node sends with the source node local clock;
Step 3 when detection packet arrives intermediate node, writes down this node number, and the time of this node of record arrival, is standard with this node local clock;
Step 4, when detection packet was left intermediate node, record left the time of this node, is standard with this node local clock;
Step 5 when detection packet arrives destination node, signs in, and is standard with the destination node local clock;
Step 6 in destination node, is arranged with the backward of its intermediate node that passed through of writing down in the detection packet that receives, the path when returning as detection packet, and the path when the source detection packet is come according to this detection packet oppositely sends it back source node;
Step 7, the record detection packet is returned in the source node process at the time of advent and the time departure of each node, is standard with each node local clock respectively;
Step 8 according to the time of above-mentioned record, calculates the end-to-end data transmission time delay between source node and destination node.
The method for measuring end-to-end data transmission time delay of using towards intelligent self-apperceiving optical network of the present invention has the following advantages and effect: solved the testing requirement of intelligent self-apperceiving optical network to end-to-end data transmission time delay; Make optical-fiber network can grasp the link transmission state of self in real time; For the network optimization lays the foundation.
Description of drawings
Below in conjunction with accompanying drawing and embodiment the present invention is further described.
Fig. 1 is the storage organization of recorded information in the detection packet used in the present invention; This storage organization comprises following field: source node numbering, source node forward transmitting time, source node return time, destination node numbering, destination node forward time of reception, the reverse transmitting time of destination node, intermediate node numbering, intermediate node forward time of advent, intermediate node forward time departure, intermediate node reverse time of advent, the reverse time departure of intermediate node, wherein the intermediate node number by detection packet from the source node to the destination node the jumping figure decision of process;
Fig. 2 is an example of optical-fiber network used in the present invention;
Fig. 3 is the transmission path of detection packet from the source node to the destination node in the network shown in Figure 2;
Fig. 4 is the transmission path that detection packet is returned source node in the network shown in Figure 2 from destination node;
Fig. 5 is each the node data transmission process flow chart of light grid that embodies the method for the invention; Comprise that detection packet sends from source node, arrive destination nodes through some intermediate nodes and receive, produce a new reverse detection packet according to this detection packet then; Send from destination node; Reverse along the path of former detection packet transmission through several same intermediate nodes, arrive source node at last and reclaim, through each section period of writing down in the analytical calculation detection packet; Just can obtain the round-trip delay from the source node to the destination node, and then can assess the end-to-end time delay size in the network.
Embodiment
The objective of the invention is to provides a kind of network end-to-end data transmission delay method of measurement of using towards self-apperceiving optical network to the demand of self-apperceiving optical network to the network link status perception.
The network end-to-end data transmission delay method of measurement that following stated is described in the invention.A kind of method for measuring end-to-end data transmission time delay in the self-apperceiving optical network; Through sending detection packet at source node; And return the method for detection packet along original route in destination node, and coming each internodal data transmission delay of measuring light network, the present invention is applicable to the self-apperceiving optical network of packetizing.
For realizing above-mentioned goal of the invention, the present invention adopts following technical scheme:
Step 1 at source node, according to the demand of network end-to-end latency measurement, and is sent a detection packet.Comprise following field in the storage organization of detection packet: source node numbering, source node forward transmitting time, source node return time, destination node numbering, destination node forward time of reception, the reverse transmitting time of destination node, intermediate node numbering, intermediate node forward time of advent, intermediate node forward time departure, intermediate node reverse time of advent, the reverse time departure of intermediate node;
Step 2, the source node numbering of record detection packet is numbered with destination node, is benchmark with the source node local clock, and detection packet was recorded in " source node forward transmitting time " field of detection packet storage organization from the time that source node sends;
Step 3; When detection packet arrives n intermediate node; With the number record of this node in " n intermediate node numbering " field of detection packet storage organization; With this node local clock is benchmark, and the time that detection packet is arrived this node is recorded in " n intermediate node forward the time of advent " field of detection packet storage organization;
When step 4, detection packet are left n intermediate node, be benchmark with this node local clock, the time of detection packet being left this node is recorded in " n intermediate node forward time departure " field of detection packet storage organization;
Step 5 when detection packet arrives destination node, is a benchmark with the destination node local clock, and the time that detection packet is arrived destination node is recorded in " destination node forward time of reception " field of detection packet storage organization;
Step 6; Destination node receives after the detection packet; Read " source node numbering " in its storage organization, " n intermediate node numbering ", " destination node numbering " corresponding information that field write down; Produce new detection packet; " destination node numbering " field value in the former detection packet is write in the new detection packet in " source node numbering " field; " source node numbering " field value in the former detection packet is write in the new detection packet in " destination node numbering " field; " n intermediate node numbering " field value in the former detection packet is write in the new detection packet in " n intermediate node numbered " field according to backward, between corresponding " n intermediate node forward the time of advent ", " n intermediate node forward time departure ", " when n intermediate node intermediate node oppositely arrives ", " n the reverse time departure of intermediate node ", " source node transmitting time ", " destination node forward time of reception " field carry out assignment simultaneously;
Step 7, through a set time or send after the fixed data bag, from the new data packets that destination node forwarding step 6 produces, new data packets will be returned according to the opposite direction that former packet sends route, until arriving source node.Local clock with destination node is a benchmark, new detection packet transmitting time is recorded in " the reverse transmitting time of destination node " field of new detection packet storage organization;
Step 8 when new detection packet arrives n intermediate node, is a benchmark with this node local clock, and the time that detection packet is arrived this node is recorded in " n intermediate node the reverse time of advent " field of detection packet storage organization;
Step 9 when new detection packet is left n intermediate node, is a benchmark with this node local clock, and the time of detection packet being left this node is recorded in " n the reverse time departure of intermediate node " field of detection packet storage organization;
Step 10 when new detection packet turns back to source node, is a benchmark with the source node local clock, and the time that detection packet is arrived destination node is recorded in " source node return time " field of detection packet storage organization;
Step 11; " the source node forward transmitting time " that writes down in according to new detection packet storage organization at source node, " n intermediate node forward the time of advent ", " n intermediate node forward time departure ", " destination node forward time of reception ", " n intermediate node the reverse time of advent ", " n the reverse time departure of intermediate node ", " the reverse time of reception of source node ", utilize following formula to calculate the end-to-end data transmission time delay between source node and destination node:
End-to-end trip path propagation delay time=(the reverse time of reception of source node-source node forward transmitting time)-∑ (n intermediate node forward time departure-n intermediate node forward the time of advent)-(the reverse transmitting time of destination node-destination node forward time of reception)-∑ (n the reverse time departure of intermediate node-a n intermediate node the reverse time of advent)
End-to-end path propagation delay time=end-to-end trip path propagation delay time/2
End-to-end node processing time delay=∑ (n intermediate node forward time departure-n intermediate node forward the time of advent)
End-to-end data transmission time delay=end-to-end path propagation delay time+end-to-end node processing time delay
A kind of method for measuring end-to-end data transmission time delay in the self-apperceiving optical network of the present invention has the following advantages and effect: the problem that has solved link transmission property parameter measurement in the optical-fiber network; As one of prerequisite of optical-fiber network intelligent optimization, for the realization of intelligent self-apperceiving optical network is laid a good foundation.
Above the light parallel transmission method towards grid application of the present invention has been carried out detailed explanation, but concrete way of realization of the present invention is not limited thereto.For the those skilled in the art in present technique field, the various conspicuous change of under the situation of spirit that does not deviate from the method for the invention and claim scope, it being carried out is all within protection scope of the present invention.