+

WO2007033555A1 - Method, device and system for obtaining link performance parameter - Google Patents

Method, device and system for obtaining link performance parameter Download PDF

Info

Publication number
WO2007033555A1
WO2007033555A1 PCT/CN2006/001765 CN2006001765W WO2007033555A1 WO 2007033555 A1 WO2007033555 A1 WO 2007033555A1 CN 2006001765 W CN2006001765 W CN 2006001765W WO 2007033555 A1 WO2007033555 A1 WO 2007033555A1
Authority
WO
WIPO (PCT)
Prior art keywords
time
message
packet
node
sending
Prior art date
Application number
PCT/CN2006/001765
Other languages
French (fr)
Chinese (zh)
Inventor
Jian Li
You Gao
Original Assignee
Huawei Technologies 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 Huawei Technologies Co., Ltd. filed Critical Huawei Technologies Co., Ltd.
Publication of WO2007033555A1 publication Critical patent/WO2007033555A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0876Network utilisation, e.g. volume of load or congestion level
    • H04L43/0888Throughput

Definitions

  • the present invention relates to the field of network communication technologies, and in particular, to a method, device and system for obtaining performance parameters of a communication link. Background of the invention
  • Transmission delay, jitter, and packet loss rate are important communication link performance parameters for the management and maintenance of communication links.
  • the method for measuring the transmission delay and the jitter in the prior art is: sending, by the measuring end node, a request message to the opposite end node of the link to be measured, and recording the time at which the request message is sent as the sending time; After receiving the request message, the corresponding response message is sent to the measurement end node; when the measurement end node receives the response message sent back by the opposite end node, the time at which the response message is received is recorded as the reception time. Then, the measuring end node determines the difference between the receiving time and the sending time as the transmission delay of the message communication link, and determines the jitter of the message communication link according to the multiple transmission delays.
  • the difference between the receiving time and the sending time includes the processing time of the request message by the opposite node of the link to be measured.
  • the processing time of the packet by the peer node is larger than that of the link, which results in inaccurate measurement of link performance parameters such as transmission delay and jitter of the communication link.
  • the present invention provides a method for obtaining performance parameters of a communication link, which improves the accuracy of measurement of performance parameters of a communication link.
  • the present invention also provides an apparatus for obtaining performance parameters of a communication link, which improves the accuracy of measurement of performance parameters of a communication link.
  • the present invention also provides a system for obtaining communication link performance parameters, which improves the accuracy of measurement of communication link performance parameters.
  • a method for obtaining link performance parameters includes the following steps:
  • the sending node sends a request message to the opposite node of the link to be measured
  • the peer node determines that the received packet is the request packet, and returns a response packet carrying the time information to the sending node, where the time information includes the time of receiving the request message as the first receiving time, and The time at which the response message is transmitted at the second transmission time;
  • the sending node determines that the received packet is the response packet, and calculates the processing time of the peer node according to the time information carried in the response packet;
  • the sending node calculates the link performance parameter according to the time at which the request message is sent, the time at which the response message is received, and the processing time.
  • the calculating, by the sending node, the processing time of the peer node according to the time information carried in the response packet includes:
  • the sending node extracts the first receiving time and the second sending time from the response message; the sending node uses the absolute value of the difference between the first receiving time and the second sending time as the processing time of the opposite node.
  • the sending node sends a request message to the opposite end node of the link to be measured: the sending node carries the sending time of the request message as the first sending time in the request message and sends the request message to the opposite node;
  • the method further includes: when the opposite node returns a response message carrying the time information to the sending node:
  • the first sending moment that is extracted from the request packet is carried in the response packet, and the sending node calculates the link performance parameter according to the time of sending the request packet, the time of receiving the response packet, and the processing time, including: The sending node records the time when the response message is received as the second receiving time;
  • the transmitting node calculates the absolute value of the difference between the first transmission time and the second reception time, and then subtracts the processing time from the obtained absolute value, and the result is the instantaneous transmission delay of the self to the opposite node.
  • the method further includes: when the peer node returns a response packet carrying the time information to the sending node:
  • the peer node generates check information according to the first receiving time and the second sending time, and carries the obtained check information in the response message;
  • the method further includes: after the sending node receives the response message:
  • the sending node checks whether the first receiving time and the second sending time match the check information. If yes, the processing time of the opposite node is calculated according to the time information carried in the response message, otherwise the response is discarded. The message ends and the current process ends.
  • the method further includes: when the sending node sends the request packet to the opposite node of the link to be measured:
  • the sending node generates the check information according to the first sending time, and carries the check information in the request message.
  • the method further includes: after receiving the request message by the peer node:
  • the peer node checks whether the first sending moment matches the check information, and if yes, returns a response packet carrying the time information to the sending node, otherwise discards the request message and ends the current process.
  • the method further includes: when the peer node returns a response packet carrying the time information to the sending node:
  • the peer node generates the verification information according to the first sending time, the first receiving time, and the second sending time, and carries the obtained verification information in the response message;
  • the method further includes: after the sending node receives the response message:
  • the first identifier indicating the packet type is the request packet
  • the second identifier indicating that the packet type is the response packet, where the sending node sends a request to the opposite node of the link to be measured.
  • the message further includes:
  • the sending node carries the first identifier in the request packet
  • the peer node determines that the received packet is the request packet:
  • the peer node determines, according to the first identifier in the received packet, that the received packet is the request packet;
  • the method further includes: when the opposite node returns a response message carrying the time information to the sending node:
  • the peer node carries the second identifier in the response packet
  • the sending node determines that the received packet is the response packet:
  • the sending node determines, according to the second identifier in the received packet, that the received packet is the response message.
  • the setting indicates that the packet type is an identifier for measuring a link performance parameter, and sets a special value indicating that the packet type is the request packet, where the sending node sends a request to the opposite node of the link to be measured.
  • the message further includes:
  • the sending node carries the identifier and the special value in the request packet
  • the peer node determines that the received packet is the request packet:
  • the peer node determines, according to the identifier and the special value in the received packet, that the received packet is the request packet;
  • the method further includes: when the opposite node returns a response message carrying the time information to the sending node:
  • the peer node carries the identifier in the response >text;
  • the sending node determines that the received packet is the response packet: the sending node determines, according to the identifier in the received packet, that the received packet is the response packet.
  • the sending node and the peer node are resilient packet ring RPR nodes, and the request message and the response message are operations, management, and maintenance OMA messages.
  • a transmitting device for obtaining a link performance parameter comprising: a communication interface module for transmitting a request message and receiving a response message carrying time information, the device further comprising:
  • a request message generating module configured to generate a request message, and send the message through the communication interface module
  • the identification module is configured to determine, according to the identifier in the packet received by the communication interface module, the packet type as a response packet, and send the response packet to the link performance parameter calculation module; the link performance parameter calculation module, Calculating link performance parameters according to the time information carried in the response message.
  • the request message generating module is further configured to acquire a time at which the request message is sent and carry the message in the request message;
  • the identifying module is further configured to acquire a time at which the response message is received;
  • the link performance parameter calculation module includes a transient transmission delay calculation sub-module, configured to calculate a link according to a time when the request message is sent, a time when the request message is received, a time when the response message is sent, and a time when the response message is received. Instantaneous transmission delay.
  • the request packet generating module is further configured to carry an identifier indicating that the packet type is the request packet in the request packet.
  • the request message generating module is further configured to generate check information according to a time when the request message is sent, and carry the check information in the request message.
  • the sending message further includes: according to the time when the request message is sent, the time when the request message is received, and the check information generated by the time when the response message is sent, the sending device further includes:
  • a verification module configured to check whether the verification information in the response packet sent to the link performance parameter calculation module is the time of sending the request message and the time of receiving the request message The time at which the response packet is sent is matched. If the match is sent, the response packet is sent to the link performance parameter calculation module, otherwise the response packet is discarded.
  • the transmitting device is an elastic packet ring RPR node.
  • a peer device for obtaining a link performance parameter comprising: a communication interface module for receiving a request message, and sending a response message, the device further comprising:
  • the identification module is configured to determine, according to the identifier in the message received by the communication interface module, the message type as the request message, record the time when the request message is received, and send the request message to the response message generating module;
  • the response message generating module is configured to carry the time when the request message is received and the time when the response message is sent in the response message, and send the message through the communication interface module.
  • the response message generating module is further configured to generate verification information according to the time when the request message is received and the time when the response message is sent, and carry the verification information in the response message.
  • the response packet generating module is further configured to carry the identifier indicating that the packet type is the response packet in the response packet.
  • the request message carries a time when the request message is sent, and the response message generating module is further configured to carry the time of sending the request message in the response message.
  • the response message generating module is further configured to generate verification information according to the time when the request message is sent, the time when the request message is received, and the time when the response message is sent, and the verification information is carried in the response message.
  • the request message further carries the check information generated according to the time when the request message is sent, and the peer device further includes:
  • a check module configured to check whether the check information in the request message sent to the response message generating module matches the time of sending the request message carried in the request message, and if yes, the response is The packet is sent to the response packet generation module, otherwise the request packet is discarded.
  • the peer device is an elastic packet ring RPR node.
  • a system for obtaining a link performance parameter comprising: a transmitting device and a peer device, wherein the transmitting device includes a transmitting device communication interface module for transmitting a request message and receiving a response message carrying time information, and further comprising:
  • a request message generating module configured to generate a request message, and send the message through the sending device communication interface module
  • the identification module is configured to determine, according to the identifier in the message received by the communication interface module of the sending device, the message type as a response message, and send the response message to the link performance parameter calculation module;
  • a link performance parameter calculation module configured to calculate a link performance parameter according to time information carried in the response packet
  • the peer device includes a peer device communication interface module, configured to receive a request message, and send a response message, and further includes:
  • the identification module is configured to determine, according to the identifier in the packet received by the communication device module of the peer device, the packet type as the request packet, record the time when the request packet is received, and send the request packet to the response packet. Generating a module;
  • the response message generating module is configured to carry the time when the request message is received and the time when the response message is sent in the response message, and send the message through the peer device communication interface module.
  • the present invention determines link performance parameters such as transmission.
  • link performance parameters such as transmission.
  • delay and jitter the processing time of the packet by the peer node of the link is fully considered.
  • the peer node carries the receiving time of the receiving request message and the sending time of the sending response message in the response message, so that the sending node can conveniently determine the processing time of the packet by the peer node, and then in the computing chain.
  • the road time delay takes into account the processing time.
  • the technical solution of the present invention improves the accuracy of link performance parameter measurement.
  • Embodiment 1 is a network structure diagram of Embodiment 1 of a method for obtaining a communication link performance parameter provided by the present invention
  • Embodiment 2 is a flow chart of Embodiment 1 of a method for obtaining a communication link performance parameter according to the present invention
  • 3(a) and 3(b) are block diagrams of apparatus for obtaining communication link performance parameters provided by the present invention. Mode for carrying out the invention
  • the core of the present invention is:
  • the sending node sends a request message to the opposite node of the link to be measured and records the sending time, and the time at which the peer node receives the request message and the time at which the response message is sent are carried in the response message.
  • Sending to the sending node the sending node records the time when the response message is received, and then determines the link performance parameter according to the above moments.
  • the sending node of the present invention When transmitting the request message, the sending node of the present invention carries the first sending time of the sending request message in the request message; when the peer node of the link to be measured receives the request message, it will receive the request message.
  • the first receiving time, the second sending time of the response message corresponding to the received request message, and the first sending time of the received request message are carried on In the response packet, returning to the sending node; when receiving the response message, the sending node records the second receiving time of receiving the response message, and obtains the corresponding first sending time from the information carried by the response message, The first receiving time and the second sending time.
  • the sending node may not carry the first sending time when transmitting the request message, but carry a unique message identifier, and correspondingly match the message identifier with the first sending time.
  • the relationship is saved; when the peer node receives the request message, it will receive the first receiving time of the request message, send the second sending time of the response message corresponding to the received request message, and receive the received message.
  • the packet identifier in the request packet is carried in the response packet and is returned to the sending node.
  • the sending node records the second receiving moment of receiving the response packet, and the slave packet carries the response packet.
  • the corresponding first receiving time and the second sending time are obtained in the information, and the first sending time is determined according to the correspondence between the saved message representation and the first sending time.
  • the absolute value of the difference between the second transmission time and the first reception time is the processing time of the requesting message and the response message by the opposite end node. In this way, the absolute value of the difference between the second receiving moment of the transmitting node and the first sending moment is subtracted from the processing time of the opposite node, and the absolute value of the obtained difference is the instant of the sending node to the opposite node. Transmission delay.
  • the sending node continuously sends the request message. If the request message is sent according to the predetermined period, multiple response messages are received one after another. Multiple instantaneous transmission delays can be obtained by using the above method, and the average of multiple instantaneous transmission delays is adopted. The value of the method can determine the transmission delay of the link.
  • the difference between the two instantaneous transmission delays that are successively obtained is the instantaneous jitter of the link, and the jitter of the communication link can be determined by using the average of multiple instantaneous jitters.
  • the present invention adds check information such as a checksum to the request message, and/or the response message.
  • the verification information verifies each time information in the message. In this way, if the request message carries the check information, the peer node determines that the received message is received according to the check information. When the time information carried in the message is incorrect, the response message corresponding to the received request message may not be sent. If the response message carries the check information, the sending node does not determine the link information in the response packet when the time information carried in the response packet is incorrect according to the check information. The basis of the parameters.
  • the request message of the present invention, and/or the response message may also carry preset identification information, which is used to indicate that the purpose of the message is to measure link performance parameters, so as to facilitate receiving the node of the message.
  • the packet is identified, and the corresponding processing process is performed.
  • the identifier information of the request packet may be the same as or different from the identifier information of the response packet.
  • the identification information of the foregoing packet can be implemented by setting a signature field in the packet, or by extending the packet type of the packet.
  • the sending node in the present invention may also determine the packet loss rate of the message communication link according to the number of request messages sent by the sending node and the number of received response messages.
  • Embodiment 1 is a network structure diagram of Embodiment 1 of a method for obtaining a communication link performance parameter according to the present invention.
  • the topological structure of the RPR ring network is a reciprocal double-loop structure. Each optical path on the ring works at the same rate.
  • Two sub-rings in the RPR ring network can be transmitted. These two sub-rings are respectively called Outer ring and inner ring. The outer ring is transported clockwise and the inner ring is counterclockwise.
  • FIG. 2 is a flowchart of Embodiment 1 of a method for obtaining a communication link performance parameter according to the present invention.
  • the operation, management, and maintenance (OAM, Operations, Administration, and Maintenance) of the RPR protocol is used to implement the RPR.
  • the object of the present invention can be achieved by extending the Echo message of the OAM.
  • Feature code eq_Time(A) Req_Time(B) Rsp_Time(B) Check information Table 1 where each field is 4 bytes in length.
  • the feature code in the table-- is mainly used to distinguish the currently existing Echo message from the Echo message used to measure the link performance parameter in this embodiment.
  • Req_Time(A) is used to carry the sending moment of the Echo packet sent by the sending node, that is, the first sending time;
  • Req_Time(B) is used to carry the first receiving moment of the Echo packet received by the peer node;
  • Rsp_Time(B) The sending moment at which the Echo packet is sent by the opposite end node, that is, the second sending moment.
  • the check information is mainly used to check the time information carried in the Echo message, such as accumulating or performing CRC operations on the Req_Time(A), Req_Time(B), and Rsp_Time(B) fields, and verifying the information. It can guarantee the accuracy of the time information in the Echo message.
  • Step 201 The sending node sends an Echo packet.
  • the sending node carries the current time as the first sending time in Req_Time(A) of the Echo message.
  • the sending node also sets the signature and verification information in the Echo packet accordingly.
  • the feature code of the Echo message sent by the sending node is different from the feature code of the Echo message sent by the peer node, and is a first feature code and a second feature code, respectively.
  • the Echo packet sent by the sending node can be called a request packet.
  • the sending node may send Echo packets to all the nodes except the local node on the RPR ring, so as to obtain link performance parameters such as transmission delay and jitter of all nodes except the local node on the RPR ring.
  • Step 202 The peer node receives the Echo packet.
  • the peer node When receiving the Echo message, the peer node records the current time as the first receiving time, and determines that the received message is on the network except itself according to the feature code of the received message. Request message sent by other nodes for measuring link performance parameters. The peer node also records the subring of the received Echo packet.
  • Step 203 The peer node checks the time information carried in the Echo packet according to the check information in the Echo packet. If the check is correct, go to step 204. Otherwise, discard the received Echo packet and end the current. Process.
  • Step 204 The peer node returns the Echo packet to the sending node.
  • the peer node carries the first receiving time recorded in step 202 in the Req_Time (B) field of the received Echo message; and when the Echo message is returned to the sending node, the current time is sent as the second sending.
  • the time is carried in Rsp_Time(B); at the same time, the check information in the Echo message is reset according to Req_Time(A), Req_Time(B) and Rsp_Time(B); the peer node is set and the sent Echo is set.
  • the feature code of the message is the second feature code.
  • the Echo packet sent by the peer node can be called a response packet.
  • the peer node returns Echo in the RPR ring network on another subring different from the subring recorded in step 202.
  • Step 205 The sending node receives the Echo packet, records the current time, and determines, according to the feature code of the received packet, that the received packet is an Echo packet sent by the sending node to measure the link performance parameter. Response message.
  • the transmitting node takes the recorded time as the second receiving time Rsp_Time(A).
  • the sending node verifies the time information carried in the Echo packet according to the check information in the Echo packet, and obtains Req_Time(A), Req_Time(B), and Rsp_Time from the Echo packet when determining that the check is correct. B)
  • Step 206 The sending node calculates, according to the received and recorded time information, from itself to the pair. The instantaneous transmission delay of the terminal.
  • the instantaneous transmission delay represents an instantaneous transmission delay of a link from a transmitting node to a correspondent node to a transmitting node, and the calculation formula is:
  • the sending node can receive it according to The source address in the Echo message determines which node is instantaneously transmitted to the network based on the above formula.
  • the transmitting node can obtain multiple instantaneous transmission delays according to the above method, and the average value of the multiple instantaneous transmission delays can be used as the transmission delay of the link from the transmitting node to the opposite node to the transmitting node.
  • the difference between the two instantaneous transmission delays obtained in sequence is the instantaneous jitter of the link from the transmitting node to the opposite node to the transmitting node, and the average value of the multiple instantaneous jitters can be used as the sending node to the opposite node.
  • the jitter of the link of the sending node is the instantaneous jitter of the link from the transmitting node to the opposite node to the transmitting node.
  • the sending node may count the number of request messages sent to the specific peer node within a certain period of time; in step 205, the sending node may count that the check received from the specific peer node is correct. The number of response messages; the sending node determines the difference between the number of transmissions and the number of received, and compares the ratio of the difference to the number of transmissions as the link from the transmitting node to the opposite node to the transmitting node during this time. Packet loss rate.
  • step 203 when the peer node checks the time information carried in the request message according to the check information in the request message, if the check is incorrect, the received request message is discarded. At this time, the sending node does not receive the response message from the correspondent node. However, the transmitting node calculates the transmission delay and jitter according to the time information carried in the response packet after receiving the response packet. Therefore, the sending node does not need to care whether the peer node discards the request packet. .
  • the sending node calculates the packet loss rate, it is based on the data.
  • the number of packets sent in a period of time and the number of response packets received and verified correctly are calculated. Therefore, the sending node does not need to care whether the peer node discards the request. The situation of the message.
  • the transmitting node After receiving the response packet, the transmitting node discards the response packet if it finds that the calculated instantaneous transmission delay exceeds the maximum transmission delay.
  • the transmitting node needs to send a series of request messages to the opposite node. After the last request message in the series of request messages is sent to the peer node, it needs to wait for a period of time for statistics and calculation. This wait time can be set according to the maximum transmission delay.
  • the signatures of the request message and the response message are different.
  • the signature of the request message and the response message can be made the same.
  • the sending node sets Req_Time(B), and/or Rsp_Time(B) in the packet to a special value set in advance, for example, the value of all the binary bits is 1.
  • the node distinguishes whether the received Echo packet type is a request packet or a response packet according to whether the Req_Time(B), and/or Rsp_Time(B) is a preset special value. .
  • the format of the request message and the response message are the same.
  • the message format of the request message and the response message may be different.
  • the request message does not set Req_Time (B) and Rsp_Time (B), and only the response message sets the two data fields.
  • the node can determine whether the received Echo packet is a request packet or a response packet according to whether the two data fields are set.
  • FIG. 3 is a block diagram of an apparatus for obtaining performance parameters of a communication link provided by the present invention.
  • Fig. 3(a) is a block diagram of the transmitting node
  • Fig. 3(b) is a block diagram of the opposite node.
  • the sending node shown in Figure 3 (a) includes a request message generating module, a communication interface module, Identification module, verification module, packet loss rate calculation module, transmission delay and jitter calculation module.
  • the request message generating module is configured to generate a request message, and notify the packet loss rate calculation module to perform counting.
  • the generating the request message includes the first sending time of the sending request message and the feature code and the check information of the setting request message in the request message. If the request message and the response message have the same format and use the same feature code, the request message generation module further needs to set the first receiving time in the request message, and/or the second sending time is a preset special value.
  • the communication interface module is configured to send a request message generated by the request message generating module, receive the response message, and send the response message to the identification module for processing.
  • An identification module configured to determine that the received message is the response message, and record the time when the response message is received; then send the response message to the verification module; and calculate the module according to the transmission delay and jitter The request, to which the recorded time of receipt of the response message is sent.
  • the verification module is configured to check the response packet according to the verification information in the response packet sent by the identification module, and if the verification succeeds, send the response packet to the transmission delay and jitter calculation module, and notify the lost The packet rate calculation module counts, otherwise the response message is discarded. This module is optional.
  • the link performance parameter calculation module includes a transient transmission delay calculation submodule, a transmission delay calculation submodule, and a jitter calculation submodule.
  • the instantaneous transmission delay calculation sub-module is configured to: when receiving the response message sent by the verification module, acquire the time at which the response message is received from the identification module, and the time information carried in the response message The instantaneous transmission delay is calculated together.
  • the transmission delay calculation sub-module and the jitter calculation sub-module are used to calculate transmission delay and jitter according to a plurality of instantaneous transmission delays obtained by the instantaneous transmission delay calculation module, and the two sub-modules are optional.
  • the packet loss rate calculation module is configured to calculate a packet loss rate according to the request packet sending module and the check module, and calculate a packet loss rate according to the counting result. This module is optional.
  • the peer node shown in FIG. 3(b) includes a communication interface module, an identification module, a verification module, and a response message generation module.
  • a communication interface module configured to receive a request message and send it to the identification module for processing, and send a response message generated by the response message generating module
  • the identification module is configured to determine that the received message is the request message, and record the time when the request message is received; then send the request message to the verification module; and generate a request according to the response message , to which the recorded time of receipt of the request message is sent.
  • the verification module is configured to check the request message according to the verification information in the request message sent by the identification module, and send the request message to the response message generation module for processing if the verification is passed, otherwise discarding the Request a message.
  • the response message generating module is configured to generate a response message.
  • the generating the response message includes: carrying the second sending time of the sending response message in the response message, and carrying the time of receiving the request message obtained by the identifying module in the response message, and setting the feature of the response message Code and check information.

