CN105991357A - Packet loss determination processing and determining methods and packet loss determination processing and determining devices - Google Patents
Packet loss determination processing and determining methods and packet loss determination processing and determining devices Download PDFInfo
- Publication number
- CN105991357A CN105991357A CN201510064716.2A CN201510064716A CN105991357A CN 105991357 A CN105991357 A CN 105991357A CN 201510064716 A CN201510064716 A CN 201510064716A CN 105991357 A CN105991357 A CN 105991357A
- Authority
- CN
- China
- Prior art keywords
- counting value
- message
- lmr
- remote equipment
- dropped packets
- 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.)
- Pending
Links
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
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The invention provides a packet loss determination processing and determining methods and packet loss determination processing and determining devices. The determination processing method comprises that a loss measurement reply (LMR) packet sent by a remote terminal is received, the LMR packet carries a first count of received data packets performed locally and/or a second count of received data packets performed at the remote terminal, the first count is used for determining local packet loss, and the second count is used for determining packet loss at the remote terminal; and the LMR packet is reported to a local central processing unit (CPU). According technical schemes of the invention, the problem of complex processes resulting from a forwarding module being required to participate in the process of calculating remote or local packet loss in the prior art is solved, maintenance of the forwarding module is facilitated, and process of determining packet loss locally or at a remote terminal is simplified greatly.
Description
Technical field
The present invention relates to the communications field, the determination in particular to a kind of number of dropped packets processes, determines method and device.
Background technology
At international telecommunication union telecommunication standardization (International Telecommunication Union
Telecommunication Standardization Sector, referred to as ITU-T) Y.1731 defined in Ethernet loss survey
Amount function (Ethernet Loss Measurement function, referred to as ETH-LM), is a kind of for equity maintenance
Group of entities (Maintenance Entity Group) end points (Maintenance Entity Group End Point, referred to as MEP)
The measurement of LOF, it is adaptable to the physical network of point-to-point, ETH-LM is broadly divided into single-ended LM and both-end LM.
Y.1731 agreement specifies, is configured with the network equipment MEP MEP network to its equity of ETH-LM
Equipment sends ETH-loss measurement message (LOSS Measurement MESSAGE, referred to as LMM), and solicited message is such as
The frame of form shown in Fig. 1, the counting in message is replicated after receiving ETH-LMM message by the MEP of equity immediately,
And information is such as to construct a ETH-loss measurement response (LOSS Measurement REPLY, referred to as LMR)
The frame of form shown in Fig. 2 returns and goes back, and according to the transmission of some cycles and reception.Equipment often receives a LMR
Data in message will be kept a record by message, and according to the TxFCf (far-end receive data message) in LMR message,
RxFCf (data message that far-end sends), TxFCb (data message of local reception) value receive RxFCl with when forebay
(the local data message sent) value calculates this locality and far-end is lost:
FrameRemoteLoss:|TxFCb[tc]-TxFCb[tp]|-|RxFCl[tc]-RxFCl[tp]|
FrameLocalLoss:|TxFCf[tc]-TxFCf[tp]|-|RxFCf[tc]-RxFCf[tp]|。
But, for network equipment frame diagram as shown in Figure 3, owing to RxFCl is to datagram by forwarding module
Literary composition carries out adding up, it is necessary to by the way of special by the statistical counting value of data message together with the LMR received on
Give the CPU in Fig. 3 and carry out this locality/far-end loss calculating.
For in correlation technique, have to participate in and cause by forwarding module during calculating this locality or far-end lost package
The problem such as process is loaded down with trivial details, effective solution is not yet proposed.
Summary of the invention
In order to solve above-mentioned technical problem, the determination that the invention provides a kind of number of dropped packets processes, determines method and device.
According to an aspect of the invention, it is provided the determination processing method of a kind of number of dropped packets, including: receive remote equipment
The LMR message sent, wherein, carries local the first system for received data message in described LMR message
Count count value and/or described remote equipment the second statistical counting value for received data message, described first statistics meter
Numerical value is for determining the number of dropped packets of described this locality, and described second statistical counting value is for determining the number of dropped packets of described remote equipment;
Described LMR message is reported to the CPU of this locality.
Preferably, before receiving the loss measurement response LMR information that remote equipment sends, also include: to described far-end
Equipment send loss measurement information LMM, wherein, in described LMM increase specific field, with described LMM
In corresponding LMR information, described specific field carries described first statistical counting value and/or described second statistics meter
Numerical value.
Preferably, number of dropped packets L of described remote equipment is determined in the following manner1: L1=| A1-A2|-|B1-B2|, its
In, A1For the transmission packet counting value of described remote equipment current period, A2Before described remote equipment current period
The transmission packet counting value in one cycle, B1For the described second statistical counting value of described current period, B2Before described
The described second statistical counting value in one cycle.
Preferably, number of dropped packets L of described this locality is determined in the following manner2: L2=| C1-C2|-|D1-D2|, wherein, C1
For the transmission packet counting value of described local current period, C2Transmission for the previous cycle of described local current period
Packet counting value, D1For the described first statistical counting value of described current period, D2Described in the described previous cycle
First statistical counting value.
According to another aspect of the present invention, additionally provide a kind of determination method of number of dropped packets, including: receive this locality and report
The loss measurement response LMR message coming from remote equipment, wherein, described LMR message carries local pin
The first statistical counting value and/or described remote equipment to received data message are united for the second of received data message
Meter count value;Number of dropped packets and/or the number of dropped packets of described this locality of described remote equipment is determined according to described LMR message.
Preferably, according to described LMR message determine the number of dropped packets of described remote equipment and/or described this locality number of dropped packets it
After, also include: in number of dropped packets and/or the number of dropped packets of described this locality of described locally displayed described remote equipment.
According to another aspect of the present invention, additionally provide the determination processing means of a kind of number of dropped packets, including: receiver module,
For receiving the loss measurement response LMR message that remote equipment sends, wherein, described LMR message carries this
Ground for the first statistical counting value of received data message and/or described remote equipment for the of received data message
Two statistical counting values, described first statistical counting value is for determining the number of dropped packets of described this locality, described second statistical counting value
For determining the number of dropped packets of described remote equipment;Reporting module, for reporting to the central authorities of this locality by described LMR message
Processor CPU.
Preferably, described device also includes: sending module, for sending loss measurement information LMM to described remote equipment,
Wherein, described LMM increases specific field, in the LMR information corresponding with described LMM, at described finger
Determine field is carried described first statistical counting value and/or described second statistical counting value.
According to another aspect of the present invention, additionally provide the determination device of a kind of number of dropped packets, including: receiver module, use
In receiving the loss measurement response LMR message coming from remote equipment that this locality reports, wherein, described LMR message
In carry local the first statistical counting value for received data message and/or described remote equipment for received number
The second statistical counting value according to message;Determine module, for determining losing of described remote equipment according to described LMR message
Bag number and/or the number of dropped packets of described this locality.
Preferably, described device, also include: display module, for the packet loss at described locally displayed described remote equipment
Several and/or the number of dropped packets of described this locality.
By the present invention, use the parameter that must will be forwarded in prior art by forwarding module: local for received number
Write for the second statistical counting value of received data message according to the first statistical counting value of message and/or described remote equipment
Enter the technological means in the LMR message of far-end transmission, solve in correlation technique, lose in calculating this locality or far-end
Lose during bag and have to participate in and the problem such as the process that causes is loaded down with trivial details by forwarding module, facilitate the maintenance of forwarding module,
Greatly facilitate the process determining locally or remotely lost package.
Accompanying drawing explanation
Accompanying drawing described herein is used for providing a further understanding of the present invention, constitutes the part of the application, the present invention
Schematic description and description be used for explaining the present invention, be not intended that inappropriate limitation of the present invention.In the accompanying drawings:
Fig. 1 is LMM message format schematic diagram in correlation technique;
Fig. 2 is LMR message format schematic diagram in correlation technique;
Fig. 3 is network equipment block diagram in correlation technique;
Fig. 4 is the flow chart of the determination processing method of the number of dropped packets according to the embodiment of the present invention;
Fig. 5 is the LMM message format schematic diagram according to the embodiment of the present invention;
Fig. 6 is the LMR message format schematic diagram according to the embodiment of the present invention;
Fig. 7 is the structured flowchart of the determination processing means of the number of dropped packets according to the embodiment of the present invention;
Fig. 8 is another structured flowchart of the determination processing means of the number of dropped packets according to the embodiment of the present invention;
Fig. 9 is the flow chart of the determination method of the number of dropped packets according to the embodiment of the present invention;
Figure 10 is the structured flowchart of the determination device of the number of dropped packets according to the embodiment of the present invention;
Figure 11 is another structured flowchart of the determination device of the number of dropped packets according to the embodiment of the present invention;
Figure 12 is LMM, LMR process chart according to the preferred embodiment of the present invention;
Figure 13 is that the forwarding face according to the preferred embodiment of the present invention enters to Message processing flow chart;
Figure 14 is that the forwarding face according to the preferred embodiment of the present invention goes out to Message processing flow chart.
Detailed description of the invention
Below with reference to accompanying drawing and describe the present invention in detail in conjunction with the embodiments.It should be noted that in the feelings do not conflicted
Under condition, the embodiment in the application and the feature in embodiment can be mutually combined.
Other features and advantages of the present invention will illustrate in the following description, and, partly become from description
It is clear that or understand by implementing the present invention.The purpose of the present invention and other advantages can be by the explanations write
Structure specifically noted in book, claims and accompanying drawing realizes and obtains.
In order to make those skilled in the art be more fully understood that the present invention program, attached below in conjunction with in the embodiment of the present invention
Figure, is clearly and completely described the technical scheme in the embodiment of the present invention, it is clear that described embodiment is only
It is the embodiment of a present invention part rather than whole embodiments.Based on the embodiment in the present invention, this area is common
The every other embodiment that technical staff is obtained under not making creative work premise, all should belong to the present invention and protect
The scope protected.
Providing the determination processing method of a kind of number of dropped packets in the present embodiment, Fig. 4 is the packet loss according to the embodiment of the present invention
The flow chart of the determination processing method of number, as shown in Figure 4, this flow process comprises the steps:
Step S402, receives the LMR message that remote equipment sends, wherein, carries this locality in above-mentioned LMR message
The first statistical counting value and/or said distal ends equipment for received data message are for the second of received data message
Statistical counting value, above-mentioned first statistical counting value is for determining the number of dropped packets of above-mentioned this locality, and above-mentioned second statistical counting value is used
In the number of dropped packets determining said distal ends equipment;
Step S404, reports to the CPU of this locality by above-mentioned LMR message.
By each step above-mentioned, use the parameter that must will be forwarded in prior art by forwarding module: local for institute
The the first statistical counting value and/or the said distal ends equipment that receive data message add up meter for the second of received data message
Numerical value is written in the LMR message that far-end sends, and then LMR message reports CPU, and then CPU is according to being somebody's turn to do
The technological means of parameter determination lost package locally or remotely, solves in correlation technique, loses in calculating this locality or far-end
Lose during bag and have to participate in and the problem such as the process that causes is loaded down with trivial details by forwarding module, facilitate the maintenance of forwarding module,
Greatly facilitate the process determining locally or remotely lost package.
Further, before performing the loss measurement response LMR information that above-mentioned steps reception remote equipment sends, it is also possible to
Perform techniques below scheme: send loss measurement information LMM to above-mentioned remote equipment, wherein, in above-mentioned LMM
Increase specific field, in the LMR information corresponding with above-mentioned LMM, above-mentioned specific field carries above-mentioned first
Statistical counting value and/or above-mentioned second statistical counting value, such as Fig. 5, shown in Fig. 6, it should be noted that Fig. 5, in 6,
Interval represents the transmission cycle of LMM message, i.e. sends interval, and the opcode in Fig. 5 is used for judging cfm message
LMM message, for be encapsulated into and go out to message numerical value;Opcode in Fig. 6 is used for judging cfm message
LMR message, for be encapsulated into and go out to message numerical value;Mel, for judging the mep of equity, is used for terminating
LMM/LMR message, TxFCf represent to forwarding module obtain from network processing unit converting flow envelope turn LMM,
RxFCf represents that obtaining converting flow encapsulation LMM, TxFCb from network processing unit to forwarding module represents to turning
Send out module read from network processing unit forwarding flow count and seal turn LMM, RxFCb represent into forwarding module from network
In processor, reading forwarding flow counts and seals and turns LMR, and the technical scheme of the embodiment of the present invention, in Y.1731 agreement
Message LMM, LMR message format of single-ended ETH-LM is modified, in order to be more suitable for such as Fig. 3 framework
Network equipment ethernet link LOF measure, strengthen versatility.
Wherein, above-mentioned local goods far-end lost package is determined method particularly includes:
Determine number of dropped packets L of said distal ends equipment in the following manner1: L1=| A1-A2|-|B1-B2|, wherein, A1For
The transmission packet counting value of said distal ends equipment current period, A2The previous cycle for said distal ends equipment current period
Transmission packet counting value, B1For the above-mentioned second statistical counting value of above-mentioned current period, B2For the above-mentioned previous cycle
Above-mentioned second statistical counting value;
Determine number of dropped packets L of above-mentioned this locality in the following manner2: L2=| C1-C2|-|D1-D2|, wherein, C1For above-mentioned
The transmission packet counting value of local current period, C2Transmission message meter for the previous cycle of above-mentioned local current period
Numerical value, D1For the above-mentioned first statistical counting value of above-mentioned current period, D2Above-mentioned first system for the above-mentioned previous cycle
Meter count value.
Use above-mentioned computing formula, abundant Y.1731 computing formula, add and show more detailed link circuit condition on platform,
In addition to this locality/distal frame except mentioning in Y.1731 loses counting, following link data can be added: different cycles this locality is lost
Bag peak value HighFrameRemoteLoss;Different cycles far-end packet loss peak value HighFrameLocalLoss;Far-end is sent out
Total bag number TotalFrameRemoteSend;Local send out bag number TotalFrameLocalSend total;Far-end loses total bag number
TotalFrameRemoteLoss;Total bag number TotalFrameLocalLoss is lost in this locality;Far-end packet loss
FrameRemoteLossRatio;Local packet loss FrameLocalLossRatio.
Using the technique scheme that the embodiment of the present invention provides, LMM, LMR message after amendment can be by all
The traffic count value needed encapsulates in messages.Solving and receive LMR message in the past, the network equipment must pass through it
The data flow data of this frame is given CPU with LMR and is calculated by his means on simultaneously.Can by amended message
To be applicable to the network equipment of different frames, versatility strengthens.Enrich isl frame data, by increasing this locality/far-end
Data cases, the maintenance of network manager can be facilitated
It should be noted that for aforesaid each method embodiment, in order to be briefly described, therefore it is all expressed as a series of
Combination of actions, but those skilled in the art should know, the present invention is not limited by described sequence of movement,
Because according to the present invention, some step can use other orders or carry out simultaneously.Secondly, those skilled in the art are also
Should know, embodiment described in this description belongs to preferred embodiment, and involved action and module might not
It is essential to the invention.
Additionally provide the determination processing means of a kind of number of dropped packets in the present embodiment, be used for realizing above-described embodiment and the most real
Execute mode, carried out repeating no more of explanation, and below the module related in this device had been illustrated.As following
Being used, term " module " can realize the software of predetermined function and/or the combination of hardware.Although following example
Described device preferably realizes with software, but hardware, or the realization of the combination of software and hardware is also possible
And be contemplated.Fig. 7 is the structured flowchart of the determination processing means of the number of dropped packets according to the embodiment of the present invention.Such as Fig. 7 institute
Showing, this device includes:
Receiver module 70, for receiving the LMR message that remote equipment sends, wherein, carries in above-mentioned LMR message
There are local the first statistical counting value for received data message and/or said distal ends equipment for received data message
The second statistical counting value, above-mentioned first statistical counting value for determining the number of dropped packets of above-mentioned this locality, above-mentioned second statistics meter
Numerical value is for determining the number of dropped packets of said distal ends equipment;
Reporting module 72, is connected with receiver module 70, for above-mentioned LMR message reports to the CPU of this locality.
By the comprehensive function of above-mentioned modules, use the parameter that must will be forwarded in prior art by forwarding module:
Local the first statistical counting value for received data message and/or said distal ends equipment are for received data message
Second statistical counting value is written in the LMR message that far-end sends, and then LMR message is reported CPU, and then
CPU, according to the technological means of this parameter determination lost package locally or remotely, solves in correlation technique, is calculating this locality
Or have to participate in and the problem such as the process that causes is loaded down with trivial details by forwarding module during far-end lost package, facilitate forwarding mould
The maintenance of block, greatly facilitates the process determining locally or remotely lost package.
Fig. 8 is another structured flowchart of the determination processing means of the number of dropped packets according to the embodiment of the present invention, as shown in Figure 8,
Described device also includes: sending module 74, is used for described remote equipment transmission loss measurement information LMM, wherein,
Specific field is increased, in the LMR information corresponding with described LMM, at described specific field in described LMM
In carry described first statistical counting value and/or described second statistical counting value.
In order to improve technique scheme, in embodiments of the present invention, additionally provide a kind of determination method of number of dropped packets, figure
9 is the flow chart of the determination method of the number of dropped packets according to the embodiment of the present invention, as it is shown in figure 9, comprise the following steps:
Step S902, receives the LMR message coming from remote equipment that this locality reports, wherein, above-mentioned LMR message
In carry local the first statistical counting value for received data message and/or said distal ends equipment for received number
The second statistical counting value according to message;
Step S904, determines number of dropped packets and/or the number of dropped packets of above-mentioned this locality of said distal ends equipment according to above-mentioned LMR message.
By each step above-mentioned, use and receive the LMR message that this locality reports, LMR message carries local for
First statistical counting value and/or the said distal ends equipment of received data message are added up for the second of received data message
Count value, and then determine the technological means of lost package locally or remotely, solves in correlation technique, calculate local or
Have to participate in and the problem such as the process that causes is loaded down with trivial details by forwarding module during person's far-end lost package, facilitate forwarding module
Maintenance, greatly facilitate the process determining locally or remotely lost package.
In an optional example of the embodiment of the present invention, step S802 can be realized by below scheme: receives this locality
The loss measurement from said distal ends equipment reported responds LMR message, and wherein, above-mentioned LMR message carries
State the first statistical counting value and/or above-mentioned second statistical counting value.
It should be noted that determine the number of dropped packets of said distal ends equipment and/or losing of above-mentioned this locality according to above-mentioned LMR message
After bag number, it is also possible to perform techniques below scheme: above-mentioned locally displayed said distal ends equipment number of dropped packets and/or on
State the number of dropped packets of this locality.
Additionally provide the determination device of a kind of number of dropped packets in the present embodiment, be used for realizing above-described embodiment and the side of being preferable to carry out
Formula, had carried out repeating no more of explanation, had illustrated the module related in this device below.Make as following
, term " module " can realize the software of predetermined function and/or the combination of hardware.Although following example are retouched
The device stated preferably realizes with software, but hardware, or the realization of the combination of software and hardware be also possible and quilt
Conception.Figure 10 is the structured flowchart of the determination device of the number of dropped packets according to the embodiment of the present invention.As shown in Figure 10, should
Device includes:
Receiver module 100, for receiving the LMR message coming from remote equipment that this locality reports, wherein, above-mentioned LMR
Message carries local the first statistical counting value for received data message and/or said distal ends equipment for being connect
Receive the second statistical counting value of data message;
Determine module 102, be connected with receiver module 100, for determining said distal ends equipment according to above-mentioned LMR message
Number of dropped packets and/or the number of dropped packets of above-mentioned this locality.
By the comprehensive function of above-mentioned modules, use and receive the LMR message that this locality reports, LMR message carries
There are local the first statistical counting value for received data message and/or said distal ends equipment for received data message
The second statistical counting value, and then determine the technological means of lost package locally or remotely, solve in correlation technique,
Calculate during local or far-end lost package and have to participate in and the problem such as the process that causes is loaded down with trivial details by forwarding module, convenient
The maintenance of forwarding module, greatly facilitates the process determining locally or remotely lost package.
Alternatively, Figure 11 is another structured flowchart of the determination device of the number of dropped packets according to the embodiment of the present invention, described dress
Put, also include: display module 104, in the number of dropped packets of described locally displayed described remote equipment and/or described this locality
Number of dropped packets
In order to be better understood from above-mentioned lost package constant current journey really, illustrate below in conjunction with preferred embodiment:
The preferred embodiment of the present invention is by the way of amendment LMM, LMR message format, by forwarding module in the network equipment
Data stream statistics on message CPU module calculate, thus calculate link circuit condition.Figure 12 is excellent according to the present invention
Select LMM, LMR process chart of embodiment, as shown in figure 12, network a and the mutual communication of network b, number
According to stream through network equipment a, network equipment b, after LM opens, corresponding interface can carry out message system to data stream
Meter.
Figure 13 is that the forwarding face according to the preferred embodiment of the present invention enters to Message processing flow chart, and Figure 14 is according to the present invention
The forwarding face of preferred embodiment goes out to Message processing flow chart, and acquiescence LM function is opened on network equipment a below, knot
Close Figure 10, Figure 13, Figure 14 and tell about the idiographic flow of the lower preferred embodiment of the present invention:
Step 101: with reference to Figure 14, data stream mails to network equipment b from network equipment a, message comes to enter from exchange
Row packet parsing, is the discovery that data message, finds a mouthful port attribute list (p+v in Figure 14) and obtains in exit list
LM enabler flags position and the counting index of LM carry out counting messages, platform issues LMM message and passes through simultaneously
Forwarding module packet parsing, finds mouthful port attribute list and obtains LM counting index, read the value in corresponding enumerator,
Numerical value is encapsulated in the TxFCf in LMM message, then mails to network equipment b;
Step 102: receive, with reference to Figure 13, network equipment b, the message that network equipment a comes, carry out packet parsing,
The when of being the discovery that data message, look into port attribute table and obtain LM enabler flags position and obtain counter address and count,
It is the discovery that LMM message is looked into port attribute table and obtained enumerator and the value that reads in enumerator is encapsulated in LMM message
In RxFCf, and transmitted to CPU;
Step 103: after platform CPU receives LMM message, builds LMR message, and by LMM message
TxFCf, RxFCf field values copies to be issued to forwarding face in TxFCf, RxFCf field in LMR message,
Forwarding face such as Figure 12 carries out looking into port attribute table after analytic message is the discovery that LMR message and obtains counter address, and will
The count value read mails to network equipment a after being encapsulated in TxFCb field;
Step 104: network equipment a receives the LMR message that opposite equip. comes, forwarding face such as Figure 13 carries out message
Resolve and look into port attribute table and obtain counter address, from counter address, obtain count value be encapsulated in LMR message
In RxFCb, above give CPU.
Platform is done as follows after receiving LMR message:
1, network equipment a is according to receiving the packet counting of current period in the LMR message in two adjacent cycles:
TxFCf[tc]、RxFCf[tc]、TxFCb[tc]、RxFCb[tc];The LMR counting in previous cycle: TxFCf [tp],
RxFCf [tp], TxFCb [tp], RxFCb [tp], according to Y.1731 calculating this cycle this locality/far-end packet loss data:
FrameRemoteLoss:|TxFCb[tc]-TxFCb[tp]|-|RxFCb[tc]-RxFCb[tp]|
FrameLocalLoss:|TxFCf[tc]-TxFCf[tp]|-|RxFCf[tc]-RxFCf[tp]|
According to formula: max{a0, a1 ..., an}=max{max{a0, a1 ..., an-1}, an}
2, this locality/far-end before this cycle of CPU module (Pre_HighFrameLocalLoss,
Pre_HighFrameRemoteLoss) packet loss peak value is deposited in data base and is compared with current this locality/far-end value, calculates
Current this locality/far-end packet loss peak value:
HighFrameLocalLoss=max{Pre_HighFrameLocalLoss, FrameLocalLoss};
HighFrameRemoteLoss=max{Pre_HighFrameRemoteLoss,
FrameRemoteLoss};
3, giving out a contract for a project several FrameLocalSend=| TxFCf [tc]-TxFCf [tp] | according to this locality, far-end is transmitted messages number
FrameRemoteSend=| TxFCb [tc]-TxFCb [tp] | is further according to formula: ∑ an=∑ an-1+an,
CPU packet loss counting of always being given out a contract for a project by this locality/far-end before this cycle is stored in the data structure of this session respectively and is respectively as follows:
Pre_TotalFrameLocalSend、Pre_TotalFrameRemoteSend、Pre_
TotalFrameLocalLoss, Pre_TotalFrameRemoteLoss can calculate:
TotalFrameRemoteSend=Pre_TotalFrameRemoteSend+FrameRemot eSend
TotalFrameLocalSend=Pre_TotalFrameLocalSend+FrameLocalSe nd
TotalFrameLocalLoss=Pre_TotalFrameLocalLoss+FrameLocalLo ss
TotalFrameRemoteLoss=Pre_TotalFrameRemoteLoss+FrameRemot eLoss
4, always give out a contract for a project number according to this locality/far-end and this locality/far-end packet loss sum can count out the packet loss of local far-end:
FrameRemoteLossRatio=TotalFrameRemoteLoss
/TotalFrameRemoteSend*100/100;
FrameLocalLossRatio=TotalFrameLocalLoss/TotalFrameLocalS end*100/100.
In networking as shown in figure 12, network a forwards with network b mutual flow, and networking requirement can be by certain time
Interior number of dropped packets and overall packet loss are visible, and network a and network b sends out flow, mutually at network equipment a or the network equipment
Configuring EFT-LM on b, periodically there is data message statistical counting one end of configuration ETH-LM toward opposite end hair band
LMM message, opposite end responds LMR message after receiving message and the cycle is carried out.One end of configuration LM can be to LMR
Data in message calculate according to the algorithm of the present invention, and show the most on the display device, facilitate network
Attendant's real-time servicing to network.
It should be noted that for networking as shown in figure 12, both-end LOF can also be realized equally and measures.Respectively
In network equipment a, network equipment b configuration, LM function is opened, transmitting-receiving LMM, LMR report in both sides meeting cycle
Literary composition.Realize process according to above-mentioned, required LOF system can be demonstrated at network equipment a, network equipment b respectively
Meter.
In sum, the embodiment of the present invention has reached techniques below effect: solve in correlation technique, calculate local or
Have to participate in and the problem such as the process that causes is loaded down with trivial details by forwarding module during person's far-end lost package, facilitate forwarding module
Maintenance, greatly facilitate the process determining locally or remotely lost package.
In another embodiment, additionally providing a kind of software, this software is used for performing above-described embodiment and being preferable to carry out
Technical scheme described in mode.
In another embodiment, additionally providing a kind of storage medium, in this storage medium, storage has above-mentioned software, should
Storage medium includes but not limited to: CD, floppy disk, hard disk, scratch pad memory etc..
It should be noted that term " first " in description and claims of this specification and above-mentioned accompanying drawing, " second "
Etc. being for distinguishing similar object, without being used for describing specific order or precedence.Should be appreciated that so use
Object can exchange in the appropriate case, in order to embodiments of the invention described herein can be with except here illustrating
Or the order enforcement beyond those described.Additionally, term " includes " and " having " and their any deformation, it is intended that
Be to cover non-exclusive comprising, such as, contain series of steps or the process of unit, method, system, product or
Equipment is not necessarily limited to those steps or the unit clearly listed, but can include the most clearly listing or for these
Other step that process, method, product or equipment are intrinsic or unit.
Obviously, those skilled in the art should be understood that each module of the above-mentioned present invention or each step can be with general
Calculating device to realize, they can concentrate on single calculating device, or be distributed in multiple calculating device and formed
Network on, alternatively, they can realize, it is thus possible to by them with calculating the executable program code of device
Storage is performed by calculating device in the storage device, and in some cases, can hold with the order being different from herein
Step shown or described by row, or they are fabricated to respectively each integrated circuit modules, or by many in them
Individual module or step are fabricated to single integrated circuit module and realize.So, the present invention is not restricted to any specific hardware
Combine with software.
The foregoing is only the preferred embodiments of the present invention, be not limited to the present invention, for the technology of this area
For personnel, the present invention can have various modifications and variations.All within the spirit and principles in the present invention, that is made is any
Amendment, equivalent, improvement etc., should be included within the scope of the present invention.
Claims (10)
1. the determination processing method of a number of dropped packets, it is characterised in that including:
Receive the loss measurement response LMR message that remote equipment sends, wherein, described LMR message carries
Local the first statistical counting value for received data message and/or described remote equipment are for received data report
Second statistical counting value of literary composition, described first statistical counting value for determining the number of dropped packets of described this locality, described second
Statistical counting value is for determining the number of dropped packets of described remote equipment;
Described LMR message is reported to the central processor CPU of this locality.
Method the most according to claim 1, it is characterised in that receive the loss measurement response LMR that remote equipment sends
Before information, also include:
Send loss measurement information LMM to described remote equipment, wherein, described LMM increase specific field,
In the LMR information corresponding with described LMM, carry in described specific field described first statistical counting value and
/ or described second statistical counting value.
Method the most according to claim 1, it is characterised in that determine the packet loss of described remote equipment in the following manner
Number L1:
L1=| A1-A2|-|B1-B2|, wherein, A1For the transmission packet counting value of described remote equipment current period,
A2For the transmission packet counting value in the previous cycle of described remote equipment current period, B1For described current period
Described second statistical counting value, B2Described second statistical counting value for the described previous cycle.
Method the most according to claim 1, it is characterised in that determine number of dropped packets L of described this locality in the following manner2:
L2=| C1-C2|-|D1-D2|, wherein, C1For the transmission packet counting value of described local current period, C2
For the transmission packet counting value in the previous cycle of described local current period, D1Described in described current period
First statistical counting value, D2Described first statistical counting value for the described previous cycle.
5. the determination method of a number of dropped packets, it is characterised in that including:
Receive the loss measurement response LMR message coming from remote equipment that this locality reports, wherein, described LMR
Message carries local the first statistical counting value for received data message and/or described remote equipment for
Second statistical counting value of received data message;
Number of dropped packets and/or the number of dropped packets of described this locality of described remote equipment is determined according to described LMR message.
Method the most according to claim 5, it is characterised in that determine described remote equipment according to described LMR message
After the number of dropped packets of number of dropped packets and/or described this locality, also include:
Number of dropped packets and/or the number of dropped packets of described this locality at described locally displayed described remote equipment.
7. the determination processing means of a number of dropped packets, it is characterised in that including:
Receiver module, for receiving the loss measurement response LMR message that remote equipment sends, wherein, described LMR
Message carries local the first statistical counting value for received data message and/or described remote equipment for
Second statistical counting value of received data message, described first statistical counting value is for determining the packet loss of described this locality
Number, described second statistical counting value is for determining the number of dropped packets of described remote equipment;
Reporting module, for reporting to the central processor CPU of this locality by described LMR message.
Device the most according to claim 7, it is characterised in that described device also includes:
Sending module, for sending loss measurement information LMM to described remote equipment, wherein, at described LMM
Middle increase specific field, in the LMR information corresponding with described LMM, carries described in described specific field
First statistical counting value and/or described second statistical counting value.
9. the determination device of a number of dropped packets, it is characterised in that including:
Receiver module, for receiving the loss measurement response LMR message coming from remote equipment that this locality reports,
Wherein, described LMR message carries local the first statistical counting value for received data message and/or institute
State the remote equipment the second statistical counting value for received data message;
Determine module, for determining the number of dropped packets of described remote equipment and/or described this locality according to described LMR message
Number of dropped packets.
Device the most according to claim 9, it is characterised in that described device, also includes:
Display module, at the number of dropped packets of described locally displayed described remote equipment and/or the packet loss of described this locality
Number.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510064716.2A CN105991357A (en) | 2015-02-06 | 2015-02-06 | Packet loss determination processing and determining methods and packet loss determination processing and determining devices |
PCT/CN2015/081281 WO2016123892A1 (en) | 2015-02-06 | 2015-06-11 | Packet loss determination processing, determination method, and apparatus |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510064716.2A CN105991357A (en) | 2015-02-06 | 2015-02-06 | Packet loss determination processing and determining methods and packet loss determination processing and determining devices |
Publications (1)
Publication Number | Publication Date |
---|---|
CN105991357A true CN105991357A (en) | 2016-10-05 |
Family
ID=56563371
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510064716.2A Pending CN105991357A (en) | 2015-02-06 | 2015-02-06 | Packet loss determination processing and determining methods and packet loss determination processing and determining devices |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN105991357A (en) |
WO (1) | WO2016123892A1 (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106375158A (en) * | 2016-10-25 | 2017-02-01 | 华为技术有限公司 | Packet loss detection method, network device and system |
CN109672584A (en) * | 2018-11-30 | 2019-04-23 | 广州市百果园信息技术有限公司 | A kind of data packet detection method, device, system, equipment and storage medium |
CN115242673A (en) * | 2022-07-21 | 2022-10-25 | 深圳市凯利华电子有限公司 | Detection apparatus for detect router network stability |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110661716B (en) * | 2019-09-16 | 2022-07-19 | 锐捷网络股份有限公司 | Network packet loss notification method, monitoring device, switch and storage medium |
CN114567574B (en) * | 2022-03-01 | 2023-11-10 | 烽火通信科技股份有限公司 | Method and device for realizing LM flow-free test based on time sequence control |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101800679A (en) * | 2010-03-10 | 2010-08-11 | 华为技术有限公司 | Message packet loss detection method and system |
CN102215144A (en) * | 2011-05-17 | 2011-10-12 | 中兴通讯股份有限公司 | Measuring method and system of packet loss |
CN102217236A (en) * | 2011-05-10 | 2011-10-12 | 华为技术有限公司 | Method and device for detecting link loss ratio |
WO2013078873A1 (en) * | 2011-11-29 | 2013-06-06 | 华为技术有限公司 | Method and device for identifying response message |
-
2015
- 2015-02-06 CN CN201510064716.2A patent/CN105991357A/en active Pending
- 2015-06-11 WO PCT/CN2015/081281 patent/WO2016123892A1/en active Application Filing
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101800679A (en) * | 2010-03-10 | 2010-08-11 | 华为技术有限公司 | Message packet loss detection method and system |
CN102217236A (en) * | 2011-05-10 | 2011-10-12 | 华为技术有限公司 | Method and device for detecting link loss ratio |
CN102215144A (en) * | 2011-05-17 | 2011-10-12 | 中兴通讯股份有限公司 | Measuring method and system of packet loss |
WO2013078873A1 (en) * | 2011-11-29 | 2013-06-06 | 华为技术有限公司 | Method and device for identifying response message |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106375158A (en) * | 2016-10-25 | 2017-02-01 | 华为技术有限公司 | Packet loss detection method, network device and system |
CN106375158B (en) * | 2016-10-25 | 2019-09-13 | 华为技术有限公司 | A kind of method for detecting packet loss, the network equipment and system |
CN109672584A (en) * | 2018-11-30 | 2019-04-23 | 广州市百果园信息技术有限公司 | A kind of data packet detection method, device, system, equipment and storage medium |
CN115242673A (en) * | 2022-07-21 | 2022-10-25 | 深圳市凯利华电子有限公司 | Detection apparatus for detect router network stability |
Also Published As
Publication number | Publication date |
---|---|
WO2016123892A1 (en) | 2016-08-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105991357A (en) | Packet loss determination processing and determining methods and packet loss determination processing and determining devices | |
CN103220164B (en) | Data integrity score and network visualization and user experience monitoring | |
CN106375158B (en) | A kind of method for detecting packet loss, the network equipment and system | |
CN102413018B (en) | FPGA (field programmable gate array) based software-hardware coordinated network test system and method | |
CN108768702A (en) | Network analysis method and equipment | |
CN105207794B (en) | Statistical counting equipment and its implementation, the system with statistical counting equipment | |
CN110061892A (en) | Method, system, storage medium and the electronic equipment of real-time display Network status | |
CN102215144A (en) | Measuring method and system of packet loss | |
CN107104824A (en) | A kind of network topology determines method and apparatus | |
CN107710684A (en) | Build ultra-large monitoring of structures | |
CN104038418B (en) | Method for routing, path detection mechanism and Message processing mechanism for mixed type topology data center | |
US20150036510A1 (en) | Method and device for measuring ethernet performance | |
CN109802838A (en) | A kind of method and apparatus of convergent billing | |
CN102857385B (en) | Packet loss detection method and system in a kind of Packet Transport Network | |
CN103117900A (en) | Configurable industrial Ethernet data parsing system and parsing method | |
CN103945219A (en) | Network side video quality monitoring system | |
CN107592324A (en) | Information push method and device and portable terminal | |
CN105656708A (en) | Single-board testing method and device | |
CN107404646A (en) | The method, apparatus and headend of video quality assessment | |
CN105978759B (en) | A kind of time-delay measuring method and device | |
CN107276859A (en) | Keep the method and device of long connection | |
CN102025571B (en) | The method and apparatus that multipoint link packet loss is measured | |
CN104065490B (en) | The system and method for analog transceiver equipment signaling is realized based on online charging environment | |
CN105992280B (en) | A kind of data processing method and device | |
CN108183840A (en) | Verification method, device and the realization device of switch performance |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WD01 | Invention patent application deemed withdrawn after publication | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20161005 |