Transmission monitoring method and device
AssigneeZte Corporation
InventorsShaoyong Wu, Yuxi Gan, Jin Yang
Life of this patent
Estimating the term…
Abstract
A transmission monitoring method and apparatus are provided. The method includes: in a case that an input port of a network node receives M frames, counting the number N of frames sent by an output port of the network node corresponding to the received M frames; in a case that the M is different from the N, determining that frame loss exists in the network node, wherein the M and the N are positive integers. Through the method and apparatus of the present document, the problems of failing to determine a specific device where the frame loss occurs and the construction cost being high are solved, the accuracy and the flexibility of monitoring a position of the frame loss are improved, and the construction cost is reduced.
Claims18
A transmission monitoring method, comprising:
- in a case that an input port of a network node receives M frames, counting the number N of frames sent by an output port of the network node corresponding to the received M frames;
- and
- in a case that the M is different from the N, determining that frame loss exists in the network node;
- wherein the step of counting the number N of frames sent by an output port of the network node corresponding to the received M frames in a case that an input port of a network node receives M frames comprises:
- measuring the number of received frames of frames received by the input port, and sending the number of received frames to the output port;
- when the output port receives the number of received frames, measuring the number of transmitted frames of frames sent by the current output port;
- and
- calculating a first difference value of the number of received frames received by the output port at this time and the number of received frames received by the output port last time as the M, and calculating a second difference value of the number of transmitted frames measured by the output port at this time and the number of transmitted frames measured by the output port last time as the N;
- wherein the M and the N are positive integers.
A transmission monitoring apparatus, comprising a processor, and a storage device for storing computer executable instructions that when executed by the processor cause the processor to perform the steps in following modules:
- a counting module, configured to:
- in a case that an input port of a network node receives M frames, count the number N of frames sent by an output port of the network node corresponding to the received M frames;
- and
- a determining module, configured to:
- in a case that the M is different from the N, determine that frame loss exists in the network node;
- wherein, the counting module comprises:
- a first measuring module, configured to:
- measure the number of received frames of frames received by the input port;
- a transmitting module, configured to:
- send the number of received frames to the output port;
- a second measuring module, configured to:
- when the output port receives the number of received frames, measure the number of transmitted frames of frames sent by the current output port;
- and
- a first calculating module, configured to:
- calculate a first difference value of the number of received frames received by the output port at this time and the number of received frames received by the output port last time as the M, and calculate a second difference value of the number of transmitted frames measured by the output port at this time and the number of transmitted frames measured by the output port last time as the N;
- wherein the M and the N are positive integers.
Dependencies are inferred from the claim text.