Landscapes

  • Engineering & Computer Science (AREA)
  • Environmental & Geological Engineering (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

A method for obtaining link performance parameter includes the sending node sending request message to the opposite terminal node of the link which is to be measured; the opposite terminal node identifying that said received message is said request message returning response message which is carrying time information to sending node the said time information includes the time at which receiving request message as the first reception time as well as the time at which sending response message as the second sending time; the sending node determining that the received message is the response message, counting processing time of opposite terminal node according to the time information carried in the response message the sending node counting link parameter performance according to the time of sending request message , the time of receiving response message as well as the said processing time. The present invention also includes sending node and opposite terminal node as well as the system for obtaining link parameter performance corresponding to the said method. Adopting the present invention's technology can improve measure accuracy to the communication link performance parameter.

Description

一种获取通信链路性能参数的方法、 装置和系统  Method, device and system for obtaining communication link performance parameters
技术领域 Technical field
本发明涉及网絡通讯技术领域, 具体涉及获取通信链路性能参数的 方法、 装置和系统。 发明背景  The present invention relates to the field of network communication technologies, and in particular, to a method, device and system for obtaining performance parameters of a communication link. Background of the invention
传输时延、 抖动和丟包率是重要的通信链路性能参数, 用于通信链 路的管理和维护。 现有技术测量传输时延和抖动的方法是: 由测量端节 点向待测量链路的对端节点发送一个请求报文, 并且记录发送请求报文 的时刻, 作为发送时刻; 所述对端节点接收到所述请求报文后, 将对应 的响应报文发送给测量端节点; 测量端节点接收到对端节点发回的响应 报文时, 记录收到响应报文的时刻, 作为接收时刻。 然后, 测量端节点 将接收时刻与发送时刻的差值确定为报文通信链路的传输时延, 并且根 据多个传输时延来确定报文通信链路的抖动。  Transmission delay, jitter, and packet loss rate are important communication link performance parameters for the management and maintenance of communication links. The method for measuring the transmission delay and the jitter in the prior art is: sending, by the measuring end node, a request message to the opposite end node of the link to be measured, and recording the time at which the request message is sent as the sending time; After receiving the request message, the corresponding response message is sent to the measurement end node; when the measurement end node receives the response message sent back by the opposite end node, the time at which the response message is received is recorded as the reception time. Then, the measuring end node determines the difference between the receiving time and the sending time as the transmission delay of the message communication link, and determines the jitter of the message communication link according to the multiple transmission delays.
在现有技术中, 接收时刻与发送时刻的差值包含了待测量链路的对 端节点对所述请求报文的处理时间。 在某些情况下, 对端节点对报文的 处理时间比链路的传输时延大, 从而导致对通信链路的传输时延、 抖动 等链路性能参数的测量不准确。 发明内容  In the prior art, the difference between the receiving time and the sending time includes the processing time of the request message by the opposite node of the link to be measured. In some cases, the processing time of the packet by the peer node is larger than that of the link, which results in inaccurate measurement of link performance parameters such as transmission delay and jitter of the communication link. Summary of the invention
有鉴于此, 本发明提供了一种获取通信链路性能参数的方法, 提高 了对通信链路性能参数测量的准确性。  In view of this, the present invention provides a method for obtaining performance parameters of a communication link, which improves the accuracy of measurement of performance parameters of a communication link.
本发明还提供了一种获取通信链路性能参数的装置, 提高了对通信 链路性能参数测量的准确性。 本发明还提供了一种获取通信链路性能参数的系统, 提高了对通信 链路性能参数测量的准确性。 The present invention also provides an apparatus for obtaining performance parameters of a communication link, which improves the accuracy of measurement of performance parameters of a communication link. The present invention also provides a system for obtaining communication link performance parameters, which improves the accuracy of measurement of communication link performance parameters.
本发明的具体技术方案如下:  The specific technical solutions of the present invention are as follows:
一种获取链路性能参数的方法, 包括以下步骤:  A method for obtaining link performance parameters includes the following steps:
发送节点向待测量链路的对端节点发送请求报文;  The sending node sends a request message to the opposite node of the link to be measured;
对端节点确定所收到的报文为所述请求报文, 向发送节点返回携带 时刻信息的响应报文, 所述时刻信息包括作为第一接收时刻的接收到请 求报文的时刻, 以及作为第二发送时刻的发送响应报文的时刻;  The peer node determines that the received packet is the request packet, and returns a response packet carrying the time information to the sending node, where the time information includes the time of receiving the request message as the first receiving time, and The time at which the response message is transmitted at the second transmission time;
发送节点确定所收到的报文为所述响应报文, 根据响应报文中携带 的时刻信息计算对端节点的处理时间;  The sending node determines that the received packet is the response packet, and calculates the processing time of the peer node according to the time information carried in the response packet;
发送节点根据发送请求报文的时刻、 接收响应报文的时刻以及所述 处理时间计算链路性能参数。  The sending node calculates the link performance parameter according to the time at which the request message is sent, the time at which the response message is received, and the processing time.
其中, 所述发送节点根据响应报文中携带的时刻信息计算对端节点 的处理时间包括:  The calculating, by the sending node, the processing time of the peer node according to the time information carried in the response packet includes:
发送节点从所述响应报文中提取第一接收时刻和第二发送时刻; 发送节点将所述第一接收时刻和第二发送时刻的差的绝对值作为对 端节点的处理时间。  The sending node extracts the first receiving time and the second sending time from the response message; the sending node uses the absolute value of the difference between the first receiving time and the second sending time as the processing time of the opposite node.
其中, 所述发送节点向待测量链路的对端节点发送请求报文为: 发送节点将请求报文的发送时刻作为第一发送时刻携带在所述请求 报文中发送至对端节点;  The sending node sends a request message to the opposite end node of the link to be measured: the sending node carries the sending time of the request message as the first sending time in the request message and sends the request message to the opposite node;
该方法在对端节点向发送节点返回携带时刻信息的响应报文时进一 步包括:  The method further includes: when the opposite node returns a response message carrying the time information to the sending node:
将从请求报文中提取的第一发送时刻携带在响应报文中; 所述发送节点根据发送请求报文的时刻、 接收响应报文的时刻以及 所述处理时间计算链路性能参数包括: 发送节点记录接收响应报文的时刻作为第二接收时刻; The first sending moment that is extracted from the request packet is carried in the response packet, and the sending node calculates the link performance parameter according to the time of sending the request packet, the time of receiving the response packet, and the processing time, including: The sending node records the time when the response message is received as the second receiving time;
发送节点计算第一发送时刻与第二接收时刻的差的绝对值, 然后从 所得到的绝对值中减去所述处理时间, 得到的结果为自身到对端节点的 瞬时传输时延。  The transmitting node calculates the absolute value of the difference between the first transmission time and the second reception time, and then subtracts the processing time from the obtained absolute value, and the result is the instantaneous transmission delay of the self to the opposite node.
其中, 该方法在对端节点向发送节点返回携带时刻信息的响应报文 时进一步包括:  The method further includes: when the peer node returns a response packet carrying the time information to the sending node:
对端节点根据第一接收时刻和第二发送时刻生成校验信息, 并将所 得到的校验信息携带在响应报文中;  The peer node generates check information according to the first receiving time and the second sending time, and carries the obtained check information in the response message;
该方法在发送节点收到响应 文后进一步包括:  The method further includes: after the sending node receives the response message:
发送节点检查所述第一接收时刻和第二发送时刻与所述校验信息是 否匹配, 如果匹配, 则根据响应报文中携带的时刻信息计算对端节点的 处理时间, 否则丟弃所述响应报文并结束当前流程。  The sending node checks whether the first receiving time and the second sending time match the check information. If yes, the processing time of the opposite node is calculated according to the time information carried in the response message, otherwise the response is discarded. The message ends and the current process ends.
其中, 该方法在发送节点向待测量链路的对端节点发送请求报文时 进一步包括:  The method further includes: when the sending node sends the request packet to the opposite node of the link to be measured:
发送节点根据第一发送时刻生成校验信息, 并携带在请求报文中; 该方法在对端节点收到请求报文后进一步包括:  The sending node generates the check information according to the first sending time, and carries the check information in the request message. The method further includes: after receiving the request message by the peer node:
对端节点检查所述第一发送时刻与所述校验信息是否匹配, 如果匹 配, 则向发送节点返回携带时刻信息的响应报文, 否则丢弃所述请求报 文并结束当前流程。  The peer node checks whether the first sending moment matches the check information, and if yes, returns a response packet carrying the time information to the sending node, otherwise discards the request message and ends the current process.
其中, 该方法在对端节点向发送节点返回携带时刻信息的响应报文 时进一步包括:  The method further includes: when the peer node returns a response packet carrying the time information to the sending node:
对端节点根据第一发送时刻、 第一接收时刻和第二发送时刻生成校 验信息, 并将所得到的校验信息携带在响应报文中;  The peer node generates the verification information according to the first sending time, the first receiving time, and the second sending time, and carries the obtained verification information in the response message;
该方法在发送节点收到响应报文后进一步包括:  The method further includes: after the sending node receives the response message:
检查所述第一发送时刻、 第一接收时刻和第二发送时刻与所述校验 信息是否匹配, 如果匹配, 则根据响应报文中携带的时刻信息计算对端 节点的处理时间, 否则丢弃所述响应报文并结束当前流程。 Checking the first sending moment, the first receiving moment, and the second sending moment with the check If the information matches, the processing time of the peer node is calculated according to the time information carried in the response packet, otherwise the response packet is discarded and the current process is ended.
其中, 设置表示报文类型为所述请求报文的第一标识, 以及表示报 文类型为所述响应报文的第二标识, 该方法在发送节点向待测量链路的 对端节点发送请求报文时进一步包括:  The first identifier indicating the packet type is the request packet, and the second identifier indicating that the packet type is the response packet, where the sending node sends a request to the opposite node of the link to be measured. The message further includes:
发送节点在请求报文中携带所述第一标识;  The sending node carries the first identifier in the request packet;
则所述对端节点确定所收到的报文为所述请求报文为:  Then, the peer node determines that the received packet is the request packet:
对端节点根据所收到的报文中的第一标识确定所收到的报文为所述 请求报文;  The peer node determines, according to the first identifier in the received packet, that the received packet is the request packet;
该方法在对端节点向发送节点返回携带时刻信息的响应报文时进一 步包括:  The method further includes: when the opposite node returns a response message carrying the time information to the sending node:
对端节点在响应报文中携带所述第二标识;  The peer node carries the second identifier in the response packet;
所述发送节点确定所收到的报文为所述响应报文为:  The sending node determines that the received packet is the response packet:
发送节点根据所收到的报文中的第二标识确定所收到的报文为所述 响应 ^艮文。  The sending node determines, according to the second identifier in the received packet, that the received packet is the response message.
其中, 设置表示报文类型为用于测量链路性能参数的标识, 并设置 表示报文类型为所述请求报文的特殊值, 该方法在发送节点向待测量链 路的对端节点发送请求报文时进一步包括:  The setting indicates that the packet type is an identifier for measuring a link performance parameter, and sets a special value indicating that the packet type is the request packet, where the sending node sends a request to the opposite node of the link to be measured. The message further includes:
发送节点在请求报文中携带所述标识和所述特殊值;  The sending node carries the identifier and the special value in the request packet;
所述对端节点确定所收到的报文为所述请求报文为:  The peer node determines that the received packet is the request packet:
对端节点根据所收到的报文中的标识和特殊值确定所收到的报文为 所述请求报文;  The peer node determines, according to the identifier and the special value in the received packet, that the received packet is the request packet;
该方法在对端节点向发送节点返回携带时刻信息的响应报文时进一 步包括:  The method further includes: when the opposite node returns a response message carrying the time information to the sending node:
对端节点在响应 > 文中携带所述标识; 所述发送节点确定所收到的报文为所述响应报文为: 发送节点根据所收到的报文中的标识确定所收到的报文为所述响应 报文。 The peer node carries the identifier in the response >text; The sending node determines that the received packet is the response packet: the sending node determines, according to the identifier in the received packet, that the received packet is the response packet.
其中, 所述发送节点和对端节点是弹性分组环 RPR节点, 所述请求 报文和响应报文是运行、 管理和维护 OMA报文。  The sending node and the peer node are resilient packet ring RPR nodes, and the request message and the response message are operations, management, and maintenance OMA messages.
一种获取链路性能参数的发送装置 , 包括用于发送请求报文和接收 携带时刻信息的响应报文的通信接口模块, 该装置进一步包括:  A transmitting device for obtaining a link performance parameter, comprising: a communication interface module for transmitting a request message and receiving a response message carrying time information, the device further comprising:
请求报文生成模块, 用于生成请求报文, 并通过通信接口模块进行 发送;  a request message generating module, configured to generate a request message, and send the message through the communication interface module;
识别模块, 用于根据通信接口模块所接收到的报文中的标识判断报 文类型为响应报文, 并将响应报文发送给链路性能参数计算模块; 链路性能参数计算模块, 用于根据所述响应报文中携带的时刻信息 计算链路性能参数。  The identification module is configured to determine, according to the identifier in the packet received by the communication interface module, the packet type as a response packet, and send the response packet to the link performance parameter calculation module; the link performance parameter calculation module, Calculating link performance parameters according to the time information carried in the response message.
其中, 所述请求报文生成模块进一步用于获取发送请求报文的时刻 并携带在请求 4艮文中;  The request message generating module is further configured to acquire a time at which the request message is sent and carry the message in the request message;
所述响应报文中携带所述发送请求报文的时刻, 以及待测量链路的 对端节点接收请求报文的时刻和发送响应报文的时刻;  a time at which the response packet carries the packet, and a time at which the peer node of the link to be measured receives the request packet and a time at which the response packet is sent;
所述识别模块进一步用于获取接收响应报文的时刻;  The identifying module is further configured to acquire a time at which the response message is received;
所述链路性能参数计算模块包括瞬时传输时延计算子模块, 用于根 据发送请求报文的时刻、 接收请求报文的时刻、 发送响应报文的时刻和 接收响应报文的时刻计算链路的瞬时传输时延。  The link performance parameter calculation module includes a transient transmission delay calculation sub-module, configured to calculate a link according to a time when the request message is sent, a time when the request message is received, a time when the response message is sent, and a time when the response message is received. Instantaneous transmission delay.
其中, 所述请求报文生成模块进一步用于将表示报文类型为所述请 求报文的标识携带在所述请求报文中。  The request packet generating module is further configured to carry an identifier indicating that the packet type is the request packet in the request packet.
其中, 所述请求艮文生成模块进一步用于根据发送请求报文的时刻 生成校验信息, 并将校验信息携带在请求报文中。 其中, 所述响应报文进一步携带根据发送请求报文的时刻, 接收请 求报文的时刻和发送响应报文的时刻生成的校验信息, 所述发送装置进 一步包括: The request message generating module is further configured to generate check information according to a time when the request message is sent, and carry the check information in the request message. The sending message further includes: according to the time when the request message is sent, the time when the request message is received, and the check information generated by the time when the response message is sent, the sending device further includes:
校验模块, 用于检查发送给链路性能参数计算模块的响应报文中的 校验信息, 是否与所述响应报文中所携带的发送请求报文的时刻, 接收 请求报文的时刻和发送响应报文的时刻匹配, 如果匹配则将所述响应报 文发送给链路性能参数计算模块, 否则丟弃所述响应报文。  a verification module, configured to check whether the verification information in the response packet sent to the link performance parameter calculation module is the time of sending the request message and the time of receiving the request message The time at which the response packet is sent is matched. If the match is sent, the response packet is sent to the link performance parameter calculation module, otherwise the response packet is discarded.
其中, 该发送装置是弹性分组环 RPR节点。  The transmitting device is an elastic packet ring RPR node.
一种获取链路性能参数的对端装置, 包括用于接收请求报文, 以及 发送响应报文的通信接口模块, 该装置进一步包括:  A peer device for obtaining a link performance parameter, comprising: a communication interface module for receiving a request message, and sending a response message, the device further comprising:
识别模块, 用于根据通信接口模块所接收到的报文中的标识判断报 文类型为请求报文, 并记录收到请求报文的时刻, 以及将请求报文发送 给响应报文生成模块;  The identification module is configured to determine, according to the identifier in the message received by the communication interface module, the message type as the request message, record the time when the request message is received, and send the request message to the response message generating module;
响应报文生成模块, 用于将收到请求报文的时刻和发送响应报文的 时刻携带在响应报文中, 通过通信接口模块进行发送。  The response message generating module is configured to carry the time when the request message is received and the time when the response message is sent in the response message, and send the message through the communication interface module.
其中, 所述响应报文生成模块进一步用于根据收到请求报文的时刻 和发送响应报文的时刻生成校验信息, 并将校验信息携带在响应报文 中。  The response message generating module is further configured to generate verification information according to the time when the request message is received and the time when the response message is sent, and carry the verification information in the response message.
其中, 所述响应报文生成模块进一步用于将表示报文类型为所述响 应报文的标识携带在所述响应报文中。  The response packet generating module is further configured to carry the identifier indicating that the packet type is the response packet in the response packet.
其中, 所述请求报文携带发送请求报文的时刻, 所述响应报文生成 模块进一步用于将所述发送请求报文的时刻携带在响应报文中。  The request message carries a time when the request message is sent, and the response message generating module is further configured to carry the time of sending the request message in the response message.
其中,所述响应报文生成模块进一步用于根据发送请求报文的时刻、 收到请求报文的时刻和发送响应报文的时刻生成校验信息, 并将校验信 息携带在响应报文中。 其中, 所述请求报文进一步携带根据发送倚求报文的时刻生成的校 验信息, 所述对端装置进一步包括: The response message generating module is further configured to generate verification information according to the time when the request message is sent, the time when the request message is received, and the time when the response message is sent, and the verification information is carried in the response message. . The request message further carries the check information generated according to the time when the request message is sent, and the peer device further includes:
校验模块, 用于检查发送给响应报文生成模块的请求报文中的校验 信息, 是否与所述请求报文中所携带的发送请求报文的时刻匹配, 如果 匹配则将所述响应报文发送给响应报文生成模块, 否则丢弃所述请求报 文。  a check module, configured to check whether the check information in the request message sent to the response message generating module matches the time of sending the request message carried in the request message, and if yes, the response is The packet is sent to the response packet generation module, otherwise the request packet is discarded.
其中, 该对端装置是弹性分组环 RPR节点。  The peer device is an elastic packet ring RPR node.
一种获取链路性能参数的系统, 包括发送装置和对端装置, 所述发 送装置包括用于发送请求报文和接收携带时刻信息的响应报文的发送 装置通信接口模块, 进一步包括:  A system for obtaining a link performance parameter, comprising: a transmitting device and a peer device, wherein the transmitting device includes a transmitting device communication interface module for transmitting a request message and receiving a response message carrying time information, and further comprising:
请求报文生成模块, 用于生成请求报文, 并通过发送装置通信接口 模块进行发送;  a request message generating module, configured to generate a request message, and send the message through the sending device communication interface module;
识别模块, 用于根据发送装置通信接口模块所接收到的报文中的标 识判断报文类型为响应报文, 并将响应报文发送给链路性能参数计算模 块;  The identification module is configured to determine, according to the identifier in the message received by the communication interface module of the sending device, the message type as a response message, and send the response message to the link performance parameter calculation module;
链路性能参数计算模块, 用于根据所述响应报文中携带的时刻信息 计算链路性能参数;  a link performance parameter calculation module, configured to calculate a link performance parameter according to time information carried in the response packet;
所述对端装置包括用于接收请求报文, 以及发送响应报文的对端装 置通信接口模块, 进一步包括:  The peer device includes a peer device communication interface module, configured to receive a request message, and send a response message, and further includes:
识别模块, 用于根据对端装置通信接口模块所接收到的报文中的标 识判断报文类型为请求报文, 并记录收到请求报文的时刻, 以及将请求 报文发送给响应报文生成模块;  The identification module is configured to determine, according to the identifier in the packet received by the communication device module of the peer device, the packet type as the request packet, record the time when the request packet is received, and send the request packet to the response packet. Generating a module;
响应报文生成模块, 用于将收到请求报文的时刻和发送响应报文的 时刻携带在响应报文中, 通过对端装置通信接口模块进行发送。  The response message generating module is configured to carry the time when the request message is received and the time when the response message is sent in the response message, and send the message through the peer device communication interface module.
通过上述技术方案的描述可知, 本发明在确定链路性能参数如传输 时延、 抖动时, 充分考虑了链路的对端节点对报文的处理时间。 对端节 点通过将其接收请求报文的接收时刻以及发送响应报文的发送时刻承 载于响应报文中, 使发送节点能够方便的确定出对端节点对报文的处理 时间, 进而在计算链路时延时考虑到所述处理时间。 进一步, 通过在请 求报文和响应报文中设置校验信息, 避免了报文在传输过程中由于其它 因素使时刻信息异常,进而导致链路性能参数测量不准确的现象。 因此, 本发明的技术方案提高了链路性能参数测量的准确性。 附图简要说明 As can be seen from the description of the above technical solutions, the present invention determines link performance parameters such as transmission. When delay and jitter are used, the processing time of the packet by the peer node of the link is fully considered. The peer node carries the receiving time of the receiving request message and the sending time of the sending response message in the response message, so that the sending node can conveniently determine the processing time of the packet by the peer node, and then in the computing chain. The road time delay takes into account the processing time. Further, by setting the check information in the request packet and the response packet, the time information is abnormal due to other factors in the transmission process, and the link performance parameter measurement is inaccurate. Therefore, the technical solution of the present invention improves the accuracy of link performance parameter measurement. BRIEF DESCRIPTION OF THE DRAWINGS
图 1是本发明所提供的获取通信链路性能参数的方法实施例一的网 络结构图;  1 is a network structure diagram of Embodiment 1 of a method for obtaining a communication link performance parameter provided by the present invention;
图 2是本发明所提供的获取通信链路性能参数的方法实施例一的流 程图;  2 is a flow chart of Embodiment 1 of a method for obtaining a communication link performance parameter according to the present invention;
图 3 ( a )和图 3 ( b )是本发明所提供的获取通信链路性能参数的装 置方框图。 实施本发明的方式  3(a) and 3(b) are block diagrams of apparatus for obtaining communication link performance parameters provided by the present invention. Mode for carrying out the invention
本发明的核心是: 发送节点向待测量链路的对端节点发送请求报文 并记录发送时刻, 对端节点将收到请求报文的时刻和发送响应报文的时 刻携带在响应报文中发送给发送节点 , 发送节点记录收到响应报文的时 刻, 然后根据上述各时刻确定链路性能参数。  The core of the present invention is: The sending node sends a request message to the opposite node of the link to be measured and records the sending time, and the time at which the peer node receives the request message and the time at which the response message is sent are carried in the response message. Sending to the sending node, the sending node records the time when the response message is received, and then determines the link performance parameter according to the above moments.
本发明的发送节点在发送请求报文时, 将发送请求报文的第一发送 时刻承载于请求报文中; 待测量链路的对端节点在接收到请求报文时, 将接收请求报文的第一接收时刻、 发送与所收到的请求报文对应的响应 报文的第二发送时刻, 以及所收到的请求报文中的第一发送时刻承载于 响应报文中, 返回至发送节点; 发送节点在接收到响应报文时, 记录其 接收到响应报文的第二接收时刻, 并从响应报文承载的信息中获取相应 的第一发送时刻、 第一接收时刻和第二发送时刻。 When transmitting the request message, the sending node of the present invention carries the first sending time of the sending request message in the request message; when the peer node of the link to be measured receives the request message, it will receive the request message. The first receiving time, the second sending time of the response message corresponding to the received request message, and the first sending time of the received request message are carried on In the response packet, returning to the sending node; when receiving the response message, the sending node records the second receiving time of receiving the response message, and obtains the corresponding first sending time from the information carried by the response message, The first receiving time and the second sending time.
当然, 发送节点也可以在发送所述请求报文时, 不携带所述第一发 送时刻, 而是携带一个唯一的报文标识, 并且将所述报文标识和所述第 一发送时刻的对应关系保存起来; 对端节点在在接收到请求报文时, 将 接收请求报文的第一接收时刻、 发送与所收到的请求报文对应的响应报 文的第二发送时刻, 以及所收到的请求报文中的报文标识承载于响应报 文中, 返回至发送节点; 发送节点在接收到响应报文时, 记录其接收到 响应报文的第二接收时刻, 从响应报文承载的信息中获取相应的第一接 收时刻和第二发送时刻, 并且根据保存的报文表示和第一发送时刻的对 应关系确定第一发送时刻。  Of course, the sending node may not carry the first sending time when transmitting the request message, but carry a unique message identifier, and correspondingly match the message identifier with the first sending time. The relationship is saved; when the peer node receives the request message, it will receive the first receiving time of the request message, send the second sending time of the response message corresponding to the received request message, and receive the received message. The packet identifier in the request packet is carried in the response packet and is returned to the sending node. When receiving the response packet, the sending node records the second receiving moment of receiving the response packet, and the slave packet carries the response packet. The corresponding first receiving time and the second sending time are obtained in the information, and the first sending time is determined according to the correspondence between the saved message representation and the first sending time.
在第二发送时刻与第一接收时刻的差的绝对值即为对端节点对请求 报文和响应报文的处理时间。 这样, 发送节点的第二接收时刻与第一发 送时刻的差值的绝对值, 再减去所述对端节点的处理时间, 得到的差值 的绝对值即为发送节点到对端节点的瞬时传输时延。  The absolute value of the difference between the second transmission time and the first reception time is the processing time of the requesting message and the response message by the opposite end node. In this way, the absolute value of the difference between the second receiving moment of the transmitting node and the first sending moment is subtracted from the processing time of the opposite node, and the absolute value of the obtained difference is the instant of the sending node to the opposite node. Transmission delay.
发送节点持续发送请求报文, 如根据预定周期发送请求报文, 就会 陆续接收到多个响应报文, 利用上述方法即可得到多个瞬时传输时延, 采用多个瞬时传输时延的平均值等方法即可确定链路的传输时延。  The sending node continuously sends the request message. If the request message is sent according to the predetermined period, multiple response messages are received one after another. Multiple instantaneous transmission delays can be obtained by using the above method, and the average of multiple instantaneous transmission delays is adopted. The value of the method can determine the transmission delay of the link.
连续获得的前后相邻的两个瞬时传输时延的差值为链路的瞬时抖 动, 采用多个瞬时抖动的平均值等方法即可确定通信链路的抖动。  The difference between the two instantaneous transmission delays that are successively obtained is the instantaneous jitter of the link, and the jitter of the communication link can be determined by using the average of multiple instantaneous jitters.
为保证请求报文、 响应报文中承载的发送时刻、 接收时刻等时刻信 息的准确性, 本发明在请求报文, 和 /或, 响应报文中增加了校验信息如 校验和, 该校验信息对报文中的各时刻信息进行校验。 这样, 如果是请 求报文中携带了校验信息, 则对端节点在根据校验信息确定所收到的请 求报文中承载的时刻信息有误时, 可以不发送对应于所收到的请求报文 的响应报文。 如果是响应报文中携带了校验信息, 则发送节点在根据校 验信息确定响应报文中承载的时刻信息有误时, 可以不将该响应报文中 承载的时刻信息作为确定链路性能参数的基础。 In order to ensure the accuracy of the information such as the sending time and the receiving time carried in the request message and the response message, the present invention adds check information such as a checksum to the request message, and/or the response message. The verification information verifies each time information in the message. In this way, if the request message carries the check information, the peer node determines that the received message is received according to the check information. When the time information carried in the message is incorrect, the response message corresponding to the received request message may not be sent. If the response message carries the check information, the sending node does not determine the link information in the response packet when the time information carried in the response packet is incorrect according to the check information. The basis of the parameters.
本发明的请求报文, 和 /或, 响应报文中还可以承载有预先设定的标 识信息, 用来表示这些报文的目的是测量链路性能参数, 以方便接收到 该报文的节点识别该报文, 从而进行相应的处理过程, 请求报文的标识 信息可以和响应报文的标识信息相同, 也可以不相同。 上述报文的标识 信息可以通过在报文中设置特征码字段的方式来实现, 也可以通过扩展 报文的报文类型的方式来实现。  The request message of the present invention, and/or the response message may also carry preset identification information, which is used to indicate that the purpose of the message is to measure link performance parameters, so as to facilitate receiving the node of the message. The packet is identified, and the corresponding processing process is performed. The identifier information of the request packet may be the same as or different from the identifier information of the response packet. The identification information of the foregoing packet can be implemented by setting a signature field in the packet, or by extending the packet type of the packet.
本发明中的发送节点还可以根据其发送的请求报文的数量与接收的 响应报文的数量确定报文通信链路的丢包率。  The sending node in the present invention may also determine the packet loss rate of the message communication link according to the number of request messages sent by the sending node and the number of received response messages.
为使本发明的目的、技术方案和优点更加清楚明白, 以下举实施例, 并参照附图, 对本发明进一步详细说明。 在以下的实施例中, 特别针对 弹性分组环 (RPR, Resilient Packet Ring )技术对本发明所提供的技术 方案进行叙述。  The present invention will be further described in detail below with reference to the accompanying drawings. In the following embodiments, the technical solution provided by the present invention is specifically described for the Resilient Packet Ring (RPR) technology.
图 1是本发明所提供的获取通信链路性能参数的方法实施例一的网 络结构图。  1 is a network structure diagram of Embodiment 1 of a method for obtaining a communication link performance parameter according to the present invention.
图 1中, RPR环网的拓朴结构为互逆的双环结构, 环上的每段光路 工作在同一速率上, RPR环网中的两个子环都能够传送, 这两个子环被 分别称为外环和内环。 外环的传送方向为顺时针方向, 内环的传送方向 为逆时针方向。  In Figure 1, the topological structure of the RPR ring network is a reciprocal double-loop structure. Each optical path on the ring works at the same rate. Two sub-rings in the RPR ring network can be transmitted. These two sub-rings are respectively called Outer ring and inner ring. The outer ring is transported clockwise and the inner ring is counterclockwise.
请参考图 2, 图 2是本发明所提供的获取通信链路性能参数的方法 施例一的流程图。 在本实施例中, 利用 RPR协议的操作、 管理和维护 ( OAM , Operations、 Administration and Maintenance ) 艮文来实现对 RPR 环上的链路时延、 抖动和丢包率的统计。 特别的, 可以通过扩充 OAM 的 Echo报文来实现本发明的目的。 Please refer to FIG. 2. FIG. 2 is a flowchart of Embodiment 1 of a method for obtaining a communication link performance parameter according to the present invention. In this embodiment, the operation, management, and maintenance (OAM, Operations, Administration, and Maintenance) of the RPR protocol is used to implement the RPR. Statistics of link delay, jitter, and packet loss rate on the ring. In particular, the object of the present invention can be achieved by extending the Echo message of the OAM.
Echo报文中与本发明有关的内容如表一所示: 特征码 eq_Time(A) Req_Time(B) Rsp_Time(B) 校验信息 表一 其中, 每个域的长度都为 4字节。 表 -中的特征码主要用于区别目 前现有的 Echo报文与本实施例中用于测量链路性能参数的 Echo报文。 Req_Time(A)用于承载发送节点发送 Echo报文的发送时刻 , 即第一发送 时刻; Req_Time(B)用于承载对端节点接收 Echo报文的第一接收时刻; Rsp— Time(B)用于承载对端节点发送 Echo报文的发送时刻, 即第二发送 时刻。 校验信息主要用于对 Echo报文中承载的时刻信息进行校验, 如 对 Req_Time(A)、 Req_Time(B)和 Rsp— Time(B)域进行累加或进行 CRC 运算等, 校验信息的能够保证 Echo报文中时刻信息的准确性。  The contents related to the present invention in the Echo message are as shown in Table 1: Feature code eq_Time(A) Req_Time(B) Rsp_Time(B) Check information Table 1 where each field is 4 bytes in length. The feature code in the table-- is mainly used to distinguish the currently existing Echo message from the Echo message used to measure the link performance parameter in this embodiment. Req_Time(A) is used to carry the sending moment of the Echo packet sent by the sending node, that is, the first sending time; Req_Time(B) is used to carry the first receiving moment of the Echo packet received by the peer node; Rsp_Time(B) The sending moment at which the Echo packet is sent by the opposite end node, that is, the second sending moment. The check information is mainly used to check the time information carried in the Echo message, such as accumulating or performing CRC operations on the Req_Time(A), Req_Time(B), and Rsp_Time(B) fields, and verifying the information. It can guarantee the accuracy of the time information in the Echo message.
步骤 201、 发送节点发送 Echo报文。  Step 201: The sending node sends an Echo packet.
发送节点将当前时刻作为第一发送时刻承载于 Echo 报文的 Req_Time(A)中。  The sending node carries the current time as the first sending time in Req_Time(A) of the Echo message.
发送节点还相应设置 Echo报文中的特征码及校验信息。 在本实施 例中, 令发送节点发送的 Echo报文的特征码, 与对端节点发送的 Echo 报文的特征码不相同, 分别为第一特征码和第二特征码。  The sending node also sets the signature and verification information in the Echo packet accordingly. In this embodiment, the feature code of the Echo message sent by the sending node is different from the feature code of the Echo message sent by the peer node, and is a first feature code and a second feature code, respectively.
发送节点发送的 Echo报文可以称为请求报文。  The Echo packet sent by the sending node can be called a request packet.
发送节点可以向 RPR环上,除本节点以外的其他所有节点发送 Echo 报文,从而得到本节点到 RPR环上除本节点以外的其他所有节点的传输 时延、 抖动等链路性能参数。 步骤 202、 对端节点接收 Echo报文。 The sending node may send Echo packets to all the nodes except the local node on the RPR ring, so as to obtain link performance parameters such as transmission delay and jitter of all nodes except the local node on the RPR ring. Step 202: The peer node receives the Echo packet.
对端节点在接收到 Echo报文时, 记录当前时刻作为第一接收时刻, 并根据所收到的报文的特征码为第一特征码, 确定所收到的报文是网络 上除自身以外的其他节点所发送的用于测量链路性能参数的请求报文。 对端节点还记录收到 Echo报文的子环。  When receiving the Echo message, the peer node records the current time as the first receiving time, and determines that the received message is on the network except itself according to the feature code of the received message. Request message sent by other nodes for measuring link performance parameters. The peer node also records the subring of the received Echo packet.
步驟 203、 对端节点根据 Echo报文中的校验信息对 Echo报文中承 载的时刻信息进行校验, 如果校验正确, 则执行步驟 204, 否则丢弃所 收到的 Echo报文, 结束当前流程。  Step 203: The peer node checks the time information carried in the Echo packet according to the check information in the Echo packet. If the check is correct, go to step 204. Otherwise, discard the received Echo packet and end the current. Process.
步骤 204、 对端节点将 Echo报文返回至发送节点。  Step 204: The peer node returns the Echo packet to the sending node.
对端节点将步骤 202中所记录的第一接收时刻承载在所收到的 Echo 报文的 Req_Time(B)字段中; 并在将 Echo报文返回至发送节点时,将当 前时刻作为第二发送时刻承载于 Rsp— Time(B)中; 同时, 根据 Req_Time(A)、 Req_Time(B)和 Rsp— Time(B)重新设置 Echo报文中的校验 信息; 对端节点并且设置所发送的 Echo报文的特征码为第二特征码。  The peer node carries the first receiving time recorded in step 202 in the Req_Time (B) field of the received Echo message; and when the Echo message is returned to the sending node, the current time is sent as the second sending. The time is carried in Rsp_Time(B); at the same time, the check information in the Echo message is reset according to Req_Time(A), Req_Time(B) and Rsp_Time(B); the peer node is set and the sent Echo is set. The feature code of the message is the second feature code.
对端节点发送的 Echo报文可以称为响应报文。 在本步骤中, 对端 节点在 RPR环网中,与步骤 202中所记录的子环不同的另外一个子环上 返回 Echo ^艮文。  The Echo packet sent by the peer node can be called a response packet. In this step, the peer node returns Echo in the RPR ring network on another subring different from the subring recorded in step 202.
步骤 205、 发送节点接收 Echo报文, 记录当前时刻, 并根据所收到 的报文的特征码, 确定所收到的报文是对发送节点发出的用于测量链路 性能参数的 Echo报文的响应报文。 发送节点将所记录的时刻作为第二 接收时刻 Rsp_Time(A)。  Step 205: The sending node receives the Echo packet, records the current time, and determines, according to the feature code of the received packet, that the received packet is an Echo packet sent by the sending node to measure the link performance parameter. Response message. The transmitting node takes the recorded time as the second receiving time Rsp_Time(A).
发送节点根据 Echo报文中的校验信息对 Echo报文中承载的时刻信 息进行校验, 并在确定校验正确时, 从 Echo报文中获取 Req_Time(A)、 Req_Time(B)和 Rsp_Time(B)„  The sending node verifies the time information carried in the Echo packet according to the check information in the Echo packet, and obtains Req_Time(A), Req_Time(B), and Rsp_Time from the Echo packet when determining that the check is correct. B) „
步骤 206、 发送节点按照所接收和记录的时刻信息计算从自身到对 端的瞬时传输时延。 Step 206: The sending node calculates, according to the received and recorded time information, from itself to the pair. The instantaneous transmission delay of the terminal.
所述瞬时传输时延表示从发送节点到对端节点再到发送节点的链路 的瞬时传输时延, 其计算公式为:  The instantaneous transmission delay represents an instantaneous transmission delay of a link from a transmitting node to a correspondent node to a transmitting node, and the calculation formula is:
(Rsp_Time(A) - Req_Time(A)) - (Rsp— Time(B) - Req_Time(B))0 由于在 RPR网络中的报文都会携带源地址和目的地址,因此发送节 点可以根据所收到的 Echo报文中的源地址确定根据上述公式计算出的 是自身到网络上哪个节点的瞬时传输时延。 (Rsp_Time(A) - Req_Time(A)) - (Rsp_Time(B) - Req_Time(B)) 0 Since the packet in the RPR network carries the source address and the destination address, the sending node can receive it according to The source address in the Echo message determines which node is instantaneously transmitted to the network based on the above formula.
发送节点根据上述方法可获得多个瞬时传输时延, 多个瞬时传输时 延的平均值可以作为发送节点到对端节点再到发送节点的链路的传输 时延。  The transmitting node can obtain multiple instantaneous transmission delays according to the above method, and the average value of the multiple instantaneous transmission delays can be used as the transmission delay of the link from the transmitting node to the opposite node to the transmitting node.
顺序获得的两个瞬时传输时延之间的差值为从发送节点到对端节点 再到发送节点的链路的瞬时抖动, 多个瞬时抖动的平均值可以作为发送 节点到对端节点再到发送节点的链路的抖动。  The difference between the two instantaneous transmission delays obtained in sequence is the instantaneous jitter of the link from the transmitting node to the opposite node to the transmitting node, and the average value of the multiple instantaneous jitters can be used as the sending node to the opposite node. The jitter of the link of the sending node.
在步骤 201中, 发送节点可以统计其一段时间内向特定对端节点发 送的请求 ^文的个数; 在步骤 205中, 发送节点可以统计其从所述特定 对端节点接收到的校验正确的响应报文的个数; 发送节点确定发送个数 与接收个数的差值, 并将该差值与发送个数的比值作为这段时间内发送 节点到对端节点再到发送节点的链路的丢包率。  In step 201, the sending node may count the number of request messages sent to the specific peer node within a certain period of time; in step 205, the sending node may count that the check received from the specific peer node is correct. The number of response messages; the sending node determines the difference between the number of transmissions and the number of received, and compares the ratio of the difference to the number of transmissions as the link from the transmitting node to the opposite node to the transmitting node during this time. Packet loss rate.
在步骤 203中, 对端节点在根据请求报文中的校验信息对请求报文 中承载的时刻信息进行校验时, 如果校验不正确则丢弃所收到的请求报 文。 这时, 发送节点就收不到由对端节点的响应报文。 但是, 由于发送 节点是在接收到响应报文后才根据响应报文中携带的时刻信息计算传 输时延和抖动, 因此, 发送节点不需要关心是否发生了对端节点丟弃请 求报文的情况。  In step 203, when the peer node checks the time information carried in the request message according to the check information in the request message, if the check is incorrect, the received request message is discarded. At this time, the sending node does not receive the response message from the correspondent node. However, the transmitting node calculates the transmission delay and jitter according to the time information carried in the response packet after receiving the response packet. Therefore, the sending node does not need to care whether the peer node discards the request packet. .
而在对于丢包率的计算中, 由于发送节点在计算丟包率时, 是才艮据 一段时间内所发送的倩求报文个数和所收到并且校验正确的响应报文 的个数计算出丟包述, 因此, 发送节点也不需要关心是否发生了对端节 点丟弃请求报文的情况。 In the calculation of the packet loss rate, since the sending node calculates the packet loss rate, it is based on the data. The number of packets sent in a period of time and the number of response packets received and verified correctly are calculated. Therefore, the sending node does not need to care whether the peer node discards the request. The situation of the message.
当然, 也可以根据网络的平均情况预先设置一个最大传输时延。 发 送节点在接收到响应报文后, 如果发现计算所得的瞬时传输时延超过最 大传输时延, 则丢弃响应报文。 另外, 如上所述, 在测量丟包率的过程 中, 发送节点需要向对端节点发送一系列请求报文。 而在向对端节点发 送所述一系列请求报文中的最后一个请求报文后 , 还需要等待一段时间 再进行统计和计算。 可以根据最大传输时延来设置这个等待时长。  Of course, it is also possible to preset a maximum transmission delay according to the average of the network. After receiving the response packet, the transmitting node discards the response packet if it finds that the calculated instantaneous transmission delay exceeds the maximum transmission delay. In addition, as described above, in the process of measuring the packet loss rate, the transmitting node needs to send a series of request messages to the opposite node. After the last request message in the series of request messages is sent to the peer node, it needs to wait for a period of time for statistics and calculation. This wait time can be set according to the maximum transmission delay.
在上述实施例中, 请求报文和响应报文的特征码不相同。 作为一种 替代方案, 可以令请求报文和响应报文的特征码相同。 发送节点在发送 Echo报文时, 将报文中的 Req_Time(B), 和 /或, Rsp— Time(B)设置为预 先设置的特殊值, 例如令所有的二进制位的值都为 1。 节点在收到 Echo 报文时根据 Req_Time(B), 和 /或, Rsp— Time(B)是否为预先设置的特殊 值来区分所收到的 Echo报文的类型是请求报文还是响应报文。  In the above embodiment, the signatures of the request message and the response message are different. As an alternative, the signature of the request message and the response message can be made the same. When sending the Echo packet, the sending node sets Req_Time(B), and/or Rsp_Time(B) in the packet to a special value set in advance, for example, the value of all the binary bits is 1. When receiving an Echo packet, the node distinguishes whether the received Echo packet type is a request packet or a response packet according to whether the Req_Time(B), and/or Rsp_Time(B) is a preset special value. .
在本实施例中, 请求报文和响应报文的报文格式是相同的。 作为一 种替代方案, 请求报文和响应报文的报文格式可以不相同。 例如请求报 文不设置 Req_Time (B)和 Rsp—Time(B), 而只有响应报文设置这两个数 据域。 这样, 对于请求报文和响应报文的特征码相同的情况, 节点可以 根据是否设置了这两个数据域来判断收到的 Echo报文是请求报文还是 响应 艮文。  In this embodiment, the format of the request message and the response message are the same. As an alternative, the message format of the request message and the response message may be different. For example, the request message does not set Req_Time (B) and Rsp_Time (B), and only the response message sets the two data fields. In this case, if the signatures of the request packet and the response packet are the same, the node can determine whether the received Echo packet is a request packet or a response packet according to whether the two data fields are set.
请参考图 3 , 图 3是本发明提供的获取通信链路性能参数的装置方 框图。 在图 3中, 图 3 ( a )是所述发送节点的方框图, 图 3 ( b )是所述 对端节点的方框图。  Please refer to FIG. 3. FIG. 3 is a block diagram of an apparatus for obtaining performance parameters of a communication link provided by the present invention. In Fig. 3, Fig. 3(a) is a block diagram of the transmitting node, and Fig. 3(b) is a block diagram of the opposite node.
如图 3 ( a )所示的发送节点包括请求报文生成模块、通信接口模块、 识别模块、 校验模块、 丟包率计算模块、 传输时延和抖动计算模块。 请求报文生成模块, 用于生成请求报文, 并且通知丢包率计算模块 进行计数。 所述生成请求报文包括在请求报文中携带发送请求报文的第 一发送时刻以及设置请求报文的特征码和校验信息。 如果请求报文和响 应报文格式相同并且采用相同的特征码, 则请求报文生成模块还需要设 置请求报文中的第一接收时刻,和 /或, 第二发送时刻为预先设定的特殊 值。 The sending node shown in Figure 3 (a) includes a request message generating module, a communication interface module, Identification module, verification module, packet loss rate calculation module, transmission delay and jitter calculation module. The request message generating module is configured to generate a request message, and notify the packet loss rate calculation module to perform counting. The generating the request message includes the first sending time of the sending request message and the feature code and the check information of the setting request message in the request message. If the request message and the response message have the same format and use the same feature code, the request message generation module further needs to set the first receiving time in the request message, and/or the second sending time is a preset special value.
通信接口模块, 用于发送请求报文生成模块生成的请求报文, 接收 响应 4艮文并发送给识别模块处理。  The communication interface module is configured to send a request message generated by the request message generating module, receive the response message, and send the response message to the identification module for processing.
识别模块, 用于确定接收到的报文是所述响应报文, 并记录收到响 应报文的时刻; 然后将所述响应报文发送给校验模块; 并且根据传输时 延和抖动计算模块的请求, 向其发送所记录的收到响应报文的时刻。  An identification module, configured to determine that the received message is the response message, and record the time when the response message is received; then send the response message to the verification module; and calculate the module according to the transmission delay and jitter The request, to which the recorded time of receipt of the response message is sent.
校验模块, 用于根据识别模块发来的响应报文中的校验信息对响应 报文进行校验, 如果校验通过则将响应报文发送给传输时延和抖动计算 模块, 并通知丟包率计算模块计数, 否则丟弃所述响应报文, 这个模块 是可选的。  The verification module is configured to check the response packet according to the verification information in the response packet sent by the identification module, and if the verification succeeds, send the response packet to the transmission delay and jitter calculation module, and notify the lost The packet rate calculation module counts, otherwise the response message is discarded. This module is optional.
链路性能参数计算模块, 包括瞬时传输时延计算子模块、 传输时延 计算子模块和抖动计算子模块。 其中瞬时传输时延计算子模块用于在接 收到校验模块所发送的响应报文时, 从识别模块处获取收到所述响应报 文的时刻, 与所述响应报文所携带的时刻信息一起计算出瞬时传输时 延。 传输时延计算子模块和抖动计算子模块用于根据瞬时传输时延计算 模块得到的多个瞬时传输时延计算出传输时延和抖动, 这两个子模块是 可选的。  The link performance parameter calculation module includes a transient transmission delay calculation submodule, a transmission delay calculation submodule, and a jitter calculation submodule. The instantaneous transmission delay calculation sub-module is configured to: when receiving the response message sent by the verification module, acquire the time at which the response message is received from the identification module, and the time information carried in the response message The instantaneous transmission delay is calculated together. The transmission delay calculation sub-module and the jitter calculation sub-module are used to calculate transmission delay and jitter according to a plurality of instantaneous transmission delays obtained by the instantaneous transmission delay calculation module, and the two sub-modules are optional.
丢包率计算模块, 用于根据请求报文发送模块和校验模块的通知计 数, 并根据计数结果计算丟包率, 这个模块是可选的。 如图 3 ( b )所示的对端节点包括通信接口模块、 识别模块、 校验模 块和响应报文生成模块。 The packet loss rate calculation module is configured to calculate a packet loss rate according to the request packet sending module and the check module, and calculate a packet loss rate according to the counting result. This module is optional. The peer node shown in FIG. 3(b) includes a communication interface module, an identification module, a verification module, and a response message generation module.
通信接口模块, 用于接收请求报文并发送给识别模块处理, 以及发 送响应报文生成模块生成的响应报文,  a communication interface module, configured to receive a request message and send it to the identification module for processing, and send a response message generated by the response message generating module,
识别模块, 用于确定接收到的报文是所述请求报文, 并记录收到请 求报文的时刻; 然后将所述请求报文发送给校验模块; 并且根据响应报 文生成模块的请求, 向其发送所记录的收到请求报文的时刻。  The identification module is configured to determine that the received message is the request message, and record the time when the request message is received; then send the request message to the verification module; and generate a request according to the response message , to which the recorded time of receipt of the request message is sent.
校验模块, 用于根据识别模块发来的请求报文中的校验信息对请求 报文进行校验, 如果校验通过则将请求报文发送给响应报文生成模块处 理, 否则丢弃所述请求报文。  The verification module is configured to check the request message according to the verification information in the request message sent by the identification module, and send the request message to the response message generation module for processing if the verification is passed, otherwise discarding the Request a message.
响应报文生成模块, 用于生成响应报文。 所述生成响应报文包括在 响应报文中携带发送响应报文的第二发送时刻, 并且在响应报文中携带 从识别模块获取的收到请求报文的时刻, 以及设置响应报文的特征码和 校验信息。  The response message generating module is configured to generate a response message. The generating the response message includes: carrying the second sending time of the sending response message in the response message, and carrying the time of receiving the request message obtained by the identifying module in the response message, and setting the feature of the response message Code and check information.
需要说明的是, 本发明所提供的技术方案, 虽然主要应用于 RPR网 络, 但是不限于应用于 RPR网络。  It should be noted that the technical solution provided by the present invention is mainly applied to an RPR network, but is not limited to being applied to an RPR network.
以上所述的具体实施例, 对本发明的目的、 技术方案和有益效果进 行了进一步详细说明, 所应理解的是, 以上所述仅为本发明的具体实施 例而已, 并不用于限制本发明, 凡在本发明的精神和原则之内, 所做的 任何修改、 等同替换、 改进等, 均应包含在本发明的保护范围之内。  The above described specific embodiments of the present invention are described in detail, and are not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and scope of the present invention are intended to be included within the scope of the present invention.

