CN106817269A - Internet monitoring method and system and relevant device - Google Patents
Internet monitoring method and system and relevant device Download PDFInfo
- Publication number
- CN106817269A CN106817269A CN201510860730.3A CN201510860730A CN106817269A CN 106817269 A CN106817269 A CN 106817269A CN 201510860730 A CN201510860730 A CN 201510860730A CN 106817269 A CN106817269 A CN 106817269A
- Authority
- CN
- China
- Prior art keywords
- data packet
- monitoring
- network layer
- network
- module
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000012544 monitoring process Methods 0.000 title claims abstract description 186
- 238000000034 method Methods 0.000 title claims abstract description 44
- 230000005540 biological transmission Effects 0.000 claims description 31
- 238000012806 monitoring device Methods 0.000 claims description 11
- 238000004364 calculation method Methods 0.000 claims description 9
- 238000010586 diagram Methods 0.000 description 6
- 239000003550 marker Substances 0.000 description 5
- 238000004891 communication Methods 0.000 description 4
- 239000000523 sample Substances 0.000 description 3
- 238000012360 testing method Methods 0.000 description 3
- 238000004590 computer program Methods 0.000 description 2
- 239000000284 extract Substances 0.000 description 2
- 238000005259 measurement Methods 0.000 description 2
- 230000008447 perception Effects 0.000 description 2
- 238000004422 calculation algorithm Methods 0.000 description 1
- 230000001934 delay Effects 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 238000000691 measurement method Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/08—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
- H04L43/0823—Errors, e.g. transmission errors
- H04L43/0829—Packet loss
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/08—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
- H04L43/0852—Delays
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/08—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
- H04L43/0852—Delays
- H04L43/087—Jitter
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
The invention discloses a kind of Internet monitoring method and system and relevant device.Method therein includes:The first marking arrangement positioned at first network outlet receives the packet from first network;First marking arrangement is packet addition monitoring field, and monitoring field includes that the sequence number and the first marking arrangement of mark data package location forward the time of packet;First marking arrangement forwards the packet to the second network;Packet is received positioned at the second marking arrangement of the second Web portal, the time that the information that the monitoring field in packet is included and the second marking arrangement receive packet is sent to Internet monitoring platform;Internet monitoring platform determines network layer transport performance according to the information for receiving.The active that the present invention realizes Internet is monitored with road so that monitoring process is easy to deployed in real time without interference with normal service traffics, highly versatile.
Description
Technical Field
The present invention relates to the field of communication networks, and in particular, to a network layer monitoring method and system and related devices.
Background
Traffic flow across a DC (Domain Controller) refers to traffic flow where data access from one DC to another DC requires passing through a backbone network, such as video traffic (users access video servers through the backbone network). For such traffic flows, the user experience will deteriorate if a failure occurs during the transmission. Therefore, it is necessary to know the transmission performance between DCs and monitor the network in real time.
In the prior art, there are two types of real-time monitoring methods, active and passive, for network monitoring. Passive methods such as netflow (a kit for analyzing network packet information), flow-s (a traffic collection probe for ethernet), etc. software or hardware probes are essentially flow statistics and cannot measure delay and jitter. In the active method, one method is to actively initiate probing for the network, such as a service test instrument, a test probe, analog terminal software, etc., which will affect and interfere with normal service traffic; another method is a channel following method, such as the current MPG4(moving picture Experts Group 4, motion picture Experts Group 4) and IPTV (internet protocol Television) measurement systems, which are measurement methods of an application layer, where MOS (Mean Opinion Score) represents subjective perception of a user, and cannot be associated with network layer transmission performance, and a professional service measurement system needs to be deployed, and lacks generality.
Disclosure of Invention
The embodiment of the invention aims to solve the technical problem that: how to realize the monitoring of the transmission performance of the network layer under the condition of not influencing the traffic flow.
According to a first aspect of the embodiments of the present invention, there is provided a network layer monitoring method, including: a first tag device located at an egress of a first network receives a data packet from the first network; the first marking equipment adds a monitoring field to the data packet, wherein the monitoring field comprises a serial number for identifying the position of the data packet and the time for forwarding the data packet by the first marking equipment; the first marking device forwards the data packet to a second network; a second marking device positioned at a second network entrance receives the data packet, and sends information contained in the monitoring field in the data packet and the time of the second marking device receiving the data packet to a network layer monitoring platform; and the network layer monitoring platform determines the transmission performance of the network layer according to the received information.
In one embodiment, the first marking device identifies whether the received data packet is a target data packet, and adds a monitoring field to the target data packet; and the second marking equipment identifies whether the received data packet is a target data packet or not, and sends the information contained in the monitoring field in the target data packet and the time for receiving the data packet to the network layer monitoring platform.
In one embodiment, the monitoring field further comprises a monitoring identity, such that the second tag device recognizes the monitoring field from the data packet.
In one embodiment, further comprising: the second marking device deletes the monitoring field in the data packet.
In one embodiment, the sequence number in the monitoring field is incremented by a certain step size according to the transmission order of the data packets.
In one embodiment, the network layer monitoring platform determining the network layer transmission performance according to the received information comprises: and the network layer monitoring platform determines the packet loss rate, the time delay or the jitter of the network layer according to the received information.
In one embodiment, the method further comprises: and when the network layer transmission performance determined by the network layer monitoring platform exceeds a set threshold, the network layer monitoring platform sends alarm information.
According to a second aspect of the embodiments of the present invention, there is provided a marking device for network layer monitoring, located at an exit of a network to which the marking device belongs, the marking device including: the system comprises a first receiving module, a marking module and a forwarding module; and/or, the marking device comprises: the second receiving module and the information sending module; the first receiving module is used for receiving a data packet from a network to which the marking device belongs; the marking module is used for adding a monitoring field to the data packet received by the first receiving module; the forwarding module is used for forwarding the data packet processed by the marking module; the second receiving module is used for receiving the data packet from the external network; the information sending module is used for sending the information contained in the monitoring field in the data packet received by the second receiving module and the time for the second receiving module to receive the data packet to the network layer monitoring equipment; wherein the monitoring field includes a sequence number identifying the location of the data packet and a time at which the marking device forwarded the data packet.
In one embodiment, the marking module is used for identifying whether a received data packet from a network to which the marking device belongs is a target data packet or not, and adding a monitoring field to the target data packet; the second receiving module is used for identifying whether the received data packet from the external network is a target data packet or not; the information sending module is used for sending the information contained in the monitoring field in the target data packet and the time for receiving the target data packet to the network layer monitoring platform.
In one embodiment, the monitoring field further comprises a monitoring identity, such that the second tag device recognizes the monitoring field from a data packet from the external network.
In one embodiment, the marking device further comprises a deleting module for deleting the monitoring field in the data packet from the external network.
In one embodiment, the sequence number in the monitoring field is incremented by a certain step size according to the transmission order of the data packets from the network to which the tag device belongs.
According to a third aspect of the embodiments of the present invention, there is provided a network layer monitoring device, including: the information acquisition module is used for acquiring the serial number of the data packet sent by the second marking device, the time of the data packet forwarded by the first marking device and the time of the data packet received by the second marking device; and the performance calculation module is used for determining the transmission performance of the network layer according to the information received by the information acquisition module.
In one embodiment, the performance calculating module is configured to determine a packet loss rate, a delay time, or a jitter of the network layer according to the information received by the information obtaining module.
In one embodiment, the device further includes an alarm module, configured to send an alarm message when the network layer transmission performance determined by the performance calculation module exceeds a set threshold.
According to a third aspect of the embodiments of the present invention, there is provided a network layer monitoring system, including: the aforementioned marking device for network layer monitoring, and the aforementioned network layer monitoring device.
The invention realizes the active channel monitoring of the network layer, so that the monitoring process can not interfere with the normal service flow, and the invention is easy to deploy in real time and has strong universality.
Other features of the present invention and advantages thereof will become apparent from the following detailed description of exemplary embodiments thereof, which proceeds with reference to the accompanying drawings.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a schematic view of a network layer monitoring method according to the present invention.
Fig. 2 is a flow chart of an embodiment of the network layer monitoring method of the present invention.
Fig. 3 is a flow chart of another embodiment of the network layer monitoring method of the present invention.
Fig. 4 is a flow chart of a network layer monitoring method according to another embodiment of the present invention.
Fig. 5 is a schematic structural diagram of an embodiment of the network layer monitoring system of the present invention.
Fig. 6 shows a schematic structural view of an embodiment of the marking apparatus of the present invention.
Fig. 7 is a schematic structural diagram of an embodiment of the network layer monitoring device of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. The following description of at least one exemplary embodiment is merely illustrative in nature and is in no way intended to limit the invention, its application, or uses. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Fig. 1 is a scene diagram of the network layer monitoring method according to the present invention. As shown in fig. 1, the label devices 111, 112, 113, and 114 are disposed at the outlets of the networks, each label device 111, 112, 113, and 114 has access to an IP (Internet Protocol) bearer network, and can communicate with each other through the IP bearer network, and meanwhile, each label device 111, 112, 113, and 114 is in communication connection with the network layer monitoring platform 12.
Referring to the application scenario in fig. 1, taking network layer monitoring of a path between a first network and a second network as an example, a network layer monitoring method according to an embodiment of the present invention is described with reference to fig. 2.
Fig. 2 is a flowchart of a network layer monitoring method according to an embodiment of the present invention. As shown in fig. 2, the method of this embodiment includes:
step S202, a host located in a first network initiates communication to a host located in a second network, and a first tag device located at an exit of the first network receives a data packet from the first network.
Step S204, the first marking device adds a monitoring field to the data packet, wherein the monitoring field comprises a serial number for identifying the position of the data packet and the time for the first marking device to forward the data packet.
When the first marking device adds the monitoring field to the data packet, the monitoring field can be added to a proper position in the original data packet, that is, the field is customized as the monitoring field. For example, it is optional to insert a monitoring field in a location where an MPLS (Multi-Protocol Label Switching) tag or a VLAN (Virtual Local Area Network) tag is inserted.
In step S206, the first tag device forwards the packet to the second network.
Step S208, the second tag device located at the second network entry receives the data packet, and sends the information included in the monitoring field in the data packet and the time for the second tag device to receive the data packet to the network layer monitoring platform.
After the second tag device receives the data packet and extracts the information contained in the monitoring field in the data packet, the method may further include the following steps: the second marking device deletes the monitoring field in the data packet. After the second tag device forwards the information contained in the monitoring field to the network layer monitoring platform, the second tag device and the second network do not need the information any more, so that unnecessary information transmission can be avoided by deleting the information.
Step S210, the network layer monitoring platform determines the transmission performance of the network layer according to the received information.
The network layer transmission performance may include a packet loss rate, a delay, or jitter of the network layer.
By the scheme, active channel monitoring of a network layer is realized, normal service flow cannot be interfered in the monitoring process, real-time deployment is easy, and the universality is high.
In order to facilitate the network layer monitoring platform to determine the network layer transmission performance in step S210, the sequence number in the monitoring field may be incremented by a certain step length according to the transmission sequence of the data packet. For example, the host of the first network sequentially sends three data packets to the host of the second network, and when the sequence number in the monitoring field of the first data packet is 0x0031 and the step size of the sequence number is 2, the sequence numbers in the monitoring fields of the second and third data packets are 0x0033 and 0x0035, respectively. The following specifically describes the method for calculating the packet loss rate, the delay and the jitter of the network layer by the network layer monitoring platform in step S210.
The network layer monitoring platform can calculate the packet loss number in a plurality of continuous data packets according to the sequence number in the monitoring field, and determine the packet loss rate according to the packet loss number and the number of the plurality of continuous data packets. Since the sequence number in the monitoring field is incremented by a certain step, for several consecutive data packets, when the sequence number of the first data packet participating in statistics is determined, the sequence number of the last data packet in the several consecutive data packets can be easily determined, and the specific calculation method may be:
sequence number of last data packet
Sequence number of first packet + step x (number of packets-1)
After the initial data packet and the last data packet are determined, the total number of the data packets sent by the first network can be known. The network layer monitoring platform counts the number of the data packets received by the second marker device between the two data packets, and then calculates the packet loss rate according to the following method:
packet loss rate
(total number of packets-number of packets received by the second marker device)/total number of packets
The network layer monitoring platform may also determine the time delay of each data packet according to the time for receiving the data packet and the time for forwarding the data packet, and the specific calculation method may be:
time delay of a packet-the time to receive the packet-the time to forward the packet
In addition, the network layer monitoring platform may determine an average delay according to the delay of each data packet, that is:
average delay-the sum of the delays of the individual data packets/number of data packets
The network layer monitoring platform can also calculate the jitter of the network side according to the information sent by the marking equipment. Jitter includes inter-arrival jitter and time-of-arrival jitter.
The network layer monitoring platform can determine the arrival interval jitter of two data packets according to the time of receiving the data packet and the time of forwarding the data packet of each data packet in any two data packets. Setting the time of the ith data packet forwarded by the first marking device as SiThe time received by the second marking device is Ri(ii) a The time for the jth data packet to be forwarded by the first marking device is SjThe time received by the second marking device is Rj. The inter-arrival jitter D (i, j) of the ith and jth packets is:
D(i,j)=(Rj-Ri)-(Sj-Si)=(Rj-Sj)-(Ri-Si)
based on the arrival interval jitter, the network layer monitoring platform can also calculate the arrival time jitter. The calculation formula of the arrival time jitter j (i) of the ith packet may be:
J(i)=J(i–1)+(|D(i-1,i)|-J(i-1))/16
by adopting the method, the network layer monitoring platform can determine the transmission performance of the network layer according to the received information.
The invention can comprehensively monitor network faults and can also monitor network layers in a targeted manner according to requirements. For example, the following methods can be employed: when a first marking device positioned at a first network outlet adds a monitoring field to a data packet, identifying whether the received data packet is a target data packet, and if so, adding the monitoring field to the target data packet; correspondingly, when the second marking device receives the data packet and sends the information contained in the monitoring field in the data packet and the time for receiving the data packet to the network layer monitoring platform, whether the received data packet is the target data packet or not is identified, and if yes, the information contained in the monitoring field in the target data packet and the time for receiving the data packet are sent to the network layer monitoring platform. By adopting the method, only the target flow can be monitored, and the additional pressure brought to the network by carrying out unnecessary monitoring is avoided.
In addition, the marking device may identify whether the received packet is a destination packet, for example, based on five-tuple information in the packet. The five-tuple information includes a source IP address, a source port number, a destination IP address, a destination port number, and a transport layer protocol. The method of the present invention for network layer monitoring of a specific user according to quintuple information is described below with reference to fig. 3.
Fig. 3 is a flowchart of another embodiment of a network layer monitoring method according to the present invention. As shown in fig. 3, the method of this embodiment includes:
step S302, a host of a specific user in a first network initiates communication to a host in a second network, and a first tag device at an exit of the first network receives a data packet from the first network.
Step S304, the first marker device detects the quintuple information in the data packet, and determines whether the source IP address in the quintuple information is the IP address of the specific user. If so, the data packet is a target data packet, the first marking device adds a monitoring field to the target data packet, and the monitoring field comprises a sequence number for identifying the position of the data packet and the time for forwarding the data packet; if not, the first marking device does not add a monitoring field to the data packet.
Step S306, the first tag device forwards the target packet to the second network.
Step S308, the second tag device at the second network entry receives the data packet and identifies whether the source IP address in the five-tuple information of the data packet is the IP address of the specific user. If so, the second marking device sends the information contained in the monitoring field in the data packet and the time for receiving the data packet to the network layer monitoring platform.
Step S310, the network layer monitoring platform determines the network layer transmission performance of the specific user according to the received information.
By identifying the target packet using the quintuple information, network layer monitoring for a specific user or a specific service can be easily achieved.
The method for performing network layer monitoring on OpenFlow-based video services according to the present invention is described below with reference to fig. 4, where the marking device is implemented using an OpenFlow switch.
Fig. 4 is a flowchart of a network layer monitoring method according to another embodiment of the present invention. As shown in fig. 4, the method of this embodiment includes:
step S402, the first network sends the video service flow to the second network.
In step S404, the first OpenFlow switch at the first network egress receives a packet from the first network.
In step S406, the first OpenFlow switch identifies whether the packet is a target packet, and if so, executes step S408.
Step S408, the first OpenFlow switch inserts a monitoring field into the position of the multilayer MPLS label, where the monitoring field includes a sequence number for identifying the position of the packet and a timestamp for forwarding the packet, and converts the video service flow into a video test flow.
Step S410, the first OpenFlow switch forwards the packet to the second network, and the packet is transmitted in the MPLS tunnel.
In step S412, the second OpenFlow switch receives the packet and identifies whether the packet is a target packet, and if so, executes step S414.
In step S414, the second OpenFlow switch extracts the monitoring field in the packet and records the time for receiving the packet.
In step S416, the second OpenFlow switch deletes the monitoring field in the packet.
In step S418, the second OpenFlow switch sends the information included in the monitoring field in the packet and the time for receiving the packet to the network layer monitoring platform.
In step S420, the network layer monitoring platform determines the transmission performance of the OpenFlow-based video service according to the received information.
Specifically, step S420 may include the following steps: firstly, abstracting received information into a statistical table by a network layer monitoring platform, wherein the statistical table comprises a serial number and a timestamp in a monitoring field and the time of a second OpenFlow switch for receiving a data packet; then, the network layer monitoring platform calculates the conditions of time delay, jitter and packet loss according to the table, and determines the transmission performance of the network layer; and finally, when the transmission performance of the network layer exceeds a set threshold value, sending alarm information. For example, when the packet loss rate exceeds 0.5%, mosaics may appear on the video, which causes poor user perception, and at this time, an alarm may be issued to deal with the problem in time.
The statistical table created by the network layer monitoring platform according to the received information can refer to table 1. As shown in table 1, table 1 includes information transmitted by the second tag device. When the situation shown in the third row of table 1 occurs, that is, when the packet forwarded by the first marking device is not received by the second marking device, it indicates that packet loss has occurred.
| Sequence number (send) | Serial number (receive) | Forwarding time | Receiving time |
| 0x003e | 0x003e | 0x951401dc | 0x951401e3 |
| 0x003f | 0x003f | 0x951403ae | 0x9514047a |
| 0x0040 | - | - | - |
| …… | …… | …… | …… |
| 0x0127 | 0x0127 | 0x95183022 | 0x95183041 |
TABLE 1
In the above embodiments, the monitoring field may further include a monitoring flag in addition to the sequence number identifying the location of the data packet and the time of forwarding the data packet, so that the second tag device identifies the monitoring field from the data packet. By setting the monitoring mark, the second marking device can definitely know the position of the monitoring mark, and the second marking device is convenient to extract. Further, the length of the monitoring field may be set in advance so that the second marker device can determine the position of the last bit of the monitoring field from the start position and the length.
Table 2 is an example of a monitoring field in the network layer monitoring method of the present invention. As shown in table 2, the first part of the monitoring field is a monitoring identifier with 2 bytes, and when the second marker device reads that the content of the location of the monitoring identifier is 0x00ff, it can know that the location is the starting location of the monitoring field. The monitoring field is followed by a sequence number of 2 bytes and a forwarding time of 4 bytes recorded in the form of a time stamp. Because the length of each part of the monitoring field is fixed, the second marking device can accurately determine the content of each piece of information carried by the monitoring field. However, it should be clear to those skilled in the art that table 2 is only an exemplary illustration of the monitoring field, and the monitoring field may contain more information, and the sequence between the parts and the length of each information may be adjusted as needed. The details of each part in table 2 are not intended to limit the method of the present invention.
| Monitoring mark | Serial number | Forwarding time |
| 0x00ff | 0x003e | 0x951401dc |
TABLE 2
A network layer monitoring system of one embodiment of the present invention is described below in conjunction with fig. 5.
Fig. 5 is a block diagram of an embodiment of a network layer monitoring system of the present invention. As shown in fig. 5, the system includes a marking device 52 for network layer monitoring and a network layer monitoring device 54. These two devices are explained in detail below.
A marking device for network layer monitoring according to an embodiment of the present invention is described below with reference to fig. 6.
Fig. 6 is a block diagram of an embodiment of a marking device for network layer monitoring according to the present invention. As shown in fig. 6, there is provided a marking device for network layer monitoring, which is located at an exit of a network to which the marking device 52 belongs, including: a first receiving module 622, a marking module 624, and a forwarding module 626; and/or, the marking device comprises: a second receiving module 628 and an information transmitting module 629; the first receiving module 622 is configured to receive a data packet from a network to which the tag device belongs; a marking module 624, configured to add a monitoring field to the data packet received by the first receiving module 622; a forwarding module 626, configured to forward the data packet processed by the marking module 624; a second receiving module 628, configured to receive a data packet from an external network; an information sending module 629, configured to send information included in the monitoring field in the data packet received by the second receiving module 628 and the time when the second receiving module 628 receives the data packet to the network layer monitoring device; wherein the monitoring field includes a sequence number identifying the location of the data packet and a time at which the marking device forwarded the data packet.
The marking module is used for identifying whether a received data packet from a network to which the marking device belongs is a target data packet or not and adding a monitoring field to the target data packet; the second receiving module is used for identifying whether the received data packet from the external network is a target data packet or not; the information sending module is used for sending the information contained in the monitoring field in the target data packet and the time for receiving the target data packet to the network layer monitoring platform.
Wherein the monitoring field further comprises a monitoring identity, such that the second tag device recognizes the monitoring field from a data packet from the external network.
The marking device further comprises a deleting module used for deleting the monitoring field in the data packet from the external network.
The sequence number in the monitoring field is increased according to a certain step length according to the transmission sequence of the data packet from the network to which the marking device belongs.
A network layer monitoring device of one embodiment of the present invention is described below in conjunction with fig. 7.
Fig. 7 is a block diagram of an embodiment of a network layer monitoring device of the present invention. As shown in fig. 7, the network layer monitoring device 54 includes: an information obtaining module 742, configured to obtain a sequence number of a data packet sent by a second tag device, and a time when the data packet is forwarded by a first tag device and a time when the data packet is received by the second tag device; and the performance calculation module 744 is configured to determine the network layer transmission performance according to the information received by the information acquisition module.
The performance calculating module 744 may be configured to determine a packet loss rate, a delay, or jitter of the network layer according to the information received by the information obtaining module.
In addition, the network layer monitoring device 54 may further include an alarm module, configured to send an alarm message when the network layer transmission performance determined by the performance calculation module exceeds a set threshold.
Furthermore, the method according to the invention may also be implemented as a computer program product comprising a computer readable medium having stored thereon a computer program for performing the above-mentioned functions defined in the method of the invention. Those of skill would further appreciate that the various illustrative logical blocks, modules, circuits, and algorithm steps described in connection with the disclosure herein may be implemented as electronic hardware, computer software, or combinations of both.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like that fall within the spirit and principle of the present invention are intended to be included therein.
Claims (16)
1. A network layer monitoring method, comprising:
a first tag device at an egress of a first network receives a data packet from the first network;
the first marking device adds a monitoring field to the data packet, wherein the monitoring field comprises a serial number for identifying the position of the data packet and the time for the first marking device to forward the data packet;
the first marking device forwards the data packet to a second network;
a second marking device positioned at the second network entrance receives the data packet, and sends information contained in the monitoring field in the data packet and the time of receiving the data packet by the second marking device to a network layer monitoring platform;
and the network layer monitoring platform determines the transmission performance of the network layer according to the received information.
2. The method of claim 1, wherein,
the first marking equipment positioned at the first network outlet identifies whether the received data packet is a target data packet or not, and adds a monitoring field to the target data packet;
and the second marking equipment identifies whether the received data packet is a target data packet or not, and sends information contained in the monitoring field in the target data packet and the time of receiving the data packet by the second marking equipment to a network layer monitoring platform.
3. The method of claim 1, wherein the monitoring field further comprises a monitoring identification, such that the second tag device identifies the monitoring field from the data packet.
4. The method of claim 1, further comprising:
and the second marking equipment deletes the monitoring field in the data packet.
5. The method of claim 1, wherein the sequence number in the monitoring field is incremented by a certain step size according to the transmission order of the data packets.
6. The method of claim 1, wherein the network layer monitoring platform determining network layer transmission performance based on the received information comprises:
and the network layer monitoring platform determines the packet loss rate, the time delay or the jitter of the network layer according to the received information.
7. The method of claim 1, further comprising:
and when the network layer transmission performance determined by the network layer monitoring platform exceeds a set threshold, the network layer monitoring platform sends alarm information.
8. A marking device for network layer monitoring is positioned at the exit of the network to which the marking device belongs,
the marking apparatus includes: the system comprises a first receiving module, a marking module and a forwarding module;
and/or the presence of a gas in the gas,
the marking apparatus includes: the second receiving module and the information sending module;
wherein,
the first receiving module is used for receiving a data packet from a network to which the marking device belongs;
the marking module is used for adding a monitoring field to the data packet received by the first receiving module;
the forwarding module is used for forwarding the data packet processed by the marking module;
the second receiving module is used for receiving a data packet from an external network;
the information sending module is used for sending the information contained in the monitoring field in the data packet received by the second receiving module and the time of the second receiving module for receiving the data packet to the network layer monitoring equipment;
wherein the monitoring field includes a sequence number identifying the location of the data packet and a time at which the marking device forwarded the data packet.
9. The device according to claim 8, wherein the marking module is configured to identify whether a received data packet from a network to which the marking device belongs is a target data packet, and add a monitoring field to the target data packet;
the second receiving module is used for identifying whether the received data packet from the external network is a target data packet;
and the information sending module is used for sending the information contained in the monitoring field in the target data packet and the time for receiving the target data packet to a network layer monitoring platform.
10. The apparatus of claim 8, wherein the monitoring field further comprises a monitoring identification, such that the second tag device identifies the monitoring field from the data packet from the external network.
11. The apparatus of claim 8, further comprising a deleting module configured to delete the monitoring field in the packet from the external network.
12. The apparatus of claim 8, wherein the sequence number in the monitoring field is incremented by a certain step size according to the transmission order of the data packets from the network to which the tag device belongs.
13. A network layer monitoring device comprising:
the information acquisition module is used for acquiring the serial number of the data packet sent by the second marking device, the time of the data packet forwarded by the first marking device and the time of the data packet received by the second marking device;
and the performance calculation module is used for determining the transmission performance of the network layer according to the information received by the information acquisition module.
14. The apparatus according to claim 13, wherein the performance calculating module is configured to determine a packet loss rate, a delay time, or a jitter of a network layer according to the information received by the information obtaining module.
15. The apparatus according to claim 13, further comprising an alarm module configured to send an alarm message when the network layer transmission performance determined by the performance calculation module exceeds a set threshold.
16. A network layer monitoring system comprising:
marking device for network layer monitoring as claimed in any of the claims 8 to 12,
and a network layer monitoring device according to any one of claims 13-15.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201510860730.3A CN106817269B (en) | 2015-12-01 | 2015-12-01 | Network layer monitoring method and system and related equipment |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201510860730.3A CN106817269B (en) | 2015-12-01 | 2015-12-01 | Network layer monitoring method and system and related equipment |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN106817269A true CN106817269A (en) | 2017-06-09 |
| CN106817269B CN106817269B (en) | 2020-03-20 |
Family
ID=59107243
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201510860730.3A Active CN106817269B (en) | 2015-12-01 | 2015-12-01 | Network layer monitoring method and system and related equipment |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN106817269B (en) |
Cited By (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN108173695A (en) * | 2017-12-29 | 2018-06-15 | 深信服网络科技(深圳)有限公司 | Flow monitoring system and method in cloud environment |
| WO2022199456A1 (en) * | 2021-03-24 | 2022-09-29 | 华为技术有限公司 | Packet detecting method, apparatus and system |
| CN115333980A (en) * | 2021-05-11 | 2022-11-11 | 中国联合网络通信集团有限公司 | Test method, second edge node device and edge gateway |
Citations (11)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101083567A (en) * | 2005-06-17 | 2007-12-05 | 阿尔卡特公司 | Performance monitoring of frame transmission in data network oam protocols |
| CN101378337A (en) * | 2007-08-28 | 2009-03-04 | 华为技术有限公司 | Method for measuring service quality, network appliance and network system |
| CN101895442A (en) * | 2010-07-22 | 2010-11-24 | 北京邮电大学 | Network quality active monitoring method and system in credible Internet |
| US20100315951A1 (en) * | 2009-06-11 | 2010-12-16 | Embarq Holdings Company, Llc | System and method for indicating performance information to a user to enhance communications |
| CN102238073A (en) * | 2010-04-30 | 2011-11-09 | 华为技术有限公司 | Network service stream management method and equipment |
| WO2012092789A1 (en) * | 2011-01-07 | 2012-07-12 | 华为技术有限公司 | Method for measuring delay of packet in ethernet switching device and ethernet switching device |
| US20130010600A1 (en) * | 2011-07-08 | 2013-01-10 | Telefonaktiebolaget L M Ericsson (Publ) | Controller Driven OAM for OpenFlow |
| CN103109501A (en) * | 2012-09-29 | 2013-05-15 | 华为技术有限公司 | Network time delay measuring method, device and system |
| CN103618646A (en) * | 2013-11-28 | 2014-03-05 | 瑞斯康达科技发展股份有限公司 | Method for detecting network performance, packet loss probability and time delay and network fringe node equipment |
| CN103957128A (en) * | 2014-03-28 | 2014-07-30 | 山东乾云启创信息科技有限公司 | Method and system for monitoring data flow direction in cloud computing environment |
| CN104486159A (en) * | 2014-12-18 | 2015-04-01 | 东南大学 | Inter-switch link time delay measuring method based on software defined network |
-
2015
- 2015-12-01 CN CN201510860730.3A patent/CN106817269B/en active Active
Patent Citations (11)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101083567A (en) * | 2005-06-17 | 2007-12-05 | 阿尔卡特公司 | Performance monitoring of frame transmission in data network oam protocols |
| CN101378337A (en) * | 2007-08-28 | 2009-03-04 | 华为技术有限公司 | Method for measuring service quality, network appliance and network system |
| US20100315951A1 (en) * | 2009-06-11 | 2010-12-16 | Embarq Holdings Company, Llc | System and method for indicating performance information to a user to enhance communications |
| CN102238073A (en) * | 2010-04-30 | 2011-11-09 | 华为技术有限公司 | Network service stream management method and equipment |
| CN101895442A (en) * | 2010-07-22 | 2010-11-24 | 北京邮电大学 | Network quality active monitoring method and system in credible Internet |
| WO2012092789A1 (en) * | 2011-01-07 | 2012-07-12 | 华为技术有限公司 | Method for measuring delay of packet in ethernet switching device and ethernet switching device |
| US20130010600A1 (en) * | 2011-07-08 | 2013-01-10 | Telefonaktiebolaget L M Ericsson (Publ) | Controller Driven OAM for OpenFlow |
| CN103109501A (en) * | 2012-09-29 | 2013-05-15 | 华为技术有限公司 | Network time delay measuring method, device and system |
| CN103618646A (en) * | 2013-11-28 | 2014-03-05 | 瑞斯康达科技发展股份有限公司 | Method for detecting network performance, packet loss probability and time delay and network fringe node equipment |
| CN103957128A (en) * | 2014-03-28 | 2014-07-30 | 山东乾云启创信息科技有限公司 | Method and system for monitoring data flow direction in cloud computing environment |
| CN104486159A (en) * | 2014-12-18 | 2015-04-01 | 东南大学 | Inter-switch link time delay measuring method based on software defined network |
Cited By (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN108173695A (en) * | 2017-12-29 | 2018-06-15 | 深信服网络科技(深圳)有限公司 | Flow monitoring system and method in cloud environment |
| CN108173695B (en) * | 2017-12-29 | 2021-10-19 | 深信服科技股份有限公司 | Flow monitoring system and method in cloud environment |
| WO2022199456A1 (en) * | 2021-03-24 | 2022-09-29 | 华为技术有限公司 | Packet detecting method, apparatus and system |
| CN115208781A (en) * | 2021-03-24 | 2022-10-18 | 华为技术有限公司 | Transmission method, device and system for detection message |
| CN115208781B (en) * | 2021-03-24 | 2026-01-09 | 华为技术有限公司 | Methods, apparatus and systems for detecting message transmission |
| CN115333980A (en) * | 2021-05-11 | 2022-11-11 | 中国联合网络通信集团有限公司 | Test method, second edge node device and edge gateway |
| CN115333980B (en) * | 2021-05-11 | 2023-10-20 | 中国联合网络通信集团有限公司 | Test method, second edge node device and edge gateway |
Also Published As
| Publication number | Publication date |
|---|---|
| CN106817269B (en) | 2020-03-20 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US20250023804A1 (en) | In-line performance monitoring | |
| US7697452B2 (en) | Method and management apparatus for classifying congestion paths based on packet delay | |
| US10063440B2 (en) | Method and system for measuring packet loss | |
| US6836466B1 (en) | Method and system for measuring IP performance metrics | |
| US20030046388A1 (en) | Systems and methods for network performance measurement using packet signature collection | |
| CN101616037B (en) | Detection method, device and system of packet loss in network communication | |
| US7835290B2 (en) | Method for measuring end-to-end delay in asynchronous packet transfer network, and asynchronous packet transmitter and receiver | |
| US20100177646A1 (en) | Method of estimating quality degradation on network in communication network system | |
| CN101699786A (en) | Method, device and system for detecting packet loss | |
| CN102204164A (en) | Method and apparatus for reporting network packet-losing message | |
| EP2587755A1 (en) | Method, apparatus and system for implementing multicast | |
| KR20060026850A (en) | System for identifying and locating network problems | |
| CN110431807A (en) | Method, device and system for detecting IPTV service quality | |
| US20140036689A1 (en) | Label-based measurement method, apparatus, and system | |
| CN106817269B (en) | Network layer monitoring method and system and related equipment | |
| CN114745302A (en) | Communication method and device | |
| US7898969B2 (en) | Performance measurement in a packet transmission network | |
| CN104067559B (en) | Performance testing method, device and system for multicast channel | |
| JP2008153752A (en) | Abnormal traffic monitoring device, entry management device, and network system | |
| CN103457794B (en) | Method and system for confirming faults of IP bearer network | |
| CN110545213A (en) | Computer network data flow monitoring system and method | |
| US20070177598A1 (en) | Communication conditions determination method, communication conditions determination system, and determination apparatus | |
| US20070280227A1 (en) | Packet distribution system using reproducing appartus and packet distribution method | |
| CN114039888A (en) | Time delay measuring method and device | |
| JP3953999B2 (en) | Congestion detection apparatus, congestion detection method and program for TCP traffic |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant |