

技术领域technical field
本发明涉及移动通信领域,尤其涉及一种动态弹性分组环(RPR ResilentPacket Ring)网络的动态监测方法The present invention relates to the field of mobile communication, in particular to a dynamic monitoring method for a dynamic resilient packet ring (RPR Resilent Packet Ring) network
技术背景technical background
RPR(Resilent Packet Ring动态弹性分组环)为新一代的二层交换技术,可以实现比以太网更强大的差异性用户QoS管理、数据链路保护等优点。RPR通过其特有的机制可以实现环网带宽的空间重用、带宽共享、统计复用和弹性分组。RPR (Resilent Packet Ring) is a new generation of
但目前RPR协议在计算整个环路数据传输消耗时间上面没有明确定义及明确的技术方案,因此在判断网络性能进行实时监测方面存在不足。However, the current RPR protocol does not have a clear definition and a clear technical solution for calculating the time consumed by the entire loop data transmission, so there are deficiencies in judging network performance for real-time monitoring.
发明内容Contents of the invention
本发明的目的就是提出一个利用数据报文获取数据在环路上面传输消耗时间以对网络性能进行监测的方法。The purpose of the present invention is to propose a method for monitoring network performance by using data packets to acquire data and spend time on loop transmission.
为此,本发明采用如下技术方案:For this reason, the present invention adopts following technical scheme:
一种环网动态监测方法,适用于动态弹性分组环网络,其特征在于包括:A ring network dynamic monitoring method is applicable to a dynamic elastic packet ring network, and is characterized in that it comprises:
请求步骤:接收方网元发送报文请求给发送方网元;Request step: the receiver network element sends a message request to the sender network element;
组装报文步骤:发送方网元将第一本地时钟数据填写到发送的报文中;Step of assembling the message: the sending network element fills in the first local clock data into the sent message;
发送报文步骤:发送方网元将组装好的报文予以发送;Sending message step: the sender network element sends the assembled message;
接收报文步骤:接收方网元接收报文,并从其中提取第一本地时钟数据;Step of receiving the message: the receiving network element receives the message, and extracts the first local clock data from it;
计算传输时延步骤:接收方网元根据提取的第一本地时钟数据与接收方网元本地时钟数据作差值运算,得到传输时延;The step of calculating the transmission delay: the receiver network element performs a difference operation based on the extracted first local clock data and the receiver network element local clock data to obtain the transmission delay;
判断网络性能步骤:将传输时延与设定阈值作比较,判断出该动态弹性分组环网络的性能。The step of judging network performance: comparing the transmission delay with a set threshold to judge the performance of the dynamic elastic packet ring network.
所述的阈值,为上一次传输时延值。The threshold is the last transmission delay value.
所述的请求步骤,是周期进行的。The request step is performed periodically.
所述的数据报文,为符合RPR标准定义的Echo帧结构的报文。The data message is a message conforming to the Echo frame structure defined by the RPR standard.
所述的数据报文,为符合RPR标准定义的Flush帧结构的报文。The data message is a message conforming to the Flush frame structure defined by the RPR standard.
所述的组装报文的步骤,是将发送方网元第一本地时钟数据填写到数据报文的用户数据字段。The step of assembling the message is to fill in the first local clock data of the sending network element into the user data field of the data message.
所述的接收方网元与发送方网元为同一个网元。The receiver network element and the sender network element are the same network element.
所述的接收方网元与发送方网元为不同的网元。The receiver network element and the sender network element are different network elements.
本发明提出一个利用报文获取数据在环路上面传输消耗时间的并对网络进行监测的方法。其中Echo报文是用于检测环网完整性的报文,通过不断发送和接收该报文可以确定环网物理上的完整性:发送一个Echo报文,绕环一圈后,在本节点接收,如果环网物理结构没有损坏,可以按照顺序接收每次发送的报文,从而判断环网物理的完整性。Flush报文一个结点发送,其他节点接收,使其他结点可以判断环网物理的完整性。与Echo报文相比区别在其他节点接收,不是本节点接收。从而可以方便计算环网数据传输的时间,方便网管评估网路性能和定位网络问题。The present invention proposes a method for monitoring the network which consumes time for data transmission on the loop by using the message. The Echo message is a message used to detect the integrity of the ring network. By continuously sending and receiving the message, the physical integrity of the ring network can be determined: send an Echo message, go around the ring, and receive it at the local node. , if the physical structure of the ring network is not damaged, the packets sent each time can be received in order, so as to judge the physical integrity of the ring network. The Flush message is sent by one node and received by other nodes, so that other nodes can judge the physical integrity of the ring network. Compared with the Echo message, it is received by other nodes, not by this node. In this way, it is convenient to calculate the data transmission time of the ring network, and it is convenient for the network administrator to evaluate network performance and locate network problems.
附图说明Description of drawings
图1是RPR标准定义中的Echo帧和Flush帧的结构示意图;Figure 1 is a schematic structural diagram of the Echo frame and the Flush frame in the definition of the RPR standard;
图2是本发明的一个流程图。Figure 2 is a flow chart of the present invention.
具体实施方式Detailed ways
下面结合说明书附图来说明本发明的具体实施方式。The specific implementation manners of the present invention will be described below in conjunction with the accompanying drawings.
如图1所示,是RPR定义的Echo帧和Flush帧的报文格式。As shown in Figure 1, it is the message format of the Echo frame and the Flush frame defined by RPR.
在RPR标准定义中,Echo帧和Flush帧的报文格式基本相同,只有UserData是用户可以自定义的字段。我们对该字段予以利用,并且提出一个报文发送时标和报文接收时标的概念,其中报文发送时标是用来记录发送报文时刻发送网元本地时钟数据的,报文接收时标是用来记录报文接收时刻接收网元本地时钟数据的。In the RPR standard definition, the packet formats of Echo frames and Flush frames are basically the same, and only UserData is a user-defined field. We make use of this field and propose a concept of message sending time stamp and message receiving time stamp. The message sending time stamp is used to record the local clock data of the network element at the moment when the message is sent, and the message receiving time stamp It is used to record the local clock data of the received network element at the time when the packet is received.
我们在RPR协议定义的ECHO和FLUSH帧增加计时时间片,称为时标,共有发送时标和接收时标两种时标。报文发送的时候将发送时标填入发送的时间内,报文接收时填入接收的时间,再计算出发送时间和接受时间的时间间隔。其中ECHO和FLUSH帧,分别用于计算LRTT(Loop Round Trip Time)和RRTT(Ring Round Trip Time)时间。ECHO报文在发送网元计算,FLUSH报文在其他任意网元都可以,任意指定的。We add timing time slices to the ECHO and FLUSH frames defined in the RPR protocol, which are called time stamps. There are two types of time stamps: sending time stamps and receiving time stamps. When the message is sent, the sending time stamp is filled in the sending time, when the message is received, the receiving time is filled in, and then the time interval between the sending time and the receiving time is calculated. Among them, ECHO and FLUSH frames are used to calculate LRTT (Loop Round Trip Time) and RRTT (Ring Round Trip Time) time respectively. The ECHO message is calculated on the sending network element, and the FLUSH message can be sent to any other network element, which can be specified arbitrarily.
这里定义的userData的格式如下:The format of userData defined here is as follows:
如图2所示,是本发明的一个流程示意图,从图中可见,本发明包括以下步骤:As shown in Figure 2, it is a schematic flow chart of the present invention, as can be seen from the figure, the present invention comprises the following steps:
请求步骤:接收方网元发送报文请求给发送方网元;Request step: the receiver network element sends a message request to the sender network element;
我们在接收方网元设定一个定时器,定时器定时发送请求。We set a timer on the receiving network element, and the timer sends requests regularly.
组装报文步骤:发送方网元将第一本地时钟数据填写到发送的数据报文中;Step of assembling the message: the sending network element fills in the first local clock data into the sent data message;
每当请求到来时,发送方网元将本地时钟作为ECHO或者FLUSH报文的一部分加入到这些报文中,同时加入协议规定的其他信息,组成一个完整的报文,以供发送;这里可以采取:当发送格式为Flush或Echo Request时,发送方网元将一个报文发送时标写入Userdata偏移18个字节的32位字段;Whenever a request comes, the sending network element adds the local clock as a part of the ECHO or FLUSH message to these messages, and at the same time adds other information specified by the protocol to form a complete message for sending; here you can take : When the sending format is Flush or Echo Request, the sending network element writes a message sending time stamp into the 32-bit field of Userdata with an offset of 18 bytes;
发送数据报文步骤:发送方网元将组装好的数据报文予以发送;Step of sending the data message: the sender network element sends the assembled data message;
接收数据报文步骤:接收方网元接收数据报文;The step of receiving the data message: the receiving network element receives the data message;
当接收方网元接收到Flush或Echo response时,将时标写入Userdata偏移22字节的32位字段;When the receiver network element receives the Flush or Echo response, write the time stamp into the 32-bit field of Userdata with an offset of 22 bytes;
计算传输时延步骤:接收方网元根据第一本地时钟数据与接收方网元本地时钟数据作差值运算,得到传输时延;The step of calculating the transmission delay: the receiving network element performs a difference operation according to the first local clock data and the local clock data of the receiving network element to obtain the transmission delay;
接收方网元接收到Echo或者Flush报文后,从接收到的报文中提取报文发送时标和报文接收时标,根据两个时钟数据作差值计算,得出报文收发的时间差值,作为判断网络性能的依据。After receiving the Echo or Flush message, the receiving network element extracts the message sending time stamp and the message receiving time stamp from the received message, calculates the difference between the two clock data, and obtains the time when the message is sent and received The difference is used as the basis for judging network performance.
判断网络性能步骤:将传输时延与设定阈值作比较,判断出该动态弹性分组环网络的性能。The step of judging network performance: comparing the transmission delay with a set threshold to judge the performance of the dynamic elastic packet ring network.
其中设定的阈值是上一次计算的传输时延,或者是用户根据网络性能自行设定的,如果得到的结果相对于上次的结果相差很大,说明环网物理上面出现问题,需要各个结点给予必要的关注。从而实现环网的检测、环网性能评估等功能。The threshold set here is the transmission delay calculated last time, or it is set by the user according to the network performance. If the result obtained is very different from the last result, it means that there is a problem in the ring network physics. Point to give the necessary attention. In this way, functions such as ring network detection and ring network performance evaluation are realized.
由于网络传送时间的长短可以评估网络性能的好坏,如果传输时间比上一次检测的结果长,也说明网络的性能下降了。由于FLUSH报文的接收节点并不局限于发送节点,所以当接收FLUSH报文的结点检测异常,而其之前的结点没有发现异常时,可以判定,故障出现在这两个结点之间。The network performance can be evaluated by the length of the network transmission time. If the transmission time is longer than the last detection result, it also indicates that the performance of the network has declined. Since the receiving node of the FLUSH message is not limited to the sending node, when the node receiving the FLUSH message detects an abnormality, and the previous node does not find an abnormality, it can be determined that the fault occurs between these two nodes .
本发明可以方便计算环网数据传输的时间,采用在ECHO帧和Flush帧添加时间字段的方式记录数据流在环网节点间和整个环网上面传送所需要的时间,从而得到环网数据传送的时间消耗,方便网管评估网路性能和定位网络问题。其中Echo报文是用于检测环网完整性的报文,通过不断发送和接收该报文可以确定环网物理上的完整性:发送一个Echo报文,绕环一圈后,在本节点接收,如果环网物理结构没有损坏,可以按照顺序接收每次发送的报文,从而判断环网物理的完整性。Flush报文一个结点发送,其他节点接收,从而使其他结点可以判断环网物理的完整性。与Echo报文相比区别在其他节点接收,不是本节点接收。The present invention can conveniently calculate the time of ring network data transmission, and record the time required for data flow to be transmitted between ring network nodes and on the entire ring network by adding a time field in the ECHO frame and Flush frame, thereby obtaining the ring network data transmission time Time-consuming, it is convenient for the network administrator to evaluate network performance and locate network problems. The Echo message is a message used to detect the integrity of the ring network. By continuously sending and receiving the message, the physical integrity of the ring network can be determined: send an Echo message, go around the ring, and receive it at the local node. , if the physical structure of the ring network is not damaged, the packets sent each time can be received in order, so as to judge the physical integrity of the ring network. The Flush message is sent by one node and received by other nodes, so that other nodes can judge the physical integrity of the ring network. Compared with the Echo message, it is received by other nodes, not by this node.
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CNB2004100548188ACN100377535C (en) | 2004-07-22 | 2004-07-22 | A Dynamic Resilient Packet Ring Network Monitoring Method |
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CNB2004100548188ACN100377535C (en) | 2004-07-22 | 2004-07-22 | A Dynamic Resilient Packet Ring Network Monitoring Method |
| Publication Number | Publication Date |
|---|---|
| CN1725712A CN1725712A (en) | 2006-01-25 |
| CN100377535Ctrue CN100377535C (en) | 2008-03-26 |
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CNB2004100548188AExpired - Fee RelatedCN100377535C (en) | 2004-07-22 | 2004-07-22 | A Dynamic Resilient Packet Ring Network Monitoring Method |
| Country | Link |
|---|---|
| CN (1) | CN100377535C (en) |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN100421395C (en)* | 2005-09-19 | 2008-09-24 | 华为技术有限公司 | A Method of Obtaining Link Evaluation Parameters Based on Resilient Packet Ring |
| CN101483883B (en)* | 2008-12-17 | 2011-09-14 | 上海华为技术有限公司 | Data processing method, apparatus and communication system |
| CN101964734A (en)* | 2010-10-18 | 2011-02-02 | 中兴通讯股份有限公司 | Method and device for measuring network port fault time |
| CN104301168A (en)* | 2013-07-31 | 2015-01-21 | 肖华林 | Message transmission delay measurement method and system |
| CN104702397B (en)* | 2013-12-05 | 2019-07-12 | 中兴通讯股份有限公司 | A kind of OBTN slot length method of adjustment, device and node |
| CN105610535B (en)* | 2015-12-25 | 2018-06-29 | 南方电网科学研究院有限责任公司 | Method and system for synchronizing round trip time of EPON access service |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2000074318A1 (en)* | 1999-06-02 | 2000-12-07 | Marconi Communications, Inc. | Transmitter-based path protection switching in a ring network |
| CN1412977A (en)* | 2001-10-10 | 2003-04-23 | 阿尔卡塔尔公司 | Method for propagating fault information in RPR network and corresponding RPR data packet |
| US20030147356A1 (en)* | 2002-02-07 | 2003-08-07 | Jan Vandenhoudt | High speed healing ring for optical transport networks |
| US20040114530A1 (en)* | 2002-12-16 | 2004-06-17 | Alcatel Canada Inc. | Topology discovery in a dual ring network |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2000074318A1 (en)* | 1999-06-02 | 2000-12-07 | Marconi Communications, Inc. | Transmitter-based path protection switching in a ring network |
| CN1412977A (en)* | 2001-10-10 | 2003-04-23 | 阿尔卡塔尔公司 | Method for propagating fault information in RPR network and corresponding RPR data packet |
| US20030147356A1 (en)* | 2002-02-07 | 2003-08-07 | Jan Vandenhoudt | High speed healing ring for optical transport networks |
| US20040114530A1 (en)* | 2002-12-16 | 2004-06-17 | Alcatel Canada Inc. | Topology discovery in a dual ring network |
| Publication number | Publication date |
|---|---|
| CN1725712A (en) | 2006-01-25 |
| Publication | Publication Date | Title |
|---|---|---|
| CN101026504B (en) | Network performance measuring method | |
| US8520530B2 (en) | Method and apparatus for providing availability metrics for measurement and managment of ethernet services | |
| Yang et al. | Modeling UMTS power saving with bursty packet data traffic | |
| US20050099954A1 (en) | Ethernet OAM network topography discovery | |
| US20050099951A1 (en) | Ethernet OAM fault detection and verification | |
| US20140086064A1 (en) | Ethernet oam performance management | |
| CN101192951A (en) | IPv6 network link utilization measurement method, measurement device and IPv6 network router | |
| WO2011079702A1 (en) | Method, device and router for packet loss detection | |
| CN100502324C (en) | A Method for Obtaining Link Evaluation Parameters | |
| CN101569137A (en) | Efficient performance monitoring using IPv6 capabilities | |
| CN109672560B (en) | Flexible Ethernet management channel expansion method and device | |
| CN101964727B (en) | Method and device for measuring available bandwidth by using mixed messages | |
| CN104918267A (en) | Heartbeat detection method of wireless sensor network and apparatus thereof | |
| CN102739448A (en) | Method, device and system for transmitting messages | |
| CN100550786C (en) | In data network operation and maintenance agreement to the method for performance monitoring of frame transmission | |
| Saif et al. | A pure HTTP/3 alternative to MQTT-over-QUIC in resource-constrained IoT | |
| CN103416022A (en) | In-service throughput testing in distributed router/switch architectures | |
| CN102227110A (en) | Method, device and communication system for measuring one-way delay | |
| CN100377535C (en) | A Dynamic Resilient Packet Ring Network Monitoring Method | |
| WO2016062165A1 (en) | Method and apparatus for implementing operations, administration and maintenance function | |
| CN100428691C (en) | A time synchronization device and method for digital home network | |
| CN1992651B (en) | Realization Method of Detecting Ethernet Multicast Performance | |
| CN103269277B (en) | For finding method and system, the first network element and the webmaster equipment of link | |
| Wang et al. | Every packet counts: Fine-grained delay and loss measurement with reordering | |
| CN101771597A (en) | Multi-message convergence transmission method for field level industrial wireless network |
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| C14 | Grant of patent or utility model | ||
| GR01 | Patent grant | ||
| C17 | Cessation of patent right | ||
| CF01 | Termination of patent right due to non-payment of annual fee | Granted publication date:20080326 Termination date:20110722 |