Claims

权利要求书 Claim
1、一种获取链路性能参数的方法, 其特征在于, 该方法包括以下步 骤:  A method for obtaining link performance parameters, characterized in that the method comprises the following steps:
发送节点向待测量链路的对端节点发送请求报文;  The sending node sends a request message to the opposite node of the link to be measured;
对端节点确定所收到的报文为所述请求报文, 向发送节点返回携带 时刻信息的响应报文, 所述时刻信息包括作为第一接收时刻的接收到请 求 4艮文的时刻, 以及作为第二发送时刻的发送响应报文的时刻;  Determining, by the peer node, that the received packet is the request packet, and returning, to the sending node, a response packet carrying the time information, where the time information includes the time of receiving the request message as the first receiving time, and The time of transmitting the response message as the second transmission time;
发送节点确定所收到的报文为所述响应报文, 根据响应报文中携带 的时刻信息计算对端节点的处理时间;  The sending node determines that the received packet is the response packet, and calculates the processing time of the peer node according to the time information carried in the response packet;
发送节点根据发送请求报文的时刻、 接收响应报文的时刻以及所述 处理时间计算链路性能参数。  The sending node calculates the link performance parameter according to the time at which the request message is sent, the time at which the response message is received, and the processing time.
2、根据权利要求 1所述的获取链路性能参数的方法,其特征在于,, 所述发送节点根据响应报文中携带的时刻信息计算对端节点的处理时 间包括:  The method for obtaining a link performance parameter according to claim 1, wherein the sending node calculates the processing time of the peer node according to the time information carried in the response message, including:
发送节点从所述响应报文中提取第一接收时刻和第二发送时刻; 发送节点将所述第一接收时刻和第二发送时刻的差的绝对值作为对 端节点的处理时间。  The sending node extracts the first receiving time and the second sending time from the response message; the sending node uses the absolute value of the difference between the first receiving time and the second sending time as the processing time of the opposite node.
3、 根据权利要求 2所述的获取链路性能参数的方法, 其特征在于, 所述发送节点向待测量链路的对端节点发送请求报文为:  The method for obtaining a link performance parameter according to claim 2, wherein the sending node sends a request message to the opposite node of the link to be measured:
发送节点将请求报文的发送时刻作为第一发送时刻携带在所述请求 报文中发送至对端节点;  The sending node carries the sending time of the request message as the first sending time in the request message and sends it to the opposite node;
该方法在对端节点向发送节点返回携带时刻信息的响应报文时进一 步包括:  The method further includes: when the opposite node returns a response message carrying the time information to the sending node:
将从请求报文中提取的第一发送时刻携带在响应报文中; 所述发送节点根据发送请求报文的时刻、 接收响应^ =艮文的时刻以及 所述处理时间计算链路性能参数包括: The first sending moment extracted from the request packet is carried in the response packet; The calculating, by the sending node, the link performance parameter according to the time of sending the request message, the time of receiving the response, and the processing time, includes:
发送节点记录接收响应拫文的时刻作为第二接收时刻;  The sending node records the time when the response message is received as the second receiving time;
发送节点计算第一发送时刻与第二接收时刻的差的绝对值, 然后从 所得到的绝对值中减去所述处理时间, 得到的结果为自身到对端节点的 瞬时传输时延。  The transmitting node calculates the absolute value of the difference between the first transmission time and the second reception time, and then subtracts the processing time from the obtained absolute value, and the result is the instantaneous transmission delay of the self to the opposite node.
4、 根据权利要求 2所述的获取链路性能参数的方法, 其特征在于, 该方法在对端节点向发送节点返回携带时刻信息的响应报文时进一步 包括:  The method for obtaining a link performance parameter according to claim 2, wherein the method further comprises: when the peer node returns a response message carrying the time information to the sending node:
对端节点根据第一接收时刻和第二发送时刻生成校验信息, 并将所 得到的校验信息携带在响应报文中;  The peer node generates check information according to the first receiving time and the second sending time, and carries the obtained check information in the response message;
该方法在发送节点收到响应报文后进一步包括:  The method further includes: after the sending node receives the response message:
发送节点检查所述第一接收时刻和第二发送时刻与所述校验信息是 否匹配, 如果匹配, 则根据响应报文中携带的时刻信息计算对端节点的 处理时间, 否则丢弃所述响应报文并结束当前流程。  The sending node checks whether the first receiving time and the second sending time match the check information. If the matching, the processing time of the opposite node is calculated according to the time information carried in the response message, otherwise the response message is discarded. End the current process.
5、 根据权利要求 3所述的获取链路性能参数的方法, 其特征在于, 该方法在发送节点向待测量链路的对端节点发送请求报文时进一步包 括:  The method for obtaining a link performance parameter according to claim 3, wherein the method further includes: when the sending node sends the request message to the opposite node of the link to be measured:
发送节点根据第一发送时刻生成校验信息 , 并携带在请求报文中; 该方法在对端节点收到请求报文后进一步包括:  The sending node generates the check information according to the first sending time, and carries the check information in the request message. The method further includes: after receiving the request message by the peer node:
对端节点检查所述第一发送时刻与所述校验信息是否匹配, 如果匹 配, 则向发送节点返回携带时刻信息的响应报文, 否则丟弃所述请求报 文并结束当前流程。  The peer node checks whether the first sending moment matches the check information, and if yes, returns a response packet carrying the time information to the sending node, otherwise discards the request message and ends the current process.
6、 根据权利要求 3所述的获取链路性能参数的方法, 其特征在于, 该方法在对端节点向发送节点返回携带时刻信息的响应报文时进一步 包括: The method for obtaining a link performance parameter according to claim 3, wherein the method further forwards when the opposite node returns a response message carrying the time information to the sending node. Includes:
对端节点根据第一发送时刻、 第一接收时刻和笫二发送时刻生成校 验信息, 并将所得到的校验信息携带在响应报文中;  The peer node generates the verification information according to the first sending time, the first receiving time, and the second sending time, and carries the obtained verification information in the response message;
该方法在发送节点收到响应报文后进一步包括:  The method further includes: after the sending node receives the response message:
检查所述第一发送时刻、 第一接收时刻和第二发送时刻与所述校验 信息是否匹配, 如果匹配, 则根据响应报文中携带的时刻信息计算对端 节点的处理时间, 否则丢弃所述响应^ =艮文并结束当前流程。  Checking whether the first sending time, the first receiving time, and the second sending time match the check information, and if yes, calculating the processing time of the opposite node according to the time information carried in the response message, otherwise discarding the The response ^ = 艮 text and end the current process.
7、 根据权利要求 1所述的获取链路性能参数的方法, 其特征在于, 设置表示报文类型为所述请求报文的第一标识, 以及表示报文类型为所 述响应报文的第二标识, 该方法在发送节点向待测量链路的对端节点发 送请求报文时进一步包括:  The method for obtaining a link performance parameter according to claim 1, wherein: setting a first identifier indicating that the packet type is the request packet, and indicating that the packet type is the response packet The second identifier, the method further includes: when the sending node sends the request packet to the opposite node of the link to be measured:
发送节点在请求报文中携带所述第一标识;  The sending node carries the first identifier in the request packet;
则所述对端节点确定所收到的报文为所述请求报文为:  Then, the peer node determines that the received packet is the request packet:
对端节点根据所收到的报文中的第一标识确定所收到的报文为所述 请求报文;  The peer node determines, according to the first identifier in the received packet, that the received packet is the request packet;
该方法在对端节点向发送节点返回携带时刻信息的响应报文时进一 步包括:  The method further includes: when the opposite node returns a response message carrying the time information to the sending node:
对端节点在响应报文中携带所述第二标识;  The peer node carries the second identifier in the response packet;
所述发送节点确定所收到的报文为所述响应报文为:  The sending node determines that the received packet is the response packet:
发送节点根据所收到的报文中的第二标识确定所收到的报文为所述 响应艮文。  The sending node determines, according to the second identifier in the received packet, that the received packet is the response message.
8、 根据权利要求 1所述的获取链路性能参数的方法, 其特征在于, 设置表示报文类型为用于测量链路性能参数的标识, 并设置表示报文类 型为所述请求报文的特殊值, 该方法在发送节点向待测量链路的对端节 点发送请求报文时进一步包括: 发送节点在请求报文中携带所述标识和所述特殊值; 所述对端节点确定所收到的报文为所述请求报文为: The method for obtaining a link performance parameter according to claim 1, wherein the identifier is set to be an identifier for measuring a link performance parameter, and the packet type is set to be the request packet. The special value, the method further includes: when the sending node sends the request message to the opposite node of the link to be measured: The sending node carries the identifier and the special value in the request packet; the peer node determines that the received packet is the request packet:
对端节点根据所收到的报文中的标识和特殊值确定所收到的报文为 所述请求报文;  The peer node determines, according to the identifier and the special value in the received packet, that the received packet is the request packet;
该方法在对端节点向发送节点返回携带时刻信息的响应报文时进一 步包括:  The method further includes: when the opposite node returns a response message carrying the time information to the sending node:
对端节点在响应报文中携带所述标识;  The peer node carries the identifier in the response packet;
所述发送节点确定所收到的报文为所述响应报文为:  The sending node determines that the received packet is the response packet:
发送节点根据所收到的报文中的标识确定所收到的报文为所述响应 艮文。  The sending node determines, according to the identifier in the received message, that the received message is the response message.
9、 根据权利要求 1所述的获取链路性能参数的方法, 其特征在于, 所述发送节点和对端节点是弹性分组环 RPR节点,所述请求报文和响应 报文是运行、 管理和维护 OMA报文。  The method for obtaining a link performance parameter according to claim 1, wherein the sending node and the peer node are resilient packet ring RPR nodes, and the request packet and the response packet are running, managing, and Maintain OMA messages.
10、 一种获取链路性能参数的发送装置, 包括用于发送请求报文和 接收携带时刻信息的响应报文的通信接口模块, 其特征在于, 该装置进 一步包括:  A device for transmitting a link performance parameter, comprising: a communication interface module for transmitting a request message and receiving a response message carrying time information, wherein the device further comprises:
请求报文生成模块, 用于生成请求报文, 并通过通信接口模块进行 发送;  a request message generating module, configured to generate a request message, and send the message through the communication interface module;
识别模块, 用于根据通信接口模块所接收到的报文中的标识判断报 文类型为响应报文, 并将响应报文发送给链路性能参数计算模块;  The identification module is configured to determine, according to the identifier in the message received by the communication interface module, the message type as a response message, and send the response message to the link performance parameter calculation module;
链路性能参数计算模块, 用于根据所述响应报文中携带的时刻信息 计算链路性能参数。  The link performance parameter calculation module is configured to calculate a link performance parameter according to the time information carried in the response packet.
11、 根据权利要求 10所述的获取链路性能参数的发送装置, 其特 征在于, 所述请求报文生成模块进一步用于获取发送请求报文的时刻并 携带在请求报文中; 所述响应报文中携带所述发送请求报文的时刻, 以及待测量链路的 对端节点接收请求报文的时刻和发送响应报文的时刻; The device for transmitting a link performance parameter according to claim 10, wherein the request message generating module is further configured to acquire a time at which the request message is sent and carry the message in the request message; The time at which the response packet carries the request packet, and the time at which the peer node of the link to be measured receives the request packet and the time at which the response packet is sent;
所述识别模块进一步用于获取接收响应报文的时刻;  The identifying module is further configured to acquire a time at which the response message is received;
所述链路性能参数计算模块包括瞬时传输时延计算子模块, 用于根 据发送请求报文的时刻、 接收请求报文的时刻、 发送响应报文的时刻和 接收响应报文的时刻计算链路的瞬时传输时延。  The link performance parameter calculation module includes a transient transmission delay calculation sub-module, configured to calculate a link according to a time when the request message is sent, a time when the request message is received, a time when the response message is sent, and a time when the response message is received. Instantaneous transmission delay.
12、根据权利要求 10所述的获取链路性能参数的发送装置,其特征 在于, 所述请求报文生成模块进一步用于将表示报文类型为所述请求报 文的标识携带在所述请求报文中。  The device for transmitting a link performance parameter according to claim 10, wherein the request message generating module is further configured to carry an identifier indicating that the message type is the request message in the request In the message.
13、根据权利要求 11所述的获取链路性能参数的发送装置,其特征 在于, 所述请求报文生成模块进一步用于根据发送请求报文的时刻生成 校验信息, 并将校验信息携带在请求报文中。  The device for transmitting link performance parameters according to claim 11, wherein the request message generating module is further configured to generate check information according to a time when the request message is sent, and carry the check information. In the request message.
14、根据权利要求 11所述的获取链路性能参数的发送装置,其特征 在于, 所述响应报文进一步携带根据发送清求报文的时刻, 接收请求报 文的时刻和发送响应报文的时刻生成的校验信息, 所述发送装置进一步 包括:  The device for transmitting a link performance parameter according to claim 11, wherein the response message further carries a time according to the time of transmitting the clearing message, a time of receiving the request message, and a message for transmitting the response message. The verification information generated at a time, the sending device further includes:
校验模块, 用于检查发送给链路性能参数计算模块的响应报文中的 校验信息, 是否与所述响应报文中所携带的发送请求报文的时刻, 接收 请求报文的时刻和发送响应报文的时刻匹配 , 如果匹配则将所述响应报 文发送给链路性能参数计算模块, 否则丟弃所述响应报文。  a verification module, configured to check whether the verification information in the response packet sent to the link performance parameter calculation module is the time of sending the request message and the time of receiving the request message The time at which the response packet is sent is matched. If the match is sent, the response packet is sent to the link performance parameter calculation module, otherwise the response packet is discarded.
15、根据权利要求 10所述的获取链路性能参数的发送装置,其特征 在于 , 该发送装置是弹性分组环 RPR节点。  15. The apparatus for transmitting link performance parameters according to claim 10, wherein the transmitting apparatus is an elastic packet ring RPR node.
16、 一种获取链路性能参数的对端装置, 包括用于接收情求报文, 以及发送响应报文的通信接口模块, 其特征在于, 该装置进一步包括: 识别模块, 用于根据通信接口模块所接收到的报文中的标识判断报 文类型为请求报文, 并记录收到请求报文的时刻, 以及将请求报文发送 给响应报文生成模块; A peer device for obtaining a link performance parameter, comprising: a communication interface module for receiving a request message and transmitting a response message, wherein the device further comprises: an identification module, configured to use the communication interface The identification judgment report in the message received by the module The text type is a request message, and records the time when the request message is received, and sends the request message to the response message generating module;
响应报文生成模块, 用于将收到请求报文的时刻和发送响应报文的 时刻携带在响应报文中, 通过通信接口模块进行发送。  The response message generating module is configured to carry the time when the request message is received and the time when the response message is sent in the response message, and send the message through the communication interface module.
17、根据权利要求 16所述的获取链路性能参数的对端装置,其特征 在于, 所述响应报文生成模块进一步用于根据收到请求报文的时刻和发 送响应报文的时刻生成校验信息, 并将校验信息携带在响应报文中。  The peer device for obtaining the link performance parameter according to claim 16, wherein the response message generating module is further configured to generate a school according to the time when the request message is received and the time when the response message is sent. Verify the information and carry the verification information in the response message.
18、根据权利要求 16所述的获取链路性能参数的发送装置,其特征 在于, 所述响应报文生成模块进一步用于将表示报文类型为所述响应报 文的标识携带在所述响应报文中。  The device for transmitting a link performance parameter according to claim 16, wherein the response message generating module is further configured to carry an identifier indicating that the message type is the response message in the response In the message.
19、根据权利要求 16所述的获取链路性能参数的对端装置,其特征 在于, 所述请求报文携带发送请求报文的时刻, 所述响应报文生成模块 进一步用于将所述发送请求报文的时刻携带在响应报文中。  The device for obtaining a link performance parameter according to claim 16, wherein the request message carries a time at which a request message is sent, and the response message generating module is further configured to send the message The time at which the message is requested is carried in the response message.
20、根据权利要求 19所述的获取链路性能参数的对端装置,其特征 在于, 所述响应报文生成模块进一步用于根据发送请求报文的时刻、 收 到请求报文的时刻和发送响应报文的时刻生成校验信息, 并将校验信息 携带在响应报文中。  The device for obtaining a link performance parameter according to claim 19, wherein the response message generating module is further configured to: according to a time when the request message is sent, a time when the request message is received, and a sending The verification information is generated at the time of responding to the message, and the verification information is carried in the response message.
21、根据权利要求 19所述的获取链路性能参数的对端装置,其特征 在于 , 所述请求报文进一步携带根据发送请求报文的时刻生成的校验信 息, 所述对端装置进一步包括:  The peer device for obtaining the link performance parameter according to claim 19, wherein the request message further carries the verification information generated according to the time when the request message is sent, and the peer device further includes :
校验模块, 用于检查发送给响应报文生成模块的请求报文中的校验 信息, 是否与所述请求报文中所携带的发送请求报文的时刻匹配, 如果 匹配则将所述响应报文发送给响应报文生成模块, 否则丟弃所述请求报 文。  a check module, configured to check whether the check information in the request message sent to the response message generating module matches the time of sending the request message carried in the request message, and if yes, the response is The packet is sent to the response packet generation module, otherwise the request packet is discarded.
22、根据权利要求 16所述的获取链路性能参数的对端装置,其特征 在于, 该对端装置是弹性分组环 RPR节点。 22. The peer device for obtaining link performance parameters according to claim 16, characterized in that The peer device is an elastic packet ring RPR node.
23、 一种获取链路性能参数的系统, 包括发送装置和对端装置, 其 特征在于, 所述发送装置包括用于发送请求报文和接收携带时刻信息的 响应报文的发送装置通信接口模块, 进一步包括:  A system for obtaining link performance parameters, including a transmitting device and a peer device, wherein the transmitting device includes a transmitting device communication interface module for transmitting a request message and receiving a response message carrying time information. , further including:
请求报文生成模块, 用于生成请求报文, 并通过发送装置通信接口 模块进行发送;  a request message generating module, configured to generate a request message, and send the message through the sending device communication interface module;
识别模块, 用于根据发送装置通信接口模块所接收到的报文中的标 识判断报文类型为响应报文, 并将响应报文发送给链路性能参数计算模 块;  The identification module is configured to determine, according to the identifier in the message received by the communication interface module of the sending device, the message type as a response message, and send the response message to the link performance parameter calculation module;
链路性能参数计算模块, 用于根据所述响应报文中携带的时刻信息 计算链路性能参数;  a link performance parameter calculation module, configured to calculate a link performance parameter according to time information carried in the response packet;
所述对端装置包括用于接收请求报文, 以及发送响应报文的对端装 置通信接口模块, 进一步包括:  The peer device includes a peer device communication interface module, configured to receive a request message, and send a response message, and further includes:
识别模块, 用于根据对端装置通信接口模块所接收到的报文中的标 识判断报文类型为请求报文, 并记录收到请求^ =艮文的时刻, 以及将请求 报文发送给响应报文生成模块;  The identification module is configured to determine, according to the identifier in the packet received by the communication device module of the peer device, the message type as the request message, and record the time when the request is received, and send the request message to the response. Message generation module;
响应报文生成模块, 用于将收到请求报文的时刻和发送响应报文的 时刻携带在响应报文中, 通过对端装置通信接口模块进行发送。  The response message generating module is configured to carry the time when the request message is received and the time when the response message is sent in the response message, and send the message through the peer device communication interface module.
PCT/CN2006/001765 2005-09-19 2006-07-19 Method, device and system for obtaining link performance parameter WO2007033555A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN200510103481.X 2005-09-19
CNB200510103481XA CN100421395C (en) 2005-09-19 2005-09-19 A Method of Obtaining Link Evaluation Parameters Based on Resilient Packet Ring

Publications (1)

Publication Number Publication Date
WO2007033555A1 true WO2007033555A1 (en) 2007-03-29

Family

ID=37390432

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2006/001765 WO2007033555A1 (en) 2005-09-19 2006-07-19 Method, device and system for obtaining link performance parameter

Country Status (2)

Country Link
CN (1) CN100421395C (en)
WO (1) WO2007033555A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111585790A (en) * 2020-04-13 2020-08-25 中国联合网络通信集团有限公司 Network simulation method and device
CN117901890A (en) * 2024-03-18 2024-04-19 福建源安车联科技股份有限公司 Visual monitoring devices of freight train data transmission

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102232278B (en) * 2011-06-23 2013-09-11 华为技术有限公司 Method and device for detecting 1588 equipment performance
US9276831B2 (en) * 2013-07-18 2016-03-01 Airmagnet, Inc. Determining network latency with limited computing resources
CN107508763B (en) * 2016-06-14 2021-04-13 景略半导体(上海)有限公司 Sending time control method, system and transmission equipment
CN108173718A (en) * 2018-01-29 2018-06-15 赛特斯信息科技股份有限公司 The system and method for BFD link detectings and assessment based on SD-WAN scenes
CN109257246A (en) * 2018-08-09 2019-01-22 华为技术有限公司 Detect the method, apparatus and system of time delay
CN115150251B (en) * 2022-05-27 2023-11-03 中国南方电网有限责任公司 Fault diagnosis method, system and management platform for dispatching communication link of power private network

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2000025487A1 (en) * 1998-10-27 2000-05-04 Telefonaktiebolaget Lm Ericsson (Publ) Determination of the propagation delay in a packet switched network
WO2004030312A1 (en) * 2002-09-30 2004-04-08 Koninklijke Philips Electronics N.V. Verifying a node on a network
CN1725712A (en) * 2004-07-22 2006-01-25 华为技术有限公司 Dynamic elastic packet ring network monitoring method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2000025487A1 (en) * 1998-10-27 2000-05-04 Telefonaktiebolaget Lm Ericsson (Publ) Determination of the propagation delay in a packet switched network
WO2004030312A1 (en) * 2002-09-30 2004-04-08 Koninklijke Philips Electronics N.V. Verifying a node on a network
CN1725712A (en) * 2004-07-22 2006-01-25 华为技术有限公司 Dynamic elastic packet ring network monitoring method

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111585790A (en) * 2020-04-13 2020-08-25 中国联合网络通信集团有限公司 Network simulation method and device
CN111585790B (en) * 2020-04-13 2022-05-06 中国联合网络通信集团有限公司 Network simulation method and device
CN117901890A (en) * 2024-03-18 2024-04-19 福建源安车联科技股份有限公司 Visual monitoring devices of freight train data transmission

Also Published As

Publication number Publication date
CN1863100A (en) 2006-11-15
CN100421395C (en) 2008-09-24

Similar Documents

Publication Publication Date Title
JP5719449B2 (en) System and method for measuring available capacity and narrow link capacity of an IP path from a single endpoint
WO2007033555A1 (en) Method, device and system for obtaining link performance parameter
CN101160816B (en) Method of measuring performance parameter of multi-protocol label switching network
CN101800679B (en) Method and system for packet loss detection
CN108156056A (en) Network quality measuring method and its device
JP2004112791A (en) Method of measuring network operation parameter
CN101552703A (en) A method and device to measure service quality parameters and a method and device to judge service quality
CN101926154A (en) Frame loss determination method, system and device
US8923142B2 (en) Passive monitoring of network performance
WO2007118396A1 (en) A method and system for network performance measurement
CN102984018B (en) Ethernet loss packet test method, equipment and system
WO2007025427A1 (en) A method for getting the link estimating parameters
JP2013516807A (en) Packet loss detection method and apparatus, and router
US20100054140A1 (en) Fault detection in a transport network
US11102273B2 (en) Uplink performance management
CN102035692A (en) Method and device for detecting quality of link
WO2007056915A1 (en) A method for measuring mpls network performance parameter and device and system for transmitting packet
CN109218122B (en) Method, device and system for realizing transmission performance detection
EP1746769A1 (en) Measurement system and method of measuring a transit metric
US11121938B2 (en) Performance measurement in a packet-switched communication network
CN109995603B (en) A method, device and electronic device for packet loss measurement under Tag model
KR100943728B1 (en) Method of measuring available bandwidth per link using total length field of IP packet header and managing available bandwidth information of link
CN112714036B (en) Network quality measurement method, apparatus, device and medium for bundled link
WO2014000509A1 (en) Transmission monitoring method and device
CN113328903B (en) Method, device and system for detecting transmission quality

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application
NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 06761500

Country of ref document: EP

Kind code of ref document: A1

点